@progress/telerik-angular-report-viewer
Version:
Progress® Telerik® Report Viewer for Angular
20 lines • 1.84 MB
JavaScript
var jQuery = require('jquery');
/*!
* Copyright 2025 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e()}((function(){const e=()=>{},t={version:"2025.1.227".replace(/^\s+|\s+$/g,"")};let n;const i="change",o={small:"(max-width: 500px)",medium:"(min-width: 500.1px) and (max-width: 768px)",large:"(min-width: 768.1px)"};function r(e){if(e)return n=n||Object.assign({},o,kendo.defaults.breakpoints),e in n&&(e=n[e]),function(e){let t=window.matchMedia(e),n=[],o=[],r=[],a={mediaQueryList:t};const s=e=>{r.forEach((t=>t(e))),e.matches?n.forEach((t=>t(e))):o.forEach((t=>t(e)))};return t.addEventListener(i,s),a.onChange=e=>(r.push(e),a),a.onEnter=e=>{if(n.push(e),t.matches){const n=t.media;e(new MediaQueryListEvent(i,{media:n,matches:!0}))}return a},a.onLeave=e=>(o.push(e),a),a.destroy=()=>{t&&t.removeEventListener(i,s),n=null,o=null,r=null,t=null,a=null},a}(e)}function a(e){class t extends e{static extend(e){const n=class extends t{constructor(){super(),e&&e.init&&e.init.apply(this,arguments)}};return Object.assign(n.prototype,e),s(n.prototype),n.fn=n.prototype,n}}return s(t.prototype),t.fn=t.prototype,t}function s(e){Object.defineProperty(e,"_instance",{get:function(){return this}})}!function(n,i,s){var l,c=i.kendo=i.kendo||{cultures:{}},d=n.extend,u=n.each,h=Array.isArray,p=n.noop,f=Math,m=i.crypto,v=i.JSON||{},g={},_=/%/,b=/\{(\d+)(:[^\}]+)?\}/g,y=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,w=/^(\+|-?)\d+(\.?)\d*$/,k="month",x="hour",C="zone",z="weekday",S="quarter",T={G:"era",y:"year",q:S,Q:S,M:k,L:k,d:"day",E:z,c:z,e:z,h:x,H:x,k:x,K:x,m:"minute",s:"second",a:"dayperiod",t:"dayperiod",x:C,X:C,z:C,Z:C},M={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}},I="function",H="string",D="number",E="object",A="null",V="boolean",P="undefined",B="prefix",F="aria-labelledby",O="aria-label",L={},R={},N=[].slice,U=["themeColor","fillMode","shape","size","rounded","positionMode"],j=function(){var e,t,n,i,o,r,a=arguments[0]||{},l=1,c=arguments.length,d=!1;for("boolean"==typeof a&&(d=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!=typeof a&&(a={}),l===c&&(a=this,l--);l<c;l++)if(null!=(o=arguments[l]))for(i in o)"filters"!=i&&"concat"!=i&&":"!=i&&"cssNumber"!=i&&(e=a[i],a!==(n=o[i])&&(d&&n&&(jQuery.isPlainObject(n)||(t=Array.isArray(n)))?(t?(t=!1,r=e&&Array.isArray(e)?e:[]):r=e&&jQuery.isPlainObject(e)?e:{},a[i]=j(d,r,n)):n!==s&&(a[i]=n)));return a};function W(){}c.version=t.version,W.extend=function(e){var t,n,i=function(){},o=this,r=e&&e.init?e.init:function(){o.apply(this,arguments)};for(t in i.prototype=o.prototype,n=r.fn=r.prototype=new i,e)null!=e[t]&&e[t].constructor===Object?n[t]=d(!0,{},i.prototype[t],e[t]):n[t]=e[t];return n.constructor=r,r.extend=o.extend,r},W.prototype._initOptions=function(e){this.options=ae({},this.options,e)},c.createProxyMember=function(e,t){e.fn[t]=function(){var e=this._instance;if(e)return e[t].apply(e,arguments)}},c.getBaseClass=function(e){if(e instanceof Function){let t=e;const n=Object.getPrototypeOf(t);if(n&&n!==Object&&n.name)return n}return null},c.getAllMethods=function(e){const t=Object.getOwnPropertyNames(e).filter((t=>"function"==typeof e[t])),n=Object.getOwnPropertyNames(Object.getPrototypeOf(new e({}))).filter((e=>"constructor"!==e));return t.concat(n)},c.convertPromiseToDeferred=function(e){let t=n.Deferred();return e.finally(t.always).then(t.resolve).catch(t.reject),t.promise()},c.ConvertClass=a;c.isPresent=e=>null!==e&&e!==s,c.isBlank=e=>null===e||e===s,c.isEmpty=e=>0===e.length,c.isString=e=>"string"==typeof e,c.isInteger=e=>Number.isInteger(e),c.isNumeric=e=>!isNaN(e-parseFloat(e)),c.isDate=e=>e&&e.getTime;const $=c.isFunction=e=>"function"==typeof e;var q=function(){this._defaultPrevented=!0},G=function(){return!0===this._defaultPrevented},K=W.extend({init:function(){this._events={}},bind:function(e,t,n){var i,o,r,a,l=this,c=typeof e===H?[e]:e,d=typeof t===I;if(t===s){for(i in e)l.bind(i,e[i]);return l}for(i=0,o=c.length;i<o;i++)e=c[i],(a=d?t:t[e])&&(n&&(r=a,a=function(){l.unbind(e,a),r.apply(l,arguments)},a.original=r),(l._events[e]=l._events[e]||[]).push(a));return l},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,i,o,r=this,a=typeof e===H?[e]:e,s=typeof t===I;for(n=0,i=a.length;n<i;n++)e=a[n],(o=s?t:t[e])&&(r._events[e]=r._events[e]||[]).unshift(o);return r},trigger:function(e,t){var n,i,o=this,r=o._events[e];if(r){for((t=t||{}).sender=o,t._defaultPrevented=!1,t.preventDefault=q,t.isDefaultPrevented=G,n=0,i=(r=r.slice()).length;n<i;n++)r[n].call(o,t);return!0===t._defaultPrevented}return!1},unbind:function(e,t){var n,i=this,o=i._events[e];if(e===s)i._events={};else if(o)if(t)for(n=o.length-1;n>=0;n--)o[n]!==t&&o[n].original!==t||o.splice(n,1);else i._events[e]=[];return i}});function Y(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),i=e.substring(1);return"="===n?"+("+i+")+":":"===n?"+$kendoHtmlEncode("+i+")+":";"+e+";$kendoOutput+="}var Q=/^\w+/,X=/\$\{([^}]*)\}/g,Z=/\\\}/g,J=/__CURLY__/g,ee=/\\#/g,te=/__SHARP__/g,ne=["","0","00","000","0000"];function ie(e,t,n){return(n=(t=t||2)-(e+="").length)?ne[t].substring(0,n)+e:e}function oe(e,t){var i,o,r;return(i=e.clone()).css("display",""),i.css("visibility","hidden"),i.appendTo(n("body")),o=i.outerWidth(t||!1),r=i.outerHeight(t||!1),i.remove(),{width:o||0,height:r||0}}function re(e,t,n){var i=c._outerWidth,o=c._outerHeight,r=e.parent(),a=e.closest(".k-animation-container"),s=e.hasClass("k-tooltip"),l=e.is(":visible"),d=r[0].style,u=e[0].style.height;a.is(":hidden")&&a.css({display:"",position:""}),_.test(d.width)||_.test(d.height)||(l||e.add(r).show(),n&&r.css("width",""),r.css({width:t?i(e,!1,s)+1:i(e,!1,s)}),"auto"===u?e.css({height:o(r)}):r.css({height:o(e)}),l||e.hide())}function ae(e){var t=1,n=arguments.length;for(t=1;t<n;t++)se(e,arguments[t]);return e}function se(e,t){var n,o,r,a,s,l=c.data.ObservableArray,d=c.data.LazyObservableArray,u=c.data.DataSource,h=c.data.HierarchicalDataSource;for(n in t)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(!(a=(r=typeof(o=t[n]))===E&&null!==o?o.constructor:null)||a===Array||a===l||a===d||a===u||a===h||a===RegExp||c.isFunction(i.ArrayBuffer)&&a===ArrayBuffer||o instanceof HTMLElement?r!==P&&(e[n]=o):o instanceof Date?e[n]=new Date(o.getTime()):$(o.clone)?e[n]=o.clone():(s=e[n],e[n]=typeof s===E&&s||{},se(e[n],o)));return e}function le(e,t,n){for(var i in t)if(t.hasOwnProperty(i)&&t[i].test(e))return i;return n!==s?n:e}function ce(e){return e.replace(/\-(\w)/g,(function(e,t){return t.toUpperCase()}))}function de(e,t){var i,o={};return document.defaultView&&document.defaultView.getComputedStyle?(i=document.defaultView.getComputedStyle(e,""),t&&n.each(t,(function(e,t){o[t]=i.getPropertyValue(t)}))):(i=e.currentStyle,t&&n.each(t,(function(e,t){o[t]=i[ce(t)]}))),c.size(o)||(o=i),o}l={paramName:"data",useWithBlock:!0,render:function(e,t){var n,i,o="";for(n=0,i=t.length;n<i;n++)o+=e(t[n]);return o},compile:function(e,t){var n,o,r,a=d({},this,t),s=a.paramName,l=s.match(Q)[0],u=a.useWithBlock,h="var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;";if($(e))return e;for(h+=u?"with("+s+"){":"",h+="$kendoOutput=",o=e.replace(Z,"__CURLY__").replace(X,"#=$kendoHtmlEncode($1)#").replace(J,"}").replace(ee,"__SHARP__").split("#"),r=0;r<o.length;r++)h+=Y(o[r],r%2==0);h+=u?";}":";",h=(h+="return $kendoOutput;").replace(te,"#");try{return(n=new Function(l,h))._slotCount=Math.floor(o.length/2),n}catch(t){if(!c.debugTemplates)throw new Error(c.format("Invalid template:'{0}' Generated code:'{1}'",e,h));i.console.warn(`Invalid template:'${e}' Generated code:'${h}'`)}}},function(){var e,t,n,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,o={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},r={}.toString;function a(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=o[e];return typeof t===H?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function s(i,o){var l,c,d,u,h,p,f=e,m=o[i];if(m&&typeof m===E&&typeof m.toJSON===I&&(m=m.toJSON(i)),typeof n===I&&(m=n.call(o,i,m)),(p=typeof m)===H)return a(m);if(p===D)return isFinite(m)?String(m):A;if(p===V||p===A)return String(m);if(p===E){if(!m)return A;if(e+=t,h=[],"[object Array]"===r.apply(m)){for(u=m.length,l=0;l<u;l++)h[l]=s(l,m)||A;return d=0===h.length?"[]":e?"[\n"+e+h.join(",\n"+e)+"\n"+f+"]":"["+h.join(",")+"]",e=f,d}if(n&&typeof n===E)for(u=n.length,l=0;l<u;l++)typeof n[l]===H&&(d=s(c=n[l],m))&&h.push(a(c)+(e?": ":":")+d);else for(c in m)Object.hasOwnProperty.call(m,c)&&(d=s(c,m))&&h.push(a(c)+(e?": ":":")+d);return d=0===h.length?"{}":e?"{\n"+e+h.join(",\n"+e)+"\n"+f+"}":"{"+h.join(",")+"}",e=f,d}}typeof Date.prototype.toJSON!==I&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?ie(e.getUTCFullYear(),4)+"-"+ie(e.getUTCMonth()+1)+"-"+ie(e.getUTCDate())+"T"+ie(e.getUTCHours())+":"+ie(e.getUTCMinutes())+":"+ie(e.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof v.stringify!==I&&(v.stringify=function(i,o,r){var a;if(e="",t="",typeof r===D)for(a=0;a<r;a+=1)t+=" ";else typeof r===H&&(t=r);if(n=o,o&&typeof o!==I&&(typeof o!==E||typeof o.length!==D))throw new Error("JSON.stringify");return s("",{"":i})})}(),function(){var e=/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,t=/^(n|c|p|e)(\d*)$/i,i=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,o=/\,/g,r="",a=".",l="#",d="0",u="en-US",h={}.toString;function p(e){if(e){if(e.numberFormat)return e;if(typeof e===H){var t=c.cultures;return t[e]||t[e.split("-")[0]]||null}return null}return null}function m(e){return e&&(e=p(e)),e||c.cultures.current}c.cultures=c.cultures||{},c.cultures["en-US"]={name:u,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}}},c.culture=function(e){var t,n,i=c.cultures;if(e===s)return(n=i.current.calendars).standard.AM&&n.standard.AM.length&&n.standard.PM&&n.standard.PM.length&&n.standard.AM.indexOf("PMA0")<0&&(n.standard.AM.indexOf("AM")>-1||n.standard.PM.indexOf("PM")>-1)&&(n.standard.AM.push("a","A","PMa","PMA","PMa0","PMA0"),n.standard.PM.push("p","P","AMp","AMP","AMp0","AMP0")),i.current;(t=p(e)||i[u]).calendar=t.calendars.standard,i.current=t},c.findCulture=p,c.getCulture=m,c.kendoCultureToIntl=function(e){e=m(e)||c.cultures.current;let t={};t[e.numberFormat.currency.abbr]=e.numberFormat.currency;const n={},[i,o]=e.name.split("-");if(n.name=i,n.identity={language:i},o&&(n.territory=o),e.numberFormat&&(n.numbers={symbols:{decimal:e.numberFormat["."],group:e.numberFormat[","],percentSign:e.numberFormat.percent?.symbol||"%"},decimal:{patterns:e.numberFormat.pattern,groupSize:e.numberFormat.groupSize},currency:{patterns:e.numberFormat.currency?.pattern,groupSize:e.numberFormat.currency?.groupSize},percent:{patterns:e.numberFormat.percent?.pattern,groupSize:e.numberFormat.percent?.groupSize,decimals:e.numberFormat.percent?.decimals}},e.numberFormat.currency&&(n.numbers.currencies={[e.numberFormat.currency.abbr]:e.numberFormat.currency},n.numbers.localeCurrency=e.numberFormat.currency.abbr)),e.calendars&&e.calendars.standard){const t=e.calendars.standard;n.calendar={patterns:{d:t.patterns.d,D:t.patterns.D,F:t.patterns.F,g:t.patterns.g,G:t.patterns.G,m:t.patterns.m,M:t.patterns.M,s:t.patterns.s,t:t.patterns.t,T:t.patterns.T,u:t.patterns.u,y:t.patterns.y,Y:t.patterns.Y},days:{format:{wide:t.days.names,abbreviated:t.days.namesAbbr,short:t.days.namesShort},"stand-alone":{wide:t.days.names,abbreviated:t.days.namesAbbr,short:t.days.namesShort}},months:{format:{wide:t.months.names,abbreviated:t.months.namesAbbr,narrow:t.months.namesAbbr.map((e=>e.charAt(0)))},"stand-alone":{wide:t.months.names,abbreviated:t.months.namesAbbr,narrow:t.months.namesAbbr.map((e=>e.charAt(0)))}},dayPeriods:{format:{abbreviated:{am:t.AM[0],pm:t.PM[0]},narrow:{am:t.AM[1],pm:t.PM[1]},wide:{am:t.AM[0],pm:t.PM[0]}},"stand-alone":{abbreviated:{am:t.AM[0],pm:t.PM[0]},narrow:{am:t.AM[1],pm:t.PM[1]},wide:{am:t.AM[0],pm:t.PM[0]}}}},"firstDay"in t&&(n.firstDay=t.firstDay)}return{localeInfo:()=>({numbers:{localeCurrency:e.numberFormat.currency.abbr,currencies:t,symbols:{group:e.numberFormat[","],decimal:e.numberFormat["."],percentSign:e.numberFormat.percent.symbol}},calendar:{patterns:e.calendars.standard.patterns,months:{format:{wide:e.calendars.standard.months.names,abbreviated:e.calendars.standard.months.namesAbbr}},days:{format:{wide:e.calendars.standard.days.names,abbreviated:e.calendars.standard.days.namesAbbr}}}}),parseDate:(e,t)=>c.parseExactDate(e,t),toString:(e,t)=>_(e,t),format:(e,...t)=>c.format(e,t)}},c.culture(u);var v=function(e,t,n,i){var o,r,l,c,d,u,h=e.indexOf(i[a]),p=i.groupSize.slice(),f=p.shift();if(n=-1!==h?h:n+1,(r=(o=e.substring(t,n)).length)>=f){for(l=r,c=[];l>-1;)if((d=o.substring(l-f,l))&&c.push(d),l-=f,0===(f=(u=p.shift())!==s?u:f)){l>0&&c.push(o.substring(0,l));break}o=c.reverse().join(i[","]),e=e.substring(0,t)+o+e.substring(n)}return e},g=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))},_=function(n,c,u){if(c){if("[object Date]"===h.call(n))return function(t,n,i){var o=(i=m(i)).calendars.standard,r=o.days,a=o.months;return(n=n.pattern||o.patterns[n]||n).replace(e,(function(e){var n,i,l;return"d"===e?i=t.getDate():"dd"===e?i=ie(t.getDate()):"ddd"===e?i=r.namesAbbr[t.getDay()]:"dddd"===e||"EEEE"===e?i=r.names[t.getDay()]:"M"===e?i=t.getMonth()+1:"MM"===e?i=ie(t.getMonth()+1):"MMM"===e?i=a.namesAbbr[t.getMonth()]:"MMMM"===e?i=a.names[t.getMonth()]:"yy"===e?i=ie(t.getFullYear()%100):"yyyy"===e?i=ie(t.getFullYear(),4):"h"===e?i=t.getHours()%12||12:"hh"===e?i=ie(t.getHours()%12||12):"H"===e?i=t.getHours():"HH"===e?i=ie(t.getHours()):"m"===e?i=t.getMinutes():"mm"===e?i=ie(t.getMinutes()):"s"===e?i=t.getSeconds():"ss"===e?i=ie(t.getSeconds()):"f"===e?i=f.floor(t.getMilliseconds()/100):"ff"===e?((i=t.getMilliseconds())>99&&(i=f.floor(i/10)),i=ie(i)):"fff"===e?i=ie(t.getMilliseconds(),3):"tt"===e||"aa"===e?i=t.getHours()<12?o.AM[0]:o.PM[0]:"zzz"===e?(l=(n=t.getTimezoneOffset())<0,i=f.abs(n/60).toString().split(".")[0],n=f.abs(n)-60*i,i=(l?"+":"-")+ie(i),i+=":"+ie(n)):"zz"!==e&&"z"!==e||(l=(i=t.getTimezoneOffset()/60)<0,i=f.abs(i).toString().split(".")[0],i=(l?"+":"-")+("zz"===e?ie(i):i)),i!==s?i:e.slice(1,e.length-1)}))}(n,c,u);if(typeof n===D)return function(e,n,c){var u,h,p,f,_,b,y,w,k,x,C,z,S,T,M,I,H,D,E,A,V=(c=m(c)).numberFormat,P=V[a],B=V.decimals,F=V.pattern[0],O=[],L=e<0,R=r,N=r,U=-1;if(e===s)return r;if(!isFinite(e))return e;if(!n)return c.name.length?e.toLocaleString():e.toString();if(_=t.exec(n)){if(p="p"===(n=_[1].toLowerCase()),((h="c"===n)||p)&&(P=(V=h?V.currency:V.percent)[a],B=V.decimals,u=V.symbol,F=V.pattern[L?0:1]),(f=_[2])&&(B=+f),"e"===n)return(f?e.toExponential(B):e.toExponential()).replace(a,V[a]);if(p&&(e*=100),L=(e=g(e,B))<0,b=(e=e.split(a))[0],y=e[1],L&&(b=b.substring(1)),N=v(b,0,b.length,V),y&&(N+=P+y),"n"===n&&!L)return N;for(e=r,k=0,x=F.length;k<x;k++)e+="n"===(C=F.charAt(k))?N:"$"===C||"%"===C?u:C;return e}if((n.indexOf("'")>-1||n.indexOf('"')>-1||n.indexOf("\\")>-1)&&(n=n.replace(i,(function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return O.push(n),"??"}))),n=n.split(";"),L&&n[1])n=n[1],S=!0;else if(0===e&&n[2]){if(-1==(n=n[2]).indexOf(l)&&-1==n.indexOf(d))return n}else n=n[0];if((p=-1!=n.indexOf("%"))&&(e*=100),(h=-1!=(E=n.indexOf("$")))&&"\\"===n[E-1]&&(n=n.split("\\").join(""),h=!1),(h||p)&&(P=(V=h?V.currency:V.percent)[a],B=V.decimals,u=V.symbol),(z=n.indexOf(",")>-1)&&(n=n.replace(o,r)),T=n.indexOf(a),x=n.length,-1!=T)if(y=(y=(y=e.toString().split("e"))[1]?g(e,Math.abs(y[1])):y[0]).split(a)[1]||r,H=(I=n.lastIndexOf(d)-T)>-1,D=(M=n.lastIndexOf(l)-T)>-1,k=y.length,H||D||(x=(n=n.substring(0,T)+n.substring(T+1)).length,T=-1,k=0),H&&I>M)k=I;else if(M>I)if(D&&k>M){for(var j=g(e,M,L);j.charAt(j.length-1)===d&&M>0&&M>I;)M--,j=g(e,M,L);k=M}else H&&k<I&&(k=I);if(e=g(e,k,L),M=n.indexOf(l),I=n.indexOf(d),U=-1==M&&-1!=I?I:-1!=M&&-1==I?M:M>I?I:M,M=n.lastIndexOf(l),I=n.lastIndexOf(d),A=-1==M&&-1!=I?I:-1!=M&&-1==I||M>I?M:I,U==x&&(A=U),-1!=U){for(b=(N=e.toString().split(a))[0],y=N[1]||r,w=b.length,y.length,L&&-1*e>=0&&(L=!1),e=n.substring(0,U),L&&!S&&(e+="-"),k=U;k<x;){if(C=n.charAt(k),-1==T){if(A-k<w){e+=b;break}}else if(-1!=I&&I<k&&(R=r),T-k<=w&&T-k>-1&&(e+=b,k=T),T===k){e+=(y?P:r)+y,k+=A-T+1;continue}C===d?(e+=C,R=C):C===l&&(e+=R),k++}if(z&&(e=v(e,U+(L&&!S?1:0),Math.max(A,w+U),V)),A>=U&&(e+=n.substring(A+1)),h||p){for(N=r,k=0,x=e.length;k<x;k++)N+="$"===(C=e.charAt(k))||"%"===C?u:C;e=N}if(x=O.length)for(k=0;k<x;k++)e=e.replace("??",O[k])}return e}(n,c,u)}return n!==s?n:""};c.format=function(e){var t=arguments;return e.replace(b,(function(e,n,i){var o=t[parseInt(n,10)+1];return _(o,i?i.substring(1):"")}))},c._extractFormat=function(e){return"{0:"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},c._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},c._round=g,c._outerWidth=function(e,t,i){return e=n(e),i?oe(e,t).width:n(e).outerWidth(t||!1)||0},c._outerHeight=function(e,t,i){return e=n(e),i?oe(e,t).height:n(e).outerHeight(t||!1)||0},c.toString=_}(),function(){var e=/\u00A0/g,t=/\s/g,i=/[eE][\-+]?[0-9]+/,o=/[+|\-]\d{1,2}/,r=/[+|\-]\d{1,2}:?\d{2}/,a=/^\/Date\((.*?)\)\/$/,l=/[+-]\d*/,d=[[],["G","g","F"],["D","d","y","m","T","t"]],u=[["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"]],p={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/,exact3:/^\d{3}/},m={}.toString;function v(e,t,n){return!(e>=t&&e<=n)}function g(e){return e.charAt(0)}function _(e){return n.map(e,g)}function b(e){for(var t=0,n=e.length,i=[];t<n;t++)i[t]=(e[t]+"").toLowerCase();return i}function y(e){var t,n={};for(t in e)n[t]=b(e[t]);return n}function w(e){return Array.from(e).sort(((e,t)=>t.length-e.length))[0].length}function k(e,t,n,i,a){if(!e)return null;var l,d,u,h,f,m,g,b,k,x,C,z,S=function(e){for(var n=0;t[O]===e;)n++,O++;return n>0&&(O-=1),n},T=function(t){var n,i,o="";if(2===t)for(let n=0;n<=t;n++)o+=e[L+n]||"";return o=a&&o.match(p.exact3)&&Number.isInteger(Number(o))&&Number(o)>0?function(e){return e.replace(/^0*/,"")}(o):e.substr(L,t),n=p[t]||new RegExp("^\\d{1,"+t+"}"),(i=o.match(n))?(i=i[0],L+=i.length,parseInt(i,10)):null},M=function(t,n,i){for(var o,r,a,s=0,l=t.length,c=0,d=0;s<l;s++)r=(o=t[s]).length,a=e.substr(L,i||r),n&&(a=a.toLowerCase()),a==o&&r>c&&(c=r,d=s);return c?(L+=c,d+1):null},I=function(){var n=!1;return e.charAt(L)===t[O]&&(L++,n=!0),n},H=n.calendars.standard,D=null,E=null,A=null,V=null,P=null,B=null,F=null,O=0,L=0,R=!1,N=new Date,U=H.twoDigitYearMax||2029,j=N.getFullYear();for(t||(t="d"),(h=H.patterns[t])&&(t=h),u=(t=t.split("")).length;O<u;O++)if(l=t[O],R)"'"===l?R=!1:I();else if("d"===l){if(d=S("d"),H._lowerDays||(H._lowerDays=y(H.days)),null!==A&&d>2)continue;if(null===(A=d<3?T(2):M(H._lowerDays[3==d?"namesAbbr":"names"],!0))||v(A,1,31))return null}else if("M"===l){if(d=S("M"),H._lowerMonths||(H._lowerMonths=y(H.months)),null===(E=d<3?T(2):M(H._lowerMonths[3==d?"namesAbbr":"names"],!0))||v(E,1,12))return null;E-=1}else if("y"===l){if(null===(D=T(d=S("y"))))return null;2==d&&("string"==typeof U&&(U=j+parseInt(U,10)),(D=j-j%100+D)>U&&(D-=100))}else if("h"===l){if(S("h"),12==(V=T(2))&&(V=0),null===V||v(V,0,11))return null}else if("H"===l){if(S("H"),null===(V=T(2))||v(V,0,23))return null}else if("m"===l){if(S("m"),null===(P=T(2))||v(P,0,59))return null}else if("s"===l){if(S("s"),null===(B=T(2))||v(B,0,59))return null}else if("f"===l){if(d=S("f"),z=e.substr(L,d).match(p[3]),null!==(F=T(d))&&(F=parseFloat("0."+z[0],10),F=c._round(F,3),F*=1e3),null===F||v(F,0,999))return null}else if("t"===l){if(d=S("t"),b=H.AM,k=H.PM,1===d&&(b=_(b),k=_(k)),!(f=M(k,!1,w(k)))&&!M(b,!1,w(b)))return null}else if("z"===l){if(m=!0,d=S("z"),"Z"===e.substr(L,1)){I();continue}if(!(g=e.substr(L,6).match(d>2?r:o)))return null;if(x=(g=g[0].split(":"))[0],!(C=g[1])&&x.length>3&&(L=x.length-2,C=x.substring(L),x=x.substring(0,L)),v(x=parseInt(x,10),-12,13))return null;if(d>2&&(C=g[0][0]+C,C=parseInt(C,10),isNaN(C)||v(C,-59,59)))return null}else if("'"===l)R=!0,I();else if(!I())return null;return i&&!/^\s*$/.test(e.substr(L))?null:(null===D&&null===E&&null===A&&(null!==V||null!==P||B||null)?(D=j,E=N.getMonth(),A=N.getDate()):(null===D&&(D=j),null===A&&(A=1)),f&&V<12&&(V+=12),m?(x&&(V+=-x),C&&(P+=-C),e=new Date(Date.UTC(D,E,A,V,P,B,F))):function(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}(e=new Date(D,E,A,V,P,B,F),V),D<100&&e.setFullYear(D),e.getDate()!==A&&m===s?null:e)}function x(e,t,n,i,o){if("[object Date]"===m.call(e))return e;var r,s,p=0,v=null;if(e&&0===e.indexOf("/D")&&(v=a.exec(e)))return v=v[1],s=l.exec(v.substring(1)),v=new Date(parseInt(v,10)),s&&(s=function(e){var t="-"===e.substr(0,1)?-1:1;return e=e.substring(1),t*(60*parseInt(e.substr(0,2),10)+parseInt(e.substring(2),10))}(s[0]),v=c.timezone.apply(v,0),v=c.timezone.convert(v,0,-1*s)),v;for(n=c.getCulture(n),t||(t=function(e){var t,n,i,o=f.max(d.length,u.length),r=(e.calendar||e.calendars.standard).patterns,a=[];for(i=0;i<o;i++){for(t=d[i],n=0;n<t.length;n++)a.push(r[t[n]]);a=a.concat(u[i])}return a}(n)),r=(t=h(t)?t:[t]).length;p<r;p++)if(v=k(e,t[p],n,i,o))return v;return v}c.parseDate=function(e,t,n,i){return x(e,t,n,!1,i)},c.parseExactDate=function(e,t,n){return x(e,t,n,!0)},c.parseInt=function(e,t){var n=c.parseFloat(e,t);return n&&(n|=0),n},c.parseFloat=function(n,o,r){if(!n&&0!==n)return null;if(typeof n===D)return n;n=n.toString();var a,s,l=(o=c.getCulture(o)).numberFormat,d=l.percent,u=l.currency,h=u.symbol,p=d.symbol,f=n.indexOf("-");return i.test(n)?(n=parseFloat(n.replace(l["."],".")),isNaN(n)&&(n=null),n):f>0?null:(f=f>-1,n.indexOf(h)>-1||r&&r.toLowerCase().indexOf("c")>-1?(a=(l=u).pattern[0].replace("$",h).split("n"),n.indexOf(a[0])>-1&&n.indexOf(a[1])>-1&&(n=n.replace(a[0],"").replace(a[1],""),f=!0)):n.indexOf(p)>-1&&(s=!0,l=d,h=p),n=n.replace("-","").replace(h,"").replace(e," ").split(l[","].replace(e," ")).join("").replace(t,"").replace(l["."],"."),n=parseFloat(n),isNaN(n)?n=null:f&&(n*=-1),n&&s&&(n/=100),n)}}(),function(){g._scrollbar=s,g.scrollbar=function(e){if(isNaN(g._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=" ",document.body.appendChild(n),g._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t}return g._scrollbar},g.isRtl=function(e){return n(e).closest(".k-rtl").length>0};var e=document.createElement("table");try{e.innerHTML="<tr><td></td></tr>",g.tbodyInnerHtml=!0}catch(e){g.tbodyInnerHtml=!1}g.touch="ontouchstart"in i;let t=document.documentElement.style,o="HTMLElement"in i?HTMLElement.prototype:[];g.transforms=g.transitions={css:"",prefix:"",event:"transitionend"},g.hasHW3D="WebKitCSSMatrix"in i&&"m11"in new i.WebKitCSSMatrix||"MozPerspective"in t||"msPerspective"in t,g.cssFlexbox="flexWrap"in t||"WebkitFlexWrap"in t||"msFlexWrap"in t,e=null,g.devicePixelRatio=i.devicePixelRatio===s?1:i.devicePixelRatio;try{g.screenWidth=i.outerWidth||i.screen?i.screen.availWidth:i.innerWidth,g.screenHeight=i.outerHeight||i.screen?i.screen.availHeight:i.innerHeight}catch(e){g.screenWidth=i.screen.availWidth,g.screenHeight=i.screen.availHeight}g.detectOS=function(e){var t,n=!1,o=[],r=!/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/},l={tablet:/playbook|ipad|fire/i},c={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,edge:/edge|edg|edgios|edga/i};for(var d in a)if(a.hasOwnProperty(d)&&(o=e.match(a[d]))){if("windows"==d&&"plugins"in navigator)return!1;(n={}).device=d,n.tablet=le(d,l,!1),n.browser=le(e,c,"default"),n.name=le(d,s),n[n.name]=!0,n.majorVersion=o[2],n.minorVersion=(o[3]||"0").replace("_","."),t=n.minorVersion.replace(".","").substr(0,2),n.flatVersion=n.majorVersion+t+new Array(3-(t.length<3?t.length:2)).join("0"),n.cordova=typeof i.PhoneGap!==P||typeof i.cordova!==P,n.appMode=i.navigator.standalone||/file|local|wmapp/.test(i.location.protocol)||n.cordova,n.android&&(g.devicePixelRatio<1.5&&n.flatVersion<400||r)&&(g.screenWidth>800||g.screenHeight>800)&&(n.tablet=d);break}return n};var r=g.mobileOS=g.detectOS(navigator.userAgent);g.wpDevicePixelRatio=r.wp?screen.width/320:0,g.hasNativeScrolling=!1,(r.ios||r.android&&r.majorVersion>2||r.wp)&&(g.hasNativeScrolling=r),g.delayedClick=function(){if(g.touch){if(r.ios)return!0;if(r.android)return!g.browser.chrome||!(g.browser.version<32)&&!(n("meta[name=viewport]").attr("content")||"").match(/user-scalable=no/i)}return!1},g.mouseAndTouchPresent=g.touch&&!(g.mobileOS.ios||g.mobileOS.android),g.detectBrowser=function(e){var t=!1,n=[],i={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 o in i)if(i.hasOwnProperty(o)&&(n=e.match(i[o]))){(t={})[o]=!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},g.browser=g.detectBrowser(navigator.userAgent),!r&&g.touch&&g.browser.safari&&(r=g.mobileOS={ios:!0,tablet:"tablet",device:"ipad",majorVersion:13}),g.detectClipboardAccess=function(){var e={copy:!!document.queryCommandSupported&&document.queryCommandSupported("copy"),cut:!!document.queryCommandSupported&&document.queryCommandSupported("cut"),paste:!!document.queryCommandSupported&&document.queryCommandSupported("paste")};return g.browser.chrome&&(e.paste=!1,g.browser.version>=43&&(e.copy=!0,e.cut=!0)),e},g.clipboard=g.detectClipboardAccess(),g.zoomLevel=function(){try{var e=g.browser,t=0,n=document.documentElement;return e.msie&&11==e.version&&n.scrollHeight>n.clientHeight&&!g.touch&&(t=g.scrollbar()),g.touch?n.clientWidth/i.innerWidth:e.msie&&e.version>=10?((top||i).document.documentElement.offsetWidth+t)/(top||i).innerWidth:1}catch(e){return 1}},function(e){var t="",i=n(document.documentElement),o=parseInt(e.version,10);e.msie?t="ie":e.mozilla?t="ff":e.safari?t="safari":e.webkit?t="webkit":e.opera?t="opera":e.edge&&(t="edge"),t&&(t="k-"+t+" k-"+t+o),g.mobileOS&&(t+=" k-mobile"),g.cssFlexbox||(t+=" k-no-flexbox"),i.addClass(t)}(g.browser),g.eventCapture=document.documentElement.addEventListener;var a=document.createElement("input");g.placeholder="placeholder"in a,g.propertyChangeEvent="onpropertychange"in a,g.input=function(){for(var e,t=["number","date","time","month","week","datetime","datetime-local"],n=t.length,i="test",o={},r=0;r<n;r++)e=t[r],a.setAttribute("type",e),a.value=i,o[e.replace("-","")]="text"!==a.type&&a.value!==i;return o}(),a.style.cssText="float:left;",g.cssFloat=!!a.style.cssFloat,a=null,g.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}(),g.matchesSelector=o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.matchesSelector||o.matches||function(e){for(var t=document.querySelectorAll?(this.parentNode||document).querySelectorAll(e)||[]:n(e),i=t.length;i--;)if(t[i]==this)return!0;return!1},g.matchMedia="matchMedia"in i,g.pushState=i.history&&i.history.pushState,g.hashChange="onhashchange"in i,g.customElements="registerElement"in i.document;var l=g.browser.chrome,c=g.browser.crios,d=g.browser.mozilla,u=g.browser.safari;g.msPointers=!l&&i.MSPointerEvent,g.pointers=!l&&!c&&!d&&!u&&i.PointerEvent,g.kineticScrollNeeded=r&&("ipad"!==r.device||r.majorVersion<13)&&(g.touch||g.msPointers||g.pointers)}();var ue={};function he(e,t,n,i){return typeof e===H&&($(t)&&(i=t,t=400,n=!1),$(n)&&(i=n,n=!1),typeof t===V&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:i}),d({effects:{},duration:400,reverse:!1,init:p,teardown:p,hide:!1},e,{completeCallback:e.complete,complete:p})}function pe(e,t,i,o,r){for(var a,s=0,l=e.length;s<l;s++)(a=n(e[s])).queue((function(){ue.promise(a,he(t,i,o,r))}));return e}n.extend(ue,{enabled:!0,Element:function(e){this.element=n(e)},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}}),ue.promiseShim=ue.promise,"kendoAnimate"in n.fn||d(n.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,i){return pe(this,e,t,n,i)},kendoAddClass:function(e,t){return c.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return c.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return c.toggleClass(this,e,t,n)}});var fe=/&/g,me=/</g,ve=/"/g,ge=/'/g,_e=/>/g;function be(e,t){return!0===t&&(e=function(e){var t={"&":"&","<":"<",">":">",""":'"',"'":"'"};return e.replace(/&(?:amp|lt|gt|quot|#39);/g,(function(e){return t[e]}))}(e)),(""+e).replace(fe,"&").replace(me,"<").replace(_e,">").replace(ve,""").replace(ge,"'")}var ye=function(e){return e.target};g.touch&&(ye=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},u(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],(function(e,t){n.fn[t]=function(e){return this.on(t,e)}}))),g.touch?g.mobileOS?(g.mousedown="touchstart",g.mouseup="touchend",g.mousemove="touchmove",g.mousecancel="touchcancel",g.click="touchend",g.resize="orientationchange"):(g.mousedown="mousedown touchstart",g.mouseup="mouseup touchend",g.mousemove="mousemove touchmove",g.mousecancel="mouseleave touchcancel",g.click="click",g.resize="resize"):g.pointers?(g.mousemove="pointermove",g.mousedown="pointerdown",g.mouseup="pointerup",g.mousecancel="pointercancel",g.click="pointerup",g.resize="orientationchange resize"):g.msPointers?(g.mousemove="MSPointerMove",g.mousedown="MSPointerDown",g.mouseup="MSPointerUp",g.mousecancel="MSPointerCancel",g.click="MSPointerUp",g.resize="orientationchange resize"):(g.mousemove="mousemove",g.mousedown="mousedown",g.mouseup="mouseup",g.mousecancel="mouseleave",g.click="click",g.resize="resize");var we=/^([a-z]+:)?\/\//i;d(c,{widgets:[],_widgetRegisteredCallbacks:[],ui:c.ui||{},fx:c.fx||function(e){return new c.effects.Element(e)},effects:c.effects||ue,mobile:c.mobile||{},data:c.data||{},dataviz:c.dataviz||{},drawing:c.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,SHIFT:16,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},support:c.support||g,animate:c.animate||pe,ns:"",attr:function(e){return"data-"+c.ns+e},getShadows:function(e){var t=e.css("box-shadow"),n=t&&t.match(y)||[0,0,0,0,0],i=f.max(+n[3],+(n[4]||0));return{left:-n[1]+i,right:+n[1]+i,bottom:+n[2]+i}},wrap:function(e,t,o,r=!0,a){var s,l=c._outerWidth,d=c._outerHeight,u=e.parent(),h=l(i);if(u.parent().removeClass("k-animation-container-sm"),u.hasClass("k-child-animation-container"))re(e,t,r);else{var p=e[0].style.width,f=e[0].style.height,m=_.test(p),v=_.test(f),g=e.hasClass("k-tooltip")||e.is(".k-menu-horizontal.k-context-menu"),b=e.hasClass("k-tooltip");s=m||v,!m&&(!t||t&&p||g)&&(p=t?l(e,!1,b)+1:l(e,!1,b)),(!v&&(!t||t&&f)||g)&&(f=d(e,!1,b)),e.wrap(n("<div/>").addClass("k-child-animation-container").css({width:a?"auto":p,height:f})),(u=e.parent()).wrap(n("<div/>").addClass("k-animation-container").attr("role","region")),s&&e.css({width:"100%",height:"100%"})}return h<l(u=u.parent())&&(u.addClass("k-animation-container-sm"),o=!0),o&&re(e,t,r),u},deepExtend:ae,getComputedStyles:de,isScrollable:function(e){if("false"===e.dataset[c.ns+"scrollable"])return!1;if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=de(e,["overflow"]).overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},scrollLeft:function e(t,i){var o,r,a=g.browser.webkit,l=g.browser.mozilla,c=g.browser.version;if(t instanceof n&&i!==s)t.each((function(t,n){e(n,i)}));else if(o=t instanceof n?t[0]:t){if(r=g.isRtl(t),i===s)return r&&a&&(c<85||g.browser.safari)?o.scrollWidth-o.clientWidth-o.scrollLeft:Math.abs(o.scrollLeft);r&&a&&(c<85||g.browser.safari)?o.scrollLeft=o.scrollWidth-o.clientWidth-i:o.scrollLeft=r&&(l||a)&&i>0?-i:i}},size:function(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n},toCamelCase:ce,toHyphens:function(e){return e.replace(/([a-z][A-Z])/g,(function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()}))},getOffset:c.getOffset||function(e,t,n){t||(t="offset");var o=e[t](),r={top:o.top,right:o.right,bottom:o.bottom,left:o.left};if(g.browser.msie&&(g.pointers||g.msPointers)&&!n){var a=g.isRtl(e)?1:-1;r.top-=i.pageYOffset-document.documentElement.scrollTop,r.left-=i.pageXOffset+a*document.documentElement.scrollLeft}return r},parseEffects:c.parseEffects||function(e){var t={};return u("string"==typeof e?e.split(" "):e,(function(e){t[e]=this})),t},toggleClass:c.toggleClass||function(e,t,n,i){return t&&(t=t.split(" "),u(t,(function(t,n){e.toggleClass(n,i)}))),e},directions:c.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:K,Class:W,Template:l,template:l.compile.bind(l),render:l.render.bind(l),stringify:v.stringify.bind(v),eventTarget:ye,htmlEncode:be,sanitizeLink:function(e){const t=["http:","https:"];let n="";try{const o=new URL(e,i.location.origin);if(!t.includes(o.protocol))throw new Error("Invalid protocol");n=e}catch{n="#INVALIDLINK"}return be(n)},unescape:function(e){var t;try{t=i.decodeURIComponent(e)}catch(n){t=e.replace(/%u([\dA-F]{4})|%([\dA-F]{2})/gi,(function(e,t,n){return String.fromCharCode(parseInt("0x"+(t||n),16))}))}return t},isLocalUrl:function(e){return e&&!we.test(e)},mediaQuery:r,expr:function(e,t,n){return typeof t==H&&(n=t,t=!1),n=n||"d",(e=e||"")&&"["!==e.charAt(0)&&(e="."+e),t?(e=function(e,t){var n,i,o,r,a=t||"d",s=1;for(i=0,o=e.length;i<o;i++)""!==(r=e[i])&&(0!==(n=r.indexOf("["))&&(-1==n?r="."+r:(s++,r="."+r.substring(0,n)+" || {})"+r.substring(n))),s++,a+=r+(i<o-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:(e,t)=>(e=e||"").indexOf(".")>=0||e.indexOf("[")>=0?e.split(/[[\].]/).map((e=>e.replace(/["']/g,""))).filter((e=>e)):""===e?[]:[e],getter:function(e,t){var n=e+t;return L[n]=L[n]||(n=>{const i=c.exprToArray(e,t);let o=n;for(let e=0;e<i.length;e++)if(o=o[i[e]],!c.isPresent(o)&&t)return o;return o})},setter:function(e){return R[e]=R[e]||((t,n)=>{const i=c.exprToArray(e),o=({parent:e,val:t,prop:n,props:i})=>{i.length?(e=e[i.shift()],o({parent:e,val:t,prop:n,props:i})):e[n]=t};o({parent:t,val:n,prop:i.pop(),props:i})})},accessor:function(e){return{get:c.getter(e),set:c.setter(e)}},guid:function(){try{return m.randomUUID()}catch(e){return m.getRandomValues(new Uint8Array(16)).reduce(((e,t,n)=>(4!==n&&6!==n&&8!==n&&10!==n||(e+="-"),e+=t.toString(16).padStart(2,"0"))),"")}},roleSelector:function(e){return e.replace(/(\S+)/g,"["+c.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=c.widgets.length;t<n;t++)e(c.widgets[t]);c._widgetRegisteredCallbacks.push(e)},logToConsole:function(e,t){var n=i.console;!c.suppressLog&&void 0!==n&&n.log&&n[t||"log"](e)}});var ke=K.extend({init:function(t,n){var i=this;i._showWatermarkOverlay=e,i.element=c.jQuery(t).handler(i),K.fn.init.call(i);var o,r=n?n.dataSource:null;n&&(o=(i.componentTypes||{})[(n||{}).componentType]),r&&(n=d({},n,{dataSource:{}})),n=i.options=d(!0,{},i.options,i.defaults,o||{},n),r&&(n.dataSource=r),i.element.attr(c.attr("role"))||i.element.attr(c.attr("role"),(n.name||"").toLowerCase()),i.element.data("kendo"+n.prefix+n.name,i),i.bind(i.events,n)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(e){e=e||this.wrapper;var t=this.element,n="tabindex",i=e.attr(n)||t.attr(n);t.removeAttr(n),e.attr(n,isNaN(i)?0:i)},setOptions:function(e){this._clearCssClasses(e),this._setEvents(e),n.extend(this.options,e),this._applyCssClasses()},_setEvents:function(e){for(var t,n=this,i=0,o=n.events.length;i<o;i++)t=n.events[i],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 c.dimensions(this.element)},size:function(e){if(!e)return this.getSize();this.setSize(e)},setSize:n.noop,_resize:n.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,i,o,r=this.__proto__.options,a=this.options,s=e||this.wrapper||this.element,l=[];if(c.cssProperties.propertyDictionary[r.name]){for(t=0;t<U.length;t++)n=U[t],o=this.options._altname||r.name,r.hasOwnProperty(n)&&("themeColor"===n?(i=c.cssProperties.getValidClass({widget:o,propName:"fillMode",value:a.fillMode}))&&i.length&&l.push(c.cssProperties.getValidClass({widget:o,propName:n,value:a[n],fill:a.fillMode})):l.push(c.cssProperties.getValidClass({widget:o,propName:n,value:a[n]})));s.addClass(l.join(" "))}},_ariaLabel:function(e){var t,i=this.element,o=i.attr("id"),r=n('label[for="'+o+'"]'),a=i.attr(O),s=i.attr(F);e[0]!==i[0]&&(a?e.attr(O,a):s?e.attr(F,s):r.length&&(t=r.attr("id")||this._generateLabelId(r,o||c.guid()),e.attr(F,t)))},_clearCssClasses:function(e,t){var n,i,o,r=this.__proto__.options,a=this.options,s=t||this.wrapper||this.element;if(c.cssProperties.propertyDictionary[r.name])for(n=0;n<U.length;n++)i=U[n],o=this.options._altname||r.name,r.hasOwnProperty(i)&&e.hasOwnProperty(i)&&("themeColor"===i?s.removeClass(c.cssProperties.getValidClass({widget:o,propName:i,value:a[i],fill:a.fillMode})):("fillMode"===i&&s.removeClass(c.cssProperties.getValidClass({widget:o,propName:"themeColor",value:a.themeColor,fill:a.fillMode})),s.removeClass(c.cssProperties.getValidClass({widget:o,propName:i,value:a[i]}))))},_generateLabelId:function(e,t){var n=t+"_label";return e.attr("id",n),n}}),xe=ke.extend({dataItems:function(){return this.dataSource.flatView()}});c.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},c.notify=p;var Ce=/template$/i,ze=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,Se=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]+\]$/,Te=/([A-Z])/g;function Me(e,t,n){let i,o=!1;if(0===t.indexOf("data")&&(t=(t=t.substring(4)).charAt(0).toLowerCase()+t.substring(1)),t=t.replace(Te,"-$1"),i=e.getAttribute("data-"+c.ns+t),null===i&&(i=e.getAttribute("bind:data-"+c.ns+t),o=!0),null===i)i=s;else if("null"===i)i=null;else if("true"===i)i=!0;else if("false"===i)i=!1;else if(w.test(i)&&"mask"!=t&&"format"!=t)i=parseFloat(i);else if(ze.test(i)&&!Se.test(i))try{i=v.parse(i)}catch(e){i=new Function("return ("+i+")")()}else o&&(i=n[i],i instanceof K&&(i=i.toJSON(!0)));return i}function Ie(e,t,i){var o,r,a={},l=e.getAttribute("data-"+c.ns+"role");for(o in t)(r=Me(e,o,i))!==s&&(Ce.test(o)&&"drawer"!=l&&("string"==typeof r?r=He(r)?c.template(n("#"+r).html()):i&&i[r]?c.template(i[r]):c.template(r):$(r)||(r=e.getAttribute(o))),a[o]=r);return a}function He(e){try{return n("#"+e).length}catch(e){}return!1}function De(e,t){return n.contains(e,t)?-1:1}function Ee(){var e=n(this);return n.inArray(e.attr("data-"+c.ns+"role"),["slider","rangeslider","breadcrumb"])>-1||e.is(":visible")}c.initWidget=function(e,t,o,r){var a,l,d,u,h,p,f,m,v,g;if(o?o.roles&&(o=o.roles):o=c.ui.roles,p=(e=e.nodeType?e:e[0]).getAttribute("data-"+c.ns+"role")){d=(v=-1===p.indexOf("."))?o[p]:c.getter(p)(i);var _=n(e).data(),b=d?"kendo"+d.fn.options.prefix+d.fn.options.name:"";for(var y in g=v?new RegExp("^kendo.*"+p+"$","i"):new RegExp("^"+b+"$","i"),_)if(y.match(g)){if(y!==b)return _[y];a=_[y]}if(d){for(m=Me(e,"dataSource"),t=n.extend({},Ie(e,n.extend({},d.fn.options,d.fn.defaults),r),t),m&&(t.dataSource=typeof m===H?c.getter(m)(i):m),u=0,h=d.fn.events.length;u<h;u++)(f=Me(e,l=d.fn.events[u]))!==s&&(t[l]=c.getter(f)(i));return a?n.isEmptyObject(t)||a.setOptions(t):a=new d(e,t),a}}},c.rolesFromNamespaces=function(e){var t,n,i=[];for(e[0]||(e=[c.ui,c.dataviz.ui]),t=0,n=e.length;t<n;t++)i[t]=e[t].roles;return d.apply(null,[{}].concat(i.reverse()))},c.init=function(e){var t=c.rolesFromNamespaces(N.call(arguments,1));n(e).find("[data-"+c.ns+"role]").addBack().each((function(){c.initWidget(this,{},t)}))},c.destroy=function(e){n(e).find("[data-"+c.ns+"role]").addBack().each((function(){var e=n(this).data();for(var t in e)0===t.indexOf("kendo")&&typeof e[t].destroy===I&&e[t].destroy()}))},c.resize=function(e,t){var i=n(e).find("[data-"+c.ns+"role]").addBack().filter(Ee);if(i.length){var o=n.makeArray(i);o.sort(De),n.each(o,(function(){var e=c.widgetInstance(n(this));e&&e.resize(t)}))}},c.parseOptions=Ie,d(c.ui,{Widget:ke,DataBoundWidget:xe,roles:{},progress:function(e,t,i){var o,r,a,s,l,d=e.find(".k-loading-mask"),u=c.support,h=u.browser;l=(i=n.extend({},{width:"100%",height:"100%",top:e.scrollTop(),opacity:!1},i)).opacity?"k-loading-mask k-opaque":"k-loading-mask",t?d.length||(r=(o=u.isRtl(e))?"right":"left",s=c.scrollLeft(e),a=h.webkit&&o?e[0].scrollWidth-e.width()-2*s:0,d=n(c.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,c.ui.progress.messages.loading)).width(i.width).height(i.height).css("top",i.top).css(r,Math.abs(s)+a).prependTo(e)):d&&d.remove()},plugin:function(e,t,i){var o,r=e.fn.options.name;i=i||"",(t=t||c.ui)[r]=e,t.roles[r.toLowerCase()]=e,o="getKendo"+i+r;var a={name:r="kendo"+i+r,widget:e,prefix:i||""};c.widgets.push(a);for(var l=0,d=c._widgetRegisteredCallbacks.length;l<d;l++)c._widgetRegisteredCallbacks[l](a);n.fn[r]=function(t){var i,o=this;return typeof t===H?(i=N.call(arguments,1),this.each((function(){var e,a,l=n.data(this,r);if(!l)throw new Error(c.format("Cannot call method '{0}' of {1} before it is initialized",t,r));if(typeof(e=l[t])!==I)throw new Error(c.format("Cannot find method '{0}' of {1}",t,r));if((a=e.apply(l,i))!==s)return o=a,!1}))):this.each((function(){return new e(this,t)})),o},n.fn[r].widget=e,n.fn[o]=function(){return this.data(r)}}}),c.ui.progress.messages={loading:"Loading..."};var Ae={bind:function(){return this},nullObject:!0,options:{}},Ve=ke.extend({init:function(e,t){ke.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){ke.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var e=this.element.closest(c.roleSelector("view splitview modalview drawer"));return c.widgetInstance(e,c.mobile.ui)||Ae},viewHasNativeScrolling:function(){var e=this.view();return e&&e.options.useNativeScrolling},container:function(){var e=this.element.closest(c.roleSelector("view layout modalview drawer splitview"));return c.widgetInstance(e.eq(0),c.mobile.ui)||Ae}});function Pe(e,t){var i=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(i)?!e.disabled:"a"===i&&e.href||t)&&function(e){return n.expr.pseudos.visible(e)&&!n(e).parents().addBack().filter((function(){return"hidden"===n.css(this,"visibility")})).length}(e)}d(c.mobile,{init:function(e){c.init(e,c.mobile.ui,c.ui,c.dataviz.ui)},roles:{},ui:{Widget:Ve,DataBoundWidget:xe.extend(Ve.prototype),roles:{},plugin:function(e){c.ui.plugin(e,c.mobile.ui,"Mobile")}}}),ae(c.dataviz,{init:function(e){c.init(e,c.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(e){c.ui.plugin(e,c.dataviz.ui)}},roles:{}}),c.touchScroller=function(e,t){return t||(t={}),t.useNative=!0,n(e).map((function(e,i){return i=n(i),!(!g.kineticScrollNeeded||!c.mobile.ui.Scroller||i.data("kendoMobileScroller"))&&(i.kendoMobileScroller(t),i.data("kendoMobileScroller"))}))[0]},c.preventDefault=function(e){e.preventDefault()},c.widgetInstance=function(e,t){var n,o,r=e.data(c.ns+"role"),a=[],s=e.data("kendoView");if(r){if("content"===r&&(r="scroller"),"view"===r&&s)return s;if(t)if(t[0])for(n=0,o=t.length;n<o;n++)a.push(t[n].roles[r]);else a.push(t.roles[r]);else a=[c.ui.roles[r],c.dataviz.ui.roles[r],c.mobile.ui.roles[r]];for(r.indexOf(".")>=0&&(a=[c.getter(r)(i)]),n=0,o=a.length;n<o;n++){var l=a[n];if(l){var d=e.data("kendo"+l.fn.options.prefix+l.fn.options.name);if(d)return d}}}},c.onResize=function(e){var t=e;return g.mobileOS.android&&(t=function(){setTimeout(e,600)}),n(i).on(g.resize,t),t},c.unbindResize=function(e){n(i).off(g.resize,e)},c.attrValue=function(e,t){return e.data(c.ns+t)},c.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},n.extend(n.expr.pseudos,{kendoFocusable:function(e){var t=n.attr(e,"tabindex");return Pe(e,!isNaN(t)&&t>-1)}});var Be=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],Fe={setupMouseMute:function(){var e=0,t=Be.length,i=document.documentElement;if(!Fe.mouseTrap&&g.eventCapture){Fe.mouseTrap=!0,Fe.bustClick=!1,Fe.captureMouse=!1;for(var o=function(e){Fe.captureMouse&&("click"===e.type?Fe.bustClick&&!n(e.target).is("label, input, [data-rel=external]")&&(e.preventDefault(),e.stopPropagation()):e.stopPropagation())};e<t;e++)i.addEventListener(Be[e],o,!0)}},muteMouse:function(e){Fe.captureMouse=!0,e.data.bustClick&&(Fe.bustClick=!0),clearTimeout(Fe.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(Fe.mouseTrapTimeoutID),Fe.mouseTrapTimeoutID=setTimeout((function(){Fe.captureMouse=!1,Fe.bustClick=!1}),400)}},Oe={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"};g.touch&&(g.mobileOS.ios||g.mobileOS.android)?Oe={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:g.pointers?Oe={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:g.msPointers&&(Oe={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),g.msPointers&&!("onmspointerenter"in i)&&n.each({MSPointerEnter:"MSPointerOver",MSPointerLeave:"MSPointerOut"},(function(e,t){n.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,o=e.relatedTarget,r=e.handleObj;return o&&(o===this||n.contains(this,o))||(e.type=r.origType,i=r.handler.apply(this,arguments),e.type=t),i}}}));var Le=function(e){return Oe[e]||e},Re=/([^ ]+)/g;c.applyEventMap=function(e,t){return e=e.replace(Re,Le),t&&(e=e.replace(Re,"$1."+t)),e},c.keyDownHandler=function(e,t){var n=t._events.kendoKeydown;if(!n)return!0;n=n.slice(),e.sender=t,e.preventKendoKeydown=!1;for(var i=0,o=n.length;i<o;i++)n[i].call(t,e);return!e.preventKendoKeydown};var Ne=n.fn.on;function Ue(e,t){return new Ue.fn.init(e,t)}j(!0,Ue,n),Ue.fn=Ue.prototype=new n,Ue.fn.constructor=Ue,Ue.fn.init=function(e,t){return t&&t instanceof n&&!(t instanceof Ue)&&(t=Ue(t)),n.fn.init.call(this,e,t,je)},Ue.fn.init.prototype=Ue.fn;var je=Ue(document);d(Ue.fn,{handler:function(e){return this.data("handler",e),this},autoApplyNS:function(e){return this.data("kendoNS",e||c.guid()),this},on:function(){var e=this,t=e.data("kendoNS");if(1===arguments.length)return Ne.call(e,arguments[0]);var n=e,i=N.call(arguments);typeof i[i.length-1]===P&&i.pop();var o=i[i.length-1],r=c.applyEventMap(i[0],t);if(g.mouseAndTouchPresent&&r.search(/mouse|click/)>-1&&this[0]!==document.documentElement){Fe.setupMouseMute();var a=2===i.length?null:i[1],s=r.indexOf("click")>-1&&r.indexOf("touchend")>-1;Ne.call(this,{touchstart:Fe.muteMouse,touchend:Fe.unMuteMouse},a,{bustClick:s})}if(-1!==arguments[0].indexOf("keydown")&&i[1]&&i[1].options){i[0]=r;var l=i[1],d=i[i.length-1];return i[i.length-1]=function(e){if(c.keyDownHandler(e,l))return d.apply(this,[e])},Ne.apply(e,i),e}return typeof o===H&&(n=e.data("handler"),o=n[o],i[i.length-1]=function(e){o.call(n,e)}),i[0]=r,Ne.apply(e,i),e},kendoDestroy:function(e){return(e=e||this.data("kendoNS"))&&this.off("."+e),this}}),c.jQuery=Ue,c.eventMap=Oe,c.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,i){var o,r,a,s=i[3],l=i[4],c=i[5],d=i[8];return d||(i[8]=d={}),d[n]?d[n]:(isNaN(l)?0===l.indexOf("last")?(o=new Date(Date.UTC(n,e[s]+1,1,c[0]-24,c[1],c[2],0)),r=t[l.substr(4,3)],a=o.getUTCDay(),o.setUTCDate(o.getUTCDate()+r-a-(r>a?7:0))):l.indexOf(">=")>=0?(o=new Date(Date.UTC(n,e[s],l.substr(5),c[0],c[1],c[2],0)),r=t[l.substr(0,3)],a=o.getUTCDay(),o.setUTCDate(o.getUTCDate()+r-a+(r<a?7:0))):l.indexOf("<=")>=0&&(o=new Date(Date.UTC(n,e[s],l.substr(5),c[0],c[1],c[2],0)),r=t[l.substr(0,3)],a=o.getUTCDay(),o.setUTCDate(o.getUTCDate()+r-a-(r>a?7:0))):o=new Date(Date.UTC(n,e[s],l,c[0],c[1],c[2],0)),d[n]=o)}function i(e,t,i){if(!(t=t[i])){var o=i.split(":"),r=0;return o.length>1&&(r=60*o[0]+Number(o[1])),[-1e6,"max","-","Jan",1,[0,0,0],r,"-"]}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 o(e,t,n,o){typeof e!=D&&(e=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));var r=function(e,t,n){var i=t[n];if("string"==typeof i&&(i=t[i]),!i)throw new Error('Timezone "'+n+'" is either incorrect, or kendo.timezones.min.js is not included.');for(var o=i.length-1;o>=0;o--){var r=i[o][3];if(r&&e>r)break}var a=i[o+1];if(!a)throw new Error('Timezone "'+n+'" not found on '+e+".");return a}(e,t,o);return{zone:r,rule:i(e,n,r[1])}}return{zones:{},rules:{},offset:function(e,t){if("Etc/UTC"==t||"Etc/GMT"==t)return 0;var n=o(e,this.zones,this.rules,t),i=n.zone,r=n.rule;return c.parseFloat(r?i[0]-r[6]:i[0])},convert:function(e,t,n){var i,o=n;typeof t==H&&(t=this.offset(e,t)),typeof n==H&&(n=this.offset(e,n));var r=e.getTimezoneOffset(),a=(e=new Date(e.getTime()+6e4*(t-n))).getTimezoneOffset();return typeof o==H&&(o=this.offset(e,o)),i=a-r+(n-o),new Date(e.getTime()+6e4*i)},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=o(e,this.zones,this.rules,t),i=n.zone,r=n.rule,a=i[2];return a.indexOf("/")>=0?a.split("/")[r&&+r[6]?1:0]:a.indexOf("%s")>=0?a.replace("%s",r&&"-"!=r[7]?r[7]:""):a},toLocalDate:function(e){return this.apply(new Date(e),"Etc/UTC")}}}(),c.date=function(){var e=6e4,t=864e5;function n(e,t){return 0===t&&23===e.getHours()&&(e.setHours(e.getHours()+2),!0)}function i(e,t,i){var o=e.getHours();i=i||1,t=(t-e.getDay()+7*i)%7,e.setDate(e.getDate()+t),n(e,o)}function o(e,t,n){return i(e=new Date(e),t,n),e}function r(e){return new Date(e.getFullYear(),e.getMonth(),1)}function a(e,n){var i=new Date(e.getFullYear(),0,1,-6),r=function(e,t){return 1!==t?u(o(e,t,-1),4):u(e,4-(e.getDay()||7))}(e,n),a=r.getTime()-i.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 d(e){return f(e).getTime()-l(f(e))}function u(e,i){var o=e.getHours();return h(e=new Date(e),i*t),n(e,o),e}function h(t,n,i){var o,r=t.getTimezoneOffset();t.setTime(t.getTime()+n),i||(o=t.getTimezoneOffset()-r,t.setTime(t.getTime()+o*e))}function p(){return l(new Date)}function f(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 m(e,t){var n=new Date(e);return new Date(n.setFullYear(n.getFullYear()+t))}function v(e,t){var n=e[e.length-1];n&&"LITERAL"===n.type?n.pattern+=t:e.push({type:"literal",pattern:t})}function g(e){return"h"===e||"K"===e}function _(e,t,n){return n=n||0,e.indexOf(t,n)===n}return{adjustDST:n,dayOfWeek:o,setDayOfWeek:i,getDate:l,isInDateRange:function(e,n,i){var o,r=n.getTime(),a=i.getTime();return r>=a&&(a+=t),(o=e.getTime())>=r&&o<=a},isInTimeRange:function(e,n,i){var o,r=d(n),a=d(i);return!e||r==a||(n>=i&&(i+=t),r>(o=d(e))&&(o+=t),a<r&&(a+=t),o>=r&&o<=a)},isToday:function(e){return l(e).getTime()==p().getTime()},nextDay:function(e){return u(e,1)},previousDay:function(e){return u(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:36e5,MS_PER_MINUTE:e,setTime:h,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:u,today:p,toInvariantTime:f,firstDayOfMonth:r,splitDateFormat:function(e){for(var t,n,i,o,r,a,s,l,d=function(e,t){var n,i=t.calendar;return"string"==typeof e&&(n=i.patterns[e]?i.patterns[e]:e),n||(n=i.patterns.d),n}(e,c.culture()).replaceAll("dddd","EEEE").replaceAll("ddd","EEE").replace("tt","aa"),u=[],h=/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=h.lastIndex=0,f=h.exec(d);f;){var m=f[0];p<f.index&&v(u,d.substring(p,f.index)),_(m,'"')||_(m,"'")?v(u,m):(t=m[0],i={type:n=T[t],pattern:m},"hour"===n&&(i.hour12=g(m)),(o=M[n])&&(r="number"==typeof o.minLength?o.minLength:o.minLength[t],(a=m.length)>=r&&"aa"!==m&&(i.names={type:o.type,nameType:(s=a,l=void 0,s<=3?l="abbreviated":4===s?l="wide":5===s&&(l="narrow"),l),standAlone:o.standAlone===t})),u.push(i)),p=h.lastIndex,f=h.exec(d)}return p<d.length&&v(u,d.substring(p)),u},dateFieldName:function(e){return(c.culture().calendar.dateFields[e.type]||{})[e.nameType]},dateFormatNames:function(e){let{type:t,nameType:n}=e;const i=c.culture();"wide"===n&&(n="names"),"abbreviated"===n&&(n="namesAbbr"),"narrow"===n&&(n="namesShort");let o=i.calendar[t][n];return o||(o=i.calendar[t].name),o},lastDayOfMonth:function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=r(e),i=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return i&&t.setHours(n.getHours()+i/60),t},weekInYear:function(e,t){t===s&&(t=c.culture().calendar.firstDay);var n=u(e,-7),i=u(e,7),o=a(e,t);return 0===o?a(n,t)+1:53===o&&a(i,t)>1?1:o},getMilliseconds:d,firstDayOfYear:function(e){return new Date(e.getFullYear(),0,1)},lastDayOfYear:function(e){return new Date(e.getFullYear(),11,31)},nextYear:function(e){return m(e,1)},previousYear:function(e){return m(e,-1)}}}(),c.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)};var We=i.requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||i.oRequestAnimationFrame||i.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)};c.animationFrame=function(e){We.call(i,e)};var $e=[];c.queueAnimation=function(e){$e[$e.length]=e,1===$e.length&&c.runNextAnimation()},c.runNextAnimation=function(){c.animationFrame((function(){$e[0]&&($e.shift()(),$e[0]&&c.runNextAnimation())}))},c.parseQueryStringParams=function(e){for(var t={},n=(e.split("?")[1]||"").split(/&|=/),i=n.length,o=0;o<i;o+=2)""!==n[o]&&(t[decodeURIComponent(n[o])]=decodeURIComponent(n[o+1]));return t},c.elementUnderCursor=function(e){if(void 0!==e.x.client)return document.elementFromPoint(e.x.client,e.y.client)},c.wheelDeltaY=function(e){var t,n=e.originalEvent,i=n.wheelDeltaY;return n.wheelDelta?(i===s||i)&&(t=n.wheelDelta):n.detail&&n.axis===n.VERTICAL_AXIS&&(t=10*-n.detail),t},c.throttle=function(e,t){var n,i=0;if(!t||t<=0)return e;var o=function(){var o=this,r=+new Date-i,a=arguments;function s(){e.apply(o,a),i=+new Date}if(!i)return s();n&&clearTimeout(n),r>t?s():n=setTimeout(s,t-r)};return o.cancel=function(){clearTimeout(n)},o},c.caret=function(e,t,i){var o,r=t!==s;if(i===s&&(i=t),e[0]&&(e=e[0]),!r||!e.disabled){try{if(e.selectionStart!==s)if(r){e.focus();var a=g.mobileOS;a.wp||a.android?setTimeout((function(){e.setSelectionRange(t,i)}),0):e.setSelectionRange(t,i)}else t=[e.selectionStart,e.selectionEnd];else if(document.selection)if(n(e).is(":visible")&&e.focus(),o=e.createTextRange(),r)o.collapse(!0),o.moveStart("character",t),o.moveEnd("character",i-t),o.select();else{var l,c,d=o.duplicate();o.moveToBookmark(document.selection.createRange().getBookmark()),d.setEndPoint("EndToStart",o),c=(l=d.text.length)+o.text.length,t=[l,c]}}catch(e){t=[]}return t}},c.antiForgeryTokens=function(){var e={},t=n("meta[name=csrf-token],meta[name=_csrf]").attr("content"),i=n("meta[name=csrf-param],meta[name=_csrf_header]").attr("content");return n("input[name^='__RequestVerificationToken']").each((function(){e[this.name]=this.value})),i!==s&&t!==s&&(e[i]=t),e},c.cycleForm=function(e){var t=e.find("input, .k-widget, .k-dropdownlist, .k-combobox").first(),n=e.find("button, .k-button").last();function i(e){var t=c.widgetInstance(e);t&&t.focus?t.focus():e.trigger("focus")}n.on("keydown",(function(e){e.keyCode!=c.keys.TAB||e.shiftKey||(e.preventDefault(),i(t))})),t.on("keydown",(function(e){e.keyCode==c.keys.TAB&&e.shiftKey&&(e.preventDefault(),i(n))}))},c.focusElement=function(e){var t=[],o=e.parentsUntil("body").filter((function(e,t){return"visible"!==c.getComputedStyles(t,["overflow"]).overflow})).add(i);o.each((function(e,i){t[e]=n(i).scrollTop()}));try{e[0].setActive()}catch(t){e.trigger("focus")}o.each((function(e,i){n(i).scrollTop(t[e])}))},c.focusNextElement=function(){if(document.activeElement){var e=n(":kendoFocusable"),t=e.index(document.activeElement);if(t>-1)(e[t+1]||e[0]).focus()}},c.trim=function(e){return e?e.toString().trim():""},c.getWidgetFocusableElement=function(e){var t=e.closest(":kendoFocusable"),i=c.widgetInstance(e);return t.length?t:i?"Editor"===i.options.name?n(i.body):i.wrapper.find(":kendoFocusable").first():e},c.addAttribute=function(e,t,n){var i=e.attr(t)||"";i.indexOf(n)<0&&e.attr(t,(i+" "+n).trim())},c.removeAttribute=function(e,t,n){var i=e.attr(t)||"";e.attr(t,i.replace(n,"").trim())},c.toggleAttribute=function(e,t,n){(e.attr(t)||"").indexOf(n)<0?c.addAttribute(e,t,n):c.removeAttribute(e,t,n)},c.matchesMedia=function(e){var t=c._bootstrapToMedia(e)||e;return g.matchMedia&&i.matchMedia(t).matches},c._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]},c.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"]},c.getFileGroup=function(e,t){var n=c.fileGroupMap,i=Object.keys(n),o="file";if(e===s||!e.length)return o;for(var r=0;r<i.length;r+=1){if(n[i[r]].indexOf(e.toLowerCase())>-1)return t?"file-"+i[r]:i[r]}return o},c.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]},c.selectorFromClasses=function(e){return"."+e.split(" ").join(".")};var qe=["base","primary","secondary","tertiary","inherit","info","success","warning","error","dark","light","inverse"],Ge=["solid","outline","flat"],Ke=["rectangle","square"],Ye=[["small","sm"],["medium","md"],["large","lg"]],Qe=[["small","sm"],["medium","md"],["large","lg"],["full","full"]],Xe=["fixed","static","sticky","absolute"],Ze=[["both","resize"],["horizontal","resize-x"],["vertical","resize-y"]],Je=["auto","hidden","visible","scroll","clip"],et=[["vertical","!k-flex-col"],["horizontal","!k-flex-row"]];c.cssProperties=function(){var e={};function t(t,n,i){e[t]||(e[t]={}),e[t][n]=i||n}function n(e,n){for(var i=0;i<n.length;i++)h(n[i])?t(e,n[i][0],n[i][1]):t(e,n[i])}return n("themeColor",qe),n("fillMode",Ge),n("shape",Ke),n("size",Ye),n("positionMode",Xe),n("rounded",Qe),n("resize",Ze),n("overflow",Je),n("layoutFlow",et),{positionModeValues:Xe,roundedValues:Qe,sizeValues:Ye,shapeValues:Ke,fillModeValues:Ge,themeColorValues:qe,defaultValues:e,propertyDictionary:{},registerValues:function(e,t){var n,i,o,r,a,s,l=c.cssProperties.propertyDictionary;for(n=0;n<t.length;n++)for(o=t[n].prop,a=t[n].values,l[e][o]||(l[e][o]={}),r=l[e][o],i=0;i<a.length;i++)s=a[i],h(a[i])?r[s[0]]=s[1]:r[s]=s},getValidClass:function(e){var t,n,i,o=e.widget,r=e.propName,a=e.value,s=e.fill,l=c.cssProperties,d=l.defaultValues[r],u=l.propertyDictionary[o],h=e.prefix;return u&&(n=(t=u[r])&&t[a]||d[a])?(i="themeColor"===r?u[B]+s+"-":"positionMode"===r?"k-pos-":"rounded"===r?"k-rounded-":"resize"===r?"k-":"overflow"===r?"k-overflow-":"layoutFlow"===r?"":u[B],(i=h||i)+n):""},registerPrefix:function(e,t){var n=c.cssProperties.propertyDictionary;n[e]||(n[e]={}),n[e][B]=t}}}(),c.registerCssClass=function(e,t,n){c.propertyToCssClassMap[e]||(c.propertyToCssClassMap[e]={}),c.propertyToCssClassMap[e][t]=n||t},c.registerCssClasses=function(e,t){for(var n=0;n<t.length;n++)h(t[n])?c.registerCssClass(e,t[n][0],t[n][1]):c.registerCssClass(e,t[n])},c.getValidCssClass=function(e,t,n){var i=c.propertyToCssClassMap[t][n];if(i)return e+i},c.propertyToCssClassMap={},c.registerCssClasses("themeColor",qe),c.registerCssClasses("fill",Ge),c.registerCssClasses("shape",Ke),c.registerCssClasses("size",Ye),c.registerCssClasses("positionMode",Xe),c.applyStylesFromKendoAttributes=function(e,t){let i=t.map((e=>`[${c.attr(`style-${e}`)}]`)).join(",");e.find(i).addBack(i).each(((e,i)=>{let o=n(i);t.forEach((function(e){let t=c.attr(`style-${e}`);o.attr(t)&&(o.css(e,o.attr(t)),o.removeAttr(t))}))}))},c.whenAll=function(e){var t,i=1==arguments.length&&Array.isArray(e)?e:Array.prototype.slice.call(arguments),o=i.length,r=o,a=n.Deferred(),s=0,l=0,d=Array(o),u=Array(o),h=Array(o);function p(e,t,n){return function(){n!=i&&l++,a.notifyWith(t[e]=this,n[e]=Array.prototype.slice.call(arguments)),--r||a[(l?"reject":"resolve")+"With"](t,n)}}for(;s<o;s++)(t=i[s])&&c.isFunction(t.promise)?t.promise().done(p(s,h,i)).fail(p(s,d,u)):(a.notifyWith(this,t),--r);return r||a.resolveWith(h,i),a.promise()},function(){function e(e,t,i,o){var r=n("<form>").attr({action:i,method:"POST",target:o}),a=c.antiForgeryTokens();a.fileName=t;var s=e.split(";base64,");for(var l in a.contentType=s[0].replace("data:",""),a.base64=s[1],a)a.hasOwnProperty(l)&&n("<input>").attr({value:a[l],name:l,type:"hidden"}).appendTo(r);r.appendTo("body").submit().remove()}var t=document.createElement("a"),o="download"in t&&!c.support.browser.edge;function r(e,t){var n=e;if("string"==typeof e){for(var i=e.split(";base64,"),o=i[0],r=atob(i[1]),a=new Uint8Array(r.length),s=0;s<r.length;s++)a[s]=r.charCodeAt(s);n=new Blob([a.buffer],{type:o})}navigator.msSaveBlob(n,t)}function a(e,n){i.Blob&&e instanceof Blob&&(e=URL.createObjectURL(e)),t.download=n,t.href=e;var o=document.createEvent("MouseEvents");o.initMouseEvent("click",!0,!1,i,0,0,0,0,0,!1,!1,!1,!1,0,null),t.dispatchEvent(o),setTimeout((function(){URL.revokeObjectURL(e)}))}c.saveAs=function(t){var n=e;t.forceProxy||(o?n=a:navigator.msSaveBlob&&(n=r)),n(t.dataURI,t.fileName,t.proxyURL,t.proxyTarget)}}(),c.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},c.getSeriesColors=function(){var e=n('<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>'),t=[];return e.appendTo(n("body")),e.each((function(e,i){t.push(n(i).css("background-color"))})),e.remove(),t},c.isElement=function(e){return e instanceof Element||e instanceof HTMLDocument},c.defaults=c.defaults||{},c.setDefaults=function(e,t){var n=e.split("."),i=c.defaults;e=n.pop(),n.forEach((function(e){i[e]===s&&(i[e]={}),i=i[e]})),t.constructor===Object?i[e]=ae({},i[e],t):i[e]=t},c.debugTemplates=i.DEBUG_KENDO_TEMPLATES,c.setDefaults("breakpoints",o),c.class2type={},jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){c.class2type["[object "+t+"]"]=t.toLowerCase()})),c.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c.class2type[Object.prototype.toString.call(e)]||"object":typeof e}}(jQuery,window);kendo;!function(e){var t=window.kendo,n=t.Class;t.html=t.html||{};var i=n.extend({init:function(t,n){this.element=e(t),delete(n=n||{}).name,this._initOptions(n)},options:{stylingOptions:[]},_addClasses:function(){var e=this,n=e.options,i=n.stylingOptions,o=e.wrapper.data("added-classes");i=i.map((function(e){var i;return"themeColor"!==e||(i=t.cssProperties.getValidClass({widget:n.name,propName:"fillMode",value:n.fillMode}))&&0!==i.length?t.cssProperties.getValidClass({widget:n.name,propName:e,value:n[e],fill:n.fillMode}):""})),o&&e.wrapper.removeClass(o.join(" ")),e.wrapper.data("added-classes",i),e.wrapper.addClass(i.join(" "))},html:function(){return this.wrapper[0].outerHTML}});e.extend(t.html,{HTMLBase:i})}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=e.extend,i=t.html.HTMLBase,o="k-i-",r="k-svg-i-",a="k-flip-",s=`${a}h`,l=`${a}v`,c={svg:(e,t)=>new p(e,t),font:(e,t)=>new h(e,t)},d={default:"",horizontal:s,vertical:l,both:`${s} ${l}`},u=i.extend({init:function(e,t){i.fn.init.call(this,e,t),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,o=e.wrapper.data("added-classes");i=i.map((function(e){return"themeColor"===e?t.cssProperties.getValidClass({widget:n.name,propName:e,value:n[e],prefix:"k-color-"}):"fill"===e?d[n.flip]:t.cssProperties.getValidClass({widget:n.name,propName:e,value:n[e],fill:n.fillMode})})),o&&e.wrapper.removeClass(o.filter((t=>t!==e._className)).join(" ")),e.wrapper.data("added-classes",i.concat([e._className])),e.wrapper.addClass(i.join(" "))}}),h=u.extend({init:function(e,t){u.fn.init.call(this,e,t)},options:n({},u.fn.options,{name:"HTMLFontIcon",icon:null}),_wrapper:function(){var e=this,t=e.element[0].className.split(" ").find((e=>e.includes(o))),n=e.options.icon?`${e.options.icon.startsWith(o)?"":o}${e.options.icon}`:"";e._className=n,e.wrapper=e.element.addClass("k-icon k-font-icon").removeClass(t).addClass(n).addClass(e.options.iconClass||""),u.fn._wrapper.call(this)}}),p=u.extend({init:function(e,t){e.empty(),u.fn.init.call(this,e,t)},options:n({},u.fn.options,{name:"HTMLSVGIcon",icon:null}),_wrapper:function(){var n,i=this,o=i.options.icon,a=i.options.iconClass,s=i.element[0].className.split(" ").find((e=>e.includes(r))),l=e("<svg></svg>");if(!o&&a){const e=/k-i-(\w+(?:-\w+)*)/;let t=a.match(e);t&&(o=t[1],a=a.replace(t[0],""))}t.isString(o)&&(o=o.replace("k-i-","").replace(/-./g,(e=>e[1].toUpperCase())),o=t.ui.svgIcons[o]||t.ui.svgIcons[`${o}Icon`]),n=o&&o.name?`${r}${o.name}`:"",i._className=n,i.wrapper=i.element.addClass("k-icon k-svg-icon").removeClass(s).addClass(n).addClass(a||""),e.isPlainObject(o)&&(l.attr("viewBox",o.viewBox||"").attr({viewBox:o.viewBox||"",focusable:"false",xmlns:"http://www.w3.org/2000/svg"}).html(o.content||""),i.wrapper.append(l[0].outerHTML)),u.fn._wrapper.call(this)}});e.extend(t.html,{renderIcon:function(n,i){return(!n||e.isPlainObject(n)||t.isString(n))&&(i=n,n=e("<span></span>")),t.isString(i)&&(i={icon:i}),t.isPresent(i.type)||(i.type=t.defaults.iconType?t.defaults.iconType:"svg"),t.isFunction(i.type)?i.type(n,i):t.isFunction(c[i.type])?c[i.type](n,i).html():null},HTMLFontIcon:h,HTMLSvgIcon:p,getIconRenderer:e=>c[e]}),t.cssProperties.registerPrefix("HTMLFontIcon","k-icon-"),t.cssProperties.registerValues("HTMLFontIcon",[{prop:"size",values:t.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"]}]),t.cssProperties.registerPrefix("HTMLSVGIcon","k-icon-"),t.cssProperties.registerValues("HTMLSVGIcon",[{prop:"size",values:t.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;var l=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-48m240 112v-32H64v32l128 16v80l-32 224h48l32-160h32l32 160h48l-32-224v-80z" />',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-32H128zm-64 64c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32h256c32 0 32-32 32-32H64zM448 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-32m1 192s0 .1 0 0l-256.9.1-.1-.1V96.1l.1-.1H448v160z" />',viewBox:"0 0 512 512"},alignBottomIcon:{name:"align-bottom",content:'<path d="M480 352H32v-32h448zm-64 32H96v32h320zm64 64H32v32h448z" />',viewBox:"0 0 512 512"},alignCenterIcon:{name:"align-center",content:'<path d="M448 96H64V64h384zm-64 64H128v-32h256zm64 64H64v-32h384zm-64 64H128v-32h256zm64 64H64v-32h384zm-64 64H128v-32h256z" />',viewBox:"0 0 512 512"},alignItemsBaselineAltIcon:{name:"align-items-baseline-alt",content:'<path d="M255 288v-64h96V96h-96V32h-32v64h-96v128h96v64H63v128h160v64h32v-64h160V288zm-32 96H95v-64h128zm0-192h-64v-64h64z" />',viewBox:"0 0 512 512"},alignItemsBaselineIcon:{name:"align-items-baseline",content:'<path d="M415 224V64H287v160h-64v-96H95v96H31v32h64v96h128v-96h64v160h128V256h64v-32zm-224 96h-64v-64h64zm192 64h-64V256h64z" />',viewBox:"0 0 512 512"},alignItemsCenterAltIcon:{name:"align-items-center-alt",content:'<path d="M479 256h-64v160H287V256h-64v96H95v-96H31v-32h64v-96h128v96h64V64h128v160h64z" />',viewBox:"0 0 512 512"},alignItemsCenterIcon:{name:"align-items-center",content:'<path d="M415 416H255v64h-32v-64H63V288h160v-64h-96V96h96V32h32v64h96v128h-96v64h160z" />',viewBox:"0 0 512 512"},alignItemsEndAltIcon:{name:"align-items-end-alt",content:'<path d="M223 417H95V193h128zM31 449v32h448v-32zM415 65H287v352h128z" />',viewBox:"0 0 512 512"},alignItemsEndIcon:{name:"align-items-end",content:'<path d="M192 96h224v128H192zm256-64v448h32V32zM64 416h352V288H64z" />',viewBox:"0 0 512 512"},alignItemsStartAltIcon:{name:"align-items-start-alt",content:'<path d="M96 96h128v224H96zM32 32v32h448V32zm256 416h128V96H288z" />',viewBox:"0 0 512 512"},alignItemsStartIcon:{name:"align-items-start",content:'<path d="M319 224H95V96h224zM31 480h32V32H31zm64-192v128h352V288z" />',viewBox:"0 0 512 512"},alignItemsStretchAltIcon:{name:"align-items-stretch-alt",content:'<path d="M223 96v320H95V96zM31 480h448v-32H31zm0-448v32h448V32zm256 63v320h128V95z" />',viewBox:"0 0 512 512"},alignItemsStretchIcon:{name:"align-items-stretch",content:'<path d="M415 224H95V96h320zM31 480h32V32H31zM447 32v448h32V32zM96 416h320V288H96z" />',viewBox:"0 0 512 512"},alignJustifyIcon:{name:"align-justify",content:'<path d="M448 160H64v-32h384zm0-96H64v32h384zM64 352h384v-32H64zm0-64h384v-32H64zm0-64h384v-32H64zm0 192h384v-32H64z" />',viewBox:"0 0 512 512"},alignLeftIcon:{name:"align-left",content:'<path d="M448 96H64V64h384zm-96 32H64v32h288zm96 64H64v32h384zm-96 64H64v32h288zm96 64H64v32h384zm-96 64H64v32h288z" />',viewBox:"0 0 512 512"},alignMiddleIcon:{name:"align-middle",content:'<path d="M480 192H32v-32h448zm-64 32H96v32h320zm64 64H32v32h448z" />',viewBox:"0 0 512 512"},alignRemoveIcon:{name:"align-remove",content:'<path d="m78.9 192 32 32H64v-32zM64 288h110.9l-32-32H64zm0 64h174.9l-32-32H64zm0 32v32h238.9l-32-32zm393.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 192h384v32H64zm384-96V64H64v32zm-288 64h288v-32H160zM64 320v32h384v-32zm96-32h288v-32H160zm0 96v32h288v-32z" />',viewBox:"0 0 512 512"},alignSelfCenterAltIcon:{name:"align-self-center-alt",content:'<path d="M415 224V64H287v160h-64v-96H95v96H31v32h64v96h128v-96h64v160h128V256h64v-32zm-32 0v160h-64V96h64z" />',viewBox:"0 0 512 512"},alignSelfCenterIcon:{name:"align-self-center",content:'<path d="M255 288v-64h96V96h-96V32h-32v64h-96v128h96v64H63v128h160v64h32v-64h160V288zm128 96H95v-64h288z" />',viewBox:"0 0 512 512"},alignSelfEndAltIcon:{name:"align-self-end-alt",content:'<path d="M479 449v32H31v-32zM223 193H95v224h128zm192 224H287V65h128zM383 97h-64v288h64z" />',viewBox:"0 0 512 512"},alignSelfEndIcon:{name:"align-self-end",content:'<path d="M64 416h352V288H64zm32-96h288v64H96zm96-224h224v128H192zm288-64v448h-32V32z" />',viewBox:"0 0 512 512"},alignSelfStartAltIcon:{name:"align-self-start-alt",content:'<path d="M95 96h128v224H95zm192 0h128v352H287zm32 320h64V128h-64zM31 32v32h448V32z" />',viewBox:"0 0 512 512"},alignSelfStartIcon:{name:"align-self-start",content:'<path d="M31 32h32v448H31zm288 64H95v128h224zm128 192v128H95V288zm-32 32H127v64h288z" />',viewBox:"0 0 512 512"},alignSelfStretchAltIcon:{name:"align-self-stretch-alt",content:'<path d="M223 96v320H95V96zM31 480h448v-32H31zM415 96v320H287V96zm-32 32h-64v256h64zM31 32v32h448V32z" />',viewBox:"0 0 512 512"},alignSelfStretchIcon:{name:"align-self-stretch",content:'<path d="M95 96h320v128H95zM31 480h32V32H31zm64-192h320v128H95zm32 96h256v-64H127zM447 32v448h32V32z" />',viewBox:"0 0 512 512"},alignToGridIcon:{name:"align-to-grid",content:'<path d="M320 320H128V128h192zM96 0H64v512h32zm352 0h-32v512h32zm64 64H0v32h512zm0 352H0v32h512z" />',viewBox:"0 0 512 512"},alignTopIcon:{name:"align-top",content:'<path d="M480 64H32V32h448zm-64 32H96v32h320zm64 64H32v32h448z" />',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-6q11.1-2.4 14.4-6.3c4.4-5.2 9.4-15.7 14.8-31.5L91.4 192H96l61.6 182.2q7.5 21.9 13.5 28.5c4 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.3zm-3.5-12-30-88.5L55.8 331zm227.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.3-6.4 5.2-7.8 8.8c-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.4m163.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.4M512 96H0v32h512z" />',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 416V288zM256 64c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32" />',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 0zm89.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.255" />',viewBox:"0 0 512 512"},arrowDownIcon:{name:"arrow-down",content:'<path d="M128 224h96V96h64l.001 128H384L256.001 416z" />',viewBox:"0 0 512 512"},arrowLeftIcon:{name:"arrow-left",content:'<path d="M288 128v96h128v64l-128 .001V384L96 256.001z" />',viewBox:"0 0 512 512"},arrowOverflowDownIcon:{name:"arrow-overflow-down",content:'<path d="M384 160 256 352 128 160zM128 96v32h256V96z" />',viewBox:"0 0 512 512"},arrowRightIcon:{name:"arrow-right",content:'<path d="M224 384v-96H96v-64h128v-96l192 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-112" />',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.4" />',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 112" />',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.4" />',viewBox:"0 0 512 512"},arrowUpIcon:{name:"arrow-up",content:'<path d="M384 288h-96v128h-64l-.001-128H128L255.999 96z" />',viewBox:"0 0 512 512"},arrowsAxesIcon:{name:"arrows-axes",content:'<path d="M352 480v-64H128v64H96v-64H32v-32h64V160H32l80-128 80 128h-64v224h224v-64l128 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 64z" />',viewBox:"0 0 512 512"},arrowsNoChangeIcon:{name:"arrows-no-change",content:'<path d="M256 160 128 352 0 160zm96 0L224 352h256.001z" />',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.7m118.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.6z" />',viewBox:"0 0 512 512"},arrowsSwapIcon:{name:"arrows-swap",content:'<path d="M256 160h-64v224h-32V160H96l80-128zm96 192V128h-32v224h-64l80 128 80-128z" />',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-32M96 384H64V128h32zm96-32h-64V128h64zm64 0h-32V128h32zm64 0h-32V128h32zm64 0h-32V128h32zm64 32h-32V128h32z" />',viewBox:"0 0 512 512"},barcodeOutlineIcon:{name:"barcode-outline",content:'<path d="M96 384H64V128h32zm96-256h-64v224h64zm64 0h-32v224h32zm64 0h-32v224h32zm64 0h-32v224h32zm64 0h-32v256h32zm64-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 32m-32 0H32v320h448z" />',viewBox:"0 0 512 512"},barcodeQrCodeScannerIcon:{name:"barcode-qr-code-scanner",content:'<path d="M256 288h32v128h-32zm64 128h64V288h-64zm128 0V288h-32v128zM32 32h64V0H0v96h32zm0 352H0v96h96v-32H32zM416 0v32h64v64h32V0zm64 448h-64v32h96v-96h-32zm0-224H32v32h448zM288 64h-32v128h32zm96 0h-64v128h64zm64 0h-32v128h32zM64 64h96v96H64zm32 64h32V96H96zm128 32h-32v32h32zm0-96h-32v64h32zM64 320h96v96H64zm32 64h32v-32H96zm96 0v32h32v-64h-32zm0-64h32v-32h-32z" />',viewBox:"0 0 512 512"},barcodeScannerIcon:{name:"barcode-scanner",content:'<path d="M32 96H0V0h96v32H32zm0 288H0v96h96v-32H32zM416 0v32h64v64h32V0zm64 448h-64v32h96v-96h-32zm-192-32h32V288h-32zm32-352h-32v128h32zm-64 0h-32v128h32zM128 416h64V288h-64zm-64 0h32V288H64zM192 64h-64v128h64zm32 352h32V288h-32zM64 64v128h32V64zm384 0h-32v128h32zm0 352V288h-32v128zm-96 0h32V288h-32zm32-352h-32v128h32zm96 160H32v32h448z" />',viewBox:"0 0 512 512"},behanceBoxIcon:{name:"behance-box",content:'<path d="M167.543 228.938h-56.884v-56.479h50.939q16.803 0 27.663 3.988c8.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.357m220.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.629m-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.481M480 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 32m-176 96h112v-32H304zm-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.729m190.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.009" />',viewBox:"0 0 512 512"},behanceIcon:{name:"behance",content:'<path d="M448 128H304V96h144zM245.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.422m-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.609q-12.67-4.486-32.273-4.486h-59.43zm111.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.923M479.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.177m-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.691z" />',viewBox:"0 0 512 512"},bellIcon:{name:"bell",content:'<path d="M192 416h128c0 35.3-28.7 64-64 64s-64-28.7-64-64m160-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-160" />',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 32M208 64h16V32h-96v32zm160 0h16V32h-96v32zM48 448H32v32h160v-32zm272 32h160v-32H320z" />',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-32m-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.5zM196 216h60c11 0 20-9 20-20s-9-20-20-20h-60c-11 0-20 9-20 20s9 20 20 20m120 80H196c-11 0-20 9-20 20s9 20 20 20h120c11 0 20-9 20-20s-9-20-20-20" />',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-120zm-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-24m0 144h144c13.2 0 24 10.8 24 24s-10.8 24-24 24H184c-13.2 0-24-10.8-24-24s10.8-24 24-24" />',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 256" />',viewBox:"0 0 512 512"},boldIcon:{name:"bold",content:'<path d="M128 96h115.8c25.3 0 44.2 1.1 56.6 3.2s23.6 6.5 33.4 13.2q14.7 10.05 24.6 26.7c6.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.2H128zm64 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.1zm0 127.1V362h48.6c23.4 0 38.1-.7 44.5-2 9.6-1.8 17.5-6 23.6-12.8s9-15.9 9-27.3c0-9.6-2.3-17.9-7-24.6s-11.4-11.6-20.3-14.7c-8.8-3.1-28-4.6-57.5-4.6z" />',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.7zM128 64h224v288H128zm192 64H160V96h160zm0 128H160v-32h160zm-32-64H160v-32h128z" />',viewBox:"0 0 512 512"},borderBottomIcon:{name:"border-bottom",content:'<path d="M32 448v-32h416v32zm32-96H32v32h32zm0-32H32v-32h32zm0-64H32v-32h32zm0-64H32v-32h32zm0-64H32V96h32zm384 192h-32v-32h32zm0-64h-32v-32h32zm0-64h-32v-32h32zm0-64h-32V96h32zM128 256H96v-32h32zm64 0h-32v-32h32zm64 128h-32v-32h32zm0-64h-32v-32h32zm0-64h-32v-32h32zm0-64h-32v-32h32zm0-64h-32V96h32zm0-64h-32V32h32zM64 32H32v32h32zm64 32H96V32h32zm64 0h-32V32h32zm128-32h-32v32h32zm64 32h-32V32h32zm64 0h-32V32h32zM320 224h-32v32h32zm64 32h-32v-32h32zm64 128h-32v-32h32z" />',viewBox:"0 0 512 512"},borderColorIcon:{name:"border-color",content:'<path d="M480 384v96H168l95.9-96zm-80-182.14L121.86 480H32v-89.86L310.14 112zm-65.28-24.89-22.4-22.4L82.56 384.01l-5.44 5.44 22.72 22.72L128 384.01zm136.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.69z" />',viewBox:"0 0 512 512"},borderLeftIcon:{name:"border-left",content:'<path d="M32 32h32v416H32zm96 32V32H96v32zm32 0V32h32v32zm64 0V32h32v32zm64 0V32h32v32zm64 0V32h32v32zM160 448v-32h32v32zm64 0v-32h32v32zm64 0v-32h32v32zm64 0v-32h32v32zM224 128V96h32v32zm0 64v-32h32v32zM96 256v-32h32v32zm64 0v-32h32v32zm64 0v-32h32v32zm64 0v-32h32v32zm64 0v-32h32v32zm64 0v-32h32v32zm32-192V32h-32v32zm-32 64V96h32v32zm0 64v-32h32v32zm32 128v-32h-32v32zm-32 64v-32h32v32zm0 64v-32h32v32zM256 320v-32h-32v32zm-32 64v-32h32v32zM96 448v-32h32v32z" />',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 16" />',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-16" />',viewBox:"0 0 512 512"},borderRadiusIcon:{name:"border-radius",content:'<path d="M64 32h96v32H64v96H32V32zm384 416h-96v32h128V352h-32zM352 32v32h96v96h32V32zM64 352H32v128h128v-32H64z" />',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 16" />',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-16" />',viewBox:"0 0 512 512"},borderRightIcon:{name:"border-right",content:'<path d="M448 448h-32V32h32zM384 64V32h-32v32zm-96 0V32h32v32zm-64 0V32h32v32zm-64 0V32h32v32zm-64 0V32h32v32zm192 384v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm128-320V96h32v32zm0 64v-32h32v32zm128 64v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zM64 64V32H32v32zm-32 64V96h32v32zm0 64v-32h32v32zm32 128v-32H32v32zm-32 64v-32h32v32zm0 64v-32h32v32zm224-128v-32h-32v32zm-32 64v-32h32v32zm128 64v-32h32v32z" />',viewBox:"0 0 512 512"},borderStyleBottomIcon:{name:"border-style-bottom",content:'<path d="M96 480v-64h320v64zm1-416h320V32H97zM64 416V96H32v320zm416 0V96h-32v320z" />',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 96h64v320H32zm416 1v320h32V97zM96 64h320V32H96zm0 416h320v-32H96z" />',viewBox:"0 0 512 512"},borderStyleRightIcon:{name:"border-style-right",content:'<path d="M480 416h-64V96h64zm-416-1V95H32v320zm352 33H96v32h320zm0-416H96v32h320z" />',viewBox:"0 0 512 512"},borderStyleTopIcon:{name:"border-style-top",content:'<path d="M416 32v64H96V32zm-1 416H95v32h320zm33-352v320h32V96zM32 96v320h32V96z" />',viewBox:"0 0 512 512"},borderTopIcon:{name:"border-top",content:'<path d="M448 32v32H32V32zM64 96H32v32h32zm0 96H32v-32h32zm0 64H32v-32h32zm0 64H32v-32h32zm0 64H32v-32h32zm384-192h-32v-32h32zm0 64h-32v-32h32zm0 64h-32v-32h32zm0 64h-32v-32h32zM128 256H96v-32h32zm64 0h-32v-32h32zm64-128h-32V96h32zm0 64h-32v-32h32zm0 64h-32v-32h32zm0 64h-32v-32h32zm0 64h-32v-32h32zm0 64h-32v-32h32zM64 416H32v32h32zm64 32H96v-32h32zm64 0h-32v-32h32zm128-32h-32v32h32zm64 32h-32v-32h32zm64 0h-32v-32h32zM320 224h-32v32h32zm64 32h-32v-32h32zm64-128h-32V96h32z" />',viewBox:"0 0 512 512"},borderTypeIcon:{name:"border-type",content:'<path d="M479 96H33v64h446zM96 384c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32m128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32m128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32m128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32M224 224H32v64h192zm256 0H288v64h192z" />',viewBox:"0 0 512 512"},bordersAllIcon:{name:"borders-all",content:'<path d="M32 32v416h416V32zm32 32h160v160H64zm0 352V256h160v160zm352 0H256V256h160zm0-192H256V64h160z" />',viewBox:"0 0 512 512"},bordersInsideHorizontalIcon:{name:"borders-inside-horizontal",content:'<path d="M448 224v32H32v-32zM64 32H32v32h32zm0 96H32V96h32zm0 64H32v-32h32zm0 128H32v-32h32zm0 64H32v-32h32zm384-256h-32V96h32zm0 64h-32v-32h32zm0 128h-32v-32h32zm0 64h-32v-32h32zM128 64H96V32h32zm64 0h-32V32h32zm64 0h-32V32h32zm0 64h-32V96h32zm0 64h-32v-32h32zm0 128h-32v-32h32zm0 64h-32v-32h32zm0 64h-32v-32h32zM64 416H32v32h32zm64 32H96v-32h32zm64 0h-32v-32h32zm128-32h-32v32h32zm64 32h-32v-32h32zm64 0h-32v-32h32zM320 32h-32v32h32zm64 32h-32V32h32zm64 0h-32V32h32z" />',viewBox:"0 0 512 512"},bordersInsideIcon:{name:"borders-inside",content:'<path d="M64 64H32V32h32zm0 32H32v32h32zm0 64H32v32h32zm0 128H32v32h32zm0 64H32v32h32zM448 96h-32v32h32zm0 64h-32v32h32zm0 128h-32v32h32zm0 64h-32v32h32zM128 32H96v32h32zm64 0h-32v32h32zM64 416H32v32h32zm64 0H96v32h32zm64 0h-32v32h32zm128 0h-32v32h32zm64 0h-32v32h32zm64 0h-32v32h32zM320 32h-32v32h32zm64 0h-32v32h32zm64 0h-32v32h32zm0 192H256V32h-32v192H32v32h192v192h32V256h192z" />',viewBox:"0 0 512 512"},bordersInsideVerticalIcon:{name:"borders-inside-vertical",content:'<path d="M256 448h-32V32h32zM448 64V32h-32v32zm-96 0V32h32v32zm-64 0V32h32v32zm-128 0V32h32v32zm-64 0V32h32v32zm256 384v-32h32v32zm-64 0v-32h32v32zm-128 0v-32h32v32zm-64 0v-32h32v32zm320-320V96h32v32zm0 64v-32h32v32zm0 64v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-128 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zM64 64V32H32v32zm-32 64V96h32v32zm0 64v-32h32v32zm32 128v-32H32v32zm-32 64v-32h32v32zm0 64v-32h32v32zm416-128v-32h-32v32zm-32 64v-32h32v32zm0 64v-32h32v32z" />',viewBox:"0 0 512 512"},bordersNoneIcon:{name:"borders-none",content:'<path d="M384 64V32h-32v32zm-96 0V32h32v32zm-64 0V32h32v32zm-64 0V32h32v32zm-64 0V32h32v32zm192 384v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm128-320V96h32v32zm0 64v-32h32v32zm128 64v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zm-64 0v-32h32v32zM64 64V32H32v32zm-32 64V96h32v32zm0 64v-32h32v32zm32 128v-32H32v32zm-32 64v-32h32v32zm0 64v-32h32v32zm384-192v-32h32v32zm32-192V32h-32v32zm-32 64V96h32v32zm0 64v-32h32v32zm32 128v-32h-32v32zm-32 64v-32h32v32zm0 64v-32h32v32zM256 320v-32h-32v32zm-32 64v-32h32v32zm128 64v-32h32v32z" />',viewBox:"0 0 512 512"},bordersOutsideIcon:{name:"borders-outside",content:'<path d="M128 256H96v-32h32zm64-32h-32v32h32zm64 0h-32v32h32zm0-64h-32v32h32zm0-64h-32v32h32zm0 256h-32v32h32zm0-64h-32v32h32zm64-64h-32v32h32zm64 0h-32v32h32zm64-192v416H32V32zm-32 32H64v352h352z" />',viewBox:"0 0 512 512"},bordersShowHideIcon:{name:"borders-show-hide",content:'<path d="M64 448h128v32H32V32h448v128h-32V64H64zm384 0h-64v32h96v-96h-32zM160 288v-64H96v64zm64 0h64v-64h-64zm160-32v-32h-32v32zM288 96h-64v64h64zm0 384L160 352l45-45 83 83 147-147 45 45z" />',viewBox:"0 0 512 512"},boxSizingIcon:{name:"box-sizing",content:'<path d="M32 0H0v480h480V0zm416 448H32V32h416zm-96-320h-32V96h32zM96 192H64v-32h32zm0-64H64V96h32zm64 0h-32V96h32zm64 0h-32V96h32zm64 0h-32V96h32zM96 256H64v-32h32zm320-128h-32V96h32zm0 128h-32v-32h32zm0-64h-32v-32h32zM96 384H64v-32h32zm256 0h-32v-32h32zm-192 0h-32v-32h32zm64 0h-32v-32h32zm64 0h-32v-32h32zm128 0h-32v-32h32zM96 320H64v-32h32zm320 0h-32v-32h32z" />',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 0M256 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 32m135.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 0m-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.3zM128 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-32m263.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.3zM448 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-32m-96 32c0 53-43 96-96 96s-96-43-96-96 43-96 96-96 96 43 96 96m-32 0c0-35.3-28.7-64-64-64v128c35.3 0 64-28.7 64-64m-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-32" />',viewBox:"0 0 512 512"},bringBackwardIcon:{name:"bring-backward",content:'<path d="M192 192v256h256V192zm224 224H224V224h192zM320 64H64v256h96V160h160z" />',viewBox:"0 0 512 512"},bringForwardIcon:{name:"bring-forward",content:'<path d="M448 192v256H192V320H64V64h256v128zm-32 32h-96v96h-96v96h192z" />',viewBox:"0 0 512 512"},bringToBackIcon:{name:"bring-to-back",content:'<path d="M128 192h64V64H64v128zM96 96h64v64H96zm192 192h96V128H224v96h-96v160h160zm128 32h-96v128h128V320zm0 96h-64v-64h64z" />',viewBox:"0 0 512 512"},bringToFrontIcon:{name:"bring-to-front",content:'<path d="M96 128V96h96V64H64v128h32zm224 256h64V128H128v256zm96-64v96h-96v32h128V320z" />',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 77M470.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.1M448 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.1z" />',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 16v48h32v160zM96 320v-48c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v48H0v128h224V320zm384 0v-48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H288v128h224V320z" />',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.8zM480 299 185.8 185.8 299 480l22.6-113.1L434.7 480l45.3-45.3-113.1-113.1z" />',viewBox:"0 0 512 512"},calculatorIcon:{name:"calculator",content:'<path d="M64 64v384h384V64zm96 352H96v-64h64zm0-96H96v-64h64zm96 96h-64v-64h64zm0-96h-64v-64h64zm160 96h-96V256h96zm0-224H96V96h320z" />',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-32m0 416-383.9.1-.1-.1V192h384zm0-288H64V64.1l.1-.1H128v32h64V64h128v32h64V64h63.9l.1.1zM192 270.6S171.9 288 142 288v-32c29.9 0 58-32 58-32h24v192h-32zM384 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.2s11.3-8.9 16.4-12.7c5.5-3.9 10.3-7.7 14.4-11.3 4.2-3.6 7.6-7.2 10.4-10.7q4.2-5.25 6.3-10.8 2.1-5.4 2.1-11.7c0-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.2s-11.8 9.1-18 13.4c-4.2 3-8.3 5.9-12.2 8.9-3.9 2.9-7.4 5.8-10.4 8.7s-5.3 5.7-7.1 8.4c-1.9 2.7-2.7 7.8-2.7 10.3H384z" />',viewBox:"0 0 512 512"},calendarIcon:{name:"calendar",content:'<path d="M416 416H288V288h128zm64-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 32m-32 128H64v255.9l.1.1 383.9-.1zm0-127.9q-.15-.15 0 0l-64-.1v32h-64V64H192v32h-64V64H64.1l-.1.1V160h384z" />',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-32M256 416c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112m64-112c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64" />',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.4M256 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-96m224 96c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224m-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.1" />',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-224m0 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 416m133.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.2" />',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-224m0 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.4m146.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 124" />',viewBox:"0 0 512 512"},caretAltDownIcon:{name:"caret-alt-down",content:'<path d="M256 352 128 160h256z" />',viewBox:"0 0 512 512"},caretAltExpandIcon:{name:"caret-alt-expand",content:'<path d="M128 288h256L256 480zM256 32 128 224h256.001z" />',viewBox:"0 0 512 512"},caretAltLeftIcon:{name:"caret-alt-left",content:'<path d="m160 256 192-128v256z" />',viewBox:"0 0 512 512"},caretAltRightIcon:{name:"caret-alt-right",content:'<path d="M352 256 160 384V128z" />',viewBox:"0 0 512 512"},caretAltToBottomIcon:{name:"caret-alt-to-bottom",content:'<path d="M384 128 256 320 128 128zM128 352h256v-32H128z" />',viewBox:"0 0 512 512"},caretAltToLeftIcon:{name:"caret-alt-to-left",content:'<path d="M352 384 160 256l192-128zM128 128v256h32V128z" />',viewBox:"0 0 512 512"},caretAltToRightIcon:{name:"caret-alt-to-right",content:'<path d="m128 128 192 128-192 128zm224 256V128h-32v256z" />',viewBox:"0 0 512 512"},caretAltToTopIcon:{name:"caret-alt-to-top",content:'<path d="m128 352 128-192 128 192zm256-224H128v32h256z" />',viewBox:"0 0 512 512"},caretAltUpIcon:{name:"caret-alt-up",content:'<path d="m256 160 128 192H128z" />',viewBox:"0 0 512 512"},caretBlIcon:{name:"caret-bl",content:'<path d="M160 352V160l192 192z" />',viewBox:"0 0 512 512"},caretBrIcon:{name:"caret-br",content:'<path d="M352 352H160l192-192z" />',viewBox:"0 0 512 512"},caretDoubleAltDownIcon:{name:"caret-double-alt-down",content:'<path d="M384 64 256 256 128 64zM256 448l128-192-128 1H128z" />',viewBox:"0 0 512 512"},caretDoubleAltLeftIcon:{name:"caret-double-alt-left",content:'<path d="M448 384 256 256.001l192-128zM64 256.001 256 384V128z" />',viewBox:"0 0 512 512"},caretDoubleAltRightIcon:{name:"caret-double-alt-right",content:'<path d="m64 128 192 128L64 384zm384 128L256 128v256z" />',viewBox:"0 0 512 512"},caretDoubleAltUpIcon:{name:"caret-double-alt-up",content:'<path d="m128 448 128-192 128 192zM256 64 128 256h256z" />',viewBox:"0 0 512 512"},caretTlIcon:{name:"caret-tl",content:'<path d="M160 160h192L160 352z" />',viewBox:"0 0 512 512"},caretTrIcon:{name:"caret-tr",content:'<path d="M352 160v192L160 160z" />',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 48m144-48c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48M128 96V64H32v32h64v192h288v-32H128zm32 128h256v-32H160zm0-96v32h288v-32z" />',viewBox:"0 0 512 512"},categorizeIcon:{name:"categorize",content:'<path d="M32 32v192l160-96zm0 448V288l160 96zM192 64h288v32H192zm0 96h288v32H192zm0 160h288v32H192zm0 96h288v32H192z" />',viewBox:"0 0 512 512"},cellSplitHorizontallyIcon:{name:"cell-split-horizontally",content:'<path d="M32 32v416h416V32zm32 32h160v64H64zm160 160h-64v-64h64zM64 160h64v64H64zm0 96h160v64H64zm0 160v-64h160v64zm192-256h64v64h-64zm160 256H256v-64h160zm0-96H256v-64h160zm0-96h-64v-64h64zm0-96H256V64h160z" />',viewBox:"0 0 512 512"},cellSplitVerticallyIcon:{name:"cell-split-vertically",content:'<path d="M32 448h416V32H32zm32-32V256h64v160zm160-160v64h-64v-64zm-64 160v-64h64v64zm96 0V256h64v160zm160 0h-64V256h64zM160 224v-64h64v64zM416 64v160h-64V64zm-96 0v160h-64V64zm-96 0v64h-64V64zm-96 0v160H64V64z" />',viewBox:"0 0 512 512"},cellsMergeHorizontallyIcon:{name:"cells-merge-horizontally",content:'<path d="M32 32v416h416V32zm160 32h96v96h-96zM64 64h96v96H64zm96 352H64v-96h96zm128 0h-96v-96h96zm128 0h-96v-96h96zm0-128H64v-96h352zm0-128h-96V64h96z" />',viewBox:"0 0 512 512"},cellsMergeIcon:{name:"cells-merge",content:'<path d="M32 32v448h416V32zm160 32h96v64h-96zM64 64h96v64H64zm96 384H64v-64h96zm128 0h-96v-64h96zm128 0h-96v-64h96zm0-96H64V160h352zm0-224h-96V64h96z" />',viewBox:"0 0 512 512"},cellsMergeVerticallyIcon:{name:"cells-merge-vertically",content:'<path d="M32 448h416V32H32zm32-160v-96h96v96zm0 128v-96h96v96zm352-96v96h-96v-96zm0-128v96h-96v-96zm0-128v96h-96V64zm-128 0v352h-96V64zm-128 0v96H64V64z" />',viewBox:"0 0 512 512"},changeManuallyIcon:{name:"change-manually",content:'<path d="m416 353 32-32v159H32V32h416v64h-32V64H64v384h352zm-192-3.7V416h66.7l169.7-168.5-67.9-67.9zm55.3 34-22.6-22.6 135.8-135.8 22.6 22.6zM502.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.3M191.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.6V416zM167 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.7s8.1 5 13.9 5c7.9 0 14.4-3 19.5-8.9 5.2-5.9 7.7-13.4 7.7-22.4z" />',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.8V32H32v448h448V96zM320 160l66.7 66.7L320 320l-71.1-71.1zM64 192l69.8 69.8L64 345.6z" />',viewBox:"0 0 512 512"},chartAreaRangeIcon:{name:"chart-area-range",content:'<path d="M64 416v32h416v32H32V32h32v224l128-128 128 64L480 32v192L320 384l-127-64z" />',viewBox:"0 0 512 512"},chartAreaStacked100Icon:{name:"chart-area-stacked100",content:'<path d="M32 32v448h448V32zm416 108.8L320 320 192 192 64 345.6V64h384z" />',viewBox:"0 0 512 512"},chartAreaStackedIcon:{name:"chart-area-stacked",content:'<path d="m320 165.3-128-64-128 128V32H32v448h448V32zm128 7.5L320 352 192 224 64 377.6v-103l134.3-134.3 126.1 63 123.6-103z" />',viewBox:"0 0 512 512"},chartBarClusteredIcon:{name:"chart-bar-clustered",content:'<path d="M64 448v-64h160V224H64v-32h352V32H32v448h448v-32zm128-192v96H64v-96z" />',viewBox:"0 0 512 512"},chartBarRangeIcon:{name:"chart-bar-range",content:'<path d="M480 448v32H32V32h32v416zm-96-192H160v96h224zm32-32v160H128V224zm64-192H256v160h224z" />',viewBox:"0 0 512 512"},chartBarStacked100Icon:{name:"chart-bar-stacked100",content:'<path d="M480 192V32H32v448h448v-32H64v-64h416V224H64v-32zm-160 64v96H64v-96zM64 64h160v96H64z" />',viewBox:"0 0 512 512"},chartBarStackedIcon:{name:"chart-bar-stacked",content:'<path d="M64 448v-64h352V224H64v-32h256V32H32v448h448v-32zm0-384h96v96H64zm192 192v96H64v-96z" />',viewBox:"0 0 512 512"},chartBubbleIcon:{name:"chart-bubble",content:'<path d="M480 448v32H32V32h32v416zM192 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-96m224 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-64M368 96c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80M176 64c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48" />',viewBox:"0 0 512 512"},chartCandlestickIcon:{name:"chart-candlestick",content:'<path d="M480 448v32H32V32h32v416zm-192-96h-64v64h-32v-64h-64V96h64V32h32v64h64zm-32-224h-96v192h96zm224 64h-64V64h-32v128h-64v128h64v64h32v-64h64z" />',viewBox:"0 0 512 512"},chartChoroplethIcon:{name:"chart-choropleth",content:'<path d="M448 64v384H64V64zm32-32H32v448h448zm-96 256v13.3l-64 64v37.5l13.3 13.3H416V264.6zm-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 32zm0 86-32 10-32 32 32 32v32l-32 32h128v-64l50.4-50.4zm-29.4-37.8 16.2-16.2h-32l-64-64 64-64H96v167.5zM114.8 320l37.6-37.6L96 296.5V416h32v-13.3l32-32v-5.5z" />',viewBox:"0 0 512 512"},chartColumnClusteredIcon:{name:"chart-column-clustered",content:'<path d="M320 96v352h-32V288H128v160H64V32H32v448h448V96zm-64 352h-96V320h96z" />',viewBox:"0 0 512 512"},chartColumnRangeIcon:{name:"chart-column-range",content:'<path d="M480 448v32H32V32h32v416zM256 128h-96v224h96zm32-32v288H128V96zm192-64H320v224h160z" />',viewBox:"0 0 512 512"},chartColumnStacked100Icon:{name:"chart-column-stacked100",content:'<path d="M320 32v416h-32V32H128v416H64V32H32v448h448V32zM160 448V192h96v256zm192 0V288h96v160z" />',viewBox:"0 0 512 512"},chartColumnStackedIcon:{name:"chart-column-stacked",content:'<path d="M320 192v256h-32V96H128v352H64V32H32v448h448V192zM160 448V256h96v192zm192 0v-96h96v96z" />',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.4-5.4-4.7-8.1-7c-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.7M320 256c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64m71.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.2m-39.8-133v.8zm0 2.8v.9zm-.4 2.9-.1.7zm-.6 3.2v.2zm-1 5.9v.1zm0 2.8v.2z" />',viewBox:"0 0 512 512"},chartLineIcon:{name:"chart-line",content:'<path d="M64 448h416v32H32V32h32zm152.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.4zm63-50.4 60.1 75.2 64.3-77.1-42.7-63.5z" />',viewBox:"0 0 512 512"},chartLineMarkersIcon:{name:"chart-line-markers",content:'<path d="M480 448v32H0V32h32v416zm0-96c.1 17.7-14.2 32-31.9 32.1s-32-14.2-32.1-31.9c0-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.7s20.5 28.4 11.7 43.7-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.7s33.5 10.3 35.7 27.8q.45 3.9 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.7m-48-192c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16m-128 0c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16M176 96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16m-96 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m0 160c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128 32c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16" />',viewBox:"0 0 512 512"},chartLineStacked100Icon:{name:"chart-line-stacked100",content:'<path d="M480 448v32H32V32h32v416zM224 228l128 64 128-96v-36l-128 96-128-64-128 96v36zM480 32H96v32h384z" />',viewBox:"0 0 512 512"},chartLineStacked100MarkersIcon:{name:"chart-line-stacked100-markers",content:'<path d="M480 448v32H0V32h32v416zm0-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.5s-34.4-6.6-38.5-23.8c-.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.5s34.4 6.6 38.5 23.8c.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.6s34.5 6.5 38.6 23.7c.6 2.5.9 5.1.9 7.6M80 384c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m16-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.7M80 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16" />',viewBox:"0 0 512 512"},chartLineStackedIcon:{name:"chart-line-stacked",content:'<path d="M480 448v32H32V32h32v416zM224 292l128 64 128-96v-36l-128 96-128-64-128 96v36zm0-160 128 92 128-60v-36l-128 60-128-92-128 64v36z" />',viewBox:"0 0 512 512"},chartLineStackedMarkersIcon:{name:"chart-line-stacked-markers",content:'<path d="M480 448v32H0V32h32v416zm0-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 32M80 160c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128-64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128-64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m16 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.5s-34.4-6.6-38.5-23.8c-.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.5s34.4 6.6 38.5 23.8c.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.6s34.5 6.5 38.6 23.7c.6 2.5.9 5.1.9 7.6M80 384c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16" />',viewBox:"0 0 512 512"},chartOhlcIcon:{name:"chart-ohlc",content:'<path d="M480 448v32H32V32h32v416zM224 320V96h-32v32h-64v32h64v256h32v-64h64v-32zM416 96V32h-32v160h-64v32h64v96h32V128h64V96z" />',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.4-5.4-4.7-8.1-7c-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.7m-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.2" />',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 23z" />',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 80zm-32 202.2-119-28.9L240 116zm32 0v-109l88.4 88.4zm-95.9 112.5-59.8-109.6 118.5 28.8zm172 17.3-71-97.7 101.3-23.6zm-30.6 12-110.6-17 49.1-67.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.1zm-111.4 25.9L272 234.2V125.1zM256 80c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m-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.1zM96 232c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16m80 152c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16m7.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 28zm23.6 22 49.1-67.6 61.5 84.6zM352 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16m-3.9-52.3L277 265.9l97.4-22.6c.9 1.2 1.9 2.4 3 3.5zM400 240c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16" />',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.3zm-82.1-109.5L240 222V96.8c-36.2 3.6-70.1 19.6-96.1 45.1m231.5 160.2L279 278l27.3 95.7c31.8-13.6 56.7-39.4 69.1-71.6M96 353.4c37.3 69.1 115 106.1 192.2 91.4L244 290zM272 32v211.4l204.6 51.1c2.3-12.9 3.4-26 3.4-39.1C480 137.1 388.2 40.2 272 32" />',viewBox:"0 0 512 512"},chartScatterIcon:{name:"chart-scatter",content:'<path d="M480 448v32H32V32h32v416zM160 96c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32m-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m112 192c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32m-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m112-128c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32m-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m112 192c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32m-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16" />',viewBox:"0 0 512 512"},chartScatterSmoothLinesIcon:{name:"chart-scatter-smooth-lines",content:'<path d="M480 448v32H32V32h32v416zm-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.5" />',viewBox:"0 0 512 512"},chartScatterSmoothLinesMarkersIcon:{name:"chart-scatter-smooth-lines-markers",content:'<path d="M480 448v32H32V32h32v416zm0-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.1q-6 .3-11.4.3c-9.6.1-19.3-.7-28.8-2.5-14.1 10.6-34.2 7.7-44.8-6.4s-7.7-34.2 6.4-44.8 34.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.8m-272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m-64 224c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m192-96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16M464 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16" />',viewBox:"0 0 512 512"},chartScatterStraightLinesIcon:{name:"chart-scatter-straight-lines",content:'<path d="M480 448v32H32V32h32v416zm-98.5-156.9-158.8-127L448 64V32L161.3 156l161.2 128.9L128 384v32z" />',viewBox:"0 0 512 512"},chartScatterStraightLinesMarkersIcon:{name:"chart-scatter-straight-lines-markers",content:'<path d="M480 448v32H32V32h32v416zm0-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 64m-272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m-64 224c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16m192-96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16M464 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16" />',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 32m-32 352L96 256l45-45 83 83 147-147 45 45z" />',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.5z" />',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 32m0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192m-32-154-83-83-45 45 128 128 176-176-45-45z" />',viewBox:"0 0 512 512"},checkboxCheckedIcon:{name:"checkbox-checked",content:'<path d="M64 64v384h384V64zm352 352H96V96h320zm-77.3-269.3L384 192 224 352l-96-96 45.3-45.3 50.7 50.7z" />',viewBox:"0 0 512 512"},checkboxIcon:{name:"checkbox",content:'<path d="M64 64v384h384V64zm352 352H96V96h320z" />',viewBox:"0 0 512 512"},checkboxIndeterminateIcon:{name:"checkbox-indeterminate",content:'<path d="M128 128h256v256H128zM64 64v384h384V64zm352 352H96V96h320z" />',viewBox:"0 0 512 512"},checkboxNullIcon:{name:"checkbox-null",content:'<path d="M192 64h128v32H192zm224 0h-64v32h64v64h32V64zm0 256h32V192h-32zm0 96h-64v32h96v-96h-32zm-224 32h128v-32H192zm-96-96H64v96h96v-32H96zm0-160H64v128h32zM64 64v96h32V96h64V64z" />',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-160zm0-128L256 222.1 129.9 96 96 129.9l160 160 160-160z" />',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 160zm128 0L290.9 257 417 130.9 383 97 223 257l160 160z" />',viewBox:"0 0 512 512"},chevronDoubleRightIcon:{name:"chevron-double-right",content:'<path d="M223 130.9 349.1 257 223 383l34 34 160-160L257 97zm-128 0L221.1 257 95 383l34 34 160-160L129 97z" />',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 256zm0 128 126.1-126L382.1 418l33.9-34-160-160L96 384z" />',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 192z" />',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 416z" />',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 96z" />',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 320z" />',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 128" />',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.255zm-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.953" />',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.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 32m-224 0h64c0-17.7-14.3-32-32-32s-32 14.3-32 32m192 0h-64v64H160V64H96v384h320zM297.4 246.6l57.4 57.4-57.4 57.4L320 384l80-80-80-80z" />',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.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 32m-224 0h64c0-17.7-14.3-32-32-32s-32 14.3-32 32m192 0h-64v64H160V64H96v384h320zM271.2 183.9 209.8 416l30.9 8.3L302.2 192zm26.2 62.7 57.4 57.4-57.4 57.4L320 384l80-80-80-80z" />',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-32m-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32m160 416H96V64h64v64h192V64h64z" />',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.2zm126 64h32l-48 64-48-64h32l.2-64H352zm64-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-32m-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32m160 416H96V64h64v64h192V64h64z" />',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-32m-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32m160 416H96V64h64v64h192V64h64zm-32-224H128v-32h256zm0 64H128v-32h256zm0 64H128v-32h256zm0 64H128v-32h256z" />',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.3zM416 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-32m-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32m160 416H96V64h64v64h192V64h64z" />',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.3zM416 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-32m-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32m160 416H96V64h64v64h192V64h64zm-32-32H128v-32h256z" />',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 32m-32 96v160h160v-32H256V128z" />',viewBox:"0 0 512 512"},clockIcon:{name:"clock",content:'<path d="M256 128h-32v160h160v-32H256zm0-96C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32m0 416c-105.9 0-192-86.1-192-192S150.1 64 256 64s192 86.1 192 192-86.1 192-192 192" />',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-32M240 205c-6.1-4.5-13.5-7.8-21.9-10.1-8.5-2.3-17.1-3.5-25.8-3.5q-27 0-42.6 17.4c-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.8zm208 0c-6.1-4.5-13.5-7.8-21.9-10.1-8.5-2.3-17.1-3.5-25.8-3.5q-27 0-42.6 17.4c-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.8z" />',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.4" />',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 128zM150.6 361.4 45.3 256l105.4-105.4L128 128 0 256l128 128zM321.1 72.3 290.2 64l-99.4 375.7 30.9 8.3z" />',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-32V32zm0 256v128H64V64h352zM32 0v32H0V0zM0 448h32v32H0zm198.6-265.4L141.3 240l57.4 57.4L176 320l-80-80 80-80zM304 160l80 80-80 80-22.6-22.6 57.4-57.4-57.4-57.4zM480 32h-32V0h32zm-32 448v-32h32v32z" />',viewBox:"0 0 512 512"},colResizeIcon:{name:"col-resize",content:'<path d="M128 255h64v33h-64v64.6L0 271.9l128-80.7zm96 225h64V32h-64zm288-207.9-128-80.7V256h-64v33h64v63.9z" />',viewBox:"0 0 512 512"},columnFreezeIcon:{name:"column-freeze",content:'<path d="M32 32v416h416V32zm128 32v64L96 64zM64 96l96 96v64l-96-96zm0 128 96 96v64l-96-96zm0 192v-64l64 64zm224 0h-96v-96h96zm0-128h-96v-96h96zm-96-128V64h96v96zm224 256h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V64h96z" />',viewBox:"0 0 512 512"},columnsIcon:{name:"columns",content:'<path d="M64 32h96v448H64zm128 448h96V32h-96zM320 32v448h96V32z" />',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-32m0 319.942a1 1 0 0 1-.058.058H114.745L64 402.745V64.057a1 1 0 0 1 .057-.057h383.885q.031.027.058.057z" />',viewBox:"0 0 512 512"},commentRemoveIcon:{name:"comment-remove",content:'<path d="M114.745 352 64 402.745V64.057a1 1 0 0 1 .057-.057h383.885q.031.027.058.057V256h32V64c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v416l96-96h128v-32zM480 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 400z" />',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.1h32zM377.4 400l22.6 22.6-57.4 57.4-22.6-22.6zm0 0L320 342.6l22.6-22.6 57.4 57.4zm45.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.6zm-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-32z" />',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 48" />',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.8v135zM436 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.6zM240 416h48L184 96h-48L32 416h48l26-80h108zM121.6 288 160 169.8 198.4 288z" />',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.8v135zM157 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.6zM432 416h48L376 96h-48L224 416h48l26-80h108zM313.6 288 352 169.8 390.4 288z" />',viewBox:"0 0 512 512"},copyFormatIcon:{name:"copy-format",content:'<path d="M96 480h160v32H64v-64H0V288h32v128h32v-64h32zm32-32h96v-32h-96zm0-96v32h32v-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.4M502.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.2" />',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-32V192zm64 352H192V128h160v96h96zM64 384h64v32H64c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h192l32 32H64z" />',viewBox:"0 0 512 512"},cropIcon:{name:"crop",content:'<path d="M0 96h64v64H0zm448 256v64h64v-64zm-32-224c0-17.6-14.4-32-32-32H192v64h160v320h64zM96 384c0 17.6 14.4 32 32 32h192v-64H160V32H96z" />',viewBox:"0 0 512 512"},crosstabIcon:{name:"crosstab",content:'<path d="M192.3 32H32v160h1v288h447V32zm-.3 416H96v-96h96zm0-128H96v-96h96zm0-128H96V96h96zm128 256h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V96h96zm128 256h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V96h96z" />',viewBox:"0 0 512 512"},crosstabWizardIcon:{name:"crosstab-wizard",content:'<path d="M192 416V192h224v96l32 32V0H0v160h1v288h318.7l-31.9-32zM320 64h96v96h-96zm-128 0h96v96h-96zm-32 352H64v-96h96zm0-128H64v-96h96zm0-128H64V64h96zm344.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 31M221.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 11z" />',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.8m158.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-50zm26.9 108H395l-10.3 43h-43.3z" />',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-32zm157.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.9m96 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.9m96 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.9M64 160h384v288H64zm119.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.4q25.95 0 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.8m114.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-39zm16.8 68h26.8l-6.3 27h-26.7z" />',viewBox:"0 0 512 512"},css3Icon:{name:"css3",content:'<path d="m64 32 30.2 384L256 480l161.8-64L448 32zm65.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.7z" />',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-.1zm128-.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.9z" />',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.9zm94.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.7q28.8-18.6 64.8-18.6c11.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.7q-10.2 8.1-21 15.6c-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.3M341 341.2v-41.7s32.1 15.8 51.5 15.8c12.2 0 21.8-2.6 28.6-7.9s10.2-12.5 10.2-21.9c0-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.1q0-26.4-32.7-26.4c-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.2S421.9 352 395.7 352c-22.3.1-40.6-3.5-54.7-10.8" />',viewBox:"0 0 512 512"},customIconIcon:{name:"custom-icon",content:'<path d="M352 249H196.6q.9 35.7 19.8 55.2c18.9 19.5 30 18.8 52 19.4 4.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.1zm-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.3zM448 384V64c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h256zm-32-32h-96v96H96V64h320z" />',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.3zM160 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.7m237.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.3M240 256c0-8.8 7.2-16 16-16s16 7.2 16 16-7.2 16-16 16-16-7.2-16-16m-74.5-45.3L32 77.3V32h45.3l133.5 133.5z" />',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.6m0 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-.3zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7zM271 420.8c-7.7 4.5-16.4 6.8-25.4 6.7q-14.55 0-23.1-9c-8.55-9-8.6-14.1-8.6-24.3 0-10.6 3-19 9.1-25.2s14-9.3 23.9-9.3c8.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.7S189 379.1 189 395.9c0 15.8 4.6 28.4 13.8 37.9s21.9 14.2 38 14.2c12.3 0 22.3-1.9 30-5.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.9q-5.7-2.1-11.7-3c-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.5q4.8 1.95 9 3.9c2.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.5m147.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-105zm-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.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.6m0 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-.5zm0 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-.5z" />',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.6m0 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-.3zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7zm-251.3 21.1h-23.6v62.4q0 24-16.2 24c-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.3zm31.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.4s4.3 1.4 6.4 2.3c2 .9 3.9 2 5.8 3.2v-21.9q-5.7-2.1-11.7-3c-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.5q4.8 1.95 9 3.9c2.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.4m157.3-13.7q14.4-15.15 14.4-39.9c0-16.1-4.6-29-13.9-38.8s-21.4-14.7-36.4-14.7c-15.9 0-28.6 5.1-38.2 15.4s-14.4 23.7-14.4 40.3c0 15.7 4.7 28.5 14.2 38.3s21.7 14.7 36.8 14.7q23.1-.15 37.5-15.3m-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.1M480 341.1h-22.3v58.1q-.15 7.2.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 66H480zM96 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.6z" />',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.61m-.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.96m1-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.8 44.8 0 0 0 13.66 7.91 43.9 43.9 0 0 0 14.89 2.64 33 33 0 0 0 7.7-.8 18 18 0 0 0 5.49-2.2 9.7 9.7 0 0 0 3.29-3.33 8.3 8.3 0 0 0 1.08-4.15 9 9 0 0 0-1.73-5.42 18.8 18.8 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.7 27.7 0 0 1 8.85-9.58 39.9 39.9 0 0 1 13-5.53 66.6 66.6 0 0 1 15.61-1.77 94 94 0 0 1 14.34 1 56.4 56.4 0 0 1 11.53 3v21.6a36 36 0 0 0-5.68-3.18 45 45 0 0 0-6.32-2.27 49 49 0 0 0-6.47-1.34 45.5 45.5 0 0 0-6.1-.43 31.7 31.7 0 0 0-7.23.76 18.2 18.2 0 0 0-5.49 2.13 10.5 10.5 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.9 15.9 0 0 0 3.91 3.9 41 41 0 0 0 6.14 3.61q3.61 1.77 8.16 3.65a91.6 91.6 0 0 1 11.17 5.53 39.9 39.9 0 0 1 8.49 6.61 25.8 25.8 0 0 1 5.42 8.42 29.8 29.8 0 0 1 1.88 11q0 8.67-3.29 14.56a26.7 26.7 0 0 1-8.92 9.54 38.6 38.6 0 0 1-13.12 5.24 76 76 0 0 1-15.79 1.59 88 88 0 0 1-16.22-1.44 49.2 49.2 0 0 1-13.31-4.34Z" />',viewBox:"0 0 512 512"},dataRestIcon:{name:"data-rest",content:'<path d="M32 268v.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.59m192.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.29M32 140.32s0 .01 0 0V140zm384 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.13M327 320h89l-.07-52v.32c-.34 21.73-35.73 40.8-88.93 51.68m-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.14s-2.34-2.03-3.59-2.64-2.6-.92-4.06-.92h-6.37v40.21H128V342.95h37.5c25.49 0 38.23 9.52 38.23 28.56q0 5.49-1.68 10.14c-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.38s2.88 2.38 4.25 3.85c1.37 1.46 2.67 3.04 3.92 4.72 1.23 1.69 2.37 3.34 3.39 4.95m-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.06m70.75 30.32h34.35v-19.19h-34.35v-23.36h36.91v-19.26h-60.57v105.03h62.99V428.8h-39.33zm115.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.7s-4.52-2.42-6.23-3.66q-2.565-1.86-3.96-3.96c-.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.16s4.64-.77 7.32-.77c1.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.04s-9.07-.99-14.54-.99c-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.7q-3.3 5.895-3.3 14.1c0 6.98 2.01 12.94 6.04 17.87s10.14 9.11 18.35 12.52c3.22 1.32 6.23 2.61 9.01 3.88s5.19 2.59 7.21 3.96q3.045 2.055 4.8 4.47c1.755 2.415 1.76 3.44 1.76 5.49 0 1.51-.37 2.92-1.1 4.21s-1.84 2.42-3.33 3.37-3.34 1.7-5.57 2.23q-3.33.81-7.8.81-7.62 0-15.09-2.67c-7.47-2.67-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.61s9.49-2.84 13.29-5.31 6.82-5.69 9.05-9.67q3.33-5.97 3.33-14.76c0-4.25-.63-7.97-1.9-11.17a26.1 26.1 0 0 0-5.48-8.52m14.94-55.81v19.26h29.81v85.77h23.73v-85.77h29.96v-19.26z" />',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.3m-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.49zm-.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.79m320 37.69 105 70-105 70v-52.5H189v-35h163z" />',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.6m0 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-.3zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7zM209.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.4s4.3 1.4 6.4 2.3c2 .9 3.9 2 5.8 3.2v-21.9q-5.7-2.1-11.7-3c-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.5q4.8 1.95 9 3.9c2.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.5m172.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.8q4.95 5.25 10.8 9.6c3.6 2.6 7.4 4.8 11.6 6.4s8.7 2.4 13.2 2.3c3.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.1q-3.75-1.65-6.9-4.2c-2.6-2-5-4.3-7.3-6.7 9.9-3.4 18.2-10.1 23.7-18.9m-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.7s2.4-18.6 7.3-24.7c4.9-6.2 11.5-9.4 19.8-9.4 8.3.1 14.6 3.1 19.2 9.3m121.4 58h-38.9v-85.8h-23.7v105H480zm-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.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.6m0 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-.3zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7zm-151.1 23-14.5 70.1q-1.2 5.85-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.6v105h63zm66.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.2s-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.9zm4.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.4s-7.4 3.8-12.9 3.8h-12.8v-27.7zM96 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.6z" />',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-64m32 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.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-64m32 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.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-64m32 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.7zM128 224H96v-32h32zm128 192h32v32h-32zM64 256l128 96-128 96z" />',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-64m32 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.6zM384 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-64m32 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.7zM224 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-64m32 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.6zM96 416h32v32H96zm160-224h32v32h-32zM192 32v192L64 128z" />',viewBox:"0 0 512 512"},decreaseHorizontalSpacingIcon:{name:"decrease-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96zM111.6 352 89 374.6l57.4 57.4L89 489.4l22.6 22.6 80-80zM288 432l80 80 22.6-22.6-57.3-57.4 57.4-57.4L368 352z" />',viewBox:"0 0 512 512"},decreaseVerticalSpacingIcon:{name:"decrease-vertical-spacing",content:'<path d="M191 320v96h96v64H63v-64h96v-96H-1v-96h160v-96H95V32h160v96h-64v96h160v96zm160 105.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-80-80zm80-226.8 80-80L488.4 96 431 153.4 373.6 96 351 118.6z" />',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-32m-224-32V256H96V96h160v160h160v160z" />',viewBox:"0 0 512 512"},deliciousIcon:{name:"delicious",content:'<path d="M256 32h224v224H256zM32 256h224v224H32z" />',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-32zm320 416H96V64h320zm-33-224h-63v-32h63zm-96-32h-63v32h63zm-96 0h-63v32h63zm192 96h-63v32h63zm-96 0h-63v32h63zm-96 0h-63v32h63z" />',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-32M160 203.5V352H64V192h64v-64h32zM212 352h-32V192h32zm0-192h-32v-32h32zm119 153.7V416h-96v-32h64v-32h-64V192h96zm117 0V416h-96v-32h64v-32h-64V192h96zM96 224h32v96H96zm171 0h32v96h-32zm117 0h32v96h-32z" />',viewBox:"0 0 512 512"},diggIcon:{name:"digg",content:'<path d="M96 96v64H32v160h96V96zm64 0v32h32V96zm0 64v160h32V160zm64 0v160h64v32h-64v32h96V160zm128 0v160h64v32h-64v32h96V160zM64 192h32v96H64zm192 0h32v96h-32zm128 0h32v96h-32z" />',viewBox:"0 0 512 512"},dimensionsIcon:{name:"dimensions",content:'<path d="M320 0H0v512h128V128h384V0zM32 32h64v64H32zm64 352H64v32h32v64H32V320h64zm0-192H64v32h32v64H32V128h64zm128-96V64h-32v32h-64V32h160v64zm256 0h-64V64h-32v32h-64V32h160z" />',viewBox:"0 0 512 512"},displayBlockIcon:{name:"display-block",content:'<path d="M32 32h448v32H32zm0 416h448v32H32zm0-64h448V128H32zm64-192h320v128H96z" />',viewBox:"0 0 512 512"},displayFlexIcon:{name:"display-flex",content:'<path d="M32 32v448h448V32zm416 416H64V64h384zM128 128h96v256h-96zm160 0h96v256h-96z" />',viewBox:"0 0 512 512"},displayInlineBlockIcon:{name:"display-inline-block",content:'<path d="M448 32h32v448h-32zM32 32h32v448H32zm64 352h320V128H96zm64-192h192v128H160z" />',viewBox:"0 0 512 512"},displayInlineFlexIcon:{name:"display-inline-flex",content:'<path d="M96 416h320V96H96zm32-288h256v256H128zm32 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 38s13.6 38.2 13.6 61.5c0 31.2-8.1 57.2-24.2 78.1-18.1 23.3-45.6 35-82.6 35zm54-16.2c11.9 3.1 21.9 4.6 29.9 4.6 21.7 0 39.8-9 54.1-26.9s21.5-42.3 21.5-73c0-30.9-7.2-55.3-21.5-73.2-14.3-17.8-32.8-26.8-55.2-26.8q-12.6 0-28.8 4.8zM298 410v6h-83v-6h6.7c7.8 0 13.5-2.7 17-8.1q3.3-5.25 3.3-25.5V231.6q0-17.1-1.8-22.5c-.9-2.8-2.8-5.1-5.7-7.1-4.1-2.6-8.4-4-12.8-4H215v-6h83v6h-7q-11.85 0-17.4 8.1-3.6 5.25-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-26q0-4.65-3.9-9c-2.6-2.9-6.9-4.9-13.1-6.1-.4-.1-1.2-.3-2.3-.5v-6h56zm0-96H0v32h512z" />',viewBox:"0 0 512 512"},divideIcon:{name:"divide",content:'<path d="M416 64 192 448h-64L352 64z" />',viewBox:"0 0 512 512"},documentManagerIcon:{name:"document-manager",content:'<path d="M64 416h224v32H64zm224-64H64v32h224zM400 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-96M106.7 288 96 320H64l64-192h32l64 192h-32l-10.7-32zm10.6-32h53.3L144 176zM320 480H32V96h224V64H32C14.3 64 0 78.3 0 96v384c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V352h-32z" />',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.7q7.65 8.7 11.4 20.7c2.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.5s-13.2 15.6-17.2 25.4c-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.7q-4.05-.6-8.1-1.5c-7.9-1.8-15.2-5.1-21.7-9.8s-11.8-11-15.8-19-6-18-6-30H128c0 16.2 2.6 30 7.9 41.6s12.4 21.2 21.3 28.6c8.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.3q17.25-6.45 29.4-17.1c8.1-7.1 14.3-15.6 18.6-25.4s6.5-20.9 6.5-33.2c0-12.5-2.2-23.5-6.5-33-4.3-9.4-10.6-17.8-18.9-25m-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-.9m81 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.1q3.6 8.1 3.6 17.7c0 7.7-1.5 14.7-4.6 20.8" />',viewBox:"0 0 512 512"},downloadIcon:{name:"download",content:'<path d="M32 384v96h448v-96zM288 32h-64v128h-96l128 160 128-160h-96z" />',viewBox:"0 0 512 512"},downloadLightIcon:{name:"download-light",content:'<path d="M368 256 256 384 144 256h96V32h32v224zm112 192H32v32h448z" />',viewBox:"0 0 512 512"},dragAndDropIcon:{name:"drag-and-drop",content:'<path d="m32 128 192 112L32 352zm224 96v32h224v-32z" />',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-32M256 448c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192m28-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.3m-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.8m79 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.6m94.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.2m-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.9m-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.5" />',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-224m148.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.156a851 851 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.438M256 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-112A191 191 0 0 1 256 64.969m-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.968m-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.469a193 193 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.937M256 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.187m106.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.218" />',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 64m160-72c0 92.8-71.6 168-160 168S96 404.8 96 312C96 181.3 256 32 256 32s160 149.3 160 280m-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-136" />',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-17M256 416v-32c-35.3 0-64-28.7-64-64h-32c0 53 43 96 96 96m224 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.8zM384 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.5" />',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 64m160-72c0 92.8-71.6 168-160 168S32 404.8 32 312C32 181.3 192 32 192 32s160 149.3 160 280m-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-136m128-88h-32v256h32zm0-192h-32v64h32zm-64 96v64h96v-64z" />',viewBox:"0 0 512 512"},editAnnotationsIcon:{name:"edit-annotations",content:'<path d="M447.95 32H64c-17.6 0-32 14.4-32 32v416l95.99-96h127.99v-32H114.73L64 402.75V64.06l.06-.06H447.9l.06.06V224h32V64c0-17.6-14.4-32-32-32zm27.4 251.3-22.65-22.65c-6.25-6.2-16.45-6.2-22.65 0L407.4 283.3l45.29 45.3 22.65-22.65c6.2-6.25 6.2-16.45 0-22.65zm-79.24 11.3L255.98 434.75V480h45.24l140.13-140.15zM289.92 446.05l-11.3-11.3 117.49-117.5 11.3 11.3zM352 256H96v-32h256zm32-64H96v-32h288zm32-64H96V96h320zm-96 192H96v-32h224z" />',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.2zm-17.5-48H140.9L192 99.5zM224 413.3V480h66.7l169.7-168.5-67.9-67.9zm55.3 34-22.6-22.6 135.8-135.8 22.6 22.6zm223.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.3" />',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.8M448 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-32m-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.4z" />',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-32zm23.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.6" />',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-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-80m0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16M32 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-32zm23.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 32" />',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.8M448 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-32m-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.4z" />',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-32zm23.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.6" />',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-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-80m0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16M32 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-32zm23.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 32" />',viewBox:"0 0 512 512"},equalIcon:{name:"equal",content:'<path d="M96 288h320v64H96zm0-128v64h320v-64z" />',viewBox:"0 0 512 512"},eraserOutlineIcon:{name:"eraser-outline",content:'<path d="m199.55 448.07.07-.07H82.75l.07.07H32V480h448v-31.93zm275.76-298.34L362.25 36.68A15.97 15.97 0 0 0 350.94 32c-4.09 0-8.19 1.56-11.32 4.68l-152.93 152.9-22.61 22.62L50.74 325.52c-24.99 24.98-24.99 65.5-.01 90.48h180.9l68.14-68.13 22.62-22.6 152.92-152.91c6.25-6.25 6.25-16.38 0-22.63M218.38 383.99H66.86c-5.34-11.79-3.17-26.18 6.51-35.85l113.34-113.31 90.43 90.42zm81.39-81.35h-.01l-90.44-90.43L350.93 70.62l90.44 90.42z" />',viewBox:"0 0 512 512"},exclamationCircleIcon:{name:"exclamation-circle",content:'<path d="M224 128h64v160h-64zm0 256h64v-64h-64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224m-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192" />',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-32zm160 32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32m96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32m96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32M64 160h384v288H64z" />',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 32zm192-160V126h64.5L256 32l-96.5 94H224v194z" />',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-128m-32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32M69.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.1m299.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.1" />',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.2 260.2 0 0 1 256 128c94.8 0 179.8 51.5 224 128-24 41.53-60.05 75.69-103.15 98.24m-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.99" />',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.5q3.9.9 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.6M224 320h-64l144-144 32 32z" />',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.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-76" />',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.9" />',viewBox:"0 0 512 512"},fileAddIcon:{name:"file-add",content:'<path d="M512 416h-64v64h-32v-64h-64v-32h64v-64h32v64h64zM96 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-32h96zm0 160h-96v-32h96zM256 256H128v-96h128zm0 160H128v-96h128zm96-384H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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.5zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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-32V128zm64 416H289v-96h64l-96.5-96-95.5 96h64v96H96V64h224v96h96z" />',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-32V128zm64 416H96V64h224v96h96zm-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.8M256 336c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48" />',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.7q-6.3 11.4-6.3 26.1c0 9.1 1.9 17.1 5.7 24.1s9.2 12.3 16.4 16.1 15.7 5.7 25.6 5.7c10 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.4s-6.6-10.1-6.6-17.6 2.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-3m73.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.1s3 2 3.8 3.2 1.2 2.5 1.2 4c0 2.1-.8 3.7-2.5 4.8s-4.1 1.7-7.1 1.7c-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.4s-10.8-8.9-20.4-12.8c-4.9-2-8.1-3.7-9.6-5s-2.3-2.9-2.3-4.8c0-2 1-3.6 2.8-4.8q2.85-1.8 7.5-1.8c7.6 0 15.2 2.1 23 6.4v-23.6c-4-1.1-7.1-1.8-9.3-2.2s-4.7-.7-7.4-1c-2.7-.1-5.8-.1-8.9-.1m39.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 224zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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-32V128zm64 416H96V64h224v96h96zM128 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.3M247 379h-76v-47h76zm18-112h76v47h-76zm0 65h76v47h-76zm-18-19h-76v-47h76z" />',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.7m-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.9m89.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.4M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',viewBox:"0 0 512 512"},fileErrorIcon:{name:"file-error",content:'<path d="M160 320h32V160h-32zm16 32c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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-84h48zm64-272H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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.7m96-63.3v320c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h256zm-32 32h-96V64H96v384h320z" />',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-32m0 416H96V64h320zm-32-224H128v-32h256zm0-96H128v32h256zm0 160H128v96h256z" />',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-32m0 416H96V64h320zm-32-64H128v-32h256zm0-96H128v32h256zm0-160H128v96h256z" />',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-32V160zm64 352H64V96h288v96h96z" />',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-32V128zm64 416H96V64h224v96h96z" />',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.9M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96zM288 256c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32" />',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 192zm-1.5 112 26.5-68 26.4 68zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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.7q4.65 0 7.8-.9c3.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.4zm2.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.7m.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-43m102.2 51.6c9.3 0 12 0 21.1 2.3 9.1 2.4 9.2 7.2 7.6 8.2s-6 1.6-8.9 1.6c-9.2 0-20.7-4.3-36.8-11.4 6.3-.4 11.9-.7 17-.7m-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.7M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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.6q0-23.7-12-41.1c-12-17.4-18.8-20.1-32.4-25.4-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.9H241zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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.5M299 237h43v89h-43zm-64 26h43v63h-43zm-64 18h43v45h-43zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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.8zm105.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.2zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',viewBox:"0 0 512 512"},filePsdIcon:{name:"file-psd",content:'<path d="M128 160v256h45v-91h21.4q36.3 0 57.9-23.4c14.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.4H173zm164.6 51.7c-8.1 0-15.9.9-23.4 2.8s-14.2 4.7-20 8.6-10.4 9-14 15.2c-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.2s9.3 5.1 15 7.4c3.5 1.5 7.2 2.8 11 4s7.3 2.5 10.5 4 5.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.2s-7.4-6.5-12.2-9.1c-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.2-2.5-4.4-2.5-7.1c0-2.1.5-3.9 1.7-5.6 1.1-1.7 2.6-3 4.6-4s4.2-1.8 6.7-2.4 5.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.6zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96z" />',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-32m0 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-32V128zm64 416H96V64h224v96h96zm-32-96v32H128v-32zM256 160v32H128v-32m256 64v32H128v-32zm-256 96v-32h224v32z" />',viewBox:"0 0 512 512"},fileTypescriptIcon:{name:"file-typescript",content:'<path d="M64 128h192v48h-72v208h-48V176H64zm316.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.9" />',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-32V128zm64 416H96V64h224v96h96zM304 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 0zM193.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.8m82.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.7" />',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-32V128zm64 416H96V64h224v96h96zm-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-32z" />',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.3m-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-.1zM96 64h224v96h96v128h32V128l-96-96H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h160v-32H96z" />',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-32V128zm64 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-32V64h96v96h96zm-192-80c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16" />',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-32H64zm208 320c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16M384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192zm64 352H192V128h160v96h96zm-192-96h32V192h-32z" />',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-32M128 448H96v-32h32zm0-96H96v-64h32zm0-128H96v-64h32zm0-128H96V64h32zm224 352H160v-96h192zm0-128H160V192h192zm0-160H160V64h192zm64 288h-32v-32h32zm0-96h-32v-64h32zm0-128h-32v-64h32zm0-128h-32V64h32z" />',viewBox:"0 0 512 512"},filterAddExpressionIcon:{name:"filter-add-expression",content:'<path d="M480 64v32H32V64zm-192 96h192v-32H288zm0 128h192v-64H288zm0 96h192v-32H288zm0 64h192v-32H288zM96 352h64v-64h64v-64h-64v-64H96v64H32v64h64z" />',viewBox:"0 0 512 512"},filterAddGroupIcon:{name:"filter-add-group",content:'<path d="M352 352v32h-32v64h32v32h-64V352zm64 0v32h32v64h-32v32h64V352zM160 160H96v64H32v64h64v64h64v-64h64v-64h-64zm128 0h192v-32H288zM32 64v32h448V64zm256 224h192v-64H288z" />',viewBox:"0 0 512 512"},filterClearIcon:{name:"filter-clear",content:'<path d="m143.5 64 168.2 168.2L288 256v160l-64 64V256L64 96V64zm236.1 100.4L448 96V64H279.3l-64-64L192 22l298 298 22-23.3z" />',viewBox:"0 0 512 512"},filterIcon:{name:"filter",content:'<path d="M64 64v32l160 160v224l64-64V256L448 96V64z" />',viewBox:"0 0 512 512"},filterSmallIcon:{name:"filter-small",content:'<path d="M128 128h256v32l-96 96v96l-64 64V256l-96-96z" />',viewBox:"0 0 512 512"},filterSortAscSmallIcon:{name:"filter-sort-asc-small",content:'<path d="M448 128v32l-96 96v64l-32 64V256l-96-96v-32zM64 224h64v160h32V224h64l-80-96z" />',viewBox:"0 0 512 512"},filterSortDescSmallIcon:{name:"filter-sort-desc-small",content:'<path d="M448 128v32l-96 96v64l-32 64V256l-96-96v-32zM144 384l80-96h-64V128h-32v160H64z" />',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 0M384 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.1z" />',viewBox:"0 0 512 512"},flipHorizontalIcon:{name:"flip-horizontal",content:'<path d="M448 448H288V64zm-384 0L224 64v384zm128-224-80 192h80z" />',viewBox:"0 0 512 512"},flipVerticalIcon:{name:"flip-vertical",content:'<path d="M64 288h384L64 448zm0-224v160h384zm32 128v-80l192 80z" />',viewBox:"0 0 512 512"},folderAddIcon:{name:"folder-add",content:'<path d="M96 160h288c17.7 0 32 14.3 32 32v64h-32v-64H96zm352 224h-32v-64h-32v64h-64v32h64v64h32v-64h64v-32zM64 96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h192v-32H64z" />',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-32H64zm192-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32m160-64v-96c0-17.7-14.3-32-32-32H96v32h288v96zm32 64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32m-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32" />',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-32M346 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.3z" />',viewBox:"0 0 512 512"},folderUpIcon:{name:"folder-up",content:'<path d="M96 160h288c17.7 0 32 14.3 32 32v64l-32 32v-96H96zM64 96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h192l32-32H64zm336 240-80 80h64v64h32v-64h64z" />',viewBox:"0 0 512 512"},fontFamilyIcon:{name:"font-family",content:'<path d="M224 416V160h-95l-.8-64H384v64h-96v256z" />',viewBox:"0 0 512 512"},fontGrowIcon:{name:"font-grow",content:'<path d="m384 32-96 128h192zM222 96h-60L32 480h60l32.4-96h135.2l32.4 96h60zm-78 230.4 48-141.7 48 141.7z" />',viewBox:"0 0 512 512"},fontShrinkIcon:{name:"font-shrink",content:'<path d="m384 160 96-128H288zm-152 0h-48L80 480h48l25.9-80h108.2l25.9 80h48zm-62.4 192L208 233.9 246.4 352z" />',viewBox:"0 0 512 512"},fontSizeIcon:{name:"font-size",content:'<path d="M97 224 32 416h29l16.9-50H146l16.9 50h29l-65-192zm-8.9 112 23.9-70.6 23.9 70.6zM376 96h-48L224 416h48l26-80h108l26 80h48zm-62.4 192L352 169.8 390.4 288z" />',viewBox:"0 0 512 512"},foregroundColorIcon:{name:"foreground-color",content:'<path d="M299.5 96h-87.1L96 416h64l23.3-64h145.4l23.3 64h64zm-92.9 192L256 152.2 305.4 288z" />',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-32V32zm0 384H64V64h352zm32 64v-32h32v32zm32-448h-32V0h32zM0 448h32v32H0zM32 0v32H0V0zm160 128H96v32h96zm192 0H224v32h160zm0 64H224v32h160zm0 64H224v32h160zm0 64H224v32h160zm-192 0H96v32h96zm0-64H96v32h96zm0-64H96v32h96z" />',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-32V32zm0 384H64V64h352zm32 64v-32h32v32zm32-448h-32V0h32zM0 448h32v32H0zM32 0v32H0V0z" />',viewBox:"0 0 512 512"},formatCodeBlockIcon:{name:"format-code-block",content:'<path d="M224 352v160h288V352zm102.6 105.4L304 480l-48-48 22.6-22.6L304 384l22.6 22.6-25.3 25.4zM432 480l-22.6-22.6 25.4-25.4-25.4-25.4L432 384l25.4 25.4L480 432zM192 160V32c0-17.6-14.4-32-32-32h-32c-17.6 0-32 14.4-32 32v128L0 256h288zm96 128H0v192h64V320h32v160h32V320h32v160h32V320h96z" />',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.1s-23.8 41.8-38.4 53.2C102.5 474.3 85.7 480 66.7 480c-12 0-20.7-2.7-26.3-8S32 460.5 32 453.3c0-6.7 2.3-12.5 7-17.4s10.8-7.3 18.3-7.3c6.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.7q1.2 1.2 3 1.2c4.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.7s9.8-10.6 15.2-22c15.4-33.1 31.7-60.1 48.9-74.4S260.4 32 281.5 32c13.5 0 23.3 3 29.4 9.1s9.2 13.9 9.2 23.5c0 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.1s-5.5-9-5.5-14.7c0-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.7zm78.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.4q-23.1 34.95-36.3 51c-8.7 10.7-16 17.7-21.8 21s-12 4.9-18.6 4.9c-6.8 0-12.3-2.4-16.3-7q-6-7.05-6-18.3c0-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.9z" />',viewBox:"0 0 512 512"},forwardIcon:{name:"forward",content:'<path d="M0 416V96l256 160zm512-160L256 96v320z" />',viewBox:"0 0 512 512"},freeTextIcon:{name:"free-text",content:'<path d="M448 125.27c18.64-6.59 32-24.37 32-45.27 0-26.51-21.49-48-48-48-20.9 0-38.68 13.36-45.27 32H128V32H32v96h32v258.73C45.36 393.32 32 411.1 32 432c0 26.51 21.49 48 48 48 20.9 0 38.68-13.36 45.27-32H384v32h96v-96h-32zM432 64c8.82 0 16 7.18 16 16s-7.18 16-16 16-16-7.18-16-16 7.18-16 16-16M64 64h32v32H64zm16 384c-8.82 0-16-7.18-16-16s7.18-16 16-16 16 7.18 16 16-7.18 16-16 16m368 0h-32v-32h32zm-64-64v32H125.27c-4.82-13.64-15.63-24.45-29.27-29.27V128h32V96h258.73c4.82 13.64 15.63 24.45 29.27 29.27V384zm-153.6 0V179.2h-76.16l-.64-51.2h204.8v51.2h-76.8V384z" />',viewBox:"0 0 512 512"},fullscreenExitIcon:{name:"fullscreen-exit",content:'<path d="M160 32H96v96H0v64h160zM96 480h64V320H0v64h96zm416-288v-64h-96V32h-64v160zm-96 192h96v-64H352v160h64z" />',viewBox:"0 0 512 512"},fullscreenIcon:{name:"fullscreen",content:'<path d="M0 32h160v64H64v96H0zm64 288H0v160h160v-64H64zM352 32v64h96v96h64V32zm96 384h-96v64h160V320h-64z" />',viewBox:"0 0 512 512"},gapColumnIcon:{name:"gap-column",content:'<path d="M32 32v448h448V32zm416 416H64V64h384zM96 96h96v320H96zm224 0h96v320h-96z" />',viewBox:"0 0 512 512"},gapRowIcon:{name:"gap-row",content:'<path d="M480 32H32v448h448zM64 448V64h384v384zM96 96h320v96H96zm0 224h320v96H96z" />',viewBox:"0 0 512 512"},gaugeLinearIcon:{name:"gauge-linear",content:'<path d="M16 164h480v184H16zM90 58h110l-55 74zM16 380h36v74H16zm444 0h36v74h-36zm-222 0h36v74h-36zm-111 0h36v36h-36zm222 0h36v36h-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 16m0 445.7c-113.4 0-205.7-92.3-205.7-205.7S142.6 50.3 256 50.3 461.7 142.6 461.7 256 369.4 461.7 256 461.7m0-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.7" />',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.5s-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 256s1 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.8M256 340c-46.4 0-84-37.6-84-84s37.6-84 84-84 84 37.6 84 84-37.6 84-84 84" />',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.9M184.2 380c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60m293.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.9m-88.7 9.5c-19.9 0-36.1-16.2-36.1-36.1s16.2-36.1 36.1-36.1 36.1 16.2 36.1 36.1c-.1 19.9-16.1 36.1-36.1 36.1" />',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 32m106.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.9s-75.9-81.9-87.8-104.1c-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.3 33.1-.6 52.6 3.9c32.6 28.8 66.7 41 74.3 54.8 3.3 16.6 4.4 34.9-20 55.4" />',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.5s35.7 20.2 41.7 27.1c6 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-80m0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16" />',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 32M64 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.1s38.6 22.2 45 29.9c6.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-192m222.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.9s-52.6-29.9-33.6-49.3 47.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.6" />',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.5s35.7 20.2 41.7 27.1c6 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.2s5.7 18 10.3 26.1 10.5 14.9 17.5 20.5c7 5.5 15.3 8.3 24.9 8.3q8.55 0 16.8-3.6c8.25-3.6 10-5.2 13.6-8.8M448 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-32M270.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-6q-13.95-6-23.4-15.9c-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.6q7.2 6.3 14.1 12.6c4.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.8m-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.8" />',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.7s18.4 15.6 30.6 20.9 26.1 7.9 41.8 7.9c3.1 0 6.2-.1 9.4-.3s6.3-.5 9.4-.9c-1.6 3.5-2.9 7-4.1 10.3s-1.8 7.6-1.8 12.6c0 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.6S96 385.4 96 396c0 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.8s34.4 7 55.5 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.6 10-26.9 10-40.6c0-10.2-1.4-19.3-4.2-27.1-2.7-7.9-6.4-14.9-10.8-21.2q-6.75-9.45-15.9-17.7c-9.15-8.25-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.6 1.8-12.2 5.3-16.5 7.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.7q-6.45-9.75-13.5-16.5c-7.05-6.75-12.4-11.4-12.4-11.4H352l31.7-20zm-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.9S201 191.8 195 181.3q-9.15-15.9-13.5-34.2c-4.35-18.3-4.4-23.2-4.4-33.1 0-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.4M260 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-3q8.85-.9 15.3-1.2c4.2-.2 7-.3 8.2-.4" />',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.2s5.7 18 10.3 26.1 10.5 14.9 17.5 20.5c7 5.5 15.3 8.3 24.9 8.3q8.55 0 16.8-3.6c8.25-3.6 10-5.2 13.6-8.8M448 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-32M270.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-6q-13.95-6-23.4-15.9c-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.6q7.2 6.3 14.1 12.6c4.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.8M448 192h-64v64h-32v-64h-64v-32h64V96h32v64h64zM236.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.8" />',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.7s18.4 15.6 30.6 20.9 26.1 7.9 41.8 7.9c3.1 0 6.2-.1 9.4-.3s6.3-.5 9.4-.9c-1.6 3.5-2.9 7-4.1 10.3s-1.8 7.6-1.8 12.6c0 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.6S32 385.4 32 396c0 11 2.6 21.5 7.7 31.5s12.9 18.9 23.5 26.7S87 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.6 10-26.9 10-40.6c0-10.2-1.4-19.3-4.2-27.1-2.7-7.9-6.4-14.9-10.8-21.2q-6.75-9.45-15.9-17.7c-9.15-8.25-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.6 1.8-12.2 5.3-16.5 7.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.7q-6.45-9.75-13.5-16.5c-7.05-6.75-12.4-11.4-12.4-11.4H288l31.7-20zm-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.9s-16.9-16.3-22.9-26.8q-9.15-15.9-13.5-34.2c-4.35-18.3-4.4-23.2-4.4-33.1 0-7.9.9-15.5 2.7-23S121 76.6 126 70.3c4.7-5.9 10.8-10.6 18.2-14.1q11.25-5.4 23.1-5.4M196.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-3q8.85-.9 15.3-1.2c4.2-.2 6.9-.3 8.2-.4M384 32v64h-64v32h64v64h32v-64h64V96h-64V32z" />',viewBox:"0 0 512 512"},graphIcon:{name:"graph",content:'<path d="M64 448h416v32H32V32h32zm128-192-96 96v64h384V160L288 320zM416 64l14.2 14.2L288 192l-96-64-96 96v64l96-96 96 64 174.5-145.4L480 128V64z" />',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-32zm0 32h416v320H32zm48 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-16m64 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-16m64 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-16m64 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-16m64 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-16m64 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-16m0 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-12m-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-11m-64 2c5 0 9 4 9 9v224c0 5-4 9-9 9s-9-4-9-9V144c0-5 4-9 9-9m-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-8m-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-4" />',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 160zM128 416v32h256v-32z" />',viewBox:"0 0 512 512"},gridIcon:{name:"grid",content:'<path d="M32 32h128v128H32zm160 448h128V352H192zm-160 0h128V352H32zm0-160h128V192H32zm160 0h128V192H192zM352 32v128h128V32zm0 288h128V192H352zM192 160h128V32H192zm160 320h128V352H352z" />',viewBox:"0 0 512 512"},gridLayoutIcon:{name:"grid-layout",content:'<path d="M32 32h96v96H32zm128 0v96h320V32zM32 288h96v-96H32zm128 0h320v-96H160zM32 448h96v-96H32zm128 0h320v-96H160z" />',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.6s1.2 5.6 1.4 9.4c.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-44m-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.8s-8 3.3-12.2 4.3-8.6 1.4-12.8 1.4c-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.9h18zM316 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.9m-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.7M450 110c1.8 3.2 2.7 6.9 3 11.2h27c-.9-7.3-3.1-13.8-6.4-19.6s-7.6-10.5-12.7-14.2c-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.9s-15.7 8.1-21.8 14.4c-6 6.3-10.7 14.1-14 23.3s-4.9 19.7-4.9 31.5c0 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.4s5.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.4M128 256h256v32H128zm0 64h256v32H128zm0 64h256v32H128zm256 32H128v-32h256zm0-128H128v-32h256zm0 64H128v-32h256zm32-96h32v192c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V256h32v192h320z" />',viewBox:"0 0 512 512"},groupCollectionIcon:{name:"group-collection",content:'<path d="M448 352H160v-32h288zm0 32H160v32h288zm0-288H160v32h288zm0 64H160v32h288zM64 192V96h64l32-32H32v160h128l-32-32zm0 224v-96h64l32-32H32v160h128l-32-32z" />',viewBox:"0 0 512 512"},groupFooterSectionIcon:{name:"group-footer-section",content:'<path d="m128 448 32 32H32V32h128l-32 32H64v384zm320-160H128v96h320zm0-160H128v32h320zm0 64H128v32h320z" />',viewBox:"0 0 512 512"},groupHeaderSectionIcon:{name:"group-header-section",content:'<path d="m128 448 32 32H32V32h128l-32 32H64v384zm320-320H128v96h320zm0 160H128v32h320zm0 64H128v32h320z" />',viewBox:"0 0 512 512"},groupIcon:{name:"group",content:'<path d="M32 256h192v192H32zm0-32h192V32H32zm224 224h192V256H256zm0-416v192h192V32z" />',viewBox:"0 0 512 512"},groupSectionIcon:{name:"group-section",content:'<path d="m128 416 32 32H32V32h128l-32 32H64v352zm320-288H128v32h320zm0 192H128v32h320zm0-96H128v32h320z" />',viewBox:"0 0 512 512"},h1Icon:{name:"h1",content:'<path d="M128 288h96v-57q0-16.8-2.1-22.2c-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 7q7.05 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.4zm192-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.3q1.8-3.9 1.8-23.7V258.8c0-16-.5-26.2-1.6-30.8-.8-3.5-2.1-6-4.1-7.6q-3-2.4-7.2-2.4c-4 0-9.5 1.7-16.7 5zM512 96H0v32h512z" />',viewBox:"0 0 512 512"},h2Icon:{name:"h2",content:'<path d="M128 288h96v-57q0-16.8-2.1-22.2c-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 7q7.05 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.4zm336 86-15.3 42H320v-5.5c38.2-34.9 65.1-63.3 80.7-85.4q23.4-33.15 23.4-60.6c0-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.5s-15 15.6-19.1 27.8h-6c2.7-20 9.7-35.4 20.9-46.1s25.2-16.1 42-16.1c17.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.3s7.1-6.5 10-11.4zm48-278H0v32h512z" />',viewBox:"0 0 512 512"},h3Icon:{name:"h3",content:'<path d="M128 288h96v-57q0-16.8-2.1-22.2c-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 7q7.05 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.4zm195.6-50.6q9.6-21.75 24.3-33.6c9.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.3s10.6 21 10.6 34c0 18.7-6.2 34.8-18.6 48.5q-24.3 26.7-70.2 26.7c-15.2 0-25.5-1.8-31-5.4s-8.2-7.5-8.2-11.6q0-4.65 3.9-8.1c2.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.8q9.9 4.95 13.8 6c4.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.4zM512 96H0v32h512z" />',viewBox:"0 0 512 512"},h4Icon:{name:"h4",content:'<path d="M128 288h96v-57q0-16.8-2.1-22.2c-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 7q7.05 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.4zm341 47v23h-29v58h-27v-58h-93v-20.7L422.1 192H440v143zm-56 0V226.1L336 335zm99-239H0v32h512z" />',viewBox:"0 0 512 512"},h5Icon:{name:"h5",content:'<path d="M128 288h96v-57q0-16.8-2.1-22.2c-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 7q7.05 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.4zm320-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.3s5.7 3.1 10.8 6.7q12.15 8.4 24.6 8.4 18.9 0 33.3-14.4c14.4-14.4 14.3-21.2 14.3-35 0-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-96H0v32h512z" />',viewBox:"0 0 512 512"},h6Icon:{name:"h6",content:'<path d="M128 288h96v-57q0-16.8-2.1-22.2c-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 7q7.05 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.4zm316-96v5.9c-13.1 1.4-23.9 4.2-32.2 8.4s-16.5 10.6-24.6 19.2-14.8 18.2-20.2 28.7c-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-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-13q10.2-13.05 10.2-37.2 0-27.15-10.2-47.1C401 289.95 394.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.9M512 96H0v32h512z" />',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.9" />',viewBox:"0 0 512 512"},handleDragIcon:{name:"handle-drag",content:'<path d="M160 64h64v384h-64zm96 0v384h64V64z" />',viewBox:"0 0 512 512"},handleResizeAltIcon:{name:"handle-resize-alt",content:'<path d="M480 224v256H224v-64h192V224z" />',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.6zm79.7-208.2-22.6-22.6-191.9 191.9 22.6 22.6z" />',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-32M256 384h-64v-96h-64v96H64V128h64v96h64v-96h64zm210.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.8s20.6 12.2 29.5 22.8c8.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.6m-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.8" />',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 160" />',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-160m-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.4S122.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.4 23.4 35.5 23.4 57.4-8.3 42.3-23.4 57.4" />',viewBox:"0 0 512 512"},highlightFreeIcon:{name:"highlight-free",content:'<path d="M446.57 120.72 368.1 42.41c-11.99-11.97-31.22-12.61-43.99-1.48l-1.61 1.41-180.35 151.77-18.44 15.51a28.8 28.8 0 0 0-5.27 5.81q-.105.135-.18.27c-6.94 10.85-5.94 25.32 3.78 35.03l2.12 2.12-.05.12-14 33.94-25.55 61.94-48.8 48.7c-4.36 4.35-4.74 9.05-2.12 13.42 2.12 3.52 7.97 6.04 11.43 6.04 20.72-.03 73.7-.42 84.75-.4l11.31-11.29 49.49-18.49 45.89-20.67a28.66 28.66 0 0 0 20.25 8.35c5.23 0 10.45-1.42 15.03-4.24 1.1-.66 2.16-1.41 3.17-2.25l.02-.02a28 28 0 0 0 3.7-3.63l167.93-198.14 1.44-1.64c11.13-12.75 10.48-31.91-1.49-43.87zM84.56 394.02l22.63-22.59 11.32 11.29c-17.68 6.36-23.34 7.77-33.96 11.3zm92.62-31.17-23.06 11.9-35.01-37.93 27-63.88 68.01 70.87-36.95 19.05zm76.8-25.19L150.46 234.81l194.9-169.67 78.45 78.3L254 337.66zM480 385.16v31.75c-1.91.44-2.99.92-4.85 1.48-6.28 2.34-12.11 5.31-17.68 8.61-5.25 3.33-10.34 6.83-15.56 10.19-7.23 4.66-14.6 9.2-22.1 13.6-11.75 6.9-23.55 13.65-37.68 17.12-6.06 1.49-12.66 2.33-19.09 2.33q-1.86 0-3.69-.09c-8.14-.43-16.39-1.72-24.32-3.25-25.93-4.98-50.44-14.43-76.87-17.73-5.03-.45-10.08-.67-15.13-.67-4.75 0-9.5.2-14.23.61-12.15 1.66-23.65 5.29-34.98 9.1-10.54 3.55-21.08 7.01-32.02 9.73-21.25 5.27-43.04 7.31-65.14 8.81C75.2 478.21 32 481 32 481v-31.95s30.06-1.9 44.95-2.91c13.71-.93 27.5-1.6 41.17-2.95 19.86-2.37 39.02-7.11 57.55-13.26 12.49-4.26 25.07-8.72 38.39-11.01 9.37-1.61 18.84-2.34 28.3-2.34 17.38 0 34.75 2.48 51.46 6.57 21.2 5.2 41.96 12.05 63.93 14.92 1.62.12 3.23.18 4.85.18 1.2 0 2.4-.04 3.6-.11 2.83-.44 5.6-1.08 8.3-1.87 5.62-2.15 10.76-4.9 15.87-7.76 5.79-3.24 11.48-6.59 17.09-10.02 10.09-6.34 19.75-13.11 30.06-19.23 10.3-6.1 21.91-10.94 34.36-13.55 2.04-.43 3.9-.71 5.76-.71.78 0 1.56.05 2.36.16" />',viewBox:"0 0 512 512"},highlightIcon:{name:"highlight",content:'<path d="M271.66 369.51c1.06-.49 2.11-1.22 3.17-2.25-1.01.84-2.07 1.59-3.17 2.25M480 448v32H32v-32zm-33.43-328.28L368.1 41.41c-11.99-11.97-31.22-12.61-43.99-1.48l-1.61 1.41-180.35 151.77-18.44 15.51a28.8 28.8 0 0 0-5.27 5.81q-.105.135-.18.27c-6.94 10.85-5.94 25.32 3.78 35.03l2.12 2.12-.05.12-14 33.94-25.55 61.94-48.8 48.7c-4.36 4.35-4.74 9.05-2.12 13.42 2.12 3.52 7.97 6.04 11.43 6.04 20.72-.03 73.7-.42 84.75-.4l11.31-11.29 49.49-18.49 45.89-20.67a28.66 28.66 0 0 0 20.25 8.35c5.23 0 10.45-1.42 15.03-4.24 1.1-.66 2.16-1.41 3.17-2.25l.02-.02a28 28 0 0 0 3.7-3.63l167.93-198.14 1.44-1.64c11.13-12.75 10.48-31.91-1.49-43.87zM84.56 393.02l22.63-22.59 11.32 11.29c-17.68 6.36-23.34 7.77-33.96 11.3zm92.62-31.17-23.06 11.9-35.01-37.93 27-63.88 68.01 70.87-36.95 19.05zm76.8-25.19L150.46 233.81l194.9-169.67 78.45 78.3L254 336.66z" />',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 22" />',viewBox:"0 0 512 512"},horizontalRuleIcon:{name:"horizontal-rule",content:'<path d="M320 96H32V64h288zm96 32H32v32h384zm64 96H32v64h448zM320 352H32v32h288zm96 64H32v32h384z" />',viewBox:"0 0 512 512"},html5Icon:{name:"html5",content:'<path d="m64 32 30.4 384 161.3 64 161.7-64L448 32zm68 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.2z" />',viewBox:"0 0 512 512"},hyperlinkOpenIcon:{name:"hyperlink-open",content:'<path d="M32 480h448V256h-32v192H64V64h192V32H32zM320 32l56.9 56.9.5.5L224 242.7l45.3 45.3 153.3-153.4L480 192V32z" />',viewBox:"0 0 512 512"},hyperlinkOpenSmIcon:{name:"hyperlink-open-sm",content:'<path d="M96 416h320v-96h-32v64H128V128h64V96H96zM256 96h160v160l-57.4-57.4L237.3 320 192 274.7l121.4-121.4-.5-.5z" />',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 48m96-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 32m-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 64zM32 0H0v512h32v-64h32v-32H32v-64h32v-32H32v-64h32v-32H32v-64h32v-32H32V32h96v32h32V32h64v32h32V32h64v32h32V32h64v32h32V32h64V0z" />',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-48m80 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-64h64zm128 144h-32v-64h-32v64h-64v32h64v64h32v-64h64v-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-48m-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.5zm189-7.9L290.7 480H224v-66.7l168.5-169.7zm-45.3 0-22.6-22.6-135.8 135.8 22.6 22.6zM447.9 448c17.7 0 32.1-14.4 32.1-32v-78.9L369.1 448zm54.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.3" />',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-64zM272 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48m48 288h96v64l96-80-96-80v64h-96z" />',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-48m144-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-32m-.1 272-64-64-80 80L176 224 64 336V96.1l.1-.1h383.8l.1.1z" />',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-32M96 384H64v-32h32zm96 0h-64v-32h64zm96 0h-64v-32h64zm96 0h-64v-32h64zm64 0h-32v-32h32zm-.1-48-64-64-80 80L176 224 64 336V192h32v-32H64V96.1l.1-.1H128v32h32V96h287.9l.1.1zM352 208c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48m-224-48h32v32h-32z" />',viewBox:"0 0 512 512"},imageResizeIcon:{name:"image-resize",content:'<path d="M427.3 404.7 352 329.4V32H32v320h297.4l75.3 75.3L352 480h128V352zM64 320V64h256v233.4L203.3 180.7 256 128H128v128l52.7-52.7L297.4 320z" />',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 32m96-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 32m-31.8 0q-.15-.15 0 0l-256.1-.1-.1.1v149.9l74.6-70 85.3 80 53.3-50 42.7 40zm63.8-96H128c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32m64-64H192c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32" />',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 32zm159.5-162 96.5-94h-64.5V32h-64v192H159z" />',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-32V288zM150.2 64h211.6l84 224H352l-32 64H192l-32-64H66.2z" />',viewBox:"0 0 512 512"},increaseHorizontalSpacingIcon:{name:"increase-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96zM335.7 352l-22.6 22.6 57.4 57.4-57.4 57.4 22.6 22.6 80-80zM64 432l80 80 22.6-22.6-57.3-57.4 57.4-57.4L144 352z" />',viewBox:"0 0 512 512"},increaseVerticalSpacingIcon:{name:"increase-vertical-spacing",content:'<path d="M192 320v96h96v64H64v-64h96v-96H0v-96h160v-96H96V32h160v96h-64v96h160v96zm320 48.1-22.6-22.6-57.4 57.3-57.4-57.4-22.6 22.7 80 80zM432 96l-80 80 22.6 22.6 57.4-57.4 57.4 57.4L512 176z" />',viewBox:"0 0 512 512"},indentIcon:{name:"indent",content:'<path d="M480 64H32V32h448zm0 32H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H32v32h448zM160 240 32 128v224z" />',viewBox:"0 0 512 512"},infoCircleIcon:{name:"info-circle",content:'<path d="M288 352h32v32H192v-32h32v-96h-32v-32h96zm0-224h-64v64h64zm192 128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224m-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192" />',viewBox:"0 0 512 512"},infoSolidIcon:{name:"info-solid",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32m-32 96h64v64h-64zm96 256H192v-32h32v-96h-32v-32h96v128h32z" />',viewBox:"0 0 512 512"},inheritedIcon:{name:"inherited",content:'<path d="M448 320v128H320V320h30.4L256 244.5 161.6 320H192v128H64V320h46.4l120-96H176V64h160v160h-54.4l120 96z" />',viewBox:"0 0 512 512"},insertBottomIcon:{name:"insert-bottom",content:'<path d="M192 224h192v32H192zm0 128h288v-32H192zm192-192H192v32h192zM32 224v224l96-112z" />',viewBox:"0 0 512 512"},insertMiddleIcon:{name:"insert-middle",content:'<path d="M192 128h192v32H192zm0 128h288v-32H192zm192 64H192v32h192zM32 128v224l96-112z" />',viewBox:"0 0 512 512"},insertTopIcon:{name:"insert-top",content:'<path d="M192 320h192v32H192zm0-128h288v-32H192zm192 64H192v32h192zM32 64v224l96-112z" />',viewBox:"0 0 512 512"},invertColorsIcon:{name:"invert-colors",content:'<path d="m320 32-64 48 64 48V96h64v64h-32l48 64 48-64h-32V64h-96zM32 64v192h192V64zm192 192v192h192V256zM64 96h128v128H64z" />',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-256z" />',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-16m-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 32M320 192H192v-32h128zm0 64H192v-32h128zm0 64H192v-32h128z" />',viewBox:"0 0 512 512"},justifyContentAroundAltIcon:{name:"justify-content-around-alt",content:'<path d="M95 96h320v128H95zM31 512h448v-32H31zm65-96h320V288H96zM31 0v32h448V0z" />',viewBox:"0 0 512 512"},justifyContentAroundIcon:{name:"justify-content-around",content:'<path d="M95 96h128v320H95zm384-64v448h32V32zM287 415h128V95H287zM-1 480h32V32H-1z" />',viewBox:"0 0 512 512"},justifyContentBetweenAltIcon:{name:"justify-content-between-alt",content:'<path d="M95 64h320v128H95zM31 512h448v-32H31zm65-64h320V320H96zM31 0v32h448V0z" />',viewBox:"0 0 512 512"},justifyContentBetweenIcon:{name:"justify-content-between",content:'<path d="M63 96h128v320H63zm416-64v448h32V32zM319 415h128V95H319zM-1 480h32V32H-1z" />',viewBox:"0 0 512 512"},justifyContentCenterAltIcon:{name:"justify-content-center-alt",content:'<path d="M415 192H95V64h320zM31 224v32h448v-32zm65 192h320V288H96z" />',viewBox:"0 0 512 512"},justifyContentCenterIcon:{name:"justify-content-center",content:'<path d="M63 96h128v320H63zm160 384h32V32h-32zm64-385v320h128V95z" />',viewBox:"0 0 512 512"},justifyContentEndAltIcon:{name:"justify-content-end-alt",content:'<path d="M415 257H95V129h320zM31 449v32h448v-32zm65-32h320V289H96z" />',viewBox:"0 0 512 512"},justifyContentEndIcon:{name:"justify-content-end",content:'<path d="M128 96h128v320H128zm320-64v448h32V32zM288 415h128V95H288z" />',viewBox:"0 0 512 512"},justifyContentStartAltIcon:{name:"justify-content-start-alt",content:'<path d="M415 224H95V96h320zM31 32v32h448V32zm65 352h320V256H96z" />',viewBox:"0 0 512 512"},justifyContentStartIcon:{name:"justify-content-start",content:'<path d="M95 96h128v320H95zM31 480h32V32H31zM255 95v320h128V95z" />',viewBox:"0 0 512 512"},kpiStatusDenyIcon:{name:"kpi-status-deny",content:'<path d="M480 256 256 480 32 256 256 32z" />',viewBox:"0 0 512 512"},kpiStatusHoldIcon:{name:"kpi-status-hold",content:'<path d="M256 64 32 448h448z" />',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 224" />',viewBox:"0 0 512 512"},launchIcon:{name:"launch",content:'<path d="M96 96v320h96v-32h-64V128h256v64h32V96zm320 160v160H256l57.4-57.4L192 237.3l45.3-45.3 121.4 121.4.5-.5z" />',viewBox:"0 0 512 512"},layout1By4Icon:{name:"layout-1-by-4",content:'<path d="M32 0h192v480H32zm224 0v96h192V0zm0 224h192v-96H256zm0 128h192v-96H256zm0 128h192v-96H256z" />',viewBox:"0 0 512 512"},layout2By2Icon:{name:"layout-2-by-2",content:'<path d="M32 224h192V0H32zm224 0h192V0H256zM32 480h192V256H32zm224 0h192V256H256z" />',viewBox:"0 0 512 512"},layoutIcon:{name:"layout",content:'<path d="M192 416h256v64H192zm0-32h256v-64H192zM32 480h128V128H32zm160-288h256v-64H192zm0 96h256v-64H192zM32 0v96h416V0z" />',viewBox:"0 0 512 512"},layoutSideBySideIcon:{name:"layout-side-by-side",content:'<path d="M32 384h416v96H32zm0-32h416v-96H32zm0-128h416v-96H32zM32 0v96h416V0z" />',viewBox:"0 0 512 512"},layoutStackedIcon:{name:"layout-stacked",content:'<path d="M32 256h192v96H32zm0 224h192v-96H32zm224-128h192v-96H256zM32 0v224h416V0zm224 480h192v-96H256z" />',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.1zM128 416v32h256v-32z" />',viewBox:"0 0 512 512"},letterSpaceIcon:{name:"letter-space",content:'<path d="m310 336 26 80h48L280 96h-48L128 416h48l26-80zm-54-166.2L294.4 288h-76.8zM448 32h32v448h-32zM32 32h32v448H32z" />',viewBox:"0 0 512 512"},levelDownIcon:{name:"level-down",content:'<path d="M288 192v64h64l-80 128-80-128h64v-64H128v-32h288v32z" />',viewBox:"0 0 512 512"},levelToTopIcon:{name:"level-to-top",content:'<path d="m128 288 80-128 80 128h-64v64h192v32H192v-96zm288-160H96v32h320z" />',viewBox:"0 0 512 512"},levelUpIcon:{name:"level-up",content:'<path d="m128 288 80-128 80 128h-64v64h192v32H192v-96z" />',viewBox:"0 0 512 512"},lineHeightIcon:{name:"line-height",content:'<path d="m310 336 26 80h48L280 96h-48L128 416h48l26-80zm-54-166.2L294.4 288h-76.8zM32 32h448v32H32zm0 416h448v32H32z" />',viewBox:"0 0 512 512"},linkAddIcon:{name:"link-add",content:'<path d="M448 416v-64h-32v64h-64v32h64v64h32v-64h64v-32zM96 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-32m-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 64m416 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 64h96zM384 320H273.2c22.1 38.2 63.4 64 110.8 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 128M96 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-32m-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 64" />',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-128M256 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-32m0-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-64" />',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-32M160 416H96V192h64zm-32-256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32m288 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 80z" />',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-48M64 160v288h96V160zm128 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.9V160z" />',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.3zm-35-23.9h27.6L93.8 67.5zM42.1 320V191.5h46.2c16.5 0 29.1 3 37.7 9.1q12.9 9.15 12.9 26.4c0 6.6-1.5 12.3-4.6 17s-7.6 8.2-13.5 10.4c6.7 1.8 11.9 5.1 15.4 9.9q5.4 7.2 5.4 17.7c0 12.6-4 22.1-12 28.4s-19.8 9.5-35.4 9.7H42.1zm31-74.9h16.2c6.8-.1 11.6-1.3 14.5-3.7s4.3-6 4.3-10.7c0-5.4-1.6-9.3-4.7-11.7s-8.2-3.6-15.1-3.6H73.1zm0 20.3v30.8h20.3c5.6 0 9.9-1.3 12.9-3.8q4.5-3.9 4.5-10.8c0-10.7-5.3-16.1-16-16.2zm73 171.1q-.6 13.35-7.2 23.7t-18.6 15.9c-8 3.8-17.1 5.6-27.3 5.6q-25.35 0-39.9-16.5c-14.55-16.5-14.6-26.5-14.6-46.6v-6.4c0-12.6 2.2-23.6 6.6-33.1Q51.7 365 64 357.2c8.2-5.1 17.8-7.7 28.6-7.7 15.6 0 28.1 4.1 37.6 12.3q14.25 12.3 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 96h288v32H192zm0 160h288v32H192zm0 160h288v32H192z" />',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.1q0-13.2-11.4-13.2c-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.9 10.7 14.1 10.9 24.4v42.3c.1 8.8 1.5 15.5 4.1 20.1v1.5zm-18.6-19.4c3.7 0 6.8-.8 9.2-2.4s4.2-3.4 5.3-5.4v-15.3h-8.6c-10.4 0-15.5 4.6-15.5 13.9q0 4.05 2.7 6.6c1.8 1.7 4.1 2.6 6.9 2.6M129.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 36zm-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.5M81.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.8s-17.2 10.1-29 10.1c-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.3s10.9 16.2 10.9 28H94.2q0-7.35-3.6-11.4c-2.4-2.6-5.6-4-9.7-4q-11.55 0-13.5 14.7-.6 4.65-.6 12.9c0 9.6 1.1 16.2 3.4 19.9s5.9 5.7 10.9 5.7M192 96h288v32H192zm0 160h288v32H192zm0 160h288v32H192z" />',viewBox:"0 0 512 512"},listOrderedIcon:{name:"list-ordered",content:'<path d="M192 64h288v32H192zm0 160h288v32H192zm0 160h288v32H192zM96 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.7zM66.7 297h61.1v23H32v-9.5c0-6.4 1.2-12.2 3.7-17.3q3.75-7.65 9.3-13.8t12.3-10.8c4.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.5q8.7 2.55 14.7 7.2c4 3.1 7.1 6.9 9.2 11.3s3.2 9.3 3.2 14.8c0 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.6-2 3.6-2 5.2M32 473.8V450c10.1 6 21.8 9.1 35.3 9.1q12.75 0 19.8-4.5c4.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.2" />',viewBox:"0 0 512 512"},listRomanBigIcon:{name:"list-roman-big",content:'<path d="M32 32h32v128H32zm0 288h32V192H32zm64 0h32V192H96zM32 480h32V352H32zm64 0h32V352H96zm64 0h32V352h-32zM128 96h352v32H128zm64 160h288v32H192zm64 160h224v32H256zM96 152c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8" />',viewBox:"0 0 512 512"},listRomanLowerIcon:{name:"list-roman-lower",content:'<path d="M32 64h16v96H32zm0 256h16v-96H32zm32 0h16v-96H64zM32 480h16v-96H32zm32 0h16v-96H64zm32 0h16v-96H96zM48 40c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8M48 200c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8M48 360c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8M128 96h352v32H128zm32 160h320v32H160zm32 160h288v32H192z" />',viewBox:"0 0 512 512"},listRomanSmallIcon:{name:"list-roman-small",content:'<path d="M32 64h16v96H32zm0 256h16v-96H32zm32 0h16v-96H64zM32 480h16v-96H32zm32 0h16v-96H64zm32 0h16v-96H96zM48 40c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8M48 200c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8M48 360c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8M128 96h352v32H128zm32 160h320v32H160zm32 160h288v32H192z" />',viewBox:"0 0 512 512"},listRomanUpperIcon:{name:"list-roman-upper",content:'<path d="M32 32h32v128H32zm0 288h32V192H32zm64 0h32V192H96zM32 480h32V352H32zm64 0h32V352H96zm64 0h32V352h-32zM128 96h352v32H128zm64 160h288v32H192zm64 160h224v32H256zM96 152c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8m64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8" />',viewBox:"0 0 512 512"},listUnorderedIcon:{name:"list-unordered",content:'<path d="M192 64h288v32H192zm0 160h288v32H192zm0 160h288v32H192zM80 32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48m0 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48m0 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48" />',viewBox:"0 0 512 512"},listUnorderedOutlineIcon:{name:"list-unordered-outline",content:'<path d="M192 80h288v32H192zm0 160h288v32H192zm0 160h288v32H192zM80 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-48m0 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-48m0 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-48" />',viewBox:"0 0 512 512"},listUnorderedSquareIcon:{name:"list-unordered-square",content:'<path d="M128 160H32V64h96zm0 64H32v96h96zm0 160H32v96h96zm64-256h288V96H192zm0 160h288v-32H192zm0 160h288v-32H192z" />',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-32m-192-96c0-35.3 28.7-64 64-64s64 28.7 64 64v96H192zm64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32" />',viewBox:"0 0 512 512"},loginIcon:{name:"login",content:'<path d="M384 480h96V32h-96zM32 224v64h128v96l160-128-160-128v96z" />',viewBox:"0 0 512 512"},logoutIcon:{name:"logout",content:'<path d="M128 32H32v448h96zm64 192v64h128v96l160-128-160-128v96z" />',viewBox:"0 0 512 512"},makeHorizontalSpacingEqualIcon:{name:"make-horizontal-spacing-equal",content:'<path d="M480 160v160h-96v-64h-96v160h-96V256H96v96H32V128h64v96h96V64h96v160h96v-64z" />',viewBox:"0 0 512 512"},makeSameHeightIcon:{name:"make-same-height",content:'<path d="M128 0v480H32V0zm96 192v96h96v-96zM272.1 0l-48.4 64H256v64h33V64h31.6zM288 416v-64h-32v64h-32l48 64 48-64zM448 0h-96v32h96v96h32V0zm0 352v96h-96v32h128V352z" />',viewBox:"0 0 512 512"},makeSameSizeIcon:{name:"make-same-size",content:'<path d="M288 192v96h-96v-96zM240.1 0l-48.4 64H224v64h33V64h31.6zM256 416v-64h-32v64h-32l48 64 48-64zm224-175.9-64-48.4V224h-64v33h64v31.6zM64 224v-32L0 240l64 48v-32h64v-32zM128 0H0v128h32V32h96zm320 0h-96v32h96v96h32V0zM32 448v-96H0v128h128v-32zm416-96v96h-96v32h128V352z" />',viewBox:"0 0 512 512"},makeSameWidthIcon:{name:"make-same-width",content:'<path d="M480 128H0V32h480zm-192 96h-96v96h96zm192 48.1-64-48.4V256h-64v33h64v31.6zM64 256v-32L0 272l64 48v-32h64v-32zm384 96v96h-96v32h128V352zM32 448v-96H0v128h128v-32z" />',viewBox:"0 0 512 512"},makeVerticalSpacingEqualIcon:{name:"make-vertical-spacing-equal",content:'<path d="M256 320v96h96v64H128v-64h96v-96H64v-96h160v-96h-64V32h160v96h-64v96h160v96z" />',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 0m0 288c-61.9 0-112-50.1-112-112S194.1 64 256 64s112 50.1 112 112-50.1 112-112 112" />',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 0m0 288c-61.9 0-112-50.1-112-112S194.1 64 256 64s112 50.1 112 112-50.1 112-112 112m48-112c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48" />',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 128zm32-319.3V0C108.2 14.4 14.4 108.2 0 224h64.7c13.5-80.3 79-145.8 159.3-159.3m64 382.6V512c115.8-14.4 209.6-108.2 224-224h-64.7c-13.5 80.3-79 145.8-159.3 159.3M64.7 288H0c14.4 115.8 108.2 209.6 224 224v-64.7c-80.3-13.5-145.8-79-159.3-159.3m382.6-64H512C497.6 108.2 403.8 14.4 288 0v64.7c80.3 13.5 145.8 79 159.3 159.3" />',viewBox:"0 0 512 512"},menuIcon:{name:"menu",content:'<path d="M480 32v96H32V32zM32 192v96h448v-96zm448 160H32v96h448z" />',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 32M128 288v-64h256v64z" />',viewBox:"0 0 512 512"},minusIcon:{name:"minus",content:'<path d="M96 224v64h320v-64z" />',viewBox:"0 0 512 512"},minusOutlineIcon:{name:"minus-outline",content:'<path d="M128 224h256v64H128zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32m0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192" />',viewBox:"0 0 512 512"},minusSmIcon:{name:"minus-sm",content:'<path d="M352 224v64H160v-64z" />',viewBox:"0 0 512 512"},mirrorIcon:{name:"mirror",content:'<path d="M192 64H32v384h160zm-31 352s0 .1 0 0l-96.9.1-.1-.1V96.1l.1-.1H160v320zm95 64h-32V32h32zm32-416h160v384H288z" />',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-48m64 0c0 26.4 21.6 48 48 48s48-21.6 48-48-21.6-48-48-48-48 21.6-48 48m160 0c0 26.4 21.6 48 48 48s48-21.6 48-48-21.6-48-48-48-48 21.6-48 48" />',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 48m0 64c-26.4 0-48 21.6-48 48s21.6 48 48 48 48-21.6 48-48-21.6-48-48-48m0 160c-26.4 0-48 21.6-48 48s21.6 48 48 48 48-21.6 48-48-21.6-48-48-48" />',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-64V32z" />',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-32M128 416H64v-63.5c0-17.9 14.3-32.5 32-32.5s32 14.5 32 32.5zM96 288c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32m160 128h-96v-75.3c0-29.1 21.5-52.7 48-52.7s48 23.6 48 52.7zm-48-160c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48m208 160H288v-92.9c0-37.1 27.2-67.1 64-67.1s64 30 64 67.1zm-64-192c-35.4 0-64-28.6-64-64s28.6-64 64-64 64 28.6 64 64-28.6 64-64 64" />',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-80m-176 64c-35.4 0-64 28.6-64 64s28.6 64 64 64 64-28.6 64-64-28.6-64-64-64M80 192c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48m320 64c-44.2 0-80 36.1-80 80.5V448h160V336.5c0-44.5-35.8-80.5-80-80.5m-176 32c-35.4 0-64 31.5-64 70.3V448h128v-89.7c0-38.8-28.6-70.3-64-70.3M80 320c-26.5 0-48 21.8-48 48.7V448h96v-79.3c0-26.9-21.5-48.7-48-48.7" />',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.7m118.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.6z" />',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 96h88v64z" />',viewBox:"0 0 512 512"},outdentIcon:{name:"outdent",content:'<path d="M480 64H32V32h448zm0 32H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H32v32h448zm-320-64V128L32 240z" />',viewBox:"0 0 512 512"},outlineOffsetIcon:{name:"outline-offset",content:'<path d="M448 32H32v448h448V32zm0 416H64V64h384zM160 320v32h192V160H160zm32-128h128v128H192z" />',viewBox:"0 0 512 512"},outlineWidthIcon:{name:"outline-width",content:'<path d="M416 32H32v448h448V32zm0 384H96V96h320zm-256-32h224V128H128v256zm0-224h192v192H160z" />',viewBox:"0 0 512 512"},overlapIcon:{name:"overlap",content:'<path d="M320 320V64H64v256zM192 448h256V192h-96v160H192z" />',viewBox:"0 0 512 512"},paddingBottomIcon:{name:"padding-bottom",content:'<path d="M288.2 352H256v64h64v64H160v-64h64v-64h-32v-64h96.2zM160 32h64v96h-32.2v32H288v-32h-32V32h64V0H160zm192 192v-32.2h-32V288h32v-32h96v64h32V160h-32v64zm-224 32v32.2h32V192h-32v32H32v-64H0v160h32v-64z" />',viewBox:"0 0 512 512"},paddingIcon:{name:"padding",content:'<path d="M128 288.2V256H32v64H0V160h32v64h96v-32h32v96.2zM448 160v64h-96v-32.2h-32V288h32v-32h96v64h32V160zM256 352h32.2v-32H192v32h32v96h-64v32h160v-32h-64zm-32-224h-32.2v32H288v-32h-32V32h64V0H160v32h64z" />',viewBox:"0 0 512 512"},paddingLeftIcon:{name:"padding-left",content:'<path d="M128 288.2V256H64v64H0V160h64v64h64v-32h64v96.2zM448 160v64h-96v-32.2h-32V288h32v-32h96v64h32V160zM256 352h32.2v-32H192v32h32v96h-64v32h160v-32h-64zm-32-224h-32.2v32H288v-32h-32V32h64V0H160v32h64z" />',viewBox:"0 0 512 512"},paddingRightIcon:{name:"padding-right",content:'<path d="M352 191.8V224h64v-64h64v160h-64v-64h-64v32h-64v-96.2zM32 320v-64h96v32.2h32V192h-32v32H32v-64H0v160zm192-192h-32.2v32H288v-32h-32V32h64V0H160v32h64zm32 224h32.2v-32H192v32h32v96h-64v32h160v-32h-64z" />',viewBox:"0 0 512 512"},paddingTopIcon:{name:"padding-top",content:'<path d="M191.8 128H224V64h-64V0h160v64h-64v64h32v64h-96.2zM320 448h-64v-96h32.2v-32H192v32h32v96h-64v32h160zM128 256v32.2h32V192h-32v32H32v-64H0v160h32v-64zm224-32v-32.2h-32V288h32v-32h96v64h32V160h-32v64z" />',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-32V128zm64 416H96V64h224v96h96zm-31-32H129v-96h256zm0-160H129v32h256zm0-64H129v32h256z" />',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-32V128zm64 416H96V64h224v96h96zm-32-160H128v-96h256zm0 96H128v32h256zm0-64H128v32h256z" />',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.4M288 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32m-96-32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32M64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32m0-128c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32m438.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.2M354.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.5zm-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.9" />',viewBox:"0 0 512 512"},paneFreezeIcon:{name:"pane-freeze",content:'<path d="M32 32v416h416V32zm256 32 96 96h-64l-96-96zm-128 0 96 96h-64L96 64zM64 96l96 96v64l-96-96zm0 128 96 96v64l-96-96zm0 192v-64l64 64zm224 0h-96v-96h96zm0-128h-96v-96h96zm128 128h-96v-96h96zm0-128h-96v-96h96zM352 64h64v64z" />',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.468 256 239.85 263.839 312.468 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.758" />',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 0s-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.1" />',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 128" />',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-96h192zm96 256v-64h-32v64h-64v32h64v64h32v-64h64v-32z" />',viewBox:"0 0 512 512"},paragraphHeightIcon:{name:"paragraph-height",content:'<path d="M480 64H224V32h256zm0 32H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm0 64H224v32h256zm-368 32 80-128h-64V160h64L112 32 32 160h64v160H32z" />',viewBox:"0 0 512 512"},paragraphMarkIcon:{name:"paragraph-mark",content:'<path d="M423.79 69.29h-74.57v410.16h-37.29V69.29h-74.57v410.16h-37.29V255.73c-61.76 0-111.86-50.1-111.86-111.86s50.1-111.86 111.86-111.86h223.72V69.3Z" />',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-32zm384 288H64V128h384zM207 212h-39v114h-32V212H96v-26h111zm96.8-37-68.1 163h-27.5l67.9-163zM416 212h-49v34h45v26h-45v54h-32V186h81z" />',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.3M64.1 384 64 192h304c-61.9 0-112 50.2-112 112 0 30.1 12.1 58.9 33.6 80zm303.9 0c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80m48-96v32h-64v-64h32v32zm-224 32H96v-96h96z" />',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-32zm384 288H64V128h384zm-276-55.6c-33.3 0-50-23.4-50-70.2q0-36.45 13.5-55.5c13.5-19.05 22.1-19.1 39.2-19.1 32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5s-21.6 18.9-38.2 18.9m1.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.9m83.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.5q7.95 0 12.9 4.5c6.4 5.9 6.7 15.9.8 22.2l-.9.9c-3.3 3.1-7.8 4.6-13.2 4.6M390 326h-88v-24h29v-87.2l-30 6.4v-25.5l60-12.1V302h29z" />',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-32zm384 288H64V128h384zm-262.6-58H96.8v-24.4h29v-87.2L96 220.8v-25l60.6-12.2v118h28.8zm59.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.8s12.1 16.9 12.1 29.1q0 24.45-29.4 50.7zm82.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.1s6.6-8.1 6.6-14.2c0-6.2-2.7-11.1-8.1-14.5s-12.9-5.1-22.4-5.1h-12.6v-23.6H353c18.2 0 27.4-6.1 27.4-18.2q0-17.1-21-17.1c-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.5q14.85 1.8 23.4 10.8c5.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.1" />',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.6Q96 269.5 96 298.6c0 9.2 2.8 16.5 8.3 22s13.2 8.3 23 8.3m12.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.6m209 33.5c-9.5-9.3-14.3-21.3-14.3-36q0-25.5 15.3-40.2c10.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.2q-13.35 0-21 7.8c-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-14m-104 .5h.4q9.45 14.1 27.9 14.1c13.6 0 24.5-5 32.6-15.1s12.2-23.5 12.2-40.1q0-22.95-10.5-36.3c-10.5-13.35-16.9-13.3-29.8-13.3-14.1 0-24.9 5.8-32.5 17.5h-.4V179h-30.9v148h30.9zm-.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.1s-9.3 8.2-16.4 8.2c-5.5.1-10.7-2.2-14.3-6.4-3.7-4.2-5.6-9.6-5.6-16zM448 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-32m0 288H64V128h384z" />',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-32zm384 288H64V128h384zm-306.2-55.6c-33.3 0-50-23.4-50-70.2q0-36.45 13.5-55.5c13.5-19.05 22.1-19.1 39.2-19.1 32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5s-21.6 18.9-38.2 18.9m1.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.9m113.6 121.3c-33.3 0-50-23.4-50-70.2q0-36.45 13.5-55.5c13.5-19.05 22.1-19.1 39.2-19.1 32.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.9m1.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.9M420 326h-88v-24h29v-87.2l-30 6.4v-25.4l61-12.3V302h28z" />',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-32zm320 416H96V64h320zM285.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-32zM240 192c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16m109.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-32zM304 320c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16" />',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-32zm384 288H64V128h384zm-64-64h-64v-32h64zm-96 0h-64v-32h64zm-96 0h-64v-32h64z" />',viewBox:"0 0 512 512"},passwordIcon:{name:"password",content:'<path d="M480 64v384h-32V64zM174.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.7zm224 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.7z" />',viewBox:"0 0 512 512"},pauseIcon:{name:"pause",content:'<path d="M320 0h160v512H320zM32 512h160V0H32z" />',viewBox:"0 0 512 512"},pauseSmIcon:{name:"pause-sm",content:'<path d="M288 96h96v320h-96zM96 416h96V96H96z" />',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.3zm-22.6 22.6L32 389.5V480h90.5l280.3-280.3zM99.9 412.1l-22.6-22.6 235-235 22.6 22.6z" />',viewBox:"0 0 512 512"},percentIcon:{name:"percent",content:'<path d="M352 64h32L160 448h-32zm16 160c-44.2 0-80 50.1-80 112s35.8 112 80 112 80-50.1 80-112-35.8-112-80-112m0 192c-22.7 0-48-32.9-48-80s25.3-80 48-80 48 32.9 48 80-25.3 80-48 80M144 64c-44.2 0-80 50.1-80 112s35.8 112 80 112 80-50.1 80-112-35.8-112-80-112m0 192c-22.7 0-48-32.9-48-80s25.3-80 48-80 48 32.9 48 80-25.3 80-48 80" />',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 32m96-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 32m-31.8 0q-.15-.15 0 0l-256.1-.1-.1.1v149.9l74.6-70 85.3 80 53.3-50 42.7 40zm63.8-96H128c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32m64-64H192c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32" />',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-32zm-128 0V96h64v160z" />',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-32M276.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 126" />',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 32" />',viewBox:"0 0 512 512"},playIcon:{name:"play",content:'<path d="M0 512V0l512 256z" />',viewBox:"0 0 512 512"},playSmIcon:{name:"play-sm",content:'<path d="M96 416V96l320 160z" />',viewBox:"0 0 512 512"},playlistIcon:{name:"playlist",content:'<path d="M0 256h320v64H0zM512 64H0V0h512zm-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-65zM0 128v64h320v-64z" />',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 32m32 256v96h-64v-96h-96v-64h96v-96h64v96h96v64z" />',viewBox:"0 0 512 512"},plusIcon:{name:"plus",content:'<path d="M288 224V96h-64v128H96v64h128v128h64V288h128v-64z" />',viewBox:"0 0 512 512"},plusOutlineIcon:{name:"plus-outline",content:'<path d="M288 288v96h-64v-96h-96v-64h96v-96h64v96h96v64zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32m0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192" />',viewBox:"0 0 512 512"},plusSmIcon:{name:"plus-sm",content:'<path d="M352 224v64h-64v64h-64v-64h-64v-64h64v-64h64v64z" />',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 288z" />',viewBox:"0 0 512 512"},positionBottomIcon:{name:"position-bottom",content:'<path d="M32 64v416h448V32H32zm416 0v384H64V64zM96 320h320v96H96z" />',viewBox:"0 0 512 512"},positionLeftIcon:{name:"position-left",content:'<path d="M448 32H32v448h448V32zm0 416H64V64h384zM96 96h96v320H96z" />',viewBox:"0 0 512 512"},positionRightIcon:{name:"position-right",content:'<path d="M64 480h416V32H32v448zm0-416h384v384H64zm256 32h96v320h-96z" />',viewBox:"0 0 512 512"},positionTopIcon:{name:"position-top",content:'<path d="M480 448V32H32v448h448zm-416 0V64h384v384zM96 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-32M128 64h192v64h64v64H128zm320 256h-64v127.9l-.1.1H128.1l-.1-.1V320H64v-32h384zm-288 0h192v32H160zm0 64h160v32H160z" />',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.2-.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 1s-.5.6-.7.9c-.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.6s-.8.5-1.3.7c-.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-.4s1-.3 1.5-.4 1-.2 1.5-.4l1.5-.3c.5-.1 1.1-.2 1.6-.3s1-.2 1.5-.2c.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.4" />',viewBox:"0 0 512 512"},qrCodeIcon:{name:"qr-code",content:'<path d="M320 0v192h192V0zm160 160H352V32h128zm-32-32h-64V64h64zM0 0v192h192V0zm160 160H32V32h128zm-32-32H64V64h64zM0 320v192h192V320zm160 160H32V352h128zm-32-32H64v-64h64zm32-224h32v32h-32zm0 64h-32v-32h32zm-64-64h32v32H96zm-32 32H32v-32h32zm32 32H64v-32h32zm128 0h-32v-32h32zm32-32h-32v-32h32zm0-64h32v32h-32zm0 0h-32v-32h32zm0-64h32v32h-32zm0 0h-32V96h32zm0-64h32v32h-32zm0 0h-32V32h32zm64 192h-32v-32h32zm-96 32h32v32h-32zm64 0h-32v-32h32zm0 64h-32v-32h32zm-32 32h-32v-32h32zm0 0h32v32h-32zm0 64h-32v-32h32zm64-64h-32v-32h32zm0-64h-32v-32h32zm0-64h32v32h-32zm64 0h-32v-32h32zm32 32h-32v-32h32zm32-32h-32v-32h32zm-96 32h32v32h-32zm0 64h-32v-32h32zm0 0h32v32h-32zm32-32h32v32h-32zm32-32h32v32h-32zm-96 96h32v32h-32zm0 64h-32v-32h32zm-32 32h-32v-32h32zm192-192h-32v-32h32zM352 416h32v32h-32zm0 64h-32v-32h32zm64-64h-32v-32h32zm32-96h32v32h-32zm0 64h-32v-32h32zm-32 32h32v32h-32zm0 64h-32v-32h32zm64-64h-32v-32h32zm0 64h-32v-32h32zm32-32h-32v-32h32zm0-64h-32v-32h32zm0-64h-32v-32h32zm0-64h-32v-32h32zM256 512h-32v-32h32zm64 0h-32v-32h32zm32-32h32v32h-32zm64 0h32v32h-32zm96 32h-32v-32h32z" />',viewBox:"0 0 512 512"},qrCodeOutlineIcon:{name:"qr-code-outline",content:'<path d="M192 224v32h-32v-32zm-64 64h32v-32h-32zm-32-64v32h32v-32zm-32 64h32v-32H64zm128 0h32v-32h-32zm64-64h-32v32h32zm32-32h-32v32h32zm-64-32v32h32v-32zm64-32h-32v32h32zm-64-32v32h32V96zm64-32h-32v32h32zm32 192v-32h-32v32zm-96 32v32h32v-32zm64-32h-32v32h32zm0 64h-32v32h32zm-64 32v32h32v-32zm32 32v32h32v-32zm-32 64h32v-32h-32zm64-96v32h32v-32zm32-32v-32h-32v32zm32-32v-32h-32v32zm32-64h-32v32h32zm32 64v-32h-32v32zm32-64h-32v32h32zm-64 96v-32h-32v32zm-32 32v-32h-32v32zm0 32h32v-32h-32zm32-32h32v-32h-32zm64-32v-32h-32v32zm-128 64v32h32v-32zm-32 64h32v-32h-32zm64 0h32v-32h-32zm32-32h32v-32h-32zm64-32v-32h-32v32zm0 64v-32h-32v32zM512 0v512H0V0zm-32 32H32v448h448zm-32 160H320V64h128zm-32-32-.5-64H352v64zm-224 32H64V64h128zm-32-32-.5-64H96v64zm32 288H64V320h128zm-32-32-.5-64H96v64z" />',viewBox:"0 0 512 512"},qrCodeScannerIcon:{name:"qr-code-scanner",content:'<path d="M512 0v96h-32V32h-64V0zm-32 448h-64v32h96v-96h-32zM64 64h128v128H64zm32 96h64V96H96zM32 32h64V0H0v96h32zm0 224h448v-32H32zm0 128H0v96h96v-32H32zM288 96h-32v32h32zm-64-32v32h32V64zm224 128H320V64h128zm-32-96h-64v64h64zm-128 96v-32h-32v32zm-32-64h-32v32h32zM64 288h128v128H64zm32 96h64v-64H96zm192-64h-32v32h32zm-64-32v32h32v-32zm32 128h32v-32h-32zm-32-64v32h32v-32zm96-64h-32v32h32zm-32 64v32h32v-32zm64 0v-32h-32v32zm-32 64h32v-32h-32zm64-128h-32v32h32zm-32 64v32h32v-32zm64 0v-32h-32v32zm0 64v-32h-32v32zm32-128h-32v32h32zm0 96v-32h-32v32z" />',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 96M224 416h64v-64h-64zm256-160c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224m-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192" />',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.4M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64m0 352c-88.4 0-160-71.6-160-160S167.6 96 256 96s160 71.6 160 160-71.6 160-160 160" />',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 64m0 352c-88.4 0-160-71.6-160-160S167.6 96 256 96s160 71.6 160 160-71.6 160-160 160" />',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 17m252.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-1q0-8.25-6.9-13.8c-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.1M394.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.2s-31 7.6-47 8.9c-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.1q11.25 0 23.1 1.2c11.85 1.2 15.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.4m-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.9m139.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-3s19.3-5.1 28.5-9.4c1.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.2m12.2-59.2q0-3.3-1.5-7.2c-1.2-4.6-4.2-8.4-8.8-11.5q-6.75-3.9-14.1-3.9c-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.4M480 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 32m-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.3s2.8-11.1 5.6-16.1c3.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.4q-8.1 0-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.3s-9.3 8.7-12.5 14.3c-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.1s-.2 3.6-.2 5.2c0 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.4q19.65 7.5 40.5 11.1c13.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.6s-.4-3.6-.7-5.1c7.5-3.7 13.7-8.9 18.7-15.8 5.3-7.2 7.9-15.2 7.9-24V245zm-37.1-17q-7.05-3.3-14.1-3.3c-4.6 0-8.9.9-12.9 2.9 6.5 5.3 12.5 10.9 17.7 17q7.95 9.15 13.2 20.4 3.3-2.85 6-6.9c1.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.9" />',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.6Q82.6 175 69.4 175h-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.8q-.3 3.75-.3 6.9c0 10 1.5 20 4.5 30.1s7.4 19.4 13.1 28.1c10.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.5s-.5-4.7-.9-6.8c10-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.9q-14.7-15-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-4m1.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-.2m-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.1s29 20.8 40 34.9c5.1 7.3 9.2 14.9 12.3 23s4.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.5M65.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.2m377.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.2s-14.9-15.6-23.6-22.7c5.3-2.6 11-3.8 17.2-3.8m-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.1m-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-2q0-11.85-9.9-20.1c-7.2-5.8-14.9-8.7-23.2-8.7m-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.1q36.75 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.2s-.4-3.2-1.3-5.8c-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.3s-2.2-.9-3.3-1.3c-2.7-.8-4.6-1.3-5.8-1.2" />',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 192" />',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.3zM80 384c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48" />',viewBox:"0 0 512 512"},removeHorizontalSpacingIcon:{name:"remove-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96zm-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.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.4z" />',viewBox:"0 0 512 512"},removeVerticalSpacingIcon:{name:"remove-vertical-spacing",content:'<path d="M192 320v96h96v64H64v-64h96v-96H0v-96h160v-96H96V32h160v96h-64v96h160v96zm320 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.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.4z" />',viewBox:"0 0 512 512"},reorderIcon:{name:"reorder",content:'<path d="M480 128v64H32v-64zM32 224v64h448v-64zm448 96H32v64h448z" />',viewBox:"0 0 512 512"},replaceAllIcon:{name:"replace-all",content:'<path d="M288 288h192v192H288zm64-64H224V32h128zM320 64h-64v128h64zM160 352H96V160h96V96H96c-35.3 0-64 28.7-64 64v192c0 35.3 28.7 64 64 64h64v64l96-96-96-96zM448 32v192h32V32zm-32 0h-32v192h32z" />',viewBox:"0 0 512 512"},replaceSingleIcon:{name:"replace-single",content:'<path d="M288 288h192v192H288zM32 160v192c0 35.3 28.7 64 64 64h64v64l96-96-96-96v64H96V160h160V96H96c-35.3 0-64 28.7-64 64M480 32v192H288V32zm-32 32H320v128h128z" />',viewBox:"0 0 512 512"},reportElementIcon:{name:"report-element",content:'<path d="M480 320V192H160v48H96v-80h256V32H32v128h32v320h32v-48h64v48h256V352H160v48H96V272h64v48ZM64 64h256v64H64Zm128 320h192v64H192z" />',viewBox:"0 0 512 512"},rewindIcon:{name:"rewind",content:'<path d="M256 256 512 96v320zm0 160V96L0 256z" />',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.9m344 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.3" />',viewBox:"0 0 512 512"},rotateIcon:{name:"rotate",content:'<path d="M256 448q12.3 0 24-1.8v32.3q-11.85 1.5-24 1.5c-12.15 0-16.1-.5-24-1.5v-32.3q11.7 1.8 24 1.8m-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.1zm-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.5zM256 128v64l128-80-128-80v64q-12.15 0-24 1.5c-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.5Q64 275.85 64 288c0 12.15.5 16.1 1.5 24h32.3Q96 300.3 96 288c0-12.3.6-16.2 1.8-24 1.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.2q11.7-1.8 24-1.8m190.5 136h-32.3q1.8 11.7 1.8 24c0 12.3-.6 16.2-1.8 24h32.3q1.5-11.85 1.5-24c0-12.15-.5-16.1-1.5-24m-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.5M314.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 24" />',viewBox:"0 0 512 512"},rotateLeftIcon:{name:"rotate-left",content:'<path d="M32 448 192 64v384zm192-160 256 160H224zm32 128h112.4L256 345.7zm64-256V96l-96 80 96 80v-64h96v96h32V160z" />',viewBox:"0 0 512 512"},rotateRightIcon:{name:"rotate-right",content:'<path d="M320 448V64l160 384zm-32 0H32l256-160zm-32-102.3L143.6 416H256zM64 160v128h32v-96h96v64l96-80-96-80v64z" />',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 128z" />',viewBox:"0 0 512 512"},rowFreezeIcon:{name:"row-freeze",content:'<path d="M32 448h416V32H32zM64 96l64 64H64zm96-32 96 96h-64L96 64zm128 0 96 96h-64l-96-96zm128 64-64-64h64zm-96 160v-96h96v96zm-128 0v-96h96v96zm-32 0H64v-96h96zm160 128v-96h96v96zm-128 0v-96h96v96zm-128 0v-96h96v96z" />',viewBox:"0 0 512 512"},rowsIcon:{name:"rows",content:'<path d="M480 64v96H32V64zM32 192v96h448v-96zm448 128H32v96h448z" />',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-32M115.2 447.6c-28.3 0-51.2-22.8-51.2-51s22.9-51 51.2-51 51.2 22.8 51.2 51-23 51-51.2 51m128.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.5zm129.9 0c0-171.2-139-310.4-309.9-310.4V64c211.6 0 383.8 172.3 383.8 384z" />',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.5M32 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.3M32 32v85.9c199.4 0 361.6 162.5 361.6 362.1h86.2C479.8 233 278.9 32 32 32" />',viewBox:"0 0 512 512"},rulerOutlineIcon:{name:"ruler-outline",content:'<path d="M448.37 192H48c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h400.37c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16m-16 96H64v-64h32.04v32h16.04v-32h32.06v32h16.03v-32h32.06v32h16.04v-32h32.06v32h16.03v-32h32.06v32h16.04v-32h32.06v32h16.03v-32h31.06v32h16.04v-32h32.72z" />',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-32V128zm-64 32v128h-64V64zm128 384-383.9.1-.1-.1V64.1l.1-.1H96v160h256V64h18.7l77.3 77.3z" />',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.3zM64 192c0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128S64 262.7 64 192" />',viewBox:"0 0 512 512"},selectAllIcon:{name:"select-all",content:'<path d="M448 448h32v32h-32zm0-448h32v32h-32zM0 448h32v32H0zM0 0h32v32H0zm448 384h32v32h-32zm0-64h32v32h-32zm0-64h32v32h-32zm0-64h32v32h-32zm0-64h32v32h-32zm0-64h32v32h-32zM0 384h32v32H0zm0-64h32v32H0zm0-64h32v32H0zm0-64h32v32H0zm0-64h32v32H0zm0-64h32v32H0zm128 384h32v32h-32zm-64 0h32v32H64zm128 0h32v32h-32zm64 0h32v32h-32zm64 0h32v32h-32zm64 0h32v32h-32zM64 0h32v32H64zm64 0h32v32h-32zm64 0h32v32h-32zm64 0h32v32h-32zm64 0h32v32h-32zm64 0h32v32h-32zm-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 192V64z" />',viewBox:"0 0 512 512"},selectBoxIcon:{name:"select-box",content:'<path d="M384 352H128v-32h256zm0 32H128v32h256zm0-128H128v32h256zm96-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 32M352 96l32 64 32-64zm64 128H96v224h320z" />',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-32M192 416H96V96h96zm224 0H224v-32h192zm0-64H224v-64h192zm0-96H224v-64h192zm0-96H224V96h192z" />',viewBox:"0 0 512 512"},shapeLineIcon:{name:"shape-line",content:'<path d="M480 54.6 54.6 480 32 457.4 457.4 32z" />',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-128H480zM192 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 125 0 0 1 3.764-.762 126 126 0 0 1 2.557-.448c.369-.061.736-.125 1.105-.184q3.635-.569 7.335-.932c.379-.037.759-.067 1.139-.101a132 132 0 0 1 3.913-.29q1.309-.075 2.623-.125c.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.174a127 127 0 0 1-.207 3.922q-.09 1.31-.207 2.613c-.034.38-.064.761-.102 1.14a127 127 0 0 1-.933 7.339c-.057.365-.121.728-.181 1.092a128 128 0 0 1-.683 3.785q-.256 1.29-.535 2.571c-.075.346-.147.692-.226 1.037a135 135 0 0 1-.855 3.552c-14.208 55.207-64.323 96-123.966 96m256-128h-96c0-88.365-71.635-160-160-160V64h256z" />',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 80" />',viewBox:"0 0 512 512"},sharpenIcon:{name:"sharpen",content:'<path d="M256 32 128 480h256zm0 116.5L341.6 448H170.4z" />',viewBox:"0 0 512 512"},signatureIcon:{name:"signature",content:'<path d="M32 448h448v32H32zM448 32H288v64h160zm-96 340.9L256 224l32-96h160l32 96-96 148.9V416h-32zm0-59.1V256h32v57.8l60.8-94.3-19.9-59.5H311.1l-19.9 59.6zM78.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.3" />',viewBox:"0 0 512 512"},silverlightIcon:{name:"silverlight",content:'<path d="M256 0 0 256l256 256 256-256zm-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.9m95.9-4V160h32v128h76v32z" />',viewBox:"0 0 512 512"},sizeToGridIcon:{name:"size-to-grid",content:'<path d="M384 384H128V128h256zM96 0H64v512h32zm352 0h-32v512h32zm64 64H0v32h512zm0 352H0v32h512z" />',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 32zm-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-32M176 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-32" />',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-32V64zM64 320V192l64 64zm166.4-64L352 162.5v187.1z" />',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-96zm-352 0h96v96h-96zm0 224v-96h96v96zm224 0h-96v-96h96zm0-128h-96v-96h96z" />',viewBox:"0 0 512 512"},snapToGridlinesIcon:{name:"snap-to-gridlines",content:'<path d="M160 32H0v416h288V32zm-32 384H32v-96h96zm0-128H32v-96h96zm0-128H32V64h96zm128 256h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V64h96zm256 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 80m-160-48h32v-32h-32zm0 128h32v-32h-32z" />',viewBox:"0 0 512 512"},snapToSnaplinesIcon:{name:"snap-to-snaplines",content:'<path d="M224 128h96V96h-96V32h-32v64h-64V32H96v64H32v32h64v256H32v32h64v64h32v-64h64v64h32v-64h256v-32H224zm-32 256h-64V128h64zm208-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 80m-48-160h-32v32h32zm-32 160h32v-32h-32z" />',viewBox:"0 0 512 512"},sortAscIcon:{name:"sort-asc",content:'<path d="M96 352h320v64H96zm0-128h224v64H96zm0-128h128v64H96z" />',viewBox:"0 0 512 512"},sortAscSmallIcon:{name:"sort-asc-small",content:'<path d="M256 192v224h-32V192h-96L240 64l112 128z" />',viewBox:"0 0 512 512"},sortClearIcon:{name:"sort-clear",content:'<path d="m110.9 224 64 64H96v-64zM96 416h128v-64H96zm214.6-128h9.4v-64h-73.4l-64-64H416V96H118.6l-64-64L32 54.6 457.4 480l22.6-22.6z" />',viewBox:"0 0 512 512"},sortDescIcon:{name:"sort-desc",content:'<path d="M96 96h320v64H96zm0 128h224v64H96zm0 128h128v64H96z" />',viewBox:"0 0 512 512"},sortDescSmallIcon:{name:"sort-desc-small",content:'<path d="M352 288 240 416 128 288h96V64h32v224z" />',viewBox:"0 0 512 512"},sparklesIcon:{name:"sparkles",content:'<path d="m320 32 54.3 137.7L512 224l-137.7 54.3L320 416l-54.3-137.7L128 224l137.7-54.3zM94 350 0 384l94 34 34 94 34-94 94-34-94-34-34-94zM70.6 70.6 0 96l70.5 25.5L96 192l25.5-70.5L192 96l-70.5-25.5L96 0 70.5 70.5Z" />',viewBox:"0 0 512 512"},spellCheckerIcon:{name:"spell-checker",content:'<path d="M113.2 206.2q-11.1 9.3-24.6 13.5c-13.5 4.2-19.3 4.2-31 4.2-8.4 0-16.1-1-23.1-2.9s-13.1-4.9-18.2-8.8-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.2s-.3-5.4-.7-7.6c-.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.6s10.2 1.1 14.6 2c4.4 1 8.6 2.2 12.5 3.7s7.6 3.4 11.4 5.7c3.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.8zm-1-58H96.8c-16.2 0-28.4 2-36.5 5.9s-12.2 10.6-12.2 20.2q0 10.95 7.5 16.2c7.5 5.25 11.5 5.2 19.4 5.2 7.6 0 14.6-1.5 21.2-4.5s11.9-6.9 15.8-11.7v-31.3zm125.2-61.6c5.5-7.2 12.3-12.8 20.2-16.7S274 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.3s9.1 15.7 11.7 25.9 4 21.6 4 34.3-1.2 19-4.3 29.4c-3 10.4-7.6 17.9-13.3 25.2q-8.55 10.95-20.7 17.1c-12.15 6.15-17.3 6.1-27.5 6.1-17.5 0-31.9-5.2-43.3-15.6V224H192V0h45.4zm0 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.8zM442.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.1s-5.5-21.3-5.5-34 1.8-24 5.5-33.9 8.9-18.2 15.9-25.1q10.35-10.35 25.2-15.6 14.85-5.4 33.6-5.4 30 0 48 14.1c18 14.1 19 23 21 40.9h-41c-1-7-3.9-12.7-8.8-16.9s-11.2-6.3-19.2-6.3c-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.4m69.8 0L224 512 64 352l64-64 96 96z" />',viewBox:"0 0 512 512"},stampIcon:{name:"stamp",content:'<path d="M384 288h-32v-16c0-26.51-21.49-48-48-48 0-15.19 5.53-26.16 12.53-40.05 8.53-16.92 19.1-37.9 19.45-70.26.02-.56.02-1.12.02-1.69 0-44.18-35.82-80-80-80s-80 35.82-80 80c0 .57 0 1.13.02 1.69.35 32.36 10.92 53.34 19.45 70.26 7 13.89 12.53 24.86 12.53 40.05-26.51 0-48 21.49-48 48v16h-32c-35.35 0-64 28.65-64 64v64h31v16c0 26.51 21.49 48 48 48h225c26.51 0 48-21.49 48-48v-16h32v-64c0-35.35-28.65-64-64-64m-151.06-99.38c-2.66-6.7-5.8-12.93-8.9-19.08C215.79 153.17 208 137.71 208 112s21.53-48 48-48 48 21.53 48 48-7.79 41.17-16.04 57.54c-3.1 6.15-6.24 12.38-8.9 19.08-4.09 10.25-7.06 21.59-7.06 35.38h-32c0-13.79-2.97-25.13-7.06-35.38M192 272c0-8.82 7.18-16 16-16h96c8.82 0 16 7.18 16 16v16H192zm192 160c0 8.82-7.18 16-16 16H143c-8.82 0-16-7.18-16-16v-16h257zm32-48H96v-32c0-17.64 14.36-32 32-32h256c17.64 0 32 14.36 32 32z" />',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 480z" />',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.1zM256 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.5z" />',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 32v32h128zm128 160c0 35.3-28.7 64-64 64s-64-28.7-64-64v-96H64v96c0 106 86 192 192 192s192-86 192-192v-96H320zm96-192h-64c-17.7 0-32 14.3-32 32v32h128V96c0-17.7-14.3-32-32-32" />',viewBox:"0 0 512 512"},stickyNoteIcon:{name:"sticky-note",content:'<path d="M160 32v.37l.37-.37zM32 160v.37l.37-.37zM160.37 32 32 160.37V480h448V32zM160 77.63V160H77.63zM448 448H64V192h128V64h256zm-32-288H224v-32h192zm0 224H96v-32h320zm0-65H96v-32h320zm0-62H96v-32h320z" />',viewBox:"0 0 512 512"},stopIcon:{name:"stop",content:'<path d="M512 512H0V0h512z" />',viewBox:"0 0 512 512"},stopSmIcon:{name:"stop-sm",content:'<path d="M416 416H96V96h320z" />',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.3s11.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.1s-8.1-21.4-14.2-29.6c-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.8s-20.8-5.5-35.3-5.5c-14.6 0-27.4 2.1-38.5 6.4s-19.5 10.4-25.4 18.4c-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.7q21.75 0 32.7 10.5c5.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.6V389q17.1 27 47.1 27c20.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.6m105.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-.8m77.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.9m173.5 6.6c-7.5 7.5-16.9 11.2-28.2 11.2-14 0-25.4-5.6-34.1-16.7q-6.6-8.4-9.9-21.9h85.5c-2.6 11.9-7 21.1-13.3 27.4" />',viewBox:"0 0 512 512"},stripAllFormattingIcon:{name:"strip-all-formatting",content:'<path d="M32 480h224v32H0v.1V256h32zm32-32h159v-32H64zm97-96H63v32h98zm-65-64H64v32h32zm316.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.4M502.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.2" />',viewBox:"0 0 512 512"},stripCssFormatIcon:{name:"strip-css-format",content:'<path d="M0 288v224h416V288zm145 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.2s32.8-23.1 55.6-23.1c14.1 0 26 1.9 36 5.7zM260.6 450c-3.1 5.9-7.2 10.6-12.4 14.2s-11.3 6.2-18.2 7.8q-10.5 2.4-21.9 2.4c-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.8q10.35 3.9 20.7 3.9c4.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-5s1.5-4 1.5-6.2q0-4.5-2.4-8.1t-6.6-6.6c-4.2-3-6.1-4-9.9-5.8-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.2q0-12.15 4.5-20.7c4.5-8.55 7.1-10.6 12.3-14.3s11.2-6.5 18-8.3c6.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-2-5.8-.6-8.5-.6c-3.7 0-7.1.4-10.1 1.1-3 .8-5.6 1.8-7.7 3.2s-3.7 3-4.8 4.9-1.7 4-1.7 6.4c0 2.6.6 4.9 1.9 7s3.1 4 5.4 5.8 5.2 3.6 8.6 5.4 7.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.5m119 0c-3.1 5.9-7.2 10.6-12.4 14.2s-11.3 6.2-18.2 7.8q-10.5 2.4-21.9 2.4c-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.8q10.35 3.9 20.7 3.9c4.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-5s1.5-4 1.5-6.2q0-4.5-2.4-8.1t-6.6-6.6c-4.2-3-6.1-4-9.9-5.8-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.2q0-12.15 4.5-20.7c3-5.8 7.1-10.6 12.3-14.3s11.2-6.5 18-8.3c6.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-2-5.8-.6-8.5-.6c-3.7 0-7.1.4-10.1 1.1-3 .8-5.6 1.8-7.7 3.2s-3.7 3-4.8 4.9-1.7 4-1.7 6.4c0 2.6.6 4.9 1.9 7s3.1 4 5.4 5.8c2.4 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.5 6.2 11.8 9.9s5.8 7.9 7.6 12.6c1.7 4.7 2.6 10.2 2.6 16.3 0 8.5-1.5 15.7-4.6 21.5M502.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.2m-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.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.256m-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.921zM176 348.121 200.706 416h-49.412zM0 288v224h352V288zm224 192-11.647-32h-72.706L128 480H96l58.235-160h43.53L256 480z" />',viewBox:"0 0 512 512"},stripSpanElementsIcon:{name:"strip-span-elements",content:'<path d="M96 288 0 400l96 112h256V288zm170.3 167.5c-3.9 5.9-9.3 10.6-16.1 14.2s-14.6 6.2-23.6 7.8-18.4 2.4-28.4 2.4c-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.2q5.85-1.2 9.9-3.3c2.6-1.4 4.6-3.1 5.9-5s2-4 2-6.2c0-3-1-5.7-3.1-8.1s-4.9-4.6-8.5-6.6-7.9-4-12.8-5.8c-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.8s9.2-10.5 15.9-14.3c6.7-3.7 14.5-6.5 23.3-8.3s18.2-2.6 28.1-2.6q14.55 0 25.8 1.5c11.25 1.5 14.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.4s-7.8-1.6-11.6-2c-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.2s-4.8 3-6.2 4.9c-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.8q4.5 2.7 11.1 5.4 6.45 2.7 14.7 5.4c7.5 2.6 14.2 5.3 20.1 8.3q8.85 4.35 15.3 9.9c4.2 3.7 7.5 7.9 9.8 12.6s3.4 10.2 3.4 16.4c-.3 8.6-2.3 15.9-6.2 21.7M502.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.2m-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.9z" />',viewBox:"0 0 512 512"},stripWordFormattingIcon:{name:"strip-word-formatting",content:'<path d="M0 288v224h352V288zm239.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-29h64zM502.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.2M409.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 0z" />',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-32zm191.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.3M283.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.3z" />',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-96zm26.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 96v32z" />',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 32zM63.9 32l254.3-.2L286.4 0 63.8.2C46.2.2 32 14.4 32 32l.1 128H64zm.1 351H32v32c0 17.7 14.3 32 32 32zm-32-62.9S64 288 95 288v32l65-48.1L96 224v32c-32.1 0-64 32.1-64 64.1M352 384l-160 .1V416l160-.1zm-96-192c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64h-64zm32-32v64h64c0-35.3-28.7-64-64-64" />',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.6zm167.7 144h81.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.4s7.8-6 10.7-8.9c2.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.1v-30.5c16.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.3s-6.3 10.8-10.8 15.4-9.7 8.8-15.6 12.7c-5.9 3.8-12 7.6-18.3 11.1-4.3 2.5-8.4 5-12.4 7.4q-6 3.75-10.5 7.2c-3.1 2.6-7.1 6.6-10 10.4" />',viewBox:"0 0 512 512"},sumIcon:{name:"sum",content:'<path d="M416 64v128l-64-64H160l128 128-128 128h192l64-64v128H96v-64l128-128L96 128V64z" />',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.6zm167.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.4s7.8-6 10.7-8.9c2.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.3s-6.3 10.8-10.8 15.4-9.7 8.8-15.6 12.7c-5.9 3.8-12 7.6-18.3 11.1-4.3 2.5-8.4 5-12.4 7.4q-6 3.75-10.5 7.2c-3.1 2.5-7.1 6.5-10 10.3" />',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.5V416z" />',viewBox:"0 0 512 512"},tableAddIcon:{name:"table-add",content:'<path d="M448 320V32H32v416h288V320zm-288 96H64v-96h96zm0-128H64v-96h96zm0-128H64V64h96zm128 256h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V64h96zm32-96h96v96h-96zm0 224v-96h96v96zm192 128v32h-64v64h-32v-64h-64v-32h64v-64h32v64z" />',viewBox:"0 0 512 512"},tableAlignBottomCenterIcon:{name:"table-align-bottom-center",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm288 224H160v32h192zm64 64H96v32h320zm-64 64H160v32h192z" />',viewBox:"0 0 512 512"},tableAlignBottomLeftIcon:{name:"table-align-bottom-left",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm32 256h192v-32H96zm0 64h320v-32H96zm0 64h192v-32H96z" />',viewBox:"0 0 512 512"},tableAlignBottomRightIcon:{name:"table-align-bottom-right",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm352 224H224v32h192zm0 64H96v32h320zm0 64H224v32h192z" />',viewBox:"0 0 512 512"},tableAlignMiddleCenterIcon:{name:"table-align-middle-center",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm288 128H160v32h192zm64 64H96v32h320zm-64 64H160v32h192z" />',viewBox:"0 0 512 512"},tableAlignMiddleLeftIcon:{name:"table-align-middle-left",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm32 160h192v-32H96zm0 64h320v-32H96zm0 64h192v-32H96z" />',viewBox:"0 0 512 512"},tableAlignMiddleRightIcon:{name:"table-align-middle-right",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm352 128H224v32h192zm0 64H96v32h320zm0 64H224v32h192z" />',viewBox:"0 0 512 512"},tableAlignRemoveIcon:{name:"table-align-remove",content:'<path d="M32 0v480h448V0zm416 448H64V32h384zM131.6 224l29.9 32H128v-32zm-3.6 64h63.4l29.9 32H128zm123.1 64 29.9 32H128v-32zM96 92l22.6-22.6L143.5 96H384v32H173.4l29.9 32H384v32H233.1l29.9 32h121v32h-91.2l29.9 32H384v32h-31.4l63.4 68-22.6 22.6z" />',viewBox:"0 0 512 512"},tableAlignTopCenterIcon:{name:"table-align-top-center",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm288 32H160v32h192zm64 64H96v32h320zm-64 64H160v32h192z" />',viewBox:"0 0 512 512"},tableAlignTopLeftIcon:{name:"table-align-top-left",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm32 64h192V64H96zm0 64h320v-32H96zm0 64h192v-32H96z" />',viewBox:"0 0 512 512"},tableAlignTopRightIcon:{name:"table-align-top-right",content:'<path d="M32 480V0h448v480zM64 32v416h384V32zm352 32H224v32h192zm0 64H96v32h320zm0 64H224v32h192z" />',viewBox:"0 0 512 512"},tableBodyIcon:{name:"table-body",content:'<path d="M32 32v416h416V32zm256 32v96h-96V64zm128 256v64L224 192h64zM64 64h96v96H64zm0 128h96v96H64zm0 224v-96h96v96zm128 0v-64l64 64zm128 0L192 288v-64l192 192zm96-160-64-64h64zm0-96h-96V64h96z" />',viewBox:"0 0 512 512"},tableCellDeleteIcon:{name:"table-cell-delete",content:'<path d="M96 192h160v128H96zM32 352h160v128H32zm32 32v64h96v-64zm128-224H32V32h160zm-32-96H64v64h96zm262.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.627z" />',viewBox:"0 0 512 512"},tableCellIcon:{name:"table-cell",content:'<path d="M32 32v416h416V32zm128 384H64v-96h96zm0-128H64v-96h96zm0-128H64V64h96zm128 256h-96v-96h96zm0-256h-96V64h96zm128 256h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V64h96z" />',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.255M384 256l32-32v288H0V96h288l-32 32h-96v96h32v96h96v32h96zM128 384H32v96h96zm0-128H32v96h96zm0-128H32v96h96zm128 256h-96v96h96zm128 0h-96v96h96zm8.483-332.365 67.882 67.882-141.588 141.588L290.66 288H224v-66.66l26.895-28.118zm22.627 67.882L392.483 96.89 256.719 232.654l11.314 11.314 11.314 11.314z" />',viewBox:"0 0 512 512"},tableColumnDeleteIcon:{name:"table-column-delete",content:'<path d="M192 288v224h128V288zm0-288v64h128V0zm160 32h128v416H352zm96 288h-64v96h64zm0-128h-64v96h64zm0-128h-64v96h64zM32 32h128v416H32zm96 288H64v96h64zm0-128H64v96h64zm0-128H64v96h64zm128 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 96z" />',viewBox:"0 0 512 512"},tableColumnGroupsIcon:{name:"table-column-groups",content:'<path d="M32 32v416h416V32zm256 32v64l-64-64zm0 320-96-96v-64l96 96zM192 96l96 96v64l-96-96zM64 64h96v96H64zm0 128h96v96H64zm0 224v-96h96v96zm128 0v-64l64 64zm224 0h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V64h96z" />',viewBox:"0 0 512 512"},tableColumnInsertLeftIcon:{name:"table-column-insert-left",content:'<path d="M32 480V0h128v480zM480 32v416H192V32zM224 160h96V64h-96zm0 128h96v-96h-96zm0 128h96v-96h-96zm224-96h-96v96h96zm0-32v-96h-96v96zm0-224h-96v96h96z" />',viewBox:"0 0 512 512"},tableColumnInsertRightIcon:{name:"table-column-insert-right",content:'<path d="M352 480V0h128v480zM320 32v416H32V32zm-32 32h-96v96h96zm0 128h-96v96h96zm0 128h-96v96h96zM64 416h96v-96H64zm96-128v-96H64v96zM64 160h96V64H64z" />',viewBox:"0 0 512 512"},tableCornerIcon:{name:"table-corner",content:'<path d="M32 32v416h416V32zm256 32v96h-96V64zm0 128v96h-96v-96zM160 64v64L96 64zM64 96l64 64H64zm0 96h96v96H64zm0 224v-96h96v96zm128 0v-96h96v96zm224 0h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V64h96z" />',viewBox:"0 0 512 512"},tableDeleteIcon:{name:"table-delete",content:'<path d="M32 32v416h416V32zm384 128h-64v32h64v96h-64v32h64v96h-96v-64h-32v64h-96v-64h-32v64H64v-96h64v-32H64v-96h64v-32H64V64h96v64h32V64h96v64h32V64h96zm-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.6z" />',viewBox:"0 0 512 512"},tableIcon:{name:"table",content:'<path d="M32 32v416h416V32zm256 32v96h-96V64zm0 128v96h-96v-96zM64 64h96v96H64zm0 128h96v96H64zm0 224v-96h96v96zm128 0v-96h96v96zm224 0h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V64h96z" />',viewBox:"0 0 512 512"},tablePositionCenterIcon:{name:"table-position-center",content:'<path d="M352 256V32H128v224zM256 64h64v64h-64zm-32 160h-64v-64h64zm0-96h-64V64h64zm32 32h64v64h-64zM32 448h320v32H32zm448-128v32H32v-32zM32 384h448v32H32z" />',viewBox:"0 0 512 512"},tablePositionEndIcon:{name:"table-position-end",content:'<path d="M32 384h448v32H32zm0 96h320v-32H32zM480 32v224H256V32zM352 160h-64v64h64zm0-96h-64v64h64zm96 96h-64v64h64zm0-96h-64v64h64zM32 352h448v-32H32z" />',viewBox:"0 0 512 512"},tablePositionStartIcon:{name:"table-position-start",content:'<path d="M480 320v32H32v-32zM32 416h448v-32H32zm192-160H32V32h224v224zm-64-128h64V64h-64zm-32 32H64v64h64zm0-96H64v64h64zm32 160h64v-64h-64zM32 480h320v-32H32z" />',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.255M392.483 51.635l67.882 67.882L290.66 288H224v-66.66zm22.627 67.882L392.483 96.89 256.719 232.654l22.627 22.627zM384 256l32-32v288H0V96h288l-32 32h-96v224h224zM128 384H32v96h96zm0-128H32v96h96zm0-128H32v96h96zm128 256h-96v96h96zm128 0h-96v96h96z" />',viewBox:"0 0 512 512"},tableRowDeleteIcon:{name:"table-row-delete",content:'<path d="M224 192H0v128h224zm288 0h-64v128h64zm-32 160v128H64V352zm-288 96v-64H96v64zm128 0v-64h-96v64zm128 0v-64h-96v64zm32-416v128H64V32zm-288 96V64H96v64zm128 0V64h-96v64zm128 0V64h-96v64zm-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.627z" />',viewBox:"0 0 512 512"},tableRowGroupsIcon:{name:"table-row-groups",content:'<path d="M32 32v416h416V32zm256 32v96h-96V64zm-64 128h64l96 96h-64zm32 96h-64l-96-96h64zM64 64h96v96H64zm0 160 64 64H64zm0 192v-96h96v96zm128 0v-96h96v96zm224 0h-96v-96h96zm0-160-64-64h64zm0-96h-96V64h96z" />',viewBox:"0 0 512 512"},tableRowInsertAboveIcon:{name:"table-row-insert-above",content:'<path d="M480 160H0V32h480zM32 192h416v288H32zm32 32v96h96v-96zm128 0v96h96v-96zm128 0v96h96v-96zm96 224v-96h-96v96zm-128-96h-96v96h96zm-128 96v-96H64v96z" />',viewBox:"0 0 512 512"},tableRowInsertBelowIcon:{name:"table-row-insert-below",content:'<path d="M480 480H0V352h480zM32 32h416v288H32zm128 256v-96H64v96zm128 0v-96h-96v96zm128 0v-96h-96v96zM320 64v96h96V64zm-32 0h-96v96h96zM64 64v96h96V64z" />',viewBox:"0 0 512 512"},tableUnmergeIcon:{name:"table-unmerge",content:'<path d="M32 32v416h416V32zm160 32h96v96h-96zm96 128v96h-96v-96zM64 64h96v96H64zm0 128h96v96H64zm96 224H64v-96h96zm128 0h-96v-96h96zm128 0h-96v-96h96zm0-128h-96v-96h96zm0-128h-96V64h96z" />',viewBox:"0 0 512 512"},tableWizardIcon:{name:"table-wizard",content:'<path d="M160 384V160h224v96l32 32V0H0v416h288l-32-32zM288 32h96v96h-96zm-128 0h96v96h-96zm-32 352H32v-96h96zm0-128H32v-96h96zm0-128H32V32h96zm376.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 31m-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.4" />',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-32M144 96c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48m80 320H64v-96c0-48.3 26-96 80.2-96 51.7 0 79.8 52.1 79.8 96zm223.6 0H288s0-192 80-192 79.6 192 79.6 192m-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.1" />',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.2zc.2 0 0 0 0 0m.6 0h.9zM128 224c-64.9 0-96 70-96 128v96h192v-96c0-52.7-34-128-96-128m256 0c-96 0-96 224-96 224h192s0-224-96-224m-192-96c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64" />',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 4s7.2-1.3 9.6-3.8c2.4-2.4 3.6-5.9 3.6-10.2l-.2-5.8c0-1.9.9-3.5 2.7-5.1s4.4-2.4 7.9-2.4c4.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.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.2zm-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.8M172.5 254l14.7-44.6 14.4 44.6zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128zm64 416H96V64h224v96h96zm-224-32h-64v-64h64zm96 0h-64v-64h64zm96 0h-64v-64h64z" />',viewBox:"0 0 512 512"},textClipIcon:{name:"text-clip",content:'<path d="M64 32v448h32V32zm384 448V32h-32v448zM320 320v-48H128v-32h192v-48l96 64z" />',viewBox:"0 0 512 512"},textOverflowIcon:{name:"text-overflow",content:'<path d="M288 304v176h32V304zm0-272v176h32V32zM64 32v448h32V32zm288 288v-48H128v-32h224v-48l96 64z" />',viewBox:"0 0 512 512"},textTruncateIcon:{name:"text-truncate",content:'<path d="M448 32v384h-32V64H95.92L96 480H64V32zm0 416h-32v32h32zm-64 .08h-31.92V480H384zm-64-.08h-32v32h32z" />',viewBox:"0 0 512 512"},textWrapArrowIcon:{name:"text-wrap-arrow",content:'<path d="M64 176v32h384v-32zm0-64v32h384v-32zm0 256v32h160v-32zm0-64v32h160v-32zm0 128v32h160v-32zm288-32v.12c5.22.04 10.43.04 16.04-.12zm94.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.12M64 48v32h384V48z" />',viewBox:"0 0 512 512"},textWrapIcon:{name:"text-wrap",content:'<path d="M480 96v32H96V96zM352 256v224H32V256zm-32 32H64v160h256zm-32 32H96v32h192zm0 96v-32H96v32zM64 64h288V32H32v160h320v-32H64z" />',viewBox:"0 0 512 512"},textareaIcon:{name:"textarea",content:'<path d="M448 448h-32V256h32zM194 334c1.8 3.2 2.7 6.9 3 11.2h27c-.9-7.3-3.1-13.8-6.4-19.6s-7.6-10.5-12.7-14.2c-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.9s-15.7 8.1-21.8 14.4c-6 6.3-10.7 14.1-14 23.3S96 361.9 96 373.7c0 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.4s5.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.4m14-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.6s1.2 5.6 1.4 9.4c.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-44m-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.8s-8 3.3-12.2 4.3-8.6 1.4-12.8 1.4c-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.9h18zM380 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.9m-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.7M256 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 31m26.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.7" />',viewBox:"0 0 512 512"},textboxHiddenIcon:{name:"textbox-hidden",content:'<path d="M0 160h32v64H0zm0-32h32V64H0zm0 288h32v-64H0zm160 96h64v-32h-64zm-96 0h64v-32H64zM352 0h-64v32h64zm-96 0h-64v32h64zM0 512h32v-64H0zM448 0h-64v32h64zM160 0H96v32h64zM64 0H0v32h64zM0 320h32v-64H0zm480 128h32v-64h-32zm0-96h32v-64h-32zm0-96h32v-64h-32zm0-96h32V96h-32zm0-160v64h32V0zm-32 512h64v-32h-64zm-192 0h64v-32h-64zm96 0h64v-32h-64zm-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.5m10.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.7M224 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.4s-1.7-4.8-3.2-6.6c-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 44M198 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-9zM448 64h-32v384h32z" />',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.6s1.2 5.6 1.4 9.4c.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-44m-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.8s-8 3.3-12.2 4.3-8.6 1.4-12.8 1.4c-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.9h18zm170.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.7m-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.7M448 64v384h-32V64z" />',viewBox:"0 0 512 512"},thumbDownIcon:{name:"thumb-down",content:'<path d="M12.2 208a47.8 47.8 0 0 1 23.2-78.3 48 48 0 0 1 32-64A48 48 0 0 1 112 0h160c38 0 55 14 80 32v224c-29 47-53 99-64.3 149.5A48 48 0 0 1 192 400V288H48a48 48 0 0 1-35.8-80M384 32v224a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32V32a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32" />',viewBox:"0 0 512 512"},thumbDownOutlineIcon:{name:"thumb-down-outline",content:'<path d="M0 240a48 48 0 0 0 48 48h144v112a48 48 0 0 0 95.7 5.5C299 355 323 303 352 256a32 32 0 0 0 32 32h96a32 32 0 0 0 32-32V32a32 32 0 0 0-32-32h-96a32 32 0 0 0-32 32c-25-18-42-32-80-32H112a48 48 0 0 0-44.6 65.7 48 48 0 0 0-32 64A48 48 0 0 0 12.2 208 47.8 47.8 0 0 0 0 240M383.8 31.7h96v224h-96zm-332 160h-6c-8.8 0-14-7.2-14-16s7.1-16 16-16h32a16 16 0 1 0 0-32h-2c-8.9 0-14-7.2-14-16s7.1-16 16-16h32a16 16 0 1 0 0-32 16 16 0 1 1 0-32h160c23 2 65 36 80 48v128c-49 50-85 142-96 192a16 16 0 1 1-32 0v-144h-176c-8.9 0-16-7.2-16-16s5.1-16 14-16h5.8c8-1 14.2-7.9 14.2-16s-6.2-15-14-16" />',viewBox:"0 0 512 512"},thumbUpIcon:{name:"thumb-up",content:'<path d="M499.8 240a47.8 47.8 0 0 1-23.2 78.3 48 48 0 0 1-32 64A48 48 0 0 1 400 448H240c-38 0-55-14-80-32V192c29-47 53-99 64.3-149.5A48 48 0 0 1 320 48v112h144a48 48 0 0 1 35.8 80M128 416V192a32 32 0 0 0-32-32H32a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32" />',viewBox:"0 0 512 512"},thumbUpOutlineIcon:{name:"thumb-up-outline",content:'<path d="M512 208a48 48 0 0 0-48-48H320V48a48 48 0 0 0-95.7-5.5C213 93 189 145 160 192a32 32 0 0 0-32-32H32a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h96a32 32 0 0 0 32-32c25 18 42 32 80 32h160a48 48 0 0 0 44.6-65.7 48 48 0 0 0 32-64 48 48 0 0 0 23.2-78.3 47.8 47.8 0 0 0 12.2-32M128.2 416.3h-96v-224h96zm332-160h6c8.8 0 14 7.2 14 16s-7.2 16-16 16h-32a16 16 0 1 0 0 32h2c8.8 0 14 7.2 14 16s-7.2 16-16 16h-32a16 16 0 1 0 0 32 16 16 0 1 1 0 32h-160c-23-2-65-36-80-48v-128c49-50 85-142 96-192a16 16 0 1 1 32 0v144h176a16 16 0 0 1 16 16c0 8.9-5.2 16-14 16h-5.8a16.2 16.2 0 0 0-.1 32Z" />',viewBox:"0 0 512 512"},thumbnailsDownIcon:{name:"thumbnails-down",content:'<path d="M352 352h96v96h-96zm-160 0h96v96h-96zm-160 0h96v96H32zm0-320h416v256H32z" />',viewBox:"0 0 512 512"},thumbnailsLeftIcon:{name:"thumbnails-left",content:'<path d="M32 32v96h96V32zm160 0v416h256V32zM32 192v96h96v-96zm0 160v96h96v-96z" />',viewBox:"0 0 512 512"},thumbnailsRightIcon:{name:"thumbnails-right",content:'<path d="M352 352h96v96h-96zm0-160h96v96h-96zm0-160h96v96h-96zM32 32h256v416H32z" />',viewBox:"0 0 512 512"},thumbnailsUpIcon:{name:"thumbnails-up",content:'<path d="M352 32h96v96h-96zm-160 0h96v96h-96zM32 32h96v96H32zm0 160h416v256H32z" />',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-32zm320 416H96V64h320zm-32-288H224v-32h160zm-64 64h-96v-32h96zm0 64h-96v-32h96zm64 64H224v-32h160z" />',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-32zm320 416H96V64h320zm-32-288H192v-32h192zm0 64h-96v-32h96zm0 64h-96v-32h96zm0 64h-96v-32h96zm-192-32v-96l64 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-32m0 319.942a1 1 0 0 1-.058.058H64.058a.5.5 0 0 1-.058-.058V64.057a1 1 0 0 1 .057-.057h383.885q.031.027.058.057zM384 480H128c35.346 0 64-28.654 64-64h128c0 35.346 28.654 64 64 64m32-160H96c58.263-113.973 183.21-192 320-192z" />',viewBox:"0 0 512 512"},toolbarFloatIcon:{name:"toolbar-float",content:'<path d="M64 352h416v128H64zm96 32H96v64h96v-64zm160 0h-96v64h96zm32 0v64h96v-64zM63.961 131.844l90.51 90.51 45.255-45.255-90.51-90.51zm0 0 90.51 90.51 45.255-45.255-90.51-90.51zm158.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.373zm-67.882 22.627-90.51-90.51 45.255-45.255 90.51 90.51zM480 256h-64v64h64z" />',viewBox:"0 0 512 512"},trackChangesAcceptAllIcon:{name:"track-changes-accept-all",content:'<path d="M128 160H96V96c0-17.7 14.3-32 32-32h224l64 64h-96V96H128zm264.5 51.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1zm22.6 67.9-22.6-22.6-135.8 135.8L268 404l11.3 11.3zM416 480H128v-96H96v96c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V337.155l-32 32zm86.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.3M160 448h32v-32h-32zM64 32h256L288 0H64C46.3 0 32 14.3 32 32v128h32zm0 352H32v32c0 17.7 14.3 32 32 32zm179-253L112 262l-67-67-45 45 112 112 176-176z" />',viewBox:"0 0 512 512"},trackChangesAcceptIcon:{name:"track-changes-accept",content:'<path d="M128 128H96V64c0-17.7 14.3-32 32-32h224l64 64h-96V64H128zm122.9 193.2L224 349.3V416h66.7l28.1-26.9 141.6-141.6-67.9-67.9zm28.4 62.1L268 372l-11.3-11.3 135.8-135.8 22.6 22.6zM416 337.155l32-32V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32v-96h32v96h288zM502.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.3M288 144 112 320 0 208l45-45 67 67L243 99zm-96 272h-32v-32h32z" />',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.3m-110.2-25.7 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1zm22.6 67.9-22.6-22.6-135.8 135.8L268 340l11.3 11.3zM160 320h32v-32h-32zm0-64h96v-32h-96zm128-96H160v32h128zM160 384h32v-32h-32zm256 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 32z" />',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.8zm-19.7 19.6L250.9 417.2 224 445.3V512h66.7l28.1-26.9 141.6-141.6zM279.3 479.3 268 468l-11.3-11.3 135.8-135.8 22.6 22.6zM288 160H160v32h128zm64 64H160v32h192zm-64 64H160v32h128zm-64 64h-64v32h64zm188.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.8zm-19.7 19.6L250.9 417.2 224 445.3V512h66.7l28.1-26.9 141.6-141.6zM279.3 479.3 268 468l-11.3-11.3 135.8-135.8 22.6 22.6zM96 416V64h224v96h96v32h32v-64l-96-96H96c-17.7 0-32 14.3-32 32v352c0 17.7 14.3 32 32 32h96v-32zM0 512h192v-32H0z" />',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.627zM128 96h192v32h96l-64-64H128c-17.7 0-32 14.3-32 32v64h32zm264.5 115.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1zm22.6 67.9-22.6-22.6-135.8 135.8L268 404l11.3 11.3zM416 480H128v-96H96v96c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V337.155l-32 32zm86.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.3M160 448h32v-32h-32zM64 32h256L288 0H64C46.3 0 32 14.3 32 32v128h32zm0 352H32v32c0 17.7 14.3 32 32 32z" />',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.627zM192 384v-32h-32v32zm310.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.3M96 64h224v96l80.11-79.89L352 32H96c-17.7 0-32 14.3-32 32v96h32zm296.5 83.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1zm22.6 67.9-22.6-22.6-135.8 135.8L268 340l11.3 11.3zM416 448H96v-64H64v64c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V273.155l-32 32z" />',viewBox:"0 0 512 512"},transparencyIcon:{name:"transparency",content:'<path d="M64 64v352h352V64zm32 32h96v96h96V96h96v96h-96v96h96v96h-96v-96h-96v96H96v-96h96v-96H96z" />',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-32V160h32zM192 64h95.9l.1.1V96h-96c.1-.1.1-32.1 0-32m160 384H128.1l-.1-.1V160h32v256h32V160h32v256h32V160h32v256h32V160h32z" />',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-32m-96.1 366c-12.7 6.4-28.5 11.6-38.9 14.2s-21.6 3.9-33.7 3.9c-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.5s6.4 10.7 11.4 13.8c6.6 4.2 14.2 6.4 22.7 6.4 15.1 0 34.3-5.9 49.3-16.5V398z" />',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.7q27 0 50.4-5.4c15.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-96V32z" />',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-32m-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.5" />',viewBox:"0 0 512 512"},twitterIcon:{name:"twitter",content:'<path d="M342 64c-50.8 0-91.9 41.2-91.9 91.9q0 10.8 2.4 21c-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 64" />',viewBox:"0 0 512 512"},underlineIcon:{name:"underline",content:'<path d="M128 416h256v32H128zM320 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-96V64z" />',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 224" />',viewBox:"0 0 512 512"},ungroupIcon:{name:"ungroup",content:'<path d="M32 256h192v192H32zm32-64h128V64H64zm224 224h128V288H288zM256 32v192h192V32z" />',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 128M64 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 64M272 97.6V0h-32v97.6c5.2-1 10.5-1.6 16-1.6s10.8.6 16 1.6m-60.1 11.7-69-69-22.6 22.6 69 69c5.9-9 13.6-16.7 22.6-22.6m110.8 22.6 69-69-22.6-22.6-69 69c9 5.9 16.7 13.6 22.6 22.6M256 416c-5.5 0-10.8-.6-16-1.6V512h32v-97.6c-5.2 1-10.5 1.6-16 1.6m-66.7-35.9-69 69 22.6 22.6 69-69c-9-5.9-16.7-13.6-22.6-22.6m110.8 22.6 69 69 22.6-22.6-69-69c-5.9 9-13.6 16.7-22.6 22.6" />',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 16m-11.6-60.1 69-69-22.6-22.6-69 69c8.9 5.9 16.6 13.6 22.6 22.6m-22.7 110.8 69 69 22.6-22.6-69-69c-5.9 9-13.6 16.7-22.6 22.6M96 256c0-5.5.6-10.8 1.6-16H0v32h97.6c-1-5.2-1.6-10.5-1.6-16m35.9-66.8-69-69-22.6 22.6 69 69c5.9-8.9 13.6-16.6 22.6-22.6m-22.6 110.9-69 69 22.6 22.6 69-69c-9-5.9-16.7-13.6-22.6-22.6M128 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-128M256 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-64" />',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-32M288 384c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32" />',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-32v128H64v32h160v128h32zm0-128h160v64H256z" />',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 90zM268.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.1zm202.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-45" />',viewBox:"0 0 512 512"},uploadIcon:{name:"upload",content:'<path d="M32 384v96h448v-96zm192-64h64V192h96L256 32 128 192h96z" />',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 96m-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-192" />',viewBox:"0 0 512 512"},userOutlineIcon:{name:"user-outline",content:'<path d="M256 224c53.02 0 96-42.98 96-96s-42.98-96-96-96-96 42.98-96 96 42.98 96 96 96m0-32c-35.348 0-64-28.654-64-64s28.652-64 64-64 64 28.654 64 64-28.652 64-64 64M96 480c-17.7 0-32-14.301-32-32 0-106 86-192 192-192s192 86 192 192c0 17.699-14.301 32-32 32zm160-192c-88.367 0-160 71.635-160 160h320c0-88.365-71.633-160-160-160" />',viewBox:"0 0 512 512"},validationDataIcon:{name:"validation-data",content:'<path d="m64 352 64-64 96 96 288-160-288 288zm48.6-193.6c0 13-2.5 24.4-7.6 34.4s-12.3 17.7-21.8 23.1Q69.1 224 50.5 224H0V96h49.5c42.1 0 63.1 20.8 63.1 62.4m-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.7M216.2 224l-5.5-24h-37.2l-5.9 24H128l42.3-128h45.9L256 224zm-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.3m127.4 4v96h-32v-96h-32V96h98v32zm120.2 96-5.5-24h-37.2l-5.9 24H352l42.3-128h45.9L480 224zm-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.3" />',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-96h42zm272.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.1s14.5 11.8 23.8 15.4c9.4 3.6 20 5.4 31.6 5.4 19.4 0 34.7-4.8 45.9-14.3q16.8-14.25 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.2M316.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.3q-5.25-6.6-13.2-10.5c.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.5M64 352l64-64 96 96 288-160-288 288z" />',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 160zm252 0v224h104.6c29.3 0 51.9-6 67.7-17.9s23.7-28.9 23.7-50.8c0-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-10s13.7-10.6 17.5-17.1 5.8-13.7 5.8-21.5c0-36.1-30.5-54.2-91.4-54.2zm69.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-20zm0 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.2s-12.9 6.3-22.2 6.3h-23v-45.6z" />',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-32zm160 32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32m96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32m96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32M64 160h384v288H64zm32 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 224zm183.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.2 4-9.8 4-15.3c0-25.8-21.2-38.7-63.7-38.7h-67.9zm48.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-14zm0 62.5h19c5.5 0 9.9 1.5 13.3 4.4s5 6.8 5 11.4q0 7.8-5.7 12.3c-5.7 4.5-9 4.5-15.5 4.5h-16.1z" />',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 0m-64 384V128l192 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-32m-.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.049" />',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.723" />',viewBox:"0 0 512 512"},volumeDownIcon:{name:"volume-down",content:'<path d="M0 352h96l128 128V32L96 160H0zm288 28V132c55.2 14.2 96 64.3 96 124s-40.8 109.8-96 124" />',viewBox:"0 0 512 512"},volumeMuteIcon:{name:"volume-mute",content:'<path d="M96 160 224 32v448L96 352H0V160zm416 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.7z" />',viewBox:"0 0 512 512"},volumeUpIcon:{name:"volume-up",content:'<path d="M0 352h96l128 128V32L96 160H0zm288 28V132c55.2 14.2 96 64.3 96 124s-40.8 109.8-96 124m0-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 0" />',viewBox:"0 0 512 512"},walletSolidIcon:{name:"wallet-solid",content:'<path d="M448 160.24H64c-17.39 0-31.55 13.87-31.99 31.15-.01.17-.01.33-.01.5v256.14c0 17.67 14.33 31.98 32 31.98h384c17.67 0 32-14.31 32-31.98V192.22c0-17.67-14.33-31.98-32-31.98m0 95.93h-63.06c-34.31 0-63.25 26.62-64.87 60.88-1.73 36.65 27.62 67.03 63.93 67.03h64v31.98h-62.83c-51.93 0-95.36-40.75-97.11-92.61-1.84-54.49 41.82-99.25 95.94-99.25h64zm-66.08 95.86c-15.92-1-28.85-13.91-29.85-29.83-1.23-19.3 14.7-35.21 34.01-33.99 15.92 1 28.85 13.91 29.85 29.83 1.23 19.3-14.7 35.21-34.01 33.99M96 64.31v63.95h59l37.78-63.95zm153-32.3-9.34 15.87-.42.73-46.03 79.66h221.41l.52-.88z" />',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 224m-32-352h64v160h-64zm0 256v-64h64v64z" />',viewBox:"0 0 512 512"},warningTriangleIcon:{name:"warning-triangle",content:'<path d="M256 32 0 480h512zm-32 160h64v160h-64zm0 256v-64h64v64z" />',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-31m-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.7m-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-44m-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.9h18zM448 96h-32v320h32zm0-32H64V32h384zm0 415.6H64v-32h384z" />',viewBox:"0 0 512 512"},windowIcon:{name:"window",content:'<path d="M96 96v320h320V96zm288 288H128V192h256z" />',viewBox:"0 0 512 512"},windowMinimizeIcon:{name:"window-minimize",content:'<path d="M416 288v64H96v-64z" />',viewBox:"0 0 512 512"},windowRestoreIcon:{name:"window-restore",content:'<path d="M448 32v288h-32V128H160V32zM64 192h288v288H64zm32 256h224V288H96z" />',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.3M448 425.5 425.4 448 265.8 288.5c8.3-6.7 15.9-14.3 22.6-22.6z" />',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 32m128 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.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 96z" />',viewBox:"0 0 512 512"},xLogoIcon:{name:"x-logo",content:'<path d="M448 64h-32L288.01 204 199.04 64H64l146.02 226L64.03 448h31.02l128.96-141 88.01 141h135.96L302.53 222.49zm-55.99 352h-66.09l-84.89-131-122-189h66.05l85.37 130.89 12.97 20.59z" />',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.7zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32m0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192" />',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-32M332.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.7m-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.7m85.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.6m30.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.8" />',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.3M383.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.7m64.6 128c-32 0-96 32-96 32s64 32 96.4 32 31.5-32 31.5-32 .1-32-31.9-32m-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.5" />',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-32m0 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.136zM192 176l144 80-144 80z" />',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.7M192 336V176l144 80z" />',viewBox:"0 0 512 512"},zoomActualSizeIcon:{name:"zoom-actual-size",content:'<path d="M0 32v128L128 32zm384 0 128 128V32zm-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.4zM384 160v160l-48-64-48 64-80-96-80 96V160zm-96 32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32M0 352v128h128zm512 0L384 480h128z" />',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.4M384 320l-48-64-48 64-80-96-80 96V160h256zM0 160l96 96-96 96zm160 320 96-96 96 96zM352 32l-96 96-96-96zm160 128v192l-96-96zm-256 64c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32" />',viewBox:"0 0 512 512"},zoomInIcon:{name:"zoom-in",content:'<path d="M288 224h-64v64h-64v-64H96v-64h64V96h64v64h64zm192 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.7zM192 320c70.7 0 128-57.3 128-128S262.7 64 192 64 64 121.3 64 192s57.3 128 128 128" />',viewBox:"0 0 512 512"},zoomOutIcon:{name:"zoom-out",content:'<path d="M288 224H96v-64h192zm192 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.7zM192 320c70.7 0 128-57.3 128-128S262.7 64 192 64 64 121.3 64 192s57.3 128 128 128" />',viewBox:"0 0 512 512"}});!function(e){var t=window.kendo,n=t.html,i=t.ui.Widget,o=e.extend,r=i.extend({init:function(o,r){var a=this;i.fn.init.call(a,o,r),delete r.name,a._icon=new n.HTMLFontIcon(o,e.extend({},r)),a.element=a.wrapper=a._icon.element,t.notify(a)},options:o({},n.HTMLFontIcon.fn.options,{name:"FontIcon"}),setOptions:function(t){var o=this;i.fn.setOptions.call(o,t),o._icon=new n.HTMLFontIcon(o.element,e.extend({},o.options))}}),a=i.extend({init:function(o,r){var a=this;i.fn.init.call(a,o,r),delete r.name,a._icon=new n.HTMLSvgIcon(o,e.extend({},r)),a.element=a.wrapper=a._icon.element,t.notify(a)},options:o({},n.HTMLSvgIcon.fn.options,{name:"SvgIcon"}),setOptions:function(t){var o=this;i.fn.setOptions.call(o,t),t.icon&&this.element.html(""),o._icon=new n.HTMLSvgIcon(o.element,e.extend({},o.options))}});t.ui.plugin(r),t.ui.plugin(a),t.setDefaults("iconType","svg"),t.ui.svgIcons=l,t.ui.icon=n.renderIcon}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=n.ui,r=".kendoFloatingLabel",a="k-empty",s="k-focus",l="k-disabled",c="k-readonly",d=i.extend({init:function(o,r){var a=this;i.fn.init.call(a,o,r),r=e.extend(!0,{},r),a.widget=a.options.widget,a.widgetWrapper=a.widget.wrapper[0],a.refresh(),a._editable({readonly:a.options.widget.options.readonly!==t&&a.options.widget.options.readonly,disable:a.options.widget.options.enable!==t&&!a.options.widget.options.enable}),a.widgetWrapper.style.width&&(a.element.css("width",a.widgetWrapper.style.width),a.widgetWrapper.style.width="100%"),a.element.addClass("k-floating-label-container"),n.notify(a)},options:{name:"FloatingLabel",widget:null,floatCheck:({element:e})=>!e.val()},readonly:function(e){this._editable({readonly:e===t||e,disable:!1})},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)})},refresh:function(){var e=this,t=e.element,n=e.options.widget.wrapper.find(".k-input-inner");if(n.length>0){var i=e.element.find("> .k-floating-label").height(),o=n.position().left+Number.parseInt(n.css("padding-left")),r=n.position().top+Number.parseInt(n.css("padding-top"))+i;t[0].style.setProperty("--kendo-floating-label-offset-x",o+"px"),t[0].style.setProperty("--kendo-floating-label-offset-y",r+"px")}t.removeClass(a).removeClass(s),e.options.floatCheck({element:e.options.widget.element,floating:e.element})&&t.addClass(a),(document.activeElement===e.options.widget.element[0]||e.options.widget.input&&document.activeElement===e.options.widget.input[0])&&t.addClass(s)},destroy:function(){this.element.off(r),i.fn.destroy.call(this)},_editable:function(e){var t=this,n=t.element,i=e.disable,o=e.readonly;n.off(r),o||i?n.toggleClass(l,i).toggleClass(c,o):(n.removeClass(l).removeClass(c),n.on("focusin"+r,t.refresh.bind(t)),n.on("focusout"+r,t.refresh.bind(t)))}});o.plugin(d)}(window.kendo.jQuery);kendo;let c=kendo.jQuery;function d({widget:e,wrapper:t,options:n,prefixInsertBefore:i,suffixInsertAfter:o}){var r,a,s=n.prefixOptions,l=n.suffixOptions,d=s.template||s.icon,u=l.template||l.icon,h=(o=o||i,n.layoutFlow),p=h?"vertical"==h?"horizontal":"vertical":"horizontal",f=`<span class="k-input-separator k-input-separator-${"vertical"==h?"horizontal":"vertical"}"></span>`;s&&d&&((r=t.children(".k-input-prefix"))[0]||(r=c(`<span class="k-input-prefix k-input-prefix-${p}" />`),i?r.insertBefore(i):r.prependTo(t)),s.icon&&r.html(kendo.html.renderIcon({icon:s.icon})),s.template&&r.html(kendo.template(s.template)({})),s.separator&&c(f).insertAfter(r)),l&&u&&((a=t.children(".k-input-suffix"))[0]||(a=c(`<span class="k-input-suffix k-input-suffix-${p}" />`).appendTo(t),o?a.insertAfter(o):a.appendTo(t)),l.icon&&a.html(kendo.html.renderIcon({icon:l.icon})),l.template&&a.html(kendo.template(l.template)({})),l.separator&&c(f).insertBefore(a)),e._prefixContainer=r,e._suffixContainer=a}!function(e,t){var n=window.kendo,i=n.ui.Widget,o=n.ui,r=e.isPlainObject,a=".kendoTextArea",s="change",l="disabled",c="readonly",u="k-focus",h="k-disabled",p="k-readonly",f="aria-disabled",m=i.extend({init:function(o,r){var a=this;i.fn.init.call(a,o,r),r=e.extend(!0,{},r),a.options.value=r.value||a.element.val(),a.options.readonly=r.readonly!==t?r.readonly:Boolean(a.element.attr("readonly")),a.options.enable=r.enable!==t?r.enable:!Boolean(a.element.attr("disabled")),a.options.placeholder=r.placeholder||a.element.attr("placeholder"),a.options.maxLength=r.maxLength||a.element.attr("maxlength"),a.options.inputMode=r.inputMode||a.element.attr("inputmode")||"text",a.options.value.replace(/\s/g,"").length||(a.options.value="",a.element.val("")),a.value(a.options.value),a._wrapper(),a._label(),a._editable({readonly:a.options.readonly,disable:!a.options.enable}),a._applyAttributes(),a._applyCssClasses(),a.element.attr("autocomplete","off"),a.element.attr("inputmode",a.options.inputMode),d({widget:a,wrapper:a.wrapper,options:a.options}),a.floatingLabel&&a.floatingLabel.refresh(),n.notify(a)},events:[s],attributes:["maxLength","rows","placeholder"],options:{name:"TextArea",value:"",readonly:!1,enable:!0,placeholder:"",label:null,resizable:"none",maxLength:null,cols:20,rows:1,rounded:"medium",size:"medium",fillMode:"solid",resize:"none",overflow:"auto",layoutFlow:"vertical",prefixOptions:{separator:!0},suffixOptions:{separator:!0}},_applyCssClasses:function(e){var t=this,o=t.options,r=n.cssProperties.getValidClass({widget:o.name,propName:"resize",value:o.resize}),a=n.cssProperties.getValidClass({widget:o.name,propName:"overflow",value:o.overflow}),s=n.cssProperties.getValidClass({widget:o.name,propName:"layoutFlow",value:o.layoutFlow});i.fn._applyCssClasses.call(t),r||"none"!==o.resize||(r="k-resize-none"),a&&(a="!"+a),e=e||"addClass",t.element[e](r),t.element[e](a),t.element[e]("k-input-inner"),t.wrapper[e](s),"vertical"==o.layoutFlow&&t.element[e]("!k-flex-none")},_applyAttributes:function(){var e,t=this,n={};for(e in t.attributes)n[t.attributes[e]]=t.options[t.attributes[e]];t.element.attr(n)},value:function(e){var n=this;if(e===t)return n._value;n._value=e,n.element.val(e)},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)},focus:function(){this.element[0].focus()},destroy:function(){var e=this;e._applyCssClasses("removeClass"),e.floatingLabel&&e.floatingLabel.destroy(),e._inputLabel&&(e._inputLabel.remove(),e._inputLabel=null),e.element[0].style.cssText=e.wrapper[0].style.cssText,e.element.off(a),e.element.unwrap(),e.wrapper=null,i.fn.destroy.call(e)},setOptions:function(e){var t=this;t.destroy(),t.init(t.element,e)},_editable:function(e){var t=this,n=t.element,i=t.wrapper,o=e.disable,r=e.readonly;n.off(a),r||o?(n.attr(l,o).attr(c,r).attr(f,o),i.toggleClass(h,o).toggleClass(p,r)):(n.prop(l,!1).prop(c,!1).attr(f,!1),i.removeClass(h).removeClass(p),n.on("focusin"+a,t._focusin.bind(t)),n.on("focusout"+a,t._focusout.bind(t)))},_label:function(){var t,i,o=this,a=o.element,s=o.options,l=a.attr("id");null!==s.label&&(t=!!r(s.label)&&s.label.floating,i=r(s.label)?s.label.content:s.label,t&&(o._floatingLabelContainer=o.wrapper.wrap("<span></span>").parent(),o.floatingLabel=new n.ui.FloatingLabel(o._floatingLabelContainer,{widget:o}),o._floatingLabelContainer.addClass("k-textarea-container")),n.isFunction(i)&&(i=i.call(o)),i||(i=""),l||(l=s.name+"_"+n.guid(),a.attr("id",l)),o._inputLabel=e("<label class='"+(t?"k-floating-label":"k-label k-input-label")+"' for='"+l+"'>"+i+"</label>'")[t?"insertAfter":"insertBefore"](o.wrapper))},_focusin:function(){this.wrapper.addClass(u)},_focusout:function(){var e=this,t=e._value,n=e.element.val();e.wrapper.removeClass(u),null===t&&(t=""),t!==n&&(e._value=n,e.trigger(s))},_wrapper:function(){var e,t=this.element,n=t[0];(e=t.wrap("<span class='k-input k-textarea'></span>").parent())[0].style.cssText=n.style.cssText,n.style.width="",this.wrapper=e.addClass(n.className).removeClass("input-validation-error")}});n.cssProperties.registerPrefix("TextArea","k-input-"),n.cssProperties.registerValues("TextArea",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),o.plugin(m)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=n.ui,r=({icon:t})=>n.ui.icon(e("<span class='k-badge-icon'></span>"),{icon:t}),a=({icon:e})=>`<span class='k-badge-icon k-svg-icon k-icon'>${e}</span>`,s=i.extend({init:function(e,t){var o=this;i.fn.init.call(o,e,t),o._content(),o._appearance(),n.notify(o)},destroy:function(){i.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,t=e.options.text,i=e.options.template,o=e.options.data,r=e.options.icon;if(null!==i)return e._text=t,e._template=n.template(i).bind(e),void e.element.html(e._template(o));""===r?""===t?e.text(e.element.html()):e.text(t):e.icon(r)},_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,n=["k-badge"],i=e.options._classNames,o=e._themeColor,r=e._shape,a=e._sizes,s=e._size,l=a[s]===t?s:a[s],c=e._fillMode,d=e._rounded,u=e._roundings,h=u[d]===t?d:u[d],p=e._cutoutBorder,f=e._align,m=e._position,v=e._visible;e.element.removeClass((function(t,n){0===n.indexOf("k-")&&-1===i.indexOf(n)&&e.element.removeClass(n)})),"string"==typeof c&&""!==c&&n.push("k-badge-"+c),"string"==typeof o&&""!==o&&n.push("k-badge-"+c+"-"+o),"string"==typeof s&&""!==s&&n.push("k-badge-"+l),"string"==typeof d&&""!==d&&n.push("k-rounded-"+h),"string"==typeof r&&""!==r&&n.push("k-badge-"+r),"boolean"==typeof p&&!0===p&&n.push("k-badge-border-cutout"),"string"==typeof m&&""!==m&&n.push("k-badge-"+m),"string"==typeof m&&""!==m&&"inline"!==m&&"string"==typeof f&&2==f.split(" ").length&&n.push("k-"+f.replace(" ","-")),!1===v&&n.push("k-hidden"),e.element.addClass(n.join(" "))},setOptions:function(e){var t=this;t.element.removeClass((function(e,n){n.indexOf("k-")>=0&&t.element.removeClass(n)})),i.fn.setOptions.call(t,e),t._content(),t._appearance()},text:function(e){var n=this,i=n.options.max;if(0===arguments.length||e===t)return n._text;n._text=e,!0!==e&&!1!==e&&null!==e?"string"!=typeof e?"number"!=typeof e?"object"==typeof e&&"toString"in e&&n.element.html(e.toString()):e>i?n.element.html(i+"+"):n.element.html(e):n.element.html(e):n.element.html("")},icon:function(e){var i,o=this;return 0===arguments.length||e===t?o._icon:(o._icon=e,0===e.indexOf("<svg")?(i=n.template(a),void o.element.html(i({icon:e}))):(i=n.template(r),void o.element.html(i({icon:e}))))},themeColor:function(e){var n=this;if(0===arguments.length||e===t)return n._themeColor;n._themeColor=e,n._updateClassNames()},rounded:function(e){var n=this;if(0===arguments.length||e===t)return n._rounded;n._rounded=e,n._updateClassNames()},hide:function(){this._visible=!1,this._updateClassNames()},show:function(){this._visible=!0,this._updateClassNames()}});o.plugin(s)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.html.HTMLBase,i="k-button-icon",o=n.extend({init:function(e,t){var i=this;n.fn.init.call(i,e,t),i.wrapper=i.element.addClass("k-button"),!i.element.attr("type")&&i.options.type&&i.element.attr("type",i.options.type),i._addClasses(),i.iconElement(),i._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,o,r,a=this,s=a.element,l=a.options,c=l.icon,d=l.iconClass,u=l.spriteCssClass,h=l.imageUrl;(u||h||c||d)&&(r=!0,s.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)&&(r=!1)}))),r&&a.element.addClass("k-icon-button"),h?((o=s.children("img.k-image").first())[0]||(o=e('<img alt="icon" class="k-image" />').prependTo(s)),o.attr("src",h),o.addClass(i)):c||d?((n=s.children("span.k-icon, span.k-svg-icon").first())[0]?t.ui.icon(n,{icon:c,iconClass:d}):n=e(t.ui.icon({icon:c,iconClass:d})).prependTo(s),n.addClass(i)):u&&((n=s.children("span.k-sprite").first())[0]||(n=e('<span class="k-sprite"></span>').prependTo(s)),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 i=document.createElement("span");n.parentNode.insertBefore(i,n),i.appendChild(n),n=i}n.classList.add("k-button-text")}}))}});e.extend(t.html,{renderButton:function(t,n){return(undefined===arguments[0]||e.isPlainObject(arguments[0]))&&(n=t,t=e("<button></button>")),new o(t,n).html()},HTMLButton:o}),t.cssProperties.registerPrefix("HTMLButton","k-button-"),t.cssProperties.registerValues("HTMLButton",[{prop:"fillMode",values:t.cssProperties.fillModeValues.concat(["link","clear"])},{prop:"rounded",values:t.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=n.html,r=n.ui,a=n.keys,s="click",l=n.support.mousedown,c=n.support.mouseup,d=".kendoButton",u="disabled",h="k-focus",p="k-active";n.setDefaults("button",{icon:"",iconClass:"",spriteCssClass:"",imageUrl:"",badge:null});var f=i.extend({init:function(t,r){var a=this;i.fn.init.call(a,t,r),t=a.wrapper=a.element,r=a.options,o.renderButton(t,e.extend({},r)),t.attr("role","button"),r.enable=r.enable&&r.enabled&&!t.attr(u),a.enable(r.enable),r.enable&&a._tabindex(),a._badge(),t.on(s+d,a._click.bind(a)).on("focus"+d,a._focus.bind(a)).on("blur"+d,a._blur.bind(a)).on("keydown"+d,a._keydown.bind(a)).on("keyup"+d,a._removeActive.bind(a)).on(l+d,a._addActive.bind(a)).on(c+d+" mouseout"+d,a._removeActive.bind(a)),n.notify(a)},destroy:function(){var e=this;e.wrapper.off(d),e.badge&&e.badge.destroy(),i.fn.destroy.call(e)},events:[s],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(s,{event:e,id:this.element.attr("id"),target:this.element})&&e.preventDefault()},_focus:function(){this.options.enable&&this.element.addClass(h)},_blur:function(){var e=this;e.element.removeClass(h),setTimeout((function(){e.element.removeClass(p)}))},_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(p)},_addActive:function(){this.options.enable&&this.element.addClass(p)},enable:function(e){var n=this,i=n.element;e===t&&(e=!0),e=!!e,n.options.enable=e,i.toggleClass("k-disabled",!e).attr("aria-disabled",!e).attr(u,!e),e&&n._tabindex();try{i.trigger("blur")}catch(e){}},_badge:function(n){var i,o=this,a=n||o.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"],o.element.addClass("k-badge-container"),i=e("<span />").appendTo(o.element),o.badge=new r.Badge(i,a))}});!1===f.fn.hasOwnProperty("defaults")&&Object.defineProperty(f.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","clear"])},{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),n.ui.plugin(f)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui,i=n.Widget,o=t.Class,r=t.support,a=t.getOffset,s=t._outerWidth,l=t._outerHeight,c="open",d="close",u="deactivate",h="activate",p="center",f="left",m="right",v="top",g="bottom",_="absolute",b="hidden",y="body",w="location",k="position",x="visible",C="effects",z="k-active",S=".k-picker-wrap, .k-dropdown-wrap, .k-link",T=e(document.documentElement),M=e(window),I="scroll",H="transform",D=e.extend,E=".kendoPopup",A=["font-size","font-family","font-stretch","font-style","font-weight","line-height"];function V(t,n){return!(!t||!n)&&(t===n||e.contains(t,n))}var P=i.extend({init:function(n,o){var a,s=this;(o=o||{}).isRtl&&(o.origin=o.origin||g+" "+m,o.position=o.position||v+" "+m),i.fn.init.call(s,n,o),n=s.element,o=s.options,s.collisions=o.collision?o.collision.split(" "):[],s.downEvent=t.applyEventMap("down",t.guid()),1===s.collisions.length&&s.collisions.push(s.collisions[0]),a=e(s.options.anchor).closest(".k-popup,.k-group,.k-menu-group").filter(":not([class^=km-])"),o.appendTo=e(e(o.appendTo)[0]||a[0]||document.body),s.element.hide().addClass("k-popup").toggleClass("k-rtl",!!o.isRtl).appendTo(o.appendTo).attr("aria-hidden",!0).on("mouseenter"+E,(function(){s._hovered=!0})).on("wheel"+E,(function(t){var n=e(t.target).find(".k-list"),i=n.parent();n.length&&n.is(":visible")&&(0===i.scrollTop()&&t.originalEvent.deltaY<0||i.scrollTop()===i.prop("scrollHeight")-i.prop("offsetHeight")&&t.originalEvent.deltaY>0)&&t.preventDefault()})).on("mouseleave"+E,(function(){s._hovered=!1})),s.wrapper=e(),!1===o.animation&&(o.animation={open:{effects:{}},close:{hide:!0,effects:{}}}),D(o.animation.open,{complete:function(){s.wrapper.addClass("k-animation-container-shown"),s.wrapper.css("overflow",""),s._activated=!0,s._trigger(h)}}),D(o.animation.close,{complete:function(){s._animationClose()}}),s._mousedownProxy=function(e){s._mousedown(e)},r.mobileOS.android?s._resizeProxy=function(e){setTimeout((function(){s._resize(e)}),600)}:s._resizeProxy=function(e){s._resize(e)},o.toggleTarget&&e(o.toggleTarget).on(o.toggleEvent+E,s.toggle.bind(s))},events:[c,h,d,u],options:{name:"Popup",toggleEvent:"click",origin:g+" "+f,position:v+" "+f,anchor:y,appendTo:null,collision:"flip fit",viewport:window,copyAnchorStyles:!0,autosize:!1,autowidth:!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(w);e.wrapper.hide(),t&&e.wrapper.css(t),e.options.anchor!=y&&e._hideActiveClass(),e._closing=!1,e._trigger(u)},destroy:function(){var n,o=this,r=o.options,a=o.element.off(E);i.fn.destroy.call(o),r.toggleTarget&&e(r.toggleTarget).off(E),r.modal||(T.off(o.downEvent,o._mousedownProxy),o._toggleResize(!1)),t.destroy(o.element.children()),a.removeData(),r.appendTo[0]===document.body&&((n=a.closest(".k-animation-container"))[0]?n.remove():a.remove())},open:function(n,i){var o,a,s,l=this,d={isFixed:!isNaN(parseInt(i,10)),x:n,y:i},u=l._shouldCorrectWidth,h=l.element,p=l.options,f=e(p.anchor),m=h[0]&&h.hasClass("km-widget"),g=h.find("[role='listbox']");if(!l.visible()){if(p.copyAnchorStyles&&(m&&"font-size"==A[0]&&A.shift(),h.css(t.getComputedStyles(f[0],A))),l.element.parent().data("animating")||l._trigger(c))return;l._activated=!1,p.modal||(T.off(l.downEvent,l._mousedownProxy).on(l.downEvent,l._mousedownProxy),l._toggleResize(!1),l._toggleResize(!0)),l.wrapper=a=t.wrap(h,p.autosize,p._resizeOnWrap,u,p.autowidth).css({overflow:b,display:"block",position:_}).attr("aria-hidden",!1),s=h.parent(),g.attr("aria-label")?a.attr("aria-label",g.attr("aria-label")):g.attr("aria-labelledby")&&a.attr("aria-labelledby",g.attr("aria-labelledby")),r.mobileOS.android&&s.css(H,"translatez(0)"),a.css(k),e(p.appendTo)[0]==document.body&&a.css(v,"-10000px"),l.flipped=l._position(d),o=l._openAnimation(),p.anchor==y||l.element.hasClass("k-tooltip")||l._addActiveClass(),s.hide(),h.show(),l.wrapper.show(),s.data(C,o.effects).kendoStop(!0).kendoAnimate(o),h.attr("aria-hidden",!1)}},_updateDimensions:function(){const e=this,n=e._shouldCorrectWidth,i=e.element,o=e.options;e.wrapper=t.wrap(i,o.autosize,o._resizeOnWrap,n,o.autowidth).css({overflow:b,display:"block",position:_}).attr("aria-hidden",!1)},_location:function(n){var i,o=this,a=o.element,s=o.options,l=e(s.anchor),c=a[0]&&a.hasClass("km-widget");s.copyAnchorStyles&&(c&&"font-size"==A[0]&&A.shift(),a.css(t.getComputedStyles(l[0],A))),o.wrapper=i=t.wrap(a,s.autosize).css({overflow:b,display:"block",position:_}),r.mobileOS.android&&i.css(H,"translatez(0)"),i.css(k),e(s.appendTo)[0]==document.body&&i.css(v,"-10000px"),o._position(n||{});var d=i.offset();return{width:t._outerWidth(i),height:t._outerHeight(i),left:d.left,top:d.top}},_openAnimation:function(){var e=D(!0,{},this.options.animation.open);return e.effects=t.parseEffects(e.effects,this.flipped),e},_hideActiveClass:function(){e(this.options.anchor).children(S).removeClass(z)},_addActiveClass:function(){e(this.options.anchor).children(S).addClass(z)},position:function(){this.visible()&&(this._updateDimensions(),this.flipped=this._position())},toggle:function(){this[this.visible()?d:c]()},visible:function(){return this.wrapper.is(":"+x)&&this.element.is(":"+x)},close:function(n){var i,o,r,a,s=this,l=s.element.parent(),c=s.options;if(s.visible()){if(i=s.wrapper[0]?s.wrapper:t.wrap(s.element).hide(),s._toggleResize(!1),s._closing||s._trigger(d))return void s._toggleResize(!0);s.wrapper.removeClass("k-animation-container-shown"),s.element.find(".k-popup").each((function(){var t=e(this).data("kendoPopup");t&&t.close(n)})),T.off(s.downEvent,s._mousedownProxy),n?o={hide:!0,effects:{}}:(o=D(!0,{},c.animation.close),r=l.data(C),!(a=o.effects)&&!t.size(a)&&r&&t.size(r)&&(o.effects=r,o.reverse=!0),s._closing=!0),l.kendoStop(!0),s.element.attr("aria-hidden",!0),i.css({overflow:b}).attr("aria-hidden",!0),l.kendoAnimate(o),n&&s._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",n=r.resize;r.mobileOS.ios||r.mobileOS.android||r.browser.safari||(n+=" "+I),e&&!this.scrollableParents&&(this.scrollableParents=this._scrollableParents()),this.scrollableParents&&this.scrollableParents.length&&this.scrollableParents[t](I,this._resizeProxy),M[t](n,this._resizeProxy)},_mousedown:function(n){var i=this,o=i.element[0],r=i.options,a=e(r.anchor)[0],s=r.toggleTarget,l=t.eventTarget(n),c=e(l).closest(".k-popup"),d=c.parent().parent(".km-shim").length;c=c[0],!d&&c&&c!==i.element[0]||"popover"!==e(n.target).closest("a").data("rel")&&(V(o,l)||V(a,l)||s&&V(e(s)[0],l)||i.close())},_fit:function(e,t,n){var i=0;return e+t>n&&(i=n-(e+t)),e<0&&(i=-e),i},_flip:function(e,t,n,i,o,r,a){var s=0;return a=a||t,r!==o&&r!==p&&o!==p&&(e+a>i&&(s+=-(n+t)),e+s<0&&(s+=n+t)),s},_scrollableParents:function(){return e(this.options.anchor).parentsUntil("body").filter((function(e,n){return t.isScrollable(n)}))},_position:function(n){var i,o,c,d,u,h,p,f=this,m=f.element,v=f.wrapper,g=f.options,_=e(g.viewport),b=r.zoomLevel(),y=!!(_[0]==window&&window.innerWidth&&b<=1.02),x=e(g.anchor),C=g.origin.toLowerCase().split(" "),z=g.position.toLowerCase().split(" "),S=f.collisions,T=10002,M=0,I=document.documentElement;(u=g.viewport===window?{top:window.pageYOffset||document.documentElement.scrollTop||0,left:window.pageXOffset||document.documentElement.scrollLeft||0}:_.offset(),y?(h=window.innerWidth,p=window.innerHeight):(h=_.width(),p=_.height()),y&&I.scrollHeight-I.clientHeight>0)&&(h-=(g.isRtl?-1:1)*t.support.scrollbar());if((i=x.parents().filter(v.siblings()))[0])if(c=Math.max(Number(i.css("zIndex")),0))T=c+10;else for(d=(o=x.parentsUntil(i)).length;M<d;M++)(c=Number(e(o[M]).css("zIndex")))&&T<c&&(T=c+10);v.css("zIndex",T),n&&n.isFixed?v.css({left:n.x,top:n.y}):v.css(f._align(C,z));var H=a(v,k,x[0]===v.offsetParent()[0]),E=a(v);x.offsetParent().parent(".k-animation-container,.k-popup,.k-group,.k-menu-group").length&&(H=a(v,k,!0),E=a(v)),E.top-=u.top,E.left-=u.left,f.wrapper.data(w)||v.data(w,D({},H));var A=D({},E),V=D({},H),P=g.adjustSize;"fit"===S[0]&&(V.top+=f._fit(A.top,l(v)+P.height,p/b)),"fit"===S[1]&&(V.left+=f._fit(A.left,s(v)+P.width,h/b));var B=D({},V),F=l(m),O=l(v);return!v.height()&&F&&(O+=F),"flip"===S[0]&&(V.top+=f._flip(A.top,F,l(x),p/b,C[0],z[0],O)),"flip"===S[1]&&(V.left+=f._flip(A.left,s(m),s(x),h/b,C[1],z[1],s(v))),v.css(V),V.left!=B.left||V.top!=B.top},_align:function(t,n){var i,o=this,r=o.wrapper,c=e(o.options.anchor),d=t[0],u=t[1],h=n[0],f=n[1],v=a(c),_=e(o.options.appendTo),b=s(r)||s(r.find(".k-child-animation-container").children().first()),y=l(r)||l(r.find(".k-child-animation-container").children().first()),w=s(c),k=l(c),x=o.options.omitOriginOffsets?0:v.top,C=o.options.omitOriginOffsets?0:v.left,z=Math.round;return _[0]!=document.body&&(x-=(i=a(_)).top,C-=i.left),d===g&&(x+=k),d===p&&(x+=z(k/2)),h===g&&(x-=y),h===p&&(x-=z(y/2)),u===m&&(C+=w),u===p&&(C+=z(w/2)),f===m&&(C-=b),f===p&&(C-=z(b/2)),{top:x,left:C}}});n.plugin(P);var B=t.support.stableSort,F="kendoTabKeyTrap",O=o.extend({init:function(t,n){this.element=e(t),this.element.autoApplyNS(F)},trap:function(){this.element.on("keydown",this._keepInTrap.bind(this))},removeTrap:function(){this.element.kendoDestroy(F)},destroy:function(){this.element.kendoDestroy(F),this.element=undefined},shouldTrap:function(){return!0},_keepInTrap:function(e){if(9===e.which&&this.shouldTrap()&&!e.isDefaultPrevented()){var t=this._focusableElements(),n=this._sortFocusableElements(t),i=this._nextFocusable(e,n);i&&this._focus(i),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,n){return n.tabIndex>=0&&e(n).is(":visible")&&!e(n).is("[disabled]")}));return this.element.is("[tabindex]")&&[].push.call(t,this.element[0]),t},_sortFocusableElements:function(e){var t;if(B)t=[].sort.call(e,(function(e,t){return e.tabIndex-t.tabIndex}));else{var n="__k_index";e.each((function(e,t){t.setAttribute(n,e)})),t=[].sort.call(e,(function(e,t){return e.tabIndex===t.tabIndex?parseInt(e.getAttribute(n),10)-parseInt(t.getAttribute(n),10):e.tabIndex-t.tabIndex})),e.removeAttr(n)}return t},_nextFocusable:function(e,t){var n=t.length,i=t.index(e.target);return t.get((i+(e.shiftKey?-1:1))%n)},_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=O}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui.Widget,i=".kendoButtonMenu",o=t.ui,r=t.keys,a=t.htmlEncode,s=t.sanitizeLink,l=e.extend,c=".",d="id",u="next",h="k-disabled",p="k-hidden",f="aria-disabled",m="tabindex",v="click",g="menuClick",_="menuOpen",b="menuClose",y="keydown",w="focus",k={down:{origin:"bottom left",position:"top left"},up:{origin:"top left",position:"bottom left"}},x="k-menu-popup",C="k-menu-group",z="k-item k-menu-item",S="k-menu-item",T="k-menu-link-text",M="k-link k-menu-link",I="k-sprite",H="k-image",D={text:null,icon:null,url:null,attributes:null,enabled:!0,hidden:!1,id:null,imageUrl:null,spriteCssClass:null},E=({imageUrl:e})=>""+(e?`<img alt="icon" class="${H}" src="${a(e)}" />`:""),A=({spriteCssClass:e})=>""+(e?`<span class="${I} ${a(e)}"></span>`:""),V=({icon:e})=>`${e?t.ui.icon(a(e)):""}`,P=({text:e})=>""+(e?`<span class="${T}">${a(e)}</span>`:""),B=({imageUrl:e,spriteCssClass:t,icon:n,text:i})=>`<span class="${M}">${E({imageUrl:e})}${A({spriteCssClass:t})}${V({icon:n})}${P({text:i})}</span>`,F=({url:e,imageUrl:t,spriteCssClass:n,icon:i,text:o,attributes:r})=>`<a href="${s(e)}" ${r.target?`target="${r.target}"`:""} class="${M}">${E({imageUrl:t})}${A({spriteCssClass:n})}${V({icon:i})}${P({text:o})}</a>`;function O(t,n){var i=n===u?e.fn.next:e.fn.prev,o=n===u?e.fn.first:e.fn.last,r=i.call(t),a=":kendoFocusable";return r.length||(r=o.call(t.parent().find(c+S))),r.is(a)||!r.length?r:r.find(a).length?o.call(r.find(a)):O(r,n)}var L=n.extend({init:function(e,t){var i=this;n.fn.init.call(i,e,t),i.mainButton=t.mainButton,i._clickHandlers={},i._renderList(),i._initPopup(),i._attachEvents(),i._applyCssClasses(i.list)},options:{name:"ButtonMenu",direction:"down",element:null,items:[],size:"medium"},events:[g,_,b],_renderList:function(){var n=this,i=n.options.items,o=n.element.addClass(x),r=n.mainButton.attr(d)||t.guid(),a=e('<ul role="menu"></ul>').addClass(C);n.list=a.appendTo(o),n.list.attr(d,r+"_buttonmenu"),i.forEach(n._renderListItem.bind(n)),n.list.find(c+S+":first-child").addClass("k-first"),n.list.find(c+S+":last-child").addClass("k-last")},_renderListItem:function(n){var i,o,r=this,a=n.attributes?n.attributes.id:null;i=(n=l({},D,n,{enabled:n.enable&&n.enabled})).id||a||t.guid(),o=e('<li id="'+i+'" role="menuitem" class="'+z+'">'+r._renderItemButton(n)+"</li>"),n.click&&(r._clickHandlers[i]=n.click),n.attributes&&(delete n.attributes.target,n.attributes.class&&(o.addClass(n.attributes.class),delete n.attributes.class),o.attr(n.attributes)),n.data&&t.isFunction(n.data)&&o.data(n.data(n)),r.list.append(o),r.enable(n.enabled,o),r._hide(n.hidden,o)},_renderItemButton:function(e){var n=this.options;return n.itemTemplate?t.template(n.itemTemplate)(e):e.url?t.template(F)(e):t.template(B)(e)},_initPopup:function(){var e=this,t=e.options,n=t.direction||"down";e._popup=new o.Popup(e.element,l({},t.popup,{anchor:e.mainButton,isRtl:e._isRtl,toggleTarget:t.toggleTarget,copyAnchorStyles:!1,animation:t.animation,open:e._popupOpenHandler.bind(e),close:e._popupCloseHandler.bind(e),activate:e._popupExpandHandler.bind(e)},k[n]))},_popupOpenHandler:function(e){this.trigger(_)?e.preventDefault():this.list.find(c+S).attr(m,0)},_popupCloseHandler:function(e){this.trigger(b)&&e.preventDefault(),this.list.find(c+S).attr(m,-1)},_popupExpandHandler:function(){this.list.find(":kendoFocusable").first().trigger(w)},adjustPopupWidth:function(e){this.element.css({"min-width":e})},_attachEvents:function(){var e=this;e.list.on(v+i,c+S,e._click.bind(e)).on(y+i,c+S,e.listItemKeydown.bind(e)),e.mainButton.on(y+i,e._keydown.bind(e))},_keydown:function(t){if(!e(t.target).is(c+h)&&!e(t.target).parents(c+h).length)return t.altKey&&t.keyCode===r.DOWN?(this.open(),void t.preventDefault()):void 0},listItemKeydown:function(t){var n=this,i=e(t.target);t.preventDefault(),t.keyCode===r.ESC||t.keyCode===r.TAB||t.altKey&&t.keyCode===r.UP?(n.close(),n.mainButton.trigger(w)):t.keyCode===r.DOWN?O(i,u).trigger(w):t.keyCode===r.UP?O(i,"prev").trigger(w):i.is(c+h)||t.keyCode!==r.SPACEBAR&&t.keyCode!==r.ENTER?t.keyCode===r.HOME?n.list.find(":kendoFocusable").filter(c+S).first().trigger(w):t.keyCode===r.END&&n.list.find(":kendoFocusable").filter(c+S).last().trigger(w):i.trigger(v)},_click:function(t){var n=this,i=e(t.target).closest(c+S),o=i.attr(d);n._clickHandlers[o]&&n._clickHandlers[o](t),n.trigger(g,{id:o,target:i,type:"menu-click",originalEvent:t})},toggle:function(){this._popup.toggle()},enable:function(e,t){(t=t&&t.length?this.list.find(t):this.items()).toggleClass(h,!e),e?t.removeAttr(f):t.attr(f,!e)},_hide:function(e,t){(t=t&&t.length?this.list.find(t):this.items()).toggleClass(p,e)},hide:function(e){this._hide(!0,e)},show:function(e){this._hide(!1,e)},open:function(){0!==this.items().length&&(0!==this.items().filter(`:not(.${p})`).length&&this._popup.open())},close:function(){this._popup.close()},items:function(){return this.list.children(c+S)},destroyPopup:function(){var e=this;e._popup&&(e._popup.destroy(),e._popup=null,e.list.off(i),e.list.remove(),e.list=null)},destroy:function(){var e=this;delete e._clickHandlers,e.destroyPopup(),e.mainButton.off(i),n.fn.destroy.call(e)}});t.cssProperties.registerPrefix("ButtonMenu","k-menu-group-"),o.plugin(L)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui.Widget,i=".kendoSplitButton",o=t.ui,r=e.extend,a=t.html,s=t._outerWidth,l=t.keys,c="id",d="aria-disabled",u="aria-label",h="aria-expanded",p="disabled",f="k-disabled",m="k-focus",v="click",g="open",_="close",b="focus",y="k-split-button k-button-group",w=n.extend({init:function(i,o){var r=this;(o=o||{}).enabled=!1!==o.enabled&&!e(i).prop(p),n.fn.init.call(r,i,o),r._wrapper(),r._renderButtons(),r._renderMenu(),r._enable(r.options.enabled),r._aria(),r._attachEvents(),t.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:[v,g,_],_wrapper:function(){var n=this,i=(n.element.attr(c)||t.guid())+"_wrapper";n.wrapper=n.element.wrap('<div id="'+i+'" class="'+y+'"></div>').parent(".k-split-button"),n.arrowButton=e('<button tabindex="-1" aria-label="arrow-button" class="k-split-button-arrow"></button>').appendTo(n.wrapper)},_applyCssClasses:function(){this.wrapper.addClass(this._getAppearanceClasses())},_clearCssClasses:function(){this.wrapper.removeClass(this._getAppearanceClasses())},_getAppearanceClasses:function(){var e=this.__proto__.options.name;return t.cssProperties.getValidClass({widget:e,propName:"rounded",value:this.options.rounded})},_renderButtons:function(){this._mainButton(),this._arrowButton()},_mainButton:function(){var e=this,t=r({},e.options,{type:e.element.attr("type")||"button"});delete t.click,a.renderButton(e.element,t)},_arrowButton:function(){var e=this,t=r({},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(h,!n&&null),t.attr("aria-controls",n?n.list.attr(c):null),t.attr(u)||t.attr(u,t.text()+" "+e.options.messages.labelSuffix)},_renderMenu:function(){var t=this,n=r({},t.options),i=e("<div></div>");delete n.click,delete n.name,n.items.length&&(t.menu=i.appendTo(t.wrapper).kendoButtonMenu(r({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=s(t.wrapper);t.trigger(g,{target:t.element})?e.preventDefault():(e.sender.adjustPopupWidth(n),t.element.attr(h,!0))},menuCloseHandler:function(e){var t=this;t.trigger(_,{target:t.element})?e.preventDefault():(t.element.attr(h,!1),t.element.trigger(b))},_attachEvents:function(){var e=this;e.element.on(v+i,e._click.bind(e)),e.element.on("keydown"+i,e._keydown.bind(e)),e.element.on(b+i,e._focus.bind(e)),e.element.on("blur"+i,e._blur.bind(e))},_focus:function(){this.wrapper.addClass(m)},_blur:function(){this.wrapper.removeClass(m)},_click:function(t){var n=e(t.target).closest(".k-button"),i=n.attr(c),o=t;"menu-click"===t.type&&(i=t.id,n=t.target,o=t.originalEvent),this.menu.close(),this.trigger(v,{id:i,target:n,originalEvent:o})},_keydown:function(e){!this.element.is("."+f)||e.keyCode!==l.ENTER&&e.keyCode!==l.SPACEBAR||e.preventDefault()},focus:function(){this.element.trigger(b)},_enable:function(e,t){this.element.add(this.arrowButton).toggleClass(f,!e),e?this.element.removeAttr(d):this.element.attr(d,!e),t||this.element.attr(p,!e),this.arrowButton.attr(p,!e)},enable:function(e,t,n){var i=this;undefined===e&&(e=!0),t&&t.length?i.menu.enable(e,t):(i.options.enabled=e,i._enable(e,n),i.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;n.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&&e.menu.destroy(),e.element.off(i),n.fn.destroy.call(e)}});t.cssProperties.registerPrefix("SplitButton","k-splitbutton-"),t.cssProperties.registerValues("SplitButton",[{prop:"rounded",values:t.cssProperties.roundedValues.concat([["full","full"]])}]),o.plugin(w)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui.Widget,i=".kendoDropDownButton",o=t.ui,r=t.keys,a=e.extend,s=t.html,l=t._outerWidth,c="aria-disabled",d="aria-label",u="aria-expanded",h="disabled",p="k-disabled",f="click",m="open",v="close",g="focus",_="k-menu-button",b=n.extend({init:function(i,o){var r=this;o.enabled=!1!==o.enabled&&!e(i).prop(h),n.fn.init.call(r,i,o),r.wrapper=r.element,r._mainButton(),r._renderMenu(),r._enable(r.options.enabled),r._aria(),r._attachEvents(),t.notify(r),r._applyCssClasses()},options:{name:"DropDownButton",direction:"down",enabled:!0,items:[],rounded:"medium",size:"medium",fillMode:"solid",themeColor:"base",showArrowButton:!1,icon:null,popup:null,messages:{labelSuffix:"dropdownbutton"}},events:[f,m,v],_mainButton:function(){var n=this,i=a({},n.options,{type:n.element.attr("type")||"button"});if(delete i.click,n.element.addClass(_),s.renderButton(n.element,i),n.options.showArrowButton)e("<span></span>").addClass("k-button-arrow").addClass("k-menu-button-arrow").append(t.ui.icon(t.htmlEncode("caret-alt-down"))).appendTo(n.element);else{const e=n.element.find(".k-button-arrow");e&&e.remove()}},_aria:function(){var e=this,t=e.element,n=e.menu;t.attr("aria-haspopup",n?"menu":null),t.attr(u,!n&&null),t.attr("aria-controls",n?n.list.attr("id"):null),t.attr(d)||t.attr(d,t.text()+" "+e.options.messages.labelSuffix)},_renderMenu:function(){var t=this,n=a({},t.options),i=e("<div></div>");delete n.click,delete n.name,t.menu=i.appendTo(document.body).kendoButtonMenu(a({mainButton:t.element,toggleTarget:t.element,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.element);t.trigger(m,{target:t.element})?e.preventDefault():(e.sender.adjustPopupWidth(n),t.element.attr(u,!0))},menuCloseHandler:function(e){var t=this;t.trigger(v,{target:t.element})?e.preventDefault():(t.element.attr(u,!1),t.element.trigger(g))},_attachEvents:function(){var e=this;e.element.on("keydown"+i,e._keydown.bind(e))},_click:function(e){var t=e.id,n=e.target,i=e.originalEvent;this.menu.close(),this.trigger(f,{id:t,target:n,originalEvent:i})},_keydown:function(e){!this.element.is("."+p)||e.keyCode!==r.ENTER&&e.keyCode!==r.SPACEBAR||e.preventDefault()},focus:function(){this.element.trigger(g)},_enable:function(e,t){this.element.toggleClass(p,!e),e?this.element.removeAttr(c):this.element.attr(c,!e),t||this.element.attr(h,!e)},enable:function(e,t,n){var i=this;undefined===e&&(e=!0),t&&t.length?i.menu.enable(e,t):(i.options.enabled=e,i._enable(e,n),i.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.open()},close:function(){this.menu.close()},items:function(){return this.menu.items()},setOptions:function(e){var t=this;n.fn.setOptions.call(t,e),(e.popup||e.items||e.size)&&(t.menu.destroy(),t._renderMenu()),t._mainButton(),t._aria()},destroy:function(){var e=this;e.menu.destroy(),e.element.off(i),n.fn.destroy.call(e)}});o.plugin(b)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Button,o="click",r="toggle",a="aria-pressed",s="k-selected",l=i.extend({init:function(e,t){var o=this;i.fn.init.call(o,e,t),e=o.wrapper=o.element,t=o.options,o._selected=!0===t.selected,o.toggle(o._selected),t.group&&e.attr("data-group",t.group),n.notify(o)},destroy:function(){this.wrapper.off(".kendoToggleButton"),i.fn.destroy.call(this)},events:[o,r],options:{name:"ToggleButton",group:t,selected:!1},toggle:function(e){e===t&&(e=!this._selected),this._selected=e,!0===e?(this.element.attr(a,!0),this.element.addClass(s)):!1===e&&(this.element.attr(a,!1),this.element.removeClass(s))},_click:function(e){this.options.enable&&(this.trigger(o,{event:e,id:this.element.attr("id"),target:this.element})?e.preventDefault():(this.toggle(),this.trigger(r,{event:e,checked:this._selected,group:this.options.group,id:this.element.attr("id"),target:this.element})))}});n.cssProperties.registerPrefix("ToggleButton","k-button-"),n.cssProperties.registerValues("ToggleButton",[{prop:"fillMode",values:n.cssProperties.fillModeValues.concat(["link"])},{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),n.ui.plugin(l)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui,i=n.Widget,o=n.ToggleButton,r=n.Button,a=t.keys,s=".kendoButtonGroup",l="k-button",c="k-selected",d="k-disabled",u="select",h="aria-disabled",p=".",f="none",m="single",v="multiple",g="focus",_=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);const o=t&&t.fillMode?t.fillMode:"solid";n.element.addClass(" k-button-group k-button-group-"+o).attr("role","group"),n._enable=!0,n.options.enable&&n.options.enabled||(n._enable=!1,n.element.attr(h,!0).addClass(d),n._buttons.forEach((e=>{e.enable(!1)}))),n.options.selection!==f&&n.select(n.options.index),n._attachEvents()},events:[u],options:{name:"ButtonGroup",selection:m,index:-1,enable:!0,enabled:!0,preventKeyNav:!1,size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"},badge:function(e,n){var i,o,r=this.element,a=isNaN(e)?r.find(e).getKendoToggleButton()||r.find(e).getKendoButton():this._buttons[e],s=n||0===n;if(a){if(!(i=a.badge)&&s)return a._badge({text:t.htmlEncode(n)}),t.htmlEncode(n);if(s)i.text(t.htmlEncode(n));else if(!1===n)return a.badge=null,o=i.element,i.destroy(),void o.empty().remove();return i?i.text():null}},current:function(){return this.element.find(p+c)},destroy:function(){var t=this;t.element.off(s),t.element.find(p+l).each((function(t,n){var i=e(n).getKendoToggleButton()||e(n).getKendoButton();i&&i.destroy()})),i.fn.destroy.call(t)},enable:function(e){void 0===e&&(e=!0),this.element.attr(h,!e).toggleClass(d,!e),this._buttons.forEach((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,i=-1;this.options.selection!==f&&undefined!==t&&-1!==t&&(i="number"==typeof t?t:t.nodeType?(t=e(t)).index():t.index(),n._buttons[i]&&(n.options.selection===v?t.length>1?t.each(((t,i)=>{var o=e(i).index();n._buttons[o].toggle(),n._toggleIndex(o)})):(n._buttons[i].toggle(),n._toggleIndex(i)):n._resetIndexes(i)))},_addButton:function(e,t){if(this.options.selection===f||t.command&&!t.togglable)return delete t.selected,new r(e,t);var n=new o(e,t);return n.bind("toggle",this._select.bind(this,e)),n},_attachEvents:function(){this.options.preventKeyNav||this.element.on("keydown"+s,this._keyDown.bind(this))},_keyDown:function(n){var i=e(this.element),o=i.find(p+l),r=i.find(":focus"),s=o.index(r),c=t.support.isRtl(this.element);n.keyCode===a.LEFT&&!c||n.keyCode===a.RIGHT&&c?((0===s?o.eq(o.length-1):e(o[s-1])).trigger(g),n.preventDefault()):(n.keyCode===a.LEFT&&c||n.keyCode===a.RIGHT&&!c)&&((s+1===o.length?o.eq(0):e(o[s+1])).trigger(g),n.preventDefault())},_decorateButtons:function(t){t.length&&(e(t[0].element).addClass("k-group-start"),e(t[t.length-1].element).addClass("k-group-end"))},_renderItems:function(n){var i=this,o=i.options,r=i.element.children(),a=[];return r.length>0&&r.each((function(n){var r=e(this),s=r.find("img").addClass("k-image"),l=r.is("[disabled]")||r.hasClass(d),u={badge:t.attrValue(r,"badge"),icon:s[0]?null:t.attrValue(r,"icon"),disabled:l,selected:!l&&r.is(p+c),size:o.size,rounded:o.rounded,fillMode:o.fillMode,themeColor:o.themeColor};a.push(i._addButton(r,u)),u.selected&&i.selectedIndices.push(n)})),n?(n.forEach((function(n,r){var s=n.text?!1===n.encoded?n.text:t.htmlEncode(n.text):"",l=n.url?e("<a href="+t.sanitizeLink(n.url)+">"):e("<button>");l.html(s),n.attributes&&l.attr(n.attributes),n=e.extend({},n,{size:o.size,rounded:o.rounded,fillMode:o.fillMode,themeColor:o.themeColor}),l.appendTo(i.element),a.push(i._addButton(l,n)),n.selected&&i.selectedIndices.push(r)})),i._decorateButtons(a),a):(i._decorateButtons(a),a)},_resetIndexes:function(e){this.selectedIndices=[],this._buttons.forEach((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(p+d)&&(t===v?this._toggleIndex(n):t===m&&this._resetIndexes(n),this.trigger(u,{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)}});n.plugin(_)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=e.extend,i="\r\n",o="\r\n\r\n",r=t.isFunction,a={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"},s=n({},a,{contains:"contains"}),l={pageSize:e.noop,page:e.noop,filter:function(e,t,n){t&&(t=d(t,n))&&(e.$filter=t)},sort:function(t,n){var i=e.map(n,(function(e){var t=e.field.replace(/\./g,"/");return"desc"===e.dir&&(t+=" desc"),t})).join(",");i&&(t.$orderby=i)},skip:function(e,t){t&&(e.$skip=t)},take:function(e,t){t&&(e.$top=t)}},c={read:{dataType:"jsonp"}};function d(e,n){var i,o,r,l,c,u,h,p,f=[],m=e.logic||"and",v=e.filters;for(i=0,o=v.length;i<o;i++)r=(e=v[i]).field,h=e.value,u=e.operator,e.filters?e=d(e,n):(p=e.ignoreCase,r=r.replace(/\./g,"/"),e=a[u],n&&(e=s[u]),"isnullorempty"===u?e=t.format("({0} {1} null or {0} {1} '')",r,e):"isnotnullorempty"===u?e=t.format("({0} {1} null and {0} {1} '')",r,e):"isnull"===u||"isnotnull"===u?e=t.format("{0} {1} null",r,e):"isempty"===u||"isnotempty"===u?e=t.format("{0} {1} ''",r,e):e&&undefined!==h&&("string"===(l=t.type(h))?(c="'{1}'",h=h.replace(/'/g,"''"),!0===p&&(r="tolower("+r+")")):"date"===l?n?(c="{1:yyyy-MM-ddTHH:mm:ss+00:00}",h=t.timezone.apply(h,"Etc/UTC")):c="datetime'{1:yyyy-MM-ddTHH:mm:ss}'":c="{1}",e.length>3?"substringof"!==e?c="{0}({2},"+c+")":(c="{0}("+c+",{2})","doesnotcontain"===u&&(n?(c="{0}({2},'{1}') eq -1",e="indexof"):c+=" eq false")):c="{2} {0} "+c,e=t.format(c,e,h,r))),f.push(e);return e=f.join(" "+m+" "),f.length>1&&(e="("+e+")"),e}function u(e){for(var t in e)0===t.indexOf("@odata")&&delete e[t]}function h(){return Math.floor(65536*(1+Math.random())).toString(16).substr(1)}function p(e){return e+h()+"-"+h()+"-"+h()}function f(e,t){var n="\r\n--"+e;return t&&(n+="--"),n}function m(e,n,i,o){var a=e.options[o].url,s=t.format("{0} ",i);return r(a)?s+a(n):s+a}function v(e,t){var n="";return n+=f(e,!1),n+="\r\nContent-Type: application/http",n+="\r\nContent-Transfer-Encoding: binary",n+="\r\nContent-ID: "+t}function g(e,n,r,a,s,l,c){var d="";return d+=function(e,t){var n="";return n+="--"+e+i,n+="Content-Type: multipart/mixed; boundary="+t+i,n}(n,r),d+=function(e,n,r,a,s,l){for(var c,d,u="",h=0;h<e.length;h++)u+=v(n,r),u+=o+m(s,e[h],s.options[a].type,a)+" HTTP/1.1",l||(u+=(c=e[h],d=void 0,d="",d+="\r\nContent-Type: application/json;odata=minimalmetadata",d+="\r\nPrefer: return=representation",d+=o+t.stringify(c))),u+=i,r++;return u}(e,r,a,l,s,c),d+=f(r,!0),d+=i}n(!0,t.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,n,i){var o,r,a,s;if(e=e||{},n=n||"read",s=(s=(this.options||c)[n])?s.dataType:"json","read"===n)for(a in o={$inlinecount:"allpages"},"json"!=s&&(o.$format="json"),e)l[a]?l[a](o,e[a],i):o[a]=e[a];else{if("json"!==s)throw new Error("Only json dataType can be used for "+n+" operation.");if("destroy"!==n){for(a in e)"number"==typeof(r=e[a])&&(e[a]=r+"");o=t.stringify(e)}}return o}}}}),n(!0,t.data,{schemas:{"odata-v4":{type:"json",data:function(t){if(Array.isArray(t)){for(var n=0;n<t.length;n++)u(t[n]);return t}return u(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,n){var i=t.data.transports.odata.parameterMap(e,n,!0);return"read"==n&&(i.$count=!0,delete i.$inlinecount),i&&i.$filter&&(i.$filter=i.$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)}))),i},submit:function(i){var o=function(e,t){var i=n({},e.options.batch),o=p("sf_batch_"),a="",s=0,l=e.options.batch.url,c=p("sf_changeset_");return i.type=e.options.batch.type,i.url=r(l)?l():l,i.headers=n(i.headers||{},{"Content-Type":"multipart/mixed; boundary="+o}),t.updated.length&&(a+=g(t.updated,o,c,s,e,"update",!1),s+=t.updated.length,c=p("sf_changeset_")),t.destroyed.length&&(a+=g(t.destroyed,o,c,s,e,"destroy",!0),s+=t.destroyed.length,c=p("sf_changeset_")),t.created.length&&(a+=g(t.created,o,c,s,e,"create",!1)),a+=f(o,!0),i.data=a,i}(this,i.data),a=i.data;(a.updated.length||a.destroyed.length||a.created.length)&&e.ajax(n(!0,{},{success:function(e){var n,o=function(e){var n,i,o,r,a,s=e.match(/--changesetresponse_[a-z0-9-]+$/gm),l=0,c=[];c.push({models:[],passed:!0});for(var d=0;d<s.length;d++)(r=s[d]).lastIndexOf("--",r.length-1)?d<s.length-1&&c.push({models:[],passed:!0}):(l=l?e.indexOf(r,l+r.length):e.indexOf(r),i=(n=e.substring(l,e.indexOf("--",l+1))).match(/^HTTP\/1\.\d (\d{3}) (.*)$/gm).pop(),(o=t.parseFloat(i.match(/\d{3}/g).pop()))>=200&&o<=299?(a=n.match(/\{.*\}/gm))&&c[c.length-1].models.push(JSON.parse(a[0])):c[c.length-1].passed=!1);return c}(e),r=0;a.updated.length&&((n=o[r]).passed&&i.success(n.models.length?n.models:[],"update"),r++),a.destroyed.length&&((n=o[r]).passed&&i.success([],"destroy"),r++),a.created.length&&(n=o[r]).passed&&i.success(n.models,"create")},error:function(e,t,n){i.error(e,t,n)}},o))}}}})}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=Array.isArray,i=e.isPlainObject,o=e.map,r=e.each,a=e.extend,s=t.getter,l=t.Class.extend({init:function(e){var s=this,l=e.total,c=e.model,d=e.parse,u=e.errors,h=e.serialize,p=e.data;if(c){if(i(c)){var f=e.modelBase||t.data.Model;c.fields&&r(c.fields,(function(e,n){i(n)&&n.field?t.isFunction(n.field)||(n=a(n,{field:s.getter(n.field)})):n={field:s.getter(n)},c.fields[e]=n}));var m=c.id;if(m){var v={};v[s.xpathToMember(m,!0)]={field:s.getter(m)},c.fields=a(v,c.fields),c.id=s.xpathToMember(m)}c=f.define(c)}s.model=c}if(l&&("string"==typeof l?(l=s.getter(l),s.total=function(e){return parseInt(l(e),10)}):"function"==typeof l&&(s.total=l)),u&&("string"==typeof u?(u=s.getter(u),s.errors=function(e){return u(e)||null}):"function"==typeof u&&(s.errors=u)),p&&("string"==typeof p?(p=s.xpathToMember(p),s.data=function(e){var t,i=s.evaluate(e,p);return i=n(i)?i:[i],s.model&&c.fields?(t=new s.model,o(i,(function(e){if(e){var n,i={};for(n in c.fields)i[n]=t._parse(n,c.fields[n].field(e));return i}}))):i}):"function"==typeof p&&(s.data=p)),"function"==typeof d){var g=s.parse;s.parse=function(e){var t=d.call(s,e);return g.call(s,t)}}"function"==typeof h&&(s.serialize=h)},total:function(e){return this.data(e).length},errors:function(e){return e?e.errors:null},serialize:function(e){return e},parseDOM:function(e){var t,i,o,r,a,s,l,c={},d=e.attributes,u=d.length;for(l=0;l<u;l++)c["@"+(s=d[l]).nodeName]=s.nodeValue;for(i=e.firstChild;i;i=i.nextSibling)3===(o=i.nodeType)||4===o?c["#text"]=i.nodeValue:1===o&&(t=this.parseDOM(i),a=c[r=i.nodeName],n(a)?a.push(t):a=undefined!==a?[a,t]:t,c[r]=a);return c},evaluate:function(e,t){for(var i,o,r,a,s,l=t.split(".");i=l.shift();)if(e=e[i],n(e)){for(o=[],t=l.join("."),s=0,r=e.length;s<r;s++)a=this.evaluate(e[s],t),a=n(a)?a:[a],o.push.apply(o,a);return o}return e},parse:function(t){var n,i,o={};return n=t.documentElement||e.parseXML(t).documentElement,i=this.parseDOM(n),o[n.nodeName]=i,o},xpathToMember:function(e,t){return e?(e=e.replace(/^\//,"").replace(/\//g,".")).indexOf("@")>=0?e.replace(/\.?(@.*)/,t?"$1":'["$1"]'):e.indexOf("text()")>=0?e.replace(/(\.?text\(\))/,t?"#text":'["#text"]'):e:""},getter:function(e){return s(this.xpathToMember(e),!0)}});e.extend(!0,t.data,{XmlDataReader:l,readers:{xml:l}})}(window.kendo.jQuery);kendo;const u={or:{concat:(e,t)=>n=>e(n)||t(n),identity:()=>!1},and:{concat:(e,t)=>n=>e(n)&&t(n),identity:()=>!0}},h={isnullorempty:e=>kendo.isBlank(e)||""===e,isnotnullorempty:e=>kendo.isPresent(e)&&""!==e,contains:(e,t)=>(e+"").indexOf(t)>=0,doesnotcontain:(e,t)=>-1===(e+"").indexOf(t),doesnotendwith:(e,t)=>(e+"").indexOf(t,(e||"").length-(t||"").length)<0,doesnotstartwith:(e,t)=>-1===(e+"").lastIndexOf(t,0),endswith:(e,t)=>(e+"").indexOf(t,(e||"").length-(t||"").length)>=0,eq:(e,t)=>e===t,gt:(e,t)=>e>t,gte:(e,t)=>e>=t,isempty:e=>""===e,isnotempty:e=>""!==e,isnotnull:e=>kendo.isPresent(e),isnull:e=>kendo.isBlank(e),lt:(e,t)=>e<t,lte:(e,t)=>e<=t,neq:(e,t)=>e!=t,startswith:(e,t)=>0===(e+"").lastIndexOf(t,0)},p=/^\/Date\((.*?)\)\/$/,f=({field:e,ignoreCase:t,value:n,operator:i="eq",accentFoldingFiltering:o})=>{e=kendo.isPresent(e)?e:e=>e,t=!kendo.isPresent(t)||t;const r=((e,t,n,i)=>{if(!kendo.isPresent(t))return e;let o=e;if(kendo.isString(t)){const r=p.exec(t);r?t=new Date(+r[1]):o=t=>{const o=e(t);return"string"==typeof o&&n?i?o.toLocaleLowerCase(i):o.toLowerCase():kendo.isNumeric(o)?o+"":o}}return kendo.isDate(t)?e=>{const t=o(e);return kendo.isDate(t)?t.getTime():t}:o})(kendo.isFunction(e)?e:kendo.getter(e,!0),n,t,o);n=((e,t,n)=>{if(null!=e&&kendo.isString(e)){const i=p.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})(n,t,o);const a=kendo.isFunction(i)?i:h[i];return e=>a(r(e),n,t)},m=e=>{const t=e.accentFoldingFiltering,n=u[e.logic||"and"];return e.filters.filter(kendo.isPresent).map((e=>{return n=e,kendo.isPresent(n.filters)?m(v(e,t)):f(v(e,t));var n})).reduce(n.concat,n.identity)},v=(e,t)=>kendo.isPresent(t)?Object.assign(e,{accentFoldingFiltering:t}):e;!function(e,t){var n,i=e.extend,o=e.isPlainObject,r=e.isEmptyObject,a=Array.isArray,s=e.grep,l=e.ajax,c=e.each,d=e.noop,u=window.kendo,h=u.isFunction,p=u.Observable,f=u.Class,v="string",g="function",_="create",b="read",y="update",w="destroy",k="change",x="sync",C="get",z="error",S="requestStart",T="progress",M="requestEnd",I="itemsLoaded",H="itemLoad",D=[_,b,y,w],E=function(e){return e},A=u.getter,V=u.stringify,P=Math,B=[].push,F=[].join,O=[].pop,L=[].splice,R=[].shift,N=[].slice,U=[].unshift,j={}.toString,W=u.support.stableSort,$=/^\/Date\((.*?)\)\/$/,q=[],G=p.extend({init:function(e,t){var n=this;n.type=t||X,p.fn.init.call(n),n.length=e.length,n.wrapAll(e,n),n._loadPromises=[],n._loadedNodes=[]},at:function(e){return this[e]},toJSON:function(e){var t,n,i=this.length,o=new Array(i);for(t=0;t<i;t++)(n=this[t])instanceof X&&(n=n.toJSON(e)),o[t]=n;return o},parent:d,wrapAll:function(e,t){var n,i,o=this,r=function(){return o};for(t=t||[],n=0,i=e.length;n<i;n++)t[n]=o.wrap(e[n],r);return t},wrap:function(e,t){var n=this;return null!==e&&"[object Object]"===j.call(e)&&(e instanceof n.type||e instanceof te||(e=e instanceof X?e.toJSON():e,e=new n.type(e)),e.parent=t,e.bind(k,(function(t){var i=e.hasOwnProperty("hasSubgroups");n.trigger(k,{field:t.field,node:t.node,index:t.index,items:t.items||[this],action:t.node||i?t.action||"itemloaded":"itemchange"})})),e.bind(H,(function(e){n._loadPromises.push(e.promise),n._loading=!0,e.promise.done((function(){n._loadedNodes.push(e.node);var t=n._loadPromises.indexOf(e.promise);n._loadPromises.splice(t,1),n._loadPromises.length||(n._loading=!1,n.trigger(I,{collection:n,nodes:n._loadedNodes}),n._loadedNodes=[])}))}))),e},loading:function(){return this._loading},push:function(){var e,t=this.length,n=this.wrapAll(arguments);return e=B.apply(this,n),this.omitChangeEvent||this.trigger(k,{action:"add",index:t,items:n}),e},slice:N,sort:[].sort,join:F,pop:function(){var e=this.length,t=O.apply(this);return e&&this.trigger(k,{action:"remove",index:e-1,items:[t]}),t},splice:function(e,t,n){var i,o,r,a=this.wrapAll(N.call(arguments,2));if((i=L.apply(this,[e,t].concat(a))).length)for(this.omitChangeEvent||(this.trigger(k,{action:"remove",index:e,items:this.omitCache&&this.omitCache.length?i.concat(this.omitCache):i}),this.omitCache=[]),o=0,r=i.length;o<r;o++)i[o]&&i[o].children&&i[o].unbind(k);return n&&(this.omitChangeEvent||this.trigger(k,{action:"add",index:e,items:a})),i},shift:function(){var e=this.length,t=R.apply(this);return e&&this.trigger(k,{action:"remove",index:0,items:[t]}),t},unshift:function(){var e,t=this.wrapAll(arguments);return e=U.apply(this,t),this.trigger(k,{action:"add",index:0,items:t}),e},indexOf:function(e){var t,n;for(t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},forEach:function(e,t){for(var n=0,i=this.length,o=t||window;n<i;n++)e.call(o,this[n],n,this)},map:function(e,t){for(var n=0,i=[],o=this.length,r=t||window;n<o;n++)i[n]=e.call(r,this[n],n,this);return i},reduce:function(e){var t,n=0,i=this.length;for(2==arguments.length?t=arguments[1]:n<i&&(t=this[n++]);n<i;n++)t=e(t,this[n],n,this);return t},reduceRight:function(e){var t,n=this.length-1;for(2==arguments.length?t=arguments[1]:n>0&&(t=this[n--]);n>=0;n--)t=e(t,this[n],n,this);return t},filter:function(e,t){for(var n,i=0,o=[],r=this.length,a=t||window;i<r;i++)n=this[i],e.call(a,n,i,this)&&(o[o.length]=n);return o},find:function(e,t){for(var n,i=0,o=this.length,r=t||window;i<o;i++)if(n=this[i],e.call(r,n,i,this))return n},every:function(e,t){for(var n,i=0,o=this.length,r=t||window;i<o;i++)if(n=this[i],!e.call(r,n,i,this))return!1;return!0},some:function(e,t){for(var n,i=0,o=this.length,r=t||window;i<o;i++)if(n=this[i],e.call(r,n,i,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&&!G.prototype[Symbol.iterator]&&(G.prototype[Symbol.iterator]=[][Symbol.iterator]);var K=G.extend({init:function(e,t,n){p.fn.init.call(this),this.type=t||X,n&&(this._events=n);for(var i=0;i<e.length;i++)this[i]=e[i];this.length=i,this._parent=function(){return this}.bind(this),this._loadPromises=[],this._loadedNodes=[]},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 Y(e,t,n,i){return function(o){var r,a={};for(r in o)a[r]=o[r];a.field=i?n+"."+o.field:n,t==k&&e._notifyChange&&e._notifyChange(a),e.trigger(t,a)}}function Q(e,t){var n,i,o=[],r=[];for(function(e){return"object"==typeof e&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})||Object.getPrototypeOf(e)===Object.getPrototypeOf(new Date)||"object"!=typeof e}(e=e||{})||(r=Object.getOwnPropertyNames(Object.getPrototypeOf(e)).filter((e=>0!==e.indexOf("__")))),n=Object.getOwnPropertyNames(e).concat(r),i=q.filter((function(e){return n.indexOf(e)<0}));e;)Object.getOwnPropertyNames(e).forEach((function(e){-1===o.indexOf(e)&&(!t||i.indexOf(e)<0)&&o.push(e)})),e=Object.getPrototypeOf(e);return o}q=Q({},!1);var X=p.extend({init:function(e){var t,n=this,i=Q(e,!0),o=function(){return n};p.fn.init.call(this),this._handlers={},i.forEach((function(i){"object"==typeof(t=e[i])&&t&&!t.getTime&&"_"!=i.charAt(0)&&(t=n.wrap(t,i,o)),n[i]=t})),n.uid=u.guid()},shouldSerialize:function(e,t){return"object"==typeof t&&(t=t&&t[e]),this.hasOwnProperty(e)&&"_handlers"!==e&&"_events"!==e&&(t||typeof this[e]!==g)&&"uid"!==e},forEach:function(e){for(var t in this)this.shouldSerialize(t)&&e(this[t],t)},toJSON:function(e){var t,n,i={};for(n in this)this.shouldSerialize(n,e)&&(((t=this[n])instanceof X||t instanceof G)&&(t=t.toJSON(e)),i[n]=t);return i},get:function(e){var t=this;return t.trigger(C,{field:e}),"this"===e?t:u.getter(e,!0)(t)},_set:function(e,t){var n=e.indexOf(".")>=0;if(n)for(var i=e.split("."),o="";i.length>1;){o+=i.shift();var r=u.getter(o,!0)(this);if(r instanceof X)return r.set(i.join("."),t),n;o+="."}return u.setter(e)(this,t),n},set:function(e,t){var n=this,i=!1,o=e.indexOf(".")>=0,r=u.getter(e,!0)(n);return r!==t&&(r instanceof p&&this._handlers[e]&&(this._handlers[e].get&&r.unbind(C,this._handlers[e].get),r.unbind(k,this._handlers[e].change)),(i=n.trigger("set",{field:e,value:t}))||(o||(t=n.wrap(t,e,(function(){return n}))),(!n._set(e,t)||e.indexOf("(")>=0||e.indexOf("[")>=0)&&n.trigger(k,{field:e}))),i},parent:d,wrap:function(e,t,n){var i,o,r=this,a=j.call(e);if(null!=e&&("[object Object]"===a||"[object Array]"===a)){var s=e instanceof G,l=e instanceof qe;"[object Object]"!==a||l||s?("[object Array]"===a||s||l)&&(s||l||(e=new G(e)),o=Y(r,k,t,!1),e.bind(k,o),r._handlers[t]={change:o}):(e instanceof X||(e=new X(e)),i=Y(r,C,t,!0),e.bind(C,i),o=Y(r,k,t,!0),e.bind(k,o),r._handlers[t]={get:i,change:o}),e.parent=n}return e}});function Z(e,t){if(e===t)return!0;var n,i=u.type(e);if(i!==u.type(t))return!1;if("date"===i)return e.getTime()===t.getTime();if("object"!==i&&"array"!==i)return!1;for(n in e)if(!Z(e[n],t[n]))return!1;return!0}var J={number:function(e){return typeof e===v&&"null"===e.toLowerCase()?null:u.parseFloat(e)},date:function(e){return typeof e===v&&"null"===e.toLowerCase()?null:u.parseDate(e)},boolean:function(e){return typeof e===v?"null"===e.toLowerCase()?null:"true"===e.toLowerCase():null!=e?!!e:e},string:function(e){return typeof e===v&&"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(n){var i=this;if((!n||e.isEmptyObject(n))&&(n=e.extend({},i.defaults,n),i._initializers))for(var o=0;o<i._initializers.length;o++){var r=i._initializers[o];n[r]=i.defaults[r]()}X.fn.init.call(i,n),i.dirty=!1,i.dirtyFields={},i.idField&&(i.id=i.get(i.idField),i.id===t&&(i.id=i._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 n,i=e,r=this.fields||{};return(e=r[e])||(e=function(e,t){var n,i;for(i in e){if(n=e[i],o(n)&&n.field&&n.field===t)return n;if(n===t)return n}return null}(r,i)),e&&!(n=e.parse)&&e.type&&(n=J[e.type.toLowerCase()]),n?n(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 n=this,i=n.dirty;n.editable(e)&&(Z(t=n._parse(e,t),n.get(e))?n.trigger("equalSet",{field:e,value:t}):(n.dirty=!0,n.dirtyFields[e]=!0,X.fn.set.call(n,e,t)&&!i&&(n.dirty=i,n.dirty||(n.dirtyFields[e]=!1))))},accept:function(e){var t,n=this,i=function(){return n};for(t in e){var o=e[t];"_"!=t.charAt(0)&&(o=n.wrap(e[t],t,i)),n._set(t,o)}n.idField&&(n.id=n.get(n.idField)),n.dirty=!1,n.dirtyFields={}},isNew:function(){return this.id===this._defaultId}});te.define=function(n,o){o===t&&(o=n,n=te);var r,a,s,l,c,d,u,h,p=i({defaults:{}},o),f={},m=p.id,g=[];if(m&&(p.idField=m),p.id&&delete p.id,m&&(p.defaults[m]=p._defaultId=""),"[object Array]"===j.call(p.fields)){for(d=0,u=p.fields.length;d<u;d++)typeof(s=p.fields[d])===v?f[s]={}:s.field&&(f[s.field]=s);p.fields=f}for(a in p.fields){l=(s=p.fields[a]).type||"default",c=null,h=a;let n=typeof s.field===v?s.field:a;s.nullable&&!s.defaultValue||"function"==typeof(c=p.defaults[h!==n?h:n]=s.defaultValue!==t?s.defaultValue:ee[l.toLowerCase()])&&g.push(n),o.id===n&&(p._defaultId=c),p.defaults[h!==n?h:n]=c,e.isPlainObject(s)?s.parse=s.parse||J[l]:s={parse:J[l]}}return g.length>0&&(p._initializers=g),(r=n.extend(p)).define=function(e){return te.define(r,e)},p.fields&&(r.fields=p.fields,r.idField=p.idField),r};var ne={selector:function(e){return h(e)?e:A(e)},compare:function(e){var t=this.selector(e);return function(e,n){return e=t(e),n=t(n),null==e&&null==n?0:null==e?-1:null==n?1:e.localeCompare?e.localeCompare(n):e>n?1:e<n?-1:0}},create:function(e){var t=e.compare||this.compare(e.field);return"desc"==e.dir?function(e,n){return t(n,e,!0)}:t},combine:function(e){return function(t,n){var i,o,r=e[0](t,n);for(i=1,o=e.length;i<o;i++)r=r||e[i](t,n);return r}}},ie=i({},ne,{asc:function(e){var t=this.selector(e);return function(e,n){var i=t(e),o=t(n);return i&&i.getTime&&o&&o.getTime&&(i=i.getTime(),o=o.getTime()),i===o?e.__position-n.__position:null==i?-1:null==o?1:i.localeCompare?i.localeCompare(o):i>o?1:-1}},desc:function(e){var t=this.selector(e);return function(e,n){var i=t(e),o=t(n);return i&&i.getTime&&o&&o.getTime&&(i=i.getTime(),o=o.getTime()),i===o?e.__position-n.__position:null==i?1:null==o?-1:o.localeCompare?o.localeCompare(i):i<o?1:-1}},create:function(e){return this[e.dir](e.field)}});n=function(e,t){var n,i=e.length,o=new Array(i);for(n=0;n<i;n++)o[n]=t(e[n],n,e);return o};var oe=function(){function e(e){return"string"==typeof e&&(e=e.replace(/[\r\n]+/g,"")),JSON.stringify(e)}function t(t){return function(n,i,o,r){return i+="",o&&(n="("+n+" + '').toString()"+(r?".toLocaleLowerCase('"+r+"')":".toLowerCase()"),i=r?i.toLocaleLowerCase(r):i.toLowerCase()),t(n,e(i),o)}}function n(t,n,i,o,r){if(null!=i){if(typeof i===v){var a=$.exec(i);a?i=new Date(+a[1]):o?(i=e(r?i.toLocaleLowerCase(r):i.toLowerCase()),n="(("+n+" || '')+'')"+(r?".toLocaleLowerCase('"+r+"')":".toLowerCase()")):i=e(i)}i.getTime&&(n="("+n+"&&"+n+".getTime?"+n+".getTime():"+n+")",i=i.getTime())}return n+" "+t+" "+i}function i(e){for(var t="/^",n=!1,i=0;i<e.length;++i){var o=e.charAt(i);if(n)t+="\\"+o;else{if("~"==o){n=!0;continue}"*"==o?t+=".*":"?"==o?t+=".":".+^$()[]{}|\\/\n\r\u2028\u2029 ".indexOf(o)>=0?t+="\\"+o:t+=o}n=!1}return t+"$/"}return{quote:function(t){return t&&t.getTime?"new Date("+t.getTime()+")":e(t)},eq:function(e,t,i,o){return n("==",e,t,i,o)},neq:function(e,t,i,o){return n("!=",e,t,i,o)},gt:function(e,t,i){return n(">",e,t,i)},gte:function(e,t,i){return n(">=",e,t,i)},lt:function(e,t,i){return n("<",e,t,i)},lte:function(e,t,i){return n("<=",e,t,i)},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 i(t=t.substring(1,t.length-1))+".test("+e+")"})),doesnotmatch:t((function(e,t){return"!"+i(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 re(e){this.data=e||[]}function ae(e,n){if(e){var i=typeof e===v?{field:e,dir:n}:e,o=a(i)?i:i!==t?[i]:[];return s(o,(function(e){return!!e.dir}))}}function se(e,n){var i={};if(e)for(var o=typeof e===v?{field:e,dir:n}:e,r=a(o)?o:o!==t?[o]:[],s=0;s<r.length;s++)i[r[s].field]={dir:r[s].dir,index:s+1};return i}re.filterExpr=function(e,n={noEval:!1}){if(n.noEval)return function(e){return m(e)}(e);var i,o,r,a,s,l,c=[],d=[],h=[],p=e.filters;for(i=0,o=p.length;i<o;i++)s=(r=p[i]).field,l=r.operator,r.filters?(r=(a=re.filterExpr(r)).expression.replace(/__o\[(\d+)\]/g,(function(e,t){return t=+t,"__o["+(h.length+t)+"]"})).replace(/__f\[(\d+)\]/g,(function(e,t){return t=+t,"__f["+(d.length+t)+"]"})),h.push.apply(h,a.operators),d.push.apply(d,a.fields)):(typeof s===g?(a="__f["+d.length+"](d)",d.push(s)):a=u.expr(s),typeof l===g?(r="__o["+h.length+"]("+a+", "+oe.quote(r.value)+")",h.push(l)):r=oe[(l||"eq").toLowerCase()](a,r.value,r.ignoreCase===t||r.ignoreCase,e.accentFoldingFiltering)),c.push(r);return{expression:"("+c.join({and:" && ",or:" || "}[e.logic])+")",fields:d,operators:h}};var le={"==":"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 ce(e){var t,n,i,o,r=e.filters;if(r)for(t=0,n=r.length;t<n;t++)(o=(i=r[t]).operator)&&typeof o===v&&(i.operator=le[o.toLowerCase()]||o),ce(i)}function de(e){if(e&&!r(e))return!a(e)&&e.filters||(e={logic:"and",filters:a(e)?e:[e]}),ce(e),e}function ue(e,t){return!e.logic&&!t.logic&&(e.field===t.field&&e.value===t.value&&e.operator===t.operator)}function he(e){return r(e=e||{})?{logic:"and",filters:[]}:de(e)}function pe(e,t){return t.logic||e.field>t.field?1:e.field<t.field?-1:0}function fe(e,i,o,r){var s=typeof e===v?{field:e,dir:i,compare:o,skipItemSorting:r}:e,l=a(s)?s:s!==t?[s]:[];return n(l,(function(e){return{field:e.field,dir:e.dir||"asc",aggregates:e.aggregates,compare:e.compare,skipItemSorting:e.skipItemSorting}}))}function me(e,t,n){for(var i=fe(e,t,n),o=0;o<i.length;o++)delete i[o].compare;return i}function ve(e,t){return e&&e.getTime&&t&&t.getTime?e.getTime()===t.getTime():e===t}function ge(e,t,n,i,o,r){var a,s,l,c=(t=t||[]).length;for(a=0;a<c;a++){l=(s=t[a]).aggregate;var d=s.field;e[d]=e[d]||{},r[d]=r[d]||{},r[d][l]=r[d][l]||{},e[d][l]=_e[l.toLowerCase()](e[d][l],n,u.accessor(d),i,o,r[d][l])}}re.normalizeFilter=de,re.compareFilters=function e(t,n){if(t=he(t),n=he(n),t.logic!==n.logic)return!1;var i,o,r=(t.filters||[]).slice(),a=(n.filters||[]).slice();if(r.length!==a.length)return!1;r=r.sort(pe),a=a.sort(pe);for(var s=0;s<r.length;s++)if(i=r[s],o=a[s],i.logic&&o.logic){if(!e(i,o))return!1}else if(!ue(i,o))return!1;return!0},re.prototype={toArray:function(){return this.data},range:function(e,t){return new re(this.data.slice(e,e+t))},skip:function(e){return new re(this.data.slice(e))},take:function(e){return new re(this.data.slice(0,e))},select:function(e){return new re(n(this.data,e))},order:function(e,t,n){var i={dir:t};return e&&(e.compare?i.compare=e.compare:i.field=e),new re(n?this.data.sort(ne.create(i)):this.data.slice(0).sort(ne.create(i)))},orderBy:function(e,t){return this.order(e,"asc",t)},orderByDescending:function(e,t){return this.order(e,"desc",t)},sort:function(e,t,n,i){var o,r,a=ae(e,t),s=[];if(n=n||ne,a.length){for(o=0,r=a.length;o<r;o++)s.push(n.create(a[o]));return this.orderBy({compare:n.combine(s)},i)}return this},filter:function(e){var t,n=this.data;return(e=de(e))&&0!==e.filters.length?(t=re.filterExpr(e,{noEval:!0}),new re(n.filter(t))):this},group:function(e,t,n){e=fe(e||[]),t=t||this.data;var i,o=new re(this.data),r=(e,n)=>n=n||new re(t).filter([{field:e.field,operator:"eq",value:e.value,ignoreCase:!1}]);return e.length>0&&(i=e[0],o=n&&n.groupPaging?new re(t).groupAllData(i,t).select((function(t){var o,a=e.length>1?new re(t.items).group(e.slice(1),r(t,o).toArray(),n).toArray():t.items;return{field:t.field,value:t.value,hasSubgroups:e.length>1,items:a,aggregates:i.aggregates&&i.aggregates.length?r(t,o).aggregate(i.aggregates):{},uid:u.guid(),itemCount:a.length,subgroupCount:a.length}})):o.groupBy(i).select((function(t){var n;return{field:t.field,value:t.value,items:e.length>1?new re(t.items).group(e.slice(1),r(t,n).toArray()).toArray():t.items,hasSubgroups:e.length>1,aggregates:i.aggregates&&i.aggregates.length?r(t,n).aggregate(i.aggregates):{}}}))),o},groupBy:function(e){if(r(e)||!this.data.length)return new re([]);var t,n,i,o,a=e.field,s=e.skipItemSorting?this.data:this._sortForGrouping(a,e.dir||"asc"),l=u.accessor(a),c=l.get(s[0],a),d={field:a,value:c,items:[]},h=[d];for(i=0,o=s.length;i<o;i++)t=s[i],ve(c,n=l.get(t,a))||(d={field:a,value:c=n,items:[]},h.push(d)),d.items.push(t);return new re(h=this._sortGroups(h,e))},groupAllData:function(e,t){if(r(e)||this.data&&!this.data.length)return new re([]);var n,i,o,a,s=e.field,l=e.skipItemSorting?t:new re(t).sort(s,e.dir||"asc",ie).toArray(),c=u.accessor(s),d=c.get(l[0],s),h={field:s,value:d,items:[]},p=[h];for(o=0,a=l.length;o<a;o++)n=l[o],ve(d,i=c.get(n,s))||(h={field:s,value:d=i,items:[]},p.push(h)),h.items.push(n);return new re(p=this._sortGroups(p,e))},_sortForGrouping:function(e,t){var n,i,o=this.data;if(!W){for(n=0,i=o.length;n<i;n++)o[n].__position=n;for(n=0,i=(o=new re(o).sort(e,t,ie).toArray()).length;n<i;n++)delete o[n].__position;return o}return this.sort(e,t).toArray()},_sortGroups:function(e,t){var n=e;return t&&h(t.compare)&&(n=new re(n).order({compare:t.compare},t.dir||"asc").toArray()),n},aggregate:function(e){var t,n,i={},o={};if(e&&e.length)for(t=0,n=this.data.length;t<n;t++)ge(i,e,this.data[t],t,n,o);return i}};var _e={sum:function(e,t,n){var i=n.get(t);return be(e)?be(i)&&(e+=i):e=i,e},count:function(e){return(e||0)+1},average:function(e,n,i,o,r,a){var s=i.get(n);return a.count===t&&(a.count=0),be(e)?be(s)&&(e+=s):e=s,be(s)&&a.count++,o==r-1&&be(e)&&(e/=a.count),e},max:function(e,t,n){var i=n.get(t);return be(e)||ye(e)||(e=i),e<i&&(be(i)||ye(i))&&(e=i),e},min:function(e,t,n){var i=n.get(t);return be(e)||ye(e)||(e=i),e>i&&(be(i)||ye(i))&&(e=i),e}};function be(e){return"number"==typeof e&&!isNaN(e)}function ye(e){return e&&e.getTime}function we(e){var t,n=e.length,i=new Array(n);for(t=0;t<n;t++)i[t]=e[t].toJSON();return i}re.normalizeGroup=fe,re.normalizeSort=ae,re.process=function(e,o,s){var l,c,d=(o=o||{}).group,u=function(e){for(var t=a(e)?e:[e],n=0;n<t.length;n++)if(t[n]&&h(t[n].compare))return!0;return!1}(fe(d||[])),p=new re(e),f=me(d||[]),m=ae(o.sort||[]),v=u?m:f.concat(m),g=o.filterCallback,_=o.filter,b=o.skip,y=o.take;return v&&s&&(p=p.sort(v,t,t,s)),_&&(p=p.filter(_),g&&(p=g(p)),c=p.toArray().length),v&&(s||(p=p.sort(v)),d&&(e=p.toArray())),u?(p=p.group(d,e,o),b===t||y===t||o.groupPaging||(p=new re(Ae(p.toArray())).range(b,y),l=n(f,(function(e){return i({},e,{skipItemSorting:!0})})),p=p.group(l,e,o))):(b!==t&&y!==t&&(b+y>(c=p.data.length)&&o.virtual&&(b=(b-=b+y-c)<0?0:b),p=p.range(b,y)),!d||r(d)&&0===d.length||(p=p.group(d,e,o))),{total:c,data:p.toArray()}};var ke=f.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)}}),xe=f.extend({init:function(e){var t,n=this;e=n.options=i({},n.options,e),c(D,(function(t,n){typeof e[n]===v&&(e[n]={url:e[n]})})),n.cache=e.cache?Ce.create(e.cache):{find:d,add:d},t=e.parameterMap,e.submit&&(n.submit=e.submit),h(e.push)&&(n.push=e.push),n.push||(n.push=E),n.parameterMap=h(t)?t:function(e){var n={};return c(e,(function(e,i){e in t&&(e=t[e],o(e)&&(i=e.value(i),e=e.key)),n[e]=i})),n}},options:{parameterMap:E},create:function(e){return l(this.setup(e,_))},read:function(n){var i,o,r=this.cache;n=this.setup(n,b),i=n.success||d,n.error,(o=r.find(n.data))!==t?i(o):(n.success=function(e){r.add(n.data,e),i(e)},e.ajax(n))},update:function(e){return l(this.setup(e,y))},destroy:function(e){return l(this.setup(e,w))},setup:function(e,t){e=e||{};var n,o=this.options[t],r=h(o.data)?o.data(e.data):o.data;return e=i(!0,{},o,e),n=i(!0,{},r,e.data),e.data=this.parameterMap(n,t),h(e.url)&&(e.url=e.url(n)),e}}),Ce=f.extend({init:function(){this._store={}},add:function(e,n){e!==t&&(this._store[V(e)]=n)},find:function(e){return this._store[V(e)]},clear:function(){this._store={}},remove:function(e){delete this._store[V(e)]}});function ze(e,t,n,i,o){var r,a,s,l,c,d={};for(l=0,c=e.length;l<c;l++)for(a in r=e[l],t)(s=o[a])&&s!==a&&(d[s]||(d[s]=u.setter(s)),d[s](r,t[a](r)),delete r[a])}function Se(e,t,n,i,o){var r,a,s,l,c;for(l=0,c=e.length;l<c;l++)for(a in r=e[l],t)r[a]=n._parse(a,t[a](r)),(s=o[a])&&s!==a&&delete r[s]}function Te(e,t,n,i,o){var r,a,s,l;for(a=0,l=e.length;a<l;a++)(s=i[(r=e[a]).field])&&s!=r.field&&(r.field=s),r.value=n._parse(r.field,r.value),r.items&&(r.hasSubgroups?Te(r.items,t,n,i,o):Se(r.items,t,n,0,o))}function Me(e,t,n,i,o,r){return function(a){return a=e(a),Ie(t,n,i,o,r)(a)}}function Ie(e,t,n,i,o){return function(a){return a&&!r(n)&&("[object Array]"===j.call(a)||a instanceof G||(a=[a]),t(a,n,new e,i,o)),a||[]}}Ce.create=function(e){var t={inmemory:function(){return new Ce}};return o(e)&&h(e.find)?e:!0===e?new Ce:t[e]()};var He=f.extend({init:function(e){var t,n,i,r,a=this;for(t in e=e||{})n=e[t],a[t]=typeof n===v?A(n):n;r=e.modelBase||te,o(a.model)&&(a.model=i=r.define(a.model));var s=a.data.bind(a);if(a._dataAccessFunction=s,a.model){var l,d,u=a.groups.bind(a),h=a.serialize.bind(a),p={},f={},m={},g={},_=!1;(i=a.model).fields&&(c(i.fields,(function(e,t){var n;l=e,o(t)&&t.field?l=t.field:typeof t===v&&(l=t),o(t)&&t.from&&(n=t.from),_=_||n&&n!==e||l!==e,d=n||l,f[e]=-1!==d.indexOf(".")?A(d,!0):A(d),m[e]=A(e),p[n||l]=e,g[e]=n||l})),!e.serialize&&_&&(a.serialize=Me(h,i,ze,m,p,g))),a._dataAccessFunction=s,a._wrapDataAccessBase=Ie(i,Se,f,p,g),a.data=Me(s,i,Se,f,p,g),a.groups=Me(u,i,Te,f,p,g)}},errors:function(e){return e?e.errors:null},parse:E,data:E,total:function(e){return e.length},groups:E,aggregates:function(){return{}},serialize:function(e){return e}});function De(e,t){var n,i;if(t.items&&t.items.length)for(var o=0;o<t.items.length;o++)n=e.items[e.items.length-1],i=t.items[o],n&&i?n.hasSubgroups&&n.value==i.value?De(n,i):n.field&&n.value==i.value?(n.items.omitChangeEvent=!0,n.items.push.apply(n.items,i.items),n.items.omitChangeEvent=!1):(e.items.omitChangeEvent=!0,e.items.push.apply(e.items,[i]),e.items.omitChangeEvent=!1):i&&(e.items.omitChangeEvent=!0,e.items.push.apply(e.items,[i]),e.items.omitChangeEvent=!1)}function Ee(e,t,n,i){for(var o,r,a=0;t.length&&i;){var s=(r=(o=t[a]).items).length;if(e&&e.field===o.field&&e.value===o.value?(e.hasSubgroups&&e.items.length?Ee(e.items[e.items.length-1],o.items,n,i):(r=r.slice(n,n+i),e.items=e.items.concat(r)),t.splice(a--,1)):o.hasSubgroups&&r.length?(Ee(o,r,n,i),o.items.length||t.splice(a--,1)):(r=r.slice(n,n+i),o.items=r,o.items.length||t.splice(a--,1)),0===r.length?n-=s:(n=0,i-=r.length),++a>=t.length)break}a<t.length&&t.splice(a,t.length-a)}function Ae(e,t){for(var n,i,o=[],r=(e||[]).length,a=h(t)?t:function(e,t){return e[t]},s=0;s<r;s++)if((n=a(e,s)).hasSubgroups)o=o.concat(Ae(n.items));else{i=n.items;for(var l=0;l<i.length;l++)o.push(a(i,l))}return o}function Ve(e){var t,n,i,o,r=[];for(t=0,n=e.length;t<n;t++){var a=e.at(t);if(a.items)if(a.hasSubgroups)r=r.concat(Ve(a.items));else for(i=a.items,o=0;o<i.length;o++)r.push(i.at(o))}return r}function Pe(e,t){var n,i,o;if(t)for(n=0,i=e.length;n<i;n++)(o=e.at(n)).items&&(o.hasSubgroups?Pe(o.items,t):o.items=new K(o.items,t,o.items._events))}function Be(e,t){for(var n=0;n<e.length;n++)if(e[n].hasSubgroups){if(Be(e[n].items,t))return!0}else if(t(e[n].items,e[n]))return!0}function Fe(e,t,n,i){for(var o=0;o<e.length&&e[o].data!==t&&!Oe(e[o].data,n,i);o++);}function Oe(e,t,n){for(var i=0,o=e.length;i<o;i++){if(e[i]&&e[i].hasSubgroups)return Oe(e[i].items,t,n);if(e[i]===t||e[i]===n)return e[i]=n,!0}}function Le(e,n,i,o,r){for(var a=0,s=e.length;a<s;a++){var l=e[a];if(l&&!(l instanceof o))if(l.hasSubgroups===t||r){for(var c=0;c<n.length;c++)if(n[c]===l){e[a]=n.at(c),Fe(i,n,l,e[a]);break}}else Le(l.items,n,i,o,r)}}function Re(e,t){return t?Ue(e,(function(e){return e.uid&&e.uid==t.uid||e[t.idField]===t.id&&t.id!==t._defaultId})):-1}function Ne(e,t){return t?Ue(e,(function(e){return e.uid==t.uid})):-1}function Ue(e,t){var n,i;if(e){for(n=0,i=e.length;n<i;n++)if(t(e[n]))return n;return-1}}function je(e,t){if(e&&!r(e)){var n,i=e[t];return n=o(i)?i.from||i.field||t:e[t]||t,h(n)?t:n}return t}function We(e,t){var n,i,o={};for(var r in e)"filters"!==r&&(o[r]=e[r]);if(e.filters)for(o.filters=[],n=0,i=e.filters.length;n<i;n++)o.filters[n]=We(e.filters[n],t);else o.field=je(t.fields,o.field);return o}function $e(e,t){var n,i,o,r,s=[];for(n=0,i=e.length;n<i;n++){for(var l in o={},r=e[n])o[l]=r[l];o.field=je(t.fields,o.field),o.aggregates&&a(o.aggregates)&&(o.aggregates=$e(o.aggregates,t)),s.push(o)}return s}var qe=p.extend({init:function(e){var n,o=this;if(e&&(n=e.data),e=o.options=i({},o.options,e),o._map={},o._prefetch={},o._data=[],o._pristineData=[],o._ranges=[],o._view=[],o._pristineTotal=0,o._destroyed=[],o._pageSize=e.pageSize,o._page=e.page||(e.pageSize?1:t),o._sort=ae(e.sort),o._sortFields=se(e.sort),o._filter=de(e.filter),o._group=fe(e.group),o._aggregate=e.aggregate,o._total=e.total,o._groupPaging=e.groupPaging,o._groupPaging&&(o._groupsState={}),o._shouldDetachObservableParents=!0,p.fn.init.call(o),o.transport=Ge.create(e,n,o),h(o.transport.push)&&o.transport.push({pushCreate:o._pushCreate.bind(o),pushUpdate:o._pushUpdate.bind(o),pushDestroy:o._pushDestroy.bind(o)}),null!=e.offlineStorage)if("string"==typeof e.offlineStorage){var r=e.offlineStorage;o._storage={getItem:function(){return JSON.parse(localStorage.getItem(r))},setItem:function(e){localStorage.setItem(r,V(o.reader.serialize(e)))}}}else o._storage=e.offlineStorage;o.reader=new u.data.readers[e.schema.type||"json"](e.schema),o.reader.model,o._detachObservableParents(),o._data=o._observe(o._data),o._online=!0,o.bind(["push",z,k,S,x,M,T],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(n){return n!==t?this._online!=n&&(this._online=n,n)?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 n=this._readData(e);n||(n=e),this[t](n)},_flatData:function(e,t){if(e){if(this._isServerGrouped())return Ve(e);if(!t)for(var n=0;n<e.length;n++)e.at(n)}return e},parent:d,get:function(e){var t,n,i=this._flatData(this._data,this.options.useRanges);for(t=0,n=i.length;t<n;t++)if(i[t].id==e)return i[t]},getByUid:function(e){return this._getByUid(e,this._data)},_getByUid:function(e,t){var n,i,o=this._flatData(t,this.options.useRanges);if(o)for(n=0,i=o.length;n<i;n++)if(o[n].uid==e)return o[n]},indexOf:function(e){return Ne(this._data,e)},at:function(e){return this._data.at(e)},data:function(e){var n=this;if(e===t){if(n._data)for(var i=0;i<n._data.length;i++)n._data.at(i);return n._data}n._detachObservableParents(),n._data=this._observe(e),n._pristineData=e.slice(0),n._storeData(),n._ranges=[],n.trigger("reset"),n._addRange(n._data),n._total=n._data.length,n._pristineTotal=n._total,n._process(n._data)},view:function(e){if(e===t)return this._view;this._view=this._observeView(e)},_observeView:function(e){var t=this;Le(e,t._data,t._ranges,t.reader.model||X,t._isServerGrouped());var n=new K(e,t.reader.model);return n.parent=function(){return t.parent()},n},flatView:function(){return(this.group()||[]).length?Ve(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,n){var i=this._getCurrentRangeSpan();n||(n=t,t=0),a(n)||(n=[n]);var o=[],r=this.options.autoSync;this.options.autoSync=!1;try{for(var s=0;s<n.length;s++){var l=n[s],c=this.insert(t,l);o.push(c);var d=c.toJSON();this._isServerGrouped()&&(d=this._wrapInEmptyGroup(d)),this._pristineData.push(d),i&&i.length&&e(i).last()[0].pristineData.push(d),t++}}finally{this.options.autoSync=r}o.length&&this.trigger("push",{type:"create",items:o})},pushCreate:function(e){this.pushInsert(this._data.length,e)},pushUpdate:function(e){a(e)||(e=[e]);for(var t=[],n=0;n<e.length;n++){var i=e[n],o=this._createNewModel(i),r=this.get(o.id);r?(t.push(r),r.accept(i),r.trigger(k),this._updatePristineForModel(r,i)):this.pushCreate(i)}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){a(e)||(e=[e]);var n=void 0===t||t,i=[],o=this.options.autoSync;this.options.autoSync=!1;try{for(var r=0;r<e.length;r++){var s=e[r],l=this._createNewModel(s),c=!1,d=r;this._eachItem(this._data,(function(t){d!==e.length-1?(t.omitChangeEvent=!0,t.omitCache=t.omitCache||[]):t.omitChangeEvent=!1;for(var n=0;n<t.length;n++){var o=t.at(n);if(o.id===l.id){t.omitChangeEvent&&t.omitCache.push(o),i.push(o),t.splice(n,1),c=!0;break}}})),c&&n&&(this._removePristineForModel(l),this._destroyed.pop())}}finally{this.options.autoSync=o}return i},pushMove:function(e,t){var n=this._moveItems(e,t);n.length&&this.trigger("push",{type:"update",items:n})},_moveItems:function(e,t){a(t)||(t=[t]);var n=[],i=this.options.autoSync;this.options.autoSync=!1;try{for(var o=0;o<t.length;o++){var r=t[o];this._eachItem(this._data,(function(t){for(var i=0;i<t.length;i++){var o=t.at(i);if(o.uid===r.uid){n.push(o),t.splice(e>=i?--e:e,0,t.splice(i,1)[0]),e++;break}}}))}}finally{this.options.autoSync=i}return n},remove:function(e){var t,n=this,i=n._isServerGrouped();return!i||!e.uid||e.isNew&&e.isNew()||n._pushInDestroyed(e),this._eachItem(n._data,(function(n){if(t=function(e,t){if(e){var n,i,o=e.length;for(i=0;i<o;i++)if((n=e[i]).uid&&n.uid==t.uid)return e.splice(i,1),n}}(n,e),t&&i)return!0})),this._removeModelFromRanges(e),e},destroyed:function(){return this._destroyed},created:function(){var e,t,n=[],i=this._flatData(this._data,this.options.useRanges);for(e=0,t=i.length;e<t;e++)i[e].isNew&&i[e].isNew()&&!i[e].notFetched&&n.push(i[e]);return n},updated:function(){var e,t,n=[],i=this._flatData(this._data,this.options.useRanges);for(e=0,t=i.length;e<t;e++)i[e].isNew&&!i[e].isNew()&&i[e].dirty&&n.push(i[e]);return n},sync:function(){var t,n=this,i=[],o=[];n._destroyed=n._destroyed.filter((e=>!e.hasOwnProperty("_isMoved"))),t=n._destroyed;var r=e.Deferred().resolve().promise();if(n.online()){if(!n.reader.model)return r;i=n.created(),o=n.updated();var a=[];n.options.batch&&n.transport.submit?a=n._sendSubmit(i,o,t):(a.push.apply(a,n._send("create",i)),a.push.apply(a,n._send("update",o)),a.push.apply(a,n._send("destroy",t))),r=e.when.apply(null,a).then((function(){var e,t,i=[];for(e=0,t=arguments.length;e<t;e++)arguments[e]&&(n._accept(arguments[e]),i.push(...arguments[e].models));n._storeData(!0),n._syncEnd(),n._change({action:"sync",changedItems:i}),n.trigger(x),n._isServerGroupPaged()&&n.read(),n.data().map((function(e){return e.hasOwnProperty("_isMoved")&&delete e._isMoved,e}))}))}else n._storeData(!0),n._syncEnd(),n._change({action:"sync"});return r},_syncEnd:d,cancelChanges:function(e){var t=this;e instanceof u.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:d,_markOfflineUpdatesAsDirty:function(){var e=this;null!=e.options.offlineStorage&&e._eachItem(e._data,(function(e){for(var t=0;t<e.length;t++){var n=e.at(t);"update"!=n.__state__&&"create"!=n.__state__||(n.dirty=!0)}}))},hasChanges:function(){var e,t,n=this._flatData(this._data,this.options.useRanges);if(this._destroyed.length)return!0;for(e=0,t=n.length;e<t;e++)if(n[e].isNew&&n[e].isNew()||n[e].dirty)return!0;return!1},_accept:function(t){var n,i=this,o=t.models,s=t.response,l=0,c=i._isServerGrouped(),d=i._pristineData,u=t.type;if(i.trigger(M,{response:s,type:u}),s&&!r(s)){if(s=i.reader.parse(s),i._handleCustomErrors(s))return;s=i.reader.data(s),a(s)||(s=[s])}else s=e.map(o,(function(e){return e.toJSON()}));for("destroy"===u&&(i._destroyed=[]),l=0,n=o.length;l<n;l++)"destroy"!==u?(o[l].accept(s[l]),"create"===u?d.push(c?i._wrapInEmptyGroup(o[l].toJSON()):s[l]):"update"===u&&i._updatePristineForModel(o[l],s[l])):i._removePristineForModel(o[l])},_updatePristineForModel:function(e,t){this._executeOnPristineForModel(e,(function(e,n){u.deepExtend(n[e],t)}))},_executeOnPristineForModel:function(e,t){this._eachPristineItem((function(n){var i=Re(n,e);if(i>-1)return t(i,n),!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,n=t.options,i=t._getCurrentRangeSpan();t._eachItem(t._pristineData,e),n.serverPaging&&n.useRanges&&c(i,(function(n,i){t._eachItem(i.pristineData,e)}))},_eachItem:function(e,t){e&&e.length&&(this._isServerGrouped()?Be(e,t):t(e))},_pristineForModel:function(e){var t,n;return this._eachPristineItem((function(i){if((n=Re(i,e))>-1)return t=i[n],!0})),t},_cancelModel:function(e){var t=this,n=this._pristineForModel(e);this._eachItem(this._data,(function(i){var o=Ne(i,e);o>=0&&(!n||e.isNew()&&!n.__state__?(t._modelCanceled(e),i.splice(o,1),t._removeModelFromRanges(e)):(i[o].accept(n),"update"==n.__state__&&(i[o].dirty=!0)))}))},_modelCanceled:d,_submit:function(t,n){var o=this;o.trigger(S,{type:"submit"}),o.trigger(T),o.transport.submit(i({success:function(n,i){var o=e.grep(t,(function(e){return e.type==i}))[0];o&&o.resolve({response:n,models:o.models,type:i})},error:function(e,n,i){for(var r=0;r<t.length;r++)t[r].reject(e);o.error(e,n,i)}},n))},_sendSubmit:function(t,n,i){var o=this,r=[];return o.options.batch&&(t.length&&r.push(e.Deferred((function(e){e.type="create",e.models=t}))),n.length&&r.push(e.Deferred((function(e){e.type="update",e.models=n}))),i.length&&r.push(e.Deferred((function(e){e.type="destroy",e.models=i}))),o._submit(r,{data:{created:o.reader.serialize(we(t)),updated:o.reader.serialize(we(n)),destroyed:o.reader.serialize(we(i))}})),r},_promise:function(t,n,o){var r=this;return e.Deferred((function(e){r.trigger(S,{type:o}),r.trigger(T),r.transport[o].call(r.transport,i({success:function(t){e.resolve({response:t,models:n,type:o})},error:function(t,n,i){e.reject(t),r.error(t,n,i)}},t))})).promise()},_send:function(e,t){var n,i,o=this,r=[],a=o.reader.serialize(we(t));if(o.options.batch)t.length&&r.push(o._promise({data:{models:a}},t,e));else for(n=0,i=t.length;n<i;n++)r.push(o._promise({data:a[n]},[t[n]],e));return r},read:function(t){var n=this,i=n._params(t),o=e.Deferred();return n._queueRequest(i,(function(){var e=n.trigger(S,{type:"read"});e?(n._dequeueRequest(),o.resolve(e)):(n.trigger(T),n._ranges=[],n.trigger("reset"),n.online()?n.transport.read({data:i,success:function(e){n._ranges=[],n.success(e,i),o.resolve()},error:function(){var e=N.call(arguments);n.error.apply(n,e),o.reject.apply(o,e)}}):null!=n.options.offlineStorage&&(n.success(n.offlineData(),i),o.resolve()))})),o.promise()},_readAggregates:function(e){return this.reader.aggregates(e)},success:function(e){var t,n,i=this,o=i.options;if(i.trigger(M,{response:e,type:"read"}),i.online()){if(e=i.reader.parse(e),i._handleCustomErrors(e))return void i._dequeueRequest();i._total=i.reader.total(e),i._isServerGroupPaged()&&(i._serverGroupsTotal=i._total),i._pageSize>i._total&&(i._pageSize=i._total,i.options.pageSize&&i.options.pageSize>i._pageSize&&(i._pageSize=i.options.pageSize)),i._aggregate&&o.serverAggregates&&(i._aggregateResult=i._readAggregates(e)),e=i._readData(e),i._destroyed=[]}else{e=i._readData(e),t=[];var r,a={},s=i.reader.model,l=s?s.idField:"id";for(r=0;r<this._destroyed.length;r++){var c=this._destroyed[r][l];a[c]=c}for(r=0;r<e.length;r++){var d=e[r];"destroy"==d.__state__?a[d[l]]||this._pushInDestroyed(this._createNewModel(d)):t.push(d)}e=t,i._total=e.length}if(i._pristineTotal=i._total,n=i._skip&&i._data.length&&i._skip<i._data.length,i.options.endless){n&&i._pristineData.splice(i._skip,i._pristineData.length),t=e.slice(0);for(var u=0;u<t.length;u++)i._pristineData.push(t[u])}else i._pristineData=e.slice(0);if(i._detachObservableParents(),i.options.endless){i._data.unbind(k,i._changeHandler),i._isServerGrouped()&&i._data[i._data.length-1].value===e[0].value&&(De(i._data[i._data.length-1],e[0]),e.shift()),e=i._observe(e),n&&i._data.splice(i._skip,i._data.length);for(var h=0;h<e.length;h++)i._data.push(e[h]);i._data.bind(k,i._changeHandler)}else i._data=i._observe(e);i._markOfflineUpdatesAsDirty(),i._storeData(),i._addRange(i._data),i._process(i._data),i._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=d)},_storeData:function(e){var t=this._isServerGrouped(),n=this.reader.model;if(null!=this.options.offlineStorage){for(var i=function e(i){for(var o=[],r=0;r<i.length;r++){var a=i.at(r),s=a.toJSON();t&&a.items?s.items=e(a.items):(s.uid=a.uid,n&&(a.isNew()?s.__state__="create":a.dirty&&(s.__state__="update"))),o.push(s)}return o}(this._data),o=[],r=0;r<this._destroyed.length;r++){var a=this._destroyed[r].toJSON();a.__state__="destroy",o.push(a)}this.offlineData(i.concat(o)),e&&(this._pristineData=this.reader.reader?this.reader.reader._wrapDataAccessBase(i):this.reader._wrapDataAccessBase(i))}},_addRange:function(e,t){var n,i=this,o=void 0!==t?t:i._skip||0,r={data:e,pristineData:e.toJSON(),timestamp:i._timeStamp()};this._isGroupPaged()?(n=o+e.length,r.outerStart=o,r.outerEnd=n):n=o+i._flatData(e,!0).length,r.start=o,r.end=n,i._ranges.push(r),i._sortRanges(),i._isGroupPaged()&&(i._groupsFlat||(i._groupsFlat=[]),i._appendToGroupsFlat(r.data),i._updateOuterRangesLength())},_appendToGroupsFlat:function(e){for(var t=e.length,n=0;n<t;n++)this._groupsFlat.push(e[n])},_getGroupByUid:function(e){for(var t,n=this._groupsFlat.length,i=0;i<n;i++)if((t=this._groupsFlat[i]).uid===e)return t},_sortRanges:function(){this._ranges.sort((function(e,t){return e.start-t.start}))},error:function(e,t,n){this._dequeueRequest(),this.trigger(M,{}),this.trigger(z,{xhr:e,status:t,errorThrown:n})},_params:function(e){var t=this,n=i({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,isExcelExportRequest:t.options.isExcelExportRequest},e);return t.options.serverPaging||(delete n.take,delete n.skip,delete n.page,delete n.pageSize),t.options.serverGrouping?t.reader.model&&n.group&&(n.group=$e(n.group,t.reader.model)):delete n.group,t.options.serverFiltering?t.reader.model&&n.filter&&(n.filter=We(n.filter,t.reader.model)):delete n.filter,t.options.serverSorting?t.reader.model&&n.sort&&(n.sort=$e(n.sort,t.reader.model)):delete n.sort,t.options.serverAggregates?t.reader.model&&n.aggregate&&(n.aggregate=$e(n.aggregate,t.reader.model)):delete n.aggregate,t.options.groupPaging&&t.options.serverPaging&&t.options.serverGrouping||delete n.groupPaging,t.options.isExcelExportRequest||delete n.isExcelExportRequest,n},_queueRequest:function(e,n){var i=this;i._requestInProgress?i._pending={callback:n.bind(i),options:e}:(i._requestInProgress=!0,i._pending=t,n())},_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(z,{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,n=t.reader.model;(t._shouldDetachObservableParents=!0,e instanceof G)?(t._shouldDetachObservableParents=!1,t._shouldWrap(e)&&(e.type=t.reader.model,e.wrapAll(e,e))):(e=new(t.pageSize()&&!t.options.serverPaging?K:G)(e,t.reader.model)).parent=function(){return t.parent()};return t._isServerGrouped()&&Pe(e,n),!(t._changeHandler&&t._data&&t._data instanceof G)||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 n=this,i=parseInt(n._total,10);be(n._total)||(i=parseInt(n._pristineTotal,10)),"add"===e?i+=t.length:"remove"===e?i-=t.length:"itemchange"===e||"sync"===e||n.options.serverPaging?"sync"===e&&(i=n._pristineTotal=parseInt(n._total,10)):i=n._pristineTotal,n._total=i},_operationsForUpdatedFields:function(){const e=this,t=e._updatedFields||[],n={};let i,o=!1;return n.sort=e._sort,n.filter=e._filter,n.group=e._group,n.aggregate=e._aggregate,i=V(n),o=t.some((e=>i.indexOf(`"field":"${e}"`)>-1)),!o},_pushInDestroyed:function(e){this._destroyed.find((function(t){return t.uid===e.uid}))||this._destroyed.push(e)},_change:function(e){let t,n,i,o=this,r=e?e.action:"";if("remove"===r)for(t=0,i=e.items.length;t<i;t++)e.items[t].isNew&&e.items[t].isNew()||o._pushInDestroyed(e.items[t]);if(e&&(n=e.items||[],e.partialUpdate=o._operationsForUpdatedFields()&&!o._preventPartialUpdate,"itemchange"===e.action&&n.some((e=>e.dirtyFields)))){let t=e.items[0],n=Object.keys(t.dirtyFields),i=n;for(const e of n)if(t[e]instanceof Object){let n=u.stringify(t[e]);if(n){let t=JSON.parse(n),o=Object.keys(t).map((t=>e+"."+t));i.push(...o)}}o._updatedFields=i}if(!o.options.autoSync||"add"!==r&&"remove"!==r&&"itemchange"!==r)o._updateTotalForAction(r,e?e.items:[]),o._process(o._data,e);else{"add"===r&&(o._preventPartialUpdate=!0);var a=function(t){"sync"===t.action&&(o._preventPartialUpdate=!1,o.unbind("change",a),o._updateTotalForAction(r,e.items))};o.first("change",a),o.sync()}},_calculateAggregates:function(e,t){t=t||{};var n=new re(e),i=t.aggregate,o=t.filter;return o&&(n=n.filter(o)),n.aggregate(i)},_process:function(e,n){var i,o=this,r={};if(!0!==o.options.serverPaging&&(r.skip=o._skip,r.take=o._take||o._pageSize,r.skip===t&&o._page!==t&&o._pageSize!==t&&(r.skip=(o._page-1)*o._pageSize),o.options.useRanges&&(r.skip=o.currentRangeStart())),!0!==o.options.serverSorting&&(r.sort=o._sort),!0!==o.options.serverFiltering&&(r.filter=o._filter),!0!==o.options.serverGrouping&&(r.group=o._group),!0!==o.options.serverAggregates&&(r.aggregate=o._aggregate),o.options.serverGrouping&&o._clearEmptyGroups(e),r.groupPaging=o._groupPaging,i=o._isGroupPaged()&&n&&("page"===n.action||"expandGroup"===n.action||"collapseGroup"===n.action)?o._queryProcess(e,{aggregate:o._aggregate}):o._queryProcess(e,r),o._filter&&n&&"add"===n.action){var a=n.items[0],s=i.data;o._isGrouped()&&!this._isServerGrouped()&&(s=Ve(s)),s.find((function(e){return e.uid===a.uid}))||!a.index&&null!==a.id||(i.data.splice(a.index,0,o._isGrouped()?o._wrapInEmptyGroup(a):a),i.total++)}!0!==o.options.serverAggregates&&(o._aggregateResult=o._calculateAggregates(i.dataToAggregate||e,r)),o._setView(i,r,n),o._setFilterTotal(i.total,!1),(n=n||{}).items=n.items||o._view,o.trigger(k,n)},_setView:function(e,t,n){var i=this;if(i._isGroupPaged()&&!i._isServerGrouped())if(!n||"page"!==n.action&&"expandGroup"!==n.action&&"collapseGroup"!==n.action){i._ranges=[];var o=new re(e.data);i._addRange(i._observe(e.data)),t.skip+t.take>e.data.length&&(t.skip=Math.max(0,e.data.length-t.take)),i.view(o.range(t.skip,t.take).toArray())}else i.view(e.data),i._updateOuterRangesLength();else i.view(e.data)},_clearEmptyGroups:function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.hasSubgroups&&this._clearEmptyGroups(n.items),!n.items||n.items.length||n.itemCount||L.apply(n.parent(),[t,1])}},_queryProcess:function(e,t){return this.options.inPlaceSort?re.process(e,t,this.options.inPlaceSort):re.process(e,t)},_mergeState:function(n){var i,o=this;return n!==t&&(o._pageSize=n.pageSize,o._page=n.page,o._sort=n.sort,o._filter=n.filter,o._group=n.group,o._aggregate=n.aggregate,o._skip=o._currentRangeStart=n.skip,o._take=n.take,o._skip===t&&(o._skip=o._currentRangeStart=o.skip(),n.skip=o.skip()),o._take===t&&o._pageSize!==t&&(o._take=o._pageSize,n.take=o._take),o.options.virtual&&(n.virtual=o.options.virtual),n.sort&&(o._sort=n.sort=ae(n.sort),o._sortFields=se(n.sort)),n.filter&&(o._filter=n.filter=o.options.accentFoldingFiltering&&!e.isEmptyObject(n.filter)?e.extend({},de(n.filter),{accentFoldingFiltering:o.options.accentFoldingFiltering}):de(n.filter)),n.group&&(o._group=n.group=fe(n.group)),n.aggregate&&(o._aggregate=n.aggregate=(i=n.aggregate,a(i)?i:[i]))),n},query:function(n){var i;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 o=n.pageSize-this.pageSize();o>0?(o=this.pageSize(),n.page=n.pageSize/o,n.pageSize=o):(n.page=1,this.options.endless=!1)}return this.read(this._mergeState(n))}var r=this.trigger(S,{type:"read"});return r||(this.trigger(T),n&&(n.groupPaging=this._groupPaging),i=this._queryProcess(this._data,this._mergeState(n)),this._setFilterTotal(i.total,!0),this._aggregateResult=this._calculateAggregates(i.dataToAggregate||this._data,n),this._setView(i,n),this.trigger(M,{type:"read"}),this.trigger(k,{items:i.data,action:n?n.action:""})),e.Deferred().resolve(r).promise()},_hasExpandedSubGroups:function(e){var t=!1,n=e.items?e.items.length:0;if(!e.hasSubgroups)return!1;for(var i=0;i<n;i++)if(this._groupsState[e.items[i].uid]){t=!0;break}return t},_findGroupedRange:function(e,t,n,i,o){for(var r,a,s,l,c,d=this,u=e.length,h=0;h<u&&(r=e[h],!(n.taken>=n.take));h++)if(d._getGroupByUid(r.uid)||d._groupsFlat.push(r),d._groupsState[r.uid]){if(d._isServerGroupPaged()){if(d._fetchGroupItems(r,n,i,o))return void(d._fetchingGroupItems=!0);if(l=(r.subgroupCount||r.itemCount)+1,c=n.skip-n.skipped,!d._hasExpandedSubGroups(r)&&c>l){n.skipped+=l;continue}}if(n.includeParents&&n.skipped<n.skip?(n.skipped++,r.excludeHeader=!0):n.includeParents&&(n.taken++,r.excludeHeader=!1),r.hasSubgroups&&r.items&&r.items.length)r.currentItems=[],i||(i=[]),i.push(r),d._findGroupedRange(r.items,r.currentItems,n,i,o),i.pop(),r.currentItems.length||n.taken>0?t.push(r):r.excludeHeader=!1;else{a=[],s=r.items.length;for(var p=0;p<s;p++)if(n.skipped<n.skip)n.skipped++;else{if(n.taken>=n.take)break;a.push(r.items[p]),n.taken++}a.length||n.taken>0?(r.currentItems=a,t.push(r)):r.excludeHeader=!1}}else{if(n.skipped<n.skip){n.skipped++;continue}t.push(r),n.taken++}},_expandedSubGroupItemsCount:function(e,t,n){var i,o,r=this,a=0,s="number"==typeof t,l=s?t:e.subgroupCount;if(!e.hasSubgroups)return a;for(var c=0;c<l&&(i=e.items[c]);c++)if(i.hasSubgroups&&r._groupsState[e.uid]?(a+=o=r._expandedSubGroupItemsCount(i,l,!0),s&&(l-=o)):!i.hasSubgroups&&r._groupsState[i.uid]&&(a+=o=i.items?i.items.length:0,s&&(l-=o)),n&&(a+=1,s&&(l-=1)),s&&a>l)return a;return a},_fetchGroupItems:function(e,t,n,i){let o,r,a,s,l=this,c=e.hasSubgroups?e.subgroupCount:e.itemCount,d=t.take,u=t.skipped,h=l.take();if(t.includeParents&&(u<t.skip?u+=1:d-=1),!e.items||e.items&&!e.items.length)return l.getGroupItems(e,t,n,i,0),!0;{if(s=this._expandedSubGroupItemsCount(e,t.skip-u),o=Math.max(t.skip-(u+s),0),o>=c)return!1;let p=Math.min(o+d,c-1);if(r=e.items[o],a=e.items[p],r.notFetched)return l.getGroupItems(e,t,n,i,o,P.round((o+h)/h)),!0;if(a.notFetched)return l.getGroupItems(e,t,n,i,P.max(P.floor((o+h)/h),0)*h,P.round((o+h)/h)),!0;if(!r.notFetched&&!a.notFetched&&function(e,t,n){for(let i=t;i<n;i++)if(e[i].notFetched)return!0;return!1}(e.items,o,p))return l.getGroupItems(e,t,n,i,o,p),!0}},getGroupItems:function(e,t,n,i,o,r){var a,s,l,c,d=this;e.items||(e.items=[]),a=d.take(),s=this._composeItemsFilter(e,n),l={page:r||1,pageSize:a,skip:o,take:a,filter:s,aggregate:d._aggregate,sort:d._sort},(c=d.findSubgroups(e))&&c.length&&(l.group=c),l.groupPaging=!0,d._queueWithTimeout(l,(function(){d.trigger(S,{type:"read"})?d._dequeueRequest():d.transport.read({data:l,success:d._groupItemsSuccessHandler(e,t.skip,d.take(),i,o),error:function(){var e=N.call(arguments);d.error.apply(d,e)}})}),100)},_queueWithTimeout:function(e,t,n){let i=this;clearTimeout(i._timeout),i._timeout=setTimeout((function(){i._queueRequest(e,t)}),n)},_groupItemsSuccessHandler:function(e,t,n,i,o){var r=this,a=r._timeStamp();i=h(i)?i:d;var s=r.options.schema&&r.options.schema.total?r.options.schema.total:"Total";return function(l){var c,d,u=te.define(r.options.schema.model);r._dequeueRequest(),r.trigger(M,{response:l,type:"read"}),d=h(s)?s(l):l[s],l=r.reader.parse(l),e.hasSubgroups?(c=r.reader.groups(l),e.subgroupCount=d):c=(c=r.reader.data(l)).map((function(e){return new u(e)})),e.items.omitChangeEvent=!0;for(var p=0;p<d;p++)p>=o&&p<o+n?e.items.splice(p,1,c[p-o]):e.items[p]||e.items.splice(p,0,{notFetched:!0});e.items.omitChangeEvent=!1,r._updateRangePristineData(e),r._fetchingGroupItems=!1,e.countAdded||(r._serverGroupsTotal+=d,e.countAdded=!0),r.range(t,n,i,"expandGroup"),(a>=r._currentRequestTimeStamp||!r._skipRequestsInProgress)&&r.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 n={logic:"and",filters:[]};if(this.filter()&&n.filters.push(this.filter()),(n=i(!0,{},n)).filters.push({field:e.field,operator:"eq",value:e.value}),t)for(var o=0;o<t.length;o++)n.filters.push({field:t[o].field,operator:"eq",value:t[o].value});return n},_updateRangePristineData:function(e){for(var t,n,i,o,r,a=this,s=a._ranges,l=s.length,c=0;c<l;c++){o=(i=s[c]).data.length,r=[],t=null;for(var d=0;d<o&&(n=i.data[d],r.push(d),!(n.uid===e.uid||n.hasSubgroups&&n.items.length&&a._containsSubGroup(n,e,r)));d++)r.pop();if(r.length){for(t=s[c].pristineData;r.length>1;)t=t[r.splice(0,1)[0]].items;t[r[0]]=a._cloneGroup(e);break}}},_containsSubGroup:function(e,t,n){var i,o=e.items.length;if(e.hasSubgroups&&o)for(var r=0;r<o;r++){if(i=e.items[r],n.push(r),i.uid===t.uid||i.hasSubgroups&&i.items.length&&this._containsSubGroup(i,t,n))return!0;n.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,n){var i=this;i.options.serverFiltering||(e!==t?i._total=e:n&&(i._total=i._data.length))},fetch:function(e){var t=this;return this._query().done((function(n){!0!==n&&h(e)&&e.call(t)}))},_query:function(e){var t=this;return t.query(i({},{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,n=t.page(),i=t.total();if(e=e||{},n&&!(i&&n+1>t.totalPages()))return t._skip=t._currentRangeStart=n*t.take(),n+=1,e.page=n,t._query(e),n},prev:function(e){var t=this,n=t.page();if(e=e||{},n&&1!==n)return t._skip=t._currentRangeStart=t._skip-t.take(),n-=1,e.page=n,t._query(e),n},page:function(e){var n,i=this;if(e!==t){e=P.max(P.min(P.max(e,1),i.totalPages()),1);var o=i.take();return i._isGroupPaged()?(e-=1,void i.range(e*o,o,null,"page")):void i._query(i._pageableQueryOptions({page:e}))}return(n=i.skip())!==t?P.round((n||0)/(i.take()||1))+1:t},pageSize:function(e){var n=this;if(e===t)return n.take();n._query(n._pageableQueryOptions({pageSize:e,page:1}))},sort:function(e){var n=this;return e!==t?(n.trigger("sort"),void n._query({sort:e})):n._sort},filter:function(e){var n=this;if(e===t)return n._filter;n.trigger("reset"),n._query({filter:e,page:1})},group:function(e){var n=this,i={group:e};if(n._groupPaging&&(e===t||e&&e.length||(n._ranges=[]),i.page=1),e===t)return n._group;n._query(i)},getGroupsFlat:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;t++){var o=e[t];o.hasSubgroups&&(i=i.concat(this.getGroupsFlat(o.items))),i.push(o)}return i},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,n,i){var o,r,a=this;if(n=n||"items",a._group.length&&e){o=0,r=e.length;for(var s=0;s<r;s++)o+=a.groupCount(e[s],t,n,i);return a._groupsTotal=o,o}return a._groupsTotal=a._data.length,a._groupsTotal},groupCount:function(e,t,n,i){var o=this,r=0;return e.hasSubgroups&&o._groupsState[e.uid]?((t&&!e.excludeHeader||i)&&(r+=1),e[n].forEach((function(e){r+=o.groupCount(e,t,n,i)}))):o._groupsState[e.uid]?((t&&!e.excludeHeader||i)&&r++,r+=e[n]?e[n].length:0):r++,r},countGroupRange:function(e){for(var t=0,n=e.length,i=0;i<n;i++)t+=this.groupCount(e[i],!0);return t},aggregate:function(e){if(e===t)return this._aggregate;this._query({aggregate:e})},aggregates:function(){var e=this._aggregateResult;return r(e)&&(e=this._emptyAggregates(this.aggregate())),e},_emptyAggregates:function(e){var t={};if(!r(e)){var n={};a(e)||(e=[e]);for(var i=0;i<e.length;i++)n[e[i].aggregate]=0,t[e[i].field]=n}return t},_pageableQueryOptions:function(e){return e},_wrapInEmptyGroup:function(e){var t,n,i,o=this.group();for(i=o.length-1,0;i>=0;i--)n=o[i],t={value:e.get?e.get(n.field):e[n.field],field:n.field,items:t?[t]:[e],hasSubgroups:!!t,aggregates:this._emptyAggregates(n.aggregates)};return t},totalPages:function(){var e=this,t=e.pageSize()||e.total(),n=e._isGroupPaged()?e.groupsTotal(!0):e.total();return P.ceil((n||0)/t)},inRange:function(e,t){var n=this,i=P.min(e+t,n.total());return!n.options.serverPaging&&n._data.length>0||n._findRange(e,i).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,n,i,o){this._currentRequestTimeStamp=this._timeStamp(),this._skipRequestsInProgress=!0;var r=this._isGroupPaged()?this.groupsTotal(!0):this.total();"expandGroup"!==o&&"collapseGroup"!==o||this._updateOuterRangesLength(),e=P.min(e||0,r),i=h(i)?i:d;var a,s=this,l=P.max(P.floor(e/n),0)*n,c=P.min(l+n,r);if(((a=s._findRange(e,P.min(e+n,r),i)).length||0===r)&&!s._fetchingGroupItems)return s._processRangeData(a,e,n,s._originalPageSkip||l,s._originalSize||c,{action:o}),s._originalPageSkip=null,s._originalSize=null,void i();s._isGroupPaged()&&(s._originalPageSkip=l,s._originalSize=c,l=P.max(P.floor(s._adjustPageSkip(e,n)/n),0)*n,c=P.min(l+n,r)),n===t||s._fetchingGroupItems||(s._isGroupPaged()&&!s._groupRangeExists(l,n)||!s._rangeExists(l,c)?s.prefetch(l,n,(function(){e>l&&c<s.total()&&!s._rangeExists(c,P.min(c+n,s.total()))?s.prefetch(c,n,(function(){s.range(e,n,i)})):s.range(e,n,i)})):l<e&&s.prefetch(c,n,(function(){s.range(e,n,i)})))},_findRange:function(e,n,i){var o,r,a,s,l,c,d,u,h,p,f,m,v=this,g=v._ranges,_=[],b=v.options,y=b.serverSorting||b.serverPaging||b.serverFiltering||b.serverGrouping||b.serverAggregates,w={take:n-e,skip:e,skipped:0,taken:0,includeParents:!0},k=v._isGroupPaged(),x=k?"outerStart":"start",C=k?"outerEnd":"end";for(r=0,f=g.length;r<f;r++){if(o=g[r],k){if(o.outerStart>=n)return[];if(e>o.outerEnd){w.skipped+=o.outerEnd-(m||0),m=o.outerEnd;continue}if(void 0!==m&&m!=o.outerStart&&(w.skipped+=o.outerStart-m),w.skipped>w.skip)return[];for(void 0===m&&e>0&&o.start>0&&(w.skipped=o.outerStart),a=r;;){if(this._findGroupedRange(o.data,_,w,null,i),v._calculateGroupsTotal(_,!0,"currentItems")>=w.take)return _;if(v._fetchingGroupItems)return[];if(!g[++a]||g[a].outerStart!==o.outerEnd)break;o=g[a]}}else if(e>=o[x]&&e<=o[C]){for(p=0,a=r;a<f;a++)if(o=g[a],(h=v._flatData(o.data,!0)).length&&e+p>=o.start){if(c=o.data,d=o.end,!y){if(b.inPlaceSort)u=v._queryProcess(o.data,{filter:v.filter()});else{var z=me(v.group()||[]).concat(ae(v.sort()||[]));u=v._queryProcess(o.data,{sort:z,filter:v.filter()})}h=c=u.data,u.total!==t&&(d=u.total)}if(s=0,e+p>o.start&&(s=e+p-o.start),l=h.length,d>n&&(l-=d-n),p+=l-s,_=v._mergeGroups(_,c,s,l),n<=o.end&&p==n-e)return _}break}m=o.outerEnd}return[]},_getRangesMismatch:function(e){for(var t=this._ranges,n=0,i=0;;){var o=t[i];if(!o||o.outerStart>e)break;o.outerEnd!=o.end&&(n=o.outerEnd-o.end),i++}return n},_mergeGroups:function(e,t,n,i){if(this._isServerGrouped()){var o,r=t.toJSON();return e.length&&(o=e[e.length-1]),Ee(o,r,n,i),e.concat(r)}return e.concat(t.slice(n,i))},_processRangeData:function(e,n,i,o,r,a){var s=this;s._pending=t,s._skip=n>s.skip()&&!s._omitPrefetch?P.min(r,(s.totalPages()-1)*s.take()):o,s._currentRangeStart=n,s._take=i;var l=s.options.serverPaging,c=s.options.serverSorting,d=s.options.serverFiltering,u=s.options.serverAggregates;try{s.options.serverPaging=!0,s._isServerGrouped()||s.group()&&s.group().length||(s.options.serverSorting=!0),s.options.serverFiltering=!0,s.options.serverPaging=!0,s.options.serverAggregates=!0,l&&(s._detachObservableParents(),s._data=e=s._observe(e)),s._process(e,a)}finally{s.options.serverPaging=l,s.options.serverSorting=c,s.options.serverFiltering=d,s.options.serverAggregates=u}},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,n,i){var o=this,r=o._timeStamp();return function(a){var s,l,c,d=!1,u={start:e,end:t,data:[],timestamp:o._timeStamp()};if(o._dequeueRequest(),o.trigger(M,{response:a,type:"read"}),a=o.reader.parse(a),(c=o._readData(a)).length){for(s=0,l=o._ranges.length;s<l;s++)if(o._ranges[s].start===e){d=!0,u=o._ranges[s],o._isGroupPaged()||(u.pristineData=c,u.data=o._observe(c),u.end=u.start+o._flatData(u.data,!0).length,o._sortRanges());break}d||o._addRange(o._observe(c),e)}o._total=o.reader.total(a),(i||r>=o._currentRequestTimeStamp||!o._skipRequestsInProgress)&&(n&&c.length?n():o.trigger(k,{}))}},prefetch:function(e,t,n){var i=this,o=P.min(e+t,i.total()),r={take:t,skip:e,page:e/t+1,pageSize:t,sort:i._sort,filter:i._filter,group:i._group,aggregate:i._aggregate};i._isGroupPaged()&&!i._isServerGrouped()&&i._groupRangeExists(e,o)?n&&n():i._isServerGroupPaged()&&!i._groupRangeExists(e,o)||!i._rangeExists(e,o)?i._queueWithTimeout(r,(function(){i.trigger(S,{type:"read"})?i._dequeueRequest():(i._omitPrefetch&&i.trigger(T),i.transport.read({data:i._params(r),success:i._prefetchSuccessHandler(e,o,n),error:function(){var e=N.call(arguments);i.error.apply(i,e)}}))}),100):n&&n()},_multiplePrefetch:function(e,t,n){var i=this,o=P.min(e+t,i.total()),r={take:t,skip:e,page:e/t+1,pageSize:t,sort:i._sort,filter:i._filter,group:i._group,aggregate:i._aggregate};i._rangeExists(e,o)?n&&n():i.trigger(S,{type:"read"})||i.transport.read({data:i._params(r),success:i._prefetchSuccessHandler(e,o,n,!0)})},_adjustPageSkip:function(e,t){var n,i,o=this,r=o._getPrevRange(e),a=o.total();if(r){if(!(i=o._getRangesMismatch(e)))return e;e-=i}if((n=P.max(P.floor(e/t),0)*t)>a)for(;!((n-=t)<a););return n},_getNextRange:function(e){var t,n,i=this._ranges;for(t=0,n=i.length;t<n;t++)if(i[t].start<=e&&i[t].end>=e)return i[t]},_getPrevRange:function(e){var t,n,i=this._ranges;for(t=i.length-1;t>=0;t--)if(i[t].outerStart<=e){n=i[t];break}return n},_rangeExists:function(e,t){var n,i,o=this._ranges;for(n=0,i=o.length;n<i;n++)if(o[n].start<=e&&o[n].end>=t)return!0;return!1},_groupRangeExists:function(e,t){var n,i,o=this,r=o._ranges,a=0,s=o.groupsTotal(!0);for(t>s&&!o._isServerGrouped()&&(t=s),n=0,i=r.length;n<i;n++){var l=r[n];l.outerStart<=e&&l.outerEnd>=e?a+=l.outerEnd-e:l.outerStart<=t&&l.outerEnd>=t&&(a+=t-l.outerStart)}return a>=t-e},_getCurrentRangeSpan:function(){var e,t,n=this,i=n._ranges,o=n.currentRangeStart(),r=o+(n.take()||0),a=[],s=i.length;for(t=0;t<s;t++)((e=i[t]).start<=o&&e.end>=o||e.start>=o&&e.start<=r)&&a.push(e);return a},_removeModelFromRanges:function(e){for(var t,n=0,i=this._ranges.length;n<i;n++)t=this._ranges[n],this._removeModelFromRange(t,e);this._updateRangesLength()},_removeModelFromRange:function(e,t){this._eachItem(e.data,(function(e){if(e)for(var n=0;n<e.length;n++){var i=e[n];if(i.uid&&i.uid==t.uid){[].splice.call(e,n,1);break}}}))},_insertModelInRange:function(e,t){var n,i,o=this,r=o._ranges||[],a=r.length;for(i=0;i<a;i++)if((n=r[i]).start<=e&&n.end>=e){o._getByUid(t.uid,n.data)||(o._isServerGrouped()?n.data.splice(e,0,o._wrapInEmptyGroup(t)):n.data.splice(e,0,t));break}o._updateRangesLength()},_updateRangesLength:function(){var e,t,n=this,i=n._ranges||[],o=i.length,r=!1,a=0,s=0;for(t=0;t<o;t++)e=i[t],s=(n._isGroupPaged()?e.data.length:n._flatData(e.data,!0).length)-P.abs(e.end-e.start),r||0===s?r&&(e.start+=a,e.end+=a):(r=!0,a=s,e.end+=a)},_updateOuterRangesLength:function(){var e,t,n,i,o=this,r=o._ranges||[],a=r.length,s=0;for(t=0;t<a;t++)e=r[t],i=o._isGroupPaged()?o._calculateGroupsTotal(e.data,!0,"items",!0):o._flatData(e.data,!0).length,n?(n.end!=e.start&&(s=e.start-n.end),e.outerStart=n.outerEnd+s,s=0):e.outerStart=e.start,e.outerEnd=e.outerStart+i,n=e},isLocalTransport:function(){return this.transport instanceof ke},isRemoteTransport:function(){return this.transport instanceof xe}}),Ge={};Ge.create=function(t,n,r){var a,s=t.transport?e.extend({},t.transport):null;return s?(s.read=typeof s.read===v?{url:s.read}:s.read,"jsdo"===t.type&&(s.dataSource=r),t.type&&(u.data.transports=u.data.transports||{},u.data.schemas=u.data.schemas||{},u.data.transports[t.type]?o(u.data.transports[t.type])?s=i(!0,{},u.data.transports[t.type],s):a=new u.data.transports[t.type](i(s,{data:n})):u.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=i(!0,{},u.data.schemas[t.type],t.schema)),a||(a=h(s.read)?s:new xe(s))):a=new ke({data:t.data||[]}),a},qe.create=function(n){(a(n)||n instanceof G)&&(n={data:n});var o,s,l,c=n||{},d=c.data,h=c.fields,p=c.table,f=c.select,m={};if(d||!h||c.transport||(p?d=function(t,n){var i,o,r,a,s,l,c,d=e(t)[0].tBodies[0],u=d?d.rows:[],h=n.length,p=[];for(i=0,o=u.length;i<o;i++){for(s={},c=!0,a=u[i].cells,r=0;r<h;r++)"th"!==(l=a[r]).nodeName.toLowerCase()&&(c=!1,s[n[r].field]=l.innerHTML);c||p.push(s)}return p}(p,h):f&&(d=function(t,n){t=e(t)[0];var i,o,r,a,s,l,c=t.options,d=n[0],u=n[1],h=[];for(i=0,o=c.length;i<o;i++)s={},(r=(a=c[i]).parentNode)===t&&(r=null),a.disabled||r&&r.disabled||(r&&(s.optgroup=r.label),s[d.field]=a.text,l=(l=a.attributes.value)&&l.specified?a.value:a.text,s[u.field]=l,h.push(s));return h}(f,h),c.group===t&&d[0]&&d[0].optgroup!==t&&(c.group="optgroup"))),u.data.Model&&h&&(!c.schema||!c.schema.model)){for(o=0,s=h.length;o<s;o++)(l=h[o]).type&&(m[l.field]=l);r(m)||(c.schema=i(!0,c.schema,{model:{fields:m}}))}return c.data=d,f=null,c.select=null,p=null,c.table=null,c instanceof qe?c:new qe(c)};var Ke=te.define({idField:"id",init:function(e){var t=this,n=t.hasChildren||e&&e.hasChildren,o="items",r={};if(u.data.Model.fn.init.call(t,e),typeof t.children===v&&(o=t.children),r={schema:{data:o,model:{hasChildren:n,id:t.idField,fields:t.fields}}},typeof t.children!==v&&i(r,t.children),r.data=e,n||(n=r.schema.data),typeof n===v&&(n=u.getter(n)),h(n)){var a=n.call(t,t);a&&0===a.length?t.hasChildren=!1:t.hasChildren=!!a}t._childrenOptions=r,t.hasChildren&&t._initChildren(),t._loaded=!(!e||!e._loaded)},_initChildren:function(){var e,t,n,i=this;i.children instanceof Qe||(t=(e=i.children=new Qe(i._childrenOptions)).transport,n=t.parameterMap,t.parameterMap=function(e,t){return e[i.idField||"id"]=i.id,n&&(e=n.call(i,e,t)),e},e.parent=function(){return i},e.bind(k,(function(e){e.node=e.node||i,i.trigger(k,e)})),e.bind(z,(function(e){var t=i.parent();t&&(e.node=e.node||i,t.trigger(z,e))})),e.bind(I,(function(e){var t=i.parent();t&&t.trigger(I,e)})),i._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 n,i,o={},r="_query";return this.hasChildren?(this._initChildren(),n=this.children,o[this.idField||"id"]=this.id,this._loaded||(n._data=t,r="read"),n.one(k,this._childrenLoaded.bind(this)),this._matchFilter&&(o.filter={field:"_matchFilter",operator:"eq",value:!0}),i=n[r](o),this._loaded||this.trigger(H,{promise:i,node:this})):this.loaded(!0),i||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 Ye(e){return function(){var t=this._data,n=qe.fn[e].apply(this,N.call(arguments));return this._data!=t&&this._attachBubbleHandlers(),n}}var Qe=qe.extend({init:function(e){var t=Ke.define({children:e});e.filter&&!e.serverFiltering&&(this._hierarchicalFilter=e.filter,e.filter=null),qe.fn.init.call(this,i(!0,{},{schema:{modelBase:t,model:t}},e)),this._attachBubbleHandlers()},_attachBubbleHandlers:function(){var e=this;e._data.bind(z,(function(t){e.trigger(z,t)})),e._data.bind(I,(function(t){e.trigger(I,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=qe.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,n=e.parentNode(),i=this;return n&&n._initChildren&&(i=n.children),t=qe.fn.remove.call(i,e),n&&!i.data().length&&(n.hasChildren=!1),t},success:Ye("success"),data:Ye("data"),insert:function(e,t){var n=this.parent();return n&&n._initChildren&&(n.hasChildren=!0,n._initChildren()),qe.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 n,i=this.options.accentFoldingFiltering;return(t=i?e.extend({},de(t),{accentFoldingFiltering:i}):de(t))&&0!==t.filters.length?(n=re.filterExpr(t,{noEval:!0}),this._updateHierarchicalFilter(n),!0):(this._updateHierarchicalFilter((function(){return!0})),!1)},_updateHierarchicalFilter:function(e){for(var t,n=this._data,i=!1,o=0;o<n.length;o++)(t=n[o]).hasChildren?(t._matchFilter=t.children._updateHierarchicalFilter(e),t._matchFilter||(t._matchFilter=e(t))):t._matchFilter=e(t),t._matchFilter&&(i=!0);return i},_find:function(e,t){var n,i,o,r,a=this._data;if(a){if(o=qe.fn[e].call(this,t))return o;for(n=0,i=(a=this._flatData(this._data)).length;n<i;n++)if((r=a[n].children)instanceof Qe&&(o=r[e](t)))return o}},get:function(e){return this._find("get",e)},getByUid:function(e){return this._find("getByUid",e)}});function Xe(t,n){var i,o,r,a,s,l,c,d,h=e(t).children(),p=[],f=n[0].field,m=n[1]&&n[1].field,v=n[2]&&n[2].field,g=n[3]&&n[3].field;function _(e,t){return e.filter(t).add(e.find(t))}for(i=0,o=h.length;i<o;i++)r={_loaded:!0},l=(a=h.eq(i))[0].firstChild,t=(d=a.children()).filter("ul"),d=d.filter(":not(ul)"),(s=a.attr("data-id"))&&(r.id=s),l&&(r[f]=3==l.nodeType?l.nodeValue:d.text()),m&&(r[m]=_(d,"a").attr("href")),g&&(r[g]=_(d,"img").attr("src")),v&&(c=_(d,".k-sprite").prop("className"),r[v]=c&&u.trim(c.replace("k-sprite",""))),t.length&&(r.items=Xe(t.eq(0),n)),"true"==a.attr("data-hasChildren")&&(r.hasChildren=!0),p.push(r);return p}Qe.create=function(e){var t=(e=e&&e.push?{data:e}:e)||{},n=t.data,i=t.fields,o=t.list;return n&&n._dataSource?n._dataSource:(n||!i||t.transport||o&&(n=Xe(o,i)),t.data=n,t instanceof Qe?t:new Qe(t))};var Ze=u.Observable.extend({init:function(e,t,n){u.Observable.fn.init.call(this),this._prefetching=!1,this.dataSource=e,this.prefetch=!n;var i=this;e.bind("change",(function(){i._change()})),e.bind("reset",(function(){i._reset()})),this._syncWithDataSource(),this.setViewSize(t)},setViewSize:function(e){this.viewSize=e,this._recalculate()},at:function(e){var t=this.pageSize,n=!0;return e>=this.total()?(this.trigger("endreached",{index:e}),null):this.useRanges?this.useRanges?((e<this.dataOffset||e>=this.skip+t)&&(n=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)),n?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,n=e.skip-e.viewSize+t,i=P.max(P.floor(n/t),0)*t;this.offset=n,this.dataSource.prefetch(i,t,(function(){e._goToRange(n,!0)}))},range:function(e,t){if(this.offset===e)return!0;var n=this,i=this.pageSize,o=P.max(P.floor(e/i),0)*i,r=this.dataSource;return t&&(o+=i),r.inRange(e,i)?(this.offset=e,this._recalculate(),this._goToRange(e),!0):!this.prefetch||(r.prefetch(o,i,(function(){n.offset=e,n._recalculate(),n._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,n=this.skip+t,i=this.dataSource;i.inRange(n,t)||this._prefetching||!this.prefetch||(this._prefetching=!0,this.trigger("prefetching",{skip:n,take:t}),i.prefetch(n,t,(function(){e._prefetching=!1,e.trigger("prefetched",{skip:n,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,n=this.viewSize,i=Math.ceil(t/e)*e;this.skip=i,this.midPageThreshold=i+e-1,this.nextPageThreshold=i+n-1,this.prefetchThreshold=i+Math.floor(e/3*2),this.pullBackThreshold=this.offset-1,this.nextMidRange=i+e-n,this.nextFullRange=i,this.previousMidRange=t-n,this.previousFullRange=i-e}}),Je=u.Observable.extend({init:function(e,t){var n=this;u.Observable.fn.init.call(n),this.dataSource=e,this.batchSize=t,this._total=0,this.buffer=new Ze(e,3*t),this.buffer.bind({endreached:function(e){n.trigger("endreached",{index:e.index})},prefetching:function(e){n.trigger("prefetching",{skip:e.skip,take:e.take})},prefetched:function(e){n.trigger("prefetched",{skip:e.skip,take:e.take})},reset:function(){n._total=0,n.trigger("reset")},resize:function(){n._total=Math.ceil(this.length/n.batchSize),n.trigger("resize",{total:n.total(),offset:this.offset})}})},syncDataSource:function(){this.buffer.syncDataSource()},at:function(e){var t,n=this.buffer,i=e*this.batchSize,o=this.batchSize,r=[];n.offset>i&&n.at(n.offset-1);for(var a=0;a<o&&null!==(t=n.at(i+a));a++)r.push(t);return r},total:function(){return this._total},destroy:function(){this.buffer.destroy(),this.unbind()}});i(!0,u.data,{readers:{json:He},Query:re,DataSource:qe,HierarchicalDataSource:Qe,Node:Ke,Comparer:ne,ObservableObject:X,ObservableArray:G,LazyObservableArray:K,LocalTransport:ke,RemoteTransport:xe,Cache:Ce,DataReader:He,Model:te,Buffer:Ze,BatchBuffer:Je})}(window.kendo.jQuery);kendo;!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",c="click",d=e.extend,u=e.each,h=n.htmlEncode,p=n.template,f=n.keys,m=i.Widget,v=/^(ul|a|div)$/i,g=".kendoMenu",_="open",b="k-menu",y="k-link k-menu-link",w=".k-link",k=".k-menu-expand-arrow",x="k-last",C="close",z="timer",S="k-first",T="k-image",M="select",I="zIndex",H="activate",D="deactivate",E="touchstart"+g+" MSPointerDown"+g+" pointerdown"+g,A=n.support.pointers,V=n.support.msPointers,P=V||A,B="change",F="error",O=n.support.touch?"touchstart":"",L=A?"pointerover":V?"MSPointerOver":"mouseenter",R=A?"pointerout":V?"MSPointerOut":"mouseleave",N="DOMMouseScroll"+g+" mousewheel"+g,U=n.support.resize+g,j="group",W="groupparent",$=e(document.documentElement),q="kendoPopup",G="k-hover",K="k-focus",Y="k-disabled",Q=".k-menu",X=".k-animation-container",Z=".k-child-animation-container",J=".k-menu-popup ,"+X,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",ce={text:"dataTextField",url:"dataUrlField",spriteCssClass:"dataSpriteCssClassField",imageUrl:"dataImageUrlField",imageAttr:"dataImageAttrField",content:"dataContentField"},de={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+=" "+T:n.class=T,n)n.hasOwnProperty(i)&&(t+=i+'="'+n[i]+'" ');return t},contentCssAttributes:function(e){var t="",n=e.contentAttr||{},i="k-content 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 y},groupAttributes:function(e){return!0!==e.expanded?`${n.attr("style-display")}="none"`:""},groupCssClass:function(){return"k-menu-group k-menu-group-md"},groupWrapperCssClass:function(){return"k-menu-popup"},content:function(e){return e.content?e.content:" "}};function ue(t,n){try{return e.contains(t,n)}catch(e){return!1}}function he(t){(t=e(t)).attr(n.attr("omit-wrap"))||(t.addClass("k-item k-menu-item").children("img").addClass(T),t.children("a").addClass(y).children("img").addClass(T),t.filter(":not([disabled])"),t.filter(".k-separator").removeClass("k-menu-item").addClass("k-menu-separator").empty().append(" "),t.filter("li[disabled]").addClass(Y).prop("disabled",!1).attr("aria-disabled",!0),t.filter("[role]").length||t.attr(le,"menuitem"),t.children(w).length||t.contents().filter((function(){return!(this.nodeName.match(v)||3===this.nodeType&&!n.trim(this.nodeValue))})).wrapAll("<span class='"+y+"' role='none'></span>").filter((function(e,t){return 3===t.nodeType})).wrap("<span class='k-menu-link-text' role='none'></span>"),pe(t),me(t))}function pe(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:fe(t)})}</span>`)}))}function fe(e){var t=e.parent().parent(),i=n.support.isRtl(t);return t.hasClass(b+"-horizontal")?"caret-alt-down":i?"caret-alt-left":"caret-alt-right"}function me(t){(t=e(t)).filter(".k-first:not(:first-child)").removeClass(S),t.filter(".k-last:not(:last-child)").removeClass(x),t.filter(":first-child").addClass(S),t.filter(":last-child").addClass(x)}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(b))return e.parentsUntil("."+b,"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("div").children("ul").children("li").each((function(e){_e(this,i.items[e])}))}function be(e){return e?"li[data-groupparent='"+e+"']":"li[data-groupparent]"}function ye(e){var t=e?"[data-group='"+e+"']":"[data-group]";return"ul"+t+",div"+t}function we(t,n){var i=t.find(be()),o=[];return i.each((function(i,r){for(var a=(r=e(r)).data(W),s=t;a;)(s=n.find(ye(a)+":visible")).length&&o.push(s),a=(r=s.find(be())).data(W)})),o}function ke(t,n){var i=t.data(j);return i?n.find(be(i)):e([])}function xe(t,n){var i=t.data(W);return i?n.children(X).find(ye(i)):e([])}function Ce(e,t){for(var n=0,i=e.parentNode;i&&!isNaN(i[t]);)n+=i[t],i=i.parentNode;return n}function ze(e){return P&&e.originalEvent&&e.originalEvent.pointerType in re}function Se(e){e.contents().filter((function(){return"LI"!=this.nodeName})).remove()}var Te=n.ui.DataBoundWidget.extend({init:function(e,t){var i=this;m.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:[_,C,H,D,M,ae],options:{name:"Menu",animation:{open:{duration:200},close:{duration:100}},orientation:"horizontal",direction:"default",openOnClick:!1,closeOnClick:!0,hoverDelay:100,scrollable:!1,popupCollision:null,autoSize:!1},_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(E,te,t._focusHandler.bind(t)).on(c+g,".k-item.k-disabled",!1).on(c+g,te,t._click.bind(t)).on(E+" "+l+g,".k-content",t._preventClose.bind(t)).on(L+g,ne,t._mouseenter.bind(t)).on(R+g,ne,t._mouseleave.bind(t)).on(l+g,ne,t._mousedown.bind(t)).on(O+g+" "+L+g+" "+R+g+" "+l+g+" "+c+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._removeFocusItem.bind(t)).on("blur"+g,"[tabindex]",t._checkActiveProxy),o&&o.on(R+g,J,t._mouseleavePopup.bind(t)).on(L+g,J,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)},_getNeededSpaceForChildren:function(e,t){const i=e.children();let o=0;return i.length>0&&i.each(((e,i)=>{o+=t?n._outerWidth(i):n._outerHeight(i)})),o},_initOverflow:function(t){var i,o,r=this,a="horizontal"==t.orientation;const s=n.support.isRtl(r.wrapper);if(r._openedPopups={},t.scrollable){r._scrollWrapper=r.element.wrap(`<div class="k-menu-scroll-wrapper${"vertical"===t.orientation?" k-menu-scroll-wrapper-vertical":""}"></div>`).parent(),a&&Se(r.element);let n=a?s?"right":"left":"up",d=a?s?"left":"right":"down";i=e(r.templates.scrollButton({direction:n})),o=e(r.templates.scrollButton({direction:d})),i.prependTo(r._scrollWrapper),o.appendTo(r._scrollWrapper),r._initScrolling(r.element,i,o,a,s);var l=r.element.outerWidth(),c=r.element[0].style.width;c="auto"===c?"":c,a&&e(window).on(U,(function(){setTimeout((function(){r._setOverflowWrapperWidth(l,c),r._toggleScrollButtons(r.element,i,o,a)}),300)})),r._setOverflowWrapperWidth(l,c),r._toggleScrollButtons(r.element,i,o,a)}},_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(X).each((function(t,n){var o=e(n).find(".k-child-animation-container > .k-menu-popup");o.off(N);var r=ke(o,i);r.length&&r.append(n)})),i.find(be()).removeAttr("data-groupparent"),i.find(ye()).removeAttr("data-group"),n.element.off(N),e(window).off(U),i.contents().unwrap(),n._scrollWrapper=n._popupsWrapper=n._openedPopups=t)},_initScrolling:function(t,i,o,a,s){var l=this,c=l.options.scrollable,d=l.isNumeric(c.distance)?c.distance:50,u=d/2,h="-="+d,p="+="+d,f="-="+2*d,m="+="+2*d,v=!1,_=!1,b=function(e){var n=a?{scrollLeft:e}:{scrollTop:e};t.finish().animate(n,"fast","linear",(function(){v&&b(e)})),l._toggleScrollButtons(t,i,o,a,s)},y=function(e){v||_||(b(e.data.direction),v=!0)},w=function(n){var c=a?{scrollLeft:n.data.direction}:{scrollTop:n.data.direction};_=function(e){var t=e.originalEvent;return r&&/touch/i.test(t.type||"")}(n)||ze(n),t.stop().animate(c,"fast","linear",(function(){_?(l._toggleScrollButtons(t,i,o,a,s),v=!0):e(n.currentTarget).trigger(L)})),v=!1,n.stopPropagation(),n.preventDefault()};i.on(L+g,{direction:s&&a?p:h},y).on(n.eventMap.down+g,{direction:s&&a?m:f},w),o.on(L+g,{direction:s&&a?h:p},y).on(n.eventMap.down+g,{direction:s&&a?f:m},w),i.add(o).on(R+g,(function(){t.stop(),v=!1,l._toggleScrollButtons(t,i,o,a,s)})),t.on(N,(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)*u,s=a?{scrollLeft:r}:{scrollTop:r};l._closeChildPopups(t),t.finish().animate(s,"fast","linear",(function(){l._toggleScrollButtons(t,i,o,a)})),e.preventDefault()}}))},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},_toggleScrollButtons:function(e,t,i,o){const r=this._getNeededSpaceForChildren(e,o),a=o?n._outerWidth(this.element):n._outerHeight(this.element);t.toggle(r>a),i.toggle(r>a);const s=o?n.scrollLeft(e):e.scrollTop(),l=e.is(J)||e.parent().is(Z);let c=Math.abs(s-(e[0].scrollWidth-e[0].offsetWidth))<=1;o||(c=Math.abs(s-(e[0].scrollHeight-e[0].offsetHeight))<=1),l&&(c=Math.abs(s-(e[0].scrollHeight-e[0].offsetHeight)-1)<=1),t.toggleClass(Y,0===Math.floor(s)),i.toggleClass(Y,c)},setOptions:function(e){var t=this.options.animation;this._animations(e),e.animation=d(!0,t,e.animation),"dataSource"in e&&this._dataSource(e),this._updateClasses(),this._wrapGroups(),this._reinitOverflow(e),m.fn.setOptions.call(this,e)},destroy:function(){var e=this;m.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),pe(this),_e(this,e[t]||e)})),pe(t),me(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),pe(this),me(this),_e(this,e[n]||e)})),me(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),pe(this),me(this),_e(this,e[n]||e)})),me(t),this},_insert:function(t,i,o){var r,s,l=this;i&&i.length||(o=l.element);var c=e.isPlainObject(t)||t instanceof n.data.ObservableObject,u={firstLevel:o.hasClass(b),horizontal:o.hasClass(b+"-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"])),c||a(t)||t instanceof n.data.ObservableArray?r=e(e.map(c?[t]:t,(function(t,i){if("string"==typeof t)return e(t).get();{let o=e(l.renderItem({group:u,item:d(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(){he(this)}))),{items:r,group:o=o.is(J)?o.find(".k-menu-group").first():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(X);o.length?o.remove():n.remove(),ve(i)}return t.length&&(pe(t=t.eq(0)),me(t)),this},_openAfterLoad:function(e,t){var n=this;t.loaded()?(n.open(e),n._loading=!1):t.one(B,(function(){e.find(k).children().removeClass("k-i-loading"),n._loading&&(n.open(e),n._loading=!1)}))},_createPopup:function(e,t){let i=this,o=i._overflowWrapper();return e.kendoPopup(d({activate:function(){i._triggerEvent({item:this.wrapper.parent(),type:H})},deactivate:function(e){i._closing=!1,e.sender.element.removeData("targetTransform").css({opacity:""}),i._triggerEvent({item:this.wrapper.parent(),type:D})},open:i._popupOpen.bind(i),close:function(e){i._closing=e.sender.element;var t=e.sender.wrapper.parent();if(o){var a=e.sender.element.data(j);a&&(t=(o||i.element).find(be(a))),e.sender.wrapper.children(oe).hide()}i._triggerEvent({item:t[0],type:C})?e.preventDefault():(t.css(I,t.data(I)),t.removeData(I),i.options.scrollable&&t.parent().siblings(oe).css({zIndex:""}),(r||P||n.support.mouseAndTouchPresent)&&t.removeClass(G))}},t)).data(q)},open:function(i){var o=this,r=o.options,a="horizontal"==r.orientation,s=r.direction,l=n.support.isRtl(o.wrapper),c=o._overflowWrapper();i=(c||o.element).find(i);var u=o.dataSource&&o.dataSource.getByUid(i.data(n.ns+"uid"));if(u&&u.hasChildren&&!u.loaded()&&!o._loading)return o._loading=!0,i.find(k).children().addClass("k-i-loading"),u.load(),void o._openAfterLoad(i,u);/^(top|bottom|default)$/.test(s)&&(s=l?a?(s+" left").replace("default","bottom"):"left":a?(s+" right").replace("default","bottom"):"right");var h=">.k-popup:visible,>.k-animation-container > .k-child-animation-container > .k-menu-popup:visible",p=function(){e(this).data(q)&&o.close(e(this).closest("li.k-item"),!0)};return i.siblings().find(h).each(p),c&&i.find(h).each(p),o.options.openOnClick&&(o.clicked=!0),i.each((function(){var i=e(this);clearTimeout(i.data(z)),clearTimeout(o._timerTimeout),o._timerTimeout=setTimeout((function(){var u,h,p=i.find("> .k-menu-popup, > .k-animation-container > .k-child-animation-container > .k-menu-popup").filter(":hidden").first();if(!p[0]&&c&&(p=(h=o._getPopup(i))&&h.element),!p.is(":visible")&&p[0]&&!1===o._triggerEvent({item:i[0],type:_})){const h=p.children(".k-menu-scroll-wrapper").length?p.children(".k-menu-scroll-wrapper"):p,_=o._groupElementsInitialSpace.find((({element:e})=>h.children("ul").is(e)));let x="";_&&Object.keys(_).length>0&&(_.height>0&&(x=_.height),o._popupToBeOpened=_,_.inlineHeight?e(_.element).css({height:_.inlineHeight}):e(_.element).css({height:""}));const C=r.scrollable||r.autoSize,z=r.autoSize?"auto":"visible";p.css({maxHeight:C?"":x,overflow:z}),i.data(I,i.css(I));var f=o.nextItemZIndex++;i.css(I,f),o.options.scrollable&&i.parent().siblings(oe).css({zIndex:++f}),u=p.data(q);var m,v=i.parent().hasClass(b),g=v&&a,y=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}(s,v,l),w=r.animation.open.effects,k=w!==t?w:"slideIn:"+function(e,t){return(e=e.split(" ")[!t+0]||e).replace("top","up").replace("bottom","down")}(s,v);m=null!==r.popupCollision?r.popupCollision:g?"fit":"fit flip",u?((u=p.data(q)).options.origin=y.origin,u.options.position=y.position,u.options.animation.open.effects=k):(u=o._createPopup(p,{origin:y.origin,position:y.position,collision:m,anchor:i,appendTo:c||i,animation:{open:d(!0,{effects:k},r.animation.open),close:r.animation.close}}),p.closest(X).removeAttr(le)),p.removeAttr("aria-hidden"),i.attr(se,!0),o._configurePopupOverflow(u,i),u._hovered=!0,u.open(),o._initPopupScrolling(u)}}),o.options.hoverDelay),i.data(z,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(Z)||(e.wrapper=n.wrap(e.element,e.options.autosize).css({overflow:"hidden",display:"block",position:"absolute"}))},_initPopupScrolling:function(t,i,o){var r=this;const a=t.element,s=a.children(".k-menu-scroll-wrapper"),l=s.length?e(s.children("ul")):e(a.children("ul"));let c=r._getNeededSpaceForChildren(l,i),d=!1;d=i?n._outerWidth(a)<c:n._outerHeight(a)<c,r.options.scrollable&&(a[0].scrollHeight>a[0].offsetHeight||d)?r._initPopupScrollButtons(t,i,o):s.length&&(s.find(oe).remove(),l.unwrap())},_scrollButtonsMouseEnter:function(){let t=this,n=t.popup,i=t._overflowWrapper();e(we(n.element,i)).each((function(e,n){let o=i.find(be(n.data(j)));t.close(o)}))},_scrollButtonsMouseLeave:function(){let t=this,n=t.popup;setTimeout((function(){e.isEmptyObject(t._openedPopups)&&t._closeParentPopups(n.element)}),30)},_initPopupScrollButtons:function(t,i,o){let r=this,a=t.wrapper.find(oe),s=t.element,l=s.children(".k-menu-scroll-wrapper"),c=s.children("ul");r._denyOpening=!0,!c.length&&l.length&&(c=l.children("ul")),i||c.css({overflow:"hidden"});const d=l.length>0?l:c.wrap(`<div class="k-menu-scroll-wrapper${i?"":" k-menu-scroll-wrapper-vertical"}"></div>`).parent();if(a.length)a.is(":hidden")&&a.show();else{let n=e(r.templates.scrollButton({direction:i?"left":"up"})),s=e(r.templates.scrollButton({direction:i?"right":"down"}));a=n.add(s),a.css({width:!i&&"100%"}),n.prependTo(d),s.appendTo(d),r._initScrolling(c,n,s,i),o||a.on(L+g,(function(){let n=r._overflowWrapper();e(we(t.element,n)).each((function(e,t){let i=n.find(be(t.data(j)));r.close(i)}))})).on(R+g,(function(n){setTimeout((function(){e.isEmptyObject(r._openedPopups)&&!t.element.find(n.relatedTarget).length&&r._closeParentPopups(t.element)}),30)}))}if(a.length>0&&!i){const e=r._popupToBeOpened?r._popupToBeOpened.inlineHeight:"";c.css({height:""!==e?e:n._outerHeight(t.wrapper)-2*n._outerHeight(a)+"px"})}r._toggleScrollButtons(c,a.first(),a.last(),i),r._denyOpening=!1},_popupOpen:function(e){this._keyTriggered||e.sender.element.find("."+K).removeClass(K),this.options.scrollable&&this._setPopupHeight(e.sender)},_setPopupHeight:function(t,n){let i=t.element,o=i.add(i.parent(Z));o.height(i.hasClass(b)&&this._initialHeight||"");let r=t._location(n),a=e(window).height(),s=r.height,l=n?0:Math.max(r.top,0),c=n?0:Ce(this._overflowWrapper()[0],"scrollTop"),d=a+(window.innerHeight-a);if(!(d+c>s+l)){let e=.05*a,t=Math.min(d,d-l-e+c);o.css({height:t+"px"}),i.css({overflow:"hidden"})}},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(z)),r.data(z,setTimeout((function(){var n,a,s,l=i._getPopup(r);if(l&&(s=r.data(W),!o||!s||!i._openedPopups[s.toString()]||i._forceClose)){if(!i._forceClose&&(n=l.element,a=!1,e.isEmptyObject(i._openedPopups)||e(we(n,o)).each((function(e,t){return!(a=!!i._openedPopups[t.data(j).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(q),n=this._overflowWrapper();if(!t&&n){var i=e.data(W);if(i)t=n.find(ye(i)).data(q)}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==L||-1!==l.indexOf(t.type);i.siblings().removeClass(G),i.parents("li."+Y).length||i.toggleClass(G,o||"mousedown"==t.type||"pointerover"==t.type||t.type==O)},_preventClose:function(){this.options.closeOnClick||(this._closurePrevented=!0)},_checkActiveElement:function(t){var i=this,o=e(t?t.currentTarget:this._focusItem()),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},_removeFocusItem:function(){var e=this._focusItem();e&&e.hasClass(K)&&(e.removeClass(K),this._oldFocusItem=null)},_wrapGroups:function(){var t=this;const i=t.element.find("li > ul");t._groupElementsInitialSpace=Array.from(i).map((t=>{let i,o=!1,r=t.closest(".k-animation-container")||t.closest(".k-popup");return r=e(r),r&&r.length&&!r.is(":visible")&&(o=!0,r.show()),i={element:t,width:n._outerWidth(t),height:n._outerHeight(t),inlineHeight:t.style&&t.style.height?t.style.height:""},o&&r.hide(),i})),i.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-reset k-header k-menu-init "+b).addClass(b+"-"+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-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(){he(this)}))},_mouseenter:function(t){var n=this,i=e(t.currentTarget),o=n._itemHasChildren(i),a=i.data(W)||i.closest(J).data(j),s=ze(t),l=!1;n._denyOpening||(a&&(n._openedPopups[a.toString()]=!0),n._closing&&(l=!!n._closing.find(i).length),l||(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._mousedownedElement=i,(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(W),s=o.children(J).length||a,l=e(window);if(a&&delete i._openedPopups[a.toString()],!o.parentsUntil(X,".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||ze(t)||ue(t.currentTarget,t.relatedTarget||t.target)||!s||ue(t.currentTarget,n._activeElement())?void((n.support.browser.msie&&!t.toElement&&!t.relatedTarget&&!ze(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(Z)){var i=(n=n.find(J)).data(j);i&&(this._openedPopups[i.toString()]=!0)}},_mouseleavePopup:function(t){var n=e(t.currentTarget);!ze(t)&&n.is(X)&&this._closePopups(n.find(J))},_closePopups:function(t){var n=this,i=n._overflowWrapper(),o=t.data(j);if(o){delete n._openedPopups[o.toString()];var r=i.find(be(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(we(t,i)).each((function(){var e=i.find(be(this.data(j)));n.close(e,!0)}))},_innerPopup:function(e){var t=we(e,this._overflowWrapper());return t[t.length-1]||e},_closeParentPopups:function(e){var t=this,n=t._overflowWrapper(),i=e.data(j);var o=(n??t.element).find(be(i));for(i=o.closest(J).data(j),t.close(o,!0);i&&!t._openedPopups[i]&&!o.parent().is(Q);)o=n.find(be(i)),t.close(o,!0),i=o.closest(J).data(j)},_click:function(t){var i,o,r,a,s=this,l=s.options,c=e(n.eventTarget(t)),d=c[0],u=c[0]?c[0].nodeName.toUpperCase():"",h="INPUT"==u||"SELECT"==u||"BUTTON"==u||"LABEL"==u,p=c.closest(w),f=c.closest(ee),m=f[0],v=p.attr("href"),g=c.attr("href"),b=e("<a href='#' />").attr("href"),y=!!v&&v!==b,k=y&&!!v.match(/^#/),x=!!g&&g!==b,z=s._overflowWrapper();if(!d||d.parentNode&&m){for(e(c).closest("span").parent().hasClass("k-menu-expand-arrow")&&(this._lastClickedElement=m);d&&d.parentNode!=m;)d=d.parentNode;if(!e(d).is("div:not(.k-animation-container,.k-list-container)"))if(f.hasClass(Y))t.preventDefault();else{if(t.handled||!s._triggerSelect(c,m)||h||t.preventDefault(),t.handled=!0,o=f.children(J),z){var S=f.data(W);S&&(o=z.find(ye(S)))}if(r=o.is(":visible"),a=l.openOnClick&&r&&s._isRootItem(f),l.closeOnClick&&(!y||k)&&(!o.length||a)){f.removeClass(G).css("height"),s._oldFocusItem=s._findRootParent(f);var T=s._parentsUntil(p,s.element,ee);return s._forceClose=!!z,s.close(T),void(s.clicked=!1)}y&&t.enterKey&&p[0].click(),(s._isRootItem(f)&&!1!==l.openOnClick||l.openOnClick.subMenuItems||n.support.touch||ze(t)&&s._isRootItem(f.closest(ee)))&&(y||h||x||t.preventDefault(),s.clicked=!0,i=o.is(":visible")?C:_,(l.closeOnClick||i!=C)&&s[i](f))}}},_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(X)&&(r=ke(e(a).find(J),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:M});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").parent().hasClass("k-menu-expand-arrow")?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._focusItem(),a=o();if(!n._mousedownedElement)return i==n.wrapper[0]||e(i).is(":kendoFocusable")?void(a===t.currentTarget&&(r.length?n._moveFocus([],r):n._oldFocusItem||n._moveFocus([],n.wrapper.children().first()))):(t.stopPropagation(),e(i).closest(".k-content").closest(".k-menu-popup").closest(".k-item").addClass(K),void n.wrapper.trigger("focus"));n._mousedownedElement=null},_keydown:function(e){var t,i,o,r=this,a=e.keyCode,s=r._oldFocusItem,l=n.support.isRtl(r.wrapper);if(e.target==e.currentTarget||a==f.ESC){if(s||(s=r._oldFocusItem=r._focusItem()),i=r._itemBelongsToVertival(s),o=r._itemHasChildren(s),r._keyTriggered=!0,a==f.RIGHT)t=r[l?"_itemLeft":"_itemRight"](s,i,o);else if(a==f.LEFT)t=r[l?"_itemRight":"_itemLeft"](s,i,o);else if(a==f.DOWN)t=r._itemDown(s,i,o);else if(a==f.UP)t=r._itemUp(s,i,o);else if(a==f.HOME)r._moveFocus(s,s.parent().children(":visible").first()),e.preventDefault();else if(a==f.END)r._moveFocus(s,s.parent().children(":visible").last()),e.preventDefault();else if(a==f.ESC)t=r._itemEsc(s,i);else if(a==f.ENTER||a==f.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._moveFocus(s,r._childPopupElement(s).children().find("li").first())):s.is("li")&&"menuitemcheckbox"===s.attr("role")?s.find(".k-checkbox").attr("checked",!0):r._moveFocusToRoot(s,r._findRootParent(s)));else if(a==f.TAB)return t=r._findRootParent(s),r._moveFocus(s,t),void r._checkActiveElement();t&&t[0]&&(e.preventDefault(),e.stopPropagation())}},_focusItem:function(){return this.wrapper.find(".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(W)&&!!this._overflowWrapper().children(ye(e.data(W))))},_moveFocus:function(t,n){var i=this,o=i._ariaId;t.length&&n.length&&t.removeClass(K),n.length&&(n[0].id&&(o=n[0].id),i.wrapper.find("."+K).removeClass(K),n.addClass(K),i._oldFocusItem=n,o&&(i.element.removeAttr("aria-activedescendant"),e("#"+o).removeAttr("id"),n.attr("id",o),i.element.attr("aria-activedescendant",o)),i._scrollToItem(n))},_moveFocusToRoot:function(e,t){this._moveFocus(e,t)},_findRootParent:function(e){return this._isRootItem(e)?e:this._parentsUntil(e,Q,"li.k-item").last()},_isRootItem:function(e){return e.parent().hasClass(b)},_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=xe(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._moveFocus(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=ke(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._moveFocus(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._moveFocus(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._moveFocus(e,n),n},_scrollToItem:function(e){var t=this;if(t.options.scrollable&&e&&e.length){var i,o=e.parent(),r=!!o.hasClass(b)&&"horizontal"==t.options.orientation,a=r?"scrollLeft":"scrollTop",s=r?n._outerWidth:n._outerHeight,l=o[a](),c=s(e),d=e[0][r?"offsetLeft":"offsetTop"],u=s(o),h=o.siblings(oe),p=h.length?s(h.first()):0;if(l+u<d+c+p?i=d+c-u+p:l>d-p&&(i=d-p),!isNaN(i)){var f={};f[a]=i,o.finish().animate(f,"fast","linear",(function(){t._toggleScrollButtons(o,h.first(),h.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._moveFocus(e,n),n):e},_childPopupElement:function(e){var t=e.find(".k-menu-popup"),n=this._overflowWrapper();return!t.length&&n&&(t=xe(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._moveFocus([],o),o.children(".k-content")[0]&&o.parent().closest(".k-item").removeClass(K)}),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(B,this._refreshHandler),this.dataSource.bind(F,this._errorHandler)},_unbindDataSource:function(){var e=this.dataSource;e&&(e.unbind(B,this._refreshHandler),e.unbind(F,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 ce)t=o[ce[e]],i=r.attr(n.attr(e+"-field")),!t&&i&&(t=i),t||(t=e),a(t)||(t=[t]),o[ce[e]]=t},_fieldAccessor:function(t){var i=this.options[ce[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 t=this,i=t.options,o=t._fieldAccessor.bind(t);i.template&&"string"==typeof i.template?i.template=p(i.template):i.template||(i.template=p((e=>{var t=o("text")(e.item);return void 0!==e.item.encoded&&!1===e.item.encoded||(t=h(t)),`<span class='k-menu-link-text' role='none'>${t}</span>`}))),t.templates={content:p((e=>{var t=e.item,n=o("content")(t),i=e.contentCssAttributes(t.toJSON?t.toJSON():t);return`<div class='${e.groupWrapperCssClass(e.group)}' ${e.groupAttributes(e.group)}><div ${i} tabindex='-1'>${n||""}</div></div>`})),group:p((e=>`<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:p((e=>{var t=e.item,i=o("url")(t),r=o("imageUrl")(t),a=o("imageAttr")(t),s=i?"a":"span";return`<${s} class='${de.textClass(t)}' role='none' ${i?`href='${n.sanitizeLink(i)}'`:""} >`+(r?`<img ${de.imageCssAttributes(a)} alt='' src='${r}' />`:"")+this.templates.sprite(t)+this.options.template(e)+e.arrow(e)+`</${s}>`})),item:p((t=>{var i=t.item,r=t.menu,a=t.group,s=t.subGroup,l=o("content")(i),c=n.guid();return`<li class='${de.wrapperCssClass(a,i)}' ${i.hasChildren||i.items||i.content?'aria-controls="'+c+'"':""} ${de.itemCssAttributes(i.toJSON?i.toJSON():i)} role='menuitem' ${i.items||i.content?"aria-haspopup='true'":""}`+(!1===i.enabled?"aria-disabled='true'":"")+n.attr("uid")+`='${i.uid}' `+(i.items&&i.items.length>0||i.content?i.expanded?" aria-expanded='true'":" aria-expanded='false'":"")+">"+`${i.separator?"":this.templates.itemWrapper(t)}`+(i.hasChildren||i.items?`${s({items:i.items,menu:r,group:{expanded:i.expanded},groupId:c})}`:i.content||i.contentUrl||l?`${t.renderContent(e.extend({},t,{group:{expanded:i.expanded}}))}`:"")+"</li>"})),scrollButton:p((({direction:e})=>`<span class='k-button k-button-md k-button-flat k-button-flat-base k-icon-button k-menu-scroll-button k-menu-scroll-button-${"left"===e||"up"===e?"prev":"next"}' unselectable='on'>`+n.ui.icon({icon:`caret-alt-${e}`,iconClass:"k-button-icon"})+"</span>")),arrow:p((({item:e,group:t})=>`<span aria-hidden='true' class='k-menu-expand-arrow'>${n.ui.icon({icon:t.horizontal?"caret-alt-down":"caret-alt-right"})}</span>`)),sprite:p((e=>{var t=o("spriteCssClass")(e);return t?`<span class='k-sprite ${t}'></span>`:""})),empty:p((()=>""))}},renderItem:function(e){var t=this;e=d({menu:t,group:{}},e);var n=t.templates.empty,i=e.item;return t.templates.item(d(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)},de))},renderGroup:function(e){return(this.templates||e.menu.templates).group(d({renderItems:function(e){for(var t="",n=0,i=e.items,o=i?i.length:0,r=d({length:o},e.group);n<o;n++)t+=e.menu.renderItem(d(e,{group:r,item:d({index:n},i[n])}));return t}},e,de))},renderContent:function(e){return e.menu.templates.content(d(e,de))}}),Me=Te.extend({init:function(t,i){var o=this;Te.fn.init.call(o,t,i),o.element.attr(le,"menu"),o._initialInlineHeight=o.element[0].style&&o.element[0].style.height?o.element[0].style.height:"",o._marker=n.guid().substring(0,8),o.target=e(o.options.target),o._popup(),o._wire()},_initOverflow:function(t){var n=this;n._openedPopups={},t.scrollable&&!n._overflowWrapper()&&(n._popupsWrapper=(n.element.parent().is(Z)?n.element.closes(X):n.element).wrap(`<div class="k-menu-scroll-wrapper${"vertical"===t.orientation?" k-menu-scroll-wrapper-vertical":""}"></div>`).parent(),"horizontal"==n.options.orientation&&Se(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:[_,C,H,D,M],setOptions:function(t){var n=this;Te.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(),Te.fn.setOptions.call(this,t)},destroy:function(){var e=this;e.target.off(e.options.showOn+g+e._marker),$.off(n.support.mousedown+g+e._marker,e._closeProxy),e.userEvents&&e.userEvents.destroy(),Te.fn.destroy.call(e),e.popup&&e.popup.destroy()},open:function(i,o){var r=this;const a="horizontal"===r.options.orientation;if("number"==typeof(i=e(i)[0])&&(r._initialInlineHeight?e(r.element).css({height:r._initialInlineHeight}):e(r.element).css({height:""})),ue(r.element[0],e(i)[0])||r._itemHasChildren(e(i)))Te.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.parent().kendoStop(!0)),r._triggerFocusOnActivate||(r._triggerFocusOnActivate=r._focusMenu.bind(r)),r.bind(H,r._triggerFocusOnActivate),o!==t){var s=r._overflowWrapper();if(s){var l=s.offset();i-=l.left,o-=l.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();r._initPopupScrolling(r.popup,a),r.popup.element.siblings(oe).hide(),$.off(r.popup.downEvent,r.popup._mousedownProxy),$.on(n.support.mousedown+g+r._marker,r._closeProxy)}return r},_focusMenu:function(){var e=this;e.unbind(H,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"}))},_setPopupWidth:function(t,i){var o=t.element,r=o.add(o.parent(Z));r.width(this._initialWidth||"");var a=t._location(i),s=e(window).width(),l=a.width,c=Math.max(a.left,0),d=i?0:Ce(this._overflowWrapper()[0],"scrollLeft"),u=n.getShadows(o),h=s-u.left-u.right;h+d>l+c||r.css({overflow:"hidden",width:h-c+d+"px"})},close:function(){var t=this;ue(t.element[0],e(arguments[0])[0])||t._itemHasChildren(arguments[0])?Te.fn.close.call(t,arguments[0]):t.popup.visible()&&!1===t._triggerEvent({item:t.element,type:C})&&(t._removeFocusItem(),t.element.find("#"+t._ariaId).removeAttr("id"),t.popup.close(),$.off(n.support.mousedown+g+t._marker,t._closeProxy),t.unbind(M,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("."+K).removeClass(K),(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 c=3!==t.which;n.popup.visible()&&(c&&o||!o)&&(n.options.closeOnClick&&!a&&l||!l)&&(l?(this.unbind(M,this._closeTimeoutProxy),n.bind(M,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",(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,d({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(we(t.sender.element,n)).each((function(e,t){var n=t.data(q);n&&n.close(!0)}))}:e.noop}).data(q),t._targetChild=ue(t.target[0],t.popup.element[0])},_moveFocusToRoot:function(e,t){this._moveFocus(e,t),this.close()},_focus:function(e){var t=this._oldFocusItem=this._focusItem()||[];Te.fn._focus.call(this,e),o()===e.currentTarget&&this._moveFocus(t,this.wrapper.children().filter(":visible").not(".k-separator").first())}});i.plugin(Te),i.plugin(Me)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=n.isFunction,r=n.keys,a=n._outerWidth,s=".kendoToolBar",l="toolbar",c="k-button",d="k-button-group",u="k-split-button",h="k-menu-button",p="k-toolbar-separator k-separator",f="k-spacer",m="k-selected",v="k-disabled",g="k-hidden",_="k-force-hidden",b="k-group-start",y="k-group-end",w="k-menu-link",k="k-menu-item",x="k-toolbar-overflow-button",C="k-toolbar-item",z="k-menu-link-toggle",S="k-dropdownlist",T="k-input-button",M="k-focus",I="[tabindex=-1]",H="toolbar-tool",D="aria-checked",E="aria-label",A="change",V="click",P="toggle",B="open",F="close",O="focus",L="keydown",R="spacer",N="role",U="ref-",j="separator",W="overflow",$="tabindex",q="input",G="select",K="group",Y="data-uid",Q="[data-role]",X="[data-toggle]",Z="[data-role=buttonmenu]",J="[ref-toolbar-tool]",ee=":kendoFocusable:not([class*='pager'])",te="overflowOpen",ne="overflowClose",ie="never",oe="auto",re="always",ae=n.attr("uid"),se="",le="_",ce=" ",de=".",ue=",",he="id",pe="uid",fe="kendoDropDownButton",me="kendoSplitButton",ve="kendoToggleButton",ge="kendoButtonGroup";n.toolbar={};var _e={button:"Button",splitButton:"SplitButton",dropDownButton:"DropDownButton",buttonGroup:"ButtonGroup",popupButton:"Button",open:"Button"},be={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"},ye=["Button","SplitButton","DropDownButton","ButtonGroup","Switch","ColorPicker"],we=`<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>`,ke='<div role="separator"> </div>',xe=i.extend({init:function(t,o){if(i.fn.init.call(this,t,o),o=this.options,this._isRtl=n.support.isRtl(t),this.uid=n.guid(),(t=this.wrapper=this.element).attr(ae,this.uid),t.addClass("k-toolbar"),t.attr(N,l),o.resizable?(this.hasOverflowButton=["section","menu"].includes(this.options.overflow?.mode),this._resizable()):o.overflow=e.extend({},o.overflow,{mode:"none"}),o.tools&&o.tools.length>0&&(o.items=this._extendToolsOptions()),o.items&&o.items.length&&this._items(),this._scrollable(),this._attachEvents(),this._tabIndex(),this._applyCssClasses(),o.resizable)if(this.hasOverflowButton){let e=this.element.find("> .k-toolbar-items").length>0?this.element.find("> .k-toolbar-items")[0].offsetWidth:this.element.innerWidth();this._shrink(e),this.overflowAnchorSeparator?.appendTo(this.wrapper),this.overflowAnchor?.appendTo(this.wrapper),this._toggleOverflowAnchor()}else this._toggleScrollButtons();n.notify(this)},events:[V,P,B,F,te,ne,A],options:{name:"ToolBar",items:[],resizable:!0,navigateOnTab:!1,evaluateTemplates:!1,size:"medium",fillMode:"solid",overflow:{mode:"menu",scrollButtons:"auto",scrollButtonsPosition:"split",scrollDistance:200}},destroy:function(){var t=this;t.options.resizable&&(n.unbindResize(t._resizeHandler),t.overflowMenu?.destroy?.(),t.overflowSection?.destroy?.()),"scroll"==t.options.overflow?.mode&&(t.element.find("> .k-toolbar-items").unbind("scroll"+s),t._removeScrollableClasses()),t.element.find(".k-popup-button").each(((t,n)=>{var i,o,r,a=e(n).getKendoButton();a&&(r=a.chooser,o=(i=a.popup).wrapper,r.destroy(),i.destroy(),o.remove())})),t.element.off(s),t.element.removeAttr(Y),n.destroy(t.element.children()),i.fn.destroy.call(t)},add:function(e){this._add(e),this.options.resizable&&this.resize(!0)},_scrollableAllowed:function(){const e=this.options;return e.overflow&&"scroll"==e.overflow.mode&&!e.overflow.scrollDistance&&(e.overflow.scrollDistance=200),"scroll"==e.overflow?.mode&&!isNaN(e.overflow.scrollDistance)},_getScrollButtonHtml:function(t,i){return n.html.renderButton(e(`<span class="k-toolbar-${t}"></span>`),{icon:i,type:"",size:this.options.size})},_getChildrenWidth:function(t){let n=0;return t.children().each((function(){n+=a(e(this))})),Math.floor(n)},_removeScrollableClasses:function(){const e=this,t="hidden"===e.options.overflow.scrollButtons;e.element.removeClass("k-toolbar-scrollable"),t&&(e.element.removeClass("k-toolbar-scrollable-overlay"),e.element.removeClass("k-toolbar-scrollable-start"),e.element.removeClass("k-toolbar-scrollable-end"),e.element.removeClass("k-toolbar-items-scroll"))},_scrollable:function(){const e=this,t=e.element,i=e.options,o=i.overflow.scrollButtonsPosition,r="hidden"===i.overflow.scrollButtons;if(e._scrollableAllowed()){let a,l;e.element.addClass("k-toolbar-scrollable");let c=!0;e.element.wrapInner(`<div class="k-toolbar-items ${c?"k-toolbar-items-scroll":""}"></div>`);const d=t.find("> .k-toolbar-items"),u=e.element[0].offsetWidth,h=d[0].scrollWidth,p=e._getChildrenWidth(d)>d.outerWidth(),f=h>u||p;if(f&&!e._scrollableModeActive&&r)e.element.addClass("k-toolbar-items-scroll"),e.element.addClass("k-toolbar-scrollable-overlay"),e._scrollableModeActive=!0,e._toggleScrollButtons();else if(!f&&r||e._scrollableModeActive)e._scrollableModeActive&&!f&&r?(e._scrollableModeActive=!1,e._removeScrollableClasses(),e._scrollPrevButton&&e._scrollPrevButton.off().remove(),e._scrollNextButton&&e._scrollNextButton.off().remove()):!e._scrollableModeActive&&r?e._removeScrollableClasses():e._toggleScrollButtons();else{e._nowScrollingTabs=!1,e._isRtl=n.support.isRtl(e.element);const t=n.support.touch?"touchstart":"mousedown",r=n.support.touch?"touchend":"mouseup",c=n.support.browser,d=e._isRtl&&!c.msie&&!c.edge,u=e._isRtl?"caret-alt-right":"caret-alt-left",h=e._isRtl?"caret-alt-left":"caret-alt-right",p=this._getScrollButtonHtml("prev",u),f=this._getScrollButtonHtml("next",h);switch(o){case"split":e.element.prepend(p),e.element.append(f);break;case"start":e.element.prepend(f),e.element.prepend(p);break;case"end":e.element.append(p),e.element.append(f)}a=e._scrollPrevButton=e.element.children(".k-toolbar-prev"),l=e._scrollNextButton=e.element.children(".k-toolbar-next"),a.on(t+s,(function(){e._nowScrollingTabs=!0,e._scrollTabsByDelta(i.overflow.scrollDistance*(d?1:-1))})),l.on(t+s,(function(){e._nowScrollingTabs=!0,e._scrollTabsByDelta(i.overflow.scrollDistance*(d?-1:1))})),a.add(l).on(r+s,(function(){e._nowScrollingTabs=!1,e._toggleScrollButtons()})),e._scrollableModeActive=!0,e._toggleScrollButtons()}}},_scrollTabsByDelta:function(e){const t=this,i=t.element.find("> .k-toolbar-items");let o=n.scrollLeft(i);const r=n.support.browser;t._isRtl&&(r.mozilla||r.webkit&&r.version>=85)&&(o*=-1);const a={scrollLeft:o+e};i.finish().animate(a,"fast","linear",(function(){t._nowScrollingTabs&&!jQuery.fx.off&&t._scrollTabsByDelta(e)}))},_toggleScrollButtons:function(e){const t=this;if(!t._scrollableAllowed())return;let i=t.element.find("> .k-toolbar-items"),o=Math.floor(n.scrollLeft(i)),r=t.options.overflow.scrollButtons;const a=Math.abs(o-(i[0].scrollWidth-i[0].offsetWidth))<=1,s=0===o;if("hidden"!==r){if(t._scrollPrevButton.toggleClass(v,s),t._scrollNextButton.toggleClass(v,a),"auto"===r){const n=e||i[0].scrollWidth-i[0].offsetWidth<=1;t._scrollPrevButton.toggleClass(g,n),t._scrollNextButton.toggleClass(g,n)}}else t.element.toggleClass("k-toolbar-scrollable-start",s),t.element.toggleClass("k-toolbar-scrollable-end",a)},enable:function(t,i){var o,r,a=this,s=this._getUid(t),l=this._getItem(t,s),c=this._getOverflowItem(t,s),d=l.component;function u(e){e.component?(r=d.wrapper,o=r.hasClass(M)||r.is(":focus"),d.enable(i),r.find("[disabled]").removeAttr("disabled"),r.removeAttr("disabled"),o&&r.addClass(M).trigger(O)):e.buttonsPopupItem.length>0&&n.widgetInstance(e.buttonsPopupItem.closest(".k-menu-popup")).enable(i,e.buttonsPopupItem)}void 0===i&&(i=!0),this.overflowSection&&c&&u(c),l&&(u(l),this.overflowMenu&&(this.overflowMenu.enable(l.menuItem,i),this.overflowMenu.element.find("[data-parentuid="+s+"]").each(((t,n)=>{a.overflowMenu.enable(e(n),i)}))))},getSelectedFromGroup:function(e){return this.element.find("[data-group='"+e+"']").filter(de+m)},hide:function(t){var n,i,o=this,r=this._getUid(t),a=o._getItem(t,r),s=o._getOverflowItem(t,r);function l(e,t){(n=e.templateEl.add(e.toolbarEl).add(e.buttonsPopupItem).add(e.menuItem)).addClass(g),n.addClass(_),i=e.toolbarEl.parent().closest(de+d),i.data(ge)&&(0===i.children(":not(.k-hidden)").length?o.hide(i):o._groupVisibleButtons(i)),n.find("[tabindex=0]").addBack("[tabindex=0]").length>0&&o._resetTabIndex(o._getAllItems(t).first())}(a||s)&&(this.overflowSection&&s&&l(s,!0),a&&(l(a),this.overflowMenu&&this.overflowMenu.element.find("[data-parentuid="+r+"]").each(((t,n)=>{e(n).addClass(_),e(n).addClass(g)}))),this.options.resizable&&this.resize(!0))},remove:function(t){var n,i=this,o=this._getUid(t),r=this._getItem(t,o),a=this._getOverflowItem(t,o);function s(t){t.component&&((n=t.toolbarEl.closest('[data-role="buttongroup"]')).length>0&&0===t.toolbarEl.siblings().length?(n.data(ge).destroy(),n.remove(),t.toolbarEl=e(se)):t.component.destroy()),t.templateEl.length>0?t.templateEl.remove():t.toolbarEl.length>0&&t.toolbarEl.remove(),t.buttonsPopupItem.length>0&&t.buttonsPopupItem.remove()}(r||a)&&(this.overflowSection&&a&&s(a),r&&(s(r),this.overflowMenu&&(this.overflowMenu.remove(r.menuItem),this.overflowMenu.element.find("[data-parentuid="+o+"]").each(((t,n)=>{i.overflowMenu.remove(e(n))})))),this.options.resizable&&this.resize(!0))},show:function(t){var n,i,o=this,r=this._getUid(t),a=this._getItem(t,r),s=this._getOverflowItem(t,r);function l(e){(n=e.templateEl.add(e.toolbarEl).add(e.buttonsPopupItem)).removeClass(_),n.removeClass(g),i=e.toolbarEl.parent().closest(de+d),i.data(ge)&&(i.hasClass("k-hidden")&&i.children(":not(.k-hidden)").length>0?o.show(i):o._groupVisibleButtons(i))}this.overflowSection&&s&&l(s),a&&(l(a),a.menuItem.removeClass(_),this.overflowMenu&&this.overflowMenu.element.find("[data-parentuid="+r+"]").each(((t,n)=>{e(n).removeClass(_)}))),this.options.resizable&&this.resize(!0)},toggle:function(n,i){var o=this._getItem(n),r=this._getOverflowItem(n),a=o.menuItem;function s(t){const n=t.toolbarEl,o=n.data(ve);if(!t.component&&0===a.find(de+z).length)return;const r=n.data(K);if(t.component){const t=n.closest(de+d).data(ge);if(t&&n.hasClass(m)!==i&&t._toggleIndex(n.index()),o.toggle(i),i){n.closest(".k-toolbar,.k-toolbar-popup").find("[data-group="+r+"]").each(((t,i)=>{i!==n[0]&&e(i).data(ve).toggle(!1)}))}}}if(i===t&&(i=!0),this.overflowSection&&r&&s(r),o&&(s(o),a)){const t=o.toolbarEl.data(K);if(a.attr(D,i).find(de+z).toggleClass(m,i),i&&this.overflowMenu){this.overflowMenu.element.find("[data-group="+t+"]").each(((t,n)=>{n!==a[0]&&e(n).attr(D,!1).find(de+z).removeClass(m)}))}}},toggleTools:function(t){var i=this,o=i.element.find(X),r=i.element.find(ee).not(I);o.each((function(o,r){var a=e(r),s=null,l=a.data(P),c=t&&t[l];a.is(Q)&&(s=n.widgetInstance(a)),s&&s.enable?s.enable(c||!1):i.enable(a,c)})),i.element.find(X+"[disabled]").removeAttr("disabled"),i.element.find(ee).not(I).attr("tabindex",-1),r.attr($,0)},_generateToolElement:function(e,t,i,o){let r;return e||t?r=this._addTemplate(o):n.ui[o.component]?r=this._addCustomWidget(o):i?r=this._addDefaultTool(i,o):o.type===R?this._addSpacer():o.type===j&&this._addSeparator(o),r},_add:function(e){var t=this._processOptions(e),n=t.template,i=t.overflowTemplate,o=_e[t.type];let r;if(t.overflow===re&&"menu"!=this.options.overflow?.mode||(r=this._generateToolElement(n,i,o,t),r&&t.overflow!==re&&(this.overflowAnchor&&this.overflowAnchorSeparator?r.insertBefore(this.overflowAnchorSeparator):r.appendTo(this.element),r.find("[disabled]").removeAttr("disabled"),r.is("[disabled]")&&r.removeAttr("disabled"))),"section"==this.options.overflow?.mode&&t.overflow!==ie){if(t.type===R)return this._addSpacer(this._overflowSectionContentElement());if(t.type===j)return;let e=this._generateToolElement(n,i,o,t);e&&(this._overflowSectionContentElement().append(e),t.overflow!==re&&e.addClass(g),e.find("[disabled]").removeAttr("disabled"),e.is("[disabled]")&&e.removeAttr("disabled"),e.attr("ref-section-tool",r?.attr("data-uid")||""))}},_addAttributes:function(e,t){var n=e.attributes,i=se;n||(n={}),e.hidden&&(i=g+ce+_),e.align&&(i=i+" k-align-"+e.align),n&&(n.class&&(i=i+ce+n.class,delete n.class),t.attr(n)),t.addClass(i),t.attr(ae,e.uid),e.id&&t.attr(he,e.id),e.overflow===ie&&t.attr("data-overflow",ie),e.items&&e.items.forEach((e=>{e&&e.groupClass&&!t.hasClass(e.groupClass)&&t.addClass(e.groupClass)}))},_addCustomWidget:function(t){var i,o,r,a=e(t.element||"<input>");return t.overflowComponent&&this._addMenuItem(t.overflowComponent.type,e.extend({},t,t.overflowComponent)),t.attributes&&(r=t.attributes.class,delete t.attributes.class,a.attr(t.attributes),delete t.attributes[E]),t.componentOptions||(t.componentOptions={}),t.componentOptions.size=this.options.size,i=new n.ui[t.component](a,t.componentOptions),ye.indexOf(t.component)>-1?(i.wrapper.addClass(be[t.component]).attr(U+H,""),o=i.wrapper):o=(i.wrapper||i.element).wrap("<span class='k-toolbar-item' tabindex='0' ref-toolbar-tool >").parent(),t.attributes&&(t.attributes.class=r),this._addAttributes(t,o),o},_addDefaultTool:function(t,n){var i,o;let r=this;return(n.overflow!==re||r.overflowSection&&n.overflow!==ie)&&(i=r._addToolbarTool(t,e.extend(!0,{},n))),r.overflowMenu&&n.overflow!==ie&&(n.overflowComponent?(delete(o=e.extend(!0,{},n,n.overflowComponent))["data-command"],r._addMenuItem("Button",o)):r._addMenuItem(t,e.extend(!0,{},n))),i},_addMenuItem:function(i,o){var r,a=this,s=o.selected;return delete o.selected,o.id&&(o.id=o.id+le+W),o.showIcon===l&&(delete o.imageUrl,delete o.icon),o.showText===l?(o.attributes||(o.attributes={}),o.attributes[E]=o.text,o.text=se):o.text!==t&&o.text!==se||(o.text=" ",o.encoded=!1),a.overflowMenu?.append(o),r=a.overflowMenu.element.find(de+k).last(),o.icon&&r.find(de+w).prepend(n.ui.icon(o.icon)),"ToggleButton"===i||"Button"===i&&!0===o.togglable?(r.find(de+w).addClass(z),s&&r.find(de+w).addClass(m),o.group&&r.attr("data-group",o.group)):o.menuButtons?o.menuButtons.forEach((e=>{e.overflow=o.overflow,a._addMenuItem(null,e)})):o.buttons&&(r.remove(),r=null,o.buttons.forEach((t=>{var n=t.attributes;t.overflow=o.overflow,t.attributes=e.extend(n,o.attributes),a._addMenuItem("Button",t)}))),"DropDownButton"===i&&(r.addClass(v),r.attr("aria-disabled",!0)),r&&(a._addAttributes(o,r),o.overflow===oe&&r.addClass(g),(o.click||o.toggle)&&a.overflowMenu.bind(G,(e=>{e.item===r[0]&&this._onMenuItemSelect(e,o.click,o.toggle)}))),r},_addPopupButton:function(t){var n,i,o=this,r=e(we),a=t.popupComponent;return r.attr(E,t.text),n=e("<div/>").appendTo(e("<body>")).kendoPopup({anchor:r}).data("kendoPopup"),r.on(V+" touchend",(e=>{n.toggle(),e.preventDefault()})),(i=new a(n.element)).bind(t.commandOn,(e=>{o.trigger(A,{target:r,value:e.value||e}),n.close()})),{widgetElement:r,chooser:i,popup:n}},_addSeparator:function(t){var n=e(ke),i=e("<li role='separator' class='k-separator k-menu-separator k-hidden'></li>");const o=t.id;if(n.addClass(p),n.attr(N,j),this.overflowAnchor&&this.overflowAnchorSeparator?n.insertBefore(this.overflowAnchorSeparator):n.appendTo(this.element),this._addAttributes(t,n),t.id&&(t.id=t.id+le+W),this._addAttributes(t,i),this.overflowMenu&&this.overflowMenu.element.append(i),this.overflowSection){const n=e(ke).addClass(p).addClass(g).attr(N,j).attr("ref-section-tool",t.uid);let i=o?e.extend(!0,t,{id:o+le+"section-overflow"}):t;this._addAttributes(i,n),this._overflowSectionContentElement().append(n)}},_addSpacer:function(t){var n=e("<div> </div>");n.addClass(f),this.overflowAnchor&&this.overflowAnchorSeparator?n.insertBefore(this.overflowAnchorSeparator):n.appendTo(t||this.element)},_overflowSectionContentElement:function(){return this.overflowSection?.element.find(".k-toolbar-items-list")},_addTemplate:function(t){var i,r,a=t.template,s=t.overflowTemplate,l=e(se);return s&&this.overflowMenu&&t.overflow!==ie&&(s=o(s)?s(t)[0]:s,this.overflowMenu.append({}),r=this.overflowMenu.element.find(de+k).last().find(de+w).html(s).parent()),a&&t.overflow!==re&&(this.options.evaluateTemplates&&(a=n.template(a)),a=o(a)?a(t):a,(i=e("<div class='k-toolbar-item' aria-keyshortcuts='Enter'></div>")).html(a),r&&r.addClass(g)),i&&(l=i.find(q+ue+G),this._addAttributes(t,i)),r&&(l.add(r.find(q+ue+G)),this._addAttributes(t,r)),!this.options.navigateOnTab&&l.length>0&&(i.attr($,0),i.attr(U+H,""),l.attr($,-1)),i},_addToolbarTool:function(t,i){var o,r,a,s=e("<button>"),l=!1;return!0===i.primary&&(i.themeColor="primary"),i.url&&(s=e("<a href='"+n.sanitizeLink(i.url)+"'>")),i.showIcon===W&&(delete i.imageUrl,delete i.icon),i.showText!==W?s.text(i.text):s.attr(E,i.text),"popupButton"===i.type?s=(a=this._addPopupButton(i)).widgetElement:"Button"===t&&!0===i.togglable?t="ToggleButton":i.menuButtons?(i.items=i.menuButtons,delete i.menuButtons,i.attributes&&i.attributes.class&&s.addClass(i.attributes.class),s.attr(Y,i.uid),delete i.uid):i.buttons&&(s=e("<span></span>"),l=!0,i.items=i.buttons,delete i.buttons,i.preventKeyNav=!0,i.items.forEach((e=>{e.showIcon===W&&(delete e.imageUrl,delete e.icon),e.showText===W&&(e.attributes||(e.attributes={}),e.attributes[E]=e.text,delete e.text)}))),i.id&&(s.attr(he,i.id),delete i.id),i.name&&delete i.name,i.size=this.options.size,(r=(o=new n.ui[t](e(s),i)).wrapper||o.element).addClass(be[t]),this._addAttributes(i,r),i.url&&s.removeAttr(N),l?(r.find(de+c).attr(U+H,""),this._groupVisibleButtons(r)):o.element.attr(U+H,""),"popupButton"!==i.type&&"open"!==i.type?this._attachWidgetEvents(o):"open"===i.type?(s.addClass("k-upload-button"),this._resetOpen(s,i.extensions),r=s.parent()):(o.chooser=a.chooser,o.popup=a.popup),r},_attachEvents:function(){var e=this,t=e.options;e.element.on(L+s,e._keydown.bind(e)).on("focusin"+s,e._focusIn.bind(e)).on("focusout"+s,e._focusOut.bind(e)),"section"==t.overflow?.mode&&e.overflowSection&&e._overflowSectionContentElement().on(L+s,e._keydown.bind(e)),"scroll"==t.overflow?.mode&&e.element.find("> .k-toolbar-items").bind("scroll",(function(t){e._nowScrollingTabs||e._toggleScrollButtons()}))},_attachWidgetEvents:function(t){var n=this;t.bind(V,n._onClick.bind(n)),t.bind(P,n._onToggle.bind(n)),t.bind(G,n._onSelect.bind(n)),t.bind(B,n._onOpen.bind(n)),t.bind(F,n._onClose.bind(n)),t.wrapper.find(de+c).each(((t,i)=>{var o=e(i);o.data("kendoButton")&&o.data("kendoButton").bind(V,(e=>{n.trigger(V,{id:e.id,target:e.target,originalEvent:e.originalEvent||e.event})}))}))},_childrenWidth:function(){var t=parseInt(this.element.css("gap"),10)||0,n=t;return(this.element.find("> .k-toolbar-items").length>0?this.element.find("> .k-toolbar-items"):this.element).children(":visible:not(."+f+")").each((function(){n+=a(e(this),!1)+t})),Math.ceil(n)},_extendToolsOptions:function(){var e=this.options,t=e.tools.flatMap((t=>this._mapTool(t,e.parentMessages,e.defaultTools)));return this.options.items=t,t},_focusIn:function(t){var n=e(t.target).closest(de+c);n.length>0&&(this._resetTabIndex(n),n.addClass(M))},_focusOut:function(e){this.wrapper.find(de+c+de+M).removeClass(M)},_getAllItems:function(e){return(1==e?this._overflowSectionContentElement():this.wrapper).find(J).filter(":visible").filter(((e,t)=>"hidden"!==t.style.visibility))},_getOverflowItem:function(e,t){return this._getItem(e,t,this._overflowSectionContentElement())},_getItem:function(t,i,o){var r,a,s=i||this._getUid(t),l=e(Z);return s?(r="[data-uid="+s+"]",{toolbarEl:a=(o||this.element).find(r),templateEl:a.closest(de+C+ue+de+u),component:n.widgetInstance(a),menuItem:this.overflowMenu?this.overflowMenu.element.find(r):e(se),buttonsPopupItem:l.find(r)}):{toolbarEl:(o||this.element).find(t),templateEl:e(se),menuItem:this.overflowMenu?this.overflowMenu.element.find(t):e(se),buttonsPopupItem:e(se)}},_getNextElement:function(t,n){const i=e(t).closest(".k-toolbar-popup").length>0;var o=this._getAllItems(i),r=-1===o.index(t)?o.index(t.parentElement):o.index(t),a=o[r+n];return a||(a=-1===n?o.last():o.first()),a},_getUid:function(t){var n;return(n=this.element.find(t)).length||(n=e(Z).find(t)),!n.length&&this.overflowMenu&&(n=this.overflowMenu.element.find(t)),!n.length&&this.overflowSection&&(n=this._overflowSectionContentElement().find(t)),n.length?n.data(pe)||n.closest(J).data(pe):null},_groupVisibleButtons:function(e){var t,n=e.children();n.removeClass(y).removeClass(b),(t=n.filter(":not('."+g+"')")).first().addClass(b),t.last().addClass(y)},_hideItem:function(t){var n=this;t.addClass(g),this.overflowSection&&this._overflowSectionContentElement().find(`[ref-section-tool=${t.data("uid")}]`).removeClass(g),n.overflowMenu&&(t.hasClass(u)||t.hasClass(h)?((t.hasClass(u)?(t=t.children().eq(0)).data(me):t.data(fe)).menu.list.children().each(((t,i)=>{n._showMenuItem(e(i))})),n._showMenuItem(t)):t.hasClass(d)?t.children().each(((t,i)=>{n._showMenuItem(e(i))})):n._showMenuItem(t))},_hideMenuItem:function(e){this.overflowMenu.element.find(">li[data-uid='"+e.data(pe)+"']").addClass(g)},_items:function(){let e=this.options;for(var t=0;t<e.items.length;t++)this._add(e.items[t])},_keydown:function(t){var n=e(t.target),i=t.keyCode,o=n.closest(de+C),a=n.is(de+x);const s=n.closest(".k-toolbar-popup").length>0;if(!this.options.navigateOnTab&&!n.is(J)&&i===r.ESC&&o.length>0)return t.stopPropagation(),void this._keyDeactivateTemplate(o);n.is(J)&&(!this.options.navigateOnTab&&i===r.ENTER&&n.hasClass(C)?this._keyActivateTemplate(n):s&&i===r.ESC?(this.overflowSection.close(),this.element.trigger(O)):a&&(t.altKey&&i===r.DOWN||i===r.SPACEBAR)?this._keyOpenOverflow(t,i):i===r.HOME?this._keyFocusFirst(n,t):i===r.END?this._keyFocusLast(n,t):this.options.navigateOnTab||i!==r.RIGHT&&i!==r.LEFT||this._keyFocusNext(i,t))},_keyActivateTemplate:function(e){var t=e.find(ee+":not('"+de+T+"')"+ue+de+S);const n=e.find(".k-pager");n.length>0?n.trigger(O):t.length>0&&(e.attr($,-1),t.attr($,0),t.first().trigger(O))},_keyDeactivateTemplate:function(e){var t,i=e.find(Q),o=e.find(ee+":not('"+de+T+"')"+ue+de+S);if(i.length>0&&(t=n.widgetInstance(i))){if(t.overflowMenu&&t.overflowMenu.visible())return;e.attr($,0),e.trigger(O),e.find(ee).attr($,-1)}o.length>0&&(e.attr($,0),e.trigger(O),o.attr($,-1))},_keyFocusFirst:function(e,t){const n=e.closest(".k-toolbar-popup").length>0;var i=this._getAllItems(n);e.is(de+S)||e.is(q)||(this._resetTabIndex(i.first()),i.first().trigger(O),t.preventDefault())},_keyFocusLast:function(e,t){const n=e.closest(".k-toolbar-popup").length>0;var i,o=this._getAllItems(n);e.is(de+S)||e.is(q)||(0===(i=o.last()).width()&&(i=o.eq(o.length-2)),this._resetTabIndex(i),i.trigger(O),t.preventDefault())},_keyFocusNext:function(t,n){var i,o=this._isRtl?-1:1;t===r.LEFT&&(o*=-1),i=e(this._getNextElement(n.target,o)),this._resetTabIndex(i),i.trigger(O),n.preventDefault()},_keyOpenOverflow:function(e,t){t===r.SPACEBAR&&e.preventDefault(),(this.overflowMenu||this.overflowSection).open()},_mapAttributes:function(e,t){return{"aria-label":t[e.name||e.property],title:t[e.name||e.property],"data-command":e.command,"data-options":e.options,"data-dialog":e.dialog,"data-property":e.property,"data-value":e.value,"data-toggle":e.toggleCondition}},_mapComponent:function(t,n){var i,o=this,r=t.componentOptions,a=r.messages,s=r.placeholder,l=e.extend({},o._mapAttributes(t,n),t.attributes);return t.overflowComponent&&(i=t.options||{},t.componentOptions.dataSource&&(i.options=t.componentOptions.dataSource),t.componentOptions.value&&(i.default=t.componentOptions.value),Object.keys(i).length>0&&(t.overflowComponent.options=JSON.stringify(i)),t.overflowComponent=o._mapTool(t.overflowComponent,n)),a&&Object.keys(a).forEach((e=>{t.componentOptions.messages[e]=n[a[e]]||a[e]})),s&&(t.componentOptions.placeholder=n[s]||s),Object.keys(r).forEach((e=>{"commandOn"===e&&(t.componentOptions[r[e]]=e=>{o.trigger(A,{target:e.target||e.sender.element})})})),r.dataSource&&r.dataSource.length&&(t.componentOptions.dataSource=r.dataSource.map((e=>(e.name&&n[e.name]&&(e.text=n[e.name]),e)))),t.attributes=l,t},_mapTool:function(t,i,o){let r,a,s,l,c=this,d=Array.isArray(t),u=e.isPlainObject(t),h=u&&Object.keys(t).length;return d?{type:"buttonGroup",buttons:t.map((e=>c._mapTool(e,i,o)))}:(r=u&&(1===h||2===h)&&t.name,l=r?t:{},t=r?t.name:t,a=e.isPlainObject(t)?t:e.extend({},o[t]),s=e.extend({},c._mapAttributes(a,i),a.attributes),n.deepExtend(a,{text:l.text||i[a.name||a.property],attributes:s}),"component"===a.type?a.items?a.items.map((e=>c._mapComponent(e,i))):c._mapComponent(a,i):("buttonGroup"===a.type?(delete a.attributes[E],a.buttons=a.buttons.map((e=>c._mapTool(e,i,o)))):"splitButton"===a.type?(delete a.attributes[E],a.menuButtons=a.menuButtons.flatMap((e=>c._mapTool(e,i,o)))):"popupButton"===a.type&&a.overflowComponent&&(a.overflowComponent=c._mapTool(a.overflowComponent,i)),delete a.name,a))},_menuItemSelect:function(t){var n,i,o=e(t.item),r=o.attr(he),a=o.find(de+z),s=o.data(K);r&&r.indexOf(le+W)>-1&&(r=r.replace(le+W,se)),a.length?(s&&this.overflowMenu.element.find("[data-group="+s+"]").each(((t,n)=>{var i=e(n);i.attr(D,!1),i.find(de+z).removeClass(m)})),n=!!s||!a.hasClass(m),a.toggleClass(m,n),o.attr(D,n),(i=this.element.find("[data-uid="+o.data(pe)+"]")).length&&(i.closest(de+d).length?i.closest(de+d).data(ge).select(i):(s&&this.element.find("[data-group="+s+"]").each(((t,n)=>{e(n).data(ve).toggle(!1)})),i.data(ve).toggle(!0))),this.trigger(P,{id:o.attr(he),target:o,checked:n})):this.trigger(V,{id:r,target:o})},_onClick:function(e){var t=e.target,n=t.hasClass("k-toolbar-toggle-button"),i=t.data(K);n||this.trigger(V,{id:e.id,target:e.target,originalEvent:e.originalEvent||e.event}),i&&this.element.find("[data-group="+i+"]").length>1&&t.hasClass(m)&&e.preventDefault()},_onClose:function(e){this.trigger(F,{widget:e.sender})&&e.preventDefault()},_onMenuItemSelect:function(t,n,i){var o=e(t.item),r=o.find(de+z).length>0,a=o.attr(he);a&&a.indexOf(le+W)>-1&&(a=a.replace(le+W,se)),n&&n.bind(this)({event:t.event,id:a,target:o}),r&&i&&setTimeout((()=>{i.bind(this)({event:t.event,id:a,target:o,checked:o.find(de+m).length>0})}))},_onOpen:function(e){this.trigger(B,{widget:e.sender})&&e.preventDefault()},_onSelect:function(t){let i=this;var o=this.overflowMenu?this.overflowMenu.element:e(se);t.sender.element.children().each(((t,r)=>{var a=e(r),s=`[data-uid=${a.data(pe)}]`,l=a.hasClass(m);if(o.find(s).attr(D,l).find(de+z).toggleClass(m,l),i.overflowSection){let e=i.element.find(s),t=i.overflowSection.element.find(s),o=n.widgetInstance(e[0]==r?t:e);o?.toggle?.(l)}})),this.trigger(P,{id:t.target.attr(he),target:t.target,checked:t.target.hasClass(m)})},_onToggle:function(t){var i,o=this,r=t.target,a=r.data(K);if(o.overflowMenu&&(i=o.overflowMenu.element.find("[data-uid="+r.attr(Y)+"]"),o.overflowMenu.element.find("[data-group="+a+"]").attr(D,!1).find(de+z).removeClass(m),i.attr(D,!0).find(de+z).addClass(m)),o.overflowSection){let e=o.element.find("[data-uid="+r.attr(Y)+"]");i=o.overflowSection.element.find("[data-uid="+r.attr(Y)+"]");let a=n.widgetInstance(e[0]==t.target[0]?i:e);a?.toggle?.(t.checked)}a&&o.element.find("[data-group="+a+"]").each(((t,n)=>{n!==r[0]&&e(n).data(ve).toggle(!1)})),this.trigger(P,{id:t.id,target:t.target,checked:t.checked,originalEvent:t.originalEvent||t.event})},_processInner(e,t){for(var i,o=0;o<e.length;o++)(i=e[o]).attributes||(e[o].attributes={}),e[o].attributes[Y]=n.guid(),e[o].attributes["data-parentuid"]=t,i.id&&(e[o].attributes[he]=e[o].id),i.hidden&&(e[o].attributes.class||(e[o].attributes.class=se),e[o].attributes.class+=ce+g+ce+_);return e},_processOptions:function(i){let o,r=i.template,a=i.overflowTemplate,s=n.guid();return e.extend(i,{uid:s,fillMode:i.fillMode?i.fillMode:this.options.fillMode,rootUid:this.uid}),i.menuButtons?i.menuButtons=this._processInner(i.menuButtons,s):i.buttons&&i.buttons.length&&(i.buttons=this._processInner(i.buttons,s),i.buttons.some((e=>e.togglable))?(o=i.buttons[0].group,o&&i.buttons.every((e=>e.group===o))?i.selection="single":i.selection="multiple"):i.selection="none"),r&&!a||i.type===R?i.overflow=ie:i.overflow||(i.overflow=oe),i.enable!==t&&(i.enabled=i.enable),i},_renderOverflow:function(){var t=this,i=t._isRtl?"left":"right";const o=t.options.overflow?.mode;"section"!==o&&"menu"!==o||(t.overflowAnchorSeparator=e(`<div class="k-toolbar-separator k-toolbar-button-separator k-separator" ${N}="${j}"></div>`),t.overflowAnchor=e("<button class='k-toolbar-overflow-button' title='More tools'>"),t.overflowAnchor.attr(U+H,""),t.element.append(t.overflowAnchorSeparator),t.element.append(t.overflowAnchor),t.overflowAnchor.kendoButton({icon:"menu"==o?"more-vertical":"more-horizontal",fillMode:"flat",size:t.options.size,click:function(e){"section"==o&&t.overflowSection.open()}}),t.options.navigateOnTab||t.overflowAnchor.attr($,-1),"section"==o&&(t.overflowSection=new n.ui.Popup(e(`<div class="k-toolbar-popup"><div class="k-toolbar-items-list ${n.getValidCssClass("k-toolbar-items-list-","fill",t.options.fillMode)} ${n.getValidCssClass("k-toolbar-items-list-","size",t.options.size)}"></div></div>`),{anchor:t.element,origin:"bottom left",position:"top left",open:function(e){if(t.trigger(te))return e.preventDefault();t.overflowSection.element.width(t.element.outerWidth())},activate:function(e){let n=t._getAllItems(!0).first();t._resetTabIndex(n),n.trigger(O)},close:function(e){t.trigger(ne)?e.preventDefault():(t._resetTabIndex(t.overflowAnchor),t.overflowAnchor.trigger(O))}})),"menu"==o&&(t.overflowMenu=new n.ui.ContextMenu(e("<ul>"),{size:t.options.size,showOn:"click tap",origin:"bottom "+i,position:"top "+i,alignToAnchor:!0,target:t.overflowAnchor,open:function(e){t.trigger(te)&&e.preventDefault()},close:function(e){t.trigger(ne)?e.preventDefault():(t._resetTabIndex(t.overflowAnchor),t.overflowAnchor.trigger(O))}}),t.overflowMenu.element.attr(ae,this.uid),setTimeout((()=>{t.overflowMenu.bind(G,t._menuItemSelect.bind(t))}))))},_resetOpen:function(t,i){var o,r,a=this;t.closest(".k-upload-button-wrap").find("input").remove(),o=t.wrap("<div class='k-upload-button-wrap'></span>").parent(),r=e("<input type='file' autocomplete='off' accept='"+i+"'/>").attr("aria-hidden",!0).one("change",(e=>{a.trigger(A,{target:t,value:e.target.files[0]}),a._resetOpen(t,i)})).appendTo(o),t.off(L).on(L,(e=>{e.keyCode===n.keys.ENTER&&r.trigger(V)}))},_resetTabIndex:function(e){if(!0!==this.options.navigateOnTab){(e.closest(".k-toolbar-popup").length>0?this._overflowSectionContentElement():this.wrapper).find(ee).attr($,-1),e.attr($,0)}},_resizable:function(){var e=this,t=e.element;e._renderOverflow(),t.addClass("k-toolbar-resizable"),e._resizeHandler=n.onResize((function(){e.resize()}))},_resize:function(t){var i=t.width,o=this.element,r=o.find('[data-role="splitbutton"]').add(o.find('[data-role="dropdownbutton"]'));this.options.resizable&&(this.overflowMenu?.close(),this.overflowSection?.close(),r.length>0&&r.each(((t,i)=>{n.widgetInstance(e(i)).close()})),this.hasOverflowButton?(this._shrink(i),this._stretch(i),this._toggleOverflowAnchor()):this._toggleScrollButtons())},_shrink:function(t){var n,i,o;let r=this.element.find("> .k-toolbar-items").length>0?this.element.find("> .k-toolbar-items"):this.element;if(t<this._childrenWidth())for(var a=(i=r.children(":visible:not([data-overflow='never'], ."+x+")")).length-1;a>=0&&(n=i.eq(a),!(t>this._childrenWidth()));a--)(o=n.find("[tabindex=0]")||n.is("[tabindex=0]")?n:e(se)).length>0&&(o.attr($,-1),this.element.children(de+x).attr($,0)),this._hideItem(n)},_showItem:function(t,n){var i=this,o=parseInt(this.element.css("gap"),10)||0;t.removeClass(g);var r=a(t,!0)+o;return t.addClass(g),!(!t.length||!(t.hasClass(f)||n>this._childrenWidth()+r))&&(t.removeClass(g),!0!==this.options.navigateOnTab?t.find(ee).attr($,-1):t.is("[tabindex=-1]")&&t.removeAttr($),this.overflowSection&&this._overflowSectionContentElement().find(`[ref-section-tool=${t.data("uid")}]`).addClass(g),this.overflowMenu&&(t.hasClass(u)||t.hasClass(h)?((t.hasClass(u)?(t=t.children().eq(0)).data(me):t.data(fe)).menu.list.children().each(((t,n)=>{i._hideMenuItem(e(n))})),i._hideMenuItem(t)):t.hasClass(d)?t.children().each(((t,n)=>{i._hideMenuItem(e(n))})):i._hideMenuItem(t)),!0)},_showMenuItem:function(e){var t=this.overflowMenu.element.find(">li[data-uid='"+e.data(pe)+"']");t.hasClass(_)||t.removeClass(g)},_stretch:function(e){var t,n,i=this.element.children(de+x);let o=this.element.find("> .k-toolbar-items").length>0?this.element.find("> .k-toolbar-items"):this.element;if(e>this._childrenWidth()){n=o.children(de+g+":not("+de+_+")");for(var r=0;r<n.length&&(t=n.eq(r),!(e<this._childrenWidth())&&this._showItem(t,e));r++);}!this.options.navigateOnTab&&i.is("[tabindex=0]")&&(i.attr($,-1),this._resetTabIndex(this._getAllItems().first()))},_tabIndex:function(){var e=this.wrapper.find(ee+":not('"+I+"')"),t=e.first();!0!==this.options.navigateOnTab?(e.attr($,-1),t.attr($,0)):this.wrapper.find(".k-toolbar-item").removeAttr($)},_toggleOverflowAnchor:function(){this.hasOverflowButton&&((this.overflowMenu?.element||this._overflowSectionContentElement()).children(":not(."+g+", .k-popup)").length>0?(this.overflowAnchor.removeClass(g),this.overflowAnchorSeparator.removeClass(g)):(this.overflowAnchor.addClass(g),this.overflowAnchorSeparator.addClass(g)))}});n.toolbar={Item:n.Class,OverflowButton:n.Class,TemplateItem:n.Class,ToolBarButton:n.Class,registerComponent:()=>null},n.cssProperties.registerPrefix("ToolBar","k-toolbar-"),n.cssProperties.registerValues("ToolBar",[{prop:"fillMode",values:["solid","flat"]}]),n.ui.plugin(xe)}(window.kendo.jQuery);kendo;!function(e,t){var n,i=window.kendo,o=i.ui,r=i.keys,a=e.extend,s=i.htmlEncode,l=e.each,c=Array.isArray,d=i.template,u=o.Widget,h=i.data.HierarchicalDataSource,p=/^(ul|a|div)$/i,f=".kendoPanelBar",m="href",v="k-link",g="."+v,_="error",b=".k-panelbar-item",y=".k-panelbar-group:visible",w="k-image",k="change",x="expand",C="select",z="click",S="k-panelbar-content",T="activate",M="collapse",I="dataBound",H="mouseenter",D="contentLoad",E="k-expanded",A="> .k-panelbar-group",V="> .k-panelbar-content",P="k-focus",B="k-disabled",F="k-selected",O="."+F,L=b+":not(.k-disabled)",R="> "+L+" > "+g+", .k-panelbar-group > "+L+" > "+g,N=b+".k-disabled > .k-link",U="> li > "+O+", .k-panelbar-group > li > "+O,j="aria-disabled",W="aria-expanded",$="aria-hidden",q="aria-selected",G=":visible",K="single",Y={text:"dataTextField",url:"dataUrlField",spriteCssClass:"dataSpriteCssClassField",imageUrl:"dataImageUrlField",icon:"dataIconField",iconClass:"dataIconClassField"},Q={aria:function(e){var t="";return(e.items||e.content||e.contentUrl||e.expanded)&&(t+=W+"='"+(e.expanded?"true":"false")+"' "),!1===e.enabled&&(t+=j+"='true'"),t},wrapperCssClass:function(e,t){var n="k-panelbar-item";t.index;return e.firstLevel&&(n+=" k-panelbar-header"),!1===t.enabled?n+=" "+B:!0===t.expanded&&(n+=" "+E),t.cssClass&&(n+=" "+t.cssClass),t.level&&(n+=" k-level-"+t.level()),n},textClass:function(e){var t=v;return e.selected&&(t+=" "+F),t},textAttributes:function(e){return e?" href='"+e+"'":""},arrowIconOptions:function(e){return{icon:e.expanded?"chevron-up":"chevron-down",iconClass:"k-panelbar-toggle k-panelbar-"+(e.expanded?"collapse":"expand")}},text:function(e){return!1===e.encoded?e.text:i.htmlEncode(e.text)},groupAttributes:function(e){return!0!==e.expanded?` ${i.attr("style-display")}="none"`:""},ariaHidden:function(e){return!0!==e.expanded},groupCssClass:function(){return"k-panelbar-group"},contentAttributes:function(e){return!0!==e.item.expanded?` ${i.attr("style-display")}="none"`:""},content:function(e){return e.content?e.content:e.contentUrl?"":" "},contentUrl:function(e){return e.contentUrl?'href="'+e.contentUrl+'"':""}};function X(t){(t=e(t)).addClass("k-level-"+t.parentsUntil(".k-panelbar","ul").length)}n=function(e){return e.children("span").children(".k-panelbar-toggle")};var Z=i.ui.DataBoundWidget.extend({init:function(e,t){var n,o,r=this;c(t)&&(t={dataSource:t}),o=t&&!!t.dataSource,u.fn.init.call(r,e,t),e=r.wrapper=r.element.addClass("k-panelbar"),t=r.options,e[0].id&&(r._itemId=e[0].id+"_pb_active"),r._tabindex(),r._accessors(),r._dataSource(),r._templates(),r._initData(o),r._updateClasses(),r._animations(t),e.on(z+f,R,r._click.bind(r)).on(H+f+" mouseleave"+f,R,r._toggleHover).on(z+f,N,!1).on(z+f,".k-request-retry",r._retryRequest.bind(r)).on("keydown"+f,r._keydown.bind(r)).on("focus"+f,(function(){var e=r.select();r._current(e[0]?e:r._first())})).on("blur"+f,(function(){r._current(null)})).attr("role","tree"),(n=e.find("li."+E+" > ."+S))[0]&&r.expand(n.parent(),!1),i.notify(r),r._showWatermarkOverlay&&r._showWatermarkOverlay(r.wrapper[0])},events:[x,M,C,T,k,_,I,D],options:{name:"PanelBar",dataSource:{},animation:{expand:{effects:"expand:vertical",duration:200},collapse:{duration:200}},messages:{loading:"Loading...",requestFailed:"Request failed.",retry:"Retry"},autoBind:!0,loadOnDemand:!0,expandMode:"multiple",template:null,dataTextField:null,selectable:!0},destroy:function(){u.fn.destroy.call(this),this.element.off(f),i.destroy(this.element)},_initData:function(e){var t=this;e&&(t.element.empty(),t.options.autoBind&&(t._progress(!0),t.dataSource.fetch()))},_templates:function(){var t=this,n=t.options,o=t._fieldAccessor.bind(t);n.template&&"string"==typeof n.template?n.template=d(n.template):n.template||(n.template=d((e=>{var t=o("text")(e.item);return!1!==e.item.encoded&&(t=s(t)),`<span class='k-panelbar-item-text'>${t}</span>`}))),t.templates={content:d((({data:e,item:t,contentAttributes:n,content:i})=>`<div class='k-panelbar-content'${n({data:e,item:t,contentAttributes:n,content:i})}>${i(t)}</div>`)),group:d((({data:e,items:t,group:n,renderItems:i,panelBar:o,ariaHidden:r,groupCssClass:a,groupAttributes:s})=>`<ul role='group' aria-hidden='${r(n)}' class='${a(n)}' ${s(n)}>`+i({data:e,items:t,group:n,renderItems:i,panelBar:o,ariaHidden:r,groupCssClass:a,groupAttributes:s})+"</ul>")),itemWrapper:d((({panelBar:t,item:n,arrow:r,textClass:a,arrowIconOptions:s,textAttributes:l,contentUrl:c})=>{var d=o("url")(n),u=o("imageUrl")(n),h=o("spriteCssClass")(n),p=o("icon")(n),f=o("iconClass")(n);f=f?" "+f:"";c=c(n);var m=d||c?"a":"span";return`<${m} class='${a(n)}' ${c}${l(d)}>`+(u?`<img class='k-panelbar-item-icon k-image' alt='' src='${u}' />`:"")+(h?`<span class='k-sprite ${h}'></span>`:"")+(p?i.ui.icon(e("<span></span>"),{icon:p,iconClass:"k-panelbar-item-icon"+f}):"")+t.options.template({panelBar:t,item:n,arrow:r,textClass:a,textAttributes:l,contentUrl:c})+r({panelBar:t,item:n,arrow:r,textClass:a,arrowIconOptions:s,textAttributes:l,contentUrl:c})+`</${m}>`})),item:d((({data:e,group:t,item:n,panelBar:o,itemWrapper:r,renderContent:a,arrow:s,arrowIconOptions:l,subGroup:c,aria:d,wrapperCssClass:u,contentUrl:h,textClass:p,textAttributes:f})=>`<li aria-selected='false' role='treeitem' ${d(n)}class='${u(t,n)}' `+i.attr("uid")+`='${n.uid}'>`+r({data:e,group:t,item:n,panelBar:o,itemWrapper:r,renderContent:a,arrow:s,arrowIconOptions:l,subGroup:c,aria:d,wrapperCssClass:u,contentUrl:h,textClass:p,textAttributes:f})+(n.items&&n.items.length>0?c({items:n.items,panelBar:o,group:{expanded:n.expanded}}):n.content||n.contentUrl?a({data:e,group:t,item:n,panelBar:o,itemWrapper:r,renderContent:a,arrow:s,arrowIconOptions:l,subGroup:c,aria:d,wrapperCssClass:u,contentUrl:h,textClass:p,textAttributes:f}):"")+"</li>")),loading:d((({messages:e})=>`<li class='k-panelbar-item'><span class='k-icon k-i-loading'></span> ${s(e.loading)}</li>`)),retry:d((({messages:e})=>`<li class='k-panelbar-item'>${s(e.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'>${s(e.retry)}</span></button></li>`)),arrow:d((({item:e,arrowIconOptions:t})=>i.ui.icon(t(e)))),empty:d((()=>""))}},setOptions:function(e){var t=this.options.animation;this._animations(e),e.animation=a(!0,t,e.animation),"dataSource"in e&&this.setDataSource(e.dataSource),u.fn.setOptions.call(this,e)},expand:function(t,n){var i=this,o={};if(t=this.element.find(t),!i._animating||!t.find("ul").is(":visible"))return i._animating=!0,n=!1!==n,t.each((function(r,a){a=e(a);var s=t.children(".k-panelbar-group,.k-panelbar-content");s.length||(s=i._addGroupElement(t));var l=s.add(a.find(V));if(!a.hasClass(B)&&l.length>0){if(i.options.expandMode==K&&i._collapseAllExpanded(a))return i;n||(o=i.options.animation,i.options.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),i._triggerEvent(x,a)||i._toggleItem(a,!1,!1),n||(i.options.animation=o)}})),i;i.one("complete",(function(){setTimeout((function(){i.expand(t)}))}))},collapse:function(t,n){var i=this,o={};return i._animating=!0,n=!1!==n,(t=i.element.find(t)).each((function(t,r){var a=(r=e(r)).find(A).add(r.find(V));!r.hasClass(B)&&a.is(G)&&(n||(o=i.options.animation,i.options.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),i._triggerEvent(M,r)||i._toggleItem(r,!0),n||(i.options.animation=o))})),i},updateArrow:function(t){var n=this;(t=e(t)).children(g).children(".k-panelbar-collapse, .k-panelbar-expand").remove(),t.filter((function(){var t=n.dataItem(this);return t?t.hasChildren||t.content||t.contentUrl:e(this).find(".k-panelbar-group").length>0||e(this).find(".k-panelbar-content").length>0})).children(".k-link:not(:has([class*=-i-chevron]))").each((function(){var t=e(this),n=t.parent();let o=i.ui.icon({icon:n.hasClass(E)?"chevron-up":"chevron-down",iconClass:"k-panelbar-toggle k-panelbar-"+(n.hasClass(E)?"collapse":"expand")});t.append(o)}))},_accessors:function(){var e,t,n,o=this.options,r=this.element;for(e in Y)t=o[Y[e]],n=r.attr(i.attr(e+"-field")),!t&&n&&(t=n),t||(t=e),c(t)||(t=[t]),o[Y[e]]=t},_progress:function(e,t){var i=this.element,o=this.templates.loading({messages:this.options.messages});1==arguments.length?(t=e)?i.html(o):i.empty():n(e).empty().removeClass("k-i-arrow-rotate-cw k-svg-i-arrow-rotate-cw").toggleClass("k-i-loading",t)},_refreshRoot:function(t){var n=this,r={firstLevel:!0,expanded:!0,length:n.element.children().length};this.element.empty();var s=e.map(t,(function(t,o){if("string"==typeof t)return e(t);{t.items=[];let s=e(n.renderItem({group:r,item:a(t,{index:o})}));return i.applyStylesFromKendoAttributes(s,["display"]),s}}));this.element.append(s);for(var l=this.element.children(".k-panelbar-item"),c=0;c<t.length;c++)this.trigger("itemChange",{item:l.eq(c).find(".k-link").first(),data:t[c],ns:o})},_refreshChildren:function(t,n){var i,r,a;if(n.children(".k-panelbar-group").empty(),t.children.data().length)for(this.append(t.children,n),this.options.loadOnDemand&&this._toggleGroup(n.children(".k-panelbar-group"),!1),r=n.children(".k-panelbar-group").children("li"),i=0;i<r.length;i++)a=r.eq(i),this.trigger("itemChange",{item:a.find(".k-link").first(),data:this.dataItem(a),ns:o});else!function(t){var n=t,i=t.children("ul"),o=n.children(".k-link").children(".k-panelbar-toggle");t.hasClass("k-panelbar")||(!o.length&&i.length?o=e("<span class='k-panelbar-toggle' />").appendTo(n):i.length&&i.children().length||(o.remove(),i.remove()))}(n),r=n.children(".k-panelbar-group").children("li")},findByUid:function(t){for(var n,o=this.element.find(".k-panelbar-item"),r=i.attr("uid"),a=0;a<o.length;a++)if(o[a].getAttribute(r)==t){n=o[a];break}return e(n)},refresh:function(e){var n=this.options,i=e.node,o=e.action,r=e.items,a=this.wrapper,s=n.loadOnDemand;if(e.field){if(!r[0]||!r[0].level)return;return this._updateItems(r,e.field)}if(i&&(a=this.findByUid(i.uid),this._progress(a,!1)),"add"==o?this._appendItems(e.index,r,a):"remove"==o?this.remove(this.findByUid(r[0].uid)):"itemchange"==o?this._updateItems(r):"itemloaded"==o?this._refreshChildren(i,a):this._refreshRoot(r),"remove"!=o)for(var l=0;l<r.length;l++)if(!s||r[l].expanded){var c=r[l];this._hasChildItems(c)&&c.load()}this.trigger(I,{node:i?a:t})},_error:function(e){var t=e.node&&this.findByUid(e.node.uid),o=this.templates.retry({messages:this.options.messages});t?(this._progress(t,!1),i.ui.icon(n(t),{icon:"arrow-rotate-cw"}),e.node.loaded(!1)):(this._progress(!1),this.element.html(o))},_retryRequest:function(e){e.preventDefault(),this.dataSource.fetch()},items:function(){return this.element.find(".k-panelbar-item > span:first-child")},setDataSource:function(e){this.options.dataSource=e,this._dataSource(),this.options.autoBind&&(this._progress(!0),this.dataSource.fetch())},_bindDataSource:function(){this._refreshHandler=this.refresh.bind(this),this._errorHandler=this._error.bind(this),this.dataSource.bind(k,this._refreshHandler),this.dataSource.bind(_,this._errorHandler)},_unbindDataSource:function(){var e=this.dataSource;e&&(e.unbind(k,this._refreshHandler),e.unbind(_,this._errorHandler))},_fieldAccessor:function(t){var n=this.options[Y[t]]||[],o=n.length;return 0===o?function(e){return e[t]}:function(t){var r=e.map(n,i.getter);return t.level?r[Math.min(t.level(),o-1)](t):r[o-1](t)}},_dataSource:function(){var e=this,t=e.options.dataSource;t&&(t=c(t)?{data:t}:t,e._unbindDataSource(),t.fields||(t.fields=[{field:"text"},{field:"url"},{field:"spriteCssClass"},{field:"imageUrl"},{field:"icon"},{field:"iconClass"}]),e.dataSource=h.create(t),e._bindDataSource())},_appendItems:function(t,n,o){var r,s,l=this;o.hasClass("k-panelbar")?(r=o.children("li"),s=o):((s=o.children(".k-panelbar-group")).length||(s=l._addGroupElement(o)),r=s.children("li"));var c={firstLevel:o.hasClass("k-panelbar"),expanded:!0,length:r.length},d=e.map(n,(function(t,n){if("string"==typeof t)return e(t);{let o=e(l.renderItem({group:c,item:a(t,{index:n})}));return i.applyStylesFromKendoAttributes(o,["display"]),o}}));void 0===t&&(t=r.length);for(var u=0;u<d.length;u++)0===r.length||0===t?s.append(d[u]):d[u].insertAfter(r[t-1]);l.dataItem(o)&&(l.dataItem(o).hasChildren=!0,l.updateArrow(o))},_updateItems:function(t,n){var i,r,s,l,c=this,d={panelBar:c.options,item:l,group:{}},u="expanded"!=n;if("selected"==n)if(t[0][n]){var h=c.findByUid(t[0].uid);h.hasClass(B)||c.select(h,!0)}else c.clearSelection();else{var p=e.map(t,(function(e){return c.findByUid(e.uid)}));for(i=0;i<t.length;i++)d.item=l=t[i],d.panelBar=c,r=(s=p[i]).parent(),u&&(d.group={firstLevel:r.hasClass("k-panelbar"),expanded:s.parent().hasClass(E),length:s.children().length},s.children(".k-link").remove(),s.prepend(c.templates.itemWrapper(a(d,{arrow:l.hasChildren||l.content||l.contentUrl?c.templates.arrow:c.templates.empty},Q)))),"expanded"==n?c._toggleItem(s,!l[n],!l[n]||"true"):"enabled"==n&&(c.enable(s,l[n]),l[n]||l.selected&&l.set("selected",!1)),s.length&&this.trigger("itemChange",{item:s.find(".k-link").first(),data:l,ns:o})}},_toggleDisabled:function(e,t){(e=this.element.find(e)).toggleClass(B,!t).attr(j,!t)},dataItem:function(t){var n=e(t).closest(b).attr(i.attr("uid")),o=this.dataSource;return o&&o.getByUid(n)},select:function(n,i){var o=this;return n===t?o.element.find(U).parent():((n=o.element.find(n)).length?n.each((function(){var t=e(this),n=t.children(g);if(t.hasClass(B))return o;o._updateSelected(n,i)})):this._updateSelected(n),o)},clearSelection:function(){this.select(e())},enable:function(e,t){return this._toggleDisabled(e,!1!==t),this},disable:function(e){return this._toggleDisabled(e,!1),this},append:function(e,t){t=this.element.find(t);var n=this._insert(e,t,t.length?t.find(A):null);return l(n.items,(function(){n.group.append(this),X(this)})),this.updateArrow(t),n.group.height("auto"),this},insertBefore:function(e,t){t=this.element.find(t);var n=this._insert(e,t,t.parent());return l(n.items,(function(){t.before(this),X(this)})),n.group.height("auto"),this},insertAfter:function(e,t){t=this.element.find(t);var n=this._insert(e,t,t.parent());return l(n.items,(function(){t.after(this),X(this)})),n.group.height("auto"),this},remove:function(e){var t=this,n=(e=this.element.find(e)).parentsUntil(t.element,b),i=e.parent("ul");return e.remove(),!i||i.hasClass("k-panelbar")||i.children(b).length||i.remove(),n.length&&(n=n.eq(0),t.updateArrow(n)),t},reload:function(t){var n=this;(t=n.element.find(t)).each((function(){var t=e(this);n._ajaxRequest(t,t.children("."+S),!t.is(G))}))},_first:function(){return this.element.children(L).first()},_last:function(){var e=this.element.children(L).last(),t=e.children(y);return t[0]?t.children(L).last():e},_current:function(n){var i=this,o=i._focused,r=i._itemId;if(n===t)return o;i.element.removeAttr("aria-activedescendant"),o&&o.length&&(o[0].id===r&&o.removeAttr("id"),o.children(g).removeClass(P)),e(n).length&&(r=n[0].id||r,n.attr("id",r).children(g).addClass(P),i.element.attr("aria-activedescendant",r)),i._focused=n},_keydown:function(e){var t=this,n=e.keyCode,i=t._current();e.target==e.currentTarget&&(n==r.DOWN||n==r.RIGHT?(t._current(t._nextItem(i)),e.preventDefault()):n==r.UP||n==r.LEFT?(t._current(t._prevItem(i)),e.preventDefault()):n==r.ENTER||n==r.SPACEBAR?(t._click(e),e.preventDefault()):n==r.HOME?(t._current(t._first()),e.preventDefault()):n==r.END&&(t._current(t._last()),e.preventDefault()))},_nextItem:function(e){if(!e)return this._first();var t=e.children(y),n=e.nextAll(":visible").first();return t[0]&&(n=t.children().first()),n[0]||(n=e.parent(y).parent(b).next()),n[0]||(n=this._first()),n},_prevItem:function(e){if(!e)return this._last();var t,n=e.prevAll(":visible").first();if(n[0])for(t=n;t[0];)(t=t.children(y).children().last())[0]&&(n=t);else(n=e.parent(y).parent(b))[0]||(n=this._last());return n},_insert:function(t,n,o){var r,s,l=this,c=e.isPlainObject(t),d=n&&n[0];if(d||(o=l.element),s={firstLevel:o.hasClass("k-panelbar"),expanded:e(n).hasClass(E),length:o.children().length},d&&!o.length&&(o=e(l.renderGroup({group:s,options:l.options})),i.applyStylesFromKendoAttributes(o,["display"]),o.appendTo(n)),c||Array.isArray(t)||t instanceof h){if(t instanceof h&&(t=t.data()),r=e.map(c?[t]:t,(function(t,n){if("string"==typeof t)return e(t);{let o=e(l.renderItem({group:s,item:a(t,{index:n})}));return i.applyStylesFromKendoAttributes(o,["display"]),o}})),d){var u=l.dataItem(n);u?(u.hasChildren=!0,n.attr(W,u.expanded).not("."+E).children("ul").attr($,!u.expanded)):n.attr(W,!1)}}else r="string"==typeof t&&"<"!=t.charAt(0)?l.element.find(t):e(t),l._updateItemsClasses(r);return t.length||(t=[t]),{items:r,group:o}},_toggleHover:function(t){var n=e(t.currentTarget);n.parents("li."+B).length||n.toggleClass("k-hover",t.type==H)},_updateClasses:function(){var t,n,i,o,r,a=this;o=(t=a.element.find("li > ul").not((function(){return e(this).parentsUntil(".k-panelbar","div").length})).addClass("k-panelbar-group").attr("role","group")).parent(),i=(r=a.dataItem(o))&&r.expanded||!1,t.parent().not("["+W+"]").attr(W,i).not("."+E).children("ul").attr($,!i).hide(),n=a.element.add(t).children(),a._updateItemsClasses(n),a.updateArrow(n)},_updateItemsClasses:function(e){for(var t=e.length,n=0;n<t;n++)this._updateItemClasses(e[n],n)},_updateItemClasses:function(t,n){var o,r,a=this._selected,s=this.options.contentUrls,l=s&&s[n],c=this.element[0];t=e(t).addClass("k-panelbar-item").attr({role:"treeitem","aria-selected":!1}),i.support.browser.msie&&t.css("list-style-position","inside").css("list-style-position",""),t.children("img").addClass(w),(r=t.children("a").addClass(v))[0]&&(r.attr("href",l),r.children("img").addClass(w)),t.filter("li[disabled]").addClass("k-disabled").attr(j,!0).prop("disabled",!1),t.children("div").addClass(S+" k-panelbar-content").attr($,!0).hide().parent().attr(W,!1),(r=t.children(O))[0]&&(a&&a.attr(q,!1).children(O).removeClass(F),r.addClass(F),this._selected=t.attr(q,!0)),t.children(g)[0]||(o="<span class='"+v+"'><span class='k-panelbar-item-text'></span></span>",s&&s[n]&&t[0].parentNode==c&&(o='<a class="k-link" href="'+s[n]+'"></a>'),t.contents().filter((function(){return!(this.nodeName.match(p)||3==this.nodeType&&!i.trim(this.nodeValue.trim))})).wrapAll(o)),t.parent(".k-panelbar")[0]?t.addClass("k-panelbar-header"):t.addClass("k-panelbar-item"),/k\-level\-\d+/i.test(t.attr("class"))||t.addClass("k-level-"+t.parentsUntil(this.element,"ul").length)},_click:function(t){var n,i,o,r=this,a=t.type==z?e(t.target):r._current().children(g),s=r.element;if(!a.parents("li."+B).length&&a.closest(".k-panelbar")[0]==s[0]&&(!a.is(":kendoFocusable")||a.hasClass(v))){var l=a.closest(g),c=l.closest(b);r._updateSelected(l);var d=c.children(".k-panelbar-group,.k-panelbar-content"),u=this.dataItem(c);if(!d.length&&(r.options.loadOnDemand&&u&&u.hasChildren||this._hasChildItems(c)||c.content||c.contentUrl)&&(d=r._addGroupElement(c)),i=c.find(A).add(c.find(V)),n=!(!((o=l.attr(m))&&("#"==o.charAt(o.length-1)||-1!=o.indexOf("#"+r.element[0].id+"-")))&&!i.length),i.data("animating")&&n)t.preventDefault();else if(r._triggerEvent(C,c)&&(n=!0),!1!==n)if(r.options.expandMode==K&&r._collapseAllExpanded(c)&&n)t.preventDefault();else{if(i.length){var h=i.is(G);r._triggerEvent(h?M:x,c)||(n=r._toggleItem(c,h))}n&&t.preventDefault()}}},_hasChildItems:function(e){return e.items&&e.items.length>0||e.hasChildren},_toggleItem:function(e,n,i){var o,r,a=this,s=e.find(A),l=e.find(g).attr(m),c=a.dataItem(e),d=!n,u=c&&c.loaded();return c&&!i&&c.expanded!==d?(c.set("expanded",d),o=c.hasChildren||!!c.content||!!c.contentUrl):(!c||i&&"true"!==i||u||c.content||c.contentUrl?s.length?(this._toggleGroup(s,n),o=!0):(r=e.children("."+S)).length&&(o=!0,r.is(":empty")&&l!==t?a._ajaxRequest(e,r,n):a._toggleGroup(r,n)):(a.options.loadOnDemand&&this._progress(e,!0),e.children(".k-panelbar-group,.k-panelbar-content").remove(),o=c.hasChildren,c.load()),o)},_toggleGroup:function(t,n){var o=this,r=o.options.animation,s=r.expand,l=r.collapse&&"effects"in r.collapse,c=a({},r.expand,r.collapse);t.hasClass("k-hidden")&&t.removeClass("k-hidden"),l||(c=a(c,{reverse:!0})),t.is(G)==n?(t.attr($,!!n),t.parent().attr(W,!n).toggleClass(E,!n).find("> .k-link > .k-panelbar-collapse,> .k-link > .k-panelbar-expand").each((function(t,o){let r=e(o);r.removeClass("k-panelbar-expand k-panelbar-collapse"),i.ui.icon(r,{icon:n?"chevron-down":"chevron-up",iconClass:n?"k-panelbar-expand":"k-panelbar-collapse"})})),n?(s=a(c,{hide:!0})).complete=function(){o._animationCallback()}:s=a({complete:function(e){o._triggerEvent(T,e.closest(b)),o._animationCallback()}},s),t.toggle(0).kendoStop(!0,!0).kendoAnimate(s)):o._animating=!1},_animationCallback:function(){this.trigger("complete"),this._animating=!1},_addGroupElement:function(t){var n=e('<ul role="group" aria-hidden="true" class="k-panelbar-group"></ul>').hide();return t.append(n),n},_collapseAllExpanded:function(t){var n,i=this,o=!1,r=t.find(A).add(t.find(V));return r.is(G)&&(o=!0),r.is(G)||0===r.length||((n=t.siblings()).find(A).add(n.find(V)).filter((function(){return e(this).is(G)})).each((function(t,n){n=e(n),(o=i._triggerEvent(M,n.closest(b)))||i._toggleGroup(n,!0)})),i.one("complete",(function(){setTimeout((function(){for(let e=0;e<n.length;e++){let t=i.dataItem(n.eq(e));t&&t.set("expanded",!1)}}))}))),o},_ajaxRequest:function(t,n,o){var r=this,a=t.find(".k-panelbar-collapse, .k-panelbar-expand"),s=t.find(g),l=setTimeout((function(){a.empty().removeClass("k-i-chevron-up k-i-chevron-down k-svg-i-chevron-up k-svg-i-chevron-down").addClass("k-i-loading")}),100),c=s.attr(m);e.ajax({type:"GET",cache:!1,url:c,dataType:"html",data:{},error:function(e,t){a.removeClass("k-i-loading"),i.ui.icon(a,{icon:a.hasClass("k-panelbar-expand")?"chevron-down":"chevron-up"}),r.trigger(_,{xhr:e,status:t})&&this.complete()},complete:function(){clearTimeout(l),i.ui.icon(a,{icon:a.hasClass("k-panelbar-expand")?"chevron-down":"chevron-up"}),a.removeClass("k-i-loading")},success:function(e){try{n.html(e)}catch(e){var i=window.console;i&&i.error&&i.error(e.name+": "+e.message+" in "+c),this.error(this.xhr,"error")}r._toggleGroup(n,o),r.trigger(D,{item:t[0],contentElement:n[0]})}})},_triggerEvent:function(e,t){return this.trigger(e,{item:t[0]})},_updateSelected:function(e,t){var n=this,i=n.element,o=e.parent(b),r=n._selected,a=n.dataItem(o);0!=n.options.selectable?(r&&r.attr(q,!1),n._selected=o.attr(q,!0),i.find(U).removeClass(F),e.addClass(F),n._current(o[0]?o:null),a&&a.set("selected",!0),t||n.trigger(k)):n._current(o[0]?o:null)},_animations:function(e){e&&"animation"in e&&!e.animation&&(e.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}})},renderItem:function(e){var t=this;e=a({panelBar:t,group:{}},e);var n=t.templates.empty,i=e.item;return t.templates.item(a(e,{itemWrapper:t.templates.itemWrapper,renderContent:t.renderContent,arrow:t._hasChildItems(i)||i.content||i.contentUrl?t.templates.arrow:n,subGroup:!e.loadOnDemand||i.expanded?t.renderGroup:n},Q))},renderGroup:function(e){return(this&&this.templates||e.panelBar.templates).group(a({renderItems:function(e){let t="",n=0,i=e.items,o=i?i.length:0,r=a({length:o},e.group);for(;n<o;n++)t+=e.panelBar.renderItem(a(e,{group:r,item:a({index:n},i[n])}));return t}},e,Q))},renderContent:function(e){return e.panelBar.templates.content(a(e,Q))}});i.ui.plugin(Z)}(window.kendo.jQuery);kendo;!function(e){let t=kendo.ui.Widget;const n="assistant",i="user",o="k-disabled",r=kendo.isFunction;let a=kendo.ui.AIPromptBaseView=t.extend({init:function(e,n){let i=this;t.fn.init.call(i,e,n),i.aiprompt=e.getKendoAIPrompt(),i.contentElement=i.options.contentElement,i.footerElement=i.options.footerElement,i.buttonText=i.options.buttonText,i.buttonIcon=i.options.buttonIcon,i.service=i.options.service},options:{name:"AIPromptBaseView",buttonText:"",buttonIcon:""},render:function(){this._renderContent(),this._renderFooter()},_renderContentElement:function(){let t=this,n=e("<div></div>").addClass("k-prompt-content");return t.contentElement=n,t.element.append(n),t.contentElement},_renderFooterElement:function(){let t=this,n=e("<div></div>").addClass("k-prompt-footer");return t.footerElement=n,t.element.append(n),t.footerElement},_ajaxRequest:function(t,n,i){let o=this,r=o.service,a=o._getAjaxData(t,n,i);const s={url:"string"==typeof r?r:r.url,type:"POST",contentType:"application/json",data:JSON.stringify(a),success:e=>o._ajaxSuccessHandler(e,n,t)};return r?.headers&&(s.headers=r.headers),kendo.ui.progress(o.contentElement,!0),e.ajax(s)},_ajaxSuccessHandler:function(e,t,n){const i=this,r=i.service?.outputGetter||i._getResponseMessageText,a={id:kendo.guid(),output:r(e),prompt:n,isRetry:t,activeView:1};if(i.aiprompt.trigger("promptResponse",{output:a}),i.aiprompt.addPromptOutput(a),i.aiprompt.activeView(a.activeView),!t){i.footerElement.find("button[ref-generate-output-button]").removeClass(o)}kendo.ui.progress(i.contentElement,!1)},_getResponseMessageText:function(e){return e?.Message?.Text||"An error occurred while processing the request."},_getAjaxData:function(t,n,o){const a=this.service;let s=[{role:{value:i},text:t}];if(o?.length&&(s=o.concat(s)),"string"==typeof a)return s;if(kendo.isPresent(a.data)&&Object.keys(a.data).length)return a.data.messages=s,a.data;if(r(a?.data))return a.data(t,n,o);if(e.isPlainObject(a)&&kendo.isPresent(a.url))return s;throw new Error("Invalid AIPrompt service configuration.")},destroy:function(){let e=this;t.fn.destroy.call(e),e.contentElement&&(e.contentElement.off(),kendo.destroy(e.contentElement),e.contentElement.remove()),e.footerElement&&(e.footerElement.off(),kendo.destroy(e.footerElement),e.footerElement.remove())}}),s=({suggestions:e,promptSuggestionItemTemplate:t,messages:n})=>`<div class="k-prompt-view">\n <textarea ref-prompt-input></textarea>\n ${e?.length?`<div class="k-prompt-expander">\n <button ref-prompt-suggestions-button aria-expanded="true">${n.promptSuggestions}</button>\n <div class="k-prompt-expander-content" role="list">\n ${e.map((e=>t({suggestion:e}))).join("")}\n </div>\n </div>`:""}\n </div>`,l=({messages:e})=>`<div class="k-actions k-actions-start k-actions-horizontal k-prompt-actions">\n <button ref-generate-output-button>${e.generateOutput}</button>\n </div>`,c=({suggestion:e})=>`<div role="listitem" class="k-prompt-suggestion">${e}</div>`;kendo.ui.AIPromptPromptView=a.extend({init:function(e,t){let n=this;a.fn.init.call(n,e,t),n.promptSuggestions=n.options.promptSuggestions,n.promptSuggestionItemTemplate=kendo.template(n.options.promptSuggestionItemTemplate||c)},options:{name:"AIPromptPromptView",buttonIcon:"sparkles"},_renderContent:function(){let e=this,t=e.promptSuggestions,n=e.promptSuggestionItemTemplate,i=kendo.template(e.options.viewTemplate||s)({suggestions:t,promptSuggestionItemTemplate:n,messages:e.options.messages});e._renderContentElement(),e.contentElement.append(i)},_renderFooter:function(){let e=this,t=kendo.template(e.options.footerTemplate||l)({messages:e.options.messages});e._renderFooterElement(),e.footerElement.append(t)},setTextAreaValue:function(e){this.contentElement.find("textarea[ref-prompt-input]").getKendoTextArea().value(e)},_focusSuggestion(e){e&&e.length&&(this.contentElement.find(".k-prompt-suggestion[tabindex=0]").attr("tabindex","-1"),e.attr("tabindex","0").trigger("focus"))},initializeComponents:function(){let t=this,n=t.promptSuggestions;const i=t.footerElement.find("button[ref-generate-output-button]");if(t.contentElement.find("textarea[ref-prompt-input]").kendoTextArea({resize:"vertical",placeholder:t.options.messages.promptPlaceholder}),i.kendoButton({icon:"sparkles",themeColor:"primary",rounded:"full",click:function(e){const n=t.contentElement.find("textarea[ref-prompt-input]").getKendoTextArea().value(),r={prompt:n,isRetry:!1,history:[]};t.aiprompt.trigger("promptRequest",r),i.addClass(o),t.service&&t._ajaxRequest(n,!1,r.history)}}),n?.length){t.contentElement.find(".k-prompt-suggestion").first().attr("tabindex","0");let n=kendo.guid(),i=t.contentElement.find(".k-prompt-expander button[ref-prompt-suggestions-button]");t.contentElement.find(".k-prompt-expander button[ref-prompt-suggestions-button]").attr("aria-controls",n),i.next(".k-prompt-expander-content").attr("id",n),t.contentElement.find(".k-prompt-expander button[ref-prompt-suggestions-button]").kendoButton({icon:"chevron-up",fillMode:"flat",click:function(t){let n=e(t.target).closest(".k-prompt-expander").find(".k-prompt-expander-content"),i=t.sender.element.find(".k-icon");kendo.ui.icon(i,n.is(":visible")?"chevron-down":"chevron-up"),n.toggle(),t.sender.element.attr("aria-expanded",n.is(":visible"))}}),t.contentElement.on("click",".k-prompt-suggestion",(function(n){t.setTextAreaValue(e(n.target).text())})),t.contentElement.on("keydown",".k-prompt-suggestion",(function(n){if(40===n.keyCode||38===n.keyCode||36===n.keyCode||35===n.keyCode||13===n.keyCode||32===n.keyCode){n.preventDefault();let i,o,r=e(n.target),a=r.siblings();40===n.keyCode&&(i=r.next(),t._focusSuggestion(i)),38===n.keyCode&&(o=r.prev(),t._focusSuggestion(o)),36===n.keyCode&&(o=a.first(),t._focusSuggestion(o)),35===n.keyCode&&(i=a.last(),t._focusSuggestion(i)),13!==n.keyCode&&32!==n.keyCode||t.setTextAreaValue(e(n.target).text())}}))}},render:function(){let e=this;e._renderContent(),e._renderFooter(),e.initializeComponents()}});let d=({output:e,showOutputRating:t,messages:n})=>`\n <div role="listitem" tabindex="0" class="k-card" data-id="${e.id}" >\n <div class="k-card-header">\n <div class="k-card-title">${n.outputTitle}</div>\n <div class="k-card-subtitle">${e.prompt}</div>\n </div>\n <div class="k-card-body">\n <p class="k-white-space-pre-line">${e.output}</p>\n </div>\n <div class="k-actions k-actions-start k-actions-horizontal k-card-actions">\n <button ref-copy-button>${n.copyOutput}</button>\n <button ref-retry-button>${n.retryGeneration}</button>\n\n <span class="k-spacer"></span>\n ${t?`\n <button ref-rate-positive title=${n.ratePositive?n.ratePositive:"Helpful"}>${n.ratePositive}</button>\n <button ref-rate-negative title=${n.rateNegative?n.rateNegative:"Unhelpful"}>${n.rateNegative}</button>\n `:""}\n </div>\n </div>`,u=({promptOutputs:e,showOutputRating:t,messages:n})=>`<div class="k-prompt-view"><div role="list" class="k-card-list">\n ${e?e.map((e=>d({output:e,showOutputRating:t,messages:n}))).join(""):""}\n </div></div>`;kendo.ui.AIPromptOutputView=a.extend({init:function(e,t){let n=this;a.fn.init.call(n,e,t),n.promptOutputs=(n.options.promptOutputs||[]).map((e=>(e.id=e.id||kendo.guid(),e))),n.showOutputRating=n.options.showOutputRating},options:{name:"AIPromptOutputView",buttonIcon:"comment",promptOutputs:[]},addPromptOutput:function(e){e.id=e.id||kendo.guid(),this.promptOutputs.unshift(e),this.renderPromptOutput(e)},renderPromptOutput:function(t){let n=this,i=n.options.showOutputRating,o=n.options.messages,r=e(kendo.template(d)({output:t,showOutputRating:i,messages:o}));n.outputsContainer.append(r),n.initializeComponents(r)},_renderContent:function(){let t=this,n=t.promptOutputs,i=t.options.showOutputRating,o=t.options.messages,r=kendo.template(t.viewTemplate||u)({promptOutputs:n,showOutputRating:i,messages:o});t.outputsContainer=e(r),t._renderContentElement(),t.contentElement.append(t.outputsContainer)},_getOutputFromElement:function(t){let n=e(t).closest(".k-card").data("id");return this.promptOutputs.find((e=>e.id===n))},initializeComponents:function(e){let t=this;(e=e||t.contentElement).find("[ref-copy-button]").kendoButton({icon:"copy",fillMode:"flat",themeColor:"primary",click:function(e){let n=t._getOutputFromElement(e.target);t.aiprompt.trigger("outputCopy",{output:n,prompt:n.prompt})||navigator.clipboard&&"function"==typeof navigator.clipboard.writeText&&navigator.clipboard.writeText(n.output)}}),e.find("[ref-retry-button]").kendoButton({icon:"arrow-rotate-cw",fillMode:"flat",click:function(e){let i=t._getOutputFromElement(e.target);const o={role:{value:n},text:i.output},r={prompt:i.prompt,output:i,isRetry:!0,history:[o]};t.aiprompt.trigger("promptRequest",r),t.service&&t._ajaxRequest(i.prompt,!0,r.history)}}),t.options.showOutputRating&&(e.find("[ref-rate-positive]").kendoButton({icon:"thumb-up-outline",fillMode:"flat",click:function(e){let n=t._getOutputFromElement(e.target);t.aiprompt.trigger("outputRatingChange",{rateType:"positive",output:n}),kendo.ui.icon(e.sender.element.find(".k-icon"),"thumb-up"),kendo.ui.icon(e.target.next("[ref-rate-negative]").find(".k-icon"),"thumb-down-outline")}}),e.find("[ref-rate-negative]").kendoButton({icon:"thumb-down-outline",fillMode:"flat",click:function(e){let n=t._getOutputFromElement(e.target);t.aiprompt.trigger("outputRatingChange",{rateType:"negative",output:n}),kendo.ui.icon(e.sender.element.find(".k-icon"),"thumb-down"),kendo.ui.icon(e.target.prev("[ref-rate-positive]").find(".k-icon"),"thumb-up-outline")}}))},render:function(){let t=this;t._renderContent(),t.initializeComponents(),t.contentElement.on("keydown",".k-card",(function(n){let i=e(n.target);40!==n.keyCode&&38!==n.keyCode&&36!==n.keyCode&&35!==n.keyCode||(n.preventDefault(),40===n.keyCode&&i.next(".k-card").trigger("focus"),38===n.keyCode&&i.prev(".k-card").trigger("focus"),36===n.keyCode&&t.contentElement.find(".k-card").first().trigger("focus"),35===n.keyCode&&t.contentElement.find(".k-card").last().trigger("focus"))}))}}),kendo.ui.AIPromptCommandsView=a.extend({options:{name:"AIPromptCommandsView",buttonText:"",buttonIcon:"more-horizontal",promptCommands:[]},initializeComponents:function(){let t=this,n=t.options.promptCommands,i=e("<div></div>").kendoPanelBar({animation:!1,dataSource:n,selectable:!1,select:function(n){let i=e(n.item),o=this.dataItem(i);o.hasChildren||t.aiprompt.trigger("commandExecute",{sender:t.aiprompt,item:o})}});const o=e("<div class='k-prompt-view'>");o.append(i),t.contentElement.append(o)},render:function(){this._renderContentElement(),this.initializeComponents()}});let h=()=>"";kendo.ui.AIPromptCustomView=a.extend({options:{name:"AIPromptCustomView",buttonText:"",buttonIcon:"",viewTemplate:h,footerTemplate:h},initializeComponents:function(){let e=this;"function"==typeof e.options.initializeComponents&&e.options.initializeComponents.call(e)},_renderContent:function(){let e=this,t=kendo.template(e.options.viewTemplate)({aiprompt:e});e._renderContentElement(),e.contentElement.append(t)},_renderFooter:function(){let e=this;if(e.options.footerTemplate===h)return;let t=kendo.template(e.options.footerTemplate)({messages:e.options.messages});e._renderFooterElement(),e.footerElement.append(t)},render:function(){let e=this;e._renderContent(),e._renderFooter(),e.initializeComponents()}})}(window.kendo.jQuery);kendo;!function(e){let t=window.kendo,n=t.ui.Widget,i=t.ui,o=e.extend,r="focus",a="k-prompt",s={prompt:{type:"kendo.ui.AIPromptPromptView",name:"prompt",buttonIcon:"sparkles"},output:{type:"kendo.ui.AIPromptOutputView",name:"output",buttonIcon:"comment"},commands:{type:"kendo.ui.AIPromptCommandsView",name:"commands",buttonIcon:"more-horizontal"},custom:{type:"kendo.ui.AIPromptCustomView",name:"custom"}},l=n.extend({init:function(e,i){let o=this;i=i||{},n.fn.init.call(o,e,i),0==o.options.views.length&&(o.options.views=["prompt","output"],this.options.promptCommands&&this.options.promptCommands.length&&this.options.views.push("commands")),o.promptOutputs=o.options.promptOutputs||[],o._initLayout(),o._initViews(),o._initToolbar(),o.activeView(o.options.activeView),t.notify(o)},options:{name:"AIPrompt",enabled:!0,toolbarItems:[],promptOutputs:[],activeView:0,views:[],popup:null,messages:{promptView:"Ask AI",outputView:"Output",commandsView:"",customView:"Custom View",promptPlaceholder:"Ask or generate content with AI",promptSuggestions:"Prompt Suggestions",generateOutput:"Generate",outputTitle:"Generated with AI",outputRetryTitle:"Generated with AI",copyOutput:"Copy",retryGeneration:"Retry",ratePositive:"",rateNegative:""},showOutputRating:!0,service:null},events:["commandExecute","promptRequest","promptResponse","outputRatingChange","outputCopy"],_initializeView:function(e){let n,i=this.views[e];if(i){let e=i.type;if("string"==typeof e&&(e=t.getter(i.type)(window)),!e)throw new Error("There is no such view");n=new e(this.element,o(!0,{promptSuggestions:this.options.promptSuggestions,promptCommands:this.options.promptCommands,promptOutputs:this.promptOutputs,showOutputRating:this.options.showOutputRating,messages:this.options.messages,promptSuggestionItemTemplate:this.options.promptSuggestionItemTemplate,service:this.options.service},i))}return n},_unbindView:function(e){e&&e.destroy()},_initViews:function(){let e=this,t=e.options.views;e.views={},e.viewsArray=[];for(let n=0,i=t.length;n<i;n++){let i=t[n],o="object"==typeof i,r=i;o&&(r="string"!=typeof i.type?i.name:i.type);let a=s[r];a&&(o&&(i.type=a.type),a.buttonText=e.options.messages[`${r}View`]),i=Object.assign({title:i.title,name:r,index:n},a,o?i:{}),e.viewsArray.push(i),r&&(e.views[r]=i)}},getViews:function(){return this.viewsArray},activeView:function(t){let n=this;if(void 0===t)return n._activeViewIndex;if(Number.isInteger(t)&&(t=n.viewsArray[t].name),t&&n.views[t]){n._selectedView&&n._unbindView(n._selectedView),n._selectedView=n._initializeView(t),n._activeViewIndex=n.viewsArray.findIndex((e=>e.name===t)),n._selectedView.render(),n._updateToolbarState(n._activeViewIndex);let i=e(n.toolbar._getAllItems()[n._activeViewIndex]);n.toolbar._resetTabIndex(i),i.trigger(r)}},addPromptOutput:function(e){if(e.id=e.id||t.guid(),this.promptOutputs.unshift(e),"function"==typeof this._selectedView.renderPromptOutput)return this._selectedView.renderPromptOutput(e)},_updateToolbarState:function(t){let n=this.toolbar;n.element.find(".k-toolbar-toggle-button").each((function(i,o){n.toggle(e(o),i==t)}))},_initLayout:function(){let t=this,n=e("<div></div>").addClass("k-prompt-header");t.header=n,t.element.addClass(a),t.element.append(n);const i=t.element.closest(".k-popup");i.length&&e(i).addClass("k-prompt-popup")},_getViewTools:function(){let e=this;return e.viewsArray.map((t=>("commands"===t.name&&(t.buttonText?t.title=t.buttonText:t.title="More Actions"),{type:"button",text:t.buttonText,icon:t.buttonIcon,fillMode:"flat",themeColor:"primary",rounded:"full",togglable:!0,attributes:{title:t.title},toggle:function(){e.activeView(t.name)}})))},_initToolbar:function(){let t=this,n=t.options.toolbarItems;n=Array.isArray(n)?n:[n];const i=n.find((e=>"x"===e.icon));i&&(i.themeColor="base");let o=e("<div></div>").kendoToolBar({resizable:!1,fillMode:"flat",items:t._getViewTools().concat(n)}).appendTo(t.header);t.toolbar=o.data("kendoToolBar")},focus:function(){this.element.trigger(r)},destroy:function(){let e=this;e.toolbar?.destroy(),e._selectedView?.destroy(),e.element.off(".kendoAIPrompt"),n.fn.destroy.call(e)}});i.plugin(l)}(window.kendo.jQuery);kendo;const g=window.kendo,_=g.jQuery,b=g.ui.Widget,y=g.isFunction;var w=b.extend({options:{name:"Label",widget:null},init:function(e,t){var n=this;e=e||_("<label></label>"),b.fn.init.call(n,e,t),t=_.extend(!0,{},t),n.widget=t.widget,t.floating&&n._floatingLabel(),n._label()},destroy:function(){this.floatingLabel&&this.floatingLabel.destroy(),b.fn.destroy.call(this)},_unwrapFloating:function(){var e=this;e.floatingLabel&&(e.floatingLabel.destroy(),e.widget.wrapper.unwrap(e._floatingLabelContainer))},setOptions:function(e){var t=this,n=!1;("string"==typeof e||_.isPlainObject(e)&&!1===e.floating)&&(n=!0),e=_.isPlainObject(e)?e:{content:e},b.fn.setOptions.call(t,e),n&&t.floatingLabel?(t._unwrapFloating(),t.floatingLabel.destroy(),delete t.floatingLabel):!0!==e.floating||t.floatingLabel||(t.element.remove(),t._floatingLabel()),t._label()},_label:function(){var e=this,t=e.widget.element,n=e.options,i=t.attr("id"),o=n.content,r=n.floating||!1;y(o)&&(o=o.call(e)),o||(o=""),i||(i=n.name+"_"+g.guid(),t.attr("id",i)),e.element.addClass(r?"k-floating-label":"k-label k-input-label").attr("for",i).text(o)[r?"insertAfter":"insertBefore"](e.options.beforeElm||e.widget.wrapper),e.floatingLabel&&e.floatingLabel.refresh()},_floatingLabel:function(){var e=this,t=_.extend({},e.options);delete t.name,(t.floating||!1)&&(e._floatingLabelContainer=e.widget.wrapper.wrap("<span></span>").parent(),e.floatingLabel=new g.ui.FloatingLabel(e._floatingLabelContainer,_.extend({},t)))}});g.ui.plugin(w);!function(e){var t=window.kendo,n=t.htmlEncode,i=t.ui.Widget,o=t.ui,r=".kendoActionSheet",a=o.Popup,s=t.keys,l=t.isFunction,c=a.TabKeyTrap,d=e(document.documentElement),u="open",h="close",p="activate",f="deactivate",m=":kendoFocusable:not([tabindex='-1'])",v="k-actionsheet-bottom",g="k-actionsheet-fullscreen",_=`.k-actionsheet-item:not(.${b}),.k-actions .k-button[ref-actionsheet-action-button]:not(.${b})`,b="k-disabled",y="aria-disabled",w="k-hidden",k=t.guid(),x=e.extend,C=t.template,z=/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,S=e=>'<div class="k-text-center k-actionsheet-titlebar" >'+(e.title?`<div class="k-actionsheet-titlebar-group k-hbox"><div id="${k}" class="k-actionsheet-title"><div class="k-text-center">${e.title}</div>`+(e.subtitle?`<div class="k-actionsheet-subtitle k-text-center">${e.subtitle||""}</div>`:"")+"</div>"+(e.closeButton?'<div class="k-actionsheet-actions">'+t.html.renderButton(`<button ${t.attr("ref-actionsheet-close-button")}></button>`,{icon:"x",fillMode:"flat",size:"large"})+"</div>":"")+"</div>":"")+"</div>",T=({disabled:e,icon:t,text:i,description:o})=>`<span role="button" tabindex="0" class="k-actionsheet-item ${e?b:""}"><span class="k-actionsheet-action">`+(t?`<span class="k-icon-wrap">${t}</span>`:"")+'<span class="k-actionsheet-item-text">'+`<span class="k-actionsheet-item-title">${n(i)}</span>`+(o?'<span class="k-actionsheet-item-description">'+n(o)+"</span>":"")+"</span></span></span>",M={text:"",description:"",iconClass:"",iconSize:0,iconColor:"",click:e.noop,group:"top",disabled:!1},I={text:"",icon:"",iconClass:"",click:e.noop,disabled:!1};var H=i.extend({init:function(e,n){var o=this;n=n||{},i.fn.init.call(o,e,n),n.appendTo&&o.element.appendTo(n.appendTo),o._hasItems=n.items&&n.items.length,o._hasActionButtons=n.actionButtons&&n.actionButtons.length,o._mapItems(),o._mapActionButtons(),o._wrapper(),o._popup(),o._createContent(),o._createHeader(),o._createFooter(),o._applyAria(),o._tabKeyTrap=new c(o.wrapper),o.downEvent=t.applyEventMap("down",t.guid()),o.clickEvent=t.applyEventMap("click",t.guid()),o._mousedownProxy=o._mousedown.bind(o),o._clickProxy=o._click.bind(o),o.wrapper.on("keydown"+r,o,o._keydown.bind(o))},events:[u,h,p,f],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 e=this;e._hasItems&&(e.options.items=e.options.items.map(E))},_mapActionButtons:function(){var e=this;e._hasActionButtons&&(e.options.actionButtons=e.options.actionButtons.map(A))},_wrapper:function(){var t,n=this,i=n.element,o=1==n.options.fullscreen?g:v;i.addClass("k-actionsheet "+o+(n.options.adaptive?" k-adaptive-actionsheet":" k-actionsheet-jq")),n.wrapper=t=i.wrap("<div class='k-actionsheet-container "+w+"'></div>").parent(),t.prepend(e("<div></div>").addClass("k-overlay"))},_applyAria:function(){var e=this,t=e.element,n=e.wrapper.find(".k-actionsheet-title").attr("id");t.attr({role:"dialog","aria-modal":!0,"aria-labelledby":e.options.title?n:null})},_popup:function(){var e=this,n=e.options,i=!!n.adaptive&&{open:{effects:"slideIn:up",transition:!0,duration:200}};n.open=null,n.close=null,n.activate=null,n.deactivate=null,e.popup=new a(e.element,x(n.popup,n,{name:"Popup",isRtl:t.support.isRtl(n.anchor),omitOriginOffsets:!0,appendTo:e.wrapper,modal:!0,animation:i,position:"top center",anchor:n.anchor||e.wrapper})),n.focusOnActivate&&e.popup.bind(p,e._openHandler.bind(e)),e.popup.bind(p,(t=>{e.trigger(p,t)})),e.popup.bind(f,(t=>{e.wrapper.addClass(w),d.off(e.downEvent,e._mousedownProxy),d.off(e.clickEvent,e._clickProxy),e.trigger(f,t)})),e.popup.bind(u,(t=>{e.trigger(u,t)})),e.popup.bind(h,(t=>{var n=e._closeButtonPressed;e._closeButtonPressed=!1,e.trigger(h,x({},t,{closeButton:n}))}))},_createHeader:function(){var e=this.options;(e.title||e.headerTemplate)&&this.element.prepend(C(e.headerTemplate||S)(e))},_items:function(){var e=this;if(e._hasItems){var t=e.options.items.reduce(((e,t)=>{const n=t.group||"top";return e[n]=e[n]||[],e[n].push(t),e}),new Map),n=t.top,i=t.bottom;e._createItems(n),n&&n.length&&i&&i.length&&e._content.append('<hr class="k-hr" />'),e._createItems(i)}},_createContent:function(){var t=this,n=t.options;t.element.wrapInner(e("<div class='k-actionsheet-content'></div>"));var i=t._content=t.element.find(".k-actionsheet-content");if(t._hasItems)return i.empty(),void t._items();(n.contentTemplate||n.hideOverflowContent)&&i.addClass("!k-overflow-hidden"),n.contentTemplate&&i.html(C(n.contentTemplate)(n))},_createItems:function(n){var i,o,r,a,s,l,c,d,u=this._content,h=e("<div class='k-list-ul' role='group'></div>");if(n&&n.length)for(u.append(h),r=C(T),i=0;i<n.length;i++)o=n[i],c=void 0,d=void 0,d={},s=(l=o).iconClass||l.icon?(c=e(t.html.renderIcon({icon:l.icon,iconClass:l.iconClass+" k-actionsheet-item-icon"})),l.iconColor&&z.test(l.iconColor)?d.color=l.iconColor:l.iconColor&&c.addClass("k-text-"+l.iconColor),l.iconSize&&(d.fontSize=l.iconSize+"px"),Object.keys(d).length&&c.css(d),c):"",a=e(r(x({},o,{icon:s&&s.prop("outerHTML")}))),h.append(a),o.click&&a.data("action",o.click)},_createActionButtons:function(){for(var n,i=this.options.actionButtons,o=this._footer,r=0;r<i.length;r++){var a=i[r],s=!0!==a.disabled;n=e(t.html.renderButton(`<button ref-actionsheet-action-button>${a.text||""}</button>`,e.extend({size:"large"},a))),o.append(n),n.toggleClass(b,!s),n.attr("disabled",!s),s?n.removeAttr(y):n.attr(y,!s),a.click&&n.data("action",a.click)}},_createFooter:function(){var t,n=this,i=n.options;if(n._hasActionButtons||i.footerTemplate){if((t=n._footer=e("<div class='k-actionsheet-footer'></div>")).insertAfter(n._content),n._hasActionButtons)return t.addClass("k-actions k-actions-stretched k-actions-horizontal"),void n._createActionButtons();i.footerTemplate&&n._footer.append(C(i.footerTemplate)(i))}},destroy:function(){var e=this;e.close(),i.fn.destroy.call(e),e._content=null,e._footer=null,e._header=null,e.element.off(r),e.wrapper.off(r),e.popup.destroy()},open:function(e){var t=this;t.altTarget=e&&e.altTarget,t.wrapper.removeClass(w),t._elementHeight=t._elementHeight||t.element.outerHeight(),t.options.adaptive&&t.wrapper.width("100%"),t.popup.open("auto",0),t.popup.wrapper.find(">.k-child-animation-container").css({bottom:0,width:"100%"}),d.off(t.downEvent,t._mousedownProxy).on(t.downEvent,t._mousedownProxy),d.off(t.clickEvent,t._clickProxy).on(t.clickEvent,t._clickProxy),t._tabKeyTrap.trap()},visible:function(){return this.popup.visible()},toggle:function(){this.visible()?this.close():this.open()},fullscreen:function(e){var t=this;t.element.toggleClass(g,!0===e),t.element.toggleClass(v,!0!==e),t.element.closest(".k-child-animation-container").css({height:e?"100%":"auto"})},close:function(){this.popup.close()},position:e.noop,_focusFirstFocusableElement:function(){var e=this.element.find(m).first();e.length&&e.trigger("focus")},_focusLastFocusableElement:function(){var e=this.element.find(m).last();e.length&&e.trigger("focus")},_openHandler:function(){var e=this;if(e._hasItems){var t=e._content.find(".k-actionsheet-item")[0];t&&t.focus()}else e._focusFirstFocusableElement()},_isActionableButton:function(t){return e(t).closest(_).length>0},_triggerAction:function(t){var n=e(t.target).closest(_).data("action");l(n)&&n(t),t.isDefaultPrevented()||this.close()},_keydown:function(n){var i=this,o=t.keys,r=n.keyCode,a=e(n.target);if(r==o.ESC)n.stopPropagation(),i.close();else if(i._isActionableButton(a)&&D(n))i._triggerAction(n);else if(n.keyCode===t.keys.TAB){var s=this.wrapper.find(m),l=s.first(),c=s.last();n.shiftKey?document.activeElement===l[0]&&(c.trigger("focus"),n.preventDefault()):document.activeElement===c[0]&&(l.trigger("focus"),n.preventDefault())}},_click:function(e){var n=t.eventTarget(e);this._isActionableButton(n)&&this._triggerAction(e)},_mousedown:function(n){var i=this,o=i.element[0],r=t.eventTarget(n);i.altTarget&&i.altTarget.is(e(r))||(!function(t,n){return!(!t||!n)&&(t===n||e.contains(t,n))}(o,r)||e(r).closest(`[${t.attr("ref-actionsheet-close-button")}]`,e(o).find("k-actionsheet-titlebar")).length>0)&&(i._closeButtonPressed=!0,i.close())}});function D(e){return e.keyCode==s.ENTER||e.keyCode==s.SPACEBAR}function E(e){return x({},M,e)}function A(e){return x({},I,e)}o.plugin(H)}(window.kendo.jQuery);kendo;let k=kendo.jQuery;const x="k-loading",C="k-input-inner",z="aria-busy";function S(){const e=this,t=k("<span></span>").addClass("k-icon k-i-loading k-input-loading-icon").attr("role","presentation");e._loading=t,e._showBusy=I.bind(e),e._hideBusy=H.bind(e),e._toggleLoader=T.bind(e),e._showBusyHandler=M.bind(e)}function T(e){const t=this,n=t.wrapper.hasClass(x),i=t.wrapper.find(".k-input-values"),o="multiselect"===t.options.name.toLowerCase();if(t._loading)if(e&&!n)if(t.wrapper.addClass(x),t._suffixContainer){const e=t.wrapper.find(".k-input-separator");k(e[e.length-1]).before(t._loading)}else if(t._arrow)t._arrow.before(t._loading);else if(i.length>0&&o)t._loading.insertAfter(i);else{const e=t.element.hasClass(C)?t.element:t.wrapper.find(`.${C}`);t._loading.insertAfter(e)}else n&&(t.wrapper.removeClass(x),t._loading.remove())}function M(){const e=this;if(e._focused)e._focused.attr(z,!0);else{(e.element.hasClass(C)?e.element:e.wrapper.find(`.${C}`)).attr(z,!0)}e._toggleLoader(!0),e._hideClear()}function I(e){const t=this;e&&e.isDefaultPrevented()||(t._request=!0,t._busy||(t._busy=setTimeout(t._showBusyHandler,100)))}function H(){const e=this;if(clearTimeout(e._busy),e._toggleLoader(!1),e._busy=null,e._request&&(e._request=!1),e._focused)e._focused.attr(z,!1);else{(e.element.hasClass(C)?e.element:e.wrapper.find(`.${C}`)).attr(z,!0)}e._toggleCloseVisibility?e._toggleCloseVisibility():e._showClear()}!function(e,t){var n=window.kendo,i=n.ui,o=n._outerHeight,r=/^\d+(\.\d+)?%$/i,a=i.Widget,s=n.keys,l=n.support,c=n.htmlEncode,d=n._activeElement,u=n._outerWidth,h=n.data.ObservableArray,p="id",f="change",m="k-focus",v="k-hover",g="k-selected",_="k-list-ul",b=".k-list-group-sticky-header",y=".k-list-item",w="open",k="close",x="cascade",C="select",z="click",T="mouseenter",M="activate",I="deactivate",H="dataBinding",D="dataBound",E="selectedItemChange",A="selected",V="requestStart",P="requestEnd",B="focus",F=e.extend,O=Array.isArray,L=l.browser,R="k-hidden",N="width",U="text",j=L.msie,W=/"/g,$={ComboBox:["DropDownList","MultiColumnComboBox"],DropDownList:["ComboBox","MultiColumnComboBox"],MultiColumnComboBox:["ComboBox","DropDownList"]},q="aria-labelledby",G="aria-label",K="aria-activedescendant",Y="aria-expanded",Q="aria-hidden",X="aria-selected",Z=".k-table-group-row",J=n.ui.DataBoundWidget.extend({init:function(t,i){var o,r=this;a.fn.init.call(r,t,i),t=r.element,i=r.options,r._isSelect=t.is(C),r._isSelect&&r.element[0].length&&(i.dataSource||(i.dataTextField=i.dataTextField||U,i.dataValueField=i.dataValueField||"value")),"auto"===i.adaptiveMode&&(r.largeMQL=n.mediaQuery("large"),r.mediumMQL=n.mediaQuery("medium"),r.smallMQL=n.mediaQuery("small")),r._bindLoader(),r._listSize=n.cssProperties.getValidClass({widget:"List",propName:"size",value:i.size}),r._filterHeader(),r.ul=e('<ul unselectable="on"/>').attr({tabIndex:-1,"aria-hidden":!0}),r.list=e("<div class='k-list'/>").addClass(r._listSize).append(r.ul),(o=t.attr(p))||(o=n.guid()),r.list.attr(p,o+"-list"),r.ul.attr(p,o+"_listbox"),i.columns&&i.columns.length&&(r.list.removeClass("k-list").addClass("k-data-table"),r.list.removeClass(r._listSize).addClass("k-table-md"),r.ul.removeClass(_).addClass("k-table"),r._columnsHeader()),r._header(),r._noData(),r._footer(),r._accessors(),r._initValue()},options:{valuePrimitive:!1,footerTemplate:"",headerTemplate:"",noDataTemplate:!0,size:"medium",messages:{noData:"No data found.",clear:"clear"},adaptiveMode:"none"},setOptions:function(e){a.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()},_bindLoader:function(){const e=this;e._initLoader=S.bind(e),e._initLoader()},focus:function(){this._focused.trigger(B)},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,i=t.options,o=e.isPlainObject(i.label)?i.label:{content:i.label};t.label=new n.ui.Label(null,e.extend({},o,{widget:t,floatCheck:t._floatCheck.bind(t)})),t._inputLabel=t.label.element,t._refreshFloatingLabel()},_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,i=e(t.header),o=t.options.headerTemplate;if(n.destroy(i),i.remove(),o){var r="function"!=typeof o?n.template(o):o;i=e(r({})),t.header=i[0]?i:null,t.list.parent.length>0&&t.list.before(i)}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">'+n.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,i=this,o=e(i.columnsHeader);n.destroy(o),o.remove();for(var a="<div class='k-table-header'><div class='k-table-header-wrap'><table class='k-table' role='presentation'>",s="<colgroup>",l="<tr class='k-table-row'>",c=0;c<this.options.columns.length;c++){var d=this.options.columns[c],u=d.title||d.field||"",h=d.headerTemplate||(()=>u),p="function"!=typeof h?n.template(h):h,f=d.width,m=parseInt(f,10),v="";f&&!isNaN(m)&&(v+=`${n.attr("style-width")}="${m}${r.test(f)?"%":"px"}"`),s+="<col "+v+"/>",l+="<th class='k-table-th'>",l+=p(d),l+="</th>"}a+=s+="</colgroup>",a+="<thead class='k-table-thead'>",a+=l+="</tr>",t=e(a+="</thead></table></div></div>"),n.applyStylesFromKendoAttributes(t,["width"]),i.columnsHeader=o=t,i.list.prepend(o)},_noData:function(){var t=this,i=e(t.noData),o=!0===t.options.noDataTemplate?()=>c(t.options.messages.noData):t.options.noDataTemplate;n.destroy(i),i.remove(),o?(t.noData=e('<div class="k-no-data"></div>').hide().appendTo(t.list),t.noDataTemplate="function"!=typeof o?n.template(o):o):t.noData=null},_footer:function(){var t=this,i=e(t.footer),o=t.options.footerTemplate,r=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>';n.destroy(i),i.remove(),o?(t.footer=e(r).appendTo(t.list),t.footerTemplate="function"!=typeof o?n.template(o):o):t.footer=null},_listOptions:function(t){var i=this,o=i.options,r=o.virtual,a={change:i._listChange.bind(i)},s=i._listBound.bind(i),l=i._focused,d=i.element.attr("id"),u=e('label[for="'+i.element.attr("id")+'"]'),h=l.attr(q);return!h&&u.length&&(h=u.attr("id")||i._generateLabelId(u,d||n.guid())),r="object"==typeof r?r:{},(t=e.extend({autoBind:!1,selectable:!0,dataSource:i.dataSource,click:i._click.bind(i),activate:i._activateItem.bind(i),columns:o.columns,deactivate:i._deactivateItem.bind(i),dataBinding:function(){i.trigger(H)},dataBound:s,height:o.height,dataValueField:o.dataValueField,dataTextField:o.dataTextField,groupTemplate:o.groupTemplate,fixedGroupTemplate:o.fixedGroupTemplate,template:o.template,ariaLabel:l.attr(G),ariaLabelledBy:h,listSize:i._listSize},t,r,a)).template||(t.template=e=>c(n.getter(t.dataTextField)(e))),t},_initList:function(e){var t=this,i=e&&e.skipValueUpdate,o=t._listOptions({selectedItemChange:t._listChange.bind(t)});t.options.virtual?(t.listView=new n.ui.VirtualList(t.ul,Object.assign(o,{height:t._hasActionSheet()?362:t.options.height})),t.list.addClass("k-virtual-list")):t.listView=new n.ui.StaticList(t.ul,o),t.listView.bind("listBound",t._listBound.bind(t)),i||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(R)},_showClear:function(){this._clear&&this._clear.removeClass(R)},_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,n){var i=this,o=i.options,r=o.filterFields&&t&&t.logic&&t.filters&&t.filters.length,a=i.dataSource,s=F({},a.filter()||{}),l=t||s.filters&&s.filters.length&&!t,c=ae(s,o.dataTextField);if(this._clearFilterExpressions(s),(t||c)&&i.trigger("filtering",{filter:t}))return e.Deferred().reject().promise();var d={filters:[],logic:"and"};r?d.filters.push(t):this._pushFilterExpression(d,t),re(s)&&(d.logic===s.logic?d.filters=d.filters.concat(s.filters):d.filters.push(s)),i._cascading&&this.listView.setDSFilter(d);var u=F({},{page:l?1:a.page(),pageSize:l?a.options.pageSize:a.pageSize(),sort:a.sort(),filter:a.filter(),group:a.group(),aggregate:a.aggregate()},{filter:d});return a[n?"read":"query"](a._mergeState(u))},_pushFilterExpression:function(e,t){re(t)&&""!==t.value&&e.filters.push(t)},_clearFilterExpressions:function(e){if(e.filters){for(var t,n=0;n<e.filters.length;n++)"fromFilter"in e.filters[n]&&(t=n);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(b).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,n=t.dataSource.reader.model;n&&n.fields&&(e=n.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,n=this,i=n.options,o=e.word,r=i.filterFields,a=i.dataTextField;if(r&&r.length){t={logic:"or",filters:[],fromFilter:!0};for(var s=0;s<r.length;s++)this._pushFilterExpression(t,n._buildExpression(o,r[s]))}else t=n._buildExpression(o,a);n._open=e.open,n._filterSource(t)},_buildExpression:function(e,t){var n=this.options,i=n.ignoreCase,o=this.dataSource.options.accentFoldingFiltering;return{value:i?o?e.toLocaleLowerCase(o):e.toLowerCase():e,field:t,operator:n.filter,ignoreCase:i}},_clearButton:function(){var t=this,i=t.options.messages.clear;t._clear||(t._clear=e(`<span unselectable="on" class="k-clear-value" title="${i}">${n.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=!n.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;a.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(n){var i=this;if(n===t)return i.listView.selectedDataItems()[0];if("number"!=typeof n){if(i.options.virtual)return i.dataSource.getByUid(e(n).data("uid"));n=e(i.items()).index(n)}return i.dataSource.flatView()[n]},_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,i=e.options,o=n.getter,r=t.attr(n.attr("text-field")),a=t.attr(n.attr("value-field"));!i.dataTextField&&r&&(i.dataTextField=r),!i.dataValueField&&a&&(i.dataValueField=a),e._text=o(i.dataTextField),e._value=o(i.dataValueField)},_aria:function(e){var n,i=this,o=i.options,r=i._focused;o.suggest!==t&&(n="none"===o.filter?!0===o.suggest?"inline":"none":!0===o.suggest?"both":"list",r.attr("aria-autocomplete",n)),e=e?e+" "+i.ul[0].id:i.ul[0].id,r.attr({"aria-controls":e}),i.filterInput&&i.filterInput.length>0&&i.filterInput.attr("aria-controls",e),i.ul.attr("aria-live",i._isFilterEnabled()?"polite":"off"),i._ariaLabel(i._focused)},_blur:function(){var e=this;e._change(),e.close(),e._userTriggered=!1},_isValueChanged:function(e){return e!==ee(this._old,typeof e)},_change:function(){var e,n=this,i=n.selectedIndex,o=n.options.value,r=n.value();n._isSelect&&!n.listView.bound()&&o&&(r=o),n._isValueChanged(r)||n._valueBeforeCascade!==t&&n._isValueChanged(n._valueBeforeCascade)&&n._userTriggered?e=!0:i===t||i===n._oldIndex||n.listView.isFiltered()||n.options.virtual||(e=!0),e&&(null===n._old||""===n._old||""===r?n._valueBeforeCascade=n._old=r:n.dataItem()?n._valueBeforeCascade=n._old=n.options.dataValueField?n.dataItem()[n.options.dataValueField]:n.dataItem():n._valueBeforeCascade=n._old=null,n._oldIndex=i,n._typing||n.element.trigger(f),n.trigger(f)),n.typing=!1},_data:function(){return this.dataSource.view()},_enable:function(){var e=this,n=e.options,i=e.element.is("[disabled]");n.enable!==t&&(n.enabled=n.enable),!n.enabled||i?e.enable(!1):e.readonly(e.element.is("[readonly]"))},_dataValue:function(e){var n=this._value(e);return n===t&&(n=this._text(e)),n},_offsetHeight:function(){var t=0;return this.listView.content.parent().prevAll(":visible").each((function(){var n=e(this);t+=o(n,!0)})),t},_height:function(t){var n,i=this,r=i.list,a=i.options.height,s=i.popup.visible(),l=this.options.columns&&this.options.columns.length;if(t||i.options.noDataTemplate){if(n=r.parent().add(r.closest(".k-animation-container").add(r.closest(".k-child-animation-container"))).show(),!r.parent().is(":visible"))return void n.hide();a=i.listView.content[0].scrollHeight>a?a:"auto",n.height(a),"auto"!==a&&(a-=i._offsetHeight(),l&&(a=a-(o(e(i.footer))||0)-(o(e(i.columnsHeader))||0))),l?i.listView.content.outerHeight(a):i.listView.content.parent().outerHeight(a),s||r.parent().hide()}return a},_openHandler:function(e){var t;this._adjustListWidth(),this.trigger(w)?e.preventDefault():(this._focused.attr(Y,!0),this.ul.attr(Q,!1),(t=this.listView.focus())&&this._focused.add(this.filterInput).attr(K,t.attr("id")))},_adjustListWidth:function(){var e,t,n=this,i=n.list.parent(),o=i[0].style.width,r=n.wrapper;if(!(!i.data(N)&&o||n._hasActionSheet()))return e=window.getComputedStyle?window.getComputedStyle(r[0],null):0,t=parseFloat(e&&e.width)||u(r),e&&L.msie&&(t+=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth)),o="border-box"!==i.css("box-sizing")?t-(u(i)-i.width()):t,i.css({fontFamily:r.css("font-family"),width:n.options.autoWidth?"auto":o,minWidth:o,whiteSpace:n.options.autoWidth?"nowrap":"normal"}).data(N,o),!0},_closeHandler:function(e){e.closeButton&&this._onCloseButtonPressed(),this.trigger(k)?e.preventDefault():(this._focused.attr(Y,!1),this.ul.attr(Q,!0),this._focused.add(this.filterInput).removeAttr(K))},_focusItem:function(){var e=this.listView,n=!e.focus(),i=ie(e.select());i===t&&this.options.highlightFirst&&n&&(i=0),i!==t?e.focus(i):n&&e.scrollToIndex(0)},_calculateGroupPadding:function(e){var t=this.ul.children(".k-first").first(),i=this.listView.content.prev(b),o=0,r="right";i[0]&&"none"!==i[0].style.display&&("auto"!==e&&(o=n.support.scrollbar()),this.element.parents(".k-rtl").length&&(r="left"),o+=parseFloat(t.css("border-"+r+"-width"),10)+parseFloat(t.children(".k-list-item-group-label").css("padding-"+r),10),i.css("padding-"+r,o))},_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=l.isRtl(this.wrapper),i=n.support.scrollbar();this.columnsHeader.css(t?"padding-left":"padding-right","auto"!==e?i: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(M,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((()=>{e.popup&&e.popup.fullscreen||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;e.popup&&(e._cachedFilterValue=e.filterInput?e.filterInput.val():null,e.popup.destroy(),e.popup.wrapper&&e.popup.wrapper.remove(),e._removeFilterHeader(),e._removeStaticHeader()),e.popup=new i.Popup(e.list.parent().addClass("k-list-container"),F({},e.options.popup,{anchor:e.wrapper,open:e._openHandler.bind(e),close:e._closeHandler.bind(e),animation:e.options.animation,isRtl:l.isRtl(e.wrapper),autosize:e.options.autoWidth,autowidth:e.options.autoWidth,activate:()=>{this._refreshFloatingLabel()},deactivate:()=>{this._refreshFloatingLabel()}})),e._postCreatePopup()},_onActionSheetCreate:e.noop,_onCloseButtonPressed:e.noop,_createActionSheet:function(){var e=this;e.popup&&(e._cachedFilterValue=e.filterInput?e.filterInput.val():null,e.popup.destroy(),e.popup.wrapper&&e.popup.wrapper.remove(),e._removeFilterHeader(),e._removeStaticHeader(),e.list.add(e.list.parent()).css({width:"",height:"",minWidth:""})),e.popup=new i.ActionSheet(e.list.parent(),{headerTemplate:t=>'<div class="k-text-center k-actionsheet-titlebar" ><div class="k-actionsheet-titlebar-group k-hbox"><div class="k-actionsheet-title">'+(e.options.label?`<div class="k-text-center">${e.options.label}</div>`:"")+(e.options.placeholder?`<div class="k-actionsheet-subtitle k-text-center">${e.options.placeholder||""}</div>`:"")+"</div>"+(t.closeButton?'<div class="k-actionsheet-actions">'+n.html.renderButton(`<button tabindex="-1" ${n.attr("ref-actionsheet-close-button")}></button>`,{icon:"x",fillMode:"flat",size:"large"})+"</div>":"")+"</div></div>",open:e._openHandler.bind(e),close:e._closeHandler.bind(e),focusOnActivate:!1,adaptive:!0,appendTo:e.options.popup&&e.options.popup.appendTo||document.body,closeButton:!0,fullscreen:e.smallMQL.mediaQueryList.matches,activate:()=>{this._refreshFloatingLabel()},deactivate:()=>{this._refreshFloatingLabel()},popup:F({},e.options.popup,{autosize:e.options.autoWidth})}),e._postCreatePopup(),e._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.listView.content&&this.ul.unwrap(),t._initList({skipValueUpdate:!0}),t.listView.value(e))},_toggleHover:function(t){e(t.currentTarget).toggleClass(v,t.type===T)},_toggle:function(e,n){var i=this,o=l.mobileOS&&(l.touch||l.MSPointers||l.pointers);e=e!==t?e:!i.popup.visible(),n||o||i._focused[0]===d()||(i._prevent=!0,i._focused.trigger(B),i._prevent=!1),i[e?w:k]()},_triggerCascade:function(){var e=this;e._cascadeTriggered&&e.value()===ee(e._cascadedValue,typeof e.value())||(e._cascadedValue=e.value(),e._cascadeTriggered=!0,e.trigger(x,{userTriggered:e._userTriggered}))},_triggerChange:function(){this._valueBeforeCascade!==this.value()&&this.trigger(f)},_unbindDataSource:function(){var e=this;e.dataSource.unbind(V,e._requestStartHandler).unbind(P,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 ee(e,n){return e!==t&&""!==e&&null!==e&&("boolean"===n?("boolean"!=typeof e&&(e="true"===e.toString().toLowerCase()),e=Boolean(e)):"number"===n?e=Number(e):"string"===n&&(e=e.toString())),e}F(J,{inArray:function(e,t){var n,i,o=t.children;if(!e||e.parentNode!==t)return-1;for(n=0,i=o.length;n<i;n++)if(e===o[n])return n;return-1},unifyType:ee}),n.ui.List=J,i.Select=J.extend({init:function(e,t){J.fn.init.call(this,e,t),this._initial=this.element.val()},setDataSource:function(e){var t,n=this;n.options.dataSource=e,n._dataSource(),n.listView.bound()&&(n._initialIndex=null,n.listView._current=null),n.listView.setDataSource(n.dataSource),n.options.autoBind&&n.dataSource.fetch(),(t=n._parentWidget())&&n._cascadeSelect(t)},close:function(){this.popup.close()},select:function(e){var n=this;return e===t?n.selectedIndex:n._select(e).done((function(){n._cascadeValue=n._old=n._accessor(),n._oldIndex=n.selectedIndex,n._refreshFloatingLabel()}))},_accessor:function(e,t){return this[this._isSelect?"_accessorSelect":"_accessorInput"](e,t)},_accessorInput:function(e){var n=this.element[0];if(e===t)return n.value;null===e&&(e=""),n.value=e},_accessorSelect:function(e,n){var i=this.element[0];if(e===t)return oe(i).value||"";oe(i).selected=!1,n===t&&(n=-1),null!==e&&""!==e&&-1==n?this._custom(e):e?i.value=e:i.selectedIndex=n},_syncValueAndText:function(){return!0},_custom:function(t){var n=this,i=n.element,o=n._customOption;o||(o=e("<option/>"),n._customOption=o,i.append(o)),o.text(t),o[0].selected=!0},_dataSource:function(){var e,t=this,i=t.element,o=t.options,r=o.dataSource||{};r=Array.isArray(r)?{data:r}:r,t._isSelect&&((e=i[0].selectedIndex)>-1&&(o.index=e),r.select=i,r.fields=[{field:o.dataTextField},{field:o.dataValueField}]),t.dataSource?t._unbindDataSource():(t._requestStartHandler=t._showBusy,t._requestEndHandler=t._hideBusy,t._errorHandler=function(){t._hideBusy()}),t.dataSource=n.data.DataSource.create(r).bind(V,t._requestStartHandler).bind(P,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,n=this,i=n.listView,o="number"==typeof e,r=n.optionLabel&&n.optionLabel.length;return t=o?r?--e:e:i.getElementIndex(e),i.dataItemByIndex(t)},_getNormalizedSelectCandidate:function(e){var t=e;return this.optionLabel&&this.optionLabel.length&&"number"==typeof e&&t++,t},_move:function(e){var t,n,i,o,r,a=this,l=a.listView,c=e.keyCode,u=c===s.DOWN,h=a.options.virtual;if(c===s.UP||u){if(e.altKey)a.toggle(u);else{if(!l.bound()&&!a.ul[0].firstChild)return a._fetch||(a.dataSource.one(f,(function(){a._fetch=!1,a._move(e)})),a._fetch=!0,a._filterSource()),e.preventDefault(),!0;i=a._focus(),a._fetch||i&&!i.hasClass(g)||(u?(o=a._nextItem(),(h&&o<=0||!a._focus()&&!o)&&a._lastItem()):(o=a._prevItem(),(h&&o>=l.dataSource.total()-1||!a._focus()&&!o)&&a._firstItem())),r=a._getNormalizedSelectCandidate(a._get(a._focus())||o||0),a._select(r,!0).done((function(){var e=function(){a.popup.visible()||a._blur(),null===a._cascadedValue?a._cascadedValue=a.value():a._cascadedValue=a.dataItem()?a.dataItem()[a.options.dataValueField]||a.dataItem():null};a.trigger(C,{dataItem:a._getNormalizedDataItem(r),item:a._focus()})?a._select(i).done(e):e()}))}e.preventDefault(),n=!0}else if(c===s.ENTER||c===s.TAB){a.popup.visible()&&e.preventDefault(),i=a._focus(),t=a.dataItem(),a.popup.visible()||t&&a.text()===a._text(t)||(i=null);var p,m=a.filterInput&&a.filterInput[0]===d();if(i){var v=!0;if((t=l.dataItemByIndex(l.getElementIndex(i)))&&(v=a._value(t)!==J.unifyType(a.value(),typeof a._value(t))),v&&a.trigger(C,{dataItem:t,item:i}))return;p=a._select(i)}else a.input&&((a._syncValueAndText()||a._isSelect)&&a._accessor(a.input.val()),a.listView.value(a.input.val()));a._focusElement&&a._focusElement(a.wrapper),m&&c===s.TAB?a.wrapper.focusout():p&&"function"==typeof p.done?p.done((function(){a._blur()})):a._blur(),a.close(),n=!0}else if(c===s.ESC)a.popup.visible()&&(e.preventDefault(),e.stopPropagation()),a.close(),n=!0;else if(a.popup.visible()&&(c===s.PAGEDOWN||c===s.PAGEUP)){e.preventDefault();var _=c===s.PAGEDOWN?1:-1;l.scrollWith(_*l.screenHeight()),n=!0}return n},_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,n,i){var o,r,a,s,l=this,d=l.element,u=d[0],h=e.length,p="",f=0;for(n&&(p=n);f<h;f++)o="<option",r=e[f],a=l._text(r),(s=l._value(r))!==t&&(-1!==(s+="").indexOf('"')&&(s=s.replace(W,""")),o+=' value="'+s+'"'),o+=">",a!==t&&(o+=c(a)),p+=o+="</option>";d.html(p),i!==t&&(u.value=i,u.value&&!i&&(u.selectedIndex=-1)),-1!==u.selectedIndex&&(o=oe(u))&&o.setAttribute(A,A)},_reset:function(){var t=this,n=t.element,i=n.attr("form"),o=i?e("#"+i):n.closest("form");o[0]&&(t._resetHandler=function(){setTimeout((function(){t.options._removeDataItems&&(t.listView._dataItems=[]),t.value(t._initial),t.options._shouldRefresh&&(t.text(t._initial),t.refresh())}))},t._form=o.on("reset",t._resetHandler))},_parentWidget:function(){var t=this.options.name;if(this.options.cascadeFrom){var n=e("#"+this.options.cascadeFrom),i=n.data("kendo"+t);if(!i)for(var o=0;o<$[t].length&&!(i=n.data("kendo"+$[t][o]));o+=1);return i}},_cascade:function(){var e,t=this,n=t.options;if(n.cascadeFrom){if(!(e=t._parentWidget()))return;t._cascadeHandlerProxy=t._cascadeHandler.bind(t),t._cascadeFilterRequests=[],n.autoBind=!1,e.bind("set",(function(){t.one("set",(function(e){t._selectedValue=e.value||t._accessor()}))})),e.first(x,t._cascadeHandlerProxy),e.listView.bound()?(t._toggleCascadeOnFocus(),t._cascadeSelect(e)):(e.one(D,(function(){t._toggleCascadeOnFocus(),e.popup.visible()&&e._focused.trigger(B)})),e.value()||t.enable(!1))}},_toggleCascadeOnFocus:function(){var e=this,t=e._parentWidget(),n=j&&t instanceof i.DropDownList?"blur":"focusout";t._focused.add(t.filterInput).on(B,(function(){t.unbind(x,e._cascadeHandlerProxy),t.unbind(f,e._cascadeHandlerProxy),t.first(f,e._cascadeHandlerProxy)})),t._focused.add(t.filterInput).on(n,(function(){t.unbind(f,e._cascadeHandlerProxy),t.unbind(x,e._cascadeHandlerProxy),t.first(x,e._cascadeHandlerProxy)}))},_cascadeHandler:function(e){var t=this._parentWidget(),n=this.value();this._userTriggered=e.userTriggered||t._userTriggered,this.listView.bound()&&this._clearSelection(t,!0),this._cascadeSelect(t,n)},_cascadeChange:function(e){var t=this,n=t._accessor()||t._selectedValue;t._cascadeFilterRequests.length||(t._selectedValue=null),t._userTriggered?t._clearSelection(e,!0):n?(n!==ee(t.listView.value()[0],typeof n)&&t.value(n),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,n){var i=this,o=e.dataItem(),r=o?o[i.options.cascadeFromParentField]||e._value(o):null,a=i.options.cascadeFromField||e.options.dataValueField;if(!e.options.cascadeOnCustomValue||null!==r||i.options.cascadeFromParentField&&i.options.cascadeFromParentField!==e.options.dataValueField||(r=e.value()),i._valueBeforeCascade=n!==t?n:i.value(),r||0===r){ae(i.dataSource.filter()||{},a);var s=function(){var t=i._cascadeFilterRequests.shift();t&&i.unbind("dataBound",t),(t=i._cascadeFilterRequests[0])&&i.first("dataBound",t),i._cascadeChange(e)};i._cascadeFilterRequests.push(s),1===i._cascadeFilterRequests.length&&i.first("dataBound",s),i._cascading=!0,i._filterSource({field:a,operator:"eq",value:r}),i._cascading=!1}else i.enable(!1),i._clearSelection(e),i._triggerCascade(),i._triggerChange(),i._userTriggered=!1;i._refreshFloatingLabel()}});var te=".StaticList",ne=n.ui.DataBoundWidget.extend({init:function(t,i){if(a.fn.init.call(this,t,i),this.element.attr("role",i.aria&&i.aria.role||"listbox").on(z+te,"li",this._click.bind(this)).on(T+te,"li",(function(){e(this).addClass(v)})).on("mouseleave"+te,"li",(function(){e(this).removeClass(v)})),i&&i.ariaLabel?this.element.attr(G,i.ariaLabel):i&&i.ariaLabelledBy&&this.element.attr(q,i.ariaLabelledBy),l.touch&&this._touchHandlers(),"multiple"===this.options.selectable&&this.element.attr("aria-multiselectable",!0),this.options.columns&&this.options.columns.length){var o=this.element.parent().find(".k-table-thead"),r=e('<tr class="k-table-group-row"><th class="k-table-th" colspan="'+this.options.columns.length+'"></th></tr>');o.append(r),this.header=r.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(_);this.bound(!1),this._optionID=n.guid(),this._selectedIndices=[],this._view=[],this._dataItems=[],this._values=[];var s=this.options.value;s&&(this._values=Array.isArray(s)?s.slice(0):[s]),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:[z,f,M,I,H,D,E],setDataSource:function(e){var t,i=this,o=e||{};o=Array.isArray(o)?{data:o}:o,o=n.data.DataSource.create(o),i.dataSource?(i.dataSource.unbind(f,i._refreshHandler),t=i.value(),i.value([]),i.bound(!1),i.value(t)):i._refreshHandler=i.refresh.bind(i),i.setDSFilter(o.filter()),i.dataSource=o.bind(f,i._refreshHandler),i._fixedHeader()},_touchHandlers:function(){var t,n,i=this,o=this.options.columns&&this.options.columns.length?".k-table-row":y,r=function(e){return(e.originalEvent||e).changedTouches[0].pageY};i.element.on("touchstart"+te,(function(e){t=r(e)})),i.element.on("touchend"+te,(function(a){a.isDefaultPrevented()||(n=r(a),Math.abs(n-t)<10&&(i._touchTriggered=!0,i._triggerClick(e(a.target).closest(o).get(0))))}))},skip:function(){return this.dataSource.skip()},setOptions:function(e){a.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(te),this._refreshHandler&&this.dataSource.unbind(f,this._refreshHandler),clearTimeout(this._scrollId),a.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],n=e.offsetTop,i=e.offsetHeight,o=t.scrollTop,r=t.clientHeight,a=n+i;o>n?o=n:a>o+r&&(o=a-r),t.scrollTop=o}},selectedDataItems:function(e){if(e===t)return this._dataItems.slice();this._dataItems=e,this._values=this._getValues(e)},_getValues:function(t){var n=this._valueGetter;return e.map(t,(function(e){return n(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(ie(this.element[0].children))},focus:function(n){var i,o=this,r=o._optionID;if(n===t)return o._current;n=ie(o._get(n)),n=e(this.element[0].children[n]),o._current&&(o._current.removeClass(m).removeAttr(p),o.trigger(I)),(i=!!n[0])&&(n.addClass(m),o.scroll(n),n.attr("id",r)),o._current=i?n:null,o.trigger(M)},focusIndex:function(){return this.focus()?this.focus().index():t},skipUpdate:function(e){this._skipUpdate=e},select:function(n){var i,o,r=this,a=r.options.selectable,s="multiple"!==a&&!1!==a,l=r._selectedIndices,c=[this.element.find(".k-selected").index()],d=[];if(n===t)return l.slice();1===(n=r._get(n)).length&&-1===n[0]&&(n=[]);var u=e.Deferred().resolve(),h=r.isFiltered();return h&&!s&&r._deselectFiltered(n)?u:s&&!h&&-1!==e.inArray(ie(n),l)&&-1!==e.inArray(ie(n),c)?(r._dataItems.length&&r._view.length&&(r._dataItems=[r._view[l[0]].item]),u):(i=(o=r._deselect(n)).removed,(n=o.indices).length&&(s&&(n=[ie(n)]),d=r._select(n)),(d.length||i.length)&&(r._valueComparer=null,r.trigger(f,{added:d,removed:i})),u)},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(n){var i,o=this,r=o._valueDeferred;return n===t?o._values.slice():(o.setValue(n),r&&"resolved"!==r.state()||(o._valueDeferred=r=e.Deferred()),o.bound()&&(i=o._valueIndices(o._values),"multiple"===o.options.selectable&&o.select(-1),o.select(i),r.resolve()),o._skipUpdate=!1,r)},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(z,{item:e(t)})||this.select(t)},_valueExpr:function(e,t){var n,i=this,o=0,r=[];if(!i._valueComparer||i._valueType!==e){for(i._valueType=e;o<t.length;o++)r.push(ee(t[o],e));n=(e,t)=>{for(var n=0;n<r.length;n++)if(e===t[n])return n;return-1},i._valueComparer=function(e){return n(e,r)}}return i._valueComparer},_dataItemPosition:function(e,t){var n=this._valueGetter(e);return this._valueExpr(typeof n,t)(n)},_getter:function(){this._valueGetter=n.getter(this.options.dataValueField)},_deselect:function(t){var n,i,o=this,r=o.element[0].children,a=o.options.selectable,s=o._selectedIndices,l=o._dataItems,c=o._values,d=[],u=0,h=0;if(t=t.slice(),!0!==a&&t.length){if("multiple"===a)for(;u<t.length;)if(n=t[u],e(r[n]).hasClass(g)){for(;h<s.length;){if((i=s[h])===n){e(r[i]).removeClass(g).attr(X,!1);var p=this._view[n].item,f=this._dataItemPosition(p,this._values);d.push({position:f,dataItem:p}),l.splice(h,1),s.splice(h,1),t.splice(u,1),c.splice(h,1),u-=1,h-=1;break}h++}u++}else u++}else{for(;u<s.length;u++)e(r[s[u]]).removeClass(g).attr(X,!1),d.push({position:u,dataItem:l[u]});o._values=[],o._dataItems=[],o._selectedIndices=[]}return{indices:t,removed:d}},_deselectFiltered:function(t){for(var n,i,o,r=this.element[0].children,a=[],s=0;s<t.length;s++)i=t[s],n=this._view[i].item,(o=this._dataItemPosition(n,this._values))>-1&&(a.push(this.removeAt(o)),e(r[i]).removeClass(g));return!!a.length&&(this.trigger(f,{added:[],removed:a}),!0)},_select:function(t){var n,i,o=this,r=o.element[0].children,a=o._view,s=[],l=0;for(-1!==ie(t)&&o.focus(t);l<t.length;l++)n=a[i=t[l]],-1!==i&&n&&(n=n.item,o._selectedIndices.push(i),o._dataItems.push(n),o._values.push(o._valueGetter(n)),e(r[i]).addClass(g).attr(X,!0),s.push({dataItem:n}));return s},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,i={template:t.template,groupTemplate:t.groupTemplate,fixedGroupTemplate:t.fixedGroupTemplate};for(var o in t.columns&&t.columns.forEach(((e,t)=>{var o=e.field?e.field.toString():U;i["column"+t]=e.template||(e=>c(n.getter(o)(e)))})),i)(e=i[o])&&"function"!=typeof e&&(i[o]=n.template(e));this.templates=i},_normalizeIndices:function(e){for(var n=[],i=0;i<e.length;i++)e[i]!==t&&n.push(e[i]);return n},_valueIndices:function(e,t){var n,i=this._view,o=0;if(t=t?t.slice():[],!e.length)return[];for(;o<i.length;o++)-1!==(n=this._dataItemPosition(i[o].item,e))&&(t[n]=o);return this._normalizeIndices(t)},_firstVisibleItem:function(){var t=this.element[0],n=this.content[0].scrollTop,i=e(t.children[0]).height(),o=Math.floor(n/i)||0;if(0==t.childElementCount)return null;for(var r=t.children[o]||t.lastChild,a=r.offsetTop<n;r;)if(a){if(r.offsetTop+i>n||!r.nextSibling)break;r=r.nextSibling}else{if(r.offsetTop<=n||!r.previousSibling)break;r=r.previousSibling}return this._view[e(r).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" `,n=e.item,i=0!==e.index,o=e.selected,r=this.isGrouped(),a=this.options.columns&&this.options.columns.length,s=e.index%2==1?" k-table-alt-row":"";return t+=a?'class="k-table-row'+s:'class="k-list-item',i&&e.newGroup&&(t+=" k-first"),e.isLastGroupedItem&&a&&(t+=" k-last"),o&&(t+=" k-selected"),t+='" aria-selected="'+(o?"true":"false")+'" data-offset-index="'+e.index+'">',a?t+=this._renderColumns(n):(t+='<span class="k-list-item-text">',t+=this.templates.template(n),t+="</span>"),i&&e.newGroup?t+=a?'<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>":r&&a&&(t+='<span class="k-table-td k-table-spacer-td"></span>'),t+"</li>"},_renderColumns:function(e){for(var t="",i=0;i<this.options.columns.length;i++){var o=this.options.columns[i].width,a=parseInt(o,10),s="";o&&!isNaN(a)&&(s+=`${n.attr("style-width")}="${a}${r.test(o)?"%":"px"}"`),t+="<span class='k-table-td' "+s+">",t+=this.templates["column"+i](e),t+="</span>"}return t},_render:function(){var t,i,o,r,a,s="",l=0,c=0,d=[],u=this.dataSource.view(),h=this.value(),p=this.isGrouped();if(p)for(l=0;l<u.length;l++)for(o=u[l],r=!0,a=0;a<o.items.length;a++)i={selected:this._selected(o.items[a],h),item:o.items[a],group:o.value,newGroup:r,isLastGroupedItem:a===o.items.length-1,index:c},d[c]=i,c+=1,s+=this._renderItem(i),r=!1;else for(l=0;l<u.length;l++)i={selected:this._selected(u[l],h),item:u[l],index:l},d[l]=i,s+=this._renderItem(i);this._view=d,t=e(s),n.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=F({},e)},isFiltered:function(){return this._lastDSFilter||this.setDSFilter(this.dataSource.filter()),!n.data.Query.compareFilters(this.dataSource.filter(),this._lastDSFilter)},refresh:function(e){var t,n=this,i=e&&e.action,o=n.options.skipUpdateOnBind,r="itemchange"===i;n.trigger(H),n._fixedHeader(),n._render(),n.bound(!0),r||"remove"===i?(t=function(e,t){var n,i,o,r,a=t.length,s=e.length,l=[],c=[];if(s)for(o=0;o<s;o++){for(n=e[o],i=!1,r=0;r<a;r++)if(n===t[r]){i=!0,l.push({index:o,item:n});break}i||c.push(n)}return{changed:l,unchanged:c}}(n._dataItems,e.items)).changed.length&&(r?n.trigger(E,{items:t.changed}):n.value(n._getValues(t.unchanged))):n.isFiltered()||n._skipUpdate||n._emptySearch?(n.focus(0),(n._skipUpdate||n._emptySearch&&n._selectedIndices.length)&&(n._skipUpdate=!1,n._selectedIndices=n._valueIndices(n._values,n._selectedIndices))):o||i&&"add"!==i||n.value(n._values),n._valueDeferred&&n._valueDeferred.resolve(),n.trigger(D)},bound:function(e){if(e===t)return this._bound;this._bound=e},isGrouped:function(){return(this.dataSource.group()||[]).length}});function ie(e){return e[e.length-1]}function oe(e){var t=e.selectedIndex;return t>-1?e.options[t]:{}}function re(t){return!(!t||e.isEmptyObject(t))&&!(t.filters&&!t.filters.length)}function ae(t,n){var i,o=!1;return t.filters&&(i=e.grep(t.filters,(function(e){return o=ae(e,n),e.filters?e.filters.length:e.field!=n})),o||t.filters.length===i.length||(o=!0),t.filters=i),o}i.plugin(ne),n.cssProperties.registerPrefix("List","k-list-")}(window.kendo.jQuery);kendo;!function(e){let t=window.kendo,n=t.effects,i=e.each,o=e.extend,r=t.support,a=/matrix3?d?\s*\(.*,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?,\s*([\d\.\-]+)\w*?/i,s=/translatex?$/i,l=/(zoom|fade|expand)(\w+)/,c=/(zoom|fade|expand)/,d=["perspective","rotate","rotatex","rotatey","rotatez","rotate3d","scale","scalex","scaley","scalez","scale3d","skew","skewx","skewy","translate","translatex","translatey","translatez","translate3d","matrix","matrix3d"],u=["rotate","scale","scalex","scaley","skew","skewx","skewy","translate","translatex","translatey","matrix"],h=Math.round,p="px",f="auto",m="width",v="height",g="hidden",_="origin",b="abortId",y="overflow",w="position",k="completeCallback",x="transitionend",C="transition",z="transform",S="perspective",T="1500px",M="perspective("+T+")",I={left:{reverse:"right",property:"left",transition:"translatex",vertical:!1,modifier:-1},right:{reverse:"left",property:"left",transition:"translatex",vertical:!1,modifier:1},down:{reverse:"up",property:"top",transition:"translatey",vertical:!0,modifier:1},up:{reverse:"down",property:"top",transition:"translatey",vertical:!0,modifier:-1},top:{reverse:"bottom"},bottom:{reverse:"top"},in:{reverse:"out",modifier:-1},out:{reverse:"in",modifier:1},vertical:{reverse:"vertical"},horizontal:{reverse:"horizontal"}};function H(e){return parseInt(e,10)}function D(e,t){var n,i,o,a,s=[],l={};for(i in t)n=i.toLowerCase(),a=-1!=d.indexOf(n),!r.hasHW3D&&a&&-1==u.indexOf(n)?delete t[i]:(o=t[i],a?s.push(i+"("+o+")"):l[i]=o);return s.length&&(l[z]=s.join(" ")),l}t.directions=I,o(e.fn,{kendoStop:function(e,t){return n.stopQueue(this,e||!1,t||!1)}}),t.toggleClass=function(e,t,n,r){return t&&(t=t.split(" "),n=o({exclusive:"all",duration:400,ease:"ease-out"},n),e.css(C,n.exclusive+" "+n.duration+"ms "+n.ease),setTimeout((function(){e.css(C,"").css(v)}),n.duration),i(t,(function(t,n){e.toggleClass(n,r)}))),e},t.parseEffects=function(e,t){var n={};return"string"==typeof e?i(e.split(" "),(function(e,i){var o=!c.test(i),r=i.replace(l,(function(e,t,n){return t+":"+n.toLowerCase()})).split(":"),a=r[1],s={};r.length>1&&(s.direction=t&&o?I[a].reverse:a),n[r[0]]=s})):i(e,(function(e){var i=this.direction;i&&t&&!c.test(e)&&(this.direction=I[i].reverse),n[e]=this})),n},o(n,{transition:function(t,n,i){let r,a,s=0,l=t.data("keys")||[];i=o({duration:200,ease:"ease-out",complete:null,exclusive:"all"},i);let c=!1,d=function(){c||(c=!0,a&&(clearTimeout(a),a=null),t.removeData(b).dequeue().css(C,"").css(C),i.complete.call(t))};i.duration=e.fx&&e.fx.speeds[i.duration]||i.duration,r=D(0,n),e.merge(l,function(e){var t=[];for(var n in e)t.push(n);return t}(r)),e.hasOwnProperty("uniqueSort")?t.data("keys",e.uniqueSort(l)).height():t.data("keys",e.unique(l)).height(),t.css(C,i.exclusive+" "+i.duration+"ms "+i.ease).css(C),t.css(r).css(z),t.one(x,d),0!==i.duration&&(s=500),a=setTimeout(d,i.duration+s),t.data(b,a),t.data(k,d)},stopQueue:function(e,n,i){var o,r=e.data("keys"),a=!i&&r,s=e.data(k);return a&&(o=t.getComputedStyles(e[0],r)),s&&s(),a&&e.css(o),e.removeData("keys").stop(n)}});var E=t.Class.extend({init:function(e,t){var n=this;n.element=e,n.effects=[],n.options=t,n.restore=[]},run:function(t){let i,r,a,s,l,c,d=this,u=t.length,h=d.element,p=d.options,f=e.Deferred(),m={},v={};for(d.effects=t,f.done(d.complete.bind(d)),h.data("animating",!0),r=0;r<u;r++)for(i=t[r],i.setReverse(p.reverse),i.setOptions(p),d.addRestoreProperties(i.restore),i.prepare(m,v),l=i.children(),a=0,c=l.length;a<c;a++)l[a].duration(p.duration).run();for(var g in p.effects)o(v,p.effects[g].properties);for(h.is(":visible")||o(m,{display:h.data("olddisplay")||"block"}),p.reset||(s=h.data("targetTransform"),s&&(m=o(s,m))),m=D(0,m),h.css(m).css(z),r=0;r<u;r++)t[r].setup();return p.init&&p.init(),h.data("targetTransform",v),n.animate(h,v,o({},p,{complete:f.resolve})),f.promise()},stop:function(){e(this.element).kendoStop(!0,!0)},addRestoreProperties:function(e){for(var t,n=this.element,i=0,o=e.length;i<o;i++)t=e[i],this.restore.push(t),n.data(t)||n.data(t,n.css(t))},restoreCallback:function(){for(var e=this.element,t=0,n=this.restore.length;t<n;t++){var i=this.restore[t];e.css(i,e.data(i))}},complete:function(){let e=this,t=0,n=e.element,i=e.options,o=e.effects,r=o.length;for(n.removeData("animating").dequeue(),i.hide&&n.data("olddisplay",n.css("display")).hide(),this.restoreCallback();t<r;t++)o[t].teardown();i.completeCallback&&i.completeCallback(n)}});n.promise=function(e,i){var o,r,a=[],s=new E(e,i),l=t.parseEffects(i.effects);for(var c in i.effects=l,l)(o=n[V(c)])&&(r=new o(e,l[c].direction),a.push(r));a[0]?s.run(a):(e.is(":visible")||e.css({display:e.data("olddisplay")||"block"}).css("display"),i.init&&i.init(),e.dequeue(),s.complete())},o(n,{animate:function(e,t,i){let o=!1!==i.transition;delete i.transition,"transition"in n&&o?n.transition(e,t,i):e.animate(function(e){for(var t in e)-1!=d.indexOf(t)&&-1==u.indexOf(t)&&delete e[t];return e}(t),{queue:!1,show:!1,hide:!1,duration:i.duration,complete:i.complete})}}),n.animatedPromise=n.promise;var A=t.Class.extend({init:function(e,t){var n=this;n.element=e,n._direction=t,n.options={},n._additionalEffects=[],n.restore||(n.restore=[])},reverse:function(){return this._reverse=!0,this.run()},play:function(){return this._reverse=!1,this.run()},add:function(e){return this._additionalEffects.push(e),this},direction:function(e){return this._direction=e,this},duration:function(e){return this._duration=e,this},compositeRun:function(){var e=this,t=new E(e.element,{reverse:e._reverse,duration:e._duration}),n=e._additionalEffects.concat([e]);return t.run(n)},run:function(){if(this._additionalEffects&&this._additionalEffects[0])return this.compositeRun();let t,i,r=this,a=r.element,s=0,l=r.restore,c=l.length,d=e.Deferred(),u={},h={},p=r.children(),f=p.length;for(d.done(r._complete.bind(r)),a.data("animating",!0),s=0;s<c;s++)t=l[s],a.data(t)||a.data(t,a.css(t));for(s=0;s<f;s++)p[s].duration(r._duration).run();return r.prepare(u,h),a.is(":visible")||o(u,{display:a.data("olddisplay")||"block"}),i=a.data("targetTransform"),i&&(u=o(i,u)),u=D(0,u),a.css(u).css(z),r.setup(),a.data("targetTransform",h),n.animate(a,h,{duration:r._duration,complete:d.resolve}),d.promise()},stop:function(){var t=0,n=this.children(),i=n.length;for(t=0;t<i;t++)n[t].stop();return e(this.element).kendoStop(!0,!0),this},restoreCallback:function(){for(var e=this.element,t=0,n=this.restore.length;t<n;t++){var i=this.restore[t];e.css(i,e.data(i))}},_complete:function(){let e=this,t=e.element;t.removeData("animating").dequeue(),e.restoreCallback(),e.shouldHide()&&t.data("olddisplay",t.css("display")).hide(),e.teardown()},setOptions:function(e){o(!0,this.options,e)},children:function(){return[]},shouldHide:e.noop,setup:e.noop,prepare:e.noop,teardown:e.noop,directions:[],setReverse:function(e){return this._reverse=e,this}});function V(e){return e.charAt(0).toUpperCase()+e.substring(1)}function P(e,t){var o=A.extend(t),r=o.prototype.directions;n[V(e)]=o,n.Element.prototype[e]=function(e,t,n,i){return new o(this.element,e,t,n,i)},i(r,(function(t,i){n.Element.prototype[e+V(i)]=function(e,t,n){return new o(this.element,i,e,t,n)}}))}var B=["left","right","up","down"],F=["in","out"];function O(e,t,n,i){P(e,{directions:F,startValue:function(e){return this._startValue=e,this},endValue:function(e){return this._endValue=e,this},shouldHide:function(){return this._shouldHide},prepare:function(e,o){var r,a,s="out"===this._direction,l=this.element.data(t);r=!(isNaN(l)||l==n)?l:void 0!==this._startValue?this._startValue:s?n:i,a=void 0!==this._endValue?this._endValue:s?i:n,this._reverse?(e[t]=a,o[t]=r):(e[t]=r,o[t]=a),this._shouldHide=o[t]===i}})}P("slideIn",{directions:B,divisor:function(e){return this.options.divisor=e,this},prepare:function(e,n){let i,o=this,r=o.element,a=t._outerWidth,s=t._outerHeight,l=I[o._direction],c=-l.modifier*(l.vertical?s(r):a(r))/(o.options&&o.options.divisor||1)+p;o._reverse&&(i=e,e=n,n=i),e[l.transition]=c,n[l.transition]="0px"}}),P("tile",{directions:B,init:function(e,t,n){A.prototype.init.call(this,e,t),this.options={previous:n}},previousDivisor:function(e){return this.options.previousDivisor=e,this},children:function(){var e=this,n=e._reverse,i=e.options.previous,o=e.options.previousDivisor||1,r=e._direction,a=[t.fx(e.element).slideIn(r).setReverse(n)];return i&&a.push(t.fx(i).slideIn(I[r].reverse).divisor(o).setReverse(!n)),a}}),O("fade","opacity",1,0),O("zoom","scale",1,.01),P("slideMargin",{prepare:function(e,t){var n,i=this,o=i.element,r=i.options,a=o.data(_),s=r.offset,l=i._reverse;l||null!==a||o.data(_,parseFloat(o.css("margin-"+r.axis))),n=o.data(_)||0,t["margin-"+r.axis]=l?n:n+s}}),P("slideTo",{prepare:function(e,t){let n=this,i=n.element,o=n.options.offset.split(","),r=n._reverse;t.translatex=r?0:o[0],t.translatey=r?0:o[1],i.css("left")}}),P("expand",{directions:["horizontal","vertical"],restore:[y],prepare:function(e,t){var n=this,i=n.element,o=n.options,r=n._reverse,a="vertical"===n._direction?v:m,s=i[0].style[a],l=i.data(a),c=parseFloat(l||s),d=h(i.css(a,f)[a]());e.overflow=g,c=o&&o.reset?d||c:c||d,t[a]=(r?0:c)+p,e[a]=(r?c:0)+p,undefined===l&&i.data(a,s)},shouldHide:function(){return this._reverse},teardown:function(){var e=this.element,t="vertical"===this._direction?v:m,n=e.data(t);n!=f&&""!==n||setTimeout((function(){e.css(t,f).css(t)}),0)}});var L={position:"absolute",marginLeft:0,marginTop:0,scale:1};P("transfer",{init:function(e,t){this.element=e,this.options={target:t},this.restore=[]},setup:function(){this.element.appendTo(document.body)},prepare:function(e,t){var i=this,r=i.element,l=n.box(r),c=n.box(i.options.target),d=function(e,t){let n=e.css(z);if("none"==n)return"scale"==t?1:0;let i=n.match(new RegExp(t+"\\s*\\(([\\d\\w\\.]+)")),o=0;return i?o=H(i[1]):(i=n.match(a)||[0,0,0,0,0],t=t.toLowerCase(),s.test(t)?o=parseFloat(i[3]/i[2]):"translatey"==t?o=parseFloat(i[4]/i[2]):"scale"==t?o=parseFloat(i[2]):"rotate"==t&&(o=parseFloat(Math.atan2(i[2],i[1])))),o}(r,"scale"),u=n.fillScale(c,l),h=n.transformOrigin(c,l);o(e,L),t.scale=1,r.css(z,"scale(1)").css(z),r.css(z,"scale("+d+")"),e.top=l.top,e.left=l.left,e.transformOrigin=h.x+p+" "+h.y+p,i._reverse?e.scale=u:t.scale=u}});var R={top:"rect(auto auto $size auto)",bottom:"rect($size auto auto auto)",left:"rect(auto $size auto auto)",right:"rect(auto auto auto $size)"},N={top:{start:"rotatex(0deg)",end:"rotatex(180deg)"},bottom:{start:"rotatex(-180deg)",end:"rotatex(0deg)"},left:{start:"rotatey(0deg)",end:"rotatey(-180deg)"},right:{start:"rotatey(180deg)",end:"rotatey(0deg)"}};function U(e,n){var i=e[t.directions[n].vertical?v:m]()/2+"px";return R[n].replace("$size",i)}P("turningPage",{directions:B,init:function(e,t,n){A.prototype.init.call(this,e,t),this._container=n},prepare:function(e,n){var i=this,o=i._reverse,r=o?I[i._direction].reverse:i._direction,a=N[r];e.zIndex=1,i._clipInHalf&&(e.clip=U(i._container,t.directions[r].reverse)),e["backface-visibility"]=g,n[z]=M+(o?a.start:a.end),e[z]=M+(o?a.end:a.start)},setup:function(){this._container.append(this.element)},face:function(e){return this._face=e,this},shouldHide:function(){var e=this._reverse,t=this._face;return e&&!t||!e&&t},clipInHalf:function(e){return this._clipInHalf=e,this},temporary:function(){return this.element.addClass("temp-page"),this}}),P("staticPage",{directions:B,init:function(e,t,n){A.prototype.init.call(this,e,t),this._container=n},restore:["clip"],prepare:function(e,t){var n=this,i=n._reverse?I[n._direction].reverse:n._direction;e.clip=U(n._container,i),e.opacity=.999,t.opacity=1},shouldHide:function(){var e=this._reverse,t=this._face;return e&&!t||!e&&t},face:function(e){return this._face=e,this}}),P("pageturn",{directions:["horizontal","vertical"],init:function(e,t,n,i){A.prototype.init.call(this,e,t),this.options={},this.options.face=n,this.options.back=i},children:function(){var e,n=this,i=n.options,o="horizontal"===n._direction?"left":"top",r=t.directions[o].reverse,a=n._reverse,s=i.face.clone(!0).removeAttr("id"),l=i.back.clone(!0).removeAttr("id"),c=n.element;return a&&(e=o,o=r,r=e),[t.fx(i.face).staticPage(o,c).face(!0).setReverse(a),t.fx(i.back).staticPage(r,c).setReverse(a),t.fx(s).turningPage(o,c).face(!0).clipInHalf(!0).temporary().setReverse(a),t.fx(l).turningPage(r,c).clipInHalf(!0).temporary().setReverse(a)]},prepare:function(e,t){e[S]=T,e.transformStyle="preserve-3d",e.opacity=.999,t.opacity=1},teardown:function(){this.element.find(".temp-page").remove()}}),P("flip",{directions:["horizontal","vertical"],init:function(e,t,n,i){A.prototype.init.call(this,e,t),this.options={},this.options.face=n,this.options.back=i},children:function(){var e,n=this,i=n.options,o="horizontal"===n._direction?"left":"top",r=t.directions[o].reverse,a=n._reverse,s=n.element;return a&&(e=o,o=r,r=e),[t.fx(i.face).turningPage(o,s).face(!0).setReverse(a),t.fx(i.back).turningPage(r,s).setReverse(a)]},prepare:function(e){e[S]=T,e.transformStyle="preserve-3d"}});var j=!r.mobileOS.android;P("replace",{_before:e.noop,_after:e.noop,init:function(t,n,i){A.prototype.init.call(this,t),this._previous=e(n),this._transitionClass=i},duration:function(){throw new Error("The replace effect does not support duration setting; the effect duration may be customized through the transition class rule")},beforeTransition:function(e){return this._before=e,this},afterTransition:function(e){return this._after=e,this},_both:function(){return e().add(this._element).add(this._previous)},_containerClass:function(){var e=this._direction,t="k-fx k-fx-start k-fx-"+this._transitionClass;return e&&(t+=" k-fx-"+e),this._reverse&&(t+=" k-fx-reverse"),t},complete:function(t){if(!(!this.deferred||t&&e(t.target).is(".km-touch-scrollbar, .km-actionsheet-wrapper"))){var n=this.container;n.removeClass("k-fx-end").removeClass(this._containerClass()).off(x,this.completeProxy),this._previous.hide().removeClass("k-fx-current"),this.element.removeClass("k-fx-next"),j&&n.css(y,""),this.isAbsolute||this._both().css(w,""),this.deferred.resolve(),delete this.deferred}},run:function(){if(this._additionalEffects&&this._additionalEffects[0])return this.compositeRun();let n,i=this,o=i.element,r=i._previous,a=o.parents().filter(r.parents()).first(),s=i._both(),l=e.Deferred(),c=o.css(w);return a.length||(a=o.parent()),this.container=a,this.deferred=l,this.isAbsolute="absolute"==c,this.isAbsolute||s.css(w,"absolute"),j&&(n=a.css(y),a.css(y,"hidden")),o.addClass("k-fx-hidden"),a.addClass(this._containerClass()),this.completeProxy=this.complete.bind(this),a.on(x,this.completeProxy),t.animationFrame((function(){o.removeClass("k-fx-hidden").addClass("k-fx-next"),r.css("display","").addClass("k-fx-current"),i._before(r,o),t.animationFrame((function(){a.removeClass("k-fx-start").addClass("k-fx-end"),i._after(r,o)}))})),l.promise()},stop:function(){this.complete()}});var W=t.Class.extend({init:function(){var e=this;e._tickProxy=e._tick.bind(e),e._started=!1},tick:e.noop,done:e.noop,onEnd:e.noop,onCancel:e.noop,start:function(){this.enabled()&&(this.done()?this.onEnd():(this._started=!0,t.animationFrame(this._tickProxy)))},enabled:function(){return!0},cancel:function(){this._started=!1,this.onCancel()},_tick:function(){var e=this;e._started&&(e.tick(),e.done()?(e._started=!1,e.onEnd()):t.animationFrame(e._tickProxy))}}),$=W.extend({init:function(e){o(this,e),W.fn.init.call(this)},done:function(){return this.timePassed()>=this.duration},timePassed:function(){return Math.min(this.duration,new Date-this.startDate)},moveTo:function(e){var t=this,n=t.movable;t.initial=n[t.axis],t.delta=e.location-t.initial,t.duration="number"==typeof e.duration?e.duration:300,t.tick=t._easeProxy(e.ease),t.startDate=new Date,t.start()},_easeProxy:function(e){var t=this;return function(){t.movable.moveAxis(t.axis,e(t.timePassed(),t.initial,t.delta,t.duration))}}});o($,{easeOutExpo:function(e,t,n,i){return e==i?t+n:n*(1-Math.pow(2,-10*e/i))+t},easeOutBack:function(e,t,n,i,o){return n*((e=e/i-1)*e*(((o=1.70158)+1)*e+o)+1)+t}}),n.Animation=W,n.Transition=$,n.createEffect=P,n.box=function(n){var i=(n=e(n)).offset();return i.width=t._outerWidth(n),i.height=t._outerHeight(n),i},n.transformOrigin=function(e,t){var n=(e.left-t.left)*t.width/(t.width-e.width),i=(e.top-t.top)*t.height/(t.height-e.height);return{x:isNaN(n)?0:n,y:isNaN(i)?0:i}},n.fillScale=function(e,t){return Math.min(e.width/t.width,e.height/t.height)},n.fitScale=function(e,t){return Math.max(e.width/t.width,e.height/t.height)}}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.support,i=t.Class,o=t.Observable,r=Date.now,a=e.extend,s=n.mobileOS,l=s&&s.android,c=800,d=n.browser.msie?5:0,u="press",h="hold",p="select",f="start",m="move",v="end",g="cancel",_="tap",b="doubleTap",y="release",w="gesturechange",k="gestureend",x="gesturetap",C={api:0,touch:0,mouse:9,pointer:9},z=!n.touch||n.mouseAndTouchPresent;function S(e,t){var n=e.x.location,i=e.y.location,o=t.x.location,r=t.y.location,a=n-o,s=i-r;return{center:{x:(n+o)/2,y:(i+r)/2},distance:Math.sqrt(a*a+s*s)}}function T(e){var t,i,o,r=[],a=e.originalEvent,s=e.currentTarget,l=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=(i=a?a.changedTouches:[]).length;l<t;l++)o=i[l],r.push({location:o,event:e,target:o.target,currentTarget:s,id:o.identifier,type:"touch"});else n.pointers||n.msPointers?r.push({location:a,event:e,target:e.target,currentTarget:s,id:a.pointerId,type:"pointer"}):r.push({id:1,event:e,target:e.target,currentTarget:s,location:e,type:"mouse"});return r}var M=i.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=r()},move:function(e){var t=this,n=e["page"+t.axis],i=r(),o=i-t.timeStamp||1;!n&&l||(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]}}),I=i.extend({init:function(e,t,n){a(this,{x:new M("X",n.location),y:new M("Y",n.location),type:n.type,useClickAsTap:e.useClickAsTap,threshold:e.threshold||C[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(u,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(_,e):t._trigger(b,e),t.userEvents._clicks=0}),300))},_hold:function(){this._trigger(h,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(D.current&&D.current!==t.userEvents)return t.dispose();t._start(e)}t._finished||t._trigger(m,e)}},end:function(e){this.endTime=r(),this._finished||(this._finished=!0,this._trigger(y,e),this._moved?this._trigger(v,e):this.useClickAsTap||(this.supportDoubleTap?this._tap(e):this._trigger(_,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=r(),this._moved=!0,this._trigger(f,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 H(e){for(var n=t.eventMap.up.split(" "),i=0,o=n.length;i<o;i++)e(n[i])}var D=o.extend({init:function(i,r){var s,l=this,C=t.guid();if(r=r||{},s=l.filter=r.filter,l.threshold=r.threshold||d,l.minHold=r.minHold||c,l.touches=[],l._maxTouches=r.multiTouch?2:1,l.allowSelection=r.allowSelection,l.captureUpIfMoved=r.captureUpIfMoved,l.useClickAsTap=!r.fastTap&&!n.delayedClick(),l.eventNS=C,l._clicks=0,l.supportDoubleTap=r.supportDoubleTap,i=e(i).handler(l),o.fn.init.call(l),a(l,{element:i,surface:r.global&&z?e(i[0].ownerDocument.documentElement):e(r.surface||i),stopPropagation:r.stopPropagation,preventDefault:r.preventDefault,pressed:!1}),l.surface.handler(l).on(t.applyEventMap("move",C),"_move").on(t.applyEventMap("up cancel",C),"_end"),i.on(t.applyEventMap("down",C),s,"_start"),l.useClickAsTap&&i.on(t.applyEventMap("click",C),s,"_click"),n.pointers||n.msPointers)if(n.browser.version<11){var S="pinch-zoom double-tap-zoom";i.css("-ms-touch-action",r.touchAction&&"none"!=r.touchAction?S+" "+r.touchAction:S)}else i.css("touch-action",r.touchAction||"none");if(r.preventDragEvent&&i.on(t.applyEventMap("dragstart",C),t.preventDefault),i.on(t.applyEventMap("mousedown",C),s,{root:i},"_select"),l.captureUpIfMoved&&n.eventCapture){var T=l.surface[0],M=l.preventIfMoving.bind(l);H((function(e){T.addEventListener(e,M,!0)}))}l.bind([u,h,_,b,f,m,v,y,g,"gesturestart",w,k,x,p],r)},preventIfMoving:function(e){this._isMoved()&&e.preventDefault()},destroy:function(){var e=this;if(!e._destroyed){if(e._destroyed=!0,e.captureUpIfMoved&&n.eventCapture){var t=e.surface[0];H((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(){D.current=this},cancel:function(){this._disposeAll(),this.trigger(g)},notify:function(e,t){var n=this.touches;if(this._isMultiTouch()){switch(e){case m:e=w;break;case v:e=k;break;case _:e=x}a(t,{touches:n},S(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(p,{event:e})||e.preventDefault()},_start:function(t){var n,i,o=this,r=0,a=o.filter,s=T(t),l=s.length,c=t.which;if(!(c&&c>1||o._maxTouchesReached()))for(D.current=null,o.currentTarget=t.currentTarget,o.preventDefault&&t.preventDefault(),o.stopPropagation&&t.stopPropagation();r<l&&!o._maxTouchesReached();r++)i=s[r],(n=a?e(i.currentTarget):o.element).length&&(i=new I(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:r(),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,a={},s=T(t),l=this.touches;for(n=0;n<l.length;n++)a[(i=l[n]).id]=i;for(n=0;n<s.length;n++)(r=a[(o=s[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})}}),E=o.extend({init:function(n,i){var r,s=this,l=t.guid();i=i||{},r=s.filter=i.filter,s.touches=[],s._maxTouches=1,s.eventNS=l,s._downStarted=0,n=e(n).handler(s),o.fn.init.call(s),a(s,{element:n,surface:i.global&&z?e(n[0].ownerDocument.documentElement):e(i.surface||n),stopPropagation:i.stopPropagation,pressed:!1}),s.surface.handler(s).on(t.applyEventMap("move",l),"_move").on(t.applyEventMap("cancel up",l),"cancel"),n.on(t.applyEventMap("down",l),r,"_down").on(t.applyEventMap("up",l),r,"_up"),s.bind([f,m,v,h,g,p],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(){E.current=this},cancel:function(){this._preventCancel?this._preventCancel=!1:this.touches&&this.touches.length>0&&(this._disposeAll(),this.trigger(g))},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,a=o.filter,s=T(t),l=s.length,c=t.which;if(!(c&&c>1||o._maxTouchesReached()))for(E.current=null,o.currentTarget=t.currentTarget,o.stopPropagation&&t.stopPropagation();r<l&&!o._maxTouchesReached();r++)i=s[r],(n=a?e(i.currentTarget):o.element).length&&(i=new I(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,a={},s=T(t),l=this.touches;for(n=0;n<l.length;n++)a[(i=l[n]).id]=i;for(n=0;n<s.length;n++)(r=a[(o=s[n]).id])&&(r.x.move(o.location),r.y.move(o.location),r[e](o))}});D.defaultThreshold=function(e){d=e},D.minHold=function(e){c=e},t.getTouches=T,t.touchDelta=S,t.UserEvents=D,t.ClickMoveClick=E}(window.kendo.jQuery);kendo;!function(e){var t,n=window.kendo,i=n.support,o=window.document,r=e(window),a=n.Class,s=n.ui.Widget,l=n.Observable,c=n.UserEvents,d=n.ClickMoveClick,u=e.extend,h=n.getOffset,p={},f={},m={},v=n.elementUnderCursor,g="keyup",_="change",b="dragstart",y="hold",w="drag",k="dragend",x="dragcancel",C="hintDestroyed",z="dragenter",S="dragleave",T="drop";function M(e,t){return parseInt(e.css(t),10)||0}function I(e,t){return Math.min(Math.max(e,t.min),t.max)}function H(e,t){var i=h(e),o=n._outerWidth,r=n._outerHeight,a=i.left+M(e,"borderLeftWidth")+M(e,"paddingLeft"),s=i.top+M(e,"borderTopWidth")+M(e,"paddingTop");return{x:{min:a,max:a+e.width()-o(t,!0)},y:{min:s,max:s+e.height()-r(t,!0)}}}var D,E=l.extend({init:function(t,i){var o=this,r=t[0];o.capture=!1,r.addEventListener?(e.each(n.eventMap.down.split(" "),(function(){r.addEventListener(this,o._press.bind(o),!0)})),e.each(n.eventMap.up.split(" "),(function(){r.addEventListener(this,o._release.bind(o),!0)}))):(e.each(n.eventMap.down.split(" "),(function(){r.attachEvent(this,o._press.bind(o))})),e.each(n.eventMap.up.split(" "),(function(){r.attachEvent(this,o._release.bind(o))}))),l.fn.init.call(o),o.bind(["press","release"],i||{})},captureNext:function(){this.capture=!0},cancelCapture:function(){this.capture=!1},_press:function(e){this.trigger("press"),this.capture&&e.preventDefault()},_release:function(e){var t=this;t.trigger("release"),t.capture&&(e.preventDefault(),t.cancelCapture())}}),A=l.extend({init:function(t){var n=this;l.fn.init.call(n),n.forcedEnabled=!1,e.extend(n,t),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(){e.extend(this,{virtual:!0,forcedEnabled:!0,_virtualMin:0,_virtualMax:0})},virtualSize:function(e,t){this._virtualMin===e&&this._virtualMax===t||(this._virtualMin=e,this._virtualMax=t,this.update())},outOfBounds:function(e){return e>this.max||e<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(e){this.scale=e},update:function(e){var t=this,n=t.virtual?t._virtualMax:t.getTotal(),i=n*t.scale,o=t.getSize();(0!==n||t.forcedEnabled)&&(t.max=t.virtual?-t._virtualMin:0,t.size=o,t.total=i,t.min=Math.min(t.max,o-i),t.minScale=o/n,t.centerOffset=(i-o)/2,t.enabled=t.forcedEnabled||i>o,e||t.trigger(_,t))}}),V=l.extend({init:function(e){var t=this;l.fn.init.call(t),t.x=new A(u({horizontal:!0},e)),t.y=new A(u({horizontal:!1},e)),t.container=e.container,t.forcedMinScale=e.minScale,t.maxScale=e.maxScale||100,t.bind(_,e)},rescale:function(e){this.x.rescale(e),this.y.rescale(e),this.refresh()},centerCoordinates:function(){return{x:Math.min(0,-this.x.centerOffset),y:Math.min(0,-this.y.centerOffset)}},refresh:function(){var e=this;e.x.update(),e.y.update(),e.enabled=e.x.enabled||e.y.enabled,e.minScale=e.forcedMinScale||Math.min(e.x.minScale,e.y.minScale),e.fitScale=Math.max(e.x.minScale,e.y.minScale),e.trigger(_)}}),P=l.extend({init:function(e){u(this,e),l.fn.init.call(this)},outOfBounds:function(){return this.dimension.outOfBounds(this.movable[this.axis])},dragMove:function(e){var t=this,n=t.dimension,i=t.axis,o=t.movable,r=o[i]+e;n.enabled&&((r<n.min&&e<0||r>n.max&&e>0)&&(e*=t.resistance),o.translateAxis(i,e),t.trigger(_,t))}}),B=a.extend({init:function(t){var n,i,o,r,a=this;u(a,{elastic:!0},t),o=a.elastic?.5:0,r=a.movable,a.x=n=new P({axis:"x",dimension:a.dimensions.x,resistance:o,movable:r}),a.y=i=new P({axis:"y",dimension:a.dimensions.y,resistance:o,movable:r}),a.userEvents.bind(["press","move","end","gesturestart","gesturechange"],{gesturestart:function(e){a.gesture=e,a.offset=a.dimensions.container.offset()},press:function(t){e(t.event.target).closest("a").is("[data-navigate-on-press=true]")&&t.sender.cancel()},gesturechange:function(e){var t,o=a.gesture,s=o.center,l=e.center,c=e.distance/o.distance,d=a.dimensions.minScale,u=a.dimensions.maxScale;r.scale<=d&&c<1&&(c+=.8*(1-c)),r.scale*c>=u&&(c=u/r.scale);var h=r.x+a.offset.left,p=r.y+a.offset.top;t={x:(h-s.x)*c+l.x-h,y:(p-s.y)*c+l.y-p},r.scaleWith(c),n.dragMove(t.x),i.dragMove(t.y),a.dimensions.rescale(r.scale),a.gesture=e,e.preventDefault()},move:function(e){e.event.target.tagName.match(/textarea|input/i)||(n.dimension.enabled||i.dimension.enabled?(n.dragMove(e.x.delta),i.dragMove(e.y.delta),e.preventDefault()):e.touch.skip())},end:function(e){e.preventDefault()}})}});D=i.hasHW3D?function(e,t,n){return"translate3d("+e+"px,"+t+"px,0) scale("+n+")"}:function(e,t,n){return"translate("+e+"px,"+t+"px) scale("+n+")"};var F=l.extend({init:function(t){var n=this;l.fn.init.call(n),n.element=e(t),n.element[0].style.webkitTransformOrigin="left top",n.x=0,n.y=0,n.scale=1,n._saveCoordinates(D(n.x,n.y,n.scale))},translateAxis:function(e,t){this[e]+=t,this.refresh()},scaleTo:function(e){this.scale=e,this.refresh()},scaleWith:function(e){this.scale*=e,this.refresh()},translate:function(e){this.x+=e.x,this.y+=e.y,this.refresh()},moveAxis:function(e,t){this[e]=t,this.refresh()},moveTo:function(e){u(this,{x:e.x,y:e.y}),this.refresh()},refresh:function(){var e,t=this,i=t.x,o=t.y;t.round&&(i=Math.round(i),o=Math.round(o)),(e=D(i,o,t.scale))!=t.coordinates&&(n.support.browser.msie&&n.support.browser.version<10?(t.element[0].style.position="absolute",t.element[0].style.left=t.x+"px",t.element[0].style.top=t.y+"px"):t.element[0].style.transform=e,t._saveCoordinates(e),t.trigger(_))},_saveCoordinates:function(e){this.coordinates=e}});function O(e,t){var n,i=t.options.group,o=e[i];if(s.fn.destroy.call(t),o.length>1){for(n=0;n<o.length;n++)if(o[n]==t){o.splice(n,1);break}}else o.length=0,delete e[i]}var L=s.extend({init:function(e,t){var n=this;s.fn.init.call(n,e,t);var i=n.options.group;i in f?f[i].push(n):f[i]=[n]},events:[z,S,T],options:{name:"DropTarget",group:"default"},destroy:function(){O(f,this)},_trigger:function(e,t){var n=p[this.options.group];if(n)return this.trigger(e,u({},t.event,{draggable:n,dropTarget:t.dropTarget}))},_over:function(e){this._trigger(z,e)},_out:function(e){this._trigger(S,e)},_drop:function(e){var t=p[this.options.group];t&&(t.dropped=!this._trigger(T,e))}});L.destroyGroup=function(e){var t,n=f[e]||m[e];if(n){for(t=0;t<n.length;t++)s.fn.destroy.call(n[t]);n.length=0,delete f[e],delete m[e]}},L._cache=f;var R=L.extend({init:function(e,t){var n=this;s.fn.init.call(n,e,t);var i=n.options.group;i in m?m[i].push(n):m[i]=[n]},destroy:function(){O(m,this)},options:{name:"DropTargetArea",group:"default",filter:null}}),N=s.extend({init:function(e,t){var i=this;s.fn.init.call(i,e,t),i._activated=!1,this.options.clickMoveClick&&(i.clickMoveClick=new d(i.element,{global:!0,filter:i.options.filter,start:i._startClickMoveClick.bind(i),move:i._drag.bind(i),end:i._end.bind(i),cancel:i._onCancel.bind(i)})),i.userEvents=new c(i.element,{global:!0,allowSelection:!0,filter:i.options.filter,threshold:i.options.distance,start:i._start.bind(i),hold:i._hold.bind(i),move:i._drag.bind(i),end:i._end.bind(i),cancel:i._onCancel.bind(i),select:i._select.bind(i),press:i._press.bind(i)}),n.support.touch&&!t.allowTouchActions&&i.element.find(i.options.filter).css("touch-action","none"),i._afterEndHandler=i._afterEnd.bind(i),i._captureEscape=i._captureEscape.bind(i)},events:[y,b,w,k,x,C],options:{name:"Draggable",distance:n.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,allowTouchActions:!1},cancelHold:function(){this._activated=!1},_captureEscape:function(e){var t=this;e.keyCode===n.keys.ESC&&(t.userEvents.cancel(),t.clickMoveClick&&t.clickMoveClick.cancel(),this._trigger(x,{event:e}))},_updateHint:function(t){var i,o=this,r=o.options,a=o.boundaries,s=r.axis,l=o.options.cursorOffset,c=r.updateHint;if(l?i={left:t.x.location+l.left,top:t.y.location+l.top}:0!==t.x.delta||0!==t.y.delta?(o.hintOffset.left+=t.x.delta,o.hintOffset.top+=t.y.delta,i=e.extend({},o.hintOffset)):(o.hintOffset.left=t.x.startLocation+t.x.initialDelta,o.hintOffset.top=t.y.startLocation+t.y.initialDelta,i=e.extend({},o.hintOffset)),a&&(i.top=I(i.top,a.y),i.left=I(i.left,a.x)),"x"===s?delete i.top:"y"===s&&delete i.left,c&&n.isFunction(c))return e(c.call(o,o.hint,t));o.hint.css(i)},_shouldIgnoreTarget:function(t){var n=this.options.ignore;return n&&e(t).is(n)},_select:function(e){this._shouldIgnoreTarget(e.event.target)||e.preventDefault()},_startClickMoveClick:function(e){this._activated=!0,this._start(e)},_hint:function(){var t=this,i=t.options.hint;if(i){t.hint&&t.hint.stop(!0,!0).remove(),t.hint=n.isFunction(i)?e(i.call(t,t.currentTarget)):i;var r=h(t.currentTarget);t.hintOffset=r,t.hint.css({position:"absolute",zIndex:2e4,left:r.left,top:r.top}).appendTo(o.body)}},_start:function(t){var n=this,i=n.options,r=i.container?e(i.container):null,a=i.hint;this._shouldIgnoreTarget(t.touch.initialTouch)||i.holdToDrag&&!n._activated?n.userEvents.cancel():(n.currentTarget=t.target,n.currentTargetOffset=h(n.currentTarget),a&&n._hint(),p[i.group]=n,n.dropped=!1,r&&(n.boundaries=H(r,n.hint)),e(o).on(g,n._captureEscape),n._trigger(b,t)&&(n.userEvents.cancel(),n.clickMoveClick&&n.clickMoveClick.cancel(),n._afterEnd()),n.userEvents.capture())},_hold:function(e){this.currentTarget=e.target,this._trigger(y,e)?this.userEvents.cancel():(this._activated=!0,this.options.showHintOnHold&&this._hint())},_drag:function(t){t.preventDefault();var n=this._elementUnderCursor(t);if(this.options.autoScroll&&this._cursorElement!==n&&(this._scrollableParent=W(n),this._cursorElement=n),this._lastEvent=t,this._processMovement(t,n),this.options.autoScroll&&this._scrollableParent[0]){var i=$(t.x.location,t.y.location,U(this._scrollableParent));this._scrollCompenstation=e.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(t)},_processMovement:function(n,i){this._withDropTarget(i,(function(i,o){if(i){if(t){if(o===t.targetElement)return;t._trigger(S,u(n,{dropTarget:e(t.targetElement)}))}i._trigger(z,u(n,{dropTarget:e(o)})),t=u(i,{targetElement:o})}else t&&(t._trigger(S,u(n,{dropTarget:e(t.targetElement)})),t=null)})),this._trigger(w,u(n,{dropTarget:t,elementUnderCursor:i}))},_autoScroll:function(){var e=this._scrollableParent[0],t=this._scrollVelocity,n=this._scrollCompenstation;if(e){var i,a,s=this._elementUnderCursor(this._lastEvent);this._processMovement(this._lastEvent,s);var l=e===j()[0];l?(i=o.body.scrollHeight>r.height(),a=o.body.scrollWidth>r.width()):(i=e.offsetHeight<=e.scrollHeight,a=e.offsetWidth<=e.scrollWidth);var c=e.scrollTop+t.y,d=i&&c>0&&c<e.scrollHeight,u=e.scrollLeft+t.x,h=a&&u>0&&u<e.scrollWidth;d?e.scrollTop+=t.y:i&&c<0&&(e.scrollTop=0),h?e.scrollLeft+=t.x:a&&u<0&&(e.scrollLeft=0),this.hint&&l&&(h||d)&&(d&&(n.top+=t.y),h&&(n.left+=t.x),this.hint.css(n))}},_press:function(e){this.options.preventOsHoldFeatures&&(e.target.css("-webkit-user-select","none"),e.target.attr("unselectable","on"),e.target.one("contextmenu",(e=>{e.preventDefault()})))},_end:function(n){this._withDropTarget(this._elementUnderCursor(n),(function(i,o){i&&(i._drop(u({},n,{dropTarget:e(o)})),t=null)})),clearInterval(this._scrollInterval),this._scrollInterval=null,this._cancel(this._trigger(k,n))},_onCancel:function(e){this._cancel(),this._trigger(x,{event:e})},_cancel:function(e){var t=this;t._scrollableParent=null,this._cursorElement=null,clearInterval(this._scrollInterval),t._activated=!1,t.hint&&!t.dropped?setTimeout((function(){t.hint.stop(!0,!0),e?t._afterEndHandler():t.hint.animate(t.currentTargetOffset,"fast",t._afterEndHandler)}),0):t._afterEnd()},_trigger:function(e,t){return this.trigger(e,u({},t.event,{x:t.x,y:t.y,currentTarget:this.currentTarget,initialTarget:t.touch?t.touch.initialTouch:null,dropTarget:t.dropTarget,elementUnderCursor:t.elementUnderCursor,clickMoveClick:t.clickMoveClick}))},_elementUnderCursor:function(t){var n=v(t),i=this.hint;return i&&function(t,n){try{return e.contains(t,n)||t==n}catch(e){return!1}}(i[0],n)&&(i.hide(),(n=v(t))||(n=v(t)),i.show()),n},_withDropTarget:function(t,n){var o,r=this.options.group,a=f[r],s=m[r];(a&&a.length||s&&s.length)&&(o=function(t,n,o){for(var r,a,s=0,l=n&&n.length,c=o&&o.length;t&&t.parentNode;){for(s=0;s<l;s++)if((r=n[s]).element[0]===t)return{target:r,targetElement:t};for(s=0;s<c;s++)if(a=o[s],e.contains(a.element[0],t)&&i.matchesSelector.call(t,a.options.filter))return{target:a,targetElement:t};t=t.parentNode}}(t,a,s),o?n(o.target,o.targetElement):n())},destroy:function(){var e=this;s.fn.destroy.call(e),e._afterEnd(),e.userEvents.destroy(),e.clickMoveClick&&e.clickMoveClick.destroy(),this._scrollableParent=null,this._cursorElement=null,clearInterval(this._scrollInterval),e.currentTarget=null},_afterEnd:function(){var t=this;t.hint&&t.hint.remove(),delete p[t.options.group],t.trigger("destroy"),t.trigger(C),e(o).off(g,t._captureEscape)}});function U(e){var t,n,i,o=j()[0];return e[0]===o?{top:n=o.scrollTop,left:i=o.scrollLeft,bottom:n+r.height(),right:i+r.width()}:((t=e.offset()).bottom=t.top+e.height(),t.right=t.left+e.width(),t)}function j(){return e(n.support.browser.edge||n.support.browser.safari?o.body:o.documentElement)}function W(t){var i=j();if(!t||t===o.body||t===o.documentElement)return i;for(var r=e(t)[0];r&&!n.isScrollable(r)&&r!==o.body;)r=r.parentNode;return r===o.body?i:e(r)}function $(e,t,n){var i={x:0,y:0},o=50;return e-n.left<o?i.x=-(o-(e-n.left)):n.right-e<o&&(i.x=o-(n.right-e)),t-n.top<o?i.y=-(o-(t-n.top)):n.bottom-t<o&&(i.y=o-(n.bottom-t)),i}n.ui.plugin(L),n.ui.plugin(R),n.ui.plugin(N),n.TapCapture=E,n.containerBoundaries=H,u(n.ui,{Pane:B,PaneDimensions:V,Movable:F}),n.ui.Draggable.utils={autoScrollVelocity:$,scrollableViewPort:U,findScrollableParent:W}}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.mobile,i=t.effects,o=n.ui,r=e.extend,a=o.Widget,s=t.Class,l=t.ui.Movable,c=t.ui.Pane,d=t.ui.PaneDimensions,u=i.Transition,h=i.Animation,p=Math.abs,f="km-scroller-release",m="km-scroller-refresh",v="change",g="scroll",_=h.extend({init:function(e){var t=this;h.fn.init.call(t),r(t,e),t.userEvents.bind("gestureend",t.start.bind(t)),t.tapCapture.bind("press",t.cancel.bind(t))},enabled:function(){return this.movable.scale<this.dimensions.minScale},done:function(){return this.dimensions.minScale-this.movable.scale<.01},tick:function(){var e=this.movable;e.scaleWith(1.1),this.dimensions.rescale(e.scale)},onEnd:function(){var e=this.movable;e.scaleTo(this.dimensions.minScale),this.dimensions.rescale(e.scale)}}),b=h.extend({init:function(e){var t=this;h.fn.init.call(t),r(t,e,{transition:new u({axis:e.axis,movable:e.movable,onEnd:function(){t._end()}})}),t.tapCapture.bind("press",(function(){t.cancel()})),t.userEvents.bind("end",t.start.bind(t)),t.userEvents.bind("gestureend",t.start.bind(t)),t.userEvents.bind("tap",t.onEnd.bind(t))},onCancel:function(){this.transition.cancel()},freeze:function(e){this.cancel(),this._moveTo(e)},onEnd:function(){var e=this;e.paneAxis.outOfBounds()?e._snapBack():e._end()},done:function(){return p(this.velocity)<1},start:function(e){var t,n=this;n.dimension.enabled&&(n.paneAxis.outOfBounds()?n.transition._started?(n.transition.cancel(),n.velocity=Math.min(e.touch[n.axis].velocity*n.velocityMultiplier,55),h.fn.start.call(n)):n._snapBack():(t=2===e.touch.id?0:e.touch[n.axis].velocity,n.velocity=Math.max(Math.min(t*n.velocityMultiplier,55),-55),n.tapCapture.captureNext(),h.fn.start.call(n)))},tick:function(){var e=this,t=e.dimension,n=e.paneAxis.outOfBounds()?.5:e.friction,i=e.velocity*=n,o=e.movable[e.axis]+i;!e.elastic&&t.outOfBounds(o)&&(o=Math.max(Math.min(o,t.max),t.min),e.velocity=0),e.movable.moveAxis(e.axis,o)},_end:function(){this.tapCapture.cancelCapture(),this.end()},_snapBack:function(){var e=this,t=e.dimension,n=e.movable[e.axis]>t.max?t.max:t.min;e._moveTo(n)},_moveTo:function(e){this.transition.moveTo({location:e,duration:500,ease:u.easeOutExpo})}}),y=h.extend({init:function(e){t.effects.Animation.fn.init.call(this),r(this,e,{origin:{},destination:{},offset:{}})},tick:function(){this._updateCoordinates(),this.moveTo(this.origin)},done:function(){return p(this.offset.y)<5&&p(this.offset.x)<5},onEnd:function(){this.moveTo(this.destination),this.callback&&this.callback.call()},setCoordinates:function(e,t){this.offset={},this.origin=e,this.destination=t},setCallback:function(e){e&&t.isFunction(e)?this.callback=e:e=undefined},_updateCoordinates:function(){this.offset={x:(this.destination.x-this.origin.x)/4,y:(this.destination.y-this.origin.y)/4},this.origin={y:this.origin.y+this.offset.y,x:this.origin.x+this.offset.x}}}),w=s.extend({init:function(t){var n=this,i="x"===t.axis,o=e('<div role="scrollbar" aria-controls="'+t.controlsId+'" class="km-touch-scrollbar km-'+(i?"horizontal":"vertical")+'-scrollbar" />');i&&o.attr("aria-orientation","horizontal"),r(n,t,{element:o,elementSize:0,movable:new l(o),scrollMovable:t.movable,alwaysVisible:t.alwaysVisible,size:i?"width":"height"}),n.scrollMovable.bind(v,n.refresh.bind(n)),n.container.append(o),t.alwaysVisible&&n.show()},refresh:function(){var e=this,t=e.axis,n=e.dimension,i=n.size,o=e.scrollMovable,r=i/n.total,a=Math.round(-o[t]*r),s=Math.round(i*r);r>=1?this.element.css("display","none"):this.element.css("display",""),a+s>i?s=i-a:a<0&&(s+=a,a=0),e.elementSize!=s&&(e.element.css(e.size,s+"px"),e.elementSize=s),e._ariaValue(a,n.size-e.elementSize),e.movable.moveAxis(t,a)},show:function(){this.element.css({opacity:.7,visibility:"visible"})},hide:function(){this.alwaysVisible||this.element.css({opacity:0})},_ariaValue:function(e,t){var n=this.element;e>t&&(e=t),n.attr("aria-valuemax",t),n.attr("aria-valuenow",e)}}),k=a.extend({init:function(n,i){var o=this;if(a.fn.init.call(o,n,i),n=o.element,o._native=o.options.useNative&&t.support.hasNativeScrolling,o._native)return n.addClass("km-native-scroller").prepend('<div class="km-scroll-header"/>'),void r(o,{scrollElement:n,fixedContainer:n.children().first()});n.css("overflow","hidden").addClass("km-scroll-wrapper").wrapInner('<div class="km-scroll-container"/>').prepend('<div class="km-scroll-header"/>');var s=n.children().eq(1),u=new t.TapCapture(n),h=new l(s),f=new d({element:s,container:n,forcedEnabled:o.options.zoom}),m=this.options.avoidScrolling,b=new t.UserEvents(n,{touchAction:"pan-y",fastTap:!0,allowSelection:!0,preventDragEvent:!0,captureUpIfMoved:!0,multiTouch:o.options.zoom,supportDoubleTap:o.options.supportDoubleTap,start:function(t){f.refresh();var n=p(t.x.velocity),i=p(t.y.velocity),r=2*n>=i,a=2*i>=n;!e.contains(o.fixedContainer[0],t.event.target)&&!m(t)&&o.enabled&&(f.x.enabled&&r||f.y.enabled&&a)?b.capture():b.cancel()}}),w=new c({movable:h,dimensions:f,userEvents:b,elastic:o.options.elastic}),k=new _({movable:h,dimensions:f,userEvents:b,tapCapture:u}),x=new y({moveTo:function(e){o.scrollTo(e.x,e.y)}});h.bind(v,(function(){o.scrollTop=-h.y,o.scrollLeft=-h.x,o.trigger(g,{scrollTop:o.scrollTop,scrollLeft:o.scrollLeft})})),o.options.mousewheelScrolling&&n.on("DOMMouseScroll mousewheel",this._wheelScroll.bind(this)),r(o,{movable:h,dimensions:f,zoomSnapBack:k,animatedScroller:x,userEvents:b,pane:w,tapCapture:u,pulled:!1,enabled:!0,scrollElement:s,scrollTop:0,scrollLeft:0,fixedContainer:n.children().first()}),o._initAxis("x"),o._initAxis("y"),o._wheelEnd=function(){o._wheel=!1,o.userEvents.end(0,o._wheelY)},f.refresh(),o.options.pullToRefresh&&o._initPullToRefresh()},_wheelScroll:function(e){if(!e.ctrlKey){this._wheel||(this._wheel=!0,this._wheelY=0,this.userEvents.press(0,this._wheelY)),clearTimeout(this._wheelTimeout),this._wheelTimeout=setTimeout(this._wheelEnd,50);var n=t.wheelDeltaY(e);n&&(this._wheelY+=n,this.userEvents.move(0,this._wheelY)),e.preventDefault()}},makeVirtual:function(){this.dimensions.y.makeVirtual()},virtualSize:function(e,t){this.dimensions.y.virtualSize(e,t)},height:function(){return this.dimensions.y.size},scrollHeight:function(){return this.scrollElement[0].scrollHeight},scrollWidth:function(){return this.scrollElement[0].scrollWidth},options:{name:"Scroller",zoom:!1,pullOffset:140,visibleScrollHints:!1,elastic:!0,useNative:!1,mousewheelScrolling:!0,avoidScrolling:function(){return!1},pullToRefresh:!1,messages:{pullTemplate:"Pull to refresh",releaseTemplate:"Release to refresh",refreshTemplate:"Refreshing"}},events:["pull",g,"resize"],_resize:function(){this._native||this.contentResized()},setOptions:function(e){a.fn.setOptions.call(this,e),e.pullToRefresh&&this._initPullToRefresh()},reset:function(){this._native?this.scrollElement.scrollTop(0):(this.movable.moveTo({x:0,y:0}),this._scale(1))},contentResized:function(){this.dimensions.refresh(),this.pane.x.outOfBounds()&&this.movable.moveAxis("x",this.dimensions.x.min),this.pane.y.outOfBounds()&&this.movable.moveAxis("y",this.dimensions.y.min)},zoomOut:function(){var e=this.dimensions;e.refresh(),this._scale(e.fitScale),this.movable.moveTo(e.centerCoordinates())},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},scrollTo:function(e,n){this._native?(t.scrollLeft(this.scrollElement,p(e)),this.scrollElement.scrollTop(p(n))):(this.dimensions.refresh(),this.movable.moveTo({x:e,y:n}))},animatedScrollTo:function(e,t,n){var i,o;this._native?this.scrollTo(e,t):(i={x:this.movable.x,y:this.movable.y},o={x:e,y:t},this.animatedScroller.setCoordinates(i,o),this.animatedScroller.setCallback(n),this.animatedScroller.start())},pullHandled:function(){var e=this;e.refreshHint.removeClass(m),e.hintContainer.html(e.pullTemplate({})),e.yinertia.onEnd(),e.xinertia.onEnd(),e.userEvents.cancel()},destroy:function(){a.fn.destroy.call(this),this.userEvents&&this.userEvents.destroy()},_scale:function(e){this.dimensions.rescale(e),this.movable.scaleTo(e)},_initPullToRefresh:function(){var e=this;e.dimensions.y.forceEnabled(),e.pullTemplate=t.template(e.options.messages.pullTemplate),e.releaseTemplate=t.template(e.options.messages.releaseTemplate),e.refreshTemplate=t.template(e.options.messages.refreshTemplate),e.scrollElement.prepend('<span class="km-scroller-pull"><span class="km-icon"></span><span class="km-loading-left"></span><span class="km-loading-right"></span><span class="km-template">'+e.pullTemplate({})+"</span></span>"),e.refreshHint=e.scrollElement.children().first(),e.hintContainer=e.refreshHint.children(".km-template"),e.pane.y.bind("change",e._paneChange.bind(e)),e.userEvents.bind("end",e._dragEnd.bind(e))},_dragEnd:function(){var e=this;e.pulled&&(e.pulled=!1,e.refreshHint.removeClass(f).addClass(m),e.hintContainer.html(e.refreshTemplate({})),e.yinertia.freeze(e.options.pullOffset/2),e.trigger("pull"))},_paneChange:function(){var e=this;e.movable.y/.5>e.options.pullOffset?e.pulled||(e.pulled=!0,e.refreshHint.removeClass(m).addClass(f),e.hintContainer.html(e.releaseTemplate({}))):e.pulled&&(e.pulled=!1,e.refreshHint.removeClass(f),e.hintContainer.html(e.pullTemplate({})))},_initAxis:function(e){var n,i=this,o=i.element.attr("id"),r=i.movable,a=i.dimensions[e],s=i.tapCapture,l=i.pane[e];o||(o=t.guid(),i.element.attr("id",o)),n=new w({axis:e,movable:r,dimension:a,container:i.element,alwaysVisible:i.options.visibleScrollHints,controlsId:o}),a.bind(v,(function(){n.refresh()})),l.bind(v,(function(){n.show()})),i[e+"inertia"]=new b({axis:e,paneAxis:l,movable:r,tapCapture:s,userEvents:i.userEvents,dimension:a,elastic:i.options.elastic,friction:i.options.friction||.96,velocityMultiplier:i.options.velocityMultiplier||10,end:function(){n.hide(),i.trigger("scrollEnd",{axis:e,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft})}})}});o.plugin(k)}(window.kendo.jQuery);kendo;kendo.jQuery;!function(e,t){var n=window.kendo,i=n.ui,o=n.htmlEncode,r=i.Widget,a=i.DataBoundWidget,s=/^\d+(\.\d+)?%$/i,l="k-list-item",c="k-table-row",d="k-list-item-group-label",u="k-selected",h="k-focus",p="k-hover",f="change",m="click",v="listBound",g="itemChange",_="activate",b="deactivate",y=".k-table-group-row",w=".VirtualList";function k(e){return e[e.length-1]}function x(e){return e instanceof Array?e:[e]}function C(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}function z(e,t,n){var i=document.createElement(n||"div");return t&&(i.className=t),e.appendChild(i),i}function S(i,o,r){var a=r.template,l=this.options.columns&&this.options.columns.length,c=o.index%2==1?"k-table-alt-row":"";if(i=e(i),o.item||(a=r.placeholderTemplate),0===o.index&&this.header&&o.group&&this.header.html(r.fixedGroupTemplate(o.group)),i.attr("data-uid",o.item?o.item.uid:"").attr("data-offset-index",o.index),l&&o.item){c.length>0?i.addClass(c):i.removeClass("k-table-alt-row");let t=e(function(e,t,i){for(var o="",r=0;r<e.columns.length;r++){var a=e.columns[r].width,l=parseInt(a,10),c="";if(a){let e=`${l}${s.test(a)?"%":"px"}`;c=`${n.attr("style-width")}="${e}" ${n.attr("style-max-width")}="${e}"`}o+="<span class='k-table-td' "+c+">",o+=i["column"+r](t),o+="</span>"}return o}(this.options,o.item,r));n.applyStylesFromKendoAttributes(t,["width","max-width"]),i.empty().append(t)}else i.find("."+d).remove(),i.find(".k-list-item-text").html(a(o.item||{}));i.toggleClass(h,o.current),i.toggleClass(u,o.selected),i.toggleClass("k-first",o.newGroup),i.toggleClass("k-last",o.isLastGroupedItem),i.toggleClass("k-loading-item",!o.item),0!==o.index&&o.newGroup?l?e('<span class="k-table-td k-table-group-td"><span>'+r.groupTemplate(o.group)+"</span></span>").appendTo(i):e("<div class="+d+"></div>").appendTo(i).html(r.groupTemplate(o.group)):o.group&&l&&i.append(e('<span class="k-table-td k-table-spacer-td"></span>')),o.top!==t&&function(e,t){e.style.webkitTransform="translateY("+t+"px)",e.style.transform="translateY("+t+"px)"}(i[0],o.top)}function T(e){return e&&"resolved"!==e.state()}var M=a.extend({init:function(t,i){var o,a,s,l=this,c=i.columns&&i.columns.length?"k-table-body k-table-scroller":"k-list-content k-virtual-content";l.bound(!1),l._fetching=!1,r.fn.init.call(l,t,i),l.options.itemHeight||(l.options.itemHeight=(o=i.listSize,(s=e('<div class="k-list '+o+' k-virtual-list"><div class="k-list-content k-virtual-content"><ul class="k-list-ul"><li class="k-list-item"><span class="k-list-item-text">test</span></li></ul></div></div>')).css({position:"absolute",left:"-200000px",visibility:"hidden"}),s.appendTo(document.body),a=parseFloat(n.getComputedStyles(s.find(".k-list-item")[0],["height"]).height),s.remove(),a)),i=l.options,l.element.attr("role","listbox");var d="."+c.split(" ").join("."),u=l.element.closest(d);if(l.content=l.wrapper=u.length?u:l.element.wrap("<div unselectable='on' class='"+c+"'></div>").parent(),l.options.columns&&l.options.columns.length){var h=l.element.closest(".k-data-table").find(".k-table-thead"),f=e('<tr class="k-table-group-row"><th class="k-table-th" colspan="'+l.options.columns.length+'"></th></tr>');h.append(f),l.header=f.find(".k-table-th"),l.element.addClass("k-table-list k-virtual-table")}else l.header=l.content.before("<div class='k-list-group-sticky-header'></div>").prev(),l.element.addClass("k-list-ul");i.ariaLabel?this.element.attr("aria-label",i.ariaLabel):i.ariaLabelledBy&&this.element.attr("aria-labelledby",i.ariaLabelledBy),l.element.on("mouseenter"+w,"li:not(.k-loading-item)",(function(){e(this).addClass(p)})).on("mouseleave"+w,"li",(function(){e(this).removeClass(p)})),l._values=x(l.options.value),l._selectedDataItems=[],l._selectedIndexes=[],l._rangesList={},l._promisesList=[],l._optionID=n.guid(),l._templates(),l.setDataSource(i.dataSource),l.content.on("scroll"+w,n.throttle((function(){l._renderItems(),l._triggerListBound()}),i.delay)),l._selectable()},options:{name:"VirtualList",autoBind:!0,delay:100,height:null,listScreens:4,threshold:.5,itemHeight:null,oppositeBuffer:1,type:"flat",selectable:!1,value:[],dataValueField:null,template:e=>o(e),placeholderTemplate:()=>"loading...",groupTemplate:e=>o(e),fixedGroupTemplate:e=>o(e),mapValueTo:"index",valueMapper:null,ariaLabel:null,ariaLabelledBy:null},events:[f,m,v,g,_,b],setOptions:function(e){var t=this.options.columns&&this.options.columns.length?c:l;r.fn.setOptions.call(this,e),this._selectProxy&&!1===this.options.selectable?this.element.off(m,"."+t,this._selectProxy):!this._selectProxy&&this.options.selectable&&this._selectable(),this._templates(),this.refresh()},items:function(){return e(this._items)},destroy:function(){this.wrapper.off(w),this.dataSource.unbind(f,this._refreshHandler),r.fn.destroy.call(this)},setDataSource:function(e){var t,i=this,o=e||{};o=Array.isArray(o)?{data:o}:o,o=n.data.DataSource.create(o),i.dataSource?(i.dataSource.unbind(f,i._refreshHandler),i._clean(),i.bound(!1),i._deferValueSet=!0,t=i.value(),i.value([]),i.mute((function(){i.value(t)}))):i._refreshHandler=i.refresh.bind(i),i.dataSource=o.bind(f,i._refreshHandler),i.setDSFilter(o.filter()),0!==o.view().length?i.refresh():i.options.autoBind&&o.fetch()},skip:function(){return this.dataSource.currentRangeStart()},_triggerListBound:function(){var e=this,t=e.skip();e.bound()&&!e._selectingValue&&e._skip!==t&&(e._skip=t,e.trigger(v))},_getValues:function(t){var n=this._valueGetter;return e.map(t,(function(e){return n(e)}))},_highlightSelectedItems:function(){for(var e=0;e<this._selectedDataItems.length;e++){var t=this._getElementByDataItem(this._selectedDataItems[e]);t.length&&t.addClass(u)}},refresh:function(e){var t,n=this,i=e&&e.action,o="itemchange"===i,r=this.isFiltered();n._mute||(n._deferValueSet=!1,n._fetching?(n._renderItems&&n._renderItems(!0),n._triggerListBound()):(r&&n.focus(0),n._createList(),i||!n._values.length||r||n.options.skipUpdateOnBind||n._emptySearch?(n.bound(!0),n._highlightSelectedItems(),n._triggerListBound()):(n._selectingValue=!0,n.bound(!0),n.value(n._values,!0).done((function(){n._selectingValue=!1,n._triggerListBound()})))),(o||"remove"===i)&&(t=function(e,t){var n,i,o,r,a=t.length,s=e.length,l=[],c=[];if(s)for(o=0;o<s;o++){for(n=e[o],i=!1,r=0;r<a;r++)if(n===t[r]){i=!0,l.push({index:o,item:n});break}i||c.push(n)}return{changed:l,unchanged:c}}(n._selectedDataItems,e.items)).changed.length&&(o?n.trigger("selectedItemChange",{items:t.changed}):n.value(n._getValues(t.unchanged))),n._fetching=!1)},removeAt:function(e){var t=this._values.splice(e,1)[0];return{position:e,dataItem:this._removeSelectedDataItem(t)}},_removeSelectedDataItem:function(e){var t=this,n=t._valueGetter;for(var i in t._selectedDataItems)if(n(t._selectedDataItems[i])===e)return t._selectedIndexes.splice(i,1),t._selectedDataItems.splice(i,1)[0]},setValue:function(e){this._values=x(e)},value:function(n,i){var o=this;return n===t?o._values.slice():(null===n&&(n=[]),n=x(n),o._valueDeferred&&"resolved"!==o._valueDeferred.state()||(o._valueDeferred=e.Deferred()),!("multiple"===o.options.selectable&&o.select().length&&n.length)&&n.length||o.select(-1),o._values=n,(o.bound()&&!o._mute&&!o._deferValueSet||i)&&o._prefetchByValue(n),o._valueDeferred)},_checkValuesOrder:function(e){if(this._removedAddedIndexes&&this._removedAddedIndexes.length===e.length){var t=this._removedAddedIndexes.slice();return this._removedAddedIndexes=null,t}return e},_prefetchByValue:function(e){for(var t,n=this,i=n._dataView,o=n._valueGetter,r=n.options.mapValueTo,a=[],s=0;s<e.length;s++)for(var l=0;l<i.length;l++)(t=i[l].item)&&(C(t)?e[s]===t:e[s]===o(t))&&a.push(i[l].index);if(a.length===e.length)return n._values=[],void n.select(a);if("function"==typeof n.options.valueMapper){const t="index"===r?n.mapValueToIndex:n.mapValueToDataItem;n.options.valueMapper(function(e,t,n){return{value:"multiple"===e.selectable||e.checkboxes?t:t[0],success:function(e){n(e)}}}(this.options,e,t.bind(n)))}else n.value()[0]?(n._selectingValue=!1,n._triggerListBound()):n.select([-1])},mapValueToIndex:function(e){if((e=e===t||-1===e||null===e?[]:x(e)).length){var n=this._deselect([]).removed;n.length&&this._triggerChange(n,[])}else e=[-1];this.select(e)},mapValueToDataItem:function(n){var i,o;if((n=n===t||null===n?[]:x(n)).length){i=e.map(this._selectedDataItems,(function(e,t){return{index:t,dataItem:e}})),o=e.map(n,(function(e,t){return{index:t,dataItem:e}})),this._selectedDataItems=n,this._selectedIndexes=[];for(var r=0;r<this._selectedDataItems.length;r++){var a=this._getElementByDataItem(this._selectedDataItems[r]);this._selectedIndexes.push(this._getIndecies(a)[0]),a.addClass(u)}this._triggerChange(i,o),this._valueDeferred&&this._valueDeferred.resolve()}else this.select([-1])},deferredRange:function(t){var n=this.dataSource,i=this.itemCount,o=this._rangesList,r=e.Deferred(),a=[],s=Math.floor(t/i)*i,l=Math.ceil(t/i)*i,c=l===s?[l]:[s,l];return e.each(c,(function(t,r){var s,l=r+i,c=o[r];c&&c.end===l?s=c.deferred:(s=e.Deferred(),o[r]={end:l,deferred:s},n._multiplePrefetch(r,i,(function(){s.resolve()}))),a.push(s)})),e.when.apply(e,a).done((function(){r.resolve()})),r},prefetch:function(t){var n=this,i=this.itemCount,o=!n._promisesList.length;return T(n._activeDeferred)||(n._activeDeferred=e.Deferred(),n._promisesList=[]),e.each(t,(function(e,t){n._promisesList.push(n.deferredRange(n._getSkip(t,i)))})),o&&e.when.apply(e,n._promisesList).done((function(){n._promisesList=[],n._activeDeferred.resolve()})),n._activeDeferred},_findDataItem:function(e,t){var n;if("group"===this.options.type)for(var i=0;i<e.length;i++){if(!((n=e[i].items).length<=t))return n[t];t-=n.length}return e[t]},_getRange:function(e,t){return this.dataSource._findRange(e,Math.min(e+t,this.dataSource.total()))},dataItemByIndex:function(t){var i=this,o=i.itemCount,r=i._getSkip(t,o),a=this._getRange(r,o);return i._getRange(r,o).length?("group"===i.options.type&&(n.ui.progress(e(i.wrapper),!0),i.mute((function(){i.dataSource.range(r,o,(function(){n.ui.progress(e(i.wrapper),!1)})),a=i.dataSource.view()}))),i._findDataItem(a,[t-r])):null},selectedDataItems:function(){return this._selectedDataItems.slice()},scrollWith:function(e){this.content.scrollTop(this.content.scrollTop()+e)},scrollTo:function(e){this.content.scrollTop(e)},scrollToIndex:function(e){this.scrollTo(e*this.options.itemHeight)},focus:function(n){var i,o,r,a,s=this.options.itemHeight,l=this._optionID,c=!0;if(n===t)return(a=this.element.find("."+h)).length?a:null;if("function"==typeof n){r=this.dataSource.flatView();for(var d=0;d<r.length;d++)if(n(r[d])){n=d;break}}if(n instanceof Array&&(n=k(n)),isNaN(n)?(i=e(n),o=parseInt(e(i).attr("data-offset-index"),10)):(o=n,i=this._getElementByIndex(o)),-1===o)return this.element.find("."+h).removeClass(h),void(this._focusedIndex=t);if(i.length){i.hasClass(h)&&(c=!1),this._focusedIndex!==t&&((a=this._getElementByIndex(this._focusedIndex)).removeClass(h).removeAttr("id"),c&&this.trigger(b)),this._focusedIndex=o,i.addClass(h).attr("id",l);var u=this._getElementLocation(o);"top"===u?this.scrollTo(o*s):"bottom"===u?this.scrollTo(o*s+s-this._screenHeight):"outScreen"===u&&this.scrollTo(o*s),c&&this.trigger(_)}else this._focusedIndex=o,this.items().removeClass(h),this.scrollToIndex(o)},focusIndex:function(){return this._focusedIndex},focusFirst:function(){this.scrollTo(0),this.focus(0)},focusLast:function(){var e=this.dataSource.total();this.scrollTo(this.heightContainer.offsetHeight),this.focus(e-1)},focusPrev:function(){var e,t=this._focusedIndex;return!isNaN(t)&&t>0?(t-=1,this.focus(t),(e=this.focus())&&e.hasClass("k-loading-item")&&(t+=1,this.focus(t)),t):(t=this.dataSource.total()-1,this.focus(t),t)},focusNext:function(){var e,t=this._focusedIndex,n=this.dataSource.total()-1;return!isNaN(t)&&t<n?(t+=1,this.focus(t),(e=this.focus())&&e.hasClass("k-loading-item")&&(t-=1,this.focus(t)),t):(t=0,this.focus(t),t)},_triggerChange:function(e,t){t=t||[],((e=e||[]).length||t.length)&&this.trigger(f,{removed:e,added:t})},select:function(n){var i,o,r,a,s,l=this,c="multiple"!==l.options.selectable,d=T(l._activeDeferred),u=this.isFiltered(),h=[];if(n===t)return l._selectedIndexes.slice();if(l._selectDeferred&&"resolved"!==l._selectDeferred.state()||(l._selectDeferred=e.Deferred()),i=l._getIndecies(n),r=c&&!u&&k(i)===k(this._selectedIndexes),(h=l._deselectCurrentValues(i)).length||!i.length||r)return l._triggerChange(h),l._valueDeferred&&l._valueDeferred.resolve().promise(),l._selectDeferred.resolve().promise();1===i.length&&-1===i[0]&&(i=[]),o=i,s=l._deselect(i),h=s.removed,i=s.indices,c&&(d=!1,i.length&&(i=[k(i)]));var p=function(){var e=l._select(i);(o.length===i.length||c)&&l.focus(i),l._triggerChange(h,e),l._valueDeferred&&l._valueDeferred.resolve(),l._selectDeferred.resolve()};return a=l.prefetch(i),d||(a?a.done(p):p()),l._selectDeferred.promise()},bound:function(e){if(e===t)return this._listCreated;this._listCreated=e},mute:function(e){this._mute=!0,e(),this._mute=!1},setDSFilter:function(t){this._lastDSFilter=e.extend({},t)},isFiltered:function(){return this._lastDSFilter||this.setDSFilter(this.dataSource.filter()),!n.data.Query.compareFilters(this.dataSource.filter(),this._lastDSFilter)},skipUpdate:e.noop,_getElementByIndex:function(t){return this.items().filter((function(n,i){return t===parseInt(e(i).attr("data-offset-index"),10)}))},_getElementByDataItem:function(t){for(var n,i=this._dataView,o=this._valueGetter,r=0;r<i.length;r++)if(i[r].item&&C(i[r].item)?i[r].item===t:i[r].item&&t&&o(i[r].item)==o(t)){n=i[r];break}return n?this._getElementByIndex(n.index):e()},_clean:function(){this.result=t,this._lastScrollTop=t,this._skip=t,e(this.heightContainer).remove(),this.heightContainer=t,this.element.empty()},_height:function(){var e=!!this.dataSource.view().length,t=this.options.height,n=this.options.itemHeight,i=this.dataSource.total();return e?t/n>i&&(t=i*n):t=0,t},setScreenHeight:function(){var e=this._height();this.content.height(e),this._screenHeight=e},screenHeight:function(){return this._screenHeight},_getElementLocation:function(e){var t=this.content.scrollTop(),n=this._screenHeight,i=this.options.itemHeight,o=e*i,r=o+i,a=t+n;return o===t-i||r>t&&o<t?"top":o===a||o<a&&a<r?"bottom":o>=t&&o<=t+(n-i)?"inScreen":"outScreen"},_templates:function(){var e=this.options,t={template:e.template,placeholderTemplate:e.placeholderTemplate,groupTemplate:e.groupTemplate,fixedGroupTemplate:e.fixedGroupTemplate};for(var i in e.columns&&e.columns.forEach(((e,i)=>{var r=e.field?e.field.toString():"text";t["column"+i]=e.template||(e=>o(n.getter(r)(e)))})),t)"function"!=typeof t[i]&&(t[i]=n.template(t[i]||""));this.templates=t},_generateItems:function(e,t){for(var n,i,o=[],r=this.options.itemHeight+"px",a=this.options.columns&&this.options.columns.length?c:l;t-- >0;)(i=document.createElement("span")).className="k-list-item-text",(n=document.createElement("li")).tabIndex=-1,n.className=a,n.setAttribute("role","option"),n.style.height=r,n.style.minHeight=r,n.appendChild(i),e.appendChild(n),o.push(n);return o},_saveInitialRanges:function(){var t=this.dataSource._ranges,n=e.Deferred();n.resolve(),this._rangesList={};for(var i=0;i<t.length;i++)this._rangesList[t[i].start]={end:t[i].end,deferred:n}},_createList:function(){var e,t,n,i,o,r,a=this,s=a.content.get(0),l=a.options,c=a.dataSource;a.bound()&&a._clean(),a._saveInitialRanges(),a._buildValueGetter(),a.setScreenHeight(),a.itemCount=(e=a._screenHeight,t=l.listScreens,n=l.itemHeight,Math.ceil(e*t/n)),a.itemCount>c.total()&&(a.itemCount=c.total()),a._items=a._generateItems(a.element[0],a.itemCount),a._setHeight(l.itemHeight*c.total()),a.options.type=(c.group()||[]).length?"group":"flat","flat"===a.options.type?a.header.closest(y).length?a.header.closest(y).hide():a.header.hide():a.header.closest(y).length?a.header.closest(y).show():a.header.show(),a.getter=a._getter((function(){a._renderItems(!0)})),a._onScroll=function(e,t){var n=a._listItems(a.getter);return a._fixedHeader(e,n(e,t))},a._renderItems=a._whenChanged((o=s,r=a._onScroll,function(e){return r(o.scrollTop,e)}),(i=a._reorderList(a._items,S.bind(a)),function(e,t){return i(e.items,e.index,t),e})),a._renderItems(),a._calculateGroupPadding(a._screenHeight),a._calculateColumnsHeaderPadding()},_setHeight:function(e){var t,n=this.heightContainer;if(n?t=n.offsetHeight:n=this.heightContainer=z(this.content[0],"k-height-container"),e!==t)for(n.innerHTML="";e>0;){var i=Math.min(e,25e4);z(n).style.height=i+"px",e-=i}},_getter:function(){var e=null,t=this.dataSource,n=t.skip(),i=this.options.type,o=this.itemCount,r={};return t.pageSize()<o&&this.mute((function(){t.pageSize(o)})),function(a,s){var l=this;if(t.inRange(s,o)){var c;if(n!==s&&this.mute((function(){t.range(s,o),n=s})),"group"===i){if(!r[s])for(var d=r[s]=[],u=t.view(),h=0,p=u.length;h<p;h++)for(var f=u[h],m=0,v=f.items.length;m<v;m++)d.push({item:f.items[m],group:f.value});c=r[s][a-s]}else c=t.view()[a-s];return c}return e!==s&&(e=s,n=s,l._getterDeferred&&l._getterDeferred.reject(),l._getterDeferred=l.deferredRange(s),l._getterDeferred.then((function(){var e=l._indexConstraint(l.content[0].scrollTop);l._getterDeferred=null,s<=e&&e<=s+o&&(l._fetching=!0,t.range(s,o))}))),null}},_fixedHeader:function(e,t){var n=this.currentVisibleGroup,i=this.options.itemHeight,o=Math.floor((e-t.top)/i),r=t.items[o];if(r&&r.item){var a=r.group;if(a!==n){var s=a||"";this.header.html(this.templates.fixedGroupTemplate(s)),this.currentVisibleGroup=a}}return t},_itemMapper:function(e,t,n){var i=this.options.type,o=this.options.itemHeight,r=this._focusedIndex,a=!1,s=!1,l=!1,c=null,d=this._valueGetter;if("group"===i&&(e&&(l=0===t||!1!==this._currentGroup&&this._currentGroup!==e.group,this._currentGroup=e.group),c=e?e.group:null,e=e?e.item:null),"dataItem"===this.options.mapValueTo&&this._selectedDataItems.length&&e){for(var u=0;u<this._selectedDataItems.length;u++)if(d(this._selectedDataItems[u])===d(e)){a=!0;break}}else if(!this.isFiltered()&&n.length&&e)for(var h=0;h<n.length;h++)if(C(e)?n[h]===e:n[h]===d(e)){n.splice(h,1),a=!0;break}return r===t&&(s=!0),{item:e||null,group:c,newGroup:l,selected:a,current:s,index:t,top:t*o}},_range:function(e){var t,n=this.itemCount,i=this._values.slice(),o=[];this._view={},this._currentGroup=!1;for(var r=e,a=e+n;r<a;r++)t=this._itemMapper(this.getter(r,e),r,i),o[o.length-1]&&(o[o.length-1].isLastGroupedItem=t.newGroup),o.push(t),this._view[t.index]=t;return this._dataView=o,o},_getDataItemsCollection:function(e,t){var n=this._range(this._listIndex(e,t));return{index:n.length?n[0].index:0,top:n.length?n[0].top:0,items:n}},_listItems:function(){var e=this._screenHeight,t=function(e,t){var n=(e.listScreens-1-e.threshold)*t,i=e.threshold*t;return function(e,t,o){return t>o?t-e.top<n:0===e.top||t-e.top>i}}(this.options,e);return function(e,n){var i=this.result,o=this._lastScrollTop;return!n&&i&&t(i,e,o)||(i=this._getDataItemsCollection(e,o)),this._lastScrollTop=e,this.result=i,i}.bind(this)},_whenChanged:function(e,t){var n;return function(i){var o=e(i);o!==n&&(n=o,t(o,i))}},_reorderList:function(t,i){var o,r,a=this,s=t.length,l=-1/0;return i=(o=i,r=this.templates,function(t,i){for(var a=0,s=t.length;a<s;a++)o(t[a],i[a],r),i[a].item&&this.trigger(g,{item:e(t[a]),data:i[a].item,ns:n.ui})}).bind(this),function(e,n,o){var r,c,d=n-l;o||Math.abs(d)>=s?(r=t,c=e):(r=function(e,t){var n;return t>0?(n=e.splice(0,t),e.push.apply(e,n)):(n=e.splice(t,-t),e.unshift.apply(e,n)),n}(t,d),c=d>0?e.slice(-d):e.slice(0,-d)),i(r,c,a.bound()),l=n}},_bufferSizes:function(){var e,t,n,i=this.options;return e=this._screenHeight,t=i.listScreens,n=i.oppositeBuffer,{down:e*n,up:e*(t-1-n)}},_indexConstraint:function(e){var t=this.itemCount,n=this.options.itemHeight,i=this.dataSource.total();return Math.min(Math.max(i-t,0),Math.max(0,Math.floor(e/n)))},_listIndex:function(e,t){var n,i=this._bufferSizes();return n=e-(e>t?i.down:i.up),this._indexConstraint(n)},_selectable:function(){var e=this.options.columns&&this.options.columns.length?c:l;this.options.selectable&&(this._selectProxy=this._clickHandler.bind(this),this.element.on(m+w,"."+e,this._selectProxy))},getElementIndex:function(e){return e instanceof jQuery?parseInt(e.attr("data-offset-index"),10):t},_getIndecies:function(e){var t,n=[];if("function"==typeof e){t=this.dataSource.flatView();for(var i=0;i<t.length;i++)if(e(t[i])){n.push(i);break}}"number"==typeof e&&n.push(e);var o=this.getElementIndex(e);return isNaN(o)||n.push(o),e instanceof Array&&(n=e),n},_deselect:function(n){var i,o,r,a=[],s=this._selectedIndexes,l=this._selectedDataItems,c=0,d=this.options.selectable,h=0,p=this._valueGetter,f=null;if(n=n.slice(),!0!==d&&n.length){if("multiple"===d){let d=0;for(;d<n.length;){if(f=null,c=e.inArray(n[d],s),o=this.dataItemByIndex(n[d]),-1===c&&o)for(var m=0;m<l.length;m++)(C(o)?l[m]===o:p(l[m])===p(o))&&(r=this._getElementByIndex(n[d]),f=this._deselectSingleItem(r,m,n[d],h));else(i=s[c])!==t&&(r=this._getElementByIndex(i),f=this._deselectSingleItem(r,c,i,h));f&&(n.splice(d,1),a.push(f),h++,d--),d++}}}else{for(var v=0;v<s.length;v++)s[v]!==t?this._getElementByIndex(s[v]).removeClass(u):l[v]&&this._getElementByDataItem(l[v]).removeClass(u),a.push({index:s[v],position:v,dataItem:l[v]});this._values=[],this._selectedDataItems=[],this._selectedIndexes=[]}return{indices:n,removed:a}},_deselectSingleItem:function(e,t,n,i){if(e.hasClass(u))return e.removeClass(u),this._values.splice(t,1),this._selectedIndexes.splice(t,1),{index:n,position:t+i,dataItem:this._selectedDataItems.splice(t,1)[0]}},_deselectCurrentValues:function(t){var n,i,o,r,a=this.element[0].children,s=this._values,l=[],c=0;if("multiple"!==this.options.selectable||!this.isFiltered())return[];if(-1===t[0])return e(a).removeClass(u),l=e.map(this._selectedDataItems.slice(0),(function(e,t){return{dataItem:e,position:t}})),this._selectedIndexes=[],this._selectedDataItems=[],this._values=[],l;for(;c<t.length;c++){for(o=-1,i=t[c],this.dataItemByIndex(i)&&(n=this._valueGetter(this.dataItemByIndex(i))),r=0;r<s.length;r++)if(n==s[r]){o=r;break}o>-1&&(l.push(this.removeAt(o)),e(a[i]).removeClass(u))}return l},_getSkip:function(e,t){return((e<t?1:Math.floor(e/t)+1)-1)*t},_select:function(t){var n,i,o=this,r="multiple"!==this.options.selectable,a=this.dataSource,s=this.itemCount,l=this._valueGetter,c=[];return r&&(o._selectedIndexes=[],o._selectedDataItems=[],o._values=[]),i=a.skip(),e.each(t,(function(e,t){var r=o._getSkip(t,s);o.mute((function(){a.range(r,s),n=o._findDataItem(a.view(),[t-r]),o._selectedIndexes.push(t),o._selectedDataItems.push(n),o._values.push(C(n)?n:l(n)),c.push({index:t,dataItem:n}),o._getElementByIndex(t).addClass(u),a.range(i,s)}))})),o._values=o._checkValuesOrder(o._values),c},_clickHandler:function(t){var n=e(t.currentTarget);!t.isDefaultPrevented()&&n.attr("data-uid")&&this.trigger(m,{item:n})},_buildValueGetter:function(){this._valueGetter=n.getter(this.options.dataValueField)},_calculateGroupPadding:function(e){var t=this.items().first(),i=this.header,o=0;i[0]&&"none"!==i[0].style.display&&("auto"!==e&&(o=n.support.scrollbar()),o+=parseFloat(t.css("border-right-width"),10)+parseFloat(t.children(".k-group").css("right"),10),i.css("padding-right",o))},_calculateColumnsHeaderPadding:function(){if(this.options.columns&&this.options.columns.length){var e=n.support.isRtl(this.wrapper),t=n.support.scrollbar(),i=this.content.parent().parent().find(".k-table-header"),o=this.dataSource.total();i.css(e?"padding-left":"padding-right",o?t:0)}}});n.ui.VirtualList=M,n.ui.plugin(M)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.htmlEncode,o=n.ui,r=n.html,a=o.List,s=o.Select,l=n.caret,c=n.support,u=c.placeholder,h=n._activeElement,p=n.keys,f=".kendoComboBox",m=f+"FocusEvent",v="click"+f,g="mousedown"+f,_="disabled",b="readonly",y="change",w="k-focus",k="k-disabled",x="aria-disabled",C="aria-readonly",z="filter",S="accept",T="rebind",M="mouseenter"+f+" mouseleave"+f,I=/(\r\n|\n|\r)/gm,H=[16,17,18,19,20,33,34,37,39,45,91,92,144,145],D=s.extend({init:function(t,i){var o,r=this;r.ns=f,i=Array.isArray(i)?{dataSource:i}:i,s.fn.init.call(r,t,i),i=r.options,t=r.element.on("focus"+f,r._focusHandler.bind(r)),i.placeholder=i.placeholder||t.attr("placeholder"),i.inputMode=i.inputMode||t.attr("inputmode")||"text",r._reset(),r._wrapper(),r._input(),r._clearButton(),r._tabindex(r.input),r._popup(),r._dataSource(),r._ignoreCase(),r._enable(),r._attachFocusEvents(),r._oldIndex=r.selectedIndex=-1,r._initialIndex=i.index,r.requireValueMapper(r.options),r._initList(),r._cascade(),i.autoBind?r._filterSource():(!(o=i.text)&&r._isSelect&&(o=t.children(":selected").text()),o&&r._setText(o)),o||r._placeholder(),e(r.element).parents("fieldset").is(":disabled")&&r.enable(!1),d({widget:r,wrapper:r.wrapper,options:r.options,prefixInsertBefore:r.input,suffixInsertAfter:r._clear.parent().length?r._clear:r.input}),n.notify(r),r._toggleCloseVisibility(),r._applyCssClasses(),i.label&&r._label(),r._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:e=>i(e),fixedGroupTemplate:e=>i(e),prefixOptions:{separator:!0},suffixOptions:{separator:!0},clearButton:!0,syncValueAndText:!0,autoWidth:!1,popup:null,size:"medium",fillMode:"solid",rounded:"medium",label:null,clearOnEscape:!0,_removeDataItems:!0,_shouldRefresh:!0},events:["open","close",y,"select","filtering","dataBinding","dataBound","cascade","set"],setOptions:function(e){var t=this._listOptions(e);s.fn.setOptions.call(this,e),this.listView.setOptions(t),this._accessors(),this._aria(),this._clearButton()},destroy:function(){var e=this;e.input.off(f),e.input.off(m),e.element.off(f),e.wrapper.off(f),clearTimeout(e._pasteTimeout),e.filterInput&&e.filterInput.off(f),e._arrow.off(v+" "+g),e._clear.off(v+" "+g),s.fn.destroy.call(e)},_popup:function(){s.fn._popup.call(this),this.popup.element.addClass("k-combobox-popup")},_onActionSheetCreate:function(){var e=this;e.filterInput&&(e.filterInput.on("keydown"+f,e._keydown.bind(e)).on("input"+f,e._search.bind(e)).on("paste"+f,e._inputPaste.bind(e)).attr({role:"combobox","aria-expanded":!1}),e.popup.bind("activate",(()=>{e.filterInput.val(e.input.val()),e.filterInput.trigger("focus")})),e.popup.bind("deactivate",(()=>{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 n=e.filterInput&&h()===e.filterInput[0]?e.filterInput:e.input;e._accessor(n.val())}e.options.highlightFirst?(e.listView.value(e.input.val()),e._blur()):e._oldText=e.text()}},_isValueChanged:function(e){return e!==a.unifyType(this._old,typeof e)&&e!==a.unifyType(this._oldText,typeof e)},_change:function(){var e=this,t=e.text(),n=t&&t!==e._oldText&&t!==e.options.placeholder,i=e.selectedIndex,o=-1===i;if(e.filterInput&&h()===e.filterInput[0]&&o&&n&&e.input.val(e.filterInput.val()),!e.options.syncValueAndText&&!e.value()&&o&&n)return e._old="",e._oldIndex=i,e._oldText=t,e._typing||e.element.trigger(y),e.trigger(y),void(e._typing=!1);s.fn._change.call(e),e._oldText=e.text&&e.text(),e._toggleCloseVisibility()},_attachFocusEvents:function(){var e=this;e.input.on("focus"+m,e._inputFocus.bind(e)).on("focusout"+m,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(w),this._placeholder(!1)},_inputFocusout:function(t){var n=this,i=n.value();const o=!e(t.relatedTarget).closest(".k-clear-value").length||!e(t.relatedTarget).is(n._clear)&&e(t.relatedTarget).hasClass("k-clear-value");if(!n.filterInput||t.relatedTarget!==n.filterInput[0]){n._userTriggered=!0,n.wrapper.removeClass(w),clearTimeout(n._typingTimeout),n._typingTimeout=null,o&&n.text(n.text());var r=n._focus(),a=this.listView.dataItemByIndex(this.listView.getElementIndex(r)),s=n.select();i!==n.value()&&-1!==s&&n.trigger("select",{dataItem:a,item:r})?n.value(i):(n._placeholder(),n._valueBeforeCascade=n._old,o&&(n._blur(),n.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,n=e.disable,i=e.readonly,o=t.wrapper.off(f),r=t.element.add(t.input.off(f)),a=t._arrow.off(v+" "+g),s=t._clear;i||n?(o.addClass(n?k:"").removeClass(n?"":k),r.attr(_,n).attr(b,i).attr(x,n).attr(C,i)):(o.removeClass(k).on(M,t._toggleHover),r.prop(_,!1).prop(b,!1).attr(x,!1).attr(C,!1),a.on(v,t._arrowClick.bind(t)).on(g,(function(e){e.preventDefault()})),s.on(v+" touchend"+f,t._clearValue.bind(t)),t.input.on("keydown"+f,t._keydown.bind(t)).on("input"+f,t._search.bind(t)).on("paste"+f,t._inputPaste.bind(t)),t.wrapper.on(v+f,t._focusHandler.bind(t))),t._toggleCloseVisibility()},open:function(){var e=this,t=e._state,n=!!e.dataSource.filter()&&e.dataSource.filter().filters.length>0,i=!e.ul.find(e.listView.focus()).length;e.popup.visible()||(!e.listView.bound()&&t!==z||t===S?(e._open=!0,e._state=T,1!==e.options.minLength&&!n||n&&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():i&&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,n=e.options.text,i=e.options.value;e.listView.isFiltered()||(-1===e.selectedIndex?(n!==t&&null!==n||(n=i),e._accessor(i),e.input.val(n||e.input.val()),e._placeholder()):-1===e._oldIndex&&(e._oldIndex=e.selectedIndex))},_buildOptions:function(e){var n=this;if(n._isSelect){var i=n._customOption;n._state===T&&(n._state=""),n._customOption=t,n._options(e,"",n.value()),i&&i[0].selected&&!n.listView._emptySearch&&n._custom(i.val())}},_updateSelection:function(){var t=this,n=t.listView,i=t._initialIndex,o=null!==i&&i>-1;if(t._state===z)e(n.focus()).removeClass("k-selected");else if(!t._fetch){n.value().length||(o?t.select(i):t._accessor()&&n.value(t._accessor())),t._initialIndex=null;var r=n.selectedDataItems()[0];r&&(t._value(r)!==t.value()?t._custom(t._value(r)):t._value(r)!==t.element[0].value&&t._accessor(t._value(r)),t.text()&&t.text()!==t._text(r)&&t._selectValue(r))}},_updateItemFocus:function(){var e=this.listView;this.options.highlightFirst?e.focus()||e.focusIndex()||e.focus(0):e.focus(-1)},_listBound:function(){var e=this,n=e.input[0]===h()||e.filterInput&&e.filterInput[0]===h(),i=e.dataSource.flatView(),o=e.listView.skip(),r=i.length,a=e.dataSource._group?e.dataSource._group.length:0,s=o===t||0===o;e._presetValue=!1,e._renderFooter(),e._renderNoData(),e._toggleNoData(!r),e._toggleHeader(!!a&&!!r),e._resizePopup(),e.popup.position(),e._buildOptions(i),e._updateSelection(),i.length&&s&&(e._updateItemFocus(),e.options.suggest&&n&&e.input.val()&&e.suggest(i[0])),e._open&&(e._open=!1,e._typingTimeout&&!n?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,n,i;if("function"==typeof e){for(t=this.dataSource.flatView(),i=0;i<t.length;i++)if(e(t[i])){e=i,n=!0;break}n||(e=-1)}return this.dataSource.total()||e||(e=-1),e},_select:function(e,t){var n=this;return-1===(e=n._get(e))&&(n.input[0].value="",n._accessor("")),n.listView.select(e).done((function(){t||n._state!==z||(n._state=S),n._toggleCloseVisibility()}))},_selectValue:function(e){var n=this.listView.select(),i="",o="";(n=n[n.length-1])===t&&(n=-1),this.selectedIndex=n,this.listView.isFiltered()&&-1!==n&&(this._valueBeforeCascade=this._old),-1!==n||e?((e||0===e)&&(i=this._dataValue(e),o=this._text(e)),null===i&&(i="")):(this.options.syncValueAndText?i=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(i!==t?i:o,n),this._placeholder(),this._triggerCascade()},_setDomInputValue:function(e){var t,n=this,i=l(this.input);if(i&&i.length&&(t=i[0]),this._prev=this.input[0].value=e,t&&-1===this.selectedIndex){var o=c.mobileOS;o.wp||o.android?setTimeout((function(){n.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 n,i=this,o=i.input[0],r=i.text(),s=l(o)[0],c=i._last,d=i.dataSource.options.accentFoldingFiltering;c!=p.BACKSPACE&&c!=p.DELETE?("string"!=typeof(e=e||"")&&(e[0]&&(e=i.dataSource.view()[a.inArray(e[0],i.ul[0])]),e=e?i._text(e):""),s<=0&&(s=(d?r.toLocaleLowerCase(d):r.toLowerCase()).indexOf(d?e.toLocaleLowerCase(d):e.toLowerCase())+1),e?(e=e.toString(),(n=(d?e.toLocaleLowerCase(d):e.toLowerCase()).indexOf(d?r.toLocaleLowerCase(d):r.toLowerCase()))>-1&&(r+=e.substring(n+r.length))):r=r.substring(0,s),r.length===s&&e||(o.value=r,o===h()&&l(o,s,r.length))):i._last=t},text:function(e){e=null===e?"":e;var n,i,o=this,r=o.filterInput&&o.filterInput[0]===h()?o.filterInput[0]:o.input[0],s=o.options.ignoreCase,l=e;if(e===t)return r.value;!1!==o.options.autoBind||o.listView.bound()?(n=o.dataItem())&&o._text(n).replace&&o._text(n).replace(I,"")===e&&(i=o._value(n))===a.unifyType(o._old,typeof i)?o._triggerCascade():(s&&(l=l.toLowerCase()),o.dataItem()&&o._text(o.dataItem())===e||(o._select((function(e){return e=o._text(e),s&&(e=(e+"").toLowerCase()),e===l})).done((function(){o.selectedIndex<0&&(r.value=e,o.options.syncValueAndText&&o._accessor(e),o._isValueChanged(e)&&(o._cascadeTriggered=!0,o._triggerCascade()),o._refreshFloatingLabel()),o._prev=r.value})),o._toggleCloseVisibility())):o._setText(e)},toggle:function(e){this._toggle(e,!0)},value:function(e){var n=this,i=n.options,o=n.listView;if(e===t)return(e=n._accessor()||n.listView.value()[0])===t||null===e?"":e;n.requireValueMapper(n.options,e),n.trigger("set",{value:e}),(e!==i.value||n.input.val()!==i.text||n.options.cascadeFrom)&&(n._accessor(e),n._isFilterEnabled()&&o.bound()&&o.isFiltered()?n._clearFilter():n._fetchData(),o.value(e).done((function(){-1!==n.selectedIndex||o._selectedDataItems&&o._selectedDataItems.length||(n._accessor(e),n.input.val(e),n._placeholder(!0)),n._userTriggered?n._old=n._accessor():n._old=n._valueBeforeCascade=n._accessor(),n._oldIndex=n.selectedIndex,n._prev=n._oldText=n.input.val(),n._state===z&&(n._state=S),n._toggleCloseVisibility(),n._refreshFloatingLabel()})))},_click:function(e){var t=this,n=e.item,i=t.listView.dataItemByIndex(t.listView.getElementIndex(n)),o=!0;e.preventDefault(),i&&((o=t._value(i)!==a.unifyType(t.value(),typeof t._value(i)))||t.input.val(t._text(i))),o&&t.trigger("select",{dataItem:i,item:n})?t.close():(t._userTriggered=!0,t._select(n).done((function(){t._blur()})))},_syncValueAndText:function(){return this.options.syncValueAndText},_inputValue:function(){return this.text()},_searchByWord:function(e){var n=this,i=n.options,o=n.dataSource,r=i.ignoreCase;if(r&&(e=e.toLowerCase()),n.ul[0].firstChild){this.listView.focus(this._get((function(i){var o=n._text(i);if(o!==t)return(""==(o+="")||""!==e)&&(r&&(o=o.toLowerCase()),0===o.indexOf(e))})));var a=this.listView.focus();a&&(i.suggest&&n.suggest(a),this.open()),this.options.highlightFirst&&!e&&this.listView.focusFirst()}else o.one(y,(function(){o.view()[0]&&n.search(e)})).fetch()},_input:function(){var e,t,i,o=this,a=o.element.removeClass("k-input-inner")[0],s=a.accessKey,l=o.wrapper,c="input.k-input-inner",d=a.name||"",h=o.options;d&&(d='name="'+d+'_input" '),(e=l.find(c))[0]||(i=r.renderButton('<button type="button" class="k-input-button" aria-label="expand combobox"></button>',{icon:"caret-alt-down",size:h.size,fillMode:h.fillMode,shape:"none",rounded:"none"}),l.append("<input "+d+'class="k-input-inner" type="text" autocomplete="off"/>').append(i).append(o.element),e=l.find(c)),e[0].style.cssText=a.style.cssText,e[0].title=a.title,(t=parseInt(this.element.prop("maxlength")||this.element.attr("maxlength"),10))>-1&&(e[0].maxLength=t),e.addClass(a.className).css({width:"",height:a.style.height,position:""}).attr({role:"combobox","aria-expanded":!1,inputmode:h.inputMode}).show(),e.attr(n.attr("skip"),!0),u&&e.attr("placeholder",o.options.placeholder),s&&(a.accessKey="",e[0].accessKey=s),o._focused=o.input=e,o._arrow=l.find(".k-input-button").attr({role:"button",tabIndex:-1}),o._arrowIcon=o._arrow.find(".k-icon, .k-svg-icon")},_clearButton:function(){a.fn._clearButton.call(this),this.options.clearButton&&this._clear.insertAfter(this.input)},_keydown:function(e){var t=this,n=e.keyCode,i=t.options.dataTextField||"text",o=n>=112&&n<=135,r=H.indexOf(n)>-1;if(t._last=n,clearTimeout(t._typingTimeout),t._typingTimeout=null,n===p.HOME)t._firstItem();else if(n===p.END)t._lastItem();else if(n===p.ENTER||n===p.TAB&&t.popup.visible()){var s=t.listView.focus(),l=t.dataItem(),c=!0;if(t.popup.visible()||l&&t.text()===t._text(l)||(s=null),s){if(t.popup.visible()&&e.preventDefault(),(l=t.listView.dataItemByIndex(t.listView.getElementIndex(s)))&&(c=t._value(l)!==a.unifyType(t.value(),typeof t._value(l))),c&&t.trigger("select",{dataItem:l,item:s}))return;t._userTriggered=!0,t._select(s).done((function(){t._blur(),t._valueBeforeCascade=t._old=t.value()}))}else{if((t._syncValueAndText()||t._isSelect)&&(!t.dataItem()||t.dataItem()[i]!==t.input.val())){var d=t.filterInput&&h()===t.filterInput[0]?t.filterInput:t.input;t._accessor(d.val())}t.options.highlightFirst?(t.listView.value(t.input.val()),t._blur()):t._oldText=t.text()}}else n==p.TAB||t._move(e)||r||o||e.ctrlKey?t.options.clearOnEscape&&n===p.ESC&&!t.popup.visible()&&t.text()&&t._clearValue():t._search()},_placeholder:function(e){if(!u){var n,i=this,o=i.input,r=i.options.placeholder;if(r){if(n=i.value(),e===t&&(e=!n),o.toggleClass("k-readonly",e),!e){if(n)return;r=""}o.val(r),r||o[0]!==h()||l(o[0],0,0)}}},_search:function(){var e=this;clearTimeout(e._typingTimeout),e._typingTimeout=setTimeout((function(){var n=e.text();""!==n&&e._prev!==n?(e._prev=n,"none"===e.options.filter&&e.options.virtual&&e.listView.select(-1),e.search(n),e._toggleCloseVisibility()):""===n&&""!==e._prev&&e._prev!==t&&(e._clearValue(),e._open=!0,e._state=T),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 n=e.value(),i=n&&-1===e.selectedIndex;-1==this.selectedIndex&&this.value()||(t||!n||i)&&(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]===h()?e.filterInput:e.input;s.fn._clearValue.call(this),t.trigger("focus")}});o.plugin(D),n.cssProperties.registerPrefix("ComboBox","k-input-"),n.cssProperties.registerValues("ComboBox",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery);kendo;!function(e,t){let n=window.kendo,i=n.ui.Widget,o=n.support,r=Math.abs,a="aria-selected",s="k-selected",l="k-selecting",c="change",d="changing",u="unselect",h="k-unselecting",p="k-hover",f="k-range-mid",m="k-range-split-end",v="k-range-split-start",g="k-range-start",_="k-range-end",b="start",y="end",w="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",k=w.replaceAll("k-i","k-svg-i"),x=k.split(",").map((e=>e+" *")).join(","),C=`input,a,textarea,.k-multiselect-wrap,select,button,${w},${k},${x},.k-button>span,.k-button>span *,.k-button>img,label.k-checkbox-label.k-no-text,span.k-numeric-wrap,.k-focusable`,z=n.support.browser.msie,S=!1,T=e.extend;!function(e){e('<div class="parent"><span></span></div>').on("click",">*",(function(){S=!0})).find("span").trigger("click").end().off()}(e);const M=i.extend({init:function(t,o){let r,a,s,l=this;i.fn.init.call(l,t,o),s=l.selectableClass=l.options.selectableClass||"k-selectable",l._marquee=e("<div class='k-marquee'><div class='k-marquee-color'></div></div>"),l._lastActive=null,l.element.addClass(s),l.relatedTarget=l.options.relatedTarget,r=l.options.multiple,a=l.options.dragToSelect,l.userEvents=new n.UserEvents(l.element,{global:!0,allowSelection:!0,filter:(S?"":"."+s+" ")+l.options.filter,tap:l._tap.bind(l),touchAction:r?"none":"pan-x pan-y"}),r&&(a&&l.userEvents.bind("hold",l._hold.bind(l)).bind("start",l._start.bind(l)).bind("move",l._move.bind(l)).bind("end",l._end.bind(l)),l.userEvents.bind("select",l._select.bind(l)))},events:[c,d,u],options:{name:"Selectable",filter:">*",inputSelectors:C,multiple:!1,holdToDrag:!1,dragToSelect:!0,relatedTarget:e.noop,ignoreOverlapped:!1,addIdToRanges:!1,toggleable:!1,selectableClass:""},_isElement:function(e){var t,n=this.element,i=n.length,o=!1;for(e=e[0],t=0;t<i;t++)if(n[t]===e){o=!0;break}return o},_tap:function(t){let n,i=e(t.target),o=this,r=o.options,a=t.event.ctrlKey||t.event.metaKey,l=o.options.multiple,u=l&&t.event.shiftKey,h=o.options.selectedClass||s,p=t.event.which,f=t.event.button;!o._isElement(i.closest("."+o.selectableClass))||p&&3==p||f&&2==f||this._allowSelection(t.event.target)&&(o.trigger(d,{target:i,originalEvent:t.event})||(n=i.hasClass(h),i=i.add(o.relatedTarget(i)),l?u?(o._lastRange&&H(o._lastRange,i)||(o.selectRange(o._firstSelectee(),i,t),o._notify(c,t)),o._lastRange=i):(o._lastRange=null,n&&(a||r.toggleable)?(o._unselect(i),o._notify(c,t)):a||r.toggleable?(o.value(i,t),o._notify(c,t)):(!n||o.value().length>1)&&(o.clear(),o.value(i,t),o._notify(c,t)),o._lastActive=o._downTarget=i):n&&a?(o._unselect(i),o._notify(c,t)):n||(o.clear(),o.value(i,t),o._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){let n,i=this,o=e(t.target),r=i.options.selectedClass||s,a=o.hasClass(r),l=t.event.ctrlKey||t.event.metaKey;i._isActivated()&&this._allowSelection(t.event.target)&&(i.trigger(d,{target:o,originalEvent:t.event})?i.userEvents.cancel():(i._downTarget=o,i._isElement(o.closest("."+i.selectableClass))?(i.options.useAllItems?i._items=i.element.find(i.options.filter):(n=o.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}),l||i.clear(),o=o.add(i.relatedTarget(o)),a&&(i._selectElement(o,!0),l&&o.addClass(h))):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:r(e.x.initialDelta),height:r(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,o=n.attr("range-selected"),r=n.guid();if(i._isActivated()){i._activated=!1,i._marquee.remove(),i._unselect(i.element.find(i.options.filter+"."+h)).removeClass(h);var a=i.element.find(i.options.filter+"."+l);if(a=a.add(i.relatedTarget(a)),i.options.addIdToRanges)for(var s=0;s<i._currentlyActive.length;s++)e(i._currentlyActive[s]).attr(o,r);i._lastRange&&H(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,o,r,a=this._downTarget[0],c=this._items,d=this.options.selectedClass||s;for(this._currentlyActive=[],n=0,i=c.length;n<i;n++)o=(r=c.eq(n)).add(this.relatedTarget(r)),D(r,e)?(r.hasClass(d)?t&&a!==r[0]&&o.removeClass(d).addClass(h):r.hasClass(l)||r.hasClass(h)||this._collidesWithActiveElement(o,e)||o.addClass(l),this._currentlyActive.push(o[0])):r.hasClass(l)?o.removeClass(l):t&&r.hasClass(h)&&o.removeClass(h).addClass(d)},_collidesWithActiveElement:function(e,t){if(!this.options.ignoreOverlapped)return!1;var i,o=this._currentlyActive,r=e[0].getBoundingClientRect(),a=!1,s=n.support.isRtl(e)?"right":"left",l={};t.right=t.left+t.width,t.bottom=t.top+t.height;for(var c=0;c<o.length;c++)if(E(r,i=o[c].getBoundingClientRect())){if(l[s]="left"===s?i.right:i.left,(r=T({},r,l)).left>r.right)return!0;a=!E(r,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||s));e.each((function(){n(this)}))},selectedRanges:function(){var t=n.attr("range-selected"),i={};return this.element.find("["+t+"]").each((function(n,o){var r=e(o).attr(t),a=i[r];a||(a=i[r]=[]),a.push(e(o))})),i},selectedSingleItems:function(){var t=this,i=n.attr("range-selected");return t.element.find(t.options.filter+"."+(t.options.selectedClass||s)+":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),o=this.options.selectedClass||s,r=!n&&this._notify("select",{element:t});i.removeClass(l),r||(i.addClass(o),this.options.aria&&i.attr(a,!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||s).removeAttr(t),this.options.aria&&e.attr(a,!1),e}},_select:function(t){this._allowSelection(t.event.target)&&(!z||z&&!e(n._activeElement()).is(this.options.inputSelectors))&&this._allowPreventDefault(t.event.target)&&t.preventDefault()},_allowPreventDefault:function(t){return!e(t).is(".k-table-td")||!this.options.allowPaste},_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||s));this._unselect(e)},selectRange:function(t,n){var i,o,r,a=this;for(a.clear(),a.element.length>1&&(r=a.options.continuousItems()),r&&r.length||(r=a.element.find(a.options.filter)),(t=e.inArray(e(t)[0],r))>(n=e.inArray(e(n)[0],r))&&(o=t,t=n,n=o),a.options.useAllItems||(n+=a.element.length-1),i=t;i<=n;i++)a._selectElement(r[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}}),I=i.extend({init:function(e,t){let r,a,s=this;i.fn.init.call(s,e,t),s.widget=t.widget,r=t.ns,a=t.filter,s.userEvents=new n.UserEvents(s.element,{global:!0,allowSelection:!0,filter:s.options.filter,tap:s._tap.bind(s),touchAction:"none"}),o.touch?e.on("touchstart"+r,a,s._mouseEnter.bind(s)).on("touchend"+r+" touchmove"+r,a,s._mouseLeave.bind(s)):e.on("mouseenter"+r,a,s._mouseEnter.bind(s)).on("mouseleave"+r,a,s._mouseLeave.bind(s))},events:[c],options:{name:"RangeSelectable",filter:">*",inputSelectors:C,resetOnStart:!1,multiple:!1,dragToSelect:!0,cellSelector:"*",ns:"",reverse:!1,relatedTarget:e.noop},destroy:function(){let e=this;i.fn.destroy.call(e),e.userEvents.destroy(),e.widget=null,e._lastActive=e.element=e.userEvents=e._start=e._end=null},_allowSelection:function(t){return!e(t).is(this.options.inputSelectors)||(this.userEvents.cancel(),!1)},_mouseEnter:function(t){let n,i=this,o=e(t.currentTarget);o.addClass(p),n=i.widget.selectRange(),i.options.resetOnStart&&n.end||(n.target===b&&i._end&&i.range(o,i._end,!0,i.options.reverse),n.target===y&&i.range(i._start,o,!0,i.options.reverse))},_mouseLeave:function(t){e(t.currentTarget).removeClass(p)},start:function(e,n){if(e===t||null===e)return this._start;e.addClass(s+" "+g).attr(a,!0),n||(this._start=e)},end:function(e,n){if(e===t||null===e)return this._start;e.addClass(s+" "+_).attr(a,!0),n||(this._end=e)},mid:function(t){let n=this.element.find("table"),i=this.options;t.addClass(f).attr(a,!0),n.each((function(){let t=e(this),n=t.find(i.cellSelectorValid).last(),o=t.find(i.cellSelectorValid).first();n.hasClass(f)&&n.addClass(m),o.hasClass(f)&&o.addClass(v)}))},clear:function(e){let t=this.options;this.element.find(t.cellSelector).removeClass(f+" "+m+" "+v),this.clearStartEnd(),e&&(this._start=this._end=null)},clearStartEnd:function(){let e=this.options;this.element.find(e.cellSelector).removeClass(g+" "+s+" "+_).removeAttr(a)},selectFrom:function(t){let n,i,o=this,r=this.options;n=o.element.find(r.cellSelector),i=e.inArray(e(t)[0],n),o.clear(),o.start(t),n=n.filter((function(e){return e>i})),o.mid(n)},selectTo:function(t){let n,i,o=this,r=this.options;n=o.element.find(r.cellSelector),i=e.inArray(e(t)[0],n),o.clear(),n=n.filter((function(e){return e<i})),o.mid(n),o.end(e(t))},range:function(n,i,o,r){let a,s,l,c=this,d=this.options;if(n===t)return{start:c._start,end:c._end};c._clearFlags(),a=c.element.find(d.cellSelector),s=e.inArray(e(n)[0],a),l=e.inArray(e(i)[0],a),(!n||n&&!n.length)&&(c._useStart=!0),c.clear(),n&&c.start(e(n),o),a=a.filter((function(e){if(!(l<0||!n&&s<0))return e>s&&e<l||d.reverse&&e<s&&e>l})),c.mid(a),i?c.end(e(i),o):c._useEnd=!0,s>l&&r&&(c.clearStartEnd(),c.start(e(i),!0),c.end(e(n),!0))},change:function(){this.trigger(c)},_clearFlags:function(){this._useStart=this._useEnd=!1},_tap:function(t){let i=e(t.target),o=this,r=o.widget.selectRange()||{},a=r.start,s=r.end,l=n.calendar.toDateObject(e(i).find("span")),d=o.options,u=d.resetOnStart;if(o._lastActive=i,!a&&!s)return o.clear(!0),r.target===b&&o.start(i),r.target===y&&o.end(i),o._clearFlags(),void o.trigger(c);if(!a&&s)return r.target===y?o.end(i):+l>+r.end&&!d.reverse?(o.clear(!0),o.start(i)):o.range(i,o._end,!1,!0),o.trigger(c),void o._clearFlags();if(a&&!s)return r.target===y&&!d.reverse&&+a>+l?(o.clear(!0),u?o.start(i):o.end(i)):r.target===b?o.start(i):o.range(o._start,i,!1,!0),o.trigger(c),void o._clearFlags();if(a&&s){if(!d.reverse)return+a>+l&&r.target===y?(o.clear(!0),u?(o.start(i),o.end(null),r.target=b):(o.start(null),o.end(i)),void o.trigger(c)):+a<+l&&r.target===b?(+l>+r.end?(o.clear(!0),o.start(i),o.end(null)):o.range(i,o._end),void o.trigger(c)):(r.target===b&&o.range(i,o._end),r.target===y&&o.range(o._start,i),void o.trigger(c));u?r.target===b?o.range(i,o._end,!1,!0):o.range(o._start,i,!1,!0):r.target===b?o.start(i):o.end(i),o.trigger(c)}}});function H(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 D(e,t){if(!e.is(":visible"))return!1;var i=n.getOffset(e),o=t.left+t.width,r=t.top+t.height;return i.right=i.left+n._outerWidth(e),i.bottom=i.top+n._outerHeight(e),!(i.left>o||i.right<t.left||i.top>r||i.bottom<t.top)}function E(e,t){return!(e.right<=t.left||e.left>=t.right||e.bottom<=t.top||e.top>=t.bottom)}M.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,range:n&&n.indexOf("range")>-1,single:n&&n.indexOf("single")>-1}},n.ui.plugin(M),n.ui.plugin(I)}(window.kendo.jQuery);kendo;!function(e,t){let n=window.kendo,i=n.support,o=n.ui,r=o.Widget,a=n.keys,s=n.parseDate,l=n.htmlEncode,c=n.date.adjustDST,d=n.date.weekInYear,u=n.ui.Selectable,h=n.ui.RangeSelectable,p=n._extractFormat,f=n.template,m=n.getCulture,v="transform-origin",g=f((e=>`<td class="${e.cssClass}" role="gridcell"><span tabindex="-1" class="k-link" data-href="#" data-${e.ns}value="${e.dateString}">${e.value}</span></td>`)),_=f((()=>'<td role="gridcell" class="k-calendar-td k-empty"></td>')),b=f((()=>'<td role="gridcell" class="k-calendar-td k-empty"> </td>')),y=f((e=>`<td class="k-calendar-td k-alt">${e.weekNumber}</td>`)),w=n._outerWidth,k=".kendoCalendar",x="click"+k,C="keydown"+k,z="id",S="slideIn",T="month",M="century",I="change",H="navigate",D="value",E="k-disabled",A="k-focus",V="k-other-month",P="k-empty",B="td:has(.k-link)",F="start",O="td:has(.k-link):not(."+E+"):not(."+P+")",L="k-selected",R="blur"+k,N="focus",U=N+k,j=i.touch?"touchstart":"mouseenter",W=i.touch?"touchstart"+k:"mouseenter"+k,$=i.touch?"touchend"+k+" touchmove"+k:"mouseleave"+k,q=864e5,G="_prevArrow",K="_nextArrow",Y="aria-disabled",Q="aria-selected",X="aria-label",Z=e.extend,J=Date,ee={month:0,year:1,decade:2,century:3},te=".k-header, .k-calendar-header";var ne=r.extend({init:function(t,i){var o,a=this;(i=i||{}).componentType=i.componentType||"classic",r.fn.init.call(a,t,i),t=a.wrapper=a.element,(i=a.options).url=n.unescape(i.url),a.options.disableDates=be(a.options.disableDates),a._templates(),a._selectable(),a._header(),a._viewWrapper(),a.options.hasFooter?a._footer(a.footer):(a._today=a.element.find(".k-calendar-nav-today"),a._toggle()),t.addClass("k-calendar k-calendar-md "+(i.weekNumber?" k-week-number":"")).on(W+" "+$,B,fe).on(C,"table.k-calendar-table",a._move.bind(a)).on(x+" touchend",O,(function(t){var n=t.currentTarget.firstChild,i=we(n);-1!=e(n).data("href").indexOf("#")&&t.preventDefault(),"month"==a._view.name&&a.options.disableDates(i)||("month"!=a._view.name||a._isSingleSelection())&&a._click(e(n))})).on("mouseup"+k,"table.k-calendar-table, .k-calendar-footer",(function(){a._focusView(!1!==a.options.focusOnNav)})).attr(z),a.options.weekNumber&&t.on(x,"td:not(:has(.k-link))",(function(t){var n=e(t.currentTarget).closest("tr").find(O).first(),i=e(t.currentTarget).closest("tr").find(O).last();a._isMultipleSelection()&&(a.selectable._lastActive=i,a.selectable.selectRange(n,i),a.selectable.trigger(I,{event:t})),a._isRangeSelection()&&(a.rangeSelectable._lastActive=i,a.rangeSelectable.range(n,i),a.rangeSelectable.change()),a._current=a._value=we(i.find("span")),a._setCurrent(a._current)})),_e(i),o=s(i.value,i.format,i.culture),a._selectDates=[],a._index=ee[i.start],a._current=new J(+le(o,i.min,i.max)),a._addClassProxy=function(){if(a._active=!0,a._cell.hasClass(E)){var e=a._view.toDateString(se());a._cell=a._cellByDate(e)}a._cell.addClass(A)},a._removeClassProxy=function(){a._active=!1,a._cell&&a._cell.removeClass(A)},a.value(o),a._isMultipleSelection()&&i.selectDates.length>0&&a.selectDates(i.selectDates),a._range=i.range,a._isRangeSelection()&&a.selectRange(a._range),n.notify(a)},options:{name:"Calendar",value:null,min:new J(1900,0,1),max:new J(2099,11,31),dates:[],disableDates:null,allowReverse:!1,centuryCellsFormat:"long",url:"",culture:"",footer:"",format:"",month:{},weekNumber:!1,range:{start:null,end:null,target:F},selectable:"single",selectDates:[],start:T,depth:T,size:"medium",showOtherMonthDays:!0,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:[I,H],componentTypes:{classic:{header:{template:({actionAttr:e,size:t,isRtl:i})=>`<div class="k-header k-hstack">\n <span tabindex="-1" data-href="#" ${e}="prev" role="button" class="k-calendar-nav-prev k-button ${t} k-rounded-md k-button-flat k-button-flat-base k-icon-button" ${X}="Previous">${n.ui.icon({icon:"caret-alt-"+(i?"right":"left"),iconClass:"k-button-icon"})}</span></span>\n <span tabindex="-1" data-href="#" ${e}="nav-up" id="`+n.guid()+`" role="button" class="k-calendar-nav-fast k-button ${t} k-rounded-md k-button-flat k-button-flat-base k-flex"></span>\n <span tabindex="-1" data-href="#" ${e}="next" role="button" class="k-calendar-nav-next k-button ${t} k-rounded-md k-button-flat k-button-flat-base k-icon-button" ${X}="Next">${n.ui.icon({icon:"caret-alt-"+(i?"left":"right"),iconClass:"k-button-icon"})}</span>\n </div>`},hasFooter:!0,linksSelector:".k-button",contentClasses:"k-calendar-table"},modern:{header:{template:({actionAttr:e,size:t,messages:i,isRtl:o})=>`<div class="k-calendar-header">\n <button ${e}="nav-up" id="`+n.guid()+`" class="k-calendar-title k-button ${t} k-button-flat k-button-flat-primary 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" ${e}=${o?"next":"prev"} class="k-calendar-nav-prev k-button ${t} k-button-flat k-button-flat-base k-rounded-md k-icon-button">\n ${n.ui.icon({icon:"chevron-"+(o?"right":"left"),iconClass:"k-button-icon"})}\n </button>\n <button tabindex="-1" ${e}="today" class="k-calendar-nav-today k-button ${t} k-button-flat k-button-flat-primary k-rounded-md" role="link">\n <span class="k-button-text">${n.htmlEncode(i.today)}</span>\n </button>\n <button tabindex="-1" ${e}=${o?"prev":"next"} class="k-calendar-nav-next k-button ${t} k-button-flat k-button-flat-base k-rounded-md k-icon-button">\n ${n.ui.icon({icon:"chevron-"+(o?"left":"right"),iconClass:"k-button-icon"})}\n </button>\n </span>\n </div>`},hasFooter:!1,linksSelector:".k-button",contentClasses:"k-calendar-table"}},setOptions:function(t){let n,i=this;if(n=!!t.componentType,_e(t),t.disableDates=be(t.disableDates),i._destroySelectable(),t.messages&&(t.messages=e.extend({},!0,i.options.messages,t.messages)),r.fn.setOptions.call(i,t),i._templates(),i._selectable(),n){let e=ne.prototype.componentTypes;i.options.header=e[t.componentType].header,i.options.hasFooter=e[t.componentType].hasFooter;let n=i.element.find(te)[0];n&&n.remove(),i._header()}if(i._viewWrapper(),i.options.hasFooter?i._footer(i.footer):(i.element.find(".k-calendar-footer").hide(),i._toggle()),i._index=ee[i.options.start],i.navigate(),n){let e=s(i.options.value,t.format,t.culture);i._current=new J(+le(e,t.min,t.max)),i._cell=null,i._table=null,i.value(e)}t.weekNumber&&i.element.addClass("k-week-number")},destroy:function(){var e=this,t=e._today;e.element.off(k),e._title.off(k),e[G].off(k),e[K].off(k),e._destroySelectable(),n.destroy(e._table),t&&n.destroy(t.off(k)),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(G,-1)},navigateToFuture:function(){this._navigate(K,1)},navigateUp:function(){var e=this,t=e._index;e._title.hasClass(E)||e.navigate(e._current,++t)},navigateDown:function(e){var t=this,n=t._index,i=t.options.depth;e&&(n!==ee[i]?t.navigate(e,--n):ye(t._value,t._current)&&ye(t._value,e)||(t.value(e),t.trigger(I)))},navigate:function(n,i){i=isNaN(i)?ee[i]:i;var o,r,a,s,c=this,d=c.options,u=d.culture,h=d.min,p=d.max,f=c._title,m=c._table,v=c._oldTable,g=c._current,_=n&&+n>+g,b=i!==t&&i!==c._index,y=c.element.children(".k-calendar-view");if(n||(n=g),c._current=n=new J(+le(n,h,p)),i===t?i=c._index:c._index=i,c._view=r=ie.views[i],a=r.compare,s=i===ee[M],f.toggleClass(E,s).attr(Y,s),s=a(n,h)<1,c[G].toggleClass(E,s).attr(Y,s),s=a(n,p)>-1,c[K].toggleClass(E,s).attr(Y,s),m&&v&&v.data("animating")&&(v.kendoStop(!0,!0),m.kendoStop(!0,!0)),c._oldTable=m,!m||c._changeView){f.html('<span class="k-button-text">'+r.title(n,h,p,u)+"</span>"),c.options.messages.parentViews&&c._view.name!==M?f.attr("title",l(c.options.messages.navigateTo+c.options.messages.parentViews[c._view.name])):f.removeAttr("title"),c._table=o=e(r.content(Z({min:h,max:p,date:n,url:d.url,dates:d.dates,format:d.format,showOtherMonthDays:d.showOtherMonthDays,centuryCellsFormat:d.centuryCellsFormat,culture:u,disableDates:d.disableDates,isWeekColumnVisible:d.weekNumber,messages:d.messages,contentClasses:c.options.contentClasses},c[r.name]))),c._aria();var w=m&&m.data("start")===o.data("start");c._animate({from:m,to:o,vertical:b,future:_,replace:w}),y.removeClass("k-calendar-monthview k-calendar-yearview k-calendar-decadeview k-calendar-centuryview"),y.addClass("k-calendar-"+r.name+"view"),c.trigger(H),c._focus(n)}i===ee[d.depth]&&c._selectDates.length>0&&c._visualizeSelectedDatesInView(),c._isSingleSelection()&&i===ee[d.depth]&&c._value&&!c.options.disableDates(c._value)&&c._selectCell(c._value),c._setCurrent(n),!m&&c._cell&&c._cell.removeClass(A),c._changeView=!0},selectDates:function(n){var i,o,r=this;if(n===t)return r._selectDates;o=n.map((function(e){return e.getTime()})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return new Date(e)})),i=e.grep(o,(function(e){if(e)return+r._validateValue(new Date(e.setHours(0,0,0,0)))==+e})),r._selectDates=i.length>0?i:0===o.length?o:r._selectDates,r._visualizeSelectedDatesInView()},value:function(e){var n=this,i=n._view,o=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}i&&null===e&&n._cell?n._cell.removeClass(L):(n._changeView=!e||o&&0!==o.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&&this._isMultipleSelection()&&e.attr("aria-multiselectable","true")},_validateValue:function(e){var n=this,i=n.options,o=i.min,r=i.max;return null===e&&(n._current=ve(n._current.getFullYear(),n._current.getMonth(),n._current.getDate())),null!==(e=s(e,i.format,i.culture))&&(ce(e=new J(+e),o,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,i={};e.each(t._selectDates,(function(e,t){i[n.calendar.views[0].toDateString(t)]=t})),t.selectable.clear();var o=t._table.find(B).filter((function(t,o){return i[e(o.firstChild).attr(n.attr(D))]}));o.length>0&&t.selectable._selectElement(o,!0)},_isSingleSelection:function(){let e=this.options.selectable;return u.parseOptions(e).single},_isMultipleSelection:function(){let e=this.options.selectable;return u.parseOptions(e).multiple},_isRangeSelection:function(){let e=this.options.selectable;return u.parseOptions(e).range},_selectable:function(){let e=this,t=e.options.selectable,n=u.parseOptions(t);(e._isMultipleSelection()||e._isRangeSelection())&&(e.rangeSelectable&&(e.rangeSelectable.destroy(),e.rangeSelectable=null),n.range?(e.rangeSelectable=new h(e.wrapper,{widget:e,filter:".k-calendar-monthview table "+O,cellSelector:B,cellSelectorValid:O,change:e._onSelect.bind(e),reverse:e.options.allowReverse,resetOnStart:!0,ns:k}),e.element.addClass("k-calendar-range")):e.selectable=new u(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-calendar-table:eq(0) "+O,change:e._onSelect.bind(e),relatedTarget:e._onRelatedTarget.bind(e)}))},_restoreSelection:function(){const e=this;let t;if(e._preventChange=!0,e._isRangeSelection()){if(t=e.selectRange(),!t||!t.start)return void(e._preventChange=!1);e.selectRange(t)}e._preventChange=!1},selectRange:function(e){const n=this,i=n._view;let o,r,a;if(e===t)return n._range;n._range=e,e.start&&(a=n._visibleRange(),o=n._dateInViews(e.start),r=e.end&&n._dateInViews(e.end),!o&&r&&n.rangeSelectable.selectTo(n._cellByDate(i.toDateString(e.end))),o&&r&&n.rangeSelectable.range(n._cellByDate(i.toDateString(e.start)),n._cellByDate(i.toDateString(e.end)),!1,n.options.allowReverse),e.end&&o&&!r&&n.rangeSelectable.selectFrom(n._cellByDate(i.toDateString(e.start))),!e.end&&o&&n.rangeSelectable.start(n._cellByDate(i.toDateString(e.start))),+a.start>+e.start&&+a.end<+e.end&&n.rangeSelectable.mid(n.element.find(O)))},_onRelatedTarget:function(e){var t=this;t.selectable.options.multiple&&e.is(O)&&(t._current=we(e.find("span")),t._setCurrent(t._current))},_onSelect:function(t){let n,i,o,r,a,s,l=this,c=t,d=t.sender._useEnd,h=t.sender._useStart,p=u.parseOptions(l.options.selectable);if(l._isRangeSelection())return n=t.sender.range(),i=l.selectRange()||{},s=i.target,n.start&&n.start.length&&(o=we(n.start.find("span"))),n.end&&n.end.length&&(r=we(n.end.find("span"))),s="end"===s?F:"end",l._range={start:h?i.start:o,end:d?i.end:r,target:s},l._preventChange||l.trigger(I),a=r||o,r&&!l._dateInViews(r)&&(a=o),l.selectRange(l._range),void l.value(a);p.multiple?(c.event.ctrlKey||c.event.metaKey?e(c.event.currentTarget).is(O)?l._toggleSelection(e(c.event.currentTarget)):(l._cellsBySelector(O).each((function(t,n){var i=we(e(n).find("span"));l._deselect(i)})),l._addSelectedCellsToArray()):c.event.shiftKey?l._rangeSelection(l._cell):e(c.event.currentTarget).is(B)?l.value(we(e(c.event.currentTarget).find("span"))):(l._selectDates=[],l._addSelectedCellsToArray()),l.trigger(I)):e(c.event.currentTarget).is("td")&&!e(c.event.currentTarget).hasClass("k-selected")?e(c.event.currentTarget).addClass("k-selected"):l._click(e(c.event.currentTarget).find("span"))},_destroySelectable:function(){var e=this;e.selectable&&(e.selectable.destroy(),e.selectable=null),e.rangeSelectable&&(e.rangeSelectable.destroy(),e.rangeSelectable=null)},_toggleSelection:function(e){var t=we(e.find("span"));e.hasClass("k-selected")?this._selectDates.push(t):this._deselect(t)},_rangeSelection:function(e,t){var n,i=this,o=t||we(i.selectable.value().first().find("span")),r=we(e.find("span"));i.selectable._lastActive||i._value?o=i.selectable._lastActive?we(i.selectable._lastActive.find("span")):new Date(+i._value):i.selectable._lastActive=t?i._cellByDate(i._view.toDateString(t),O):i.selectable.value().first(),i._selectDates=[],n=he(o,r),pe(i._selectDates,n,o,i.options.disableDates),i._visualizeSelectedDatesInView()},_visibleRange:function(){let e=this.element.find(".k-calendar-view table");return{start:we(e.first().find(B).first().find("span")),end:we(e.last().find(B).last().find("span"))}},_cellsBySelector:function(e){return this._table.find(e)},_addSelectedCellsToArray:function(){var t=this;t.selectable.value().each((function(n,i){var o=we(e(i.firstChild));t.options.disableDates(o)||t._selectDates.push(o)}))},_deselect:function(e){var t=this._selectDates.map(Number).indexOf(+e);-1!=t&&this._selectDates.splice(t,1)},_dateInView:function(e){var t=we(this._cellsBySelector(O).first().find("span"));return+e<=+we(this._cellsBySelector(O).last().find("span"))&&+e>=+t},_isNavigatable:function(e,t){var n,i=this,o=i.options.disableDates;return"month"==i._view.name?!o(e):(n=i.wrapper.find("."+A).index(),i.wrapper.find(".k-calendar-table td").eq(n+t).is(O)||!o(e))},_dateInViews:function(e){let t=this.element.find(".k-calendar-view table"),n=we(t.first().find(B).first().find("span")),i=we(t.last().find(B).last().find("span"));return+(e=new Date(e.toDateString()))<=+i&&+e>=+n},_move:function(n){var i,o,r,s,l,c,d=this,u=d.options,h=n.keyCode,p=d._view,f=d._index,m=d.options.min,v=d.options.max,g=new J(+d._current),_=d.isRtl(),b=d.options.disableDates;if(n.target===d._table[0]&&(d._active=!0),h==a.RIGHT&&!_||h==a.LEFT&&_?(i=1,o=!0):h==a.LEFT&&!_||h==a.RIGHT&&_?(i=-1,o=!0):h==a.UP?(i=0===f?-7:-4,o=!0):h==a.DOWN?(i=0===f?7:4,o=!0):h==a.SPACEBAR?(i=0,o=!0):h==a.HOME||h==a.END?(s=p[r=h==a.HOME?"first":"last"](g),(g=new J(s.getFullYear(),s.getMonth(),s.getDate(),g.getHours(),g.getMinutes(),g.getSeconds(),g.getMilliseconds())).setFullYear(s.getFullYear()),o=!0):84===h&&(d._todayClick(n),o=!0),n.ctrlKey||n.metaKey){if(h==a.RIGHT&&!_||h==a.LEFT&&_)d.navigateToFuture(),o=!0;else if(h==a.LEFT&&!_||h==a.RIGHT&&_)d.navigateToPast(),o=!0;else if(h==a.UP)d.navigateUp(),o=!0;else if(h==a.DOWN)d._click(e(d._cell[0].firstChild)),o=!0;else if((h==a.ENTER||h==a.SPACEBAR)&&d._isMultipleSelection()){d._keyboardToggleSelection(n);var y=we(e(d._cell[0]).find("span"));d._setCurrent(y)}}else n.shiftKey?((i!==t||r)&&(r||p.setDate(g,i),ce(g,m,v)||(g=le(g,u.min,u.max)),b(g)&&(g=d._nextNavigatable(g,i)),m=ve(m.getFullYear(),m.getMonth(),m.getDate()),d._isMultipleSelection()?d._keyboardRangeSelection(n,g):d._isRangeSelection()?d._dateInViews(g)||(i>0?d.navigateToFuture():d.navigateToPast()):d._focus(g)),d.rangeSelectable&&(l=d._cellByDate(p.toDateString(g)),c=we((d.rangeSelectable._lastActive||undefined).find("span")),d._dateInViews(c)?(d.rangeSelectable._end&&d.rangeSelectable._end.is("."+A)?d.rangeSelectable._lastActive=d.rangeSelectable._start:d.rangeSelectable._lastActive=d._cellByDate(p.toDateString(c)),d.rangeSelectable.range(d.rangeSelectable._lastActive,l)):+c>+g?(d.rangeSelectable._end=d.rangeSelectable._lastActive,d.rangeSelectable.selectFrom(l)):d.rangeSelectable.selectTo(l),d.rangeSelectable.change(),d._setCurrent(g))):(h==a.ENTER||h==a.SPACEBAR?("month"==p.name&&d._isMultipleSelection()?(d.value(we(e(d._cell.find("span")))),d.selectable._lastActive=e(d._cell[0]),d.trigger(I)):d.rangeSelectable?d.rangeSelectable.change():d._click(e(d._cell[0].firstChild)),o=!0):h==a.PAGEUP?(o=!0,d.navigateToPast()):h==a.PAGEDOWN&&(o=!0,d.navigateToFuture()),(i||r)&&(r||p.setDate(g,i),ce(g,m=ve(m.getFullYear(),m.getMonth(),m.getDate()),v)||(g=le(g,u.min,u.max)),d._isNavigatable(g,i)||(g=d._nextNavigatable(g,i)),d._isMultipleSelection()?d._dateInView(g)?(d._current=g,d._setCurrent(g)):d.navigate(g):d._focus(g)));return o&&n.preventDefault(),d._current},_keyboardRangeSelection:function(e,t){var n,i,o=this;if(!o._dateInView(t))return o._selectDates=[],i=he(n=o.selectable._lastActive?we(o.selectable._lastActive.find("span")):t,new Date(+t)),pe(o._selectDates,i,n,o.options.disableDates),o.navigate(t),o._current=t,o.selectable._lastActive=o.selectable._lastActive||o._cellByDate(o._view.toDateString(t),O),void o.trigger(I);o.selectable.options.filter=o.wrapper.find("table").length>1&&+t>+o._current?"table.k-calendar-table:eq(1) "+O:"table.k-calendar-table:eq(0) "+O,o._setCurrent(t),o._current=t,o._rangeSelection(o._cellByDate(o._view.toDateString(t),O),t),o.trigger(I),o.selectable.options.filter="table.k-calendar-table:eq(0) "+O},_keyboardToggleSelection:function(t){var n=this;t.currentTarget=n._cell[0],n.selectable._lastActive=e(n._cell[0]),e(n._cell[0]).hasClass(L)?n.selectable._unselect(e(n._cell[0])):n.selectable.value(e(n._cell[0])),n.selectable.trigger(I,{event:t})},_nextNavigatable:function(e,t){var n=this,i=!0,o=n._view,r=n.options.min,a=n.options.max,s=n.options.disableDates,l=new Date(e.getTime());for(o.setDate(l,-t);i;){if(o.setDate(e,t),!ce(e,r,a)){e=l;break}i=s(e)}return e},_animate:function(e){var t=this,n=e.from,i=e.to,o=t._active,r=t.element.children(".k-calendar-view");n?n.parent().data("animating")?(n.off(k),n.parent().kendoStop(!0,!0).remove(),n.remove(),r.append(i),t._focusView(o)):!n.is(":visible")||!1===t.options.animation||e.replace?(i.insertAfter(n),n.off(k).remove(),t._focusView(o)):t[e.vertical?"_vertical":"_horizontal"](n,i,e.future):(r.append(i),t._bindTable(i))},_horizontal:function(e,t,n){var i=this,o=i._active,r=i.options.animation.horizontal,a=r.effects,s=w(e),l=w(e,!0)-s;a&&-1!=a.indexOf(S)&&(e.add(t).css({width:s}),e.wrap("<div/>"),i._focusView(o,e),e.parent().css({position:"relative",width:2*s+2*l,display:"flex",[n?"margin-right":"margin-left"]:-s-l}),t[n?"insertAfter":"insertBefore"](e),Z(r,{effects:S+":"+(n?"right":"left"),complete:function(){e.off(k).remove(),i._oldTable=null,t.unwrap(),i._focusView(o)}}),e.parent().kendoStop(!0,!0).kendoAnimate(r))},_vertical:function(e,t){var n,i,o=this,r=o.options.animation.vertical,a=r.effects,s=o._active;a&&-1!=a.indexOf("zoom")&&(t.insertBefore(e),e.css({position:"absolute",width:t.width()}),v&&(i=(i=(n=o._cellByDate(o._view.toDateString(o._current))).position()).left+parseInt(n.width()/2,10)+"px "+(i.top+parseInt(n.height()/2,10))+"px",t.css(v,i)),e.kendoStop(!0,!0).kendoAnimate({effects:"fadeOut",duration:600,complete:function(){e.off(k).remove(),o._oldTable=null,o._focusView(s)}}),t.kendoStop(!0,!0).kendoAnimate(r))},_cellByDate:function(t,i){return this._table.find(i||"td:not(."+V+")").filter((function(){return e(this.firstChild).attr(n.attr(D))===t}))},_selectCell:function(e){var t=this,n=t._selectedCell,i=t._view.toDateString(e);n&&n[0]&&(n[0].removeAttribute(Q),n.removeClass(L)),n=t._cellByDate(i,B),t._selectedCell=n,n.addClass(L).attr(Q,!0)},_setCurrent:function(e){var t=this,i=n.guid(),o=t._cell,r=t._view.toDateString(e);o&&o[0]&&(o.removeClass(A),o[0].removeAttribute(X),o[0].removeAttribute(z)),o=t._cellByDate(r,t._isMultipleSelection()?B:"td:not(."+V+")"),t._cell=o,o.attr(z,i).addClass(A),t._table[0]&&(t._table[0].removeAttribute("aria-activedescendant"),t._table.attr("aria-activedescendant",i))},_bindTable:function(e){e.on(U,this._addClassProxy).on(R,this._removeClassProxy)},_click:function(e){var t=this,n=t.options,i=new Date(+t._current),o=we(e);c(o,0),"month"==t._view.name&&t.options.disableDates(o)&&(o=t._value),t._view.setDate(i,o),t.navigateDown(le(i,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 k-align-items-start k-justify-content-center k-hstack' />").insertAfter(t.find(te)))},_footer:function(t){var i=this,o=se(),r=i.element,a=r.find(".k-calendar-footer");if(!t)return i._toggle(!1),void a.hide();a[0]||(a=e('<div class="k-calendar-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" role="link">\n <span class="k-button-text"></span>\n </button>\n </div>').appendTo(r)),i._today=a.show().find(".k-button-flat-primary").attr("title",n.toString(o,"D",i.options.culture)),a.find(".k-button-text").html(t(o)),i._toggle()},_header:function(){var t=this,i=t.element,o=t.options.linksSelector;i.find(te)[0]||i.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()}))),i.find(o).on(x+" touchend"+k,(function(){return!1})),t._title=i.find("["+n.attr("action")+'="nav-up"]').on(x+" touchend"+k,(function(){t._active=!1!==t.options.focusOnNav,t.navigateUp()})),t[G]=i.find("["+n.attr("action")+'="prev"]').on(x+" touchend"+k,(function(){t._active=!1!==t.options.focusOnNav,t.navigateToPast()})),t[K]=i.find("["+n.attr("action")+'="next"]').on(x+" touchend"+k,(function(){t._active=!1!==t.options.focusOnNav,t.navigateToFuture()})),i.find("["+n.attr("action")+'="today"]').on(x+" touchend"+k,t._todayClick.bind(t))},_navigate:function(e,t){var n=this,i=n._index+1,o=new J(+n._current);n._isMultipleSelection()&&(o=we(n._table.find("td:not(."+V+"):not(."+P+")").has(".k-link").first().find("span")),n._current=new Date(+o));(e=n[e]).hasClass(E)||(i>3?o.setFullYear(o.getFullYear()+100*t):ie.views[i].setDate(o,t),n.navigate(o),n._restoreSelection())},_option:function(e,n){var i,o=this,r=o.options,a=o._value||o._current;if(n===t)return r[e];(n=s(n,r.format,r.culture))&&(r[e]=new J(+n),((i="min"===e?n>a:a>n)||function(e,t){if(e)return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth();return!1}(a,n))&&(i&&(o._value=null),o._changeView=!0),o._changeView||(o._changeView=!(!r.month.content&&!r.month.empty)),o.navigate(o._value),o._toggle())},_toggle:function(e){var n=this,i=n.options,o=n.options.disableDates(se()),r=n._today,a=n._todayClass();e===t&&(e=ce(se(),i.min,i.max)),r&&(r.off(x),e&&!o?r.addClass(a).removeClass(E).on(x,n._todayClick.bind(n)):r.removeClass(a).addClass(E).on(x,me))},_todayClass:function(){return"k-calendar-nav-today"},_todayClick:function(e){var t=this,n=ee[t.options.depth],i=t.options.disableDates,o=se();e.preventDefault(),i(o)||(0===t._view.compare(t._current,o)&&t._index==n&&(t._changeView=!1),t._isMultipleSelection()&&(t._selectDates=[o],t.selectable._lastActive=null),t._value=o,t.navigate(o,n),t.trigger(I))},_templates:function(){var e=this,t=e.options,i=t.footer,o=t.month,r=o.content,a=o.weekNumber,s=o.empty,l=e=>`${n.toString(e,"D",t.culture)}`;e.month={content:e=>`<td class="${e.cssClass}" role="gridcell"><span tabindex="-1" class="k-link ${e.linkClass}" data-href="${e.url}" ${n.attr(D)}="${e.dateString}" title="${e.title}">${ke(r,e)||e.value}</span></td>`,empty:e=>`<td role="gridcell">${ke(s,e)||" "}</td>`,weekNumber:e=>`<td class="k-calendar-td k-alt">${ke(a,e)||e.weekNumber}</td>`},e.year={content:f((e=>`<td class="${e.cssClass}" role="gridcell"><span tabindex="-1" class="k-link" data-href="#" data-${e.ns}value="${e.dateString}" aria-label="${e.label}">${e.value}</span></td>`))},i&&!0!==i&&(l=i),e.footer=!1!==i?f(l,{useWithBlock:!1}):null},_updateAria:function(e,t){var i,o=this,r=o._cell,a=o.view().valueType(),s=t||o.current();return i="month"===a?n.toString(s,"MMMM"):"date"===a?n.toString(s,"D"):r.text(),r.attr("aria-label",e({current:s,valueType:a,text:i})),r.attr("id")}});o.plugin(ne);var ie={firstDayOfMonth:function(e){return ve(e.getFullYear(),e.getMonth(),1)},firstVisibleDay:function(e,t){var i=(t=t||n.culture().calendar).firstDay,o=new J(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());for(o.setFullYear(e.getFullYear());o.getDay()!=i;)ie.setTime(o,-864e5);return o},setTime:function(e,t){var n=e.getTimezoneOffset(),i=new J(e.getTime()+t),o=i.getTimezoneOffset()-n;e.setTime(i.getTime()+6e4*o)},views:[{name:T,title:function(e,t,n,i){return ge(i).months.names[e.getMonth()]+" "+e.getFullYear()},content:function(e){var t=this,i=0,o=e.min,r=e.max,a=e.date,s=e.dates,u=e.format,h=e.culture,p=e.url,f=e.showHeader,m=e.showOtherMonthDays,v=e.isWeekColumnVisible,g=p&&s[0],_=ge(h),b=_.firstDay,y=_.days,w=de(y.names,b),k=de(y.namesShort,b),x=ie.firstVisibleDay(a,_),C=t.first(a),z=t.last(a),S=t.toDateString,T=se(),M='<table tabindex="0" role="grid" class="'+e.contentClasses+'" cellspacing="0" data-start="'+S(x)+'">';for(f&&(M+='<caption class="k-calendar-caption k-month-header">'+this.title(a,o,r,h)+"</caption>"),M+='<thead class="k-calendar-thead"><tr role="row" class="k-calendar-tr">',v&&(M+='<th scope="col" class="k-calendar-th k-alt">'+l(e.messages.weekColumnHeader)+"</th>");i<7;i++)M+='<th scope="col" class="k-calendar-th" aria-label="'+w[i]+'">'+k[i]+"</th>";return c(T,0),T=+T,re({cells:42,perRow:7,html:M+='</tr></thead><tbody class="k-calendar-tbody"><tr role="row" class="k-calendar-tr">',start:ve(x.getFullYear(),x.getMonth(),x.getDate()),isWeekColumnVisible:v,weekNumber:e.weekNumber,min:ve(o.getFullYear(),o.getMonth(),o.getDate()),max:ve(r.getFullYear(),r.getMonth(),r.getDate()),showOtherMonthDays:m,content:e.content,lastDayOfMonth:z,empty:e.empty,setter:t.setDate,disableDates:e.disableDates,build:function(e,t,i){var o=["k-calendar-td"],r=e.getDay(),a="",l="#";return(e<C||e>z)&&o.push(V),i(e)&&o.push(E),+e===T&&o.push("k-today"),0!==r&&6!==r||o.push("k-weekend"),g&&function(e,t){for(var n=0,i=t.length;n<i;n++)if(e===+t[n])return!0;return!1}(+e,s)&&(l=p.replace("{0}",n.toString(e,u,h)),a=" k-action-link"),{date:e,dates:s,ns:n.ns,title:n.toString(e,"D",h),value:e.getDate(),dateString:S(e),cssClass:o.join(" "),linkClass:a,url:l}},weekNumberBuild:function(e){return{weekNumber:d(e,n.culture().calendar.firstDay),currentDate:e}}})},first:function(e){return ie.firstDayOfMonth(e)},last:function(e){var t=ve(e.getFullYear(),e.getMonth()+1,0),n=ie.firstDayOfMonth(e),i=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return i&&t.setHours(n.getHours()+i/60),t},compare:function(e,t){var n=e.getMonth(),i=e.getFullYear(),o=t.getMonth(),r=t.getFullYear();return i>r?1:i<r?-1:n==o?0:n>o?1:-1},setDate:function(e,t){var n=e.getHours();t instanceof J?e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):ie.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=ge(e.culture).months,i=t.namesAbbr,o=t.names,r=this.toDateString,a=e.min,s=e.max,l="";return e.showHeader&&(l+='<table tabindex="0" role="grid" class="k-calendar-table" cellspacing="0">',l+='<caption class="k-calendar-caption k-meta-header">',l+=this.title(e.date),l+="</caption>",l+='<tbody class="k-calendar-tbody">',l+='<tr role="row" class="k-calendar-tr">'),re({min:ve(a.getFullYear(),a.getMonth(),1),max:ve(s.getFullYear(),s.getMonth(),1),start:ve(e.date.getFullYear(),0,1),html:l,setter:this.setDate,content:e.content,build:function(e){return{value:i[e.getMonth()],label:o[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 ae(e,t)},setDate:function(e,t){var n,i=e.getHours();t instanceof J?(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,i)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/1"},valueType:function(){return"month"}},{name:"decade",title:function(e,t,n){return oe(e,t,n,10)},content:function(e){var t=e.date.getFullYear(),i=this.toDateString,o="";return e.showHeader&&(o+='<table tabindex="0" role="grid" class="k-calendar-table" cellspacing="0">',o+='<caption class="k-meta-header">',o+=this.title(e.date,e.min,e.max),o+="</caption>",o+='<tbody class="k-calendar-thead">',o+='<tr role="row" class="k-calendar-tr">'),re({start:ve(t-t%10,0,1),min:ve(e.min.getFullYear(),0,1),max:ve(e.max.getFullYear(),0,1),showOtherMonthDays:e.showOtherMonthDays,html:o,setter:this.setDate,build:function(e,t){var o=["k-calendar-td"];return 10!==t&&11!==t||o.push(P),{value:e.getFullYear(),ns:n.ns,dateString:i(e),cssClass:o.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 ae(e,t,10)},setDate:function(e,t){ue(e,t,1)},toDateString:function(e){return e.getFullYear()+"/0/1"},valueType:function(){return"year"}},{name:M,title:function(e,t,n){return oe(e,t,n,100)},content:function(e){var t=e.date.getFullYear(),i=e.min.getFullYear(),o=e.max.getFullYear(),r=this.toDateString,a=i,s=o,l="";return(s-=s%10)-(a-=a%10)<10&&(s=a+9),e.showHeader&&(l+='<table tabindex="0" role="grid" class="k-calendar-table" cellspacing="0">',l+='<caption class="k-calendar-caption k-meta-header">',l+=this.title(e.date,e.min,e.max),l+="</caption>",l+='<tbody class="k-calendar-tbody">',l+='<tr role="row" class="k-calendar-tr">'),re({start:ve(t-t%100,0,1),min:ve(a,0,1),max:ve(s,0,1),showOtherMonthDays:e.showOtherMonthDays,html:l,setter:this.setDate,build:function(t,a){var s=["k-calendar-td"],l=t.getFullYear(),c=l+9;return 10!==a&&11!==a||s.push(P),l<i&&(l=i),c>o&&(c=o),{ns:n.ns,value:"long"===e.centuryCellsFormat?`${l} - ${c}`:l,dateString:r(t),cssClass:s.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 ae(e,t,100)},setDate:function(e,t){ue(e,t,10)},toDateString:function(e){var t=e.getFullYear();return t-t%10+"/0/1"},valueType:function(){return"decade"}}]};function oe(e,t,n,i){var o,r=e.getFullYear(),a=t.getFullYear(),s=n.getFullYear();return o=(r-=r%i)+(i-1),r<a&&(r=a),o>s&&(o=s),r+"-"+o}function re(e){var t,n=0,i=e.min,o=e.max,r=e.start,a=e.setter,s=e.build,l=e.weekNumberBuild,d=e.cells||12,u=e.isWeekColumnVisible,h=e.perRow||4,p=e.showOtherMonthDays,f=e.lastDayOfMonth,m=e.weekNumber||y,v=e.content||g,w=e.empty||_,k=e.otherMonthCellTemplate||b,x=e.html||'<table tabindex="0" role="grid" class="k-calendar-table" cellspacing="0"><tbody class="k-calendar-tbody"><tr role="row" class="k-calendar-tr">';for(u&&(x+=m(l(r)));n<d;n++)n>0&&n%h==0&&(x+='</tr><tr role="row" class="k-calendar-tr">',u&&(x+=m(p||+r<=+f?l(r):{weekNumber:" "}))),r=ve(r.getFullYear(),r.getMonth(),r.getDate()),c(r,0),-1===(t=s(r,n,e.disableDates)).cssClass.indexOf(V)||p?ce(r,i,o)&&-1===t.cssClass.indexOf(P)?x+=v(t):x+=w(t):x+=k(t),a(r,1);return x+"</tr></tbody></table>"}function ae(e,t,n){var i=e.getFullYear(),o=t.getFullYear(),r=o,a=0;return n&&(r=(o-=o%n)-o%n+n-1),i>r?a=1:i<o&&(a=-1),a}function se(){var e=new J;return new J(e.getFullYear(),e.getMonth(),e.getDate())}function le(e,t,n){var i=se();return e&&(i=new J(+e)),t>i?i=new J(+t):n<i&&(i=new J(+n)),i}function ce(e,t,n){return+e>=+t&&+e<=+n}function de(e,t){return e.slice(t).concat(e.slice(0,t))}function ue(e,t,n){t=t instanceof J?t.getFullYear():e.getFullYear()+n*t,e.setFullYear(t)}function he(e,t){if(+t<+e){var i=+e;ie.views[0].setDate(e,t),ie.views[0].setDate(t,new Date(i))}var o=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),r=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate());return Math.ceil((+r-+o)/n.date.MS_PER_DAY)}function pe(e,t,n,i){for(var o=0;o<=t;o++){var r=new Date(n.getTime());i(r=new Date(r.setDate(r.getDate()+o)))||e.push(r)}}function fe(t){e(this).hasClass("k-disabled")||e(this).toggleClass("k-hover",j.indexOf(t.type)>-1||t.type==N)}function me(e){e.preventDefault()}function ve(e,t,n){var i=new J(e,t,n);return i.setFullYear(e,t,n),i}function ge(e){return m(e).calendars.standard}function _e(e){var n=ee[e.start],i=ee[e.depth],o=m(e.culture);e.format=p(e.format||o.calendars.standard.patterns.d),isNaN(n)&&(n=0,e.start=T),(i===t||i>n)&&(e.depth=T),null===e.dates&&(e.dates=[])}function be(t){return n.isFunction(t)?t:Array.isArray(t)?function(e){var t,n=[],i=["su","mo","tu","we","th","fr","sa"];e[0]instanceof J?(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=e=>!!(e&&n.indexOf(new Date(e).setHours(0,0,0,0))>-1)):(n=e.map((e=>{e=e.slice(0,2).toLowerCase();let t=i.indexOf(e);if(t>-1)return t})),t=e=>!!(e&&n.indexOf(new Date(e).getDay())>-1));return t}(t):e.noop}function ye(e,t){return e instanceof Date&&t instanceof Date&&(e=e.getTime(),t=t.getTime()),e===t}function we(t){var i=e(t).attr(n.attr(D)).split("/");return i=ve(i[0],i[1],i[2])}function ke(e,i){return e?n.isFunction(e)?e(i):f(e)(i):t}ie.isEqualDatePart=function(e,t){return!!e&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())},ie.isEqualDate=ye,ie.restrictValue=le,ie.isInRange=ce,ie.normalize=_e,ie.viewsEnum=ee,ie.disabled=be,ie.toDateObject=we,ie.getToday=se,ie.createDate=ve,n.calendar=ie}(window.kendo.jQuery);kendo;var D,E=function(e){return e?new Date(e.getTime()):null},A=function(e,t){var n=E(e);return 0===t&&23===n.getHours()&&n.setHours(n.getHours()+2),n},V=function(e,t){var n=E(e);return n.setDate(n.getDate()+t),A(n,e.getHours())},P=function(e,t,n,i,o,r,a){void 0===i&&(i=0),void 0===o&&(o=0),void 0===r&&(r=0),void 0===a&&(a=0);var s=new Date(e,t,n,i,o,r,a);return e>-1&&e<100&&s.setFullYear(s.getFullYear()-1900),A(s,i)},B=function(e){var t=P(e.getFullYear(),e.getMonth()+1,1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return V(t,-1)},F=function(e,t){var n=E(e),i=(12+(n.getMonth()+t)%12)%12;return n.setMonth(n.getMonth()+t),function(e,t){return e.getMonth()!==t?B(F(e,-1)):e}(A(n,e.getHours()),i)};!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(D||(D={}));var O;!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(O||(O={}));var L=function(e){return P(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0)},R=function(e,t){return!e&&!t||e&&t&&e.getTime()===t.getTime()},N={rules:{},titles:{},zones:{}},U={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},j={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6},W=function(e,t,n){var i,o=t[3],r=t[4],a=t[5],s="u"===a[3]?6e4*-n:0;if(isNaN(r)){if(0===r.indexOf("last")){i=new Date(Date.UTC(e,U[o]+1,1,a[0]-24,a[1],a[2])+s);var l=j[r.substr(4,3)],c=i.getUTCDay();i.setUTCDate(i.getUTCDate()+l-c-(l>c?7:0))}else if(r.indexOf(">=")>=0){i=new Date(Date.UTC(e,U[o],r.substr(5),a[0],a[1],a[2],0)+s);l=j[r.substr(0,3)],c=i.getUTCDay();i.setUTCDate(i.getUTCDate()+l-c+(l<c?7:0))}}else i=new Date(Date.UTC(e,U[o],r,a[0],a[1],a[2])+s);return i},$=(new Date).getTime(),q=function(e,t,n){void 0===t&&(t=$),void 0===n&&(n=0);var i=N.rules[e];if(!i){var o=e.split(":"),r=0;return o.length>1&&(r=60*o[0]+Number(o[1])),[-1e6,"max","-","Jan",1,[0,0,0],r,"-"]}var a=new Date(t).getUTCFullYear();(i=i.filter((function(e){var t=e[0],n=e[1];return t<=a&&(n>=a||t===a&&"only"===n||"max"===n)}))).push(t),i.sort((function(e,t){return"number"!=typeof e&&(e=Number(W(a,e,n))),"number"!=typeof t&&(t=Number(W(a,t,n))),e-t}));var s=i[i.indexOf(t)-1]||i[i.length-1];return isNaN(s)?s:null},G="The required {0} timezone information is not provided!",K=/\{(\d+)}?\}/g,Y=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=t.reduce((function(e,t){return e.concat(t)}),[]);return e.replace(K,(function(e,t){return i[parseInt(t,10)]}))},Q=function(e,t){if(void 0===t&&(t=(new Date).getTime()),"Etc/UTC"===e||"Etc/GMT"===e)return[0,"-","UTC",null];for(var n=function(e){var t=N.zones;if(!t)throw new Error(Y(G,e));var n=t[e],i="string"==typeof n?t[n]:n;if(!i)throw new Error(Y(G,e));return i}(e),i=n.length-1;i>=0;i--){var o=n[i][3];if(o&&t>o)break}var r=n[i+1];if(!r)throw new Error(Y(G,e));return r},X=function(e,t){var n=t.getTime(),i=Q(e,n);return{rule:q(i[1],n,i[0]),zone:i}},Z=function(e,t){return void 0===t&&(t=2),(e<0?"-":"")+new Array(t).concat([Math.abs(e)]).join("0").slice(-t)},J=function(e,t){if(void 0===t&&(t=new Date),"Etc/UTC"===e||"Etc/GMT"===e)return 0;if(""===e)return t.getTimezoneOffset();var n=X(e,t),i=n.rule,o=n.zone;return parseFloat(i?o[0]-i[6]:o[0])};var ee=function(e,t){return new Date(e.getTime()+6e4*t)},te=function(e,t){return new Date(e.getTime()+36e5*t)},ne=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ie=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function oe(e,t){var n=J(t,e),i=te(e,-1);return n<J(t,i)}function re(e,t){var n=oe(e,t)?1:0;return te(e,n)}function ae(e,t,n){if(t===n)return e;var i=J(t,e),o=J(n,e),r=i-o,a=ee(e,r),s=J(n,a);return ee(e,r+(o-s))}!function(){function e(e,t){this._utcDate=E(e),this.timezone=t;var n=J(t,e);this.timezoneOffset=n;var i=re(e,t);this._localDate=ae(i,t,"Etc/UTC")}Object.defineProperty(e.prototype,"cachedLocalDate",{get:function(){return this._localDate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cachedUTCDate",{get:function(){return this._utcDate},enumerable:!0,configurable:!0}),e.fromLocalDate=function(t,n){void 0===n&&(n="");var i=ae(t,"Etc/UTC",n),o=oe(i,n),r=J(n,i),a=0;o&&(a=r>0?-1:1);var s=te(i,a);return e.fromUTCDate(s,n)},e.fromUTCDate=function(t,n){return void 0===n&&(n=""),new e(t,n)},e.prototype.toLocalDate=function(){return E(this._localDate)},e.prototype.toUTCDate=function(){return E(this._utcDate)},e.prototype.toTimezone=function(t){if(this.timezone===t)return this.clone();var n=J(this.timezone,this._utcDate),i=ee(this._utcDate,n);return e.fromLocalDate(i,t)},e.prototype.clone=function(){return e.fromUTCDate(this._utcDate,this.timezone)},e.prototype.addDays=function(t){var n=new Date(this._utcDate.getTime());return n.setUTCDate(n.getUTCDate()+t),e.fromUTCDate(n,this.timezone)},e.prototype.addTime=function(t){var n=re(new Date(this._utcDate.getTime()),this.timezone);n.setTime(n.getTime()+t);var i=re(n,this.timezone);return e.fromUTCDate(i,this.timezone)},e.prototype.stripTime=function(){var t=this._utcDate,n=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0);return e.fromUTCDate(new Date(n),this.timezone)},e.prototype.getTime=function(){return this._localDate.getTime()},e.prototype.getTimezoneOffset=function(){return this.timezoneOffset},e.prototype.getFullYear=function(){return this._utcDate.getUTCFullYear()},e.prototype.getMonth=function(){return this._utcDate.getUTCMonth()},e.prototype.getDate=function(){return this._utcDate.getUTCDate()},e.prototype.getDay=function(){return this._utcDate.getUTCDay()},e.prototype.getHours=function(){return this._utcDate.getUTCHours()},e.prototype.getMinutes=function(){return this._utcDate.getUTCMinutes()},e.prototype.getSeconds=function(){return this._utcDate.getUTCSeconds()},e.prototype.getMilliseconds=function(){return this._utcDate.getUTCMilliseconds()},e.prototype.getUTCDate=function(){return this._localDate.getUTCDate()},e.prototype.getUTCDay=function(){return this._localDate.getUTCDay()},e.prototype.getUTCFullYear=function(){return this._localDate.getUTCFullYear()},e.prototype.getUTCHours=function(){return this._localDate.getUTCHours()},e.prototype.getUTCMilliseconds=function(){return this._localDate.getUTCMilliseconds()},e.prototype.getUTCMinutes=function(){return this._localDate.getUTCMinutes()},e.prototype.getUTCMonth=function(){return this._localDate.getUTCMonth()},e.prototype.getUTCSeconds=function(){return this._localDate.getUTCSeconds()},e.prototype.setTime=function(e){throw new Error("Method not implemented.")},e.prototype.setMilliseconds=function(e){throw new Error("Method not implemented.")},e.prototype.setUTCMilliseconds=function(e){throw new Error("Method not implemented.")},e.prototype.setSeconds=function(e,t){throw new Error("Method not implemented.")},e.prototype.setUTCSeconds=function(e,t){throw new Error("Method not implemented.")},e.prototype.setMinutes=function(e,t,n){throw new Error("Method not implemented.")},e.prototype.setUTCMinutes=function(e,t,n){throw new Error("Method not implemented.")},e.prototype.setHours=function(e,t,n,i){throw new Error("Method not implemented.")},e.prototype.setUTCHours=function(e,t,n,i){throw new Error("Method not implemented.")},e.prototype.setDate=function(e){throw new Error("Method not implemented.")},e.prototype.setUTCDate=function(e){throw new Error("Method not implemented.")},e.prototype.setMonth=function(e,t){throw new Error("Method not implemented.")},e.prototype.setUTCMonth=function(e,t){throw new Error("Method not implemented.")},e.prototype.setFullYear=function(e,t,n){throw new Error("Method not implemented.")},e.prototype.setUTCFullYear=function(e,t,n){throw new Error("Method not implemented.")},e.prototype.toISOString=function(){return this._localDate.toISOString()},e.prototype.toJSON=function(){return this._localDate.toJSON()},e.prototype.toString=function(){var e,t=(e=this._utcDate,ne[e.getUTCDay()]+" "+ie[e.getUTCMonth()]),n=this.toTimeString();return t+" "+this.getDate()+" "+this.getFullYear()+" "+n},e.prototype.toDateString=function(){return(e=this._utcDate,new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())).toDateString();var e},e.prototype.toTimeString=function(){var e=Z(this.getHours())+":"+Z(this.getMinutes())+":"+Z(this.getSeconds()),t=function(e){var t=e<=0?"+":"-",n=Math.abs(e);return"GMT"+t+Z(Math.floor(n/60))+Z(n%60)}(this.timezoneOffset),n=function(e,t){if(void 0===t&&(t=new Date),"Etc/UTC"===e)return"UTC";if("Etc/GMT"===e)return"GMT";if(""===e)return"";var n=X(e,t),i=n.zone,o=n.rule,r=i[2];if(r.indexOf("/")>=0)return r.split("/")[o&&+o[6]?1:0];if(r.indexOf("%s")>=0)return r.replace("%s",o&&"-"!==o[7]?o[7]:"");if(r.indexOf("%z")>=0){var a=-1*Math.trunc(i[0]/60),s=Z(a,2),l=a>0?"+":"",c=Math.abs(Math.trunc(i[0]%60)),d=0===c?"":Z(c,2);return r.replace("%z",""+l+s+d)}return r}(this.timezone,this._utcDate);return n&&(n=" ("+n+")"),e+" "+t+n},e.prototype.toLocaleString=function(e,t){return this._localDate.toLocaleString(e,t)},e.prototype.toLocaleDateString=function(e,t){return this._localDate.toLocaleDateString(e,t)},e.prototype.toLocaleTimeString=function(e,t){return this._localDate.toLocaleTimeString(e,t)},e.prototype.toUTCString=function(){return this.toTimezone("Etc/UTC").toString()},e.prototype[Symbol.toPrimitive]=function(e){return"string"===e||"default"===e?this.toString():this._localDate.getTime()},e.prototype.valueOf=function(){return this.getTime()},e.prototype.getVarDate=function(){throw new Error("Not implemented.")},e.prototype.format=function(e){throw new Error("Not implemented.")},e.prototype.formatUTC=function(e){throw new Error("Not implemented.")}}();var se=function(e,t){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},se(e,t)};function le(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}se(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ce=function(){return ce=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ce.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var de,ue,he,pe=function(){this.symbols="",this.partMap=[]},fe="_",me=68,ve="d",ge="en",_e="Delete",be="Backspace",ye=" ",we=function(e){return new Array(Math.max(e,0)).fill("0").join("")},ke=function(e){return e.replace(/^0*/,"")},xe=function(e,t){return e[t.pattern[0]]=t.type,e},Ce=function(e){return null!=e},ze=function(){return!!document},Se=function(e){return Ce(e)&&"number"==typeof e&&!Number.isNaN(e)},Te=function(e){return parseInt(e,10)},Me=function(e){return Se(Te(e))&&/^[0-9]+$/.test(e)},Ie=function(e,t,n){return Math.min(n,Math.max(t,e))},He=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object.assign.apply(Object,e)},De=(de="setFullYear",function(e,t){var n=E(e);return n[de](t),n}),Ee=function(e,t,n,i,o,r,a,s){return!(!e||e.getFullYear()!==t||e.getMonth()!==n||e.getDate()!==i||e.getHours()!==o||e.getMinutes()!==r||e.getSeconds()!==a||e.getMilliseconds()!==s)},Ae=function(e){return Ce(e)&&e.getTime&&Se(e.getTime())},Ve=/d|M|H|h|m|s/,Pe=function(){function e(e){var t=e.intlService,n=e.formatPlaceholder,i=e.format,o=e.cycleTime,r=void 0!==o&&o,a=e.twoDigitYearMax,s=void 0===a?me:a,l=e.value,c=void 0===l?null:l,d=e.autoCorrectParts,u=void 0===d||d,h=e.toggleDayPeriod,p=void 0!==h&&h;if(this.year=!0,this.month=!0,this.date=!0,this.hours=!0,this.minutes=!0,this.seconds=!0,this.milliseconds=!0,this.dayperiod=!0,this.leadingZero=null,this.typedMonthPart="",this.knownParts="adHhmMsEyS",this.symbols={E:"E",H:"H",M:"M",a:"a",d:"d",h:"h",m:"m",s:"s",y:"y",S:"S"},this._value=this.getDefaultDate(),this.cycleTime=!1,this._partiallyInvalidDate={startDate:null,invalidDateParts:{E:{value:null,date:null,startDateOffset:0},H:{value:null,date:null,startDateOffset:0},M:{value:null,date:null,startDateOffset:0},a:{value:null,date:null,startDateOffset:0},d:{value:null,date:null,startDateOffset:0},h:{value:null,date:null,startDateOffset:0},m:{value:null,date:null,startDateOffset:0},s:{value:null,date:null,startDateOffset:0},y:{value:null,date:null,startDateOffset:0},S:{value:null,date:null,startDateOffset:0}}},this.setOptions({intlService:t,formatPlaceholder:n,format:i,cycleTime:r,twoDigitYearMax:s,value:c,autoCorrectParts:u,toggleDayPeriod:p}),c)this._value=E(c);else{this._value=this.getDefaultDate();for(var f=this.dateFormatString(this.value,this.format).symbols,m=0;m<f.length;m++)this.setExisting(f[m],!1)}}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){(!e||e instanceof Date)&&(this._value=e,this.resetInvalidDate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"localeId",{get:function(){for(var e=ge,t=Object.keys(this.intl.cldr),n=0;n<t.length;n++){var i=t[n],o=this.intl.cldr[i];if(o.name&&o.calendar&&o.numbers&&o.name!==ge){e=o.name;break}}return e},enumerable:!0,configurable:!0}),e.prototype.setOptions=function(e){this.intl=e.intlService,this.formatPlaceholder=e.formatPlaceholder||"wide",this.format=e.format,this.cycleTime=e.cycleTime,this.monthNames=this.allFormattedMonths(this.localeId),this.dayPeriods=this.allDayPeriods(this.localeId),this.twoDigitYearMax=e.twoDigitYearMax,this.autoCorrectParts=e.autoCorrectParts,this.toggleDayPeriod=e.toggleDayPeriod},e.prototype.setValue=function(e){e?R(e,this._value)||(this._value=E(e),this.modifyExisting(!0)):(this._value=this.getDefaultDate(),this.modifyExisting(!1)),this.resetInvalidDate()},e.prototype.hasValue=function(){var e=this;return this.intl.splitDateFormat(this.format,this.localeId).reduce((function(t,n){return t||"literal"!==n.type&&"dayperiod"!==n.type&&e.getExisting(n.pattern[0])}),!1)},e.prototype.getValue=function(){for(var e=0;e<this.knownParts.length;e++)if(!this.getExisting(this.knownParts[e]))return null;return E(this.value)},e.prototype.createDefaultDate=function(){return P(2e3,0,31)},e.prototype.getDefaultDate=function(){return L(this.createDefaultDate())},e.prototype.getFormattedDate=function(e){return this.intl.formatDate(this.getValue(),e,this.localeId)},e.prototype.getTextAndFormat=function(e){void 0===e&&(e="");var t=e||this.format,n=this.intl.formatDate(this.value,t,this.localeId),i=this.dateFormatString(this.value,t);if(!this.autoCorrectParts&&this._partiallyInvalidDate.startDate){for(var o="",r=this.intl.formatDate(this.value,t,this.localeId),a=this.getFormattedInvalidDates(t),s=0;s<r.length;s++){var l=i.symbols[s];if("literal"===i.partMap[s].type)o+=n[s];else if(this.getInvalidDatePartValue(l)){var c=this.getPartsForSegment(i,s);if("M"===l){var d=(Te(this.getInvalidDatePartValue(l))+1).toString();if(c.length>2)o+=a[l][s];else if(this.getInvalidDatePartValue(l))o+=we(c.length-d.length)+d,s+=c.length-1;else o+=a[l][s]}else if(this.getInvalidDatePartValue(l)){d=this.getInvalidDatePartValue(l).toString();o+=we(c.length-d.length)+d,s+=c.length-1}else o+=a[l][s]}else o+=n[s]}n=o}return this.merge(n,i)},e.prototype.getFormattedInvalidDates=function(e){var t=this;void 0===e&&(e="");var n=e||this.format,i={E:"",H:"",M:"",a:"",d:"",h:"",m:"",s:"",y:"",S:""};return Object.keys(this._partiallyInvalidDate.invalidDateParts).forEach((function(e){var o=t.getInvalidDatePart(e).date;if(o){var r=t.intl.formatDate(o,n,t.localeId);i[e]=r}})),i},e.prototype.modifyExisting=function(e){for(var t=this.dateFormatString(this.value,this.format).symbols,n=0;n<t.length;n++)this.setExisting(t[n],e)},e.prototype.getExisting=function(e){switch(e){case"y":return this.year;case"M":case"L":return this.month;case"d":return this.date;case"E":return this.date&&this.month&&this.year;case"h":case"H":return this.hours;case"t":case"a":return this.dayperiod;case"m":return this.minutes;case"s":return this.seconds;case"S":return this.milliseconds;default:return!0}},e.prototype.setExisting=function(e,t){switch(e){case"y":this.year=t,!1===t&&this._value.setFullYear(2e3);break;case"M":this.month=t,!1===t&&this.autoCorrectParts&&this._value.setMonth(0);break;case"d":this.date=t;break;case"h":case"H":this.hours=t;break;case"t":case"a":this.dayperiod=t;break;case"m":this.minutes=t;break;case"s":this.seconds=t;break;case"S":this.milliseconds=t}this.getValue()&&this.resetInvalidDate()},e.prototype.modifyPart=function(e,t){if(Ce(e)&&Ce(t)&&0!==t){var n,i=E(this.value),o=!1,r="M"===e,a="d"===e||"E"===e,s=this.getExisting(e);if(this.autoCorrectParts||!a&&!r)switch(e){case"y":i.setFullYear(i.getFullYear()+t);break;case"M":i=F(this.value,t);break;case"d":case"E":i.setDate(i.getDate()+t);break;case"h":case"H":i.setHours(i.getHours()+t),o=!0;break;case"m":i.setMinutes(i.getMinutes()+t),o=!0;break;case"s":i.setSeconds(i.getSeconds()+t),o=!0;break;case"S":i.setMilliseconds(i.getMilliseconds()+t);break;case"a":var l=i.getHours();this.toggleDayPeriod?i.setHours(l>=12?l-12:l+12):i.setHours(i.getHours()+12*t),o=!0}else{var c=this._partiallyInvalidDate.invalidDateParts||{},d=this.getInvalidDatePartValue(e),u=c.y.value||i.getFullYear(),h=c.M.value||i.getMonth(),p=c.d.value||c.E.value||i.getDate(),f=c.h.value||c.H.value||i.getHours(),m=c.m.value||i.getMinutes(),v=c.s.value||i.getSeconds(),g=c.S.value||i.getMilliseconds();switch(e){case"y":u+=t;break;case"M":h+=t;break;case"d":case"E":p+=t}if("M"===e){if((h<0||h>11)&&s)return this.setExisting(e,!1),void this.resetInvalidDateSymbol(e);if(!s){if(h<0)h=Ie(h%11+1+11,0,11);else{var _=Ce(d)?h:(t-1)%12;h=Ie(_,0,11)}h=Ie(h,0,11)}h=Ie(h,0,11)}else if("d"===e)if(s){if(p<=0||p>31)return this.setExisting(e,!1),void this.resetInvalidDateSymbol(e)}else if(!s){if(Ce(d)&&(p<=0||p>31))return this.setExisting(e,!1),void this.resetInvalidDateSymbol(e);if(t<0){var b=Ce(d)?p:31-Math.abs(t%31)+1;p=Ie(b,1,31)}else{b=Ce(d)?p:t%31;p=Ie(b,1,31)}p=Ie(p,1,31)}var y=P(u,h,p,f,m,v,g),w=r||a?this.modifyDateSymbolWithValue(i,e,r?h:p):null,k=Ee(y,u,h,p,f,m,v,g);this.getValue()&&Ee(y,u,h,p,f,m,v,g)?(i=E(y),this.markDatePartsAsExisting()):r&&w?w.getMonth()===h?this.getExisting("d")?k?(i=E(y),this.resetInvalidDateSymbol(e)):(n=!0,this.setInvalidDatePart(e,{value:h,date:E(w),startDateOffset:t,startDate:E(this.value)}),this.setExisting(e,!1)):k?(this.resetInvalidDateSymbol(e),i=E(y),this.getExisting("M")&&this.getExisting("y")&&(this.setExisting("d",!0),this.resetInvalidDateSymbol("d"))):(this.resetInvalidDateSymbol(e),i=E(w)):(n=!0,this.setInvalidDatePart(e,{value:h,date:E(w),startDateOffset:t,startDate:E(this.value)}),this.setExisting(e,!1)):a&&w&&(w.getDate()===p?this.getExisting("M")?k?(i=E(y),this.resetInvalidDateSymbol(e)):(n=!0,this.setInvalidDatePart(e,{value:p,date:E(w),startDateOffset:t,startDate:E(this.value)}),this.setExisting(e,!1)):k?(i=E(y),this.resetInvalidDateSymbol(e),this.getExisting("d")&&this.getExisting("y")&&(this.setExisting("M",!0),this.resetInvalidDateSymbol("M"))):(this.resetInvalidDateSymbol(e),i=E(w)):(n=!0,this.setInvalidDatePart(e,{value:p,date:E(this.value),startDateOffset:t,startDate:E(this.value)}),this.setExisting(e,!1)))}this.shouldNormalizeCentury()&&(i=this.normalizeCentury(i)),o&&!this.cycleTime&&(i.getDate(),this._value.getDate()),n||(this.setExisting(e,!0),this._value=i,this.getValue()&&this.resetInvalidDate())}},e.prototype.parsePart=function(e){for(var t=e.symbol,n=e.currentChar,i=e.resetSegmentValue,o=e.cycleSegmentValue,r=e.rawTextValue,a=e.isDeleting,s=e.originalFormat,l=!o,c=this.dateFormatString(this.value,this.format),d=c.partMap.filter((function(e){return"literal"===e.type})).map((function(e,t){return{datePartIndex:t,type:e.type,pattern:e.pattern,literal:""}})),u=c.partMap.map((function(e){return{type:e.type,pattern:e.pattern,text:""}})),h=0;h<d.length;h++){for(var p=d[h],f=0;f<p.pattern.length;f++)d[h+f]&&(d[h+f].literal=p.pattern[f]);h+=p.pattern.length-1}for(h=0;h<u.length;h++){for(p=u[h],f=0;f<p.pattern.length;f++)u[h+f]&&(u[h+f].text=p.pattern[f]);h+=p.pattern.length-1}var m={value:null,switchToNext:!1,resetPart:l&&"M"===t&&c.partMap.filter((function(e){return"month"===e.type})).some((function(e){return e.pattern.length>2})),hasInvalidDatePart:!1};if(!n){if(!l)return this.resetLeadingZero(),this.setExisting(t,!1),this.resetInvalidDateSymbol(t),He(m,{value:null,switchToNext:!1});for(h=0;h<d.length;h++){var v=d[h].literal,g=r.startsWith(v),_=r.endsWith(v),b=r.indexOf(v+v)>=0;if(g||_||b)return this.resetLeadingZero(),this.setExisting(t,!1),this.resetInvalidDateSymbol(t),He(m,{value:null,switchToNext:!1})}}var y=this.intl.formatDate(this.value,this.format,this.localeId),w=c.symbols,k=!1,x="",C="",z="",S="",T="",M="",I="";for(h=0;h<u.length;h++)I+=u[h].text;var H=this.format===w||this.format===I||this.format===s||this.format.length===s.length,D=(H?I:s).indexOf(t),A=(H?I:s).lastIndexOf(t)-D+1,V=s.length-r.length;if(l||!l&&!this.autoCorrectParts){for(h=0;h<y.length;h++){if(w[h]===t)C+=this.getExisting(t)?y[h]:"0",V>0?z.length+V<A&&(z+=r[h]||""):z+=r[h]||"",k=!0;else k?(M+=y[h],T+=y[h]):(x+=y[h],S+=y[h])}if(H&&(I.length<r.length?z+=n:!a&&(s.length,r.length),z.length>A))return He(m,{value:null,switchToNext:!1});if(!H||H&&!this.autoCorrectParts){C="",z="",x="",M="",k=!1;for(h=0;h<s.length;h++){if(s[h]===t)C+=this.getExisting(t)?y[h]||"":"0",V>0?z.length+V<A&&(z+=r[h]||""):z+=r[h]||"",k=!0;else k?M+=r[h-V]||"":x+=r[h]||""}s.length<r.length&&(z+=n)}}if(!l)if(this.autoCorrectParts){C="",z="",x="",M="",k=!1;for(h=0;h<y.length;h++){if(w[h]===t)C+=this.getExisting(t)?y[h]:"0",k=!0;else k?M+=y[h]:x+=y[h]}}else C=i?z:C;var O=null,L=this.matchMonth(n),R=this.matchDayPeriod(n,t),N="0"===n,U=this.leadingZero||{};N?("0"===z&&(z=C),0!==Te(i?n:(l?z:C)+n)||this.isAbbrMonth(c.partMap,t)||this.incrementLeadingZero(t)):this.resetLeadingZero();var j=this.partPattern(c.partMap,t),W=j?j.pattern:null,$=this.patternLength(W)||W.length;if(l&&a&&!z)return this.setExisting(t,!1),He(m,{value:null,switchToNext:!1});var q=C.length-3,G=!0,K=l?z:C;for(h=Math.max(0,q);h<=C.length&&G;h++){K=i?n:l?z:C.substring(h)+n,!l&&this.autoCorrectParts||(G=!1,K=ke(K),K=we($-K.length)+K);var Y=parseInt(K,10),Q=x+K+M;O=this.intl.parseDate(Q,this.format,this.localeId);var X=!1;l&&!Ae(O)&&this.autoCorrectParts&&(O=this.intl.parseDate(S+K+T,this.format,this.localeId),X=!0);var Z=!isNaN(parseInt(n,10))||l&&a&&""===n;if(!O&&!isNaN(Y)&&Z&&this.autoCorrectParts){if("M"===t&&!L){var J=Y-1;J>-1&&J<12&&((O=E(this.value)).setMonth(J),O.getMonth()!==J&&(O=B(F(O,-1))))}"y"===t&&(O=P(parseInt(K,10),this.month?this.value.getMonth():0,this.date?this.value.getDate():1,this.hours?this.value.getHours():0,this.minutes?this.value.getMinutes():0,this.seconds?this.value.getSeconds():0,this.milliseconds?this.value.getMilliseconds():0),(l&&Ae(O)||!l&&O)&&this.date&&O.getDate()!==this.value.getDate()&&(O=B(F(O,-1))))}if(l&&Ae(O)||!l&&O){var ee=this.isPeekDateOverflowingDatePart({useBasePrefixAndSuffix:X,middle:K,patternValue:W,basePrefix:S,baseSuffix:T,prefix:x,suffix:M,symbol:t,patternLength:$,leadingZero:U}),te=ee.switchToNext;return this.shouldNormalizeCentury()&&(O=this.normalizeCentury(O)),"H"===t&&O.getHours()>=12&&this.setExisting("a",!0),this._value=O,this.setExisting(t,!0),this.resetInvalidDateSymbol(t),this.autoCorrectParts||("M"===t?this.getExisting("M")&&this.getExisting("y")&&(this.setExisting("d",!0),this.resetInvalidDateSymbol("d")):"d"===t&&this.getExisting("d")&&this.getExisting("y")&&(this.setExisting("M",!0),this.resetInvalidDateSymbol("M")),this.hasInvalidDatePart()||(this.markDatePartsAsExisting(),ee.peekedDate||!ee.switchToNext||this.autoCorrectParts||"M"===t||"d"===t&&30===ee.parsedPeekedValue&&1===this.value.getMonth()&&(te=!1))),He(m,{value:this.value,switchToNext:te})}}if(L&&(O=this.intl.parseDate(x+L+M,this.format,this.localeId)))return this._value=O,this.setExisting(t,!0),He(m,{value:this.value,switchToNext:!1});if(R&&(O=this.intl.parseDate(x+R+M,this.format)||this.intl.parseDate(S+R+T,this.format)))return this._value=O,this.setExisting(t,!0),He(m,{value:this.value,switchToNext:!0});if(N&&this.setExisting(t,!1),!this.autoCorrectParts){var ne=void 0,ie=l?z:K,oe=Te(ie);if(Se(oe)&&Me(ie)){if("d"===t&&(oe<=0||oe>31)||"M"===t&&(oe<=0||oe>11)){if(l)return He(m,{value:null,switchToNext:!1});oe=Te(ie=n)}if(!Se(oe)||!Me(ie))return He(m,{value:null,switchToNext:!1});ne="M"===t?oe-1:oe;var re="M"===t,ae="d"===t,se=E(this._value),le=this._partiallyInvalidDate.invalidDateParts||{},ce=le.y.value||se.getFullYear(),de=re?ne:le.M.value||se.getMonth(),ue=ae?ne:le.d.value||le.E.value||se.getDate(),he=le.h.value||le.H.value||se.getHours(),pe=le.m.value||se.getMinutes(),fe=le.s.value||se.getSeconds(),me=le.S.value||se.getMilliseconds(),ve=P(ce,de,ue,he,pe,fe,me),ge=Ee(ve,ce,de,ue,he,pe,fe,me),_e=re||ae?this.modifyDateSymbolWithValue(se,t,re?de:ue):null,be=!1;if(re&&_e?_e.getMonth()===de?this.getExisting("d")?ge?(se=E(ve),this.resetInvalidDateSymbol(t)):(be=!0,this.setInvalidDatePart(t,{value:de,date:E(_e),startDate:E(this.value)}),this.setExisting(t,!1)):ge?(this.resetInvalidDateSymbol(t),se=E(ve),this.getExisting("M")&&this.getExisting("y")&&(this.setExisting("d",!0),this.resetInvalidDateSymbol("d"))):(this.resetInvalidDateSymbol(t),se=E(_e)):(be=!0,this.setInvalidDatePart(t,{value:de,date:E(_e),startDate:E(this.value)}),this.setExisting(t,!1)):ae&&_e&&(_e.getDate()===ue?this.getExisting("M")?ge?(se=E(ve),this.resetInvalidDateSymbol(t)):(be=!0,this.setInvalidDatePart(t,{value:ue,date:E(_e),startDate:E(this.value)}),this.setExisting(t,!1)):ge?(se=E(ve),this.resetInvalidDateSymbol(t),this.getExisting("d")&&this.getExisting("y")&&(this.setExisting("M",!0),this.resetInvalidDateSymbol("M"))):(this.resetInvalidDateSymbol(t),se=E(_e)):(be=!0,this.setInvalidDatePart(t,{value:ue,date:E(this.value),startDate:E(this.value)}),this.setExisting(t,!1))),!be){if(this.setExisting(t,!0),l&&!Ae(O)){var ye=this.intl.parseDate(S+K+T,this.format,this.localeId);Ae(ye)&&(this._value=ye)}else this._value=se;this.getValue()&&this.resetInvalidDate()}te=!1;if("M"===t)te=oe>=2||ie.length>=2;else if(H)te=this.isPeekDateOverflowingDatePart({useBasePrefixAndSuffix:!this.autoCorrectParts,middle:K,patternValue:W,basePrefix:S,baseSuffix:T,prefix:x,suffix:M,symbol:t,patternLength:$,leadingZero:U}).switchToNext;else te=ie.length>A;return He(m,{value:null,switchToNext:te,hasInvalidDatePart:be})}}return He(m,{value:null,switchToNext:!1})},e.prototype.symbolMap=function(e){return this.intl.splitDateFormat(this.format,this.localeId).reduce(xe,{})[e]},e.prototype.resetLeadingZero=function(){var e=null!==this.leadingZero;return this.setLeadingZero(null),e},e.prototype.setLeadingZero=function(e){this.leadingZero=e},e.prototype.getLeadingZero=function(){return this.leadingZero||{}},e.prototype.normalizeCentury=function(e){if(!Ce(e))return e;var t=function(e){return!Ce(e)||isNaN(e.getTime())?0:Number(e.getFullYear().toString().slice(-2))}(e),n=this.getNormalizedCenturyBase(t);return De(e,n+t)},e.prototype.incrementLeadingZero=function(e){var t=this.leadingZero||{};t[e]=(t[e]||0)+1,this.leadingZero=t},e.prototype.isAbbrMonth=function(e,t){var n=this.partPattern(e,t);return"month"===n.type&&n.names},e.prototype.partPattern=function(e,t){return e.filter((function(e){return-1!==e.pattern.indexOf(t)}))[0]},e.prototype.peek=function(e,t){var n=e.replace(/^0*/,"")+"0";return we(t.length-n.length)+n},e.prototype.matchMonth=function(e){if(this.typedMonthPart+=e.toLowerCase(),0===this.monthNames.length)return"";for(;this.typedMonthPart.length>0;){for(var t=0;t<this.monthNames.length;t++)if(0===this.monthNames[t].toLowerCase().indexOf(this.typedMonthPart))return this.monthNames[t];var n=parseInt(this.typedMonthPart,10);if(n>=1&&n<=12&&n.toString()===this.typedMonthPart)return this.monthNames[n-1];this.typedMonthPart=this.typedMonthPart.substring(1,this.typedMonthPart.length)}return""},e.prototype.matchDayPeriod=function(e,t){var n=e.toLowerCase();if("a"===t&&this.dayPeriods){if(this.dayPeriods.am.toLowerCase().startsWith(n))return this.dayPeriods.am;if(this.dayPeriods.pm.toLowerCase().startsWith(n))return this.dayPeriods.pm}return""},e.prototype.allFormattedMonths=function(e){void 0===e&&(e="en");for(var t=this.intl.splitDateFormat(this.format,this.localeId),n=0;n<t.length;n++)if("month"===t[n].type&&t[n].names)return this.intl.dateFormatNames(e,t[n].names);return[]},e.prototype.allDayPeriods=function(e){void 0===e&&(e="en");for(var t=this.intl.splitDateFormat(this.format),n=0;n<t.length;n++)if("dayperiod"===t[n].type&&t[n].names)return this.intl.dateFormatNames(e,t[n].names);return null},e.prototype.patternLength=function(e){return"y"===e[0]?4:Ve.test(e)?2:0},e.prototype.dateFormatString=function(e,t){for(var n=this.intl.splitDateFormat(t,this.localeId),i=[],o=[],r=0;r<n.length;r++)for(var a=this.intl.formatDate(e,{pattern:n[r].pattern},this.localeId).length;a>0;)i.push(this.symbols[n[r].pattern[0]]||fe),o.push(n[r]),a--;var s=new pe;return s.symbols=i.join(""),s.partMap=o,s},e.prototype.merge=function(e,t){for(var n="",i="",o=t.symbols,r=!1,a=0,s=this.getFormattedInvalidDates(o),l=o.length-1;l>=0;l--){var c=this.getPartsForSegment(t,l);if(-1===this.knownParts.indexOf(o[l])||this.getExisting(o[l]))this.autoCorrectParts?n=e[l]+n:e.length!==o.length?r?n=e[l]+n:a>0?(n=e[l]+n,--a<=0&&(r=!0)):n=(e[l+e.length-o.length]||"")+n:n=e[l]+n,i=o[l]+i;else{var d=o[l],u=0;if(this.autoCorrectParts||!this.autoCorrectParts&&!this.getInvalidDatePartValue(d)){for(;l>=0&&d===o[l];)l--;l++}if(this.leadingZero&&this.leadingZero[d])n="0"+n;else if(!this.autoCorrectParts&&this.getInvalidDatePartValue(d)){var h=this.getInvalidDatePartValue(d).toString();if("M"===d)if(h=(Te(this.getInvalidDatePartValue(d))+1).toString(),c.length>2)n=s[d][l]+n;else h=(Te(this.getInvalidDatePartValue(d))+1).toString(),n=we(c.length-h.length)+h+n,u=c.length-1,a=h.length-c.length;else n=we(c.length-h.length)+h+n,u=c.length-1,a=h.length-c.length}else n=this.dateFieldName(t.partMap[l])+n;for(;i.length<n.length;)i=o[l]+i;0!==u&&(l=l-u+(e.length-o.length))}}return{text:n,format:i}},e.prototype.dateFieldName=function(e){var t=this.formatPlaceholder||"wide";return t[e.type]?t[e.type]:"formatPattern"===t?e.pattern:this.intl.dateFieldName(Object.assign(e,{nameType:t}))},e.prototype.getNormalizedCenturyBase=function(e){return e>this.twoDigitYearMax?1900:2e3},e.prototype.shouldNormalizeCentury=function(){return this.intl.splitDateFormat(this.format).some((function(e){return"yy"===e.pattern}))},e.prototype.resetInvalidDate=function(){var e=this;this._partiallyInvalidDate.startDate=null,Object.keys(this._partiallyInvalidDate.invalidDateParts).forEach((function(t){e.resetInvalidDatePart(t)}))},e.prototype.resetInvalidDateSymbol=function(e){var t=this;this.resetInvalidDatePart(e);var n=!0;Object.keys(this._partiallyInvalidDate.invalidDateParts).forEach((function(e){t._partiallyInvalidDate.invalidDateParts[e]&&Ce(t._partiallyInvalidDate.invalidDateParts[e].value)&&(n=!1)})),n&&this.resetInvalidDate()},e.prototype.resetInvalidDatePart=function(e){this._partiallyInvalidDate.invalidDateParts[e]&&(this._partiallyInvalidDate.invalidDateParts[e]={value:null,date:null,startDateOffset:0})},e.prototype.getInvalidDatePart=function(e){return this._partiallyInvalidDate.invalidDateParts[e]||{}},e.prototype.getInvalidDatePartValue=function(e){return(this._partiallyInvalidDate.invalidDateParts[e]||{}).value},e.prototype.setInvalidDatePart=function(e,t){var n=t.value,i=void 0===n?null:n,o=t.date,r=void 0===o?null:o,a=t.startDateOffset,s=void 0===a?0:a,l=t.startDate,c=void 0===l?null:l;this._partiallyInvalidDate.invalidDateParts[e]&&(this._partiallyInvalidDate.invalidDateParts[e].value=i,this._partiallyInvalidDate.invalidDateParts[e].date=r,this._partiallyInvalidDate.invalidDateParts[e].startDateOffset=s,this._partiallyInvalidDate.startDate=c)},e.prototype.hasInvalidDatePart=function(){var e=this,t=!1;return Object.keys(this._partiallyInvalidDate.invalidDateParts).forEach((function(n){e._partiallyInvalidDate.invalidDateParts[n]&&Ce(e._partiallyInvalidDate.invalidDateParts[n].value)&&(t=!0)})),t},e.prototype.modifyDateSymbolWithOffset=function(e,t,n){var i=E(e),o=!1;switch(t){case"y":i.setFullYear(i.getFullYear()+n);break;case"M":i=F(this.value,n);break;case"d":case"E":i.setDate(i.getDate()+n);break;case"h":case"H":i.setHours(i.getHours()+n),o=!0;break;case"m":i.setMinutes(i.getMinutes()+n),o=!0;break;case"s":i.setSeconds(i.getSeconds()+n),o=!0;break;case"S":i.setMilliseconds(i.getMilliseconds()+n);break;case"a":i.setHours(i.getHours()+12*n),o=!0}return{date:i,timeModified:o}},e.prototype.modifyDateSymbolWithValue=function(e,t,n){var i=E(e);switch(t){case"y":i.setFullYear(n);break;case"M":i=F(e,n-e.getMonth());break;case"d":case"E":i.setDate(n);break;case"h":case"H":case"a":i.setHours(n);break;case"m":i.setMinutes(n);break;case"s":i.setSeconds(n);break;case"S":i.setMilliseconds(n)}return i},e.prototype.markDatePartsAsExisting=function(){this.modifyExisting(!0)},e.prototype.getPartsForSegment=function(e,t){for(var n=e.partMap[t],i=[],o=t;o<e.partMap.length;o++){var r=e.partMap[o];if(n.type!==r.type||n.pattern!==r.pattern)break;i.push(r)}for(o=t-1;o>=0;o--){r=e.partMap[o];if(n.type!==r.type||n.pattern!==r.pattern)break;i.unshift(r)}return i},e.prototype.isPeekDateOverflowingDatePart=function(e){var t=e.useBasePrefixAndSuffix,n=e.middle,i=e.patternValue,o=e.basePrefix,r=e.baseSuffix,a=e.prefix,s=e.suffix,l=e.symbol,c=e.patternLength,d=e.leadingZero,u=this.peek(n,i),h=t?""+o+u+r:""+a+u+s,p=this.intl.parseDate(h,this.format,this.localeId),f=((this.leadingZero||{})[l]||0)+ke(n).length>=c;return{peekedDate:p,peekedDateString:h,peekedValue:u,parsedPeekedValue:Te(u),switchToNext:null===p||(d[l]?i.length<=n.length:f)}},e}(),Be=8,Fe=46,Oe=9,Le=13,Re=37,Ne=38,Ue=39,je=40,We=35,$e=36,qe={events:{}},Ge=function(){function e(e){this.options=He({},qe,e)}return e.prototype.destroy=function(){},e.prototype.trigger=function(e,t){void 0===t&&(t={});var n={defaultPrevented:!1,preventDefault:function(){n.defaultPrevented=!0}};return"function"==typeof this.options.events[e]&&(this.options.events[e](He(n,t,{sender:this})),n.defaultPrevented)},e}();!function(e){e.None="none",e.Caret="caret",e.Selection="selection"}(ue||(ue={}));var Ke="dragStart",Ye="drop",Qe="touchstart",Xe="mousedown",Ze="mouseup",Je="click",et="input",tt="keydown",nt="focus",it="blur",ot="paste",rt="DOMMouseScroll",at="mousewheel",st="valueChange",lt="inputEnd",ct="blurEnd",dt="focusEnd",ut="change",ht={format:"d",hasPlaceholder:!1,placeholder:null,cycleTime:!0,locale:null,steps:{millisecond:1,second:1,minute:1,hour:1,day:1,month:1,year:1},formatPlaceholder:null,events:(he={},he[st]=null,he[et]=null,he[lt]=null,he[nt]=null,he[dt]=null,he[it]=null,he[ct]=null,he[tt]=null,he[at]=null,he[ut]=null,he),selectNearestSegmentOnFocus:!1,selectPreviousSegmentOnBackspace:!1,enableMouseWheel:!1,allowCaretMode:!1,autoSwitchParts:!0,autoSwitchKeys:[],twoDigitYearMax:me,autoCorrectParts:!0,autoFill:!1,toggleDayPeriod:!1},pt=function(e){function t(t,n){var i=e.call(this,n)||this;return i.dateObject=null,i.currentText="",i.currentFormat="",i.interactionMode=ue.None,i.previousElementSelection={start:0,end:0},i.init(t,n),i}return le(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.dateObject&&this.dateObject.getValue()},enumerable:!0,configurable:!0}),t.prototype.init=function(e,t){var n=Ae(this.options.value)?E(this.options.value):new Date(t.formattedValue);Ae(n)||(n=null),this.element=e,this.options=He({},ht,t,{steps:ce({},ht.steps,t.steps)}),this.intl=this.options.intlService,this.dateObject=this.createDateObject(),this.dateObject.setValue(n),this.setTextAndFormat(),this.bindEvents(),this.resetSegmentValue=!0,this.interactionMode=ue.None,this.forceUpdate()},t.prototype.destroy=function(){this.unbindEvents(),this.dateObject=null,e.prototype.destroy.call(this)},t.prototype.bindEvents=function(){this.onElementDragStart=this.onElementDragStart.bind(this),this.element.addEventListener(Ke,this.onElementDragStart),this.onElementDrop=this.onElementDrop.bind(this),this.element.addEventListener(Ye,this.onElementDrop),this.onElementClick=this.onElementClick.bind(this),this.element.addEventListener(Je,this.onElementClick),this.onElementMouseDown=this.onElementMouseDown.bind(this),this.element.addEventListener(Xe,this.onElementMouseDown),this.element.addEventListener(Qe,this.onElementMouseDown),this.onElementMouseUp=this.onElementMouseUp.bind(this),this.element.addEventListener(Ze,this.onElementMouseUp),this.onElementInput=this.onElementInput.bind(this),this.element.addEventListener(et,this.onElementInput),this.onElementKeyDown=this.onElementKeyDown.bind(this),this.element.addEventListener(tt,this.onElementKeyDown),this.onElementFocus=this.onElementFocus.bind(this),this.element.addEventListener(nt,this.onElementFocus),this.onElementBlur=this.onElementBlur.bind(this),this.element.addEventListener(it,this.onElementBlur),this.onElementChange=this.onElementChange.bind(this),this.element.addEventListener(ut,this.onElementChange),this.onElementPaste=this.onElementPaste.bind(this),this.element.addEventListener(ot,this.onElementPaste),this.onElementMouseWheel=this.onElementMouseWheel.bind(this),this.element.addEventListener(rt,this.onElementMouseWheel),this.element.addEventListener(at,this.onElementMouseWheel)},t.prototype.unbindEvents=function(){this.element.removeEventListener(Ke,this.onElementDragStart),this.element.removeEventListener(Ye,this.onElementDrop),this.element.removeEventListener(Qe,this.onElementMouseDown),this.element.removeEventListener(Xe,this.onElementMouseDown),this.element.removeEventListener(Ze,this.onElementMouseUp),this.element.removeEventListener(Je,this.onElementClick),this.element.removeEventListener(et,this.onElementInput),this.element.removeEventListener(tt,this.onElementKeyDown),this.element.removeEventListener(nt,this.onElementFocus),this.element.removeEventListener(it,this.onElementBlur),this.element.removeEventListener(ut,this.onElementChange),this.element.removeEventListener(ot,this.onElementPaste),this.element.removeEventListener(rt,this.onElementMouseWheel),this.element.removeEventListener(at,this.onElementMouseWheel)},t.prototype.setOptions=function(e,t){void 0===t&&(t=!1),this.options=He({},this.options,e,{steps:ce({},ht.steps,e.steps)}),this.setDateObjectOptions(),t&&(this.unbindEvents(),this.init(this.element,this.options))},t.prototype.setDateObjectOptions=function(){if(this.dateObject){var e=this.getDateObjectOptions();this.dateObject.setOptions(e)}},t.prototype.resetLocale=function(){this.unbindEvents(),this.init(this.element,this.options)},t.prototype.isInCaretMode=function(){return this.interactionMode===ue.Caret},t.prototype.focus=function(){this.element.focus(),this.options.selectNearestSegmentOnFocus&&this.selectNearestSegment(0)},t.prototype.onElementDragStart=function(e){e.preventDefault()},t.prototype.onElementDrop=function(e){e.preventDefault()},t.prototype.onElementMouseDown=function(){this.mouseDownStarted=!0,this.focusedPriorToMouseDown=this.isActive},t.prototype.onElementMouseUp=function(e){this.mouseDownStarted=!1,e.preventDefault()},t.prototype.onElementClick=function(e){this.mouseDownStarted=!1,this.switchedPartOnPreviousKeyAction=!1;var t=this.selection;if(this.isInCaretMode()&&this.forceUpdate(),3===e.detail);else if(this.isActive&&this.options.selectNearestSegmentOnFocus){var n=this.element.selectionStart!==this.element.selectionEnd,i=Ce(this.options.placeholder)&&!this.dateObject.hasValue()&&!this.focusedPriorToMouseDown,o=!n&&i?0:this.caret()[0];this.selectNearestSegment(o)}else this.setSelection(this.selectionByIndex(t.start))},t.prototype.onElementInput=function(e){this.triggerInput({event:e});var t=this.elementValue;if(this.element&&this.dateObject){var n=this.switchedPartOnPreviousKeyAction;if(this.isPasteInProgress)return this.options.allowCaretMode&&(this.resetSegmentValue=!1),this.updateOnPaste(e),void(this.isPasteInProgress=!1);var i=this.keyDownEvent||{},o=i.keyCode===Be||i.key===be,r=i.keyCode===Fe||i.key===_e,a=this.interactionMode;!this.options.allowCaretMode||a===ue.Caret||r||o||(this.resetSegmentValue=!0),this.options.allowCaretMode?this.interactionMode=ue.Caret:this.interactionMode=ue.Selection;var s=this.isInCaretMode();if(s&&this.keyDownEvent.key===ye)this.restorePreviousInputEventState();else{var l=this.dateObject&&this.dateObject.getValue(),c=this.dateObject?this.dateObject.value:null,d=this.dateObject.getTextAndFormat(),u=d.text,h=d.format;this.currentFormat=h;var p=function(e){var t=e.oldText,n=e.newText,i=e.formatPattern,o=e.selectionStart,r=e.isInCaretMode,a=e.keyEvent,s=o+t.length-n.length,l=t[s],c=t.substring(0,s),d=n.substring(0,o),u=[];if(c===d&&o>0)return u.push([i[o-1],d[o-1]]),u;if(0===c.indexOf(d)&&r&&(a.key===_e||a.key===be)||0===c.indexOf(d)&&!r&&(0===d.length||i[d.length-1]!==i[d.length])){var h="";r||1!==d.length||u.push([i[0],d[0]]);for(var p=d.length;p<c.length;p++)i[p]!==h&&i[p]!==fe&&(h=i[p],u.push([h,""]));return u}if(r&&(0===d.indexOf(c)||i[o-1]===fe)||!r&&(0===d.indexOf(c)||i[o-1]===fe)){var f=i[0];for(p=Math.max(0,c.length-1);p<i.length;p++)if(i[p]!==fe){f=i[p];break}return[[f,d[o-1]]]}return" "===d[d.length-1]||d[d.length-1]===l&&"_"===i[s]?[[i[o-1],fe]]:[[i[o-1],d[o-1]]]}({oldText:s&&(o||r||a===ue.Caret)?this.previousElementValue:u,newText:this.elementValue,formatPattern:this.currentFormat,selectionStart:this.selection.start,isInCaretMode:s,keyEvent:this.keyDownEvent});if(p&&p.length&&p[0]&&p[0][1]!==fe&&(this.switchedPartOnPreviousKeyAction=!1),!s||p&&0!==p.length){if(s&&1===p.length){if(!p[0]||!p[0][0])return void this.restorePreviousInputEventState();if(s&&p[0]&&(p[0][0]===fe||p[0][1]===fe))return void this.restorePreviousInputEventState()}var f=1===p.length&&p[0][1]===fe,m=[],v=!1,g=null;if(!f)for(var _=0;_<p.length;_++){var b=this.dateObject.parsePart({symbol:p[_][0],currentChar:p[_][1],resetSegmentValue:this.resetSegmentValue,cycleSegmentValue:!this.isInCaretMode(),rawTextValue:this.element.value,isDeleting:o||r,originalFormat:this.currentFormat});m.push(b),b.value||(g={type:"parse"}),v=b.switchToNext}this.options.autoSwitchParts||(v=!1),this.resetSegmentValue=!1;var y,w=this.options.format===this.currentFormat||Ce(this.options.format)&&this.options.format.length>1,k=m[m.length-1],x=k&&!Ce(k.value),C=s&&(o||r)&&x,z=!!k&&k.resetPart,S=this.dateObject.getValue(),T=!R(l,S),M=this.dateObject.value,I=this.selection;if(s){var H=p&&p.length>0?p[0][0]:null,D=this.dateObject.getLeadingZero()[H];p.length&&p[0][0]!==fe?v?(this.forceUpdateWithSelection(),this.switchDateSegment(1)):z?(y=this.currentFormat[I.start])?(this.forceUpdate(),this.setSelection(this.selectionBySymbol(y))):this.restorePreviousInputEventState():C?(this.forceUpdate(),p.length&&p[0][0]!==fe&&this.setSelection(this.selectionBySymbol(p[0][0]))):x?"0"===e.data&&D||(Ce(l)&&!Ce(S)?this.restorePreviousInputEventState():!Ce(l)&&Ce(S)?this.forceUpdateWithSelection():Ce(l)&&Ce(S)?T?this.forceUpdateWithSelection():this.restorePreviousInputEventState():Ce(l)||Ce(S)?c!==M||this.restorePreviousInputEventState():this.forceUpdateWithSelection()):x||w||this.forceUpdateWithSelection():(this.options.autoSwitchParts||p[0][1]!==fe)&&this.setSelection(this.selectionBySymbol(p[0][0]))}else s||(this.forceUpdate(),p.length&&p[0][0]!==fe&&this.setSelection(this.selectionBySymbol(p[0][0])),this.options.autoSwitchParts?f?(this.resetSegmentValue=!0,n||this.switchDateSegment(1),this.switchedPartOnPreviousKeyAction=!0):v&&(this.switchDateSegment(1),this.switchedPartOnPreviousKeyAction=!0):k&&k.switchToNext?this.resetSegmentValue=!0:f&&(this.resetSegmentValue=!0,n||this.switchDateSegment(1),this.switchedPartOnPreviousKeyAction=!0),o&&this.options.selectPreviousSegmentOnBackspace&&this.switchDateSegment(-1));this.tryTriggerValueChange({oldValue:l,event:e}),this.triggerInputEnd({event:e,error:g,oldElementValue:t,newElementValue:this.elementValue}),s&&this.setTextAndFormat()}else this.restorePreviousInputEventState()}}},t.prototype.onElementFocus=function(e){this.triggerFocus({event:e})||(this.isActive=!0,this.interactionMode=ue.None,this.switchedPartOnPreviousKeyAction=!1,this.refreshElementValue(),this.mouseDownStarted||this.caret(0,this.elementValue.length),this.mouseDownStarted=!1,this.triggerFocusEnd({event:e}))},t.prototype.onElementBlur=function(e){this.resetSegmentValue=!0,this.isActive=!1,this.triggerBlur({event:e})||(this.options.autoFill&&this.autoFill(),this.interactionMode=ue.None,this.switchedPartOnPreviousKeyAction=!1,this.refreshElementValue(),this.triggerBlurEnd({event:e}))},t.prototype.onElementChange=function(e){this.triggerChange({event:e})},t.prototype.onElementKeyDown=function(e){if(!this.triggerKeyDown({event:e})){var t=this.selection,n=t.start,i=t.end,o=e;if(this.keyDownEvent=e,this.previousElementValue=this.element.value,this.previousElementSelection={start:n,end:i},this.keyEventMatchesAutoSwitchKeys(e)){var r=e.keyCode===Oe;if(!r)return e.preventDefault(),void this.switchDateSegment(1);var a=this.selection,s=a.start,l=a.end;if(e.shiftKey&&r?this.switchDateSegment(-1):this.switchDateSegment(1),s!==this.selection.start||l!==this.selection.end)return void e.preventDefault()}var c=this.currentFormat[this.selection.start],d=this.getStepFromSymbol(c),u=!1,h=this.elementValue;if(!(e.altKey||e.ctrlKey||e.metaKey||e.keyCode===Oe)){switch(e.keyCode){case Re:this.switchDateSegment(-1),u=!0,this.switchedPartOnPreviousKeyAction=!1;break;case Ne:this.modifyDateSegmentValue(d,c,o),h!==this.elementValue&&this.triggerInputEnd({event:e,error:null,newElementValue:this.elementValue,oldElementValue:h}),u=!0,this.switchedPartOnPreviousKeyAction=!1;break;case Ue:this.switchDateSegment(1),u=!0,this.switchedPartOnPreviousKeyAction=!1;break;case je:this.modifyDateSegmentValue(-d,c,o),h!==this.elementValue&&this.triggerInputEnd({event:e,error:null,newElementValue:this.elementValue,oldElementValue:h}),u=!0,this.switchedPartOnPreviousKeyAction=!1;break;case Le:break;case $e:this.selectNearestSegment(0),u=!0,this.switchedPartOnPreviousKeyAction=!1,this.resetSegmentValue=!0;break;case We:this.selectNearestSegment(this.elementValue.length),u=!0,this.switchedPartOnPreviousKeyAction=!1,this.resetSegmentValue=!0;break;default:return}u&&e.preventDefault()}}},t.prototype.onElementPaste=function(){this.isPasteInProgress=!0},t.prototype.onElementMouseWheel=function(e){var t=this.elementValue;if(this.options.enableMouseWheel&&!this.triggerMouseWheel({event:e})&&this.isActive){var n=e;n.shiftKey?this.switchDateSegment((n.wheelDelta||-n.detail)>0?-1:1):this.modifyDateSegmentValue((n.wheelDelta||-n.detail)>0?1:-1),n.returnValue=!1,n.preventDefault&&n.preventDefault(),t!==this.elementValue&&this.triggerInputEnd({event:e,error:null,newElementValue:this.elementValue,oldElementValue:t})}},t.prototype.updateOnPaste=function(e){var t=this.intl.parseDate(this.elementValue,this.inputFormat)||this.value;Ce(t)&&this.dateObject.shouldNormalizeCentury()&&(t=this.dateObject.normalizeCentury(t));var n=this.dateObject&&this.dateObject.getValue();this.writeValue(t),this.tryTriggerValueChange({oldValue:n,event:e})},Object.defineProperty(t.prototype,"elementValue",{get:function(){return(this.element||{}).value||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputFormat",{get:function(){return this.options.format?"string"==typeof this.options.format?this.options.format:this.options.format.inputFormat:ve},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"displayFormat",{get:function(){return this.options.format?"string"==typeof this.options.format?this.options.format:this.options.format.displayFormat:ve},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selection",{get:function(){var e={start:0,end:0};return null!==this.element&&void 0!==this.element.selectionStart&&(e={start:this.element.selectionStart,end:this.element.selectionEnd}),e},enumerable:!0,configurable:!0}),t.prototype.setSelection=function(e){this.element&&document.activeElement===this.element&&(this.element.setSelectionRange(e.start,e.end),ze()&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/Macintosh/i.test(navigator.userAgent))&&this.element.scrollIntoView({block:"nearest",inline:"nearest"}),e.start!==e.end&&(this.interactionMode=ue.Selection))},t.prototype.selectionBySymbol=function(e){for(var t=-1,n=0,i=0;i<this.currentFormat.length;i++)this.currentFormat[i]===e&&(n=i+1,-1===t&&(t=i));return t<0&&(t=0),this.options.autoCorrectParts||this.currentFormat.length===this.currentText.length||(this.currentFormat.length<this.currentText.length?n+=this.currentText.length-this.currentFormat.length:n=Math.max(0,n-(this.currentFormat.length-this.currentText.length))),{start:t,end:n}},t.prototype.selectionByIndex=function(e){for(var t={start:e,end:e},n=e,i=e-1;n<this.currentFormat.length||i>=0;n++,i--){if(n<this.currentFormat.length&&this.currentFormat[n]!==fe){t=this.selectionBySymbol(this.currentFormat[n]);break}if(i>=0&&this.currentFormat[i]!==fe){t=this.selectionBySymbol(this.currentFormat[i]);break}}return t},t.prototype.switchDateSegment=function(e){var t=this.selection;if(this.isInCaretMode()){var n=t.start,i=this.currentFormat[n-1],o="",r="";if(e<0){for(var a=n+e;a>=0;a--)if((r=this.currentFormat[a])!==fe&&r!==i){n=a,o=r;break}}else for(a=n+e;a<this.currentFormat.length;a++)if((r=this.currentFormat[a])!==fe&&r!==i){n=a,o=r;break}if(o)return this.forceUpdate(),this.setSelection(this.selectionBySymbol(o)),void(this.interactionMode=ue.Selection)}this.interactionMode=ue.None;var s=this.selection,l=s.start,c=s.end;if(l<c&&this.currentFormat[l]!==this.currentFormat[c-1])return this.setSelection(this.selectionByIndex(e>0?l:c-1)),this.resetSegmentValue=!0,void(this.interactionMode=ue.None);for(var d=this.currentFormat[l],u=l+e;u>0&&u<this.currentFormat.length&&(this.currentFormat[u]===d||this.currentFormat[u]===fe);)u+=e;if(this.currentFormat[u]!==fe){for(var h=u;h>=0&&h<this.currentFormat.length&&this.currentFormat[h]===this.currentFormat[u];)h+=e;u>h&&(h+1!==l||u+1!==c)?(this.setSelection({start:h+1,end:u+1}),this.resetSegmentValue=!0):u<h&&(u!==l||h!==c)&&(this.setSelection({start:u,end:h}),this.resetSegmentValue=!0),this.interactionMode=ue.None}},t.prototype.modifyDateSegmentValue=function(e,t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),this.dateObject&&!this.options.readonly){var i,o,r,a=this.value,s=1,l=this.caret();if("S"===(t=t||this.currentFormat[l[0]])&&(!this.options.steps.millisecond||1===this.options.steps.millisecond)){var c=(o=this.inputFormat,(r=o&&o.match(/S+(\1)/))?r[0].length:0);i=c,s=Math.pow(10,3-i)}this.dateObject.modifyPart(t,s*e),this.tryTriggerValueChange({oldValue:a,event:n}),this.forceUpdate(),this.setSelection(this.selectionBySymbol(t))}},t.prototype.tryTriggerValueChange=function(e){if(void 0===e&&(e={oldValue:null,event:{}}),!R(this.value,e.oldValue))return this.triggerValueChange(e)},t.prototype.triggerValueChange=function(e){return void 0===e&&(e={oldValue:null,event:{}}),this.trigger(st,He(e,{value:this.value}))},t.prototype.triggerInput=function(e){return void 0===e&&(e={event:{}}),this.trigger(et,He(e,{value:this.value}))},t.prototype.triggerInputEnd=function(e){return void 0===e&&(e={event:{},error:null,oldElementValue:"",newElementValue:""}),this.trigger(lt,He(e,{value:this.value}))},t.prototype.triggerFocus=function(e){return void 0===e&&(e={event:{}}),this.trigger(nt,He({},e))},t.prototype.triggerFocusEnd=function(e){return void 0===e&&(e={event:{}}),this.trigger(dt,He({},e))},t.prototype.triggerBlur=function(e){return void 0===e&&(e={event:{}}),this.trigger(it,He({},e))},t.prototype.triggerBlurEnd=function(e){return void 0===e&&(e={event:{}}),this.trigger(ct,He({},e))},t.prototype.triggerChange=function(e){return void 0===e&&(e={event:{}}),this.trigger(ut,He(e,{value:this.value}))},t.prototype.triggerKeyDown=function(e){return void 0===e&&(e={event:{}}),this.trigger(tt,He({},e))},t.prototype.triggerMouseWheel=function(e){return void 0===e&&(e={event:{}}),this.trigger(at,He({},e))},t.prototype.forceUpdate=function(){this.setTextAndFormat(),this.refreshElementValue()},t.prototype.forceUpdateWithSelection=function(){var e=this.selection,t=e.start,n=e.end,i=this.elementValue.length;this.forceUpdate();var o=this.elementValue.length-i;this.setSelection({start:t+o,end:n+o})},t.prototype.setTextAndFormat=function(){var e=this.dateObject.getTextAndFormat(),t=e.text,n=e.format;this.currentFormat=n,this.currentText=t},t.prototype.setElementValue=function(e){this.element.value=e},t.prototype.getStepFromSymbol=function(e){switch(e){case"S":return Number(this.options.steps.millisecond);case"s":return Number(this.options.steps.second);case"m":return Number(this.options.steps.minute);case"h":case"H":return Number(this.options.steps.hour);case"M":return Number(this.options.steps.month);case"d":case"E":return Number(this.options.steps.day);case"y":return Number(this.options.steps.year);default:return 1}},t.prototype.restorePreviousInputEventState=function(){this.restorePreviousElementValue(),this.restorePreviousElementSelection()},t.prototype.restorePreviousElementValue=function(){this.setElementValue(this.previousElementValue||"")},t.prototype.restorePreviousElementSelection=function(){var e=this.previousElementSelection,t=e.start,n=e.end;this.setSelection({start:t||0,end:n||0})},t.prototype.writeValue=function(e){this.verifyValue(e),this.dateObject=this.getDateObject(e),this.refreshElementValue()},t.prototype.verifyValue=function(e){if(e&&!Ae(e))throw new Error("The 'value' should be a valid JavaScript Date instance.")},t.prototype.refreshElementValue=function(){var e=this.element,t=this.isActive?this.inputFormat:this.displayFormat,n=this.dateObject.getTextAndFormat(t),i=n.text,o=n.format;this.currentFormat=o,this.currentText=i;var r=this.options.hasPlaceholder||Ce(this.options.placeholder),a=!this.isActive&&r&&!this.dateObject.hasValue();r&&Ce(this.options.placeholder)&&(e.placeholder=this.options.placeholder);var s=a?"":i;this.previousElementValue=this.elementValue,this.setElementValue(s)},t.prototype.caret=function(e,t){void 0===t&&(t=e);var n=void 0!==e,i=[e,e],o=this.element;if(!n||!this.options.disabled&&!this.options.readonly){try{void 0!==o.selectionStart&&(n&&(ze()&&document.activeElement!==o&&o.focus(),o.setSelectionRange(e,t)),i=[o.selectionStart,o.selectionEnd])}catch(e){i=[]}return i}},t.prototype.selectNearestSegment=function(e){for(var t=e,n=e-1;t<this.currentFormat.length||n>=0;t++,n--){if(t<this.currentFormat.length&&"_"!==this.currentFormat[t])return void this.selectDateSegment(this.currentFormat[t]);if(n>=0&&"_"!==this.currentFormat[n])return void this.selectDateSegment(this.currentFormat[n])}},t.prototype.selectDateSegment=function(e){for(var t=-1,n=0,i=0;i<this.currentFormat.length;i++)this.currentFormat[i]===e&&(n=i+1,-1===t&&(t=i));t<0&&(t=0),this.caret(0,0),this.caret(t,n)},t.prototype.getDateObject=function(e){var t=(this.dateObject||{}||null).leadingZero;this.options.value=e;var n=this.createDateObject();return n.setLeadingZero(this.isActive?t:null),n},t.prototype.createDateObject=function(){var e=this.getDateObjectOptions();return new Pe(He({},e))},t.prototype.getDateObjectOptions=function(){return{intlService:this.options.intlService,formatPlaceholder:this.options.formatPlaceholder?this.options.formatPlaceholder:"formatPattern",format:this.inputFormat,cycleTime:this.options.cycleTime,twoDigitYearMax:this.options.twoDigitYearMax,autoCorrectParts:this.options.autoCorrectParts,value:this.options.value,toggleDayPeriod:this.options.toggleDayPeriod}},t.prototype.keyEventMatchesAutoSwitchKeys=function(e){var t=(this.options.autoSwitchKeys||[]).map((function(e){return e.toString().toLowerCase().trim()}));return t.indexOf(e.keyCode.toString())>=0||t.indexOf(e.keyCode)>=0||t.indexOf(e.key.toLowerCase().trim())>=0},t.prototype.autoFill=function(){var e,t,n,i,o,r,a=this.dateObject,s=new Date;(a.date||a.month||a.year||a.hours||a.minutes||a.seconds)&&(n=a.year?a.value.getFullYear():s.getFullYear(),t=a.month?a.value.getMonth():s.getMonth(),e=a.date?a.value.getDate():s.getDate(),i=a.hours?a.value.getHours():s.getHours(),o=a.minutes?a.value.getMinutes():s.getMinutes(),r=a.seconds?a.value.getSeconds():s.getSeconds(),a.setValue(new Date(n,t,e,i,o,r)),this.refreshElementValue(),this.triggerValueChange())},t}(Ge);!function(e,t){var n=window.kendo,i=n.ui,o=i.Widget,r=".kendoDateInput",a={}.toString,s=e.isPlainObject,l="k-focus",c="k-disabled",d="k-invalid",u="disabled",h="readonly",p="change",f=n.Class.extend({init:function(e){const t=e.culture?n.getCulture(e.culture):n.culture();this.messages=e.messages,this.cldr={},this.cldr[t.name]={name:t.name,calendar:t.calendar||{},numbers:t.numberFormat}},parseDate:function(e,t,i){return n.parseDate(e,t,i,!0)},formatDate:function(e,t,i){return n.toString(e,t,i)},splitDateFormat:function(e){return n.date.splitDateFormat(e)},dateFormatNames:function(e,t){return n.date.dateFormatNames(t)},dateFieldName:function(e){return this.messages[e.type]||{}}});function m(){const e=n.culture();let t=[];return t.push(e.calendars.standard["/"]),t.push(e.calendars.standard[":"]),t}function v(e,t){if(!e)return t;return n.getCulture(e).calendars.standard.patterns[t]||t}var g=o.extend({init:function(t,i){var a=this;o.fn.init.call(a,t,i),t=a.element,(i=a.options).format=n._extractFormat(i.format||n.getCulture(i.culture).calendars.standard.patterns.d),i.min=n.parseDate(t.attr("min"))||n.parseDate(i.min),i.max=n.parseDate(t.attr("max"))||n.parseDate(i.max),i.inputMode=i.inputMode||t.attr("inputmode")||"text";var s=t.parent().attr("class")||"",c=s.indexOf("picker")>=0&&s.indexOf("rangepicker")<0,d=a.options.value||t.val();c?a.wrapper=a.element.parent():(a.wrapper=t.wrap("<span class='k-dateinput k-input'></span>").parent(),a.wrapper.addClass(t[0].className).removeClass("input-validation-error")),a.wrapper[0].style.cssText=t[0].style.cssText,t.css({height:t[0].style.height}),a._validationIcon=e(n.ui.icon({icon:"exclamation-circle",iconClass:"k-input-validation-icon k-hidden"})).insertAfter(t),a._form(),a.dateInputInstance=new pt(t[0],{format:v(i.culture,i.format),autoCorrectParts:i.autoCorrectParts,autoSwitchKeys:i.autoSwitchKeys.length?i.autoSwitchKeys:m(),enableMouseWheel:i.enableMouseWheel,twoDigitYearMax:i.twoDigitYearMax,steps:i.steps,formatPlaceholder:i.messages,events:{inputEnd:function(e){e.error&&a._blinkInvalidState()},keydown:function(e){e.event.keyCode?e.event.keyCode!=n.keys.UP&&e.event.keyCode!=n.keys.DOWN||setTimeout((function(){a.element.trigger(p)})):e.preventDefault()},blur:function(e){a._change(),e.preventDefault()}},intlService:new f({culture:i.culture,messages:a.options.messages}),autoSwitchParts:i.autoSwitchParts,autoFill:i.autoFill,toggleDayPeriod:i.toggleDayPeriod}),a._emptyMask=this.element.val(),i.value&&a.value(i.value),a.element.addClass("k-input-inner").attr("autocomplete","off").attr("inputmode",i.inputMode).on("focus"+r,(function(){a.wrapper.addClass(l)})).on("focusout"+r,(function(){a.wrapper.removeClass(l)}));try{t[0].setAttribute("type","text")}catch(e){t[0].type="text"}t.is("[disabled]")||e(a.element).parents("fieldset").is(":disabled")?a.enable(!1):a.readonly(t.is("[readonly]")),a.value(d),c||a._applyCssClasses(),i.label&&a._label(),a.element.removeAttr("style"),n.notify(a)},options:{name:"DateInput",autoAdjust:!0,autoCorrectParts:!0,autoSwitchKeys:[],autoSwitchParts:!1,enableMouseWheel:!0,culture:"",value:"",format:"",min:new Date(1900,0,1),max:new Date(2099,11,31),messages:{year:"year",month:"month",day:"day",weekday:"day of the week",hour:"hours",minute:"minutes",second:"seconds",milliseconds:"milliseconds",dayperiod:"AM/PM"},size:"medium",steps:{year:1,month:1,day:1,hour:1,minute:1,second:1,millisecond:1},fillMode:"solid",rounded:"medium",label:null,autoFill:!1,toggleDayPeriod:!0},events:[p],min:function(e){if(e===t)return this.options.min;this.options.min=e},max:function(e){if(e===t)return this.options.max;this.options.max=e},setOptions:function(e){var t=this;o.fn.setOptions.call(t,e),t.dateInputInstance.destroy(),t.dateInputInstance=null,t.dateInputInstance=new pt(this.element[0],{format:v(t.options.culture,t.options.format),autoSwitchKeys:t.options.autoSwitchKeys.length?t.options.autoSwitchKeys:m(),autoCorrectParts:t.options.autoCorrectParts,enableMouseWheel:t.options.enableMouseWheel,steps:t.options.steps,twoDigitYearMax:t.options.twoDigitYearMax,formatPlaceholder:t.options.messages,events:{inputEnd:function(e){e.error&&t._blinkInvalidState()},keydown:function(e){e.event.keyCode!=n.keys.UP&&e.event.keyCode!=n.keys.DOWN||setTimeout((function(){t.element.trigger(p)}))},blur:function(e){t._change(),e.preventDefault()}},intlService:new f({culture:t.options.culture,messages:t.options.messages}),autoSwitchParts:t.options.autoSwitchParts,autoFill:t.options.autoFill,toggleDayPeriod:t.options.toggleDayPeriod})},destroy:function(){var e=this;e.element.off(r),e.dateInputInstance.destroy(),e._formElement&&e._formElement.off("reset",e._resetHandler),e.label&&e.label.destroy(),e._validationIcon&&e._validationIcon.remove(),o.fn.destroy.call(e)},value:function(e){if(e===t)return this.dateInputInstance.value;null===e&&(e=""),"[object Date]"!==a.call(e)&&(e=n.parseDate(e,this.options.format,this.options.culture)),e&&!e.getTime()&&(e=null),this.dateInputInstance.writeValue(e),this._oldValue=e,this.label&&this.label.floatingLabel&&this.label.floatingLabel.refresh()},_hasDateInput:function(){return this._emptyMask!==this.element.val()},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,i=t.options,o=s(i.label)?i.label:{content:i.label};t.label=new n.ui.Label(null,e.extend({},o,{widget:t,floatCheck:()=>!(t.value()||t._hasDateInput()&&""!==t.element.val()||document.activeElement===t.element[0])&&(this.element.val(""),!0)})),t._inputLabel=t.label.element},_bindInput:function(){var e=this;e.element.on("focus"+r,(function(){e.wrapper.addClass(l)})).on("focusout"+r,(function(){e.wrapper.removeClass(l)})),this.dateInputInstance&&this.dateInputInstance.bindEvents()},_unbindInput:function(){this.element.off("focus"+r).off("focusout"+r),this.dateInputInstance&&this.dateInputInstance.unbindEvents()},_editable:function(e){var t=this,n=t.element,i=e.disable,o=e.readonly,r=t.wrapper;t._unbindInput(),o||i?(i&&(r.addClass(c),n.attr(u,i),n&&n.length&&n[0].removeAttribute(h)),o&&n.attr(h,o)):(r.removeClass(c),n&&n.length&&(n[0].removeAttribute(u),n[0].removeAttribute(h)),t._bindInput())},_change:function(){let e=this,t=e._oldValue,n=e.value(),i=e.options.autoAdjust;i&&n&&e.min()&&n<e.min()&&(e.value(e.min()),n=e.value()),i&&n&&e.max()&&n>e.max()&&(e.value(e.max()),n=e.value()),(t&&n&&n.getTime()!==t.getTime()||t&&!n||!t&&n)&&(e._oldValue=n,e.trigger(p,{blur:!0}),e.element.trigger(p))},_blinkInvalidState:function(){var e=this;e._addInvalidState(),clearTimeout(e._invalidStateTimeout),e._invalidStateTimeout=setTimeout(e._removeInvalidState.bind(e),100)},_addInvalidState:function(){this.wrapper.addClass(d),this._validationIcon.removeClass("k-hidden")},_removeInvalidState:function(){var e=this;e.wrapper.removeClass(d),e._validationIcon.addClass("k-hidden"),e._invalidStateTimeout=null},_form:function(){var t=this,n=t.element,i=n.attr("form"),o=i?e("#"+i):n.closest("form"),r=n[0].value;!r&&t.options.value&&(r=t.options.value),o[0]&&(t._resetHandler=function(){setTimeout((function(){t.value(r)}))},t._formElement=o.on("reset",t._resetHandler))},_paste:function(e){e.preventDefault()}});n.cssProperties.registerPrefix("DateInput","k-input-"),n.cssProperties.registerValues("DateInput",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),i.plugin(g)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui,o=n.html,r=n.mediaQuery,a=i.Widget,s=n.parseDate,l=n.keys,c=n.support,d=n.template,u=n._activeElement,h="<div />",p=".kendoDatePicker",f="click"+p,m=c.mouseAndTouchPresent?n.applyEventMap("up",p.slice(1)):f,v="open",g="close",_="change",b="disabled",y="readonly",w="k-focus",k="k-selected",x="k-disabled",C="mouseenter"+p+" mouseleave"+p,z="mousedown"+p,S="navigate",T="id",M="month",I="aria-disabled",H="aria-readonly",D="aria-expanded",E="aria-hidden",A="aria-activedescendant",V=n.calendar,P=V.isInRange,B=V.restrictValue,F=V.isEqualDatePart,O=e.extend,L=Date;function R(t){var n=t.parseFormats,i=t.format;V.normalize(t),(n=Array.isArray(n)?n:[n]).length||n.push("yyyy-MM-dd"),-1===e.inArray(i,n)&&n.splice(0,0,t.format),t.parseFormats=n}function N(e){e.preventDefault()}var U=function(t){var o,a=this,s=document.body,l=e(h).attr(E,"true").addClass("k-calendar-container");a.options=t=t||{},o=t.id,a.bigScreenMQL=r("large"),a.smallScreenMQL=r("small"),"auto"==t.adaptiveMode&&a.smallScreenMQL.onChange((function(){a.popup&&n.isFunction(a.popup.fullscreen)&&a.popup.fullscreen(a.smallScreenMQL.mediaQueryList.matches)})),t.omitPopup?l=t.dateDiv:(l.appendTo(s),"auto"!=t.adaptiveMode||a.bigScreenMQL.mediaQueryList.matches?a.popup=new i.Popup(l,O(t.popup,t,{name:"Popup",isRtl:n.support.isRtl(t.anchor)})):a.popup=new i.ActionSheet(l,{adaptive:!0,title:"Set dates",subtitle:"DD / MM / YY",closeButton:!0,focusOnActivate:!1,fullscreen:a.smallScreenMQL.mediaQueryList.matches,popup:O(t.popup,t,{name:"Popup",isRtl:n.support.isRtl(t.anchor)})})),o&&(o+="_dateview",l.attr(T,o),a._dateViewID=o),a.div=l,a.value(t.value)};U.prototype={_calendar:function(){var t,o=this,r=o.calendar,a=o.options;if(!r){var s="auto"!=a.adaptiveMode||this.bigScreenMQL.mediaQueryList.matches?this.options.size:"large";t=e(h).attr(T,n.guid()).appendTo(a.omitPopup?a.dateDiv:o.popup._content||o.popup.element).on(z,N).on(f,"td:has(.k-link)",o._click.bind(o)),o.calendar=r=new i.Calendar(t,{componentType:a.componentType,size:s,messages:a.messages}),o._setOptions(a),t.addClass(n.getValidCssClass("k-calendar-","size",s)),r.navigate(o._value||o._current,a.start),o.value(o._value)}},_setOptions:function(e){this.calendar.setOptions({focusOnNav:!1,componentType:e.componentType,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,n=t.options,i=e.disableDates;i&&(e.disableDates=V.disabled(i)),t.options=O(n,e,{change:n.change,close:n.close,open:n.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()?g:v]()},move:function(e){var t=this,n=e.keyCode,i=t.calendar,o=e.ctrlKey&&n==l.DOWN||n==l.ENTER,r=!1;if(e.altKey)n==l.DOWN?(t.open(),e.preventDefault(),r=!0):n==l.UP&&(t.close(),e.preventDefault(),r=!0);else if(t.popup&&t.popup.visible()){if(n==l.ESC||o&&i._cell.hasClass(k))return t.close(),e.preventDefault(),!0;n!=l.SPACEBAR&&(t._current=i._move(e)),r=!0}return r},current:function(e){this._current=e,this.calendar&&this.calendar._focus(e)},value:function(e){var t=this,n=t.calendar,i=t.options,o=i.disableDates;o&&o(e)&&(e=null),t._value=e,t._current=new L(+B(e,i.min,i.max)),n&&n.value(e)},_click:function(e){-1!==e.currentTarget.className.indexOf(k)&&(this.calendar.trigger("change"),this.close())},_option:function(e,t){var n=this.calendar;this.options[e]=t,n&&n[e](t)}},U.normalize=R,n.DateView=U;var j=a.extend({init:function(i,o){var l,c=this;a.fn.init.call(c,i,o),i=c.element,(o=c.options).disableDates=n.calendar.disabled(o.disableDates),o.min=s(i.attr("min"))||s(o.min),o.max=s(i.attr("max"))||s(o.max),c.options.readonly=o.readonly!==t?o.readonly:Boolean(c.element.attr("readonly")),c.options.enable=o.enable!==t?o.enable:!Boolean(i.is("[disabled]")||e(i).parents("fieldset").is(":disabled")),c.options.inputMode=o.inputMode||c.element.attr("inputmode")||"text",c.element.attr("inputmode",c.options.inputMode),R(o),c._initialOptions=O({},o),c._wrapper(),c._createDateView(),c._createDateViewProxy=c._createDateView.bind(c),c.bigScreenMQL=r("large"),"auto"==c.options.adaptiveMode&&c.bigScreenMQL.onChange((()=>{c._createDateViewProxy(),c.dateView.value(c._value)})),c._icon();try{i[0].setAttribute("type","text")}catch(e){i[0].type="text"}i.addClass("k-input-inner").attr({role:"combobox","aria-expanded":!1,"aria-haspopup":"grid","aria-controls":c.dateView._dateViewID,autocomplete:"off"}),c._reset(),c._template(),!c.options.enable?c.enable(!1):c.readonly(i.is("[readonly]")),l=s(o.value||c.element.val(),o.parseFormats,o.culture),c._createDateInput(o),c._old=c._update(l||c.element.val()),c._oldText=i.val(),c._applyCssClasses(),o.label&&c._label(),c.element.removeAttr("style"),n.notify(c)},events:[v,g,_],options:{name:"DatePicker",autoAdjust:!0,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:({valueType:e,text:t})=>`Current focused ${e} is ${t}`,dateInput:!1,weekNumber:!1,messages:{weekColumnHeader:""},componentType:"classic",adaptiveMode:"none",size:"medium",fillMode:"solid",rounded:"medium",label:null,autoFill:!1,autoCorrectParts:!0},_createDateView:function(){var e,t=this,n=t.options,i=t.element;t.dateView&&(t.dateView.popup&&t.dateView.popup.wrapper&&t.dateView.popup.wrapper.remove(),t.dateView.destroy(),t.dateView=null),t.dateView=new U(O({},n,{id:i.attr(T),anchor:t.wrapper,change:function(){t._change(this.value()),t.close()},close:function(n){t.trigger(g)?n.preventDefault():(i.attr(D,!1),e.attr(E,!0),setTimeout((function(){i.removeAttr("aria-activedescendant")})))},open:function(n){var o,r=t.options;t.trigger(v)?n.preventDefault():(t.element.val()!==t._oldText&&(o=s(i.val(),r.parseFormats,r.culture),t.dateView[o?"current":"value"](o)),i.attr(D,!0),e.attr(E,!1),t._updateARIA(o))}})),e=t.dateView.div},setOptions:function(e){var i=this,o=i._value;a.fn.setOptions.call(i,e),(e=i.options).min=s(e.min),e.max=s(e.max),R(e),i._dateIcon.off(p),i._dateIcon.remove(),i.dateView.setOptions(e),i._icon(),i._editable({readonly:e.readonly===t?i.options.readonly:e.readonly,disable:!(e.enable===t?i.options.enable:e.enable)}),i._createDateInput(e),i._dateInput||i.element.val(n.toString(o,e.format,e.culture)),o&&i._updateARIA(o),e.label&&i._inputLabel?i.label.setOptions(e.label):!1===e.label?(i.label._unwrapFloating(),i._inputLabel.remove(),delete i._inputLabel):e.label&&i._label()},_editable:function(e){var t=this,n=t._dateIcon.off(p),i=t.element.off(p),o=t.wrapper.off(p),r=e.readonly,a=e.disable;r||a?(o.addClass(a?x:"").removeClass(a?"":x),i.attr(b,a).attr(y,r).attr(I,a).attr(H,r)):(o.removeClass(x).on(C,t._toggleHover),i&&i.length&&(i[0].removeAttribute(b),i[0].removeAttribute(y)),i.attr(I,!1).attr(H,!1).on("keydown"+p,t._keydown.bind(t)).on("focusout"+p,t._blur.bind(t)).on("focus"+p,(function(){t.wrapper.addClass(w)})),n.on(m,t._click.bind(t)).on(z,N))},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,i=t.options,o=e.isPlainObject(i.label)?i.label:{content:i.label};t._dateInput&&(o.floatCheck=()=>!(t.value()||t._dateInput._hasDateInput()&&""!==t.element.val()||document.activeElement===t.element[0])&&(t.element.val(""),!0)),t.label=new n.ui.Label(null,e.extend({},o,{widget:t})),t._inputLabel=t.label.element},destroy:function(){var e=this;e.label&&e.label.destroy(),a.fn.destroy.call(e),e.dateView.calendar&&e._navigateCalendarHandler&&(e.dateView.calendar.unbind(S,e._navigateCalendarHandler),e._navigateCalendarHandler=null),e.dateView.destroy(),e.element.off(p),e._dateIcon.off(p),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 n=this;if(e===t)return n._value;n._old=n._update(e),null===n._old&&(n._dateInput?n._dateInput.value(n._old):n.element.val("")),n._oldText=n.element.val(),n.label&&n.label.floatingLabel&&n.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(n.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;c.touch&&(!c.mouseAndTouchPresent||(e||"").match(/touch/i))||t[0]===u()||t.trigger("focus")},_change:function(e){var t,i=this,o=i.element.val();e=i._update(e);var r=(t=!n.calendar.isEqualDate(i._old,e))&&!i._typing,a=o!==i.element.val();(r||a)&&i.element.trigger(_),t&&(i._old=e,i._oldText=i.element.val(),i.trigger(_)),i._typing=!1},_keydown:function(e){var t=this,n=t.dateView,i=t.element.val(),o=!1;n.popup.visible()||e.keyCode!=l.ENTER||i===t._oldText?(o=n.move(e),t._updateARIA(n._current),o?t._dateInput&&e.stopImmediatePropagation&&e.stopImmediatePropagation():t._typing=!0):t._change(i)},_icon:function(){var t,n=this,i=n.element,r=n.options;(t=i.next("button.k-input-button"))[0]||(t=e(o.renderButton('<button aria-label="select" tabindex="-1" class="k-input-button k-button k-icon-button"></button>',{icon:"calendar",size:r.size,fillMode:r.fillMode,shape:"none",rounded:"none"})).insertAfter(i)),n._dateIcon=t.attr({role:"button"})},_setCalendarAttribute:function(){var e=this;setTimeout((function(){e.element.attr(A,e.dateView.calendar._table.attr(A))}))},_navigateCalendar:function(){var e=this;e._navigateCalendarHandler||(e._navigateCalendarHandler=e._setCalendarAttribute.bind(e)),e.dateView.calendar&&e.dateView.calendar.unbind(S,e._navigateCalendarHandler).bind(S,e._navigateCalendarHandler)},_option:function(e,n){var i=this,o=i.options;if(n===t)return o[e];(n=s(n,o.parseFormats,o.culture))&&(o[e]=new L(+n),i.dateView[e](n),i._dateInput&&i._dateInput[e](n))},_update:function(e){var t,i=this,o=i.options,r=o.min,a=o.max,l=i._value,c=s(e,o.parseFormats,o.culture),d=null===c&&null===l||c instanceof Date&&l instanceof Date;return o.disableDates(c)&&(c=null,i._old||i.element.val()||(e=null)),+c==+l&&d?((t=n.toString(c,o.format,o.culture))===e||i._dateInput&&!c||i.element.val(null===c?e:t),c):(null!==c&&F(c,r)?c=B(c,r,a):P(c,r,a)||(c=null),i._value=c,i.dateView.value(c),i._dateInput&&c?i._dateInput.value(c||e):i.element.val(n.toString(c||e,o.format,o.culture)),i._updateARIA(c),c)},_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,i=t.element,o=i.attr("form"),r=t.options,a=r.disableDates,s=r.parseFormats.length?r.parseFormats:null,l=t._initialOptions.value,c=o?e("#"+o):i.closest("form"),d=i[0].defaultValue;l&&a&&a(l)&&(l=null),d&&n.parseDate(d,s,r.culture)||!l||i.attr("value",n.toString(l,r.format,r.culture)),c[0]&&(t._resetHandler=function(){t.value(l||i[0].defaultValue),t.max(t._initialOptions.max),t.min(t._initialOptions.min)},t._form=c.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 i.DateInput(this.element,{autoAdjust:e.autoAdjust,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,autoCorrectParts:e.autoCorrectParts,toggleDayPeriod:!0,inputMode:e.inputMode}))},_updateARIA:function(e){var t=this,n=t.dateView.calendar;t.element&&t.element.length&&t.element[0].removeAttribute(A),n&&t.element.attr(A,n._updateAria(t._ariaTemplate,e))}});n.cssProperties.registerPrefix("DatePicker","k-input-"),n.cssProperties.registerValues("DatePicker",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),i.plugin(j)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.htmlEncode,o=n.ui,r=n.html,a=o.List,s=o.Select,l=n.support,c=n._activeElement,d=n.data.ObservableObject,u=n.keys,h=".kendoDropDownList",p=h+"FocusEvent",f="disabled",m="readonly",v="change",g="k-focus",_="k-disabled",b="aria-disabled",y="aria-readonly",w="click"+h+" touchend"+h,k="mouseenter"+h+" mouseleave"+h,x="tabindex",C="filter",z="accept",S=s.extend({init:function(i,o){var r,a,l=this,c=o&&o.index;l.ns=h,o=Array.isArray(o)?{dataSource:o}:o,s.fn.init.call(l,i,o),o=l.options,i=l.element.on("focus"+h,l._focusHandler.bind(l)),l._focusInputHandler=l._focusInput.bind(l),l.optionLabel=e(),l._optionLabel(),l._inputTemplate(),l._reset(),l._prev="",l._word="",l._wrapper(),l._tabindex(),l.wrapper.data(x,l.wrapper.attr(x)),l._span(),l._popup(),l._mobile(),l._dataSource(),l._ignoreCase(),o.label&&this._label(),l._aria(),l._enable(),l._oldIndex=l.selectedIndex=-1,c!==t&&(o.index=c),l._initialIndex=o.index,l.requireValueMapper(l.options),l._initList(),l.listView.one("dataBound",l._attachAriaActiveDescendant.bind(l)),l._cascade(),l.one("set",(function(e){!e.sender.listView.bound()&&l.hasOptionLabel()&&l._textAccessor(l._optionLabelText())})),o.autoBind?l.dataSource.fetch():-1===l.selectedIndex&&((a=o.text||"")||((r=o.optionLabel)&&0===o.index?a=r:l._isSelect&&(a=i.children(":selected").text())),l._textAccessor(a)),e(l.element).parents("fieldset").is(":disabled")&&l.enable(!1),l.listView.bind("click",(function(e){e.preventDefault()})),n.notify(l),l._applyCssClasses()},options:{name:"DropDownList",enabled:!0,autoBind:!0,_allowFilterPaste:!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:e=>i(e),fixedGroupTemplate:e=>i(e),autoWidth:!1,popup:null,filterTitle:null,size:"medium",fillMode:"solid",rounded:"medium",label:null,popupFilter:!0},events:["open","close",v,"select","filtering","dataBinding","dataBound","cascade","set","kendoKeydown"],setOptions:function(e){s.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;s.fn.destroy.call(e),e.wrapper.off(h),e.wrapper.off(p),e.element.off(h),e._arrow.off(),e._arrow=null,e._arrowIcon=null,e.optionLabel.off(),e.filterInput&&e.filterInput.off(p)},open:function(){var e=this,t=!!e.dataSource.filter()&&e.dataSource.filter().filters.length>0,n=this.listView;e.popup.visible()||(e.listView.bound()&&e._state!==z?e._allowOpening()&&(e._focusFilter=!0,e.popup.one("activate",e._focusInputHandler),e.popup._hovered=!0,e.wrapper.attr("aria-activedescendant",n._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",n._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 i=this.filterInput[0]===c(),o=n.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"),i&&(e.trigger("focus"),n.caret(e[0],o)),this._prevent=t}},_allowOpening:function(){return this.hasOptionLabel()||this.filterInput||s.fn._allowOpening.call(this)},toggle:function(e){this._toggle(e,!0)},current:function(e){var n;if(e===t)return!(n=this.listView.focus())&&0===this.selectedIndex&&this.hasOptionLabel()?this.optionLabel:n;this._focus(e)},dataItem:function(n){var i=this,o=null;if(null===n)return n;if(n===t)o=i.listView.selectedDataItems()[0];else{if("number"!=typeof n){if(i.options.virtual)return i.dataSource.getByUid(e(n).data("uid"));n=n.hasClass("k-list-optionlabel")?-1:e(i.items()).index(n)}else i.hasOptionLabel()&&(n-=1);o=i.dataSource.flatView()[n]}return o||(o=i._optionLabelDataItem()),o},refresh:function(){this.listView.refresh()},text:function(e){var n,i=this,o=i.options.ignoreCase;if((e=null===e?"":e)===t)return i._textAccessor();"string"==typeof e?(n=o?e.toLowerCase():e,i._select((function(e){return e=i._text(e),o&&(e=(e+"").toLowerCase()),e===n})).done((function(){i._textAccessor(i.dataItem()||e),i._refreshFloatingLabel()}))):i._textAccessor(e)},_clearFilter:function(){e(this.filterInput).val(""),s.fn._clearFilter.call(this)},value:function(e){var n=this,i=n.listView,o=n.dataSource;return e===t?(e=n._accessor()||n.listView.value()[0])===t||null===e?"":e:(n.requireValueMapper(n.options,e),!e&&n.hasOptionLabel()||(n._initialIndex=null),this.trigger("set",{value:e}),n._request&&n.options.cascadeFrom&&n.listView.bound()?(n._valueSetter&&o.unbind(v,n._valueSetter),n._valueSetter=function(){n.value(e)}.bind(n),void o.one(v,n._valueSetter)):(n._isFilterEnabled()&&i.bound()&&i.isFiltered()?n._clearFilter():n._fetchData(),void i.value(e).done((function(){n._old=n._valueBeforeCascade=n._accessor(),n._oldIndex=n.selectedIndex,n._refreshFloatingLabel()}))))},hasOptionLabel:function(){return this.optionLabel&&!!this.optionLabel[0]},_optionLabel:function(){var t=this,o=t.options,r=o.optionLabel,a=o.optionLabelTemplate;if(!r)return t.optionLabel.off().remove(),void(t.optionLabel=e());a||(a=e=>i("string"==typeof r?e:n.getter(o.dataTextField)(e))),"function"!=typeof a&&(a=n.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(r)).off().on(w,t._click.bind(t)).on(k,t._toggleHover)},_optionLabelText:function(){var e=this.options.optionLabel;return"string"==typeof e?e:this._text(e)},_optionLabelDataItem:function(){var n=this,i=n.options.optionLabel;return n.hasOptionLabel()?e.isPlainObject(i)?new d(i):n._assignInstance(n._optionLabelText(),""):t},_buildOptions:function(e){var n=this;if(n._isSelect){var i=n.listView.value()[0],o=n._optionLabelDataItem(),r=o&&n._value(o);i!==t&&null!==i||(i=""),o&&(r!==t&&null!==r||(r=""),o='<option value="'+r+'">'+n._text(o)+"</option>"),n._options(e,o,i),i!==a.unifyType(n._accessor(),typeof i)&&(n._customOption=null,n._custom(i))}},_listBound:function(){var e,t=this,n=t._initialIndex,i=t._state===C,o=t.dataSource.flatView();t._presetValue=!1,t._renderFooter(),t._renderNoData(),t._toggleNoData(!o.length),t._resizePopup(!0),t.popup.position(),t._buildOptions(o),i||(t._open&&t.toggle(t._allowOpening()),t._open=!1,t._fetch||(o.length?(!t.listView.value().length&&n>-1&&null!==n&&t.select(n),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.options._allowFilterPaste&&this._search()},_attachFocusHandlers:function(){var e=this;e.wrapper.on("focusin"+p,e._focusinHandler.bind(e)).on("focusout"+p,e._focusoutHandler.bind(e)),e.filterInput&&e.filterInput.on("focusin"+p,e._focusinHandler.bind(e)).on("focusout"+p,e._focusoutHandler.bind(e))},_focusHandler:function(){this.wrapper.trigger("focus")},_focusinHandler:function(){this.wrapper.addClass(g),this._prevent=!1},_focusoutHandler:function(e){var t=this,n=window.self!==window.top;t.wrapper.find(e.relatedTarget).length>0||t._prevent||(clearTimeout(t._typingTimeout),l.mobileOS.ios&&n?t._change():t._blur(),t.wrapper.removeClass(g),t._prevent=!0,t._open=!1,t.element.trigger("blur"))},_wrapperMousedown:function(e){const t=this._hasActionSheet()?this.filterInput&&e.currentTarget===this.filterInput[0]:this.filterInput&&e.currentTarget!==this.filterInput[0];this._prevent=t},_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,i=t.element,o=e.disable,r=e.readonly,a=t.wrapper.add(t.filterInput).off(h),s=t.wrapper.off(k);r||o?o?(a.removeAttr(x),s.addClass(_)):s.removeClass(_):(i.prop(f,!1).prop(m,!1),s.removeClass(_).on(k,t._toggleHover),a.attr(x,a.data(x)).attr(b,!1).attr(y,!1).on("keydown"+h,t,t._keydown.bind(t)).on(n.support.mousedown+h,t._wrapperMousedown.bind(t)).on("paste"+h,t._filterPaste.bind(t)),t.wrapper.on("click"+h,t._wrapperClick.bind(t)),t.filterInput?a.on("input"+h,t._search.bind(t)):a.on("keypress"+h,t._keypress.bind(t))),i.attr(f,o).attr(m,r),a.attr(b,o).attr(y,r)},_keydown:function(e){var t,n,i=this,o=e.keyCode,r=e.altKey,a=i.popup.visible();if(i.filterInput&&(t=i.filterInput[0]===c()),o===u.LEFT?(o=u.UP,n=!0):o===u.RIGHT&&(o=u.DOWN,n=!0),!n||!t)if(e.keyCode=o,(r&&o===u.UP||o===u.ESC)&&i._focusElement(i.wrapper),i._state===C&&o===u.ESC&&(i._clearFilter(),i._open=!1,i._state=z),o===u.ENTER&&i._typingTimeout&&i.filterInput&&a)e.preventDefault();else if(o!==u.SPACEBAR||t||(i.toggle(!a),e.preventDefault()),!(n=i._move(e))){if(!a||!i.filterInput){var s=i._focus();if(o===u.HOME?(n=!0,i._firstItem()):o===u.END&&(n=!0,i._lastItem()),n){if(i.trigger("select",{dataItem:i._getElementDataItem(i._focus()),item:i._focus()}))return void i._focus(s);i._select(i._focus(),!0).done((function(){a||i._blur()})),e.preventDefault()}}r||n||!i.filterInput||i._search()}},_matchText:function(e,n){var i=this.options.ignoreCase;return e!==t&&null!==e&&(e+="",i&&(e=e.toLowerCase()),0===e.indexOf(n))},_shuffleData:function(e,t){var n=this._optionLabelDataItem();return n&&(e=[n].concat(e)),e.slice(t).concat(e.slice(0,t))},_selectNext:function(){var e,t,n=this,i=n.dataSource.flatView(),o=i.length+(n.hasOptionLabel()?1:0),r=function(e,t){for(var n=0;n<e.length;n++)if(e.charAt(n)!==t)return!1;return!0}(n._word,n._last),a=n.selectedIndex;a=-1===a?0:M(a+=r?1:0,o),i=i.toJSON?i.toJSON():i.slice(),i=n._shuffleData(i,a);for(var s=0;s<o&&(t=n._text(i[s]),!r||!n._matchText(t,n._last))&&!n._matchText(t,n._word);s++);s!==o&&(e=n._focus(),n._select(M(a+s,o)).done((function(){var t=function(){n.popup.visible()||n._change()};n.trigger("select",{dataItem:n._getElementDataItem(n._focus()),item:n._focus()})?n._select(e).done(t):t()})))},_keypress:function(e){var t=this;if(0!==e.which&&e.keyCode!==n.keys.ENTER){var i=String.fromCharCode(e.charCode||e.keyCode);t.options.ignoreCase&&(i=i.toLowerCase())," "===i&&e.preventDefault(),t._word+=i,t._last=i,t._search()}},_popupOpen:function(e){var t=this.popup;e.isDefaultPrevented()||this._hasActionSheet()||(t.wrapper=n.wrap(t.element),t.element.closest(".km-root")[0]&&(t.wrapper.addClass("km-popup km-widget"),this.wrapper.addClass("km-widget")))},_popup:function(){s.fn._popup.call(this),this.popup.element.addClass("k-dropdownlist-popup"),this.popup.one("open",this._popupOpen.bind(this))},_postCreatePopup:function(){s.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 n=this,i=t.item||e(t.currentTarget);t.preventDefault(),n.trigger("select",{dataItem:n._getElementDataItem(i),item:i})?n.close():(n._userTriggered=!0,n._select(i).done((function(){n._blur(),n._focusElement(n.wrapper)})))},_focusElement:function(e){var t=c(),n=this.wrapper,i=this.filterInput,o=e===i?n:i,r=l.mobileOS&&(l.touch||l.MSPointers||l.pointers);i&&i[0]===e[0]&&r||i&&(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(n){return t._matchText(t._text(n),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 n,i,o,r="function"==typeof t,a=r?e():e(t);if(this.hasOptionLabel()&&("number"==typeof t?t>-1&&(t-=1):a.hasClass("k-list-optionlabel")&&(t=-1)),r){for(n=this.dataSource.flatView(),o=0;o<n.length;o++)if(t(n[o])){t=o,i=!0;break}i||(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,n=this.listView,i=n.focus(),o=n.select();(o=o[o.length-1])===t&&e.highlightFirst&&!i&&(o=0),o!==t?n.focus(o):!e.optionLabel||e.virtual&&"dataItem"===e.virtual.mapValueTo?n.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 n=this.listView,i=this.optionLabel;if(e===t)return!(e=n.focus())&&i.hasClass("k-focus")&&(e=i),e;this._resetOptionLabel(),e=this._get(e),n.focus(e),-1===e&&(i.addClass("k-focus").attr("id",n._optionID),this.filterInput&&this.filterInput.removeAttr("aria-activedescendant").attr("aria-activedescendant",n._optionID))},_select:function(e,t){var n=this;return e=n._get(e),n.listView.select(e).done((function(){t||n._state!==C||(n._state=z),-1===e&&n._selectValue(null)}))},_selectValue:function(e){var n=this,i=n.options.optionLabel,o=n.listView.select(),r="",a="";(o=o[o.length-1])===t&&(o=-1),this._resetOptionLabel(" k-selected"),e||0===e?(a=e,r=n._dataValue(e),i&&(o+=1)):i&&(n._focus(n.optionLabel.addClass("k-selected")),a=n._optionLabelText(),r="string"==typeof i?"":n._value(i),o=0),n.selectedIndex=o,null===r&&(r=""),n._textAccessor(a),n._accessor(r,o),n._triggerCascade()},_mobile:function(){var e=this.popup,t=l.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,i=this,o=i.wrapper,a="span.k-input-value-text",s=n.guid(),l=i.options;(e=o.find(a))[0]||(t=r.renderButton('<button role="button" tabindex="-1" class="k-input-button" aria-label="select"></button>',{icon:"caret-alt-down",size:l.size,fillMode:l.fillMode,shape:"none",rounded:"none"}),o.append('<span id="'+s+'" unselectable="on" class="k-input-inner"><span class="k-input-value-text"></span></span>').append(t).append(i.element),e=o.find(a)),i.span=e,i._arrow=o.find(".k-input-button"),i._arrowIcon=i._arrow.find(".k-icon,.k-svg-icon")},_wrapper:function(){var e,t=this,n=t.element,i=n[0];(e=n.parent()).is("span.k-picker")||((e=n.wrap("<span />").parent())[0].style.cssText=i.style.cssText,e[0].title=i.title),t._focused=t.wrapper=e.addClass("k-picker k-dropdownlist").addClass(i.className).removeClass("input-validation-error").css("display","").attr({accesskey:n.attr("accesskey"),unselectable:"on",role:"combobox","aria-expanded":!1}),n.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?n.template(t):t=>i(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(n){var i=null,o=this.valueTemplate,r=this._optionLabelText(),a=this.span;if(n===t)return a.text();e.isPlainObject(n)||n instanceof d?i=n:r&&r===n&&(i=this.options.optionLabel),i||(i=this._assignInstance(n,this._accessor())),this.hasOptionLabel()&&(i!==r&&this._text(i)!==r||(o=this.optionLabelTemplate,"string"!=typeof this.options.optionLabel||this.options.optionLabelTemplate||(i=r)));try{a.html(o(i))}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 n=this.options.dataTextField,i={};return n?(T(i,n.split("."),e),T(i,this.options.dataValueField.split("."),t),i=new d(i)):i=e,i}});function T(e,t,n){for(var i,o=0,r=t.length-1;o<r;++o)(i=t[o])in e||(e[i]={}),e=e[i];e[t[r]]=n}function M(e,t){return e>=t&&(e-=t),e}o.plugin(S),n.cssProperties.registerPrefix("DropDownList","k-picker-"),n.cssProperties.registerValues("DropDownList",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui,o=i.Widget,r=n.isFunction,a=e.extend,s="horizontal",l="vertical",c="start",d="resize",u="resizeend",h=o.extend({init:function(e,t){var n=this;o.fn.init.call(n,e,t),n.orientation=n.options.orientation.toLowerCase()!=l?s:l,n._positionMouse=n.orientation==s?"x":"y",n._position=n.orientation==s?"left":"top",n._sizingDom=n.orientation==s?"outerWidth":"outerHeight",n.draggable=new i.Draggable(t.draggableElement||e,{distance:1,filter:t.handle,drag:n._resize.bind(n),dragcancel:n._cancel.bind(n),dragstart:n._start.bind(n),dragend:n._dragend.bind(n),clickMoveClick:t.clickMoveClick}),n.userEvents=n.draggable.userEvents},events:[d,u,c],options:{name:"Resizable",orientation:s,clickMoveClick:!1},resize:function(){},_max:function(e){var n=this,i=n.hint?n.hint[n._sizingDom]():0,o=n.options.max;return r(o)?o(e):o!==t?n._initialElementPosition+o-i:o},_min:function(e){var n=this.options.min;return r(n)?n(e):n!==t?this._initialElementPosition+n:n},_start:function(t){var n=this,i=n.options.hint,o=e(t.currentTarget);n._initialElementPosition=o.position()[n._position],n._initialMousePosition=t[n._positionMouse].startLocation,i&&(n.hint=r(i)?e(i(o)):i,n.hint.css({position:"absolute"}).css(n._position,n._initialElementPosition).appendTo(n.element)),n.trigger(c,t),n._maxPosition=n._max(t),n._minPosition=n._min(t),e(document.body).css("cursor",o.css("cursor"))},_resize:function(e){var n,i=this,o=i._maxPosition,r=i._minPosition,s=i._initialElementPosition+(e[i._positionMouse].location-i._initialMousePosition);n=r!==t?Math.max(r,s):s,i.position=n=o!==t?Math.min(o,n):n,i.hint&&i.hint.toggleClass(i.options.invalidClass||"",n==o||n==r).css(i._position,n),i.resizing=!0,i.trigger(d,a(e,{position:n}))},_dragend:function(e){this._stop(),this.trigger(u,a(e,{position:this.position}))},_stop:function(){var t=this;t.hint&&t.hint.remove(),t.resizing=!1,e(document.body).css("cursor","")},_cancel:function(e){var n=this;n.hint&&(n.position=t,n.hint.css(n._position,n._initialElementPosition),n._stop())},destroy:function(){var e=this;o.fn.destroy.call(e),e.draggable&&e.draggable.destroy()},press:function(e){if(e){var t=e.position(),n=this;n.userEvents.press(t.left,t.top,e[0]),n.targetPosition=t,n.target=e}},move:function(e){var n=this,i=n._position,o=n.targetPosition,r=n.position;r===t&&(r=o[i]),o[i]=r+e,n.userEvents.move(o.left,o.top)},end:function(){this.userEvents.end(),this.target=this.position=t}});n.ui.plugin(h)}(window.kendo.jQuery);kendo;!function(e,t){var n,i=window.kendo,o=i.ui.Widget,r=i.ui.Popup.TabKeyTrap,a=i.ui.Draggable,s=e.isPlainObject,l=i._activeElement,c=i._outerWidth,d=i._outerHeight,u=e.extend,h=e.each,p=i.template,f="body",m=".kendoWindow",v=".kendoWindowModal",g=".k-window",_=".k-window-title",b=_+"bar",y=".k-window-content",w=".k-resize-handle",k=".k-overlay",x="k-window-minimized",C="k-content-frame",z="k-i-loading",S="k-hover",T="k-focus",M="k-window-maximized",I="k-display-inline-flex",H=":visible",D="k-hidden",E="hidden",A="cursor",V="open",P="activate",B="deactivate",F="close",O="refresh",L="resizeStart",R="resizeEnd",N="dragstart",U="dragend",j="restore",W="error",$="overflow",q="original-overflow-rule",G="zIndex",K=".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",Y=".k-i-pin,.k-svg-i-pin",Q=".k-i-unpin,.k-svg-i-unpin",X=Y+","+Q,Z=".k-window-titlebar .k-window-titlebar-action",J=".k-window-titlebar .k-i-arrow-rotate-cw,.k-window-titlebar .k-svg-i-arrow-rotate-cw",ee="WindowEventsHandled",te=/^0[a-z]*$/i,ne=i.isLocalUrl,ie={small:"k-window-sm",medium:"k-window-md",large:"k-window-lg"};function oe(e){return void 0!==e}function re(e,t){return parseInt(e.css(t),10)||0}function ae(e,t,n){return e&&isNaN(e)&&e.toString().indexOf("px")<0?e:Math.max(Math.min(parseInt(e,10),n===1/0?n:parseInt(n,10)),t===-1/0?t:parseInt(t,10))}function se(){return!this.type||this.type.toLowerCase().indexOf("script")>=0}function le(t){for(var n={top:t.offsetTop,left:t.offsetLeft},i=t.offsetParent;i;){n.top+=i.offsetTop,n.left+=i.offsetLeft;var o=e(i).css("overflowX"),r=e(i).css("overflowY");"auto"!==r&&"scroll"!==r||(n.top-=i.scrollTop),"auto"!==o&&"scroll"!==o||(n.left-=i.scrollLeft),i=i.offsetParent}return n}var ce=o.extend({init:function(n,a){var l,c,d,u,h,p,f,v,w=this,k={},x=a&&a.actions&&!a.actions.length;o.fn.init.call(w,n,a),u=(a=w.options).position,n=w.element,h=a.content,f=e(window),x&&(a.actions=[]),w.appendTo=e(a.appendTo),w.containment=a.draggable.containment?e(a.draggable.containment).first():null,h&&!s(h)&&(h=a.content={url:h}),n.find("script").filter(se).remove(),n.parent().is(w.appendTo)||w.containment||u.top!==t&&u.left!==t||(n.is(H)?(k=n.offset(),!0):(c=n.css("visibility"),d=n.css("display"),n.css({visibility:E,display:""}),k=document.body.contains(n[0])?n.offset():{top:0,left:0},n.css({visibility:c,display:d})),u.top===t&&(u.top=k.top),u.left===t&&(u.left=k.left)),oe(a.visible)&&null!==a.visible||(a.visible=n.is(H)),l=w.wrapper=n.closest(g),n.is(".k-window-content")&&l[0]||(n.addClass("k-window-content"),n.attr("tabindex",0),w._createWindow(n,a),l=w.wrapper=n.closest(g),w.title(w.options.title),w._dimensions(),a._footerTemplate&&w.wrapper.append(i.template(a._footerTemplate)(a._footerMessages))),a.themeColor&&"none"!==a.themeColor&&l.addClass(i.getValidCssClass("k-window-","themeColor",a.themeColor)),w.minTop=w.minLeft=-1/0,w.maxTop=w.maxLeft=1/0,w._position(),h&&w.refresh(h),a.visible&&w.toFront(null,!a.modal),p=l.children(y),a.visible&&a.modal&&w._overlay(l.is(H)).css({opacity:.5}),l.on("mouseenter"+m,Z,w._buttonEnter.bind(w)).on("mouseleave"+m,Z,w._buttonLeave.bind(w)).on("click"+m,"> "+Z,w._windowActionHandler.bind(w)).on("keydown"+m,w,w._keydown.bind(w)).on("focus"+m,w._focus.bind(w)).on("blur"+m,w._blur.bind(w)),p.on("keydown"+m,w,w._keydownContent.bind(w)),p.find("."+C)[0]&&!f.data(ee)&&(f.on("blur"+m,(function(){var t=e(document.activeElement).parent(y);t.length&&i.widgetInstance(t)._focus()})),f.on("focus"+m,(function(){e(y).not(".k-dialog-content").each((function(t,n){i.widgetInstance(e(n))._blur()}))})),f.data(ee,!0)),this._resizable(),this._draggable(),a.pinned&&this.wrapper.is(":visible")&&w.pin(),(v=n.attr("id"))&&(v+="_wnd_title",l.attr({role:"dialog","aria-labelledby":v}).children(b).children(_).attr("id",v)),l.add(l.children(".k-resize-handle,"+b)).on(i.support.mousedown+m,w.toFront.bind(w)),w.touchScroller=i.touchScroller(n),w._resizeHandler=w._onDocumentResize.bind(w),w._marker=i.guid().substring(0,8),e(window).on("resize"+m+w._marker,w._resizeHandler),a.visible&&(w.trigger(V),w.trigger(P)),i.notify(w),this.options.modal&&(this._tabKeyTrap=new r(l),this._tabKeyTrap.trap(),this._tabKeyTrap.shouldTrap=function(){return l.data("isFront")}),w._showWatermarkOverlay&&w._showWatermarkOverlay(w.wrapper[0])},_buttonEnter:function(t){e(t.currentTarget).addClass(S)},_buttonLeave:function(t){e(t.currentTarget).removeClass(S)},_focus:function(){this.wrapper.addClass(T)},_blur:function(){this.wrapper.removeClass(T)},_dimensions:function(){var e=this.wrapper,t=this.options,n=t.width,i=t.height,o=t.maxHeight,r=t.size,a=["minWidth","minHeight","maxWidth","maxHeight"],s="content-box"==e.css("box-sizing"),l=s?re(e,"border-left-width")+re(e,"border-right-width"):0,c=s?re(e,"border-top-width")+re(e,"border-bottom-width"):0,d=s?re(e,"padding-top"):0;this.containment&&!this._isPinned&&(this._updateBoundaries(),t.maxHeight=Math.min(this.containment.height-(c+d),o),t.maxWidth=Math.min(this.containment.width-l,t.maxWidth));for(var u=0;u<a.length;u++){var h=t[a[u]]||"";h!=1/0&&e.css(a[u],h)}o!=1/0&&this.element.css("maxHeight",o),n?e.outerWidth(ae(n,t.minWidth,t.maxWidth)):e.outerWidth(""),i?e.outerHeight(ae(i,t.minHeight,t.maxHeight)):e.outerHeight(""),t.visible||e.removeClass(I).hide(),r&&ie[r]&&e.addClass(ie[r])},_position:function(){var e,t,n=this.wrapper,i=this.options.position;this._updateBoundaries(),this.containment&&(i.top=i.top||0,i.left=i.left||0,e=i.top.toString().indexOf("%")>0?parseInt(this.containment.height*(parseFloat(i.top)/100),10):i.top,t=i.left.toString().indexOf("%")>0?parseInt(this.containment.width*(parseFloat(i.left)/100),10):i.left,i.top=ae(e,this.minTop,this.maxTop),i.left=ae(t,this.minLeft,this.maxLeft)),i.top&&i.top.toString().indexOf("px")>0&&(i.top=Number(i.top.replace("px",""))),i.left&&i.left.toString().indexOf("px")>0&&(i.left=Number(i.left.replace("px",""))),0===i.top&&(i.top=i.top.toString()),0===i.left&&(i.left=i.left.toString()),n.css({top:i.top||"",left:i.left||""})},_updateBoundaries:function(){var e=this.containment;if(!e)return null;e.width=e.innerWidth(),e.height=e.innerHeight(),parseInt(e.width,10)>e[0].clientWidth&&(e.width-=i.support.scrollbar()),parseInt(e.height,10)>e[0].clientHeight&&(e.height-=i.support.scrollbar()),e.position=le(e[0]),this._isPinned?(this.minTop=this.minLeft=-1/0,this.maxTop=this.maxLeft=1/0):(this.minTop=e.scrollTop(),this.minLeft=e.scrollLeft(),this.maxLeft=this.minLeft+e.width-c(this.wrapper,!0),this.maxTop=this.minTop+e.height-d(this.wrapper,!0))},_animationOptions:function(e){var t=this.options.animation;return t&&t[e]||{open:{effects:{}},close:{hide:!0,effects:{}}}[e]},_resize:function(){i.resize(this.element.children())},_resizable:function(){var t=this.options.resizable,i=this.wrapper;this.resizing&&(i.off("dblclick"+m).children(w).remove(),this.resizing.destroy(),this.resizing=null),t&&(i.on("dblclick"+m,b,function(t){e(t.target).closest(".k-window-titlebar-action").length||this.toggleMaximization()}.bind(this)),h("n e s w se sw ne nw".split(" "),(function(e,t){i.append(n.resizeHandle(t))})),this.resizing=new de(this)),i=null},_draggable:function(){var e=this.options.draggable;this.dragging&&(this.dragging.destroy(),this.dragging=null),e&&(this.dragging=new ue(this,e.dragHandle||b,e.clickMoveClick))},_actions:function(){var t,o=this.options,r=o.actions,a=o.pinned,s=this.wrapper.children(b).find(".k-window-titlebar-actions"),l=["minimize","maximize"],c={maximize:"window",refresh:"arrow-rotate-cw",custom:"gear"};r=e.map(r,(function(e){return e=a&&"pin"===e.toLowerCase()?"unpin":e,t=c[e.toLowerCase()]||"",{name:l.indexOf(e.toLowerCase())>-1?"window-"+e:e,icon:"close"==e.toLowerCase()?"x":t}})),s.html(i.render(n.action,r))},setOptions:function(t){var n=this,r=n.options.size,a=this.containment&&!n._isPinned?this.containment:e(document),s=JSON.parse(JSON.stringify(t));n.wrapper.removeClass(i.getValidCssClass("k-window-","themeColor",n.options.themeColor)),u(t.position,n.options.position),u(t.position,s.position),n._containerScrollTop=a.scrollTop(),n._containerScrollLeft=a.scrollLeft(),o.fn.setOptions.call(n,t);var l=!1!==n.options.scrollable;if(n.restore(),void 0!==t.title&&n.title(t.title),n.wrapper.removeClass(ie[r]),n._dimensions(),n._position(),n._resizable(),n._draggable(),n._actions(),n.options.themeColor&&"none"!==n.options.themeColor&&n.wrapper.addClass(i.getValidCssClass("k-window-","themeColor",n.options.themeColor)),void 0!==t.modal){var c=!1!==n.options.visible;n._enableDocumentScrolling(),n._overlay(t.modal&&c)}n.element.css($,l?"":"hidden")},events:[V,P,B,F,"minimize","maximize",O,j,L,"resize",R,N,U,"kendoKeydown",W],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 e.inArray("close",e.map(this.options.actions,(function(e){return e.toLowerCase()})))>-1},_keydownContent:function(e){var t=i.keys;e.keyCode==t.ESC&&this._closable()&&(e.stopPropagation(),this._close(!1))},_keydown:function(e){var t,n,o,r,a,s,l=this,c=l.options,d=i.keys,u=e.keyCode,h=l.wrapper,p=10,f=c.isMaximized,m=c.isMinimized;u==d.ESC&&l._closable()&&(e.stopPropagation(),l._close(!1)),e.target!=e.currentTarget||l._closing||(e.altKey&&82==u&&l.refresh(),e.altKey&&80==u&&(l.options.pinned?l.unpin():l.pin()),e.altKey&&u==d.UP?m?(l.restore(),l.wrapper.trigger("focus")):f||(l.maximize(),l.wrapper.trigger("focus")):e.altKey&&u==d.DOWN&&(m||f?f&&(l.restore(),l.wrapper.trigger("focus")):(l.minimize(),l.wrapper.trigger("focus"))),t=i.getOffset(h),l.containment&&!l._isPinned&&(t=l.options.position),!c.draggable||e.ctrlKey||e.altKey||f||(l._updateBoundaries(),u==d.UP?(t.top=ae(t.top-p,l.minTop,l.maxTop),n=h.css("top",t.top)):u==d.DOWN?(t.top=ae(t.top+p,l.minTop,l.maxTop),n=h.css("top",t.top)):u==d.LEFT?(t.left=ae(t.left-p,l.minLeft,l.maxLeft),n=h.css("left",t.left)):u==d.RIGHT&&(t.left=ae(t.left+p,l.minLeft,l.maxLeft),n=h.css("left",t.left))),c.resizable&&e.ctrlKey&&!f&&!m&&(u==d.UP?(n=!0,r=h.outerHeight()-p):u==d.DOWN?(n=!0,r=l.containment&&!l._isPinned?Math.min(h.outerHeight()+p,l.containment.height-t.top-re(h,"padding-top")-re(h,"borderBottomWidth")-re(h,"borderTopWidth")):h.outerHeight()+p):u==d.LEFT?(n=!0,o=h.outerWidth()-p):u==d.RIGHT&&(n=!0,o=l.containment&&!l._isPinned?Math.min(h.outerWidth()+p,l.containment.width-t.left-re(h,"borderLeftWidth")-re(h,"borderRightWidth")):h.outerWidth()+p),n&&(a=ae(o,c.minWidth,c.maxWidth),s=ae(r,c.minHeight,c.maxHeight),isNaN(a)||(h.outerWidth(a),l.options.width=a+"px"),isNaN(s)||(h.outerHeight(s),l.options.height=s+"px"),l.resize())),n&&e.preventDefault())},_overlay:function(t){var n=this.containment?this.containment.children(k):this.appendTo.children(k),i=this.wrapper,o=t?"inline-flex":"none",r=parseInt(i.css(G),10)-1;return n.length||(n=e("<div class='k-overlay' />")),n.insertBefore(i[0]).css({zIndex:r,display:o}),this.options.modal.preventScroll&&!this.containment&&this._stopDocumentScrolling(),n},_actionForIcon:function(e){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(e[0].className)[0].replace(/(k-i-|k-svg-i-)/,"")]},_windowActionHandler:function(t){if(!this._closing){var n=e(t.target).closest(".k-window-titlebar-action").find(".k-icon,.k-svg-icon"),i=this._actionForIcon(n);return i?(t.preventDefault(),this[i](),!1):void 0}},_modals:function(){for(var t,n=this,i=e(g+H),o=[],r=0;r<i.length;r+=1)(t=n._object(e(i[r])))&&t.options&&t.options.modal&&t.options.visible&&t.options.appendTo===n.options.appendTo&&(!t.containment||n.containment&&t.containment[0]===n.containment[0])&&o.push(t.wrapper[0]);return o.sort((function(e,t){return e.style.zIndex-t.style.zIndex})),n=null,e(o)},_object:function(e){var n=e.children(y).getKendoWindow();return n||t},center:function(){var t,n,i=this,o=i.options.position,r=i.wrapper,a=e(window),s=0,l=0;return i.options.isMaximized||(i.options.pinned&&!i._isPinned&&i.pin(),i.options.pinned||(s=a.scrollTop(),l=a.scrollLeft()),this.containment&&!i.options.pinned?(t=this.minTop+(this.maxTop-this.minTop)/2,n=this.minLeft+(this.maxLeft-this.minLeft)/2):(i._scrollIsAppended=!0,n=l+Math.max(0,(a.width()-r.outerWidth())/2),t=s+Math.max(0,(a.height()-r.outerHeight()-re(r,"paddingTop"))/2)),r.css({left:n,top:t}),o.top=t,o.left=n),i},title:function(t){var o,r=this,a=!0,s=r.wrapper,l=s.children(b),c=l.children(_);return arguments.length?(e.isPlainObject(t)?(o=void 0!==t.text?t.text:"",a=!1!==t.encoded):o=t,!1===o?(s.addClass("k-window-titleless"),s.css("padding-top",0),l.remove()):l.length?c.html(a?i.htmlEncode(o):o):(s.prepend(n.titlebar({title:a?i.htmlEncode(o):o})),r._actions(),l=s.children(b)),r.options.title=o,r):c.html()},content:function(e,t){var n=this.wrapper.children(y),o=n.children(".km-scroll-container");return n=o[0]?o:n,oe(e)?(i.destroy(this.element.children()),n.empty().html(e),this):n.html()},open:function(){var t,n,o=this,r=o.wrapper,a=o.options,s=this._animationOptions("open"),l=r.children(y),c=this.containment&&!o._isPinned?this.containment:e(document);if(!o.trigger(V)){if(o._closing&&r.kendoStop(!0,!0),o._closing=!1,o.toFront(),a.autoFocus&&o.wrapper.trigger("focus"),a.visible=!0,a.modal){if(n=!!o._modals().length,(t=o._overlay(n)).kendoStop(!0,!0),s.duration&&i.effects.Fade&&!n){var d=i.fx(t).fadeIn();d.duration(s.duration||0),d.endValue(.5),d.play()}else t.css("opacity",.5);t.show(),e(window).on("focus"+v,(function(){r.data("isFront")&&!e(document.activeElement).closest(r).length&&o.wrapper.trigger("focus")}))}r.is(H)||(l.css($,E),o.wrapper.find(Z).addClass("k-button-flat"),r.css({display:"inline-flex"}),r.kendoStop().kendoAnimate({effects:s.effects,duration:s.duration,complete:this._activate.bind(this)}))}return a.isMaximized&&(o._containerScrollTop=c.scrollTop(),o._containerScrollLeft=c.scrollLeft(),o._stopDocumentScrolling()),this.options.pinned&&!this._isPinned&&this.pin(),o},_activate:function(){var e=!1!==this.options.scrollable;this.options.autoFocus&&this.wrapper.trigger("focus"),this.element.css($,e?"":"hidden"),i.resize(this.element.children()),this.trigger(P)},_removeOverlay:function(n){var o=this._modals(),r=this.options,a=r.modal&&!o.length,s=this._animationOptions("close");if(a){if(!n&&s.duration&&i.effects.Fade){var l=i.fx(r.modal?this._overlay(!0):e(t)).fadeOut();l.duration(s.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(t){var n,i=this,o=i.wrapper,r=i.options,a=this._animationOptions("open"),s=this._animationOptions("close"),l=this.containment&&!i._isPinned?this.containment:e(document);i._closing||(n=i.trigger(F,{userTriggered:!t}),i._closing=!n,o.is(H)&&!n&&(r.visible=!1,e(g).each((function(t,n){var i=e(n).children(y);n!=o&&i.find("> ."+C).length>0&&i.children(k).remove()})),this._removeOverlay(),i.wrapper.find(Z).removeClass("k-button-flat"),o.kendoStop().kendoAnimate({effects:s.effects||a.effects,reverse:!0===s.reverse,duration:s.duration,complete:this._deactivate.bind(this)}),e(window).off(v)),i.options.isMaximized&&(i._enableDocumentScrolling(),i._containerScrollTop&&i._containerScrollTop>0&&l.scrollTop(i._containerScrollTop),i._containerScrollLeft&&i._containerScrollLeft>0&&l.scrollLeft(i._containerScrollLeft)),i.options.iframe&&i.wrapper.trigger("blur"))},_deactivate:function(){var e=this;if(e.wrapper.removeClass(I).hide().css("opacity",""),e.trigger(B),e.options.modal){var t=e._object(e._modals().last());t&&t.toFront()}},close:function(){return this._close(!0),this},_actionable:function(t){return e(t).is(`${Z}, :input, a, .k-input, .k-icon, .k-svg-icon, .k-svg-icon>svg, .k-svg-icon>svg>path, .k-icon-button, [role='gridcell'], .k-input-inner, .k-input-value-text`)},_shouldFocus:function(t){var n=l(),i=this.wrapper;return this.options.autoFocus&&!e(n).is(i)&&!this._actionable(t)&&(!i.find(n).length||!i.find(t).length)},toFront:function(t,i){var o=this,r=o.wrapper,a=r[0],s=o.containment&&!o._isPinned,l=this._animationOptions("open"),c=+r.css(G),d=c,u=t&&t.target||null;if(e(g).each((function(t,i){var o=e(i),s=o.css(G),l=o.children(y);isNaN(s)||(c=Math.max(+s,c)),r.data("isFront",i==a),i!=a&&l.find("."+C).length&&!l.find(k).length&&l.append(n.overlay)})),(!r[0].style.zIndex||d<c)&&r.css(G,c+2),o.element.find("> .k-overlay").remove(),o._shouldFocus(u)){i||setTimeout((function(){o.wrapper.trigger("focus")}),l?l.duration:0);var h=s?o.containment.scrollTop():e(window).scrollTop(),p=parseInt(r.position().top,10);!o.options.pinned&&p>0&&p<h&&(h>0?e(window).scrollTop(p):r.css("top",h))}return r=null,o},toggleMaximization:function(){return this._closing?this:this[this.options.isMaximized?"restore":"maximize"]()},restore:function(){var t=this,n=t.options,i=n.minHeight,o=t.restoreOptions,r=t.containment&&!t._isPinned?t.containment:e(document);return n.isMaximized||n.isMinimized?(i&&i!=1/0&&t.wrapper.css("min-height",i),o&&!n.isMaximized&&(o.height=ae(o.height,t.options.minHeight,t.options.maxHeight),n.position.top+parseInt(o.height,10)>t.maxTop&&(n.position.top=ae(n.position.top,t.minTop,t.maxTop-parseInt(o.height,10)),u(o,{left:n.position.left,top:n.position.top}))),t.wrapper.css({position:n.pinned?"fixed":"absolute",left:o.left,top:o.top,width:o.width,height:o.height}).removeClass(M).removeClass(x).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(K).parent().show().end().end().find(X).parent().show(),n.isMaximized?t.wrapper.find(".k-i-window,.k-svg-i-window").parent().trigger("focus"):n.isMinimized&&t.wrapper.find(".k-i-window-minimize,.k-svg-i-window-minimize").parent().trigger("focus"),t.options.width=o.width,t.options.height=o.height,t.options.modal.preventScroll||t._enableDocumentScrolling(),t._containerScrollTop&&t._containerScrollTop>0&&r.scrollTop(t._containerScrollTop),t._containerScrollLeft&&t._containerScrollLeft>0&&r.scrollLeft(t._containerScrollLeft),n.isMaximized=n.isMinimized=!1,t.wrapper.removeAttr("aria-labelled-by"),t.resize(),t.trigger(j),t):t},_sizingAction:function(e,t){var i=this,o=i.wrapper,r=o[0].style,a=i.options;return a.isMaximized||a.isMinimized||(i.restoreOptions={width:r.width,height:r.height},o.children(w).hide().end().children(b).find(K).parent().hide().eq(0).before(n.action({name:"window-restore"})),t.call(i),i.wrapper.children(b).find(X).parent().toggle("maximize"!==e),i.trigger(e),o.find(".k-i-window-restore,.k-svg-i-window-restore").parent().trigger("focus")),i},maximize:function(){return this._sizingAction("maximize",(function(){var t=this,n=t.wrapper,i=this.containment&&!t._isPinned,o=n.position(),r=e(document);u(t.restoreOptions,{left:o.left+(i?this.containment.scrollLeft():0),top:o.top+(i?this.containment.scrollTop():0)}),this._containerScrollTop=i?this.containment.scrollTop():r.scrollTop(),this._containerScrollLeft=i?this.containment.scrollLeft():r.scrollLeft(),t._stopDocumentScrolling(),n.css({top:i?this.containment.scrollTop():0,left:i?this.containment.scrollLeft():0,position:i?"absolute":"fixed"}).addClass(M),t.options.isMaximized=!0,t._onDocumentResize()})),this},_stopDocumentScrolling:function(){var t=this,n=t.containment;if(n&&!t._isPinned)return t._storeOverflowRule(n),n.css($,E),void t.wrapper.css({maxWidth:n.innerWidth(),maxHeight:n.innerHeight()});var i=e("body");t._storeOverflowRule(i),i.css($,E);var o=e("html");t._storeOverflowRule(o),o.css($,E)},_enableDocumentScrolling:function(){var t=this,n=t.containment;if(n&&!t._isPinned)return t._restoreOverflowRule(n),void t.wrapper.css({maxWidth:n.width,maxHeight:n.height});t._restoreOverflowRule(e(document.body)),t._restoreOverflowRule(e("html"))},_storeOverflowRule:function(e){if(!this._isOverflowStored(e)){var t=e.get(0).style.overflow;"string"==typeof t&&e.data(q,t)}},_isOverflowStored:function(e){return"string"==typeof e.data(q)},_restoreOverflowRule:function(e){var n=e.data(q);null!==n&&n!==t?(e.css($,n),e.removeData(q)):e.css($,"")},isMaximized:function(){return this.options.isMaximized},minimize:function(){return this._sizingAction("minimize",(function(){var e=this;e.wrapper.css({height:"",minHeight:""}),e.element.hide(),e.options.isMinimized=!0})),this.wrapper.attr("aria-labelled-by",this.element.attr("aria-labelled-by")),this.wrapper.addClass(x),this._updateBoundaries(),this},isMinimized:function(){return this.options.isMinimized},pin:function(){var t=this,n=e(window),o=t.wrapper,r=t.options,a=r.position,s=this.containment?le(o[0]).top+re(this.containment,"borderTopWidth"):re(o,"top"),l=this.containment?le(o[0]).left+re(this.containment,"borderLeftWidth"):re(o,"left");if(!t.options.isMaximized){a.top=s,a.left=l,!t._scrollIsAppended||this.containment&&"fixed"===this.containment.css("position")||(a.top-=n.scrollTop(),a.left-=n.scrollLeft(),t._scrollIsAppended=!1),o.css(u(a,{position:"fixed"}));var c=o.children(b).find(Y).eq(0);c.length>0&&i.ui.icon(c,{icon:"unpin"}),t._isPinned=!0,t.options.pinned=!0,this.containment&&(r.maxWidth=r.maxHeight=1/0,o.css({maxWidth:"",maxHeight:""}))}},unpin:function(){var t=this,n=e(window),o=t.wrapper,r=t.options,a=t.options.position,s=t.containment,l=parseInt(o.css("top"),10)+n.scrollTop(),c=parseInt(o.css("left"),10)+n.scrollLeft();if(!t.options.isMaximized){t._isPinned=!1,t._scrollIsAppended=!0,t.options.pinned=!1,s&&(t._updateBoundaries(),r.maxWidth=Math.min(s.width,r.maxWidth),r.maxHeight=Math.min(s.height-re(o,"padding-top"),r.maxHeight),o.css({maxWidth:r.maxWidth,maxHeight:r.maxHeight}),l=l<s.position.top?t.minTop:l>s.position.top+s.height?t.maxTop:l+s.scrollTop()-(s.position.top+re(s,"border-top-width")),c=c<s.position.left?t.minLeft:c>s.position.left+s.width?t.maxLeft:c+s.scrollLeft()-(s.position.left+re(s,"border-left-width"))),a.top=ae(l,t.minTop,t.maxTop),a.left=ae(c,t.minLeft,t.maxLeft),o.css(u(a,{position:""}));var d=o.children(b).find(Q).eq(0);d.length>0&&i.ui.icon(d,{icon:"pin"})}},_onDocumentResize:function(){var t,n,o=this,r=o.wrapper,a=e(window),s=i.support.zoomLevel(),l="content-box"==r.css("box-sizing");if(o.options.isMaximized){var c=l?re(r,"border-left-width")+re(r,"border-right-width"):0,d=l?re(r,"border-top-width")+re(r,"border-bottom-width"):0,u=l?re(r,"padding-top"):0;o.containment&&!o._isPinned?(t=o.containment.innerWidth()-c,n=o.containment.innerHeight()-(d+u)):(t=a.width()/s-c,n=a.height()/s-(d+u)),r.css({width:t,height:n}),o.options.width=t,o.options.height=n,o.resize()}},refresh:function(t){var i,o,r,a=this,l=a.options,c=e(a.element);return s(t)||(t={url:t}),t=u(l.content,t),o=oe(l.iframe)?l.iframe:t.iframe,(r=t.url)?(oe(o)||(o=!ne(r)),o?((i=c.find("."+C)[0])?i.src=r||i.src:c.html(n.contentFrame(u({},l,{content:t}))),c.find("."+C).off("load"+m).on("load"+m,this._triggerRefresh.bind(this))):a._ajaxRequest(t)):(t.template&&a.content(p(t.template)({})),a.trigger(O)),c.toggleClass("k-window-iframecontent",!!o),a},_triggerRefresh:function(){this.trigger(O)},_ajaxComplete:function(){clearTimeout(this._loadingIconTimeout),this.wrapper.find(J).removeClass(z)},_ajaxError:function(e,t){this.trigger(W,{status:t,xhr:e})},_ajaxSuccess:function(e){return function(t){var n=t;e&&(n=p(e)(t||{})),this.content(n,t),this.element.prop("scrollTop",0),this.trigger(O)}},_showLoading:function(){this.wrapper.find(J).addClass(z)},_ajaxRequest:function(t){this._loadingIconTimeout=setTimeout(this._showLoading.bind(this),100),e.ajax(u({type:"GET",dataType:"html",cache:!1,error:this._ajaxError.bind(this),complete:this._ajaxComplete.bind(this),success:this._ajaxSuccess(t.template).bind(this)},t))},_destroy:function(){this.resizing&&this.resizing.destroy(),this.dragging&&this.dragging.destroy(),this.wrapper.off(m).children(y).off(m).end().find(".k-resize-handle,.k-window-titlebar").off(m),e(window).off("resize"+m+this._marker),e(window).off(v),e(window).off(m),clearTimeout(this._loadingIconTimeout),o.fn.destroy.call(this),this.unbind(t),i.destroy(this.wrapper)},destroy:function(){this._destroy(),this.options.modal&&this._removeOverlay(!0),this.wrapper.empty().remove(),this.wrapper=this.appendTo=this.element=e()},_createWindow:function(){var t,o,r=this.element,a=this.options,s=i.support.isRtl(r);!1===a.scrollable&&r.css("overflow","hidden"),o=e(n.wrapper(a)),t=r.find("iframe:not(.k-content-frame)").map((function(){var e=this.getAttribute("src");return this.src="",e})),o.toggleClass("k-rtl",s).attr("tabindex",0).append(r).find("iframe:not(.k-content-frame)").each((function(e){this.src=t[e]})),this.containment?this.containment.prepend(o):this.appendTo&&o.appendTo(this.appendTo),o.find(".k-window-title").css(s?"left":"right",c(o.find(".k-window-titlebar-actions"))+10),r.css("visibility","").show(),e(r).hasClass(D)&&e(r).removeClass(D),r.find("[data-role=editor]").each((function(){var t=e(this).data("kendoEditor");t&&t.refresh()})),o=r=null}});function de(e){var t=this;t.owner=e,t._preventDragging=!1,t._draggable=new a(e.wrapper,{filter:">"+w,group:e.wrapper.id+"-resizing",dragstart:t.dragstart.bind(t),drag:t.drag.bind(t),dragend:t.dragend.bind(t)}),t._draggable.userEvents.bind("press",t.addOverlay.bind(t)),t._draggable.userEvents.bind("release",t.removeOverlay.bind(t))}function ue(e,t,n){var i=this;i.owner=e,i._preventDragging=!1,i._draggable=new a(e.wrapper,{filter:t,group:e.wrapper.id+"-moving",clickMoveClick:n,dragstart:i.dragstart.bind(i),drag:i.drag.bind(i),dragend:i.dragend.bind(i),dragcancel:i.dragcancel.bind(i)}),i._draggable.userEvents.stopPropagation=!1}n={wrapper:p((()=>"<div class='k-window'></div>")),action:p((({name:e,icon:t})=>{let n=(t||"").toLowerCase()||e.toLowerCase();return"restore"==n&&(n="window-restore"),i.html.renderButton(`<button role='button' class='k-window-titlebar-action' aria-label='${e}'></button>`,{icon:n,fillMode:"flat"})})),titlebar:p((({title:e})=>`<div class='k-window-titlebar'><span class='k-window-title'>${e}</span><div class='k-window-titlebar-actions'></div></div>`)),overlay:"<div class='k-overlay'></div>",contentFrame:p((({title:e,content:t})=>`<iframe frameborder='0' title='${e}' class='${C}' src='${t.url}'>This page requires frames in order to show content</iframe>`)),resizeHandle:p((e=>`<div aria-hidden='true' class='k-resize-handle k-resize-${e}'></div>`))},de.prototype={addOverlay:function(){this.owner.wrapper.append(n.overlay)},removeOverlay:function(){this.owner.wrapper.find(k).remove()},dragstart:function(t){var n=this,o=n.owner,r=o.wrapper;if(n._preventDragging=o.trigger(L),!n._preventDragging){n.elementPadding=parseInt(r.css("padding-top"),10),n.initialPosition=i.getOffset(r,"position"),n.resizeDirection=t.currentTarget.prop("className").replace("k-resize-handle k-resize-",""),n.initialSize={width:r.outerWidth(),height:r.outerHeight()},o._updateBoundaries(),n.containerOffset=o.containment?o.containment.position:i.getOffset(o.appendTo);var a=r.offsetParent();if(a.is("html"))n.containerOffset.top=n.containerOffset.left=0;else{var s=a.css("margin-top"),l=a.css("margin-left");if(!te.test(s)||!te.test(l)){var c=le(r[0]),d=c.left-n.containerOffset.left-n.initialPosition.left,u=c.top-n.containerOffset.top-n.initialPosition.top;n._relativeElMarginLeft=d>1?d:0,n._relativeElMarginTop=u>1?u:0,n.initialPosition.left+=n._relativeElMarginLeft,n.initialPosition.top+=n._relativeElMarginTop}}r.children(w).not(t.currentTarget).hide(),e(f).css(A,t.currentTarget.css(A))}},drag:function(t){if(!this._preventDragging){var n,o,r,a,s=this,l=s.owner,c=l.wrapper,d=l.options,u=d.position,h=s.resizeDirection,p=s.containerOffset,f=s.initialPosition,m=s.initialSize,v=l.containment&&!l._isPinned,g=i.support.isRtl(l.containment),_=v&&g&&l.containment.innerWidth()>l.containment.width?i.support.scrollbar():0,b=v?{top:l.containment.scrollTop(),left:l.containment.scrollLeft()}:{top:0,left:0},y=Math.max(t.x.location,0),w=Math.max(t.y.location,0);h.indexOf("e")>=0?(n=l.containment&&y-m.width>=l.maxLeft-b.left+p.left+_?l.maxLeft+_-f.left+m.width-b.left:y-f.left-p.left,c.outerWidth(ae(n,d.minWidth,d.maxWidth))):h.indexOf("w")>=0&&(n=ae((a=f.left+m.width+p.left)-y,d.minWidth,d.maxWidth),u.left=a-n-p.left-_-(s._relativeElMarginLeft||0)+b.left,l.containment&&u.left<=l.minLeft&&(u.left=l.minLeft,n=ae(a-_-u.left-p.left+b.left,d.minWidth,d.maxWidth)),c.css({left:u.left,width:n}));var k=w;l.options.pinned&&(k-=e(window).scrollTop()),h.indexOf("s")>=0?(o=k-f.top-s.elementPadding-p.top,k-m.height-s.elementPadding>=l.maxTop+p.top-b.top&&(o=l.maxTop-f.top+m.height-b.top),c.outerHeight(ae(o,d.minHeight,d.maxHeight))):h.indexOf("n")>=0&&(o=ae((r=f.top+m.height+p.top)-k,d.minHeight,d.maxHeight),u.top=r-o-p.top-(s._relativeElMarginTop||0)+b.top,u.top<=l.minTop&&l.containment&&(u.top=l.minTop,o=ae(r-u.top-p.top+b.top,d.minHeight,d.maxHeight)),c.css({top:u.top,height:o})),n&&(l.options.width=n+"px"),o&&(l.options.height=o+"px"),l.resize()}},dragend:function(t){if(!this._preventDragging){var n=this,i=n.owner,o=i.wrapper;return o.children(w).not(t.currentTarget).show(),e(f).css(A,""),i.touchScroller&&i.touchScroller.reset(),27==t.keyCode&&o.css(n.initialPosition).css(n.initialSize),i.trigger(R),!1}},destroy:function(){this._draggable&&this._draggable.destroy(),this._draggable=this.owner=null}},ue.prototype={dragstart:function(t){var o=this.owner,r=o.options.draggable,a=o.element,s=a.find(".k-window-titlebar-actions"),l=i.getOffset(o.appendTo);this._preventDragging=o.trigger(N)||!r,this._preventDragging||o.isMaximized()||(o.initialWindowPosition=i.getOffset(o.wrapper,"position"),o.initialPointerPosition||(o.options.position.left=ae(o.initialWindowPosition.left,o.minLeft,o.maxLeft),o.options.position.top=ae(o.initialWindowPosition.top,o.minTop,o.maxTop)),o.initialPointerPosition={left:o.options.position.left,top:o.options.position.top},o.startPosition={left:t.x.client-o.initialWindowPosition.left,top:t.y.client-o.initialWindowPosition.top},o._updateBoundaries(),o.containment||(s.length>0?o.minLeft=c(s)+parseInt(s.css("right"),10)-c(a):o.minLeft=20-c(a),o.minLeft-=l.left,o.minTop=-l.top),e(n.overlay).appendTo(o.wrapper).css({opacity:0}),o.wrapper.children(w).hide(),e(f).css(A,t.currentTarget.css(A)))},drag:function(t){var n,i,o=this.owner,r=o.options.position,a=o.options.draggable.axis;this._preventDragging||o.isMaximized()||(a&&"x"!==a.toLowerCase()||(n=t.x.client-o.startPosition.left,o.containment&&!o._isPinned&&(n+=o.containment.scrollLeft()),r.left=ae(n,o.minLeft,o.maxLeft)),a&&"y"!==a.toLowerCase()||(i=t.y.client-o.startPosition.top,o.containment&&!o._isPinned&&(i+=o.containment.scrollTop()),r.top=ae(i,o.minTop,o.maxTop)),e(o.wrapper).css("transform","translate("+(r.left-o.initialPointerPosition.left)+"px, "+(r.top-o.initialPointerPosition.top)+"px)"))},_finishDrag:function(){var t=this.owner;t.wrapper.children(w).toggle(!t.options.isMinimized).end().find(k).remove(),e(f).css(A,"")},dragcancel:function(e){this._preventDragging||(this._finishDrag(),e.currentTarget.closest(g).css(this.owner.initialWindowPosition))},dragend:function(){var t=this.owner;if(!this._preventDragging&&!t.isMaximized())return e(t.wrapper).css(t.options.position).css("transform",""),this._finishDrag(),t.trigger(U),!1},destroy:function(){this._draggable&&this._draggable.destroy(),this._draggable=this.owner=null}},i.ui.plugin(ce)}(window.kendo.jQuery);kendo;var ft=function(){return"undefined"!=typeof window},mt={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/},vt={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/},gt={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i},_t={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},bt=function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)&&t[i].test(e))return i;return void 0!==n?n:e},yt=ft()&&window.navigator?window.navigator.userAgent:null,wt=yt?function(e){var t=null,n=[];for(var i in gt)if(gt.hasOwnProperty(i)&&(n=e.match(gt[i]))){(t={})[i]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.documentMode||n[2],10);break}return t}(yt):null;yt&&function(e){var t,n=[];for(var i in mt)if(mt.hasOwnProperty(i)){if(!(n=e.match(mt[i])))continue;if("windows"===i&&"plugins"in window.navigator)return null;var o={};return o.device=i,o.browser=bt(e,_t,"default"),o.name=bt(i,vt),o[o.name]=!0,o.majorVersion=n[2],o.minorVersion=n[3]?n[3].replace("_","."):".0",t=o.minorVersion.replace(".","").substr(0,2),o.flatVersion=o.majorVersion+t+new Array(3-(t.length<3?t.length:2)).join("0"),o.cordova=void 0!==typeof window.PhoneGap||void 0!==typeof window.cordova,o.appMode=window.navigator.standalone||/file|local|wmapp/.test(window.location.protocol)||o.cordova,o}}(yt),ft()&&window,wt&&!wt.chrome&&window.MSPointerEvent,wt&&!wt.chrome&&window.PointerEvent;var kt={};kt[void 0]=function(e){return e};var xt=/\/\*[\s\S]*?\*\//g,Ct=/([^\s:;]+?)\s*:\s*((?:(?:url\(\s*(?:(?:[^"')\\]|\\.)*|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')\s*\)|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|[^;"'])*?)\s*)(?=;|$)/gi,zt=/"|"|"/gi,St=/'|'|'/gi;function Tt(e){for(var t,n,i={},o=(e||"").replace(xt,"").replace(zt,'"').replace(St,"'"),r=Ct.exec(o);null!==r;)t=r[1].trim(),n=r[2].trim(),i[t]=n,r=Ct.exec(o);return i}var Mt=-2;function It(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ht(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)It(n,i)&&(e[i]=n[i])}}return e}function Dt(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}var Et={arraySet:function(e,t,n,i,o){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+i),o);else for(var r=0;r<i;r++)e[o+r]=t[n+r]},flattenChunks:function(e){var t,n,i,o,r,a;for(i=0,t=0,n=e.length;t<n;t++)i+=e[t].length;for(a=new Uint8Array(i),o=0,t=0,n=e.length;t<n;t++)r=e[t],a.set(r,o),o+=r.length;return a},Buf8:function(e){return new Uint8Array(e)},Buf16:function(e){return new Uint16Array(e)},Buf32:function(e){return new Int32Array(e)}},At={arraySet:function(e,t,n,i,o){for(var r=0;r<i;r++)e[o+r]=t[n+r]},flattenChunks:function(e){return[].concat.apply([],e)},Buf8:function(e){return new Array(e)},Buf16:function(e){return new Array(e)},Buf32:function(e){return new Array(e)}},Vt=function(){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;return Vt=function(){return e},e},Pt=function(e,t,n,i,o){return(Pt=Vt()?Et.arraySet:At.arraySet)(e,t,n,i,o)},Bt=function(e){return(Bt=Vt()?Et.flattenChunks:At.flattenChunks)(e)},Ft=function(e){return(Ft=Vt()?Et.Buf8:At.Buf8)(e)},Ot=function(e){return(Ot=Vt()?Et.Buf16:At.Buf16)(e)},Lt=function(e){return(Lt=Vt()?Et.Buf32:At.Buf32)(e)},Rt=function(){var e=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}return Rt=function(){return e},e},Nt=function(){var e=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){e=!1}return Nt=function(){return e},e},Ut=function(e){for(var t=Ft(256),n=0;n<256;n++)t[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;return t[254]=t[254]=1,Ut=function(e){return t[e]},t[e]};function jt(e){var t,n,i,o,r,a=e.length,s=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),r=0,o=0;r<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[r++]=n:n<2048?(t[r++]=192|n>>>6,t[r++]=128|63&n):n<65536?(t[r++]=224|n>>>12,t[r++]=128|n>>>6&63,t[r++]=128|63&n):(t[r++]=240|n>>>18,t[r++]=128|n>>>12&63,t[r++]=128|n>>>6&63,t[r++]=128|63&n);return t}function Wt(e,t){if(t<65534&&(e.subarray&&Nt()||!e.subarray&&Rt()))return String.fromCharCode.apply(null,Dt(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}function $t(e,t){var n,i,o,r,a=t||e.length,s=new Array(2*a);for(i=0,n=0;n<a;)if((o=e[n++])<128)s[i++]=o;else if((r=Ut(o))>4)s[i++]=65533,n+=r-1;else{for(o&=2===r?31:3===r?15:7;r>1&&n<a;)o=o<<6|63&e[n++],r--;r>1?s[i++]=65533:o<65536?s[i++]=o:(o-=65536,s[i++]=55296|o>>10&1023,s[i++]=56320|1023&o)}return Wt(s,i)}function qt(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+Ut(e[n])>t?n:t}function Gt(e,t,n,i){for(var o=65535&e,r=e>>>16&65535,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{r=r+(o=o+t[i++]|0)|0}while(--a);o%=65521,r%=65521}return o|r<<16}var Kt=function(){var e=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();return Kt=function(){return e},e};function Yt(e,t,n,i){var o=Kt(),r=i+n;e^=-1;for(var a=i;a<r;a++)e=e>>>8^o[255&(e^t[a])];return~e}function Qt(e,t){var n,i,o,r,a,s,l,c,d,u,h,p,f,m,v,g,_,b,y,w,k,x,C,z,S;n=e.state,i=e.next_in,z=e.input,o=i+(e.avail_in-5),r=e.next_out,S=e.output,a=r-(t-e.avail_out),s=r+(e.avail_out-257),l=n.dmax,c=n.wsize,d=n.whave,u=n.wnext,h=n.window,p=n.hold,f=n.bits,m=n.lencode,v=n.distcode,g=(1<<n.lenbits)-1,_=(1<<n.distbits)-1;e:do{f<15&&(p+=z[i++]<<f,f+=8,p+=z[i++]<<f,f+=8),b=m[p&g];t:for(;;){if(p>>>=y=b>>>24,f-=y,0===(y=b>>>16&255))S[r++]=65535&b;else{if(!(16&y)){if(64&y){if(32&y){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}b=m[(65535&b)+(p&(1<<y)-1)];continue t}for(w=65535&b,(y&=15)&&(f<y&&(p+=z[i++]<<f,f+=8),w+=p&(1<<y)-1,p>>>=y,f-=y),f<15&&(p+=z[i++]<<f,f+=8,p+=z[i++]<<f,f+=8),b=v[p&_];;){if(p>>>=y=b>>>24,f-=y,16&(y=b>>>16&255)){if(k=65535&b,f<(y&=15)&&(p+=z[i++]<<f,(f+=8)<y&&(p+=z[i++]<<f,f+=8)),(k+=p&(1<<y)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(p>>>=y,f-=y,k>(y=r-a)){if((y=k-y)>d&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=0,C=h,0===u){if(x+=c-y,y<w){w-=y;do{S[r++]=h[x++]}while(--y);x=r-k,C=S}}else if(u<y){if(x+=c+u-y,(y-=u)<w){w-=y;do{S[r++]=h[x++]}while(--y);if(x=0,u<w){w-=y=u;do{S[r++]=h[x++]}while(--y);x=r-k,C=S}}}else if(x+=u-y,y<w){w-=y;do{S[r++]=h[x++]}while(--y);x=r-k,C=S}for(;w>2;)S[r++]=C[x++],S[r++]=C[x++],S[r++]=C[x++],w-=3;w&&(S[r++]=C[x++],w>1&&(S[r++]=C[x++]))}else{x=r-k;do{S[r++]=S[x++],S[r++]=S[x++],S[r++]=S[x++],w-=3}while(w>2);w&&(S[r++]=S[x++],w>1&&(S[r++]=S[x++]))}break}if(64&y){e.msg="invalid distance code",n.mode=30;break e}b=v[(65535&b)+(p&(1<<y)-1)]}}break}}while(i<o&&r<s);i-=w=f>>3,p&=(1<<(f-=w<<3))-1,e.next_in=i,e.next_out=r,e.avail_in=i<o?o-i+5:5-(i-o),e.avail_out=r<s?s-r+257:257-(r-s),n.hold=p,n.bits=f}var Xt=15,Zt=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Jt=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],en=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],tn=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function nn(e,t,n,i,o,r,a,s){var l,c,d,u,h,p,f,m,v,g=s.bits,_=0,b=0,y=0,w=0,k=0,x=0,C=0,z=0,S=0,T=0,M=null,I=0,H=Ot(16),D=Ot(16),E=null,A=0;for(_=0;_<=Xt;_++)H[_]=0;for(b=0;b<i;b++)H[t[n+b]]++;for(k=g,w=Xt;w>=1&&0===H[w];w--);if(k>w&&(k=w),0===w)return o[r++]=20971520,o[r++]=20971520,s.bits=1,0;for(y=1;y<w&&0===H[y];y++);for(k<y&&(k=y),z=1,_=1;_<=Xt;_++)if(z<<=1,(z-=H[_])<0)return-1;if(z>0&&(0===e||1!==w))return-1;for(D[1]=0,_=1;_<Xt;_++)D[_+1]=D[_]+H[_];for(b=0;b<i;b++)0!==t[n+b]&&(a[D[t[n+b]]++]=b);if(0===e?(M=E=a,p=19):1===e?(M=Zt,I-=257,E=Jt,A-=257,p=256):(M=en,E=tn,p=-1),T=0,b=0,_=y,h=r,x=k,C=0,d=-1,u=(S=1<<k)-1,1===e&&S>852||2===e&&S>592)return 1;for(;;){f=_-C,a[b]<p?(m=0,v=a[b]):a[b]>p?(m=E[A+a[b]],v=M[I+a[b]]):(m=96,v=0),l=1<<_-C,y=c=1<<x;do{o[h+(T>>C)+(c-=l)]=f<<24|m<<16|v}while(0!==c);for(l=1<<_-1;T&l;)l>>=1;if(0!==l?(T&=l-1,T+=l):T=0,b++,0==--H[_]){if(_===w)break;_=t[n+a[b]]}if(_>k&&(T&u)!==d){for(0===C&&(C=k),h+=y,z=1<<(x=_-C);x+C<w&&!((z-=H[x+C])<=0);)x++,z<<=1;if(S+=1<<x,1===e&&S>852||2===e&&S>592)return 1;o[d=T&u]=k<<24|x<<16|h-r}}return 0!==T&&(o[h+T]=_-C<<24|64<<16),s.bits=k,0}var on=-2,rn=12,an=30;function sn(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ln(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=Ot(320),this.work=Ot(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function cn(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=Lt(852),t.distcode=t.distdyn=Lt(592),t.sane=1,t.back=-1,0):on}(e)):on}function dn(e,t){var n,i;return e?(i=new ln,e.state=i,i.window=null,n=function(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?on:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,cn(e))):on}(e,t),0!==n&&(e.state=null),n):on}var un,hn,pn=!0;function fn(e){if(pn){var t;for(un=Lt(512),hn=Lt(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(nn(1,e.lens,0,288,un,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;nn(2,e.lens,0,32,hn,0,e.work,{bits:5}),pn=!1}e.lencode=un,e.lenbits=9,e.distcode=hn,e.distbits=5}function mn(e,t,n,i){var o,r=e.state;return null===r.window&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=Ft(r.wsize)),i>=r.wsize?(Pt(r.window,t,n-r.wsize,r.wsize,0),r.wnext=0,r.whave=r.wsize):((o=r.wsize-r.wnext)>i&&(o=i),Pt(r.window,t,n-i,o,r.wnext),(i-=o)?(Pt(r.window,t,n-i,i,0),r.wnext=i,r.whave=r.wsize):(r.wnext+=o,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=o))),0}function vn(e,t){var n,i,o,r,a,s,l,c,d,u,h,p,f,m,v,g,_,b,y,w,k,x,C,z,S=0,T=Ft(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return on;(n=e.state).mode===rn&&(n.mode=13),a=e.next_out,o=e.output,l=e.avail_out,r=e.next_in,i=e.input,s=e.avail_in,c=n.hold,d=n.bits,u=s,h=l,x=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;d<16;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(2&n.wrap&&35615===c){n.check=0,T[0]=255&c,T[1]=c>>>8&255,n.check=Yt(n.check,T,2,0),c=0,d=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=an;break}if(8!=(15&c)){e.msg="unknown compression method",n.mode=an;break}if(d-=4,k=8+(15&(c>>>=4)),0===n.wbits)n.wbits=k;else if(k>n.wbits){e.msg="invalid window size",n.mode=an;break}n.dmax=1<<k,e.adler=n.check=1,n.mode=512&c?10:rn,c=0,d=0;break;case 2:for(;d<16;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(n.flags=c,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=an;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=an;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&(T[0]=255&c,T[1]=c>>>8&255,n.check=Yt(n.check,T,2,0)),c=0,d=0,n.mode=3;case 3:for(;d<32;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}n.head&&(n.head.time=c),512&n.flags&&(T[0]=255&c,T[1]=c>>>8&255,T[2]=c>>>16&255,T[3]=c>>>24&255,n.check=Yt(n.check,T,4,0)),c=0,d=0,n.mode=4;case 4:for(;d<16;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(T[0]=255&c,T[1]=c>>>8&255,n.check=Yt(n.check,T,2,0)),c=0,d=0,n.mode=5;case 5:if(1024&n.flags){for(;d<16;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(T[0]=255&c,T[1]=c>>>8&255,n.check=Yt(n.check,T,2,0)),c=0,d=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((p=n.length)>s&&(p=s),p&&(n.head&&(k=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Pt(n.head.extra,i,r,p,k)),512&n.flags&&(n.check=Yt(n.check,i,p,r)),s-=p,r+=p,n.length-=p),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;p=0;do{k=i[r+p++],n.head&&k&&n.length<65536&&(n.head.name+=String.fromCharCode(k))}while(k&&p<s);if(512&n.flags&&(n.check=Yt(n.check,i,p,r)),s-=p,r+=p,k)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;p=0;do{k=i[r+p++],n.head&&k&&n.length<65536&&(n.head.comment+=String.fromCharCode(k))}while(k&&p<s);if(512&n.flags&&(n.check=Yt(n.check,i,p,r)),s-=p,r+=p,k)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;d<16;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=an;break}c=0,d=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=rn;break;case 10:for(;d<32;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}e.adler=n.check=sn(c),c=0,d=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=a,e.avail_out=l,e.next_in=r,e.avail_in=s,n.hold=c,n.bits=d,2;e.adler=n.check=1,n.mode=rn;case rn:if(5===t||6===t)break e;case 13:if(n.last){c>>>=7&d,d-=7&d,n.mode=27;break}for(;d<3;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}switch(n.last=1&c,d-=1,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(fn(n),n.mode=20,6===t){c>>>=2,d-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=an}c>>>=2,d-=2;break;case 14:for(c>>>=7&d,d-=7&d;d<32;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=an;break}if(n.length=65535&c,c=0,d=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(p=n.length){if(p>s&&(p=s),p>l&&(p=l),0===p)break e;Pt(o,i,r,p,a),s-=p,r+=p,l-=p,a+=p,n.length-=p;break}n.mode=rn;break;case 17:for(;d<14;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(n.nlen=257+(31&c),c>>>=5,d-=5,n.ndist=1+(31&c),c>>>=5,d-=5,n.ncode=4+(15&c),c>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=an;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;d<3;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}n.lens[M[n.have++]]=7&c,c>>>=3,d-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,C={bits:n.lenbits},x=nn(0,n.lens,0,19,n.lencode,0,n.work,C),n.lenbits=C.bits,x){e.msg="invalid code lengths set",n.mode=an;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;g=(S=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,_=65535&S,!((v=S>>>24)<=d);){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(_<16)c>>>=v,d-=v,n.lens[n.have++]=_;else{if(16===_){for(z=v+2;d<z;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(c>>>=v,d-=v,0===n.have){e.msg="invalid bit length repeat",n.mode=an;break}k=n.lens[n.have-1],p=3+(3&c),c>>>=2,d-=2}else if(17===_){for(z=v+3;d<z;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}d-=v,k=0,p=3+(7&(c>>>=v)),c>>>=3,d-=3}else{for(z=v+7;d<z;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}d-=v,k=0,p=11+(127&(c>>>=v)),c>>>=7,d-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=an;break}for(;p--;)n.lens[n.have++]=k}}if(n.mode===an)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=an;break}if(n.lenbits=9,C={bits:n.lenbits},x=nn(1,n.lens,0,n.nlen,n.lencode,0,n.work,C),n.lenbits=C.bits,x){e.msg="invalid literal/lengths set",n.mode=an;break}if(n.distbits=6,n.distcode=n.distdyn,C={bits:n.distbits},x=nn(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,C),n.distbits=C.bits,x){e.msg="invalid distances set",n.mode=an;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=r,e.avail_in=s,n.hold=c,n.bits=d,Qt(e,h),a=e.next_out,o=e.output,l=e.avail_out,r=e.next_in,i=e.input,s=e.avail_in,c=n.hold,d=n.bits,n.mode===rn&&(n.back=-1);break}for(n.back=0;g=(S=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,_=65535&S,!((v=S>>>24)<=d);){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(g&&!(240&g)){for(b=v,y=g,w=_;g=(S=n.lencode[w+((c&(1<<b+y)-1)>>b)])>>>16&255,_=65535&S,!(b+(v=S>>>24)<=d);){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}c>>>=b,d-=b,n.back+=b}if(c>>>=v,d-=v,n.back+=v,n.length=_,0===g){n.mode=26;break}if(32&g){n.back=-1,n.mode=rn;break}if(64&g){e.msg="invalid literal/length code",n.mode=an;break}n.extra=15&g,n.mode=22;case 22:if(n.extra){for(z=n.extra;d<z;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;g=(S=n.distcode[c&(1<<n.distbits)-1])>>>16&255,_=65535&S,!((v=S>>>24)<=d);){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(!(240&g)){for(b=v,y=g,w=_;g=(S=n.distcode[w+((c&(1<<b+y)-1)>>b)])>>>16&255,_=65535&S,!(b+(v=S>>>24)<=d);){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}c>>>=b,d-=b,n.back+=b}if(c>>>=v,d-=v,n.back+=v,64&g){e.msg="invalid distance code",n.mode=an;break}n.offset=_,n.extra=15&g,n.mode=24;case 24:if(n.extra){for(z=n.extra;d<z;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=an;break}n.mode=25;case 25:if(0===l)break e;if(p=h-l,n.offset>p){if((p=n.offset-p)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=an;break}p>n.wnext?(p-=n.wnext,f=n.wsize-p):f=n.wnext-p,p>n.length&&(p=n.length),m=n.window}else m=o,f=a-n.offset,p=n.length;p>l&&(p=l),l-=p,n.length-=p;do{o[a++]=m[f++]}while(--p);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;o[a++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;d<32;){if(0===s)break e;s--,c|=i[r++]<<d,d+=8}if(h-=l,e.total_out+=h,n.total+=h,h&&(e.adler=n.check=n.flags?Yt(n.check,o,h,a-h):Gt(n.check,o,h,a-h)),h=l,(n.flags?c:sn(c))!==n.check){e.msg="incorrect data check",n.mode=an;break}c=0,d=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;d<32;){if(0===s)break e;s--,c+=i[r++]<<d,d+=8}if(c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=an;break}c=0,d=0}n.mode=29;case 29:x=1;break e;case an:x=-3;break e;case 31:return-4;default:return on}return e.next_out=a,e.avail_out=l,e.next_in=r,e.avail_in=s,n.hold=c,n.bits=d,(n.wsize||h!==e.avail_out&&n.mode<an&&(n.mode<27||4!==t))&&mn(e,e.output,e.next_out,h-e.avail_out),u-=e.avail_in,h-=e.avail_out,e.total_in+=u,e.total_out+=h,n.total+=h,n.wrap&&h&&(e.adler=n.check=n.flags?Yt(n.check,o,h,e.next_out-h):Gt(n.check,o,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(n.mode===rn?128:0)+(20===n.mode||15===n.mode?256:0),(0===u&&0===h||4===t)&&0===x&&(x=-5),x}function gn(e,t){var n,i=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?on:11===n.mode&&Gt(1,t,i,0)!==n.check?-3:mn(e,t,i,i)?(n.mode=31,-4):(n.havedict=1,0):on}var _n={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function bn(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function yn(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var wn=Object.prototype.toString,kn=function e(t){if(!(this instanceof e))return new e(t);this.options=Ht({chunkSize:16384,windowBits:0,to:""},t||{});var n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,0===n.windowBits&&(n.windowBits=-15)),!(n.windowBits>=0&&n.windowBits<16)||t&&t.windowBits||(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(15&n.windowBits||(n.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new bn,this.strm.avail_out=0;var i,o,r,a=dn(this.strm,n.windowBits);if(0!==a)throw new Error(_n[a]);if(this.header=new yn,i=this.strm,o=this.header,i&&i.state&&2&(r=i.state).wrap&&(r.head=o,o.done=!1),n.dictionary&&("string"==typeof n.dictionary?n.dictionary=jt(n.dictionary):"[object ArrayBuffer]"===wn.call(n.dictionary)&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&0!==(a=gn(this.strm,n.dictionary))))throw new Error(_n[a])};kn.prototype.push=function(e,t){var n,i,o,r,a,s,l=this.strm,c=this.options.chunkSize,d=this.options.dictionary,u=!1;if(this.ended)return!1;i=t===~~t?t:!0===t?4:0,"string"==typeof e?l.input=function(e){for(var t=new Uint8Array(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t}(e):"[object ArrayBuffer]"===wn.call(e)?l.input=new Uint8Array(e):l.input=e,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=Ft(c),l.next_out=0,l.avail_out=c),2===(n=vn(l,0))&&d&&(s="string"==typeof d?jt(d):"[object ArrayBuffer]"===wn.call(d)?new Uint8Array(d):d,n=gn(this.strm,s)),-5===n&&!0===u&&(n=0,u=!1),1!==n&&0!==n)return this.onEnd(n),this.ended=!0,!1;l.next_out&&(0!==l.avail_out&&1!==n&&(0!==l.avail_in||4!==i&&2!==i)||("string"===this.options.to?(o=qt(l.output,l.next_out),r=l.next_out-o,a=$t(l.output,o),l.next_out=r,l.avail_out=c-r,r&&Pt(l.output,l.output,o,r,0),this.onData(a)):this.onData(Dt(l.output,l.next_out)))),0===l.avail_in&&0===l.avail_out&&(u=!0)}while((l.avail_in>0||0===l.avail_out)&&1!==n);return 1===n&&(i=4),4===i?(n=function(e){if(!e||!e.state)return on;var t=e.state;return t.window&&(t.window=null),e.state=null,0}(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==i||(this.onEnd(0),l.avail_out=0,!0)},kn.prototype.onData=function(e){this.chunks.push(e)},kn.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Bt(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function xn(e){for(var t=e.length;--t>=0;)e[t]=0}var Cn,zn,Sn,Tn,Mn,In,Hn,Dn,En,An=256,Vn=286,Pn=30,Bn=15,Fn=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],On=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ln=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Rn=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function Nn(e,t,n,i,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=o,this.has_stree=e&&e.length}function Un(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function jn(e){return e<256?Sn[e]:Sn[256+(e>>>7)]}function Wn(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function $n(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,Wn(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function qn(e,t,n){$n(e,n[2*t],n[2*t+1])}function Gn(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function Kn(e,t,n){var i,o,r=new Array(16),a=0;for(i=1;i<=Bn;i++)r[i]=a=a+n[i-1]<<1;for(o=0;o<=t;o++){var s=e[2*o+1];0!==s&&(e[2*o]=Gn(r[s]++,s))}}function Yn(e){var t;for(t=0;t<Vn;t++)e.dyn_ltree[2*t]=0;for(t=0;t<Pn;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Qn(e){e.bi_valid>8?Wn(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Xn(e,t,n,i){var o=2*t,r=2*n;return e[o]<e[r]||e[o]===e[r]&&i[t]<=i[n]}function Zn(e,t,n){for(var i=e.heap[n],o=n<<1;o<=e.heap_len&&(o<e.heap_len&&Xn(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!Xn(t,i,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=i}function Jn(e,t,n){var i,o,r,a,s=0;if(0!==e.last_lit)do{i=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],o=e.pending_buf[e.l_buf+s],s++,0===i?qn(e,o,t):(qn(e,(r=Tn[o])+An+1,t),0!==(a=Fn[r])&&$n(e,o-=Mn[r],a),qn(e,r=jn(--i),n),0!==(a=On[r])&&$n(e,i-=In[r],a))}while(s<e.last_lit);qn(e,256,t)}function ei(e,t){var n,i,o,r=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)0!==r[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):r[2*n+1]=0;for(;e.heap_len<2;)r[2*(o=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[o]=0,e.opt_len--,s&&(e.static_len-=a[2*o+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)Zn(e,r,n);o=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Zn(e,r,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,r[2*o]=r[2*n]+r[2*i],e.depth[o]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,r[2*n+1]=r[2*i+1]=o,e.heap[1]=o++,Zn(e,r,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,o,r,a,s,l=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,u=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(r=0;r<=Bn;r++)e.bl_count[r]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(r=l[2*l[2*(i=e.heap[n])+1]+1]+1)>f&&(r=f,m++),l[2*i+1]=r,i>c||(e.bl_count[r]++,a=0,i>=p&&(a=h[i-p]),s=l[2*i],e.opt_len+=s*(r+a),u&&(e.static_len+=s*(d[2*i+1]+a)));if(0!==m){do{for(r=f-1;0===e.bl_count[r];)r--;e.bl_count[r]--,e.bl_count[r+1]+=2,e.bl_count[f]--,m-=2}while(m>0);for(r=f;0!==r;r--)for(i=e.bl_count[r];0!==i;)(o=e.heap[--n])>c||(l[2*o+1]!==r&&(e.opt_len+=(r-l[2*o+1])*l[2*o],l[2*o+1]=r),i--)}}(e,t),Kn(r,c,e.bl_count)}function ti(e,t,n){var i,o,r=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,i=0;i<=n;i++)o=a,a=t[2*(i+1)+1],++s<l&&o===a||(s<c?e.bl_tree[2*o]+=s:0!==o?(o!==r&&e.bl_tree[2*o]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,r=o,0===a?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4))}function ni(e,t,n){var i,o,r=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),i=0;i<=n;i++)if(o=a,a=t[2*(i+1)+1],!(++s<l&&o===a)){if(s<c)do{qn(e,o,e.bl_tree)}while(0!=--s);else 0!==o?(o!==r&&(qn(e,o,e.bl_tree),s--),qn(e,16,e.bl_tree),$n(e,s-3,2)):s<=10?(qn(e,17,e.bl_tree),$n(e,s-3,3)):(qn(e,18,e.bl_tree),$n(e,s-11,7));s=0,r=o,0===a?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4)}}var ii=!1;function oi(e){ii||(!function(){var e,t,n,i,o,r=new Array(16);for(xn(Cn=new Array(576)),xn(zn=new Array(60)),xn(Sn=new Array(512)),xn(Tn=new Array(256)),xn(Mn=new Array(29)),xn(In=new Array(Pn)),n=0,i=0;i<28;i++)for(Mn[i]=n,e=0;e<1<<Fn[i];e++)Tn[n++]=i;for(Tn[n-1]=i,o=0,i=0;i<16;i++)for(In[i]=o,e=0;e<1<<On[i];e++)Sn[o++]=i;for(o>>=7;i<Pn;i++)for(In[i]=o<<7,e=0;e<1<<On[i]-7;e++)Sn[256+o++]=i;for(t=0;t<=Bn;t++)r[t]=0;for(e=0;e<=143;)Cn[2*e+1]=8,e++,r[8]++;for(;e<=255;)Cn[2*e+1]=9,e++,r[9]++;for(;e<=279;)Cn[2*e+1]=7,e++,r[7]++;for(;e<=287;)Cn[2*e+1]=8,e++,r[8]++;for(Kn(Cn,287,r),e=0;e<Pn;e++)zn[2*e+1]=5,zn[2*e]=Gn(e,5);Hn=new Nn(Cn,Fn,257,Vn,Bn),Dn=new Nn(zn,On,0,Pn,Bn),En=new Nn(new Array(0),Ln,0,19,7)}(),ii=!0),e.l_desc=new Un(e.dyn_ltree,Hn),e.d_desc=new Un(e.dyn_dtree,Dn),e.bl_desc=new Un(e.bl_tree,En),e.bi_buf=0,e.bi_valid=0,Yn(e)}function ri(e,t,n,i){$n(e,0+(i?1:0),3),function(e,t,n,i){Qn(e),i&&(Wn(e,n),Wn(e,~n)),Pt(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}function ai(e){$n(e,2,3),qn(e,256,Cn),function(e){16===e.bi_valid?(Wn(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}function si(e,t,n,i){var o,r,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<An;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),ei(e,e.l_desc),ei(e,e.d_desc),a=function(e){var t;for(ti(e,e.dyn_ltree,e.l_desc.max_code),ti(e,e.dyn_dtree,e.d_desc.max_code),ei(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*Rn[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(r=e.static_len+3+7>>>3)<=o&&(o=r)):o=r=n+5,n+4<=o&&-1!==t?ri(e,t,n,i):4===e.strategy||r===o?($n(e,2+(i?1:0),3),Jn(e,Cn,zn)):($n(e,4+(i?1:0),3),function(e,t,n,i){var o;for($n(e,t-257,5),$n(e,n-1,5),$n(e,i-4,4),o=0;o<i;o++)$n(e,e.bl_tree[2*Rn[o]+1],3);ni(e,e.dyn_ltree,t-1),ni(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Jn(e,e.dyn_ltree,e.dyn_dtree)),Yn(e),i&&Qn(e)}function li(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(Tn[n]+An+1)]++,e.dyn_dtree[2*jn(t)]++),e.last_lit===e.lit_bufsize-1}var ci=258,di=262,ui=103,hi=113,pi=666;function fi(e,t){return e.msg=_n[t],t}function mi(e){return(e<<1)-(e>4?9:0)}function vi(e){for(var t=e.length;--t>=0;)e[t]=0}function gi(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(Pt(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function _i(e,t){si(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,gi(e.strm)}function bi(e,t){e.pending_buf[e.pending++]=t}function yi(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function wi(e,t){var n,i,o=e.max_chain_length,r=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-di?e.strstart-(e.w_size-di):0,c=e.window,d=e.w_mask,u=e.prev,h=e.strstart+ci,p=c[r+a-1],f=c[r+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===f&&c[n+a-1]===p&&c[n]===c[r]&&c[++n]===c[r+1]){r+=2,n++;do{}while(c[++r]===c[++n]&&c[++r]===c[++n]&&c[++r]===c[++n]&&c[++r]===c[++n]&&c[++r]===c[++n]&&c[++r]===c[++n]&&c[++r]===c[++n]&&c[++r]===c[++n]&&r<h);if(i=ci-(h-r),r=h-ci,i>a){if(e.match_start=t,a=i,i>=s)break;p=c[r+a-1],f=c[r+a]}}}while((t=u[t&d])>l&&0!=--o);return a<=e.lookahead?a:e.lookahead}function ki(e){var t,n,i,o,r,a,s,l,c,d,u=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=u+(u-di)){Pt(e.window,e.window,u,u,0),e.match_start-=u,e.strstart-=u,e.block_start-=u,t=n=e.hash_size;do{i=e.head[--t],e.head[t]=i>=u?i-u:0}while(--n);t=n=u;do{i=e.prev[--t],e.prev[t]=i>=u?i-u:0}while(--n);o+=u}if(0===e.strm.avail_in)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,c=o,d=void 0,(d=a.avail_in)>c&&(d=c),n=0===d?0:(a.avail_in-=d,Pt(s,a.input,a.next_in,d,l),1===a.state.wrap?a.adler=Gt(a.adler,s,d,l):2===a.state.wrap&&(a.adler=Yt(a.adler,s,d,l)),a.next_in+=d,a.total_in+=d,d),e.lookahead+=n,e.lookahead+e.insert>=3)for(r=e.strstart-e.insert,e.ins_h=e.window[r],e.ins_h=(e.ins_h<<e.hash_shift^e.window[r+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[r+3-1])&e.hash_mask,e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<di&&0!==e.strm.avail_in)}function xi(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ki(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,_i(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-di&&(_i(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_i(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(_i(e,!1),e.strm.avail_out),1)}function Ci(e,t){for(var n,i;;){if(e.lookahead<di){if(ki(e),e.lookahead<di&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-di&&(e.match_length=wi(e,n)),e.match_length>=3)if(i=li(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=li(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(_i(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(_i(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_i(e,!1),0===e.strm.avail_out)?1:2}function zi(e,t){for(var n,i,o;;){if(e.lookahead<di){if(ki(e),e.lookahead<di&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-di&&(e.match_length=wi(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,i=li(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,i&&(_i(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((i=li(e,0,e.window[e.strstart-1]))&&_i(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=li(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(_i(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_i(e,!1),0===e.strm.avail_out)?1:2}function Si(e,t,n,i,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=o}var Ti=function(){var e=[new Si(0,0,0,0,xi),new Si(4,4,8,4,Ci),new Si(4,5,16,8,Ci),new Si(4,6,32,32,Ci),new Si(4,4,16,16,zi),new Si(8,16,32,32,zi),new Si(8,16,128,128,zi),new Si(8,32,128,256,zi),new Si(32,128,258,1024,zi),new Si(32,258,258,4096,zi)];return Ti=function(){return e},e};function Mi(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=Ot(1146),this.dyn_dtree=Ot(122),this.bl_tree=Ot(78),vi(this.dyn_ltree),vi(this.dyn_dtree),vi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=Ot(16),this.heap=Ot(573),vi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=Ot(573),vi(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ii(e){var t=function(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:hi,e.adler=2===t.wrap?0:1,t.last_flush=0,oi(t),0):fi(e,Mt)}(e);return 0===t&&function(e){e.window_size=2*e.w_size,vi(e.head);var t=Ti();e.max_lazy_match=t[e.level].max_lazy,e.good_match=t[e.level].good_length,e.nice_match=t[e.level].nice_length,e.max_chain_length=t[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0}(e.state),t}function Hi(e,t){var n,i,o,r;if(!e||!e.state||t>5||t<0)return e?fi(e,Mt):Mt;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===pi&&4!==t)return fi(e,0===e.avail_out?-5:Mt);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,bi(i,31),bi(i,139),bi(i,8),i.gzhead?(bi(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),bi(i,255&i.gzhead.time),bi(i,i.gzhead.time>>8&255),bi(i,i.gzhead.time>>16&255),bi(i,i.gzhead.time>>24&255),bi(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),bi(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(bi(i,255&i.gzhead.extra.length),bi(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Yt(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(bi(i,0),bi(i,0),bi(i,0),bi(i,0),bi(i,0),bi(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),bi(i,3),i.status=hi);else{var a=8+(i.w_bits-8<<4)<<8;a|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=32),a+=31-a%31,i.status=hi,yi(i,a),0!==i.strstart&&(yi(i,e.adler>>>16),yi(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=Yt(e.adler,i.pending_buf,i.pending-o,o)),gi(e),o=i.pending,i.pending!==i.pending_buf_size));)bi(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=Yt(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=Yt(e.adler,i.pending_buf,i.pending-o,o)),gi(e),o=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,bi(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>o&&(e.adler=Yt(e.adler,i.pending_buf,i.pending-o,o)),0===r&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=Yt(e.adler,i.pending_buf,i.pending-o,o)),gi(e),o=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,bi(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>o&&(e.adler=Yt(e.adler,i.pending_buf,i.pending-o,o)),0===r&&(i.status=ui)}else i.status=ui;if(i.status===ui&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&gi(e),i.pending+2<=i.pending_buf_size&&(bi(i,255&e.adler),bi(i,e.adler>>8&255),e.adler=0,i.status=hi)):i.status=hi),0!==i.pending){if(gi(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&mi(t)<=mi(n)&&4!==t)return fi(e,-5);if(i.status===pi&&0!==e.avail_in)return fi(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&i.status!==pi){var s=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(ki(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=li(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(_i(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_i(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_i(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,i,o,r,a=e.window;;){if(e.lookahead<=ci){if(ki(e),e.lookahead<=ci&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(i=a[o=e.strstart-1])===a[++o]&&i===a[++o]&&i===a[++o]){r=e.strstart+ci;do{}while(i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&i===a[++o]&&o<r);e.match_length=ci-(r-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=li(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=li(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(_i(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_i(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_i(e,!1),0===e.strm.avail_out)?1:2}(i,t):Ti()[i.level].func(i,t);if(3!==s&&4!==s||(i.status=pi),1===s||3===s)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===s&&(1===t?ai(i):5!==t&&(ri(i,0,0,!1),3===t&&(vi(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),gi(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(bi(i,255&e.adler),bi(i,e.adler>>8&255),bi(i,e.adler>>16&255),bi(i,e.adler>>24&255),bi(i,255&e.total_in),bi(i,e.total_in>>8&255),bi(i,e.total_in>>16&255),bi(i,e.total_in>>24&255)):(yi(i,e.adler>>>16),yi(i,65535&e.adler)),gi(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)}var Di=Object.prototype.toString,Ei=function(e){this.options=Ht({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new bn,this.strm.avail_out=0;var n,i,o=function(e,t,n,i,o,r){if(!e)return Mt;var a=1;if(-1===t&&(t=6),i<0?(a=0,i=-i):i>15&&(a=2,i-=16),o<1||o>9||8!==n||i<8||i>15||t<0||t>9||r<0||r>4)return fi(e,Mt);8===i&&(i=9);var s=new Mi;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=o+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=Ft(2*s.w_size),s.head=Ot(s.hash_size),s.prev=Ot(s.w_size),s.lit_bufsize=1<<o+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=Ft(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=r,s.method=n,Ii(e)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==o)throw new Error(_n[o]);if(t.header&&(n=this.strm,i=t.header,n&&n.state&&(2!==n.state.wrap||(n.state.gzhead=i))),t.dictionary){var r;if(r="string"==typeof t.dictionary?jt(t.dictionary):"[object ArrayBuffer]"===Di.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,o=function(e,t){var n,i,o,r,a,s,l,c,d=t.length;if(!e||!e.state)return Mt;if(2===(r=(n=e.state).wrap)||1===r&&42!==n.status||n.lookahead)return Mt;for(1===r&&(e.adler=Gt(e.adler,t,d,0)),n.wrap=0,d>=n.w_size&&(0===r&&(vi(n.head),n.strstart=0,n.block_start=0,n.insert=0),c=Ft(n.w_size),Pt(c,t,d-n.w_size,n.w_size,0),t=c,d=n.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=d,e.next_in=0,e.input=t,ki(n);n.lookahead>=3;){i=n.strstart,o=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+3-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++}while(--o);n.strstart=i,n.lookahead=2,ki(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=s,e.input=l,e.avail_in=a,n.wrap=r,0}(this.strm,r),0!==o)throw new Error(_n[o]);this._dict_set=!0}};function Ai(e,t){var n=new Ei(t);if(n.push(e,!0),n.err)throw n.msg||_n[n.err];return n.result}Ei.prototype.push=function(e,t){var n,i,o,r=this.strm,a=this.options.chunkSize;if(this.ended)return!1;i=t===~~t?t:!0===t?4:0,"string"==typeof e?r.input=jt(e):"[object ArrayBuffer]"===Di.call(e)?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=Ft(a),r.next_out=0,r.avail_out=a),1!==(n=Hi(r,i))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||4!==i&&2!==i)||("string"===this.options.to?this.onData(Wt(o=Dt(r.output,r.next_out),o.length)):this.onData(Dt(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&1!==n);return 4===i?(n=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==ui&&t!==hi&&t!==pi?fi(e,Mt):(e.state=null,t===hi?fi(e,-3):0):Mt}(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==i||(this.onEnd(0),r.avail_out=0,!0)},Ei.prototype.onData=function(e){this.chunks.push(e)},Ei.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Bt(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Vi=function(){},Pi=function(e){function t(){e.call(this),this._events={}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.bind=function(e,t,n){var i=arguments,o=this,r=Fi(e),a=Bi(t),s=r.length;if(void 0===t){for(var l in e)o.bind(l,e[l]);return this}for(var c=function(e){var s=r[e],l=a?t:t[s];if(l){if(n){var c=l;(l=function(){o.unbind(s,l),c.apply(o,i)}).original=c}(o._events[s]=o._events[s]||[]).push(l)}},d=0;d<s;d++)c(d);return this},t.prototype.one=function(e,t){return this.bind(e,t,!0)},t.prototype.first=function(e,t){for(var n=Fi(e),i=Bi(t),o=0,r=n.length;o<r;o++){var a=n[o],s=i?t:t[a];if(s)(this._events[a]=this._events[a]||[]).unshift(s)}return this},t.prototype.trigger=function(e,t){void 0===t&&(t={});var n=this._events[e];if(n){var i=n.length;t.sender=this,t._defaultPrevented=!1,t.preventDefault=Oi,t.isDefaultPrevented=Li,n=n.slice();for(var o=0;o<i;o++)n[o].call(this,t);return!0===t._defaultPrevented}return!1},t.prototype.unbind=function(e,t){var n=this._events[e];if(void 0===e)this._events={};else if(n)if(t)for(var i=n.length-1;i>=0;i--)n[i]!==t&&n[i].original!==t||n.splice(i,1);else this._events[e]=[];return this},t}(Vi);function Bi(e){return"function"==typeof e}function Fi(e){return"string"==typeof e?[e]:e}function Oi(){this._defaultPrevented=!0}function Li(){return!0===this._defaultPrevented}var Ri=function(e){var t="undefined"!=typeof window?window:{},n=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)};Ri=function(e){return n.call(t,e)},Ri(e)},Ni=Ri,Ui=/&/g,ji=/</g,Wi=/"/g,$i=/'/g,qi=/>/g;function Gi(e){return String(e).replace(Ui,"&").replace(ji,"<").replace(qi,">").replace(Wi,""").replace($i,"'")}var Ki=null,Yi={get browser(){return"undefined"==typeof window||Ki||(Ki=function(e){var t={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+))/i},n={};for(var i in t)if(t.hasOwnProperty(i)){var o=e.match(t[i]);if(o){n[i]=!0,n[o[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,n.version=parseInt(document.documentMode||o[2],10);break}}return n}(window.navigator.userAgent)),Ki}};var Qi=Date.now||function(){return(new Date).getTime()};var Xi={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"},Zi=Yi.browser,Ji=function(e){var t=Object.keys(Xi);t.push("transparent");var n=new RegExp("^("+t.join("|")+")(\\W|$)","i");return Ji=function(e){return n.exec(e)},n.exec(e)},eo=function(e){function t(){e.call(this)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toHSV=function(){return this},t.prototype.toRGB=function(){return this},t.prototype.toHex=function(e){return this.toBytes().toHex(e)},t.prototype.toBytes=function(){return this},t.prototype.toCss=function(e){return"#"+this.toHex(e)},t.prototype.toCssRgba=function(){var e=this.toBytes();return"rgba("+e.r+", "+e.g+", "+e.b+", "+parseFloat(Number(this.a).toFixed(3))+")"},t.prototype.toDisplay=function(){return Zi.msie&&Zi.version<9?this.toCss():this.toCssRgba()},t.prototype.equals=function(e){return e===this||null!=e&&this.toCssRgba()===lo(e).toCssRgba()},t.prototype.diff=function(e){if(null===e)return NaN;var t=this.toBytes(),n=e.toBytes();return Math.sqrt(Math.pow(.3*(t.r-n.r),2)+Math.pow(.59*(t.g-n.g),2)+Math.pow(.11*(t.b-n.b),2))},t.prototype.clone=function(){var e=this.toBytes();return e===this&&(e=new no(e.r,e.g,e.b,e.a)),e},t}(Vi),to=function(e){function t(t,n,i,o){e.call(this),this.r=t,this.g=n,this.b=i,this.a=o}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toHSV=function(){var e,t,n=this,i=n.r,o=n.g,r=n.b,a=Math.min(i,o,r),s=Math.max(i,o,r),l=s-a,c=s;return 0===l?new oo(0,0,c,this.a):(0!==s?(t=l/s,e=i===s?(o-r)/l:o===s?2+(r-i)/l:4+(i-o)/l,(e*=60)<0&&(e+=360)):(t=0,e=-1),new oo(e,t,c,this.a))},t.prototype.toHSL=function(){var e,t,n=this,i=n.r,o=n.g,r=n.b,a=Math.max(i,o,r),s=Math.min(i,o,r),l=(a+s)/2;if(a===s)e=t=0;else{var c=a-s;switch(t=l>.5?c/(2-a-s):c/(a+s),a){case i:e=(o-r)/c+(o<r?6:0);break;case o:e=(r-i)/c+2;break;case r:e=(i-o)/c+4}}return new ro(60*e,100*t,100*l,this.a)},t.prototype.toBytes=function(){return new no(255*this.r,255*this.g,255*this.b,this.a)},t}(eo),no=function(e){function t(t,n,i,o){e.call(this,Math.round(t),Math.round(n),Math.round(i),o)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toRGB=function(){return new e(this.r/255,this.g/255,this.b/255,this.a)},t.prototype.toHSV=function(){return this.toRGB().toHSV()},t.prototype.toHSL=function(){return this.toRGB().toHSL()},t.prototype.toHex=function(e){var t=io(this.r,2)+io(this.g,2)+io(this.b,2);return e&&e.alpha&&(t+=io(Math.round(255*this.a),2)),t},t.prototype.toBytes=function(){return this},t}(to);function io(e,t,n){void 0===n&&(n="0");for(var i=e.toString(16);t>i.length;)i=n+i;return i}var oo=function(e){function t(t,n,i,o){e.call(this),this.h=t,this.s=n,this.v=i,this.a=o}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toRGB=function(){var e,t,n,i=this,o=i.h,r=i.s,a=i.v;if(0===r)e=t=n=a;else{o/=60;var s=Math.floor(o),l=o-s,c=a*(1-r),d=a*(1-r*l),u=a*(1-r*(1-l));switch(s){case 0:e=a,t=u,n=c;break;case 1:e=d,t=a,n=c;break;case 2:e=c,t=a,n=u;break;case 3:e=c,t=d,n=a;break;case 4:e=u,t=c,n=a;break;default:e=a,t=c,n=d}}return new to(e,t,n,this.a)},t.prototype.toHSL=function(){return this.toRGB().toHSL()},t.prototype.toBytes=function(){return this.toRGB().toBytes()},t}(eo),ro=function(e){function t(t,n,i,o){e.call(this),this.h=t,this.s=n,this.l=i,this.a=o}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toRGB=function(){var e,t,n,i=this.h/360,o=this.s/100,r=this.l/100;if(0===o)e=t=n=r;else{var a=r<.5?r*(1+o):r+o-r*o,s=2*r-a;e=ao(s,a,i+1/3),t=ao(s,a,i),n=ao(s,a,i-1/3)}return new to(e,t,n,this.a)},t.prototype.toHSV=function(){return this.toRGB().toHSV()},t.prototype.toBytes=function(){return this.toRGB().toBytes()},t}(eo);function ao(e,t,n){var i=n;return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function so(e){return parseFloat(parseFloat(parseInt(e,16)/255).toFixed(3))}function lo(e,t){var n,i;if(!e||"none"===e)return null;if(e instanceof eo)return e;var o=e.toLowerCase();if(n=Ji(o))return(o="transparent"===n[1]?new to(1,1,1,0):lo(Xi[n[1]],t)).match=[n[1]],o;if((n=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(o))?i=new no(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(o))?i=new no(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(o))?i=new no(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16),so(n[4]+n[4])):(n=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(o))?i=new no(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16),so(n[4])):(n=/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/.exec(o))?i=new no(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(o))?i=new no(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(o))?i=new to(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(o))?i=new to(parseFloat(n[1])/100,parseFloat(n[2])/100,parseFloat(n[3])/100,parseFloat(n[4])):(n=/^color\(\s*srgb\s*([0-9]*\.?[0-9]+)\s+([0-9]*\.?[0-9]+)\s+([0-9]*\.?[0-9]+)\s*(\/\s+([0-9]*\.?[0-9]+))?\)/.exec(o))&&(i=new to(parseFloat(n[1]),parseFloat(n[2]),parseFloat(n[3]),parseFloat(n[5]||"1"))),i)i.match=n;else if(!t)throw new Error("Cannot parse color: "+o);return i}var co=function(e){function t(n){var i=this;if(e.call(this),1===arguments.length)for(var o=t.formats,r=this.resolveColor(n),a=0;a<o.length;a++){var s=o[a].re,l=o[a].process,c=s.exec(r);if(c){var d=l(c);i.r=d[0],i.g=d[1],i.b=d[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)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toHex=function(){var e=this.padDigit,t=this.r.toString(16),n=this.g.toString(16),i=this.b.toString(16);return"#"+e(t)+e(n)+e(i)},t.prototype.resolveColor=function(e){var n=e||"black";return"#"===n.charAt(0)&&(n=n.substr(1,6)),n=(n=n.replace(/ /g,"")).toLowerCase(),n=t.namedColors[n]||n},t.prototype.normalizeByte=function(e){return e<0||isNaN(e)?0:e>255?255:e},t.prototype.padDigit=function(e){return 1===e.length?"0"+e:e},t.prototype.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},t.prototype.percBrightness=function(){return Math.sqrt(.241*this.r*this.r+.691*this.g*this.g+.068*this.b*this.b)},t.prototype.isDark=function(){return this.percBrightness()<180},t.fromBytes=function(e,t,n,i){return new no(e,t,n,null!=i?i:1)},t.fromRGB=function(e,t,n,i){return new to(e,t,n,null!=i?i:1)},t.fromHSV=function(e,t,n,i){return new oo(e,t,n,null!=i?i:1)},t.fromHSL=function(e,t,n,i){return new ro(e,t,n,null!=i?i:1)},t}(Vi);co.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)]}}],co.namedColors=Xi;var uo=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.observers=function(){return this._observers=this._observers||[],this._observers},t.prototype.addObserver=function(e){return this._observers?this._observers.push(e):this._observers=[e],this},t.prototype.removeObserver=function(e){var t=this.observers(),n=t.indexOf(e);return-1!==n&&t.splice(n,1),this},t.prototype.trigger=function(e,t){var n=this._observers;if(n&&!this._suspended)for(var i=0;i<n.length;i++){var o=n[i];o[e]&&o[e](t)}return this},t.prototype.optionsChange=function(e){void 0===e&&(e={}),e.element=this,this.trigger("optionsChange",e)},t.prototype.geometryChange=function(){this.trigger("geometryChange",{element:this})},t.prototype.suspend=function(){return this._suspended=(this._suspended||0)+1,this},t.prototype.resume=function(){return this._suspended=Math.max((this._suspended||0)-1,0),this},t.prototype._observerField=function(e,t){this[e]&&this[e].removeObserver(this),this[e]=t,t.addObserver(this)},t}(Vi);function ho(e,t){return e.push.apply(e,t),e}function po(){var e,t,n=new Promise((function(i,o){e=function(e){return n._state="resolved",i(e),n},t=function(e){return n._state="rejected",o(e),n}}));return n._state="pending",n.resolve=e,n.reject=t,n.state=function(){return n._state},n}function fo(e){return void 0!==e}var mo=1;function vo(){return"kdef"+mo++}var go=Math.PI/180,_o=Number.MAX_VALUE,bo=-Number.MAX_VALUE;function yo(e){return e/go}var wo=String.fromCharCode;function ko(e){return wo(e>>8)+wo(255&e)}var xo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Co(e){for(var t="",n=0,i=function(e){for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);if(55296<=i&&i<=56319){var o=i,r=e.charCodeAt(++n);isNaN(r)||(i=1024*(o-55296)+(r-56320)+65536)}i<128?t+=wo(i):i<2048?(t+=wo(192|i>>>6),t+=wo(128|63&i)):i<65536?(t+=wo(224|i>>>12),t+=wo(128|i>>>6&63),t+=wo(128|63&i)):i<1114111&&(t+=wo(240|i>>>18),t+=wo(128|i>>>12&63),t+=wo(128|i>>>6&63),t+=wo(128|63&i))}return t}(e);n<i.length;){var o=i.charCodeAt(n++),r=i.charCodeAt(n++),a=i.charCodeAt(n++),s=o>>2,l=(3&o)<<4|r>>4,c=(15&r)<<2|a>>6,d=63&a;isNaN(r)?c=d=64:isNaN(a)&&(d=64),t=t+xo.charAt(s)+xo.charAt(l)+xo.charAt(c)+xo.charAt(d)}return t}function zo(e){return fo((e.x||{}).location)?{x:e.x.location,y:e.y.location}:{x:e.pageX||e.clientX||0,y:e.pageY||e.clientY||0}}function So(e){return void 0===e&&(e={}),e.touch?e.touch.initialTouch:e.target}function To(e){return""===e||null===e||"none"===e||"transparent"===e||!fo(e)}function Mo(e){if(e)return e[e.length-1]}function Io(e,t,n){return Math.max(Math.min(e,n),t)}function Ho(e){return Promise.all(e)}function Do(e){return e*go}function Eo(e,t){var n,i=(n=t)?Math.pow(10,n):1;return Math.round(e*i)/i}function Ao(e,t){return fo(e)?e:t}function Vo(e,t){for(var n in t)for(var i=n.trim().split(" "),o=0;o<i.length;o++)e.addEventListener(i[o],t[n],!1)}function Po(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||0),left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}}function Bo(e,t){for(var n={},i=window.getComputedStyle(e)||{},o=Array.isArray(t)?t:[t],r=0;r<o.length;r++){var a=o[r];n[a]=i[a]}return n}function Fo(e){return isNaN(e)?e:e+"px"}function Oo(e,t){if(!t){var n=Bo(e,["width","height"]);return{width:parseInt(n.width,10),height:parseInt(n.height,10)}}var i=t.width,o=t.height;fo(i)&&(e.style.width=Fo(i)),fo(o)&&(e.style.height=Fo(o))}function Lo(e,t){for(var n in void 0===t&&(t={}),t)for(var i=n.trim().split(" "),o=0;o<i.length;o++)e.removeEventListener(i[o],t[n],!1)}function Ro(e){var t=Bo(e,["paddingLeft","paddingTop"]),n=t.paddingLeft,i=t.paddingTop;return{top:parseFloat(i),left:parseFloat(n)}}var No=function(e){function t(t,n,i,o,r,a){void 0===t&&(t=0),void 0===n&&(n=0),void 0===i&&(i=0),void 0===o&&(o=0),void 0===r&&(r=0),void 0===a&&(a=0),e.call(this),this.a=t,this.b=n,this.c=i,this.d=o,this.e=r,this.f=a}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.multiplyCopy=function(e){return new t(this.a*e.a+this.c*e.b,this.b*e.a+this.d*e.b,this.a*e.c+this.c*e.d,this.b*e.c+this.d*e.d,this.a*e.e+this.c*e.f+this.e,this.b*e.e+this.d*e.f+this.f)},t.prototype.invert=function(){var e=this,n=e.a,i=e.b,o=e.c,r=e.d,a=e.e,s=e.f,l=n*r-i*o;return 0===l?null:new t(r/l,-i/l,-o/l,n/l,(o*s-r*a)/l,(i*a-n*s)/l)},t.prototype.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},t.prototype.equals=function(e){return!!e&&(this.a===e.a&&this.b===e.b&&this.c===e.c&&this.d===e.d&&this.e===e.e&&this.f===e.f)},t.prototype.round=function(e){return this.a=Eo(this.a,e),this.b=Eo(this.b,e),this.c=Eo(this.c,e),this.d=Eo(this.d,e),this.e=Eo(this.e,e),this.f=Eo(this.f,e),this},t.prototype.toArray=function(e){var t=[this.a,this.b,this.c,this.d,this.e,this.f];if(fo(e))for(var n=0;n<t.length;n++)t[n]=Eo(t[n],e);return t},t.prototype.toString=function(e,t){return void 0===t&&(t=","),this.toArray(e).join(t)},t.translate=function(e,n){return new t(1,0,0,1,e,n)},t.unit=function(){return new t(1,0,0,1,0,0)},t.rotate=function(e,n,i){var o=new t;return o.a=Math.cos(Do(e)),o.b=Math.sin(Do(e)),o.c=-o.b,o.d=o.a,o.e=n-n*o.a+i*o.b||0,o.f=i-i*o.a-n*o.b||0,o},t.scale=function(e,n){return new t(e,0,0,n,0,0)},t}(Vi);No.IDENTITY=No.unit();var Uo=/matrix\((.*)\)/;function jo(e){var t=getComputedStyle(e).transform;return"none"===t?No.unit():function(e){var t=e.match(Uo);if(null===t||2!==t.length)return No.unit();var n=t[1].split(",").map((function(e){return parseFloat(e)}));return new(Function.prototype.bind.apply(No,[null].concat(n)))}(t)}function Wo(e){if(!e)return No.unit();for(var t=jo(e),n=e.parentElement;n;){var i=jo(n);t=t.multiplyCopy(i),n=n.parentElement}return t.b=t.c=t.e=t.f=0,t}var $o=function(e){function t(t){e.call(this),this._size=t,this._length=0,this._map={}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.put=function(e,t){var n=this._map,i={key:e,value:t};n[e]=i,this._head?(this._tail.newer=i,i.older=this._tail,this._tail=i):this._head=this._tail=i,this._length>=this._size?(n[this._head.key]=null,this._head=this._head.newer,this._head.older=null):this._length++},t.prototype.get=function(e){var t=this._map[e];if(t)return t===this._head&&t!==this._tail&&(this._head=t.newer,this._head.older=null),t!==this._tail&&(t.older&&(t.older.newer=t.newer,t.newer.older=t.older),t.older=this._tail,t.newer=null,this._tail.newer=t,this._tail=t),t.value},t}(Vi),qo=/\r?\n|\r|\t/g;function Go(e){return String(e).replace(qo," ")}function Ko(e){var t=[];for(var n in e)t.push(n+e[n]);return t.sort().join("")}function Yo(e){for(var t=2166136261,n=0;n<e.length;++n)t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24),t^=e.charCodeAt(n);return t>>>0}var Qo,Xo={baselineMarkerSize:1};"undefined"!=typeof document&&((Qo=document.createElement("div")).style.setProperty("position","absolute","important"),Qo.style.setProperty("top","-4000px","important"),Qo.style.setProperty("width","auto","important"),Qo.style.setProperty("height","auto","important"),Qo.style.setProperty("padding","0","important"),Qo.style.setProperty("margin","0","important"),Qo.style.setProperty("border","0","important"),Qo.style.setProperty("line-height","normal","important"),Qo.style.setProperty("visibility","hidden","important"),Qo.style.setProperty("white-space","pre","important"));var Zo=function(e){function t(t){e.call(this),this._cache=new $o(1e3),this.options=Object.assign({},Xo,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.measure=function(e,t,n){if(void 0===n&&(n={}),null==e)return{width:0,height:0,baseline:0};var i=Yo(e+Ko(t)),o=this._cache.get(i);if(o)return o;var r={width:0,height:0,baseline:0},a=n.box||Qo,s=this._baselineMarker().cloneNode(!1);for(var l in t){var c=t[l];void 0!==c&&(a.style[l]=c)}var d=!1!==n.normalizeText?Go(e):String(e);return a.textContent=d,a.appendChild(s),document.body.appendChild(a),d.length&&(r.width=a.offsetWidth-this.options.baselineMarkerSize,r.height=a.offsetHeight,r.baseline=s.offsetTop+this.options.baselineMarkerSize),r.width>0&&r.height>0&&this._cache.put(i,r),a.parentNode.removeChild(a),r},t.prototype._baselineMarker=function(){var e=document.createElement("div");return e.style.display="inline-block",e.style.verticalAlign="baseline",e.style.width=this.options.baselineMarkerSize+"px",e.style.height=this.options.baselineMarkerSize+"px",e.style.overflow="hidden",e},t}(Vi);function Jo(e,t,n){return Zo.current.measure(e,t,n)}Zo.current=new Zo;var er={}.toString,tr=function(e){function t(t,n){for(var i in void 0===n&&(n=""),e.call(this),this.prefix=n,t){var o=t[i];o=this._wrap(o,i),this[i]=o}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e){for(var t=e.split("."),n=this;t.length&&n;){n=n[t.shift()]}return n},t.prototype.set=function(e,t){this.get(e)!==t&&(this._set(e,this._wrap(t,e)),this.optionsChange({field:this.prefix+e,value:t}))},t.prototype._set=function(e,n){var i=e.indexOf(".")>=0,o=this,r=e;if(i){for(var a=r.split("."),s=this.prefix;a.length>1;){s+=(r=a.shift())+".";var l=o[r];l||((l=new t({},s)).addObserver(this),o[r]=l),o=l}r=a[0]}o._clear(r),o[r]=n},t.prototype._clear=function(e){var t=this[e];t&&t.removeObserver&&t.removeObserver(this)},t.prototype._wrap=function(e,n){var i=er.call(e),o=e;return null!==o&&fo(o)&&"[object Object]"===i&&(e instanceof t||e instanceof Vi||(o=new t(o,this.prefix+n+".")),o.addObserver(this)),o},t}(uo);function nr(e){return function(t){return this[e]!==t&&(this[e]=t,this.geometryChange()),this}}function ir(e){return function(){return this[e]}}var or=function(e,t){var n=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e);return function(e,t){for(var n=0;n<t.length;n++){var i=t[n],o=i.charAt(0).toUpperCase()+i.substring(1,i.length);e["set"+o]=nr(i),e["get"+o]=ir(i)}}(n.prototype,t),n};function rr(e){return e&&"function"==typeof e.matrix?e.matrix():e}var ar=function(e){function t(t,n){e.call(this),this.x=t||0,this.y=n||0}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={ZERO:{configurable:!0}};return t.prototype.equals=function(e){return e&&e.x===this.x&&e.y===this.y},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.rotate=function(e,n){var i=t.create(n)||t.ZERO;return this.transform(No.rotate(e,i.x,i.y))},t.prototype.translate=function(e,t){return this.x+=e,this.y+=t,this.geometryChange(),this},t.prototype.translateWith=function(e){return this.translate(e.x,e.y)},t.prototype.move=function(e,t){return this.x=this.y=0,this.translate(e,t)},t.prototype.scale=function(e,t){return void 0===t&&(t=e),this.x*=e,this.y*=t,this.geometryChange(),this},t.prototype.scaleCopy=function(e,t){return this.clone().scale(e,t)},t.prototype.transform=function(e){var t=rr(e),n=this.x,i=this.y;return this.x=t.a*n+t.c*i+t.e,this.y=t.b*n+t.d*i+t.f,this.geometryChange(),this},t.prototype.transformCopy=function(e){var t=this.clone();return e&&t.transform(e),t},t.prototype.distanceTo=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},t.prototype.round=function(e){return this.x=Eo(this.x,e),this.y=Eo(this.y,e),this.geometryChange(),this},t.prototype.toArray=function(e){var t=fo(e);return[t?Eo(this.x,e):this.x,t?Eo(this.y,e):this.y]},t.prototype.toString=function(e,t){void 0===t&&(t=" ");var n=this.x,i=this.y;return fo(e)&&(n=Eo(n,e),i=Eo(i,e)),n+t+i},t.create=function(e,n){if(fo(e))return e instanceof t?e:1===arguments.length&&2===e.length?new t(e[0],e[1]):new t(e,n)},t.min=function(){for(var e=arguments,n=_o,i=_o,o=0;o<arguments.length;o++){var r=e[o];n=Math.min(r.x,n),i=Math.min(r.y,i)}return new t(n,i)},t.max=function(){for(var e=arguments,n=bo,i=bo,o=0;o<arguments.length;o++){var r=e[o];n=Math.max(r.x,n),i=Math.max(r.y,i)}return new t(n,i)},t.minPoint=function(){return new t(bo,bo)},t.maxPoint=function(){return new t(_o,_o)},n.ZERO.get=function(){return new t(0,0)},Object.defineProperties(t,n),t}(or(uo,["x","y"])),sr=function(e){function t(t,n){e.call(this),this.width=t||0,this.height=n||0}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={ZERO:{configurable:!0}};return t.prototype.equals=function(e){return e&&e.width===this.width&&e.height===this.height},t.prototype.clone=function(){return new t(this.width,this.height)},t.prototype.toArray=function(e){var t=fo(e);return[t?Eo(this.width,e):this.width,t?Eo(this.height,e):this.height]},t.create=function(e,n){if(fo(e))return e instanceof t?e:1===arguments.length&&2===e.length?new t(e[0],e[1]):new t(e,n)},n.ZERO.get=function(){return new t(0,0)},Object.defineProperties(t,n),t}(or(uo,["width","height"])),lr=function(e){function t(t,n,i){void 0===t&&(t=new ar),void 0===n&&(n=new sr),void 0===i&&(i=0),e.call(this),this.setOrigin(t),this.setSize(n),this.setCornerRadius(i)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.clone=function(){return new t(this.origin.clone(),this.size.clone())},t.prototype.equals=function(e){return e&&e.origin.equals(this.origin)&&e.size.equals(this.size)},t.prototype.setOrigin=function(e){return this._observerField("origin",ar.create(e)),this.geometryChange(),this},t.prototype.getOrigin=function(){return this.origin},t.prototype.setCornerRadius=function(e){return this.cornerRadius=Array.isArray(e)?e:[e,e],this.geometryChange(),this},t.prototype.getCornerRadius=function(){return this.cornerRadius},t.prototype.setSize=function(e){return this._observerField("size",sr.create(e)),this.geometryChange(),this},t.prototype.getSize=function(){return this.size},t.prototype.width=function(){return this.size.width},t.prototype.height=function(){return this.size.height},t.prototype.topLeft=function(){return this.origin.clone()},t.prototype.bottomRight=function(){return this.origin.clone().translate(this.width(),this.height())},t.prototype.topRight=function(){return this.origin.clone().translate(this.width(),0)},t.prototype.bottomLeft=function(){return this.origin.clone().translate(0,this.height())},t.prototype.center=function(){return this.origin.clone().translate(this.width()/2,this.height()/2)},t.prototype.bbox=function(e){var n=this.topLeft().transformCopy(e),i=this.topRight().transformCopy(e),o=this.bottomRight().transformCopy(e),r=this.bottomLeft().transformCopy(e);return t.fromPoints(n,i,o,r)},t.prototype.transformCopy=function(e){return t.fromPoints(this.topLeft().transform(e),this.bottomRight().transform(e))},t.prototype.expand=function(e,t){return void 0===t&&(t=e),this.size.width+=2*e,this.size.height+=2*t,this.origin.translate(-e,-t),this},t.prototype.expandCopy=function(e,t){return this.clone().expand(e,t)},t.prototype.containsPoint=function(e){var t=this.origin,n=this.bottomRight();return!(e.x<t.x||e.y<t.y||n.x<e.x||n.y<e.y)},t.prototype._isOnPath=function(e,t){var n=this.expandCopy(t,t),i=this.expandCopy(-t,-t);return n.containsPoint(e)&&!i.containsPoint(e)},t.fromPoints=function(){var e=ar.min.apply(null,arguments),n=ar.max.apply(null,arguments);return new t(e,new sr(n.x-e.x,n.y-e.y))},t.union=function(e,n){return t.fromPoints(ar.min(e.topLeft(),n.topLeft()),ar.max(e.bottomRight(),n.bottomRight()))},t.intersect=function(e,n){var i={left:e.topLeft().x,top:e.topLeft().y,right:e.bottomRight().x,bottom:e.bottomRight().y},o={left:n.topLeft().x,top:n.topLeft().y,right:n.bottomRight().x,bottom:n.bottomRight().y};if(i.left<=o.right&&o.left<=i.right&&i.top<=o.bottom&&o.top<=i.bottom)return t.fromPoints(new ar(Math.max(i.left,o.left),Math.max(i.top,o.top)),new ar(Math.min(i.right,o.right),Math.min(i.bottom,o.bottom)))},t}(uo),cr=function(e){function t(t){void 0===t&&(t=No.unit()),e.call(this),this._matrix=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.clone=function(){return new t(this._matrix.clone())},t.prototype.equals=function(e){return e&&e._matrix.equals(this._matrix)},t.prototype.translate=function(e,t){return this._matrix=this._matrix.multiplyCopy(No.translate(e,t)),this._optionsChange(),this},t.prototype.scale=function(e,t,n){void 0===t&&(t=e),void 0===n&&(n=null);var i=n;return i&&(i=ar.create(i),this._matrix=this._matrix.multiplyCopy(No.translate(i.x,i.y))),this._matrix=this._matrix.multiplyCopy(No.scale(e,t)),i&&(this._matrix=this._matrix.multiplyCopy(No.translate(-i.x,-i.y))),this._optionsChange(),this},t.prototype.rotate=function(e,t){var n=ar.create(t)||ar.ZERO;return this._matrix=this._matrix.multiplyCopy(No.rotate(e,n.x,n.y)),this._optionsChange(),this},t.prototype.multiply=function(e){var t=rr(e);return this._matrix=this._matrix.multiplyCopy(t),this._optionsChange(),this},t.prototype.matrix=function(e){return e?(this._matrix=e,this._optionsChange(),this):this._matrix},t.prototype._optionsChange=function(){this.optionsChange({field:"transform",value:this})},t}(uo);function dr(e){return null===e?null:e instanceof cr?e:new cr(e)}var ur={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]},hr="solid",pr="butt",fr="Pattern",mr=function(e){function t(t){e.call(this),this._initOptions(t)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};return n.nodeType.get=function(){return"Rect"},t.prototype._initOptions=function(e){void 0===e&&(e={});var t=e.clip,n=e.transform;n&&(e.transform=dr(n)),t&&!t.id&&(t.id=vo()),this.options=new tr(e),this.options.addObserver(this)},t.prototype.transform=function(e){if(!fo(e))return this.options.get("transform");this.options.set("transform",dr(e))},t.prototype.parentTransform=function(){for(var e,t=this;t.parent;){var n=(t=t.parent).transform();n&&(e=n.matrix().multiplyCopy(e||No.unit()))}if(e)return dr(e)},t.prototype.currentTransform=function(e){void 0===e&&(e=this.parentTransform());var t,n=rr(this.transform()),i=rr(e);if(t=n&&i?i.multiplyCopy(n):n||i)return dr(t)},t.prototype.visible=function(e){return fo(e)?(this.options.set("visible",e),this):!1!==this.options.get("visible")},t.prototype.clip=function(e){var t=this.options;return fo(e)?(e&&!e.id&&(e.id=vo()),t.set("clip",e),this):t.get("clip")},t.prototype.opacity=function(e){return fo(e)?(this.options.set("opacity",e),this):Ao(this.options.get("opacity"),1)},t.prototype.className=function(e){return fo(e)?(this.options.set("className",e),this):this.options.get("className")},t.prototype.clippedBBox=function(e){var t=this._clippedBBox(e);if(t){var n=this.clip();return n?lr.intersect(t,n.bbox(e)):t}},t.prototype.containsPoint=function(e,t){if(this.visible()){var n=this.currentTransform(t),i=e;return n&&(i=e.transformCopy(n.matrix().invert())),this._hasFill()&&this._containsPoint(i)||this._isOnPath&&this._hasStroke()&&this._isOnPath(i)}return!1},t.prototype._hasFill=function(){var e=this.options.fill;return e&&(e.nodeType===fr||!To(e.color))},t.prototype._hasStroke=function(){var e=this.options.stroke;return e&&e.width>0&&!To(e.color)},t.prototype._clippedBBox=function(e){return this.bbox(e)},Object.defineProperties(t.prototype,n),t}(uo);function vr(e,t,n,i){var o=0,r=0;return i&&(o=Math.atan2(i.c*n,i.a*t),0!==i.b&&(r=Math.atan2(i.d*n,i.b*t))),{x:o,y:r}}var gr=Math.PI/2,_r=function(e){function t(t,n){void 0===t&&(t=new ar),void 0===n&&(n=0),e.call(this),this.setCenter(t),this.setRadius(n)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setCenter=function(e){return this._observerField("center",ar.create(e)),this.geometryChange(),this},t.prototype.getCenter=function(){return this.center},t.prototype.equals=function(e){return e&&e.center.equals(this.center)&&e.radius===this.radius},t.prototype.clone=function(){return new t(this.center.clone(),this.radius)},t.prototype.pointAt=function(e){return this._pointAt(Do(e))},t.prototype.bbox=function(e){for(var t=vr(this.center,this.radius,this.radius,e),n=ar.maxPoint(),i=ar.minPoint(),o=0;o<4;o++){var r=this._pointAt(t.x+o*gr).transformCopy(e),a=this._pointAt(t.y+o*gr).transformCopy(e),s=new ar(r.x,a.y);n=ar.min(n,s),i=ar.max(i,s)}return lr.fromPoints(n,i)},t.prototype._pointAt=function(e){var t=this.center,n=this.radius;return new ar(t.x+n*Math.cos(e),t.y+n*Math.sin(e))},t.prototype.containsPoint=function(e){var t=this.center,n=this.radius;return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(n,2)},t.prototype._isOnPath=function(e,t){var n=this.center,i=this.radius,o=n.distanceTo(e);return i-t<=o&&o<=i+t},t}(or(uo,["radius"])),br=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.fill=function(e,t){var n=this.options;if(fo(e)){if(e&&"Gradient"!==e.nodeType){var i={color:e};fo(t)&&(i.opacity=t),n.set("fill",i)}else n.set("fill",e);return this}return n.get("fill")},t.prototype.stroke=function(e,t,n){return fo(e)?(this.options.set("stroke.color",e),fo(t)&&this.options.set("stroke.width",t),fo(n)&&this.options.set("stroke.opacity",n),this):this.options.get("stroke")},t}(e)},yr=No.IDENTITY.toString(),wr=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.bbox=function(e){var t,n=rr(this.currentTransform(e)),i=n?n.toString():yr;this._bboxCache&&this._matrixHash===i?t=this._bboxCache.clone():(t=this._bbox(n),this._bboxCache=t?t.clone():null,this._matrixHash=i);var o=this.options.get("stroke.width");return o&&t&&t.expand(o/2),t},t.prototype.geometryChange=function(){delete this._bboxCache,this.trigger("geometryChange",{element:this})},t}(e)};function kr(e){var t="_"+e;return function(e){return fo(e)?(this._observerField(t,e),this.geometryChange(),this):this[t]}}var xr=function(e,t){void 0===t&&(t=["geometry"]);var n=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e);return function(e,t){for(var n=0;n<t.length;n++)e[t[n]]=kr(t[n])}(n.prototype,t),n},Cr=(function(e){function t(t,n){void 0===t&&(t=new _r),void 0===n&&(n={}),e.call(this,n),this.geometry(t),fo(this.options.stroke)||this.stroke("#000")}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};n.nodeType.get=function(){return"Circle"},t.prototype.rawBBox=function(){return this._geometry.bbox()},t.prototype._bbox=function(e){return this._geometry.bbox(e)},t.prototype._containsPoint=function(e){return this.geometry().containsPoint(e)},t.prototype._isOnPath=function(e){return this.geometry()._isOnPath(e,this.options.stroke.width/2)},Object.defineProperties(t.prototype,n)}(br(wr(xr(mr)))),10);function zr(e,t,n){return void 0===n&&(n=Cr),0===Eo(Math.abs(e-t),n)}function Sr(e,t,n){return e<t||zr(e,t,n)}var Tr=Math.pow,Mr=function(e){function t(t,n){void 0===t&&(t=new ar),void 0===n&&(n={}),e.call(this),this.setCenter(t),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 e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.clone=function(){return new t(this.center,{radiusX:this.radiusX,radiusY:this.radiusY,startAngle:this.startAngle,endAngle:this.endAngle,anticlockwise:this.anticlockwise})},t.prototype.setCenter=function(e){return this._observerField("center",ar.create(e)),this.geometryChange(),this},t.prototype.getCenter=function(){return this.center},t.prototype.pointAt=function(e){var t=this.center,n=Do(e);return new ar(t.x+this.radiusX*Math.cos(n),t.y+this.radiusY*Math.sin(n))},t.prototype.curvePoints=function(){var e,t=this.startAngle,n=this.anticlockwise?-1:1,i=[this.pointAt(t)],o=this._arcInterval(),r=o.endAngle-o.startAngle,a=Math.ceil(r/45),s=r/a,l=t;this.xRotation&&(e=dr().rotate(this.xRotation,this.center));for(var c=1;c<=a;c++){var d=l+n*s,u=this._intervalCurvePoints(l,d,e);i.push(u.cp1,u.cp2,u.p2),l=d}return i},t.prototype.bbox=function(e){for(var t=this._arcInterval(),n=t.startAngle,i=t.endAngle,o=vr(this.center,this.radiusX,this.radiusY,e),r=yo(o.x),a=yo(o.y),s=this.pointAt(i).transformCopy(e),l=Hr(r,n),c=Hr(a,n),d=this.pointAt(n).transformCopy(e),u=ar.min(d,s),h=ar.max(d,s);l<i||c<i;){var p=void 0;l<i&&(p=this.pointAt(l).transformCopy(e),l+=90);var f=void 0;c<i&&(f=this.pointAt(c).transformCopy(e),c+=90),d=new ar(p.x,f.y),u=ar.min(u,d),h=ar.max(h,d)}return lr.fromPoints(u,h)},t.prototype._arcInterval=function(){var e=this,t=e.startAngle,n=e.endAngle,i=e.anticlockwise;if(i){var o=t;t=n,n=o}return(t>n||i&&t===n)&&(n+=360),{startAngle:t,endAngle:n}},t.prototype._intervalCurvePoints=function(e,t,n){var i=this.pointAt(e),o=this.pointAt(t),r=this._derivativeAt(e),a=this._derivativeAt(t),s=(Do(t)-Do(e))/3,l=new ar(i.x+s*r.x,i.y+s*r.y),c=new ar(o.x-s*a.x,o.y-s*a.y);return n&&(i.transform(n),o.transform(n),l.transform(n),c.transform(n)),{p1:i,cp1:l,cp2:c,p2:o}},t.prototype._derivativeAt=function(e){var t=Do(e);return new ar(-this.radiusX*Math.sin(t),this.radiusY*Math.cos(t))},t.prototype.containsPoint=function(e){var t,n=this._arcInterval(),i=n.endAngle-n.startAngle,o=this,r=o.center,a=o.radiusX,s=o.radiusY,l=r.distanceTo(e),c=Math.atan2(e.y-r.y,e.x-r.x),d=a*s/Math.sqrt(Tr(a,2)*Tr(Math.sin(c),2)+Tr(s,2)*Tr(Math.cos(c),2)),u=this.pointAt(this.startAngle).round(Cr),h=this.pointAt(this.endAngle).round(Cr),p=function(e,t,n,i){var o=t.x-e.x,r=i.x-n.x,a=t.y-e.y,s=i.y-n.y,l=e.x-n.x,c=e.y-n.y,d=o*s-r*a,u=(o*c-a*l)/d,h=(r*c-s*l)/d;if(u>=0&&u<=1&&h>=0&&h<=1)return new ar(e.x+h*o,e.y+h*a)}(r,e.round(Cr),u,h);if(i<180)t=p&&Sr(r.distanceTo(p),l)&&Sr(l,d);else{var f=Ir(r.x,r.y,a,s,e.x,e.y);360!==f&&(f=(360+f)%360);var m=n.startAngle<=f&&f<=n.endAngle;t=m&&Sr(l,d)||!m&&(!p||p.equals(e))}return t},t.prototype._isOnPath=function(e,t){var n=this._arcInterval(),i=this.center,o=Ir(i.x,i.y,this.radiusX,this.radiusY,e.x,e.y);return 360!==o&&(o=(360+o)%360),n.startAngle<=o&&o<=n.endAngle&&this.pointAt(o).distanceTo(e)<=t},t.fromPoints=function(e,n,i,o,r,a,s){var l=function(e){var t=e.x1,n=e.y1,i=e.x2,o=e.y2,r=e.rx,a=e.ry,s=e.largeArc,l=e.swipe,c=e.rotation;void 0===c&&(c=0);var d=Do(c),u=Math.cos(d),h=Math.sin(d),p=u*(t-i)/2+h*(n-o)/2,f=-h*(t-i)/2+u*(n-o)/2,m=s!==l?1:-1,v=Math.pow(p,2),g=Math.pow(f,2),_=Math.pow(r,2),b=Math.pow(a,2),y=v/_+g/b;y>1&&(r*=y=Math.sqrt(v/_+g/b),_=Math.pow(r,2),a*=y,b=Math.pow(a,2));var w=m*Math.sqrt((_*b-_*g-b*v)/(_*g+b*v));isNaN(w)&&(w=0);var k=w*(r*f)/a,x=a*p*-w/r,C=u*k-h*x+(t+i)/2,z=h*k+u*x+(n+o)/2,S=(p-k)/r,T=(f-x)/a,M=-(p+k)/r,I=-(f+x)/a,H=(T>=0?1:-1)*yo(Math.acos(S/Math.sqrt(S*S+T*T))),D=Eo((S*M+T*I)/(Math.sqrt(S*S+T*T)*Math.sqrt(M*M+I*I)),10),E=(S*I-T*M>=0?1:-1)*yo(Math.acos(D));!l&&E>0&&(E-=360);l&&E<0&&(E+=360);var A=H+E,V=A>=0?1:-1;return A=Math.abs(A)%360*V,{center:new ar(C,z),startAngle:H,endAngle:A,radiusX:r,radiusY:a,xRotation:c}}({x1:e.x,y1:e.y,x2:n.x,y2:n.y,rx:i,ry:o,largeArc:r,swipe:a,rotation:s});return new t(l.center,{startAngle:l.startAngle,endAngle:l.endAngle,radiusX:l.radiusX,radiusY:l.radiusY,xRotation:l.xRotation,anticlockwise:0===a})},t}(or(uo,["radiusX","radiusY","startAngle","endAngle","anticlockwise"]));function Ir(e,t,n,i,o,r){var a=Eo((o-e)/n,3),s=Eo((r-t)/i,3);return Eo(yo(Math.atan2(s,a)))}function Hr(e,t){for(var n=e;n<t;)n+=90;return n}var Dr=[].push,Er=[].pop,Ar=[].splice,Vr=[].shift,Pr=[].slice,Br=[].unshift,Fr=function(e){function t(t){void 0===t&&(t=[]),e.call(this),this.length=0,this._splice(0,t.length,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.elements=function(e){return e?(this._splice(0,this.length,e),this._change(),this):this.slice(0)},t.prototype.push=function(){var e=arguments,t=Dr.apply(this,e);return this._add(e),t},t.prototype.slice=function(){return Pr.call(this)},t.prototype.pop=function(){var e=this.length,t=Er.apply(this);return e&&this._remove([t]),t},t.prototype.splice=function(e,t){var n=Pr.call(arguments,2),i=this._splice(e,t,n);return this._change(),i},t.prototype.shift=function(){var e=this.length,t=Vr.apply(this);return e&&this._remove([t]),t},t.prototype.unshift=function(){var e=arguments,t=Br.apply(this,e);return this._add(e),t},t.prototype.indexOf=function(e){for(var t=this.length,n=0;n<t;n++)if(this[n]===e)return n;return-1},t.prototype._splice=function(e,t,n){var i=Ar.apply(this,[e,t].concat(n));return this._clearObserver(i),this._setObserver(n),i},t.prototype._add=function(e){this._setObserver(e),this._change()},t.prototype._remove=function(e){this._clearObserver(e),this._change()},t.prototype._setObserver=function(e){for(var t=0;t<e.length;t++)e[t].addObserver(this)},t.prototype._clearObserver=function(e){for(var t=0;t<e.length;t++)e[t].removeObserver(this)},t.prototype._change=function(){},t}(uo),Or=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype._change=function(){this.geometryChange()},t}(Fr);function Lr(e,t,n){var i=yo(Math.atan2(t.y-e.y,t.x-e.x));return n.transformCopy(dr().rotate(-i,e)).x<e.x}function Rr(e,t,n){var i=1-e;return Math.pow(i,3)*n[0][t]+3*Math.pow(i,2)*e*n[1][t]+3*Math.pow(e,2)*i*n[2][t]+Math.pow(e,3)*n[3][t]}function Nr(e,t){return[-e[0][t]+3*e[1][t]-3*e[2][t]+e[3][t],3*(e[0][t]-2*e[1][t]+e[2][t]),3*(-e[0][t]+e[1][t]),e[0][t]]}var Ur=function(e){function t(t,n){void 0===t&&(t=0),void 0===n&&(n=0),e.call(this),this.real=t,this.img=n}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.add=function(e){return new t(Eo(this.real+e.real,Cr),Eo(this.img+e.img,Cr))},t.prototype.addConstant=function(e){return new t(this.real+e,this.img)},t.prototype.negate=function(){return new t(-this.real,-this.img)},t.prototype.multiply=function(e){return new t(this.real*e.real-this.img*e.img,this.real*e.img+this.img*e.real)},t.prototype.multiplyConstant=function(e){return new t(this.real*e,this.img*e)},t.prototype.nthRoot=function(e){var n=Math.atan2(this.img,this.real),i=Math.sqrt(Math.pow(this.img,2)+Math.pow(this.real,2)),o=Math.pow(i,1/e);return new t(o*Math.cos(n/e),o*Math.sin(n/e))},t.prototype.equals=function(e){return this.real===e.real&&this.img===e.img},t.prototype.isReal=function(){return 0===this.img},t}(Vi);function jr(e){return e<0?-1:1}function Wr(e,t,n,i){if(0===e)return function(e,t,n){var i=Math.sqrt(Math.pow(t,2)-4*e*n);return[(-t+i)/(2*e),(-t-i)/(2*e)]}(t,n,i);var o,r,a,s,l,c,d,u=(3*e*n-Math.pow(t,2))/(3*Math.pow(e,2)),h=(2*Math.pow(t,3)-9*e*t*n+27*Math.pow(e,2)*i)/(27*Math.pow(e,3)),p=Math.pow(u/3,3)+Math.pow(h/2,2),f=new Ur(0,1),m=-t/(3*e);p<0?(o=new Ur(-h/2,Math.sqrt(-p)).nthRoot(3),r=new Ur(-h/2,-Math.sqrt(-p)).nthRoot(3)):(o=-h/2+Math.sqrt(p),o=new Ur(jr(o)*Math.pow(Math.abs(o),1/3)),r=-h/2-Math.sqrt(p),r=new Ur(jr(r)*Math.pow(Math.abs(r),1/3))),a=o.add(r),c=o.add(r).multiplyConstant(-.5),d=o.add(r.negate()).multiplyConstant(Math.sqrt(3)/2),s=c.add(f.multiply(d)),l=c.add(f.negate().multiply(d));var v=[];return a.isReal()&&v.push(Eo(a.real+m,Cr)),s.isReal()&&v.push(Eo(s.real+m,Cr)),l.isReal()&&v.push(Eo(l.real+m,Cr)),v}function $r(e,t,n,i,o){for(var r,a=Nr(e,i),s=Wr(a[0],a[1],a[2],a[3]-t[i]),l=0;l<s.length;l++)if(0<=s[l]&&s[l]<=1&&(r=Rr(s[l],n,e),Math.abs(r-t[n])<=o))return!0}function qr(e,t,n){var i;if(e.x!==t.x){var o=Math.min(e.x,t.x),r=Math.max(e.x,t.x),a=Math.min(e.y,t.y),s=Math.max(e.y,t.y),l=o<=n.x&&n.x<r;i=a===s?n.y<=a&&l:l&&(s-a)*((e.x-t.x)*(e.y-t.y)>0?n.x-o:r-n.x)/(r-o)+a-n.y>=0}return i?1:0}function Gr(e){var t="_"+e;return function(e){return fo(e)?(this._observerField(t,ar.create(e)),this.geometryChange(),this):this[t]}}var Kr=function(e,t){var n=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(e);return function(e,t){for(var n=0;n<t.length;n++)e[t[n]]=Gr(t[n])}(n.prototype,t),n},Yr=function(e){function t(t,n,i){e.call(this),this.anchor(t||new ar),this.controlIn(n),this.controlOut(i)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.bboxTo=function(e,t){var n=this.anchor().transformCopy(t),i=e.anchor().transformCopy(t);return this.controlOut()&&e.controlIn()?this._curveBoundingBox(n,this.controlOut().transformCopy(t),e.controlIn().transformCopy(t),i):this._lineBoundingBox(n,i)},t.prototype._lineBoundingBox=function(e,t){return lr.fromPoints(e,t)},t.prototype._curveBoundingBox=function(e,t,n,i){var o=[e,t,n,i],r=this._curveExtremesFor(o,"x"),a=this._curveExtremesFor(o,"y"),s=Qr([r.min,r.max,e.x,i.x]),l=Qr([a.min,a.max,e.y,i.y]);return lr.fromPoints(new ar(s.min,l.min),new ar(s.max,l.max))},t.prototype._curveExtremesFor=function(e,t){var n=this._curveExtremes(e[0][t],e[1][t],e[2][t],e[3][t]);return{min:Rr(n.min,t,e),max:Rr(n.max,t,e)}},t.prototype._curveExtremes=function(e,t,n,i){var o=e-3*t+3*n-i,r=-2*(e-2*t+n),a=e-t,s=Math.sqrt(r*r-4*o*a),l=0,c=1;0===o?0!==r&&(l=c=-a/r):isNaN(s)||(l=(-r+s)/(2*o),c=(-r-s)/(2*o));var d=Math.max(Math.min(l,c),0);(d<0||d>1)&&(d=0);var u=Math.min(Math.max(l,c),1);return(u>1||u<0)&&(u=1),{min:d,max:u}},t.prototype._intersectionsTo=function(e,t){var n;return n=this.controlOut()&&e.controlIn()?function(e,t,n){for(var i,o=Nr(e,"x"),r=Wr(o[0],o[1],o[2],o[3]-t.x),a=0,s=0;s<r.length;s++)(zr(i=Rr(r[s],"y",e),t.y)||i>t.y)&&((0===r[s]||1===r[s])&&n.bottomRight().x>t.x||0<r[s]&&r[s]<1)&&a++;return a}([this.anchor(),this.controlOut(),e.controlIn(),e.anchor()],t,this.bboxTo(e)):qr(this.anchor(),e.anchor(),t),n},t.prototype._isOnCurveTo=function(e,t,n,i){if(this.bboxTo(e).expand(n,n).containsPoint(t)){var o=this.anchor(),r=this.controlOut(),a=e.controlIn(),s=e.anchor();if("start"===i&&o.distanceTo(t)<=n)return!Lr(o,r,t);if("end"===i&&s.distanceTo(t)<=n)return!Lr(s,a,t);var l=[o,r,a,s];if($r(l,t,"x","y",n)||$r(l,t,"y","x",n))return!0;var c=dr().rotate(45,t),d=[o.transformCopy(c),r.transformCopy(c),a.transformCopy(c),s.transformCopy(c)];return $r(d,t,"x","y",n)||$r(d,t,"y","x",n)}},t.prototype._isOnLineTo=function(e,t,n){var i=this.anchor(),o=e.anchor(),r=yo(Math.atan2(o.y-i.y,o.x-i.x));return new lr([i.x,i.y-n/2],[i.distanceTo(o),n]).containsPoint(t.transformCopy(dr().rotate(-r,i)))},t.prototype._isOnPathTo=function(e,t,n,i){return this.controlOut()&&e.controlIn()?this._isOnCurveTo(e,t,n/2,i):this._isOnLineTo(e,t,n)},t}(Kr(uo,["anchor","controlIn","controlOut"]));function Qr(e){for(var t=e.length,n=_o,i=bo,o=0;o<t;o++)i=Math.max(i,e[o]),n=Math.min(n,e[o]);return{min:n,max:i}}var Xr="x",Zr="y";function Jr(e,t){var n=e.slice(0),i=[],o=n.length;if(o>2&&(ea(0,n),o=n.length),o<2||2===o&&n[0].equals(n[1]))return i;var r,a,s=n[0],l=n[1],c=n[2];for(i.push(new Yr(s));s.equals(n[o-1]);)t=!0,n.pop(),o--;if(2===o){var d=oa(s,l,Xr,Zr);return Mo(i).controlOut(aa(d,s,l,Xr,Zr)),i.push(new Yr(l,sa(d,s,l,Xr,Zr))),i}if(t){var u=na(s=n[o-1],l=n[0],c=n[1]);r=u[1],a=u[0]}else{r=aa(oa(s,l,Xr,Zr),s,l,Xr,Zr)}for(var h=r,p=0;p<=o-3;p++)if(ea(p,n),p+3<=(o=n.length)){var f=na(s=n[p],l=n[p+1],c=n[p+2]);Mo(i).controlOut(h),h=f[1];var m=f[0];i.push(new Yr(l,m))}if(t){var v=na(s=n[o-2],l=n[o-1],c=n[0]);Mo(i).controlOut(h),i.push(new Yr(l,v[0])),Mo(i).controlOut(v[1]),i.push(new Yr(c,a))}else{var g=oa(l,c,Xr,Zr);Mo(i).controlOut(h),i.push(new Yr(c,sa(g,l,c,Xr,Zr)))}return i}function ea(e,t){for(;t[e+1]&&(t[e].equals(t[e+1])||t[e+1].equals(t[e+2]));)t.splice(e+1,1)}function ta(e,t){var n=(t.y-e.y)/(t.x-e.x);return[e.y-n*e.x,n]}function na(e,t,n){var i,o=Xr,r=Zr,a=!1,s=!1;if(function(e,t,n){var i=ca(ta(e,t),n.x);return e.x===t.x&&t.x===n.x||Eo(i,1)===Eo(n.y,1)}(e,t,n))i=oa(e,t,Xr,Zr);else{var l={x:ra(e,t,n,Xr),y:ra(e,t,n,Zr)};if(l.x&&l.y)i=oa(e,n,Xr,Zr),a=!0;else if(function(e,t,n){var i=!1;if(e.x===t.x)i=!0;else if(t.x===n.x)(t.y<n.y&&e.y<=t.y||n.y<t.y&&t.y<=e.y)&&(i=!0);else{var o=ca(ta(e,t),n.x);e.y<=t.y&&n.y<=o||t.y<=e.y&&n.y>=o||(i=!0)}return i}(e,t,n)&&(o=Zr,r=Xr),l[o])i=0;else i=.01*(n[r]<e[r]&&e[r]<=t[r]||e[r]<n[r]&&t[r]<=e[r]?da((n[r]-e[r])*(t[o]-e[o])):-da((n[o]-e[o])*(t[r]-e[r]))),s=!0}var c=sa(i,e,t,o,r);if(s){var d=o;o=r,r=d}var u=aa(i,t,n,o,r);return a&&(ia(e,t,c,i),ia(t,n,u,i)),[c,u]}function ia(e,t,n,i){e.y<t.y?t.y<n.y?(n.x=e.x+(t.y-e.y)/i,n.y=t.y):n.y<e.y&&(n.x=t.x-(t.y-e.y)/i,n.y=e.y):n.y<t.y?(n.x=e.x-(e.y-t.y)/i,n.y=t.y):e.y<n.y&&(n.x=t.x+(e.y-t.y)/i,n.y=e.y)}function oa(e,t,n,i){var o=t[n]-e[n],r=t[i]-e[i];return 0===o?0:r/o}function ra(e,t,n,i){return n[i]>t[i]&&t[i]>e[i]||n[i]<t[i]&&t[i]<e[i]}function aa(e,t,n,i,o){var r=t[i],a=.333*(n[i]-r);return la(r+a,t[o]+a*e,i,o)}function sa(e,t,n,i,o){var r=t[i],a=n[i],s=.333*(a-r);return la(a-s,n[o]-s*e,i,o)}function la(e,t,n,i){var o=new ar;return o[n]=e,o[i]=t,o}function ca(e,t){for(var n=e.length,i=0,o=0;o<n;o++)i+=Math.pow(t,o)*e[o];return i}function da(e){return e<=0?-1:1}var ua={l:function(e,t){for(var n=t.parameters,i=t.position,o=0;o<n.length;o+=2){var r=new ar(n[o],n[o+1]);t.isRelative&&r.translateWith(i),e.lineTo(r.x,r.y),i.x=r.x,i.y=r.y}},c:function(e,t){for(var n=t.parameters,i=t.position,o=0;o<n.length;o+=6){var r=new ar(n[o],n[o+1]),a=new ar(n[o+2],n[o+3]),s=new ar(n[o+4],n[o+5]);t.isRelative&&(a.translateWith(i),r.translateWith(i),s.translateWith(i)),e.curveTo(r,a,s),i.x=s.x,i.y=s.y}},v:function(e,t){var n=t.isRelative?0:t.position.x;ha(t.parameters,!0,n),this.l(e,t)},h:function(e,t){var n=t.isRelative?0:t.position.y;ha(t.parameters,!1,n),this.l(e,t)},a:function(e,t){for(var n=t.parameters,i=t.position,o=0;o<n.length;o+=7){var r=n[o],a=n[o+1],s=n[o+2],l=n[o+3],c=n[o+4],d=new ar(n[o+5],n[o+6]);t.isRelative&&d.translateWith(i),i.x===d.x&&i.y===d.y||(e.arcTo(d,r,a,l,c,s),i.x=d.x,i.y=d.y)}},s:function(e,t){var n,i=t.parameters,o=t.position,r=t.previousCommand;"s"!==r&&"c"!==r||(n=Mo(Mo(e.paths).segments).controlIn());for(var a=0;a<i.length;a+=4){var s=new ar(i[a],i[a+1]),l=new ar(i[a+2],i[a+3]),c=void 0;t.isRelative&&(s.translateWith(o),l.translateWith(o)),c=n?pa(n,o):o.clone(),n=s,e.curveTo(c,s,l),o.x=l.x,o.y=l.y}},q:function(e,t){for(var n=t.parameters,i=t.position,o=0;o<n.length;o+=4){var r=new ar(n[o],n[o+1]),a=new ar(n[o+2],n[o+3]);t.isRelative&&(r.translateWith(i),a.translateWith(i));var s=ma(i,r,a);e.curveTo(s.controlOut,s.controlIn,a),i.x=a.x,i.y=a.y}},t:function(e,t){var n,i=t.parameters,o=t.position,r=t.previousCommand;"q"!==r&&"t"!==r||(n=Mo(Mo(e.paths).segments).controlIn().clone().translateWith(o.scaleCopy(-1/3)).scale(1.5));for(var a=0;a<i.length;a+=2){var s=new ar(i[a],i[a+1]);t.isRelative&&s.translateWith(o),n=n?pa(n,o):o.clone();var l=ma(o,n,s);e.curveTo(l.controlOut,l.controlIn,s),o.x=s.x,o.y=s.y}}};function ha(e,t,n){for(var i=t?0:1,o=0;o<e.length;o+=2)e.splice(o+i,0,n)}function pa(e,t){if(e&&t)return t.scaleCopy(2).translate(-e.x,-e.y)}var fa=1/3;function ma(e,t,n){var i=t.clone().scale(2/3);return{controlOut:i.clone().translateWith(e.scaleCopy(fa)),controlIn:i.translateWith(n.scaleCopy(fa))}}var va=/([a-df-z]{1})([^a-df-z]*)(z)?/gi,ga=/[,\s]?([+\-]?(?:\d*\.\d+|\d+)(?:[eE][+\-]?\d+)?)/g;function _a(e,t){var n,i=new ar;return t.replace(va,(function(t,o,r,a){var s=o.toLowerCase(),l=s===o,c=function(e){var t=[];return e.replace(ga,(function(e,n){t.push(parseFloat(n))})),t}(r.trim());if("m"===s&&(l?(i.x+=c[0],i.y+=c[1]):(i.x=c[0],i.y=c[1]),e.moveTo(i.x,i.y),c.length>2&&(s="l",c.splice(0,2))),ua[s])ua[s](e,{parameters:c,position:i,isRelative:l,previousCommand:n}),a&&"z"===a.toLowerCase()&&e.close();else if("m"!==s)throw new Error("Error while parsing SVG path. Unsupported command: "+s);n=s})),e}function ba(e,t,n){for(var i,o=0;o<e.length;o++){var r=e[o];if(r.visible()){var a=t?r.bbox(n):r.rawBBox();a&&(i=i?lr.union(i,a):a)}}return i}function ya(e,t){for(var n,i=0;i<e.length;i++){var o=e[i];if(o.visible()){var r=o.clippedBBox(t);r&&(n=n?lr.union(n,r):r)}}return n}var wa=" ",ka=function(e){function t(t){e.call(this,t),this.segments=new Or,this.segments.addObserver(this),fo(this.options.stroke)||(this.stroke("#000"),fo(this.options.stroke.lineJoin)||this.options.set("stroke.lineJoin","miter"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};return n.nodeType.get=function(){return"Path"},t.prototype.moveTo=function(e,t){return this.suspend(),this.segments.elements([]),this.resume(),this.lineTo(e,t),this},t.prototype.lineTo=function(e,t){var n=fo(t)?new ar(e,t):e,i=new Yr(n);return this.segments.push(i),this},t.prototype.curveTo=function(e,t,n){if(this.segments.length>0){var i=Mo(this.segments),o=new Yr(n,t);this.suspend(),i.controlOut(e),this.resume(),this.segments.push(o)}return this},t.prototype.arc=function(e,t,n,i,o){if(this.segments.length>0){var r=Mo(this.segments).anchor(),a=Do(e),s=new ar(r.x-n*Math.cos(a),r.y-i*Math.sin(a)),l=new Mr(s,{startAngle:e,endAngle:t,radiusX:n,radiusY:i,anticlockwise:o});this._addArcSegments(l)}return this},t.prototype.arcTo=function(e,t,n,i,o,r){if(this.segments.length>0){var a=Mo(this.segments).anchor(),s=Mr.fromPoints(a,ar.create(e),t,n,i,o,r);this._addArcSegments(s)}return this},t.prototype._addArcSegments=function(e){this.suspend();for(var t=e.curvePoints(),n=1;n<t.length;n+=3)this.curveTo(t[n],t[n+1],t[n+2]);this.resume(),this.geometryChange()},t.prototype.close=function(){return this.options.closed=!0,this.geometryChange(),this},t.prototype.rawBBox=function(){return this._bbox()},t.prototype.toString=function(e){var t,n,i,o="",r=this.segments,a=r.length;if(a>0){for(var s,l=[],c=(i=e,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.map((function(e){return e.toString(i)})).join(wa)}),d=1;d<a;d++){var u=(t=r[d-1],n=r[d],t.controlOut()&&n.controlIn()?"C":"L");u!==s&&(s=u,l.push(u)),"L"===u?l.push(c(r[d].anchor())):l.push(c(r[d-1].controlOut(),r[d].controlIn(),r[d].anchor()))}o="M"+c(r[0].anchor())+wa+l.join(wa),this.options.closed&&(o+="Z")}return o},t.prototype._containsPoint=function(e){for(var t,n,i=this.segments,o=i.length,r=0,a=1;a<o;a++)t=i[a-1],n=i[a],r+=t._intersectionsTo(n,e);return!this.options.closed&&i[0].anchor().equals(i[o-1].anchor())||(r+=qr(i[0].anchor(),i[o-1].anchor(),e)),r%2!=0},t.prototype._isOnPath=function(e,t){var n=this.segments,i=n.length,o=t||this.options.stroke.width;if(i>1){if(n[0]._isOnPathTo(n[1],e,o,"start"))return!0;for(var r=2;r<=i-2;r++)if(n[r-1]._isOnPathTo(n[r],e,o))return!0;if(n[i-2]._isOnPathTo(n[i-1],e,o,"end"))return!0}return!1},t.prototype._bbox=function(e){var t,n=this.segments,i=n.length;if(1===i){var o=n[0].anchor().transformCopy(e);t=new lr(o,sr.ZERO)}else if(i>0)for(var r=1;r<i;r++){var a=n[r-1].bboxTo(n[r],e);t=t?lr.union(t,a):a}return t},t.parse=function(e,t){return xa.parse(e,t)},t.fromRect=function(e,n){var i=new t(n),o=e.cornerRadius,r=o[0],a=o[1];if(0===r&&0===a)i.moveTo(e.topLeft()).lineTo(e.topRight()).lineTo(e.bottomRight()).lineTo(e.bottomLeft()).close();else{var s=e.origin,l=s.x,c=s.y,d=e.width(),u=e.height();r=Io(r,0,d/2),a=Io(a,0,u/2),i.moveTo(l+r,c).lineTo(l+d-r,c).arcTo([l+d,c+a],r,a,!1).lineTo(l+d,c+u-a).arcTo([l+d-r,c+u],r,a,!1).lineTo(l+r,c+u).arcTo([l,c+u-a],r,a,!1).lineTo(l,c+a).arcTo([l+r,c],r,a,!1)}return i},t.fromPoints=function(e,n){if(e){for(var i=new t(n),o=0;o<e.length;o++){var r=ar.create(e[o]);r&&(0===o?i.moveTo(r):i.lineTo(r))}return i}},t.curveFromPoints=function(e,n){if(e){var i=Jr(e),o=new t(n);return o.segments.push.apply(o.segments,i),o}},t.fromArc=function(e,n){var i=new t(n),o=e.startAngle,r=e.pointAt(o);return i.moveTo(r.x,r.y),i.arc(o,e.endAngle,e.radiusX,e.radiusY,e.anticlockwise),i},Object.defineProperties(t.prototype,n),t}(br(wr(mr))),xa=function(e){function t(t){e.call(this,t),this.paths=new Or,this.paths.addObserver(this),fo(this.options.stroke)||this.stroke("#000")}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};return t.parse=function(e,n){return _a(new t(n),e)},t.prototype.toString=function(e){var t=this.paths,n="";if(t.length>0){for(var i=[],o=0;o<t.length;o++)i.push(t[o].toString(e));n=i.join(wa)}return n},n.nodeType.get=function(){return"MultiPath"},t.prototype.moveTo=function(e,t){var n=new ka;return n.moveTo(e,t),this.paths.push(n),this},t.prototype.lineTo=function(e,t){return this.paths.length>0&&Mo(this.paths).lineTo(e,t),this},t.prototype.curveTo=function(e,t,n){return this.paths.length>0&&Mo(this.paths).curveTo(e,t,n),this},t.prototype.arc=function(e,t,n,i,o){return this.paths.length>0&&Mo(this.paths).arc(e,t,n,i,o),this},t.prototype.arcTo=function(e,t,n,i,o,r){return this.paths.length>0&&Mo(this.paths).arcTo(e,t,n,i,o,r),this},t.prototype.close=function(){return this.paths.length>0&&Mo(this.paths).close(),this},t.prototype._bbox=function(e){return ba(this.paths,!0,e)},t.prototype.rawBBox=function(){return ba(this.paths,!1)},t.prototype._containsPoint=function(e){for(var t=this.paths,n=0;n<t.length;n++)if(t[n]._containsPoint(e))return!0;return!1},t.prototype._isOnPath=function(e){for(var t=this.paths,n=this.options.stroke.width,i=0;i<t.length;i++)if(t[i]._isOnPath(e,n))return!0;return!1},t.prototype._clippedBBox=function(e){return ya(this.paths,this.currentTransform(e))},Object.defineProperties(t.prototype,n),t}(br(wr(mr))),Ca=(function(e){function t(t,n){void 0===t&&(t=new Mr),void 0===n&&(n={}),e.call(this,n),this.geometry(t),fo(this.options.stroke)||this.stroke("#000")}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};n.nodeType.get=function(){return"Arc"},t.prototype._bbox=function(e){return this._geometry.bbox(e)},t.prototype.rawBBox=function(){return this.geometry().bbox()},t.prototype.toPath=function(){var e=new ka,t=this.geometry().curvePoints();if(t.length>0){e.moveTo(t[0].x,t[0].y);for(var n=1;n<t.length;n+=3)e.curveTo(t[n],t[n+1],t[n+2])}return e},t.prototype._containsPoint=function(e){return this.geometry().containsPoint(e)},t.prototype._isOnPath=function(e){return this.geometry()._isOnPath(e,this.options.stroke.width/2)},Object.defineProperties(t.prototype,n)}(br(wr(xr(mr)))),function(e){function t(t,n,i){void 0===n&&(n=new ar),void 0===i&&(i={}),e.call(this,i),this.content(t),this.position(n),this.options.font||(this.options.font="12px sans-serif"),fo(this.options.fill)||this.fill("#000")}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};return n.nodeType.get=function(){return"Text"},t.prototype.content=function(e){return fo(e)?(this.options.set("content",e),this):this.options.get("content")},t.prototype.measure=function(){return Jo(this.content(),{font:this.options.get("font")})},t.prototype.rect=function(){var e=this.measure(),t=this.position().clone();return new lr(t,[e.width,e.height])},t.prototype.bbox=function(e){var t=rr(this.currentTransform(e));return this.rect().bbox(t)},t.prototype.rawBBox=function(){return this.rect().bbox()},t.prototype._containsPoint=function(e){return this.rect().containsPoint(e)},Object.defineProperties(t.prototype,n),t}(br(Kr(mr,["position"])))),za=(function(e){function t(t,n,i){void 0===n&&(n=new lr),void 0===i&&(i={}),e.call(this,i),this.src(t),this.rect(n)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};n.nodeType.get=function(){return"Image"},t.prototype.src=function(e){return fo(e)?(this.options.set("src",e),this):this.options.get("src")},t.prototype.bbox=function(e){var t=rr(this.currentTransform(e));return this._rect.bbox(t)},t.prototype.rawBBox=function(){return this._rect.bbox()},t.prototype._containsPoint=function(e){return this._rect.containsPoint(e)},t.prototype._hasFill=function(){return this.src()},Object.defineProperties(t.prototype,n)}(xr(mr,["rect"])),function(e,t){return function(e){function n(){e.apply(this,arguments)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.traverse=function(e){for(var n=this[t],i=0;i<n.length;i++){var o=n[i];o.traverse?o.traverse(e):e(o)}return this},n}(e)}),Sa=function(e){function t(t){e.call(this,t),this.children=[]}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};return n.nodeType.get=function(){return"Group"},t.prototype.childrenChange=function(e,t,n){this.trigger("childrenChange",{action:e,items:t,index:n})},t.prototype.append=function(){return ho(this.children,arguments),this._reparent(arguments,this),this.childrenChange("add",arguments),this},t.prototype.insert=function(e,t){return this.children.splice(e,0,t),t.parent=this,this.childrenChange("add",[t],e),this},t.prototype.insertAt=function(e,t){return this.insert(t,e)},t.prototype.remove=function(e){var t=this.children.indexOf(e);return t>=0&&(this.children.splice(t,1),e.parent=null,this.childrenChange("remove",[e],t)),this},t.prototype.removeAt=function(e){if(0<=e&&e<this.children.length){var t=this.children[e];this.children.splice(e,1),t.parent=null,this.childrenChange("remove",[t],e)}return this},t.prototype.clear=function(){var e=this.children;return this.children=[],this._reparent(e,null),this.childrenChange("remove",e,0),this},t.prototype.bbox=function(e){return ba(this.children,!0,this.currentTransform(e))},t.prototype.rawBBox=function(){return ba(this.children,!1)},t.prototype._clippedBBox=function(e){return ya(this.children,this.currentTransform(e))},t.prototype.currentTransform=function(e){return mr.prototype.currentTransform.call(this,e)||null},t.prototype.containsPoint=function(e,t){if(this.visible())for(var n=this.children,i=this.currentTransform(t),o=0;o<n.length;o++)if(n[o].containsPoint(e,i))return!0;return!1},t.prototype._reparent=function(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=i.parent;o&&o!==this&&o.remove&&o.remove(i),i.parent=t}},Object.defineProperties(t.prototype,n),t}(za(mr,"children"));function Ta(e,t,n){var i=n.transform()||dr(),o=i.matrix();o.e+=e.x-t.origin.x,o.f+=e.y-t.origin.y,i.matrix(o),n.transform(i)}function Ma(e,t,n,i,o){return"start"===n?t.origin[i]:"end"===n?t.origin[i]+t.size[o]-e:t.origin[i]+(t.size[o]-e)/2}function Ia(e,t,n,i,o){return"start"===n?t.origin[i]+t.size[o]-e:"end"===n?t.origin[i]:t.origin[i]+(t.size[o]-e)/2}var Ha={alignContent:"start",justifyContent:"start",alignItems:"start",spacing:0,orientation:"horizontal",lineSpacing:0,wrap:!0,revers:!1},Da=function(e,t){e.forEach(t)},Ea=function(e,t){for(var n=e.length-1;n>=0;n--)t(e[n],n)};(function(e){function t(t,n){e.call(this,Object.assign({},Ha,n)),this._rect=t,this._fieldMap={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.rect=function(e){return e?(this._rect=e,this):this._rect},t.prototype._initMap=function(){var e=this.options,t=this._fieldMap;"horizontal"===e.orientation?(t.sizeField="width",t.groupsSizeField="height",t.groupAxis="x",t.groupsAxis="y"):(t.sizeField="height",t.groupsSizeField="width",t.groupAxis="y",t.groupsAxis="x"),e.reverse?(this.forEach=Ea,this.justifyAlign=Ia):(this.forEach=Da,this.justifyAlign=Ma)},t.prototype.reflow=function(){if(this._rect&&0!==this.children.length){this._initMap(),this.options.transform&&this.transform(null);for(var e,t,n,i=this.options,o=this._rect,r=this._initGroups(),a=r.groups,s=r.groupsSize,l=this._fieldMap,c=l.sizeField,d=l.groupsSizeField,u=l.groupAxis,h=l.groupsAxis,p=new ar,f=new ar,m=new sr,v=Ma(s,o,i.alignContent,h,d),g=function(o,r){var a=t.elements[r];f[u]=e,f[h]=Ma(o.size[d],n,i.alignItems,h,d),Ta(f,o,a),e+=o.size[c]+i.spacing},_=0;_<a.length;_++)t=a[_],p[u]=e=this.justifyAlign(t.size,o,i.justifyContent,u,c),p[h]=v,m[c]=t.size,m[d]=t.lineSize,n=new lr(p,m),this.forEach(t.bboxes,g),v+=t.lineSize+i.lineSpacing;if(!i.wrap&&t.size>o.size[c]){var b=o.size[c]/n.size[c],y=n.topLeft().scale(b,b),w=Ma(n.size[d]*b,o,i.alignContent,h,d),k=dr();"x"===u?k.translate(o.origin.x-y.x,w-y.y):k.translate(w-y.x,o.origin.y-y.y),k.scale(b,b),this.transform(k)}}},t.prototype._initGroups=function(){for(var e=this,t=this.options,n=this.children,i=t.lineSpacing,o=t.wrap,r=t.spacing,a=this._fieldMap.sizeField,s=this._newGroup(),l=[],c=function(){l.push(s),d+=s.lineSize+i},d=-i,u=0;u<n.length;u++){var h=n[u],p=n[u].clippedBBox();h.visible()&&p&&(o&&s.size+p.size[a]+r>e._rect.size[a]?0===s.bboxes.length?(e._addToGroup(s,p,h),c(),s=e._newGroup()):(c(),s=e._newGroup(),e._addToGroup(s,p,h)):e._addToGroup(s,p,h))}return s.bboxes.length&&c(),{groups:l,groupsSize:d}},t.prototype._addToGroup=function(e,t,n){e.size+=t.size[this._fieldMap.sizeField]+this.options.spacing,e.lineSize=Math.max(t.size[this._fieldMap.groupsSizeField],e.lineSize),e.bboxes.push(t),e.elements.push(n)},t.prototype._newGroup=function(){return{lineSize:0,size:-this.options.spacing,bboxes:[],elements:[]}}})(Sa),function(e){function t(t,n){void 0===t&&(t=new lr),void 0===n&&(n={}),e.call(this,n),this.geometry(t),fo(this.options.stroke)||this.stroke("#000")}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};n.nodeType.get=function(){return"Rect"},t.prototype._bbox=function(e){return this._geometry.bbox(e)},t.prototype.rawBBox=function(){return this._geometry.bbox()},t.prototype._containsPoint=function(e){return this._geometry.containsPoint(e)},t.prototype._isOnPath=function(e){return this.geometry()._isOnPath(e,this.options.stroke.width/2)},Object.defineProperties(t.prototype,n)}(br(wr(xr(mr))));var Aa=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype._change=function(){this.optionsChange({field:"stops"})},t}(Fr);function Va(e){return function(t){return fo(t)?(this.options.set(e,t),this):this.options.get(e)}}var Pa,Ba,Fa=function(e){function t(t,n,i){e.call(this),this.options=new tr({offset:t,color:n,opacity:fo(i)?i:1}),this.options.addObserver(this)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.create=function(e){if(fo(e))return e instanceof t?e:e.length>1?new t(e[0],e[1],e[2]):new t(e.offset,e.color,e.opacity)},t}((Pa=["offset","color","opacity"],Ba=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(uo),function(e,t){for(var n=0;n<t.length;n++)e[t[n]]=Va(t[n])}(Ba.prototype,Pa),Ba)),Oa=function(e){function t(t){void 0===t&&(t={}),e.call(this),this.stops=new Aa(this._createStops(t.stops)),this.stops.addObserver(this),this._userSpace=t.userSpace,this.id=vo()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};return n.nodeType.get=function(){return"Gradient"},t.prototype.userSpace=function(e){return fo(e)?(this._userSpace=e,this.optionsChange(),this):this._userSpace},t.prototype._createStops=function(e){void 0===e&&(e=[]);for(var t=[],n=0;n<e.length;n++)t.push(Fa.create(e[n]));return t},t.prototype.addStop=function(e,t,n){this.stops.push(new Fa(e,t,n))},t.prototype.removeStop=function(e){var t=this.stops.indexOf(e);t>=0&&this.stops.splice(t,1)},t.prototype.optionsChange=function(e){this.trigger("optionsChange",{field:"gradient"+(e?"."+e.field:""),value:this})},t.prototype.geometryChange=function(){this.optionsChange()},Object.defineProperties(t.prototype,n),t}(uo),La=function(e){function t(t){void 0===t&&(t={}),e.call(this,t),this.start(t.start||new ar),this.end(t.end||new ar(1,0))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Kr(Oa,["start","end"])),Ra=function(e){function t(t){void 0===t&&(t={}),e.call(this,t),this.center(t.center||new ar),this._radius=fo(t.radius)?t.radius:1,this._fallbackFill=t.fallbackFill}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.radius=function(e){return fo(e)?(this._radius=e,this.geometryChange(),this):this._radius},t.prototype.fallbackFill=function(e){return fo(e)?(this._fallbackFill=e,this.optionsChange(),this):this._fallbackFill},t}(Kr(Oa,["center"]));!function(e){function t(t){e.call(this);var n=t.width,i=t.height;this._size=sr.create([n,i]),this.id=vo()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={nodeType:{configurable:!0}};n.nodeType.get=function(){return fr},t.prototype.size=function(e){return e?(this._size=sr.create(e),this):this._size},Object.defineProperties(t.prototype,n)}(Sa);var Na,Ua,ja=Object.freeze({__proto__:null,easeOutElastic:function(e,t,n,i){var o=1.70158,r=0,a=i;return 0===e?n:1===e?n+i:(r||(r=.5),a<Math.abs(i)?(a=i,o=r/4):o=r/(2*Math.PI)*Math.asin(i/a),a*Math.pow(2,-10*e)*Math.sin((Number(e)-o)*(1.1*Math.PI)/r)+i+n)},linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}}),Wa=function(e){function t(){e.call(this),this._items=[]}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={current:{configurable:!0}};return n.current.get=function(){return Na||(Na=new t),Na},t.prototype.register=function(e,t){this._items.push({name:e,type:t})},t.prototype.create=function(e,t){var n,i=this._items;if(t&&t.type)for(var o=t.type.toLowerCase(),r=0;r<i.length;r++)if(i[r].name.toLowerCase()===o){n=i[r];break}if(n)return new n.type(e,t)},Object.defineProperties(t,n),t}(Vi),$a=(function(e){function t(t,n){e.call(this),this.options=Object.assign({},this.options,n),this.element=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={options:{configurable:!0}};t.create=function(e,t,n){return Wa.current.create(e,t,n)},n.options.get=function(){return this._options||{duration:500,easing:"swing"}},n.options.set=function(e){this._options=e},t.prototype.setup=function(){},t.prototype.step=function(){},t.prototype.play=function(){var e=this,t=this.options,n=t.duration,i=t.delay;void 0===i&&(i=0);var o=ja[t.easing],r=Qi()+i,a=r+n;0===n?(this.step(1),this.abort()):setTimeout((function(){var t=function(){if(!e._stopped){var i=Qi(),s=Io(i-r,0,n),l=o(s/n,s,0,1,n);e.step(l),i<a?Ni(t):e.abort()}};t()}),i)},t.prototype.abort=function(){this._stopped=!0},t.prototype.destroy=function(){this.abort()},Object.defineProperties(t.prototype,n)}(Vi),function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={current:{configurable:!0}};n.current.get=function(){return Ua||(Ua=new t),Ua},t.prototype.parse=function(e,t){return _a(new xa(t),e)},Object.defineProperties(t,n)}(Vi),function(e){function t(t){e.call(this),this.childNodes=[],this.parent=null,t&&(this.srcElement=t,this.observe())}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.destroy=function(){this.srcElement&&this.srcElement.removeObserver(this);for(var e=this.childNodes,t=0;t<e.length;t++)this.childNodes[t].destroy();this.parent=null},t.prototype.load=function(){},t.prototype.observe=function(){this.srcElement&&this.srcElement.addObserver(this)},t.prototype.append=function(e){this.childNodes.push(e),e.parent=this},t.prototype.insertAt=function(e,t){this.childNodes.splice(t,0,e),e.parent=this},t.prototype.remove=function(e,t){for(var n=e+t,i=e;i<n;i++)this.childNodes[i].removeSelf();this.childNodes.splice(e,t)},t.prototype.removeSelf=function(){this.clear(),this.destroy()},t.prototype.clear=function(){this.remove(0,this.childNodes.length)},t.prototype.invalidate=function(){this.parent&&this.parent.invalidate()},t.prototype.geometryChange=function(){this.invalidate()},t.prototype.optionsChange=function(){this.invalidate()},t.prototype.childrenChange=function(e){"add"===e.action?this.load(e.items,e.index):"remove"===e.action&&this.remove(e.index,e.items.length),this.invalidate()},t}(Vi)),qa=["click","mouseenter","mouseleave","mousemove","resize"],Ga=function(e){function t(t,n){e.call(this),this.options=Object.assign({},n),this.element=t,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 Sa,Oo(t,this.options),this.bind(qa,this.options),this._enableTracking()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.draw=function(e){this._visual.children.push(e)},t.prototype.clear=function(){this._visual.children=[]},t.prototype.destroy=function(){this._visual=null,this.element._kendoExportVisual=null,this.unbind()},t.prototype.eventTarget=function(e){for(var t,n=So(e);!t&&n&&(t=n._kendoNode,n!==this.element);)n=n.parentElement;if(t)return t.srcElement},t.prototype.exportVisual=function(){return this._visual},t.prototype.getSize=function(){return Oo(this.element)},t.prototype.currentSize=function(e){if(!e)return this._size;this._size=e},t.prototype.setSize=function(e){Oo(this.element,e),this.currentSize(e),this._resize()},t.prototype.resize=function(e){var t=this.getSize(),n=this.currentSize();(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this.currentSize(t),this._resize(t,e),this.trigger("resize",t))},t.prototype.size=function(e){if(!e)return this.getSize();this.setSize(e)},t.prototype.suspendTracking=function(){this._suspendedTracking=!0},t.prototype.resumeTracking=function(){this._suspendedTracking=!1},t.prototype._enableTracking=function(){},t.prototype._resize=function(){},t.prototype._handler=function(e){var t=this;return function(n){var i=t.eventTarget(n);i&&!t._suspendedTracking&&t.trigger(e,{element:i,originalEvent:n,type:e})}},t.prototype._elementOffset=function(){var e=this.element,t=Ro(e),n=Po(e),i=n.left,o=n.top;return{left:i+t.left,top:o+t.top}},t.prototype._surfacePoint=function(e){var t=this._elementOffset(),n=zo(e),i=n.x-t.left,o=n.y-t.top,r=Wo(this.element).invert();return new ar(i,o).transform(r)},t}(Pi);function Ka(e,t){return fo(t)&&null!==t?" "+e+'="'+t+'" ':""}function Ya(e){for(var t="",n=0;n<e.length;n++)t+=Ka(e[n][0],e[n][1]);return t}function Qa(e){for(var t="",n=0;n<e.length;n++){var i=e[n][1];fo(i)&&(t+=e[n][0]+":"+i+";")}if(""!==t)return t}var Xa={},Za=function(e,t){var n=Tt(t);Object.keys(n).forEach((function(t){e.style[t]=n[t]}))},Ja="data-style",es=function(e){return(e||"").replace(/\sstyle=/g," "+Ja+"=")},ts=function(e){Array.from(e.querySelectorAll("["+Ja+"]")).forEach((function(e){var t=e.getAttribute(Ja);e.removeAttribute(Ja),Za(e,t)}))},ns=function(e,t){e.innerHTML=es(t),ts(e)},is="http://www.w3.org/2000/svg",os="none",rs=function(e,t){ns(e,t)};if("undefined"!=typeof document){var as="<svg xmlns='"+is+"'></svg>",ss=document.createElement("div"),ls="undefined"!=typeof DOMParser;ss.innerHTML=as,ls&&ss.firstChild.namespaceURI!==is&&(rs=function(e,t){var n=(new DOMParser).parseFromString(es(t),"text/xml");ts(n);var i=document.adoptNode(n.documentElement);e.innerHTML="",e.appendChild(i)})}var cs=rs,ds="transform",us={clip:"clip-path",fill:"fill"};function hs(e,t){return"clip"===e||"fill"===e&&(!t||"Gradient"===t.nodeType||t.nodeType===fr)}var ps=function(e){function t(t,n){e.call(this,t),this.definitions={},this.options=n}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.destroy=function(){this.element&&(this.element._kendoNode=null,this.element=null),this.clearDefinitions(),e.prototype.destroy.call(this)},t.prototype.load=function(e,t){for(var n=this,i=0;i<e.length;i++){var o=e[i],r=o.children,a=new Xa[o.nodeType](o,n.options);fo(t)?n.insertAt(a,t):n.append(a),a.createDefinitions(),r&&r.length>0&&a.load(r);var s=n.element;s&&a.attachTo(s,t)}},t.prototype.root=function(){for(var e=this;e.parent;)e=e.parent;return e},t.prototype.attachTo=function(e,t){var n=document.createElement("div");cs(n,"<svg xmlns='"+is+"' version='1.1'>"+this.render()+"</svg>");var i=n.firstChild.firstChild;i&&(fo(t)?e.insertBefore(i,e.childNodes[t]||null):e.appendChild(i),this.setElement(i))},t.prototype.setElement=function(e){this.element&&(this.element._kendoNode=null),this.element=e,this.element._kendoNode=this;for(var t=this.childNodes,n=0;n<t.length;n++){var i=e.childNodes[n];t[n].setElement(i)}},t.prototype.clear=function(){this.clearDefinitions(),this.element&&(this.element.innerHTML="");for(var e=this.childNodes,t=0;t<e.length;t++)e[t].destroy();this.childNodes=[]},t.prototype.removeSelf=function(){if(this.element){var t=this.element.parentNode;t&&t.removeChild(this.element),this.element=null}e.prototype.removeSelf.call(this)},t.prototype.template=function(){return this.renderChildren()},t.prototype.render=function(){return this.template()},t.prototype.renderChildren=function(){for(var e=this.childNodes,t="",n=0;n<e.length;n++)t+=e[n].render();return t},t.prototype.optionsChange=function(t){var n=t.field,i=t.value;"visible"===n?this.css("display",i?"":os):us[n]&&hs(n,i)?this.updateDefinition(n,i):"opacity"===n?this.attr("opacity",i):"cursor"===n?this.css("cursor",i):"id"===n&&(i?this.attr("id",i):this.removeAttr("id")),e.prototype.optionsChange.call(this,t)},t.prototype.accessibilityOptionsChange=function(e){var t=e.field,n=e.value;"role"===t?n?this.attr("role",n):this.removeAttr("role"):"ariaLabel"===t?n?this.attr("aria-label",Gi(n)):this.removeAttr("aria-label"):"ariaRoleDescription"===t?n?this.attr("aria-roledescription",Gi(n)):this.removeAttr("aria-roledescription"):"ariaChecked"===t?fo(n)?this.attr("aria-checked",n):this.removeAttr("aria-checked"):"className"===t&&this.className(n)},t.prototype.attr=function(e,t){this.element&&this.element.setAttribute(e,t)},t.prototype.allAttr=function(e){for(var t=0;t<e.length;t++)this.attr(e[t][0],e[t][1])},t.prototype.toggleAttr=function(e,t){t?this.attr(e,t):this.removeAttr(e)},t.prototype.css=function(e,t){this.element&&(this.element.style[e]=t)},t.prototype.allCss=function(e){for(var t=0;t<e.length;t++)this.css(e[t][0],e[t][1])},t.prototype.className=function(e){var t,n=this;this.element&&((t=this.element.classList).remove.apply(t,this.element.classList),e.split(" ").forEach((function(e){n.element.classList.add(e)})))},t.prototype.removeAttr=function(e){this.element&&this.element.removeAttribute(e)},t.prototype.mapTransform=function(e){var t=[];return e&&t.push([ds,"matrix("+e.matrix().toString(6)+")"]),t},t.prototype.renderTransform=function(){return Ya(this.mapTransform(this.srcElement.transform()))},t.prototype.transformChange=function(e){e?this.allAttr(this.mapTransform(e)):this.removeAttr(ds)},t.prototype.mapStyle=function(){var e=this.srcElement.options,t=[["cursor",e.cursor]];return!1===e.visible&&t.push(["display",os]),t},t.prototype.renderStyle=function(){return Ka("style",Qa(this.mapStyle(!0)))},t.prototype.renderOpacity=function(){return Ka("opacity",this.srcElement.options.opacity)},t.prototype.renderId=function(){return Ka("id",this.srcElement.options.id)},t.prototype.renderClassName=function(){return Ka("class",this.srcElement.options.className)},t.prototype.renderRole=function(){return Ka("role",this.srcElement.options.role)},t.prototype.renderAriaLabel=function(){var e=this.srcElement.options.ariaLabel;return e&&(e=Gi(e)),Ka("aria-label",e)},t.prototype.renderAriaRoleDescription=function(){var e=this.srcElement.options.ariaRoleDescription;return e&&(e=Gi(e)),Ka("aria-roledescription",e)},t.prototype.renderAriaChecked=function(){return Ka("aria-checked",this.srcElement.options.ariaChecked)},t.prototype.createDefinitions=function(){var e=this.srcElement,t=this.definitions;if(e){var n,i=e.options;for(var o in us){var r=i.get(o);r&&hs(o,r)&&(t[o]=r,n=!0)}n&&this.definitionChange({action:"add",definitions:t})}},t.prototype.definitionChange=function(e){this.parent&&this.parent.definitionChange(e)},t.prototype.updateDefinition=function(e,t){var n=this.definitions,i=n[e],o=us[e],r={};i&&(r[e]=i,this.definitionChange({action:"remove",definitions:r}),delete n[e]),t?(r[e]=t,this.definitionChange({action:"add",definitions:r}),n[e]=t,this.attr(o,this.refUrl(t.id))):i&&this.removeAttr(o)},t.prototype.clearDefinitions=function(){var e=this.definitions;this.definitionChange({action:"remove",definitions:e}),this.definitions={}},t.prototype.renderDefinitions=function(){return Ya(this.mapDefinitions())},t.prototype.mapDefinitions=function(){var e=this.definitions,t=[];for(var n in e)t.push([us[n],this.refUrl(e[n].id)]);return t},t.prototype.refUrl=function(e){var t=(this.options||{}).skipBaseHref,n=this.baseUrl().replace(/'/g,"\\'");return"url("+(t?"":n)+"#"+e+")"},t.prototype.baseUrl=function(){return function(){var e=document.getElementsByTagName("base")[0],t=document.location.href,n="";if(e&&!(Yi.browser||{}).msie){var i=t.indexOf("#");-1!==i&&(t=t.substring(0,i)),n=t}return n}()},t}($a),fs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.template=function(){return"<stop "+this.renderOffset()+" "+this.renderStyle()+" />"},t.prototype.renderOffset=function(){return Ka("offset",this.srcElement.offset())},t.prototype.mapStyle=function(){var e=this.srcElement;return[["stop-color",e.color()],["stop-opacity",e.opacity()]]},t.prototype.optionsChange=function(e){"offset"===e.field?this.attr(e.field,e.value):"color"!==e.field&&"opacity"!==e.field||this.css("stop-"+e.field,e.value)},t}(ps),ms=function(e){function t(t){e.call(this,t),this.id=t.id,this.loadStops()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.loadStops=function(){for(var e=this.srcElement.stops,t=this.element,n=0;n<e.length;n++){var i=new fs(e[n]);this.append(i),t&&i.attachTo(t)}},t.prototype.optionsChange=function(e){"gradient.stops"===e.field?($a.prototype.clear.call(this),this.loadStops()):"gradient"===e.field&&this.allAttr(this.mapCoordinates())},t.prototype.renderCoordinates=function(){return Ya(this.mapCoordinates())},t.prototype.mapSpace=function(){return["gradientUnits",this.srcElement.userSpace()?"userSpaceOnUse":"objectBoundingBox"]},t}(ps),vs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.template=function(){return"<linearGradient id='"+this.id+"' "+this.renderCoordinates()+">"+this.renderChildren()+"</linearGradient>"},t.prototype.mapCoordinates=function(){var e=this.srcElement,t=e.start(),n=e.end();return[["x1",t.x],["y1",t.y],["x2",n.x],["y2",n.y],this.mapSpace()]},t}(ms),gs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.template=function(){return"<radialGradient id='"+this.id+"' "+this.renderCoordinates()+">"+this.renderChildren()+"</radialGradient>"},t.prototype.mapCoordinates=function(){var e=this.srcElement,t=e.center(),n=e.radius();return[["cx",t.x],["cy",t.y],["r",n],this.mapSpace()]},t}(ms),_s=function(e){function t(t){e.call(this,t),this.id=t.id,this.load(t.children)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.template=function(){var e=this.srcElement.size().getWidth(),t=this.srcElement.size().getHeight();return"<pattern id='"+this.srcElement.id+"' width='"+e+"' height='"+t+"' patternUnits='userSpaceOnUse'>"+this.renderChildren()+"</pattern>"},t}(ps),bs=function(e){function t(t){e.call(this),this.srcElement=t,this.id=t.id,this.load([t])}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderClipRule=function(){return Ka("clip-rule","evenodd")},t.prototype.template=function(){return"<clipPath "+this.renderClipRule()+" id='"+this.id+"'>"+this.renderChildren()+"</clipPath>"},t}(ps),ys=function(e){function t(){e.call(this),this.definitionMap={}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.attachTo=function(e){this.element=e},t.prototype.template=function(){return"<defs>"+this.renderChildren()+"</defs>"},t.prototype.definitionChange=function(e){var t=e.definitions,n=e.action;"add"===n?this.addDefinitions(t):"remove"===n&&this.removeDefinitions(t)},t.prototype.createDefinition=function(e,t){var n;return"clip"===e?n=bs:"fill"===e&&(t instanceof La?n=vs:t instanceof Ra?n=gs:t.nodeType===fr&&(n=_s)),new n(t)},t.prototype.addDefinitions=function(e){for(var t in e)this.addDefinition(t,e[t])},t.prototype.addDefinition=function(e,t){var n=this.element,i=this.definitionMap,o=t.id,r=i[o];if(r)r.count++;else{var a=this.createDefinition(e,t);i[o]={element:a,count:1},this.append(a),n&&a.attachTo(this.element)}},t.prototype.removeDefinitions=function(e){for(var t in e)this.removeDefinition(e[t])},t.prototype.removeDefinition=function(e){var t=this.definitionMap,n=e.id,i=t[n];i&&(i.count--,0===i.count&&(this.remove(this.childNodes.indexOf(i.element),1),delete t[n]))},t}(ps),ws=function(e){function t(t){e.call(this),this.options=t,this.defs=new ys}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.attachTo=function(e){this.element=e,this.defs.attachTo(e.firstElementChild)},t.prototype.clear=function(){$a.prototype.clear.call(this)},t.prototype.template=function(){return this.defs.render()+this.renderChildren()},t.prototype.definitionChange=function(e){this.defs.definitionChange(e)},t}(ps),ks={"fill.opacity":"fill-opacity","stroke.color":"stroke","stroke.width":"stroke-width","stroke.opacity":"stroke-opacity"},xs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.geometryChange=function(){this.attr("d",this.renderData()),this.invalidate()},t.prototype.optionsChange=function(t){switch(t.field){case"fill":t.value?this.allAttr(this.mapFill(t.value)):this.removeAttr("fill");break;case"fill.color":this.allAttr(this.mapFill({color:t.value}));break;case"stroke":t.value?this.allAttr(this.mapStroke(t.value)):this.removeAttr("stroke");break;case"transform":this.transformChange(t.value);break;default:var n=ks[t.field];n&&this.attr(n,t.value)}this.accessibilityOptionsChange(t),e.prototype.optionsChange.call(this,t)},t.prototype.content=function(){this.element&&(this.element.textContent=this.srcElement.content())},t.prototype.renderData=function(){return this.srcElement.toString(3)||void 0},t.prototype.mapStroke=function(e){var t=[];return e&&!To(e.color)?(t.push(["stroke",e.color]),t.push(["stroke-width",e.width]),t.push(["stroke-linecap",this.renderLinecap(e)]),t.push(["stroke-linejoin",e.lineJoin]),fo(e.opacity)&&t.push(["stroke-opacity",e.opacity]),fo(e.dashType)&&t.push(["stroke-dasharray",this.renderDashType(e)])):t.push(["stroke",os]),t},t.prototype.renderStroke=function(){return Ya(this.mapStroke(this.srcElement.options.stroke))},t.prototype.renderDashType=function(e){var t=e.dashType,n=e.width;if(void 0===n&&(n=1),t&&t!==hr){for(var i=ur[t.toLowerCase()],o=[],r=0;r<i.length;r++)o.push(i[r]*n);return o.join(" ")}},t.prototype.renderLinecap=function(e){var t=e.dashType,n=e.lineCap;return t&&t!==hr?pr:n},t.prototype.mapFill=function(e){var t=[];return(!e||"Gradient"!==e.nodeType&&e.nodeType!==fr)&&(e&&!To(e.color)?(t.push(["fill",e.color]),fo(e.opacity)&&t.push(["fill-opacity",e.opacity])):t.push(["fill",os])),t},t.prototype.renderFill=function(){return Ya(this.mapFill(this.srcElement.options.fill))},t.prototype.template=function(){return"<path "+this.renderId()+" "+this.renderStyle()+" "+this.renderOpacity()+" "+Ka("d",this.renderData())+this.renderStroke()+this.renderFill()+this.renderDefinitions()+this.renderTransform()+this.renderClassName()+" "+this.renderRole()+this.renderAriaLabel()+" "+this.renderAriaRoleDescription()+this.renderAriaChecked()+" ></path>"},t}(ps),Cs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderData=function(){return this.srcElement.toPath().toString(3)},t}(xs),zs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.geometryChange=function(){var e=this.center();this.attr("cx",e.x),this.attr("cy",e.y),this.attr("r",this.radius()),this.invalidate()},t.prototype.center=function(){return this.srcElement.geometry().center},t.prototype.radius=function(){return this.srcElement.geometry().radius},t.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.renderAriaChecked()+" "+this.renderTransform()+" ></circle>"},t}(xs),Ss=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.template=function(){return"<g"+(this.renderId()+this.renderTransform()+this.renderClassName()+this.renderStyle()+this.renderOpacity()+this.renderRole()+this.renderAriaLabel()+this.renderAriaRoleDescription()+this.renderAriaChecked()+this.renderDefinitions())+">"+this.renderChildren()+"</g>"},t.prototype.optionsChange=function(t){var n=t.field,i=t.value;"transform"===n&&this.transformChange(i),this.accessibilityOptionsChange(t),e.prototype.optionsChange.call(this,t)},t}(ps),Ts=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.geometryChange=function(){this.allAttr(this.mapPosition()),this.invalidate()},t.prototype.optionsChange=function(t){"src"===t.field&&this.allAttr(this.mapSource()),e.prototype.optionsChange.call(this,t)},t.prototype.mapPosition=function(){var e=this.srcElement.rect(),t=e.topLeft();return[["x",t.x],["y",t.y],["width",e.width()+"px"],["height",e.height()+"px"]]},t.prototype.renderPosition=function(){return Ya(this.mapPosition())},t.prototype.mapSource=function(e){var t=this.srcElement.src();return e&&(t=Gi(t)),[["xlink:href",t]]},t.prototype.renderSource=function(){return Ya(this.mapSource(!0))},t.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()+this.renderAriaChecked()+" ></image>"},t}(xs),Ms=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderData=function(){return this.srcElement.toString(3)||"undefined"},t}(xs),Is=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.geometryChange=function(){var e=this.srcElement.geometry();this.attr("x",e.origin.x),this.attr("y",e.origin.y),this.attr("width",e.size.width),this.attr("height",e.size.height),this.attr("rx",e.cornerRadius[0]),this.attr("ry",e.cornerRadius[1]),this.invalidate()},t.prototype.size=function(){return this.srcElement.geometry().size},t.prototype.origin=function(){return this.srcElement.geometry().origin},t.prototype.rx=function(){return this.srcElement.geometry().cornerRadius[0]},t.prototype.ry=function(){return this.srcElement.geometry().cornerRadius[1]},t.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()+this.renderAriaChecked()+" />"},t}(xs),Hs=/&(?:[a-zA-Z]+|#\d+);/g;function Ds(e){if(!e||"string"!=typeof e||!Hs.test(e))return e;var t=Ds._element;return Hs.lastIndex=0,e.replace(Hs,(function(e){return t.innerHTML=e,t.textContent||t.innerText}))}"undefined"!=typeof document&&(Ds._element=document.createElement("span"));var Es=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.geometryChange=function(){var e=this.pos();this.attr("x",e.x),this.attr("y",e.y),this.invalidate()},t.prototype.optionsChange=function(t){"font"===t.field?(this.attr("style",Qa(this.mapStyle())),this.geometryChange()):"content"===t.field&&e.prototype.content.call(this,this.srcElement.content()),e.prototype.optionsChange.call(this,t)},t.prototype.mapStyle=function(t){var n=e.prototype.mapStyle.call(this,t),i=this.srcElement.options.font;return t&&(i=Gi(i)),n.push(["font",i],["white-space","pre"]),n},t.prototype.pos=function(){var e=this.srcElement.position(),t=this.srcElement.measure();return e.clone().setY(e.y+t.baseline)},t.prototype.renderContent=function(){var e=this.srcElement.content();return Go(e=Gi(e=Ds(e)))},t.prototype.renderTextAnchor=function(){var e;return!(this.options||{}).rtl||Yi.browser.msie||Yi.browser.edge||(e="end"),Ka("text-anchor",e)},t.prototype.renderPaintOrder=function(){var e=this.srcElement.options.paintOrder;return e?Ka("paint-order",e):""},t.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.renderPaintOrder()+this.renderFill()+this.renderClassName()+" "+this.renderRole()+this.renderAriaLabel()+" "+this.renderAriaRoleDescription()+this.renderAriaChecked()+">"+this.renderContent()+"</text>"},t}(xs);Xa.Arc=Cs,Xa.Circle=zs,Xa.Group=Ss,Xa.Image=Ts,Xa.MultiPath=Ms,Xa.Path=xs,Xa.Rect=Is,Xa.Text=Es;var As=function(e){function t(t,n){e.call(this,t,n),this._root=new ws(Object.assign({rtl:"rtl"===Bo(t,"direction").direction},this.options)),cs(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(e){var t;try{t=e.getScreenCTM?e.getScreenCTM():null}catch(e){}if(t){var n=-t.e%1,i=-t.f%1,o=e.style;0===n&&0===i||(o.left=n+"px",o.top=i+"px")}}(this._rootElement),this._root.attachTo(this._rootElement),Vo(this.element,{click:this._click,mouseover:this._mouseenter,mouseout:this._mouseleave,mousemove:this._mousemove}),this.resize()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={type:{configurable:!0}};return n.type.get=function(){return"svg"},t.prototype.destroy=function(){this._root&&(this._root.destroy(),this._root=null,this._rootElement=null,Lo(this.element,{click:this._click,mouseover:this._mouseenter,mouseout:this._mouseleave,mousemove:this._mousemove})),e.prototype.destroy.call(this)},t.prototype.translate=function(e){var t=Math.round(e.x)+" "+Math.round(e.y)+" "+this._size.width+" "+this._size.height;this._offset=e,this._rootElement.setAttribute("viewBox",t)},t.prototype.draw=function(t){e.prototype.draw.call(this,t),this._root.load([t])},t.prototype.clear=function(){e.prototype.clear.call(this),this._root.clear()},t.prototype.svg=function(){return"<?xml version='1.0' ?>"+this._template()},t.prototype.exportVisual=function(){var e=this._visual,t=this._offset;if(t){var n=new Sa;n.children.push(e),n.transform(dr().translate(-t.x,-t.y)),e=n}return e},t.prototype._resize=function(){this._offset&&this.translate(this._offset)},t.prototype._template=function(e){return"<svg "+("string"==typeof e?e:"style='width: 100%; height: 100%; overflow: hidden;' ")+"xmlns='"+is+"' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'>"+this._root.render()+"</svg>"},Object.defineProperties(t.prototype,n),t}(Ga),Vs={},Ps=function(e){function t(t){e.call(this,t),t&&this.initClip()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initClip=function(){var e=this.srcElement.clip();e&&(this.clip=e,e.addObserver(this))},t.prototype.clear=function(){this.srcElement&&this.srcElement.removeObserver(this),this.clearClip(),e.prototype.clear.call(this)},t.prototype.clearClip=function(){this.clip&&(this.clip.removeObserver(this),delete this.clip)},t.prototype.setClip=function(e){this.clip&&(e.beginPath(),new Vs[this.clip.nodeType](this.clip).renderPoints(e,this.clip),e.clip("evenodd"))},t.prototype.optionsChange=function(t){"clip"===t.field&&(this.clearClip(),this.initClip()),e.prototype.optionsChange.call(this,t)},t.prototype.setTransform=function(e){if(this.srcElement){var t=this.srcElement.transform();t&&e.transform.apply(e,t.matrix().toArray(6))}},t.prototype.loadElements=function(e,t,n){for(var i=0;i<e.length;i++){var o=e[i],r=o.children,a=new Vs[o.nodeType](o,n);r&&r.length>0&&a.load(r,t,n),fo(t)?this.insertAt(a,t):this.append(a)}},t.prototype.load=function(e,t,n){this.loadElements(e,t,n),this.invalidate()},t.prototype.setOpacity=function(e){if(this.srcElement){var t=this.srcElement.opacity();fo(t)&&this.globalAlpha(e,t)}},t.prototype.globalAlpha=function(e,t){var n=t;n&&e.globalAlpha&&(n*=e.globalAlpha),e.globalAlpha=n},t.prototype.visible=function(){var e=this.srcElement;return!e||e&&!1!==e.options.visible},t}($a),Bs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderTo=function(e){if(this.visible()){e.save(),this.setTransform(e),this.setClip(e),this.setOpacity(e);for(var t=this.childNodes,n=0;n<t.length;n++){var i=t[n];i.visible()&&i.renderTo(e)}e.restore()}},t}(za(Ps,"childNodes")),Fs=1e3/60,Os=function(e){function t(t,n){e.call(this),this.canvas=t,this.size=n,this.ctx=t.getContext("2d");var i=this._invalidate.bind(this);this.invalidate=function(e,t){var n,i=0;if(!t||t<=0)return e;var o=function(){var o=Qi()-i,r=arguments,a=function(){e.apply(null,r),i=Qi()};if(!i)return a();n&&clearTimeout(n),o>t?a():n=setTimeout(a,t-o)};return o.cancel=function(){clearTimeout(n)},o}((function(){Ni(i)}),Fs)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.destroy=function(){e.prototype.destroy.call(this),this.canvas=null,this.ctx=null},t.prototype.load=function(e,t,n){this.loadElements(e,t,n),this._invalidate()},t.prototype._rescale=function(e){var t=this.canvas,n=this.size;t.width=n.width*e,t.height=n.height*e,this.ctx.scale(e,e)},t.prototype._devicePixelRatio=function(){return"number"==typeof window.devicePixelRatio?window.devicePixelRatio:1},t.prototype._invalidate=function(e){if(this.ctx){var t=e&&e.fixedScale?1:this._devicePixelRatio();this._rescale(t),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.renderTo(this.ctx)}},t}(za(Bs,"childNodes")),Ls=function(e){function t(){e.call(this),this.shapes=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype._add=function(e,t){this.shapes.push({bbox:t,shape:e}),e._quadNode=this},t.prototype.pointShapes=function(e){for(var t=this.shapes,n=t.length,i=[],o=0;o<n;o++)t[o].bbox.containsPoint(e)&&i.push(t[o].shape);return i},t.prototype.insert=function(e,t){this._add(e,t)},t.prototype.remove=function(e){for(var t=this.shapes,n=t.length,i=0;i<n;i++)if(t[i].shape===e){t.splice(i,1);break}},t}(Vi),Rs=function(e){function t(t){e.call(this),this.children=[],this.rect=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.inBounds=function(e){var t=this.rect,n=t.bottomRight(),i=e.bottomRight(),o=t.origin.x<=e.origin.x&&t.origin.y<=e.origin.y&&i.x<=n.x&&i.y<=n.y;return o},t.prototype.pointShapes=function(t){for(var n=this.children,i=n.length,o=e.prototype.pointShapes.call(this,t),r=0;r<i;r++)ho(o,n[r].pointShapes(t));return o},t.prototype.insert=function(e,t){var n=this.children,i=!1;if(this.inBounds(t)){if(this.shapes.length<4)this._add(e,t);else{n.length||this._initChildren();for(var o=0;o<n.length;o++)if(n[o].insert(e,t)){i=!0;break}i||this._add(e,t)}i=!0}return i},t.prototype._initChildren=function(){var e=this.rect,n=this.children,i=e.center(),o=e.width()/2,r=e.height()/2;n.push(new t(new lr([e.origin.x,e.origin.y],[o,r])),new t(new lr([i.x,e.origin.y],[o,r])),new t(new lr([e.origin.x,i.y],[o,r])),new t(new lr([i.x,i.y],[o,r])))},t}(Ls),Ns=3e3,Us=function(e){function t(){e.call(this),this.initRoots()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initRoots=function(){this.rootMap={},this.root=new Ls,this.rootElements=[]},t.prototype.clear=function(){for(var e=this.rootElements,t=0;t<e.length;t++)this.remove(e[t]);this.initRoots()},t.prototype.pointShape=function(e){var t=(this.rootMap[Math.floor(e.x/Ns)]||{})[Math.floor(e.y/Ns)],n=this.root.pointShapes(e);t&&(n=n.concat(t.pointShapes(e))),this.assignZindex(n),n.sort(js);for(var i=0;i<n.length;i++)if(n[i].containsPoint(e))return n[i]},t.prototype.assignZindex=function(e){for(var t=0;t<e.length;t++){for(var n=e[t],i=0,o=Math.pow(1e4,75),r=[];n;)r.push(n),n=n.parent;for(;r.length;)i+=(((n=r.pop()).parent?n.parent.children:this.rootElements).indexOf(n)+1)*o,o/=1e4;e[t]._zIndex=i}},t.prototype.optionsChange=function(e){"transform"!==e.field&&"stroke.width"!==e.field||this.bboxChange(e.element)},t.prototype.geometryChange=function(e){this.bboxChange(e.element)},t.prototype.bboxChange=function(e){if("Group"===e.nodeType)for(var t=0;t<e.children.length;t++)this.bboxChange(e.children[t]);else e._quadNode&&e._quadNode.remove(e),this._insertShape(e)},t.prototype.add=function(e){var t=Array.isArray(e)?e.slice(0):[e];ho(this.rootElements,t),this._insert(t)},t.prototype.childrenChange=function(e){if("remove"===e.action)for(var t=0;t<e.items.length;t++)this.remove(e.items[t]);else this._insert(Array.prototype.slice.call(e.items,0))},t.prototype._insert=function(e){for(var t;e.length>0;)(t=e.pop()).addObserver(this),"Group"===t.nodeType?ho(e,t.children):this._insertShape(t)},t.prototype._insertShape=function(e){var t=e.bbox();if(t){var n=this.getSectors(t),i=n[0][0],o=n[1][0];if(this.inRoot(n))this.root.insert(e,t);else{var r=this.rootMap;r[i]||(r[i]={}),r[i][o]||(r[i][o]=new Rs(new lr([i*Ns,o*Ns],[Ns,Ns]))),r[i][o].insert(e,t)}}},t.prototype.remove=function(e){if(e.removeObserver(this),"Group"===e.nodeType)for(var t=e.children,n=0;n<t.length;n++)this.remove(t[n]);else e._quadNode&&(e._quadNode.remove(e),delete e._quadNode)},t.prototype.inRoot=function(e){return e[0].length>1||e[1].length>1},t.prototype.getSectors=function(e){for(var t=e.bottomRight(),n=Math.floor(t.x/Ns),i=Math.floor(t.y/Ns),o=[[],[]],r=Math.floor(e.origin.x/Ns);r<=n;r++)o[0].push(r);for(var a=Math.floor(e.origin.y/Ns);a<=i;a++)o[1].push(a);return o},t}(Vi);function js(e,t){return e._zIndex<t._zIndex?1:e._zIndex>t._zIndex?-1:0}var Ws=function(e){e.bind("mouseenter",this._mouseenter.bind(this)),e.bind("mouseleave",this._mouseleave.bind(this)),this.element=e.element};function $s(e,t){var n=t.segments;if(0!==n.length){var i=n[0],o=i.anchor();e.moveTo(o.x,o.y);for(var r=1;r<n.length;r++){o=(i=n[r]).anchor();var a=n[r-1].controlOut(),s=i.controlIn();a&&s?e.bezierCurveTo(a.x,a.y,s.x,s.y,o.x,o.y):e.lineTo(o.x,o.y)}t.options.closed&&e.closePath()}}Ws.prototype.clear=function(){this._resetCursor()},Ws.prototype.destroy=function(){this._resetCursor(),delete this.element},Ws.prototype._mouseenter=function(e){var t=this._shapeCursor(e);t?(this._current||(this._defaultCursor=this._getCursor()),this._setCursor(t)):this._resetCursor()},Ws.prototype._mouseleave=function(){this._resetCursor()},Ws.prototype._shapeCursor=function(e){for(var t=e.element;t&&!fo(t.options.cursor);)t=t.parent;if(t)return t.options.cursor},Ws.prototype._getCursor=function(){if(this.element)return this.element.style.cursor},Ws.prototype._setCursor=function(e){this.element&&(this.element.style.cursor=e,this._current=e)},Ws.prototype._resetCursor=function(){this._current&&(this._setCursor(this._defaultCursor||""),delete this._current)};var qs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderTo=function(e){e.save(),this.setTransform(e),this.setClip(e),this.setOpacity(e),e.beginPath(),this.renderPoints(e,this.srcElement),this.setLineDash(e),this.setLineCap(e),this.setLineJoin(e),this.setFill(e),this.setStroke(e),e.restore()},t.prototype.setFill=function(e){var t=this.srcElement.options.fill,n=!1;return t&&("Gradient"===t.nodeType?(this.setGradientFill(e,t),n=!0):t.nodeType===fr?(this.setPatternFill(e,t),n=!0):To(t.color)||(e.fillStyle=t.color,e.save(),this.globalAlpha(e,t.opacity),e.fill(),e.restore(),n=!0)),n},t.prototype.setGradientFill=function(e,t){var n,i=this.srcElement.rawBBox();if(t instanceof La){var o=t.start(),r=t.end();n=e.createLinearGradient(o.x,o.y,r.x,r.y)}else if(t instanceof Ra){var a=t.center();n=e.createRadialGradient(a.x,a.y,0,a.x,a.y,t.radius())}!function(e,t){for(var n=0;n<t.length;n++){var i=t[n],o=lo(i.color());o.a*=i.opacity(),e.addColorStop(i.offset(),o.toCssRgba())}}(n,t.stops),e.save(),t.userSpace()||e.transform(i.width(),0,0,i.height(),i.origin.x,i.origin.y),e.fillStyle=n,e.fill(),e.restore()},t.prototype.setPatternFill=function(e,t){var n=t.size(),i=document.createElement("canvas"),o=i.getContext("2d");i.width=n.getWidth(),i.height=n.getHeight(),this.childNodes.length=0,this.loadElements(t.children);for(var r=this.childNodes,a=0;a<r.length;a++){r[a].renderTo(o)}e.save(),e.fillStyle=e.createPattern(i,"repeat"),e.fill(),e.restore()},t.prototype.setStroke=function(e){var t=this.srcElement.options.stroke;if(t&&!To(t.color)&&t.width>0)return e.strokeStyle=t.color,e.lineWidth=Ao(t.width,1),e.lineJoin=Ao(t.lineJoin,e.lineJoin),e.save(),this.globalAlpha(e,t.opacity),e.stroke(),e.restore(),!0},t.prototype.dashType=function(){var e=this.srcElement.options.stroke;if(e&&e.dashType)return e.dashType.toLowerCase()},t.prototype.setLineDash=function(e){var t=this.dashType();if(t&&t!==hr){var n=ur[t];e.setLineDash?e.setLineDash(n):(e.mozDash=n,e.webkitLineDash=n)}},t.prototype.setLineCap=function(e){var t=this.dashType(),n=this.srcElement.options.stroke;t&&t!==hr?e.lineCap=pr:n&&n.lineCap&&(e.lineCap=n.lineCap)},t.prototype.setLineJoin=function(e){var t=this.srcElement.options.stroke;t&&t.lineJoin&&(e.lineJoin=t.lineJoin)},t.prototype.renderPoints=function(e,t){$s(e,t)},t}(Ps),Gs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderPoints=function(e){$s(e,this.srcElement.toPath())},t}(qs),Ks=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderPoints=function(e){var t=this.srcElement.geometry(),n=t.center,i=t.radius;e.arc(n.x,n.y,i,0,2*Math.PI)},t}(qs),Ys=function(e){function t(t,n){e.call(this,t),this.onLoad=this.onLoad.bind(this),this.onError=this.onError.bind(this),this.loading=po();var i=this.img=new Image,o=t.src();n&&!/^data:/i.test(o)&&(i.crossOrigin=n),o&&(i.src=o),i.complete?this.onLoad():(i.onload=this.onLoad,i.onerror=this.onError)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderTo=function(e){"resolved"===this.loading.state()&&(e.save(),this.setTransform(e),this.setClip(e),this.drawImage(e),e.restore())},t.prototype.optionsChange=function(t){"src"===t.field?(this.loading=po(),this.img.src=this.srcElement.src()):e.prototype.optionsChange.call(this,t)},t.prototype.onLoad=function(){this.loading.resolve(),this.invalidate()},t.prototype.onError=function(){this.loading.reject(new Error("Unable to load image '"+this.img.src+"'. Check for connectivity and verify CORS headers."))},t.prototype.drawImage=function(e){var t=this.srcElement.rect(),n=t.topLeft();e.drawImage(this.img,n.x,n.y,t.width(),t.height())},t}(qs),Qs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderPoints=function(e){for(var t=this.srcElement.paths,n=0;n<t.length;n++)$s(e,t[n])},t}(qs),Xs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderPoints=function(t){var n=this.srcElement.geometry(),i=n.cornerRadius,o=i[0],r=i[1];if(0===o&&0===r){var a=n.origin,s=n.size;t.rect(a.x,a.y,s.width,s.height)}else e.prototype.renderPoints.call(this,t,ka.fromRect(n))},t}(qs),Zs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.renderTo=function(e){var t=this.srcElement,n=t.position(),i=t.measure();e.save(),this.setTransform(e),this.setClip(e),this.setOpacity(e),e.beginPath(),e.font=t.options.font,e.textAlign="left","stroke"===t.options.paintOrder?(this.stroke(e,t,n,i),this.fill(e,t,n,i)):(this.fill(e,t,n,i),this.stroke(e,t,n,i)),e.restore()},t.prototype.stroke=function(e,t,n,i){this.setStroke(e)&&(this.setLineDash(e),e.strokeText(t.content(),n.x,n.y+i.baseline))},t.prototype.fill=function(e,t,n,i){this.setFill(e)&&e.fillText(t.content(),n.x,n.y+i.baseline)},t}(qs);Vs.Arc=Gs,Vs.Circle=Ks,Vs.Group=Bs,Vs.Image=Ys,Vs.MultiPath=Qs,Vs.Path=qs,Vs.Rect=Xs,Vs.Text=Zs;var Js,el,tl=function(e){function t(t,n){e.call(this,t,n),this.element.innerHTML=this._template(this);var i=this.element.firstElementChild;i.style.width="100%",i.style.height="100%";var o=Oo(t);i.width=o.width,i.height=o.height,this._rootElement=i,this._root=new Os(i,o),this._mouseTrackHandler=this._trackMouse.bind(this),Vo(this.element,{click:this._mouseTrackHandler,mousemove:this._mouseTrackHandler})}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={type:{configurable:!0}};return n.type.get=function(){return"canvas"},t.prototype.destroy=function(){e.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),Lo(this.element,{click:this._mouseTrackHandler,mousemove:this._mouseTrackHandler})},t.prototype.draw=function(t){e.prototype.draw.call(this,t),this._root.load([t],void 0,this.options.cors),this._searchTree&&this._searchTree.add([t])},t.prototype.clear=function(){e.prototype.clear.call(this),this._root.clear(),this._searchTree&&this._searchTree.clear(),this._cursor&&this._cursor.clear()},t.prototype.eventTarget=function(e){if(this._searchTree){var t=this._surfacePoint(e);return this._searchTree.pointShape(t)}},t.prototype.image=function(){var e=this._root,t=this._rootElement,n=[];e.traverse((function(e){e.loading&&n.push(e.loading)}));var i=po(),o=function(){e._invalidate({fixedScale:!0});try{var n=t.toDataURL();i.resolve(n)}catch(e){i.reject(e)}};return Ho(n).then(o,o),i},t.prototype.suspendTracking=function(){e.prototype.suspendTracking.call(this),this._searchTree&&(this._searchTree.clear(),delete this._searchTree)},t.prototype.resumeTracking=function(){if(e.prototype.resumeTracking.call(this),!this._searchTree){this._searchTree=new Us;for(var t=this._root.childNodes,n=[],i=0;i<t.length;i++)n.push(t[i].srcElement);this._searchTree.add(n)}},t.prototype._resize=function(){this._rootElement.width=this._size.width,this._rootElement.height=this._size.height,this._root.size=this._size,this._root.invalidate()},t.prototype._template=function(){return"<canvas></canvas>"},t.prototype._enableTracking=function(){this._searchTree=new Us,this._cursor=new Ws(this),e.prototype._enableTracking.call(this)},t.prototype._trackMouse=function(e){if(!this._suspendedTracking){var t=this.eventTarget(e);if("click"!==e.type){var n=this._currentShape;n&&n!==t&&this.trigger("mouseleave",{element:n,originalEvent:e,type:"mouseleave"}),t&&n!==t&&this.trigger("mouseenter",{element:t,originalEvent:e,type:"mouseenter"}),this.trigger("mousemove",{element:t,originalEvent:e,type:"mousemove"}),this._currentShape=t}else t&&this.trigger("click",{element:t,originalEvent:e,type:"click"})}},Object.defineProperties(t.prototype,n),t}(Ga),nl=function(){return"undefined"!=typeof document},il=function(e){function t(){e.call(this),this._items=[{name:"svg",type:As},{name:"canvas",type:tl}]}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={support:{configurable:!0},current:{configurable:!0}};return n.support.get=function(){return el||(el={canvas:nl()&&document.createElement("canvas").getContext,svg:nl()&&document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}),el},n.current.get=function(){return Js||(Js=new t),Js},t.prototype.create=function(e,t){var n,i,o=this._items,r=o[0];if(t&&t.type)for(var a=t.type.toLowerCase(),s=0;s<o.length;s++)if(o[s].name===a){r=o[s];break}if(r)return new r.type(e,t);n="Warning: Unable to create Kendo UI Drawing Surface. Possible causes:\n- The browser does not support SVG and Canvas. User agent: "+navigator.userAgent,void 0!==(i=window.console)&&i.log&&i.log(n)},Object.defineProperties(t,n),t}(Vi);!function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={support:{configurable:!0}};n.support.get=function(){return il.support},t.create=function(e,t){return il.current.create(e,t)},Object.defineProperties(t,n)}(Ga);var ol,rl="undefined"!=typeof Uint8Array&&Yi.browser&&(!Yi.browser.msie||Yi.browser.version>9),al=(ol="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",{decode:function(e){for(var t=e.replace(/[^A-Za-z0-9\+\/\=]/g,""),n=0,i=t.length,o=[];n<i;){var r=ol.indexOf(t.charAt(n++)),a=ol.indexOf(t.charAt(n++)),s=ol.indexOf(t.charAt(n++)),l=ol.indexOf(t.charAt(n++)),c=r<<2|a>>>4,d=(15&a)<<4|s>>>2,u=(3&s)<<6|l;o.push(c),64!=s&&o.push(d),64!=l&&o.push(u)}return o},encode:function(e){for(var t=0,n=e.length,i="";t<n;){var o=e[t++],r=e[t++],a=e[t++],s=(3&o)<<4|r>>>4,l=(15&r)<<2|a>>>6,c=63&a;t-n==2?l=c=64:t-n==1&&(c=64),i+=ol.charAt(o>>>2)+ol.charAt(s)+ol.charAt(l)+ol.charAt(c)}return i}});function sl(e){var t=0,n=0;null==e?e=rl?new Uint8Array(256):[]:n=e.length;var i=rl?function(t){if(t>=e.length){var n=new Uint8Array(Math.max(t+256,2*e.length));n.set(e,0),e=n}}:function(){},o=rl?function(){return new Uint8Array(e.buffer,0,n)}:function(){return e},r=rl?function(o){if("string"==typeof o)return v(o);var r=o.length;i(t+r),e.set(o,t),(t+=r)>n&&(n=t)}:function(e){if("string"==typeof e)return v(e);for(var t=0;t<e.length;++t)l(e[t])},a=rl?function(t,n){if(e.buffer.slice)return new Uint8Array(e.buffer.slice(t,t+n));var i=new Uint8Array(n);return i.set(new Uint8Array(e.buffer,t,n)),i}:function(t,n){return e.slice(t,t+n)};function s(){return t<n?e[t++]:0}function l(o){i(t),e[t++]=255&o,t>n&&(n=t)}function c(){return s()<<8|s()}function d(e){l(e>>8),l(e)}function u(){return 65536*c()+c()}function h(e){d(e>>>16&65535),d(65535&e)}function p(){var e=u();return e>=2147483648?e-4294967296:e}function f(e){h(e<0?e+4294967296:e)}function m(e){return g(e,s)}function v(e){for(var t=0;t<e.length;++t)l(e.charCodeAt(t))}function g(e,t){for(var n=new Array(e),i=0;i<e;++i)n[i]=t();return n}var _={eof:function(){return t>=n},readByte:s,writeByte:l,readShort:c,writeShort:d,readLong:u,writeLong:h,readFixed:function(){return u()/65536},writeFixed:function(e){h(Math.round(65536*e))},readShort_:function(){var e=c();return e>=32768?e-65536:e},writeShort_:function(e){d(e<0?e+65536:e)},readLong_:p,writeLong_:f,readFixed_:function(){return p()/65536},writeFixed_:function(e){f(Math.round(65536*e))},read:m,write:r,readString:function(e){return String.fromCharCode.apply(String,m(e))},writeString:v,times:g,get:o,slice:a,offset:function(e){return null!=e?(t=e,_):t},skip:function(e){t+=e},toString:function(){throw new Error("FIX CALLER. BinaryStream is no longer convertible to string!")},length:function(){return n},saveExcursion:function(e){var n=t;try{return e()}finally{t=n}},writeBase64:function(e){window.atob?v(window.atob(e)):r(al.decode(e))},base64:function(){return al.encode(o())}};return _}function ll(e){return window.atob?function(e){for(var t=window.atob(e),n=new Uint8Array(t.length),i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}(e):function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return t}(al.decode(e))}function cl(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function dl(e){return Object.keys(e).sort((function(e,t){return e-t})).map(parseFloat)}var ul=function(e){this.raw=e,this.scalerType=e.readLong(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort();for(var t=this.tables={},n=0;n<this.tableCount;++n){var i={tag:e.readString(4),checksum:e.readLong(),offset:e.readLong(),length:e.readLong()};t[i.tag]=i}};ul.prototype.readTable=function(e,t){var n=this.tables[e];if(!n)throw new Error("Table "+e+" not found in directory");return this[e]=n.table=new t(this,n)},ul.prototype.render=function(e){var t=Object.keys(e).length,n=Math.pow(2,Math.floor(Math.log(t)/Math.LN2)),i=16*n,o=Math.floor(Math.log(n)/Math.LN2),r=16*t-i,a=sl();a.writeLong(this.scalerType),a.writeShort(t),a.writeShort(i),a.writeShort(o),a.writeShort(r);var s=16*t,l=a.offset()+s,c=null,d=sl();for(var u in e)if(cl(e,u)){var h=e[u];for(a.writeString(u),a.writeLong(this.checksum(h)),a.writeLong(l),a.writeLong(h.length),d.write(h),"head"==u&&(c=l),l+=h.length;l%4;)d.writeByte(0),l++}a.write(d.get());var p=2981146554-this.checksum(a.get());return a.offset(c+8),a.writeLong(p),a.get()},ul.prototype.checksum=function(e){e=sl(e);for(var t=0;!e.eof();)t+=e.readLong();return 4294967295&t};var hl=function(e,t){this.definition=t,this.length=t.length,this.offset=t.offset,this.file=e,this.rawData=e.raw,this.parse(e.raw)};hl.prototype.raw=function(){return this.rawData.slice(this.offset,this.length)},hl.prototype.parse=function(){};var pl,fl,ml,vl=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){e.offset(this.offset),this.version=e.readLong(),this.revision=e.readLong(),this.checkSumAdjustment=e.readLong(),this.magicNumber=e.readLong(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.read(8),this.modified=e.read(8),this.xMin=e.readShort_(),this.yMin=e.readShort_(),this.xMax=e.readShort_(),this.yMax=e.readShort_(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort_(),this.indexToLocFormat=e.readShort_(),this.glyphDataFormat=e.readShort_()},t.prototype.render=function(e){var t=sl();return t.writeLong(this.version),t.writeLong(this.revision),t.writeLong(0),t.writeLong(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.write(this.created),t.write(this.modified),t.writeShort_(this.xMin),t.writeShort_(this.yMin),t.writeShort_(this.xMax),t.writeShort_(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort_(this.fontDirectionHint),t.writeShort_(e),t.writeShort_(this.glyphDataFormat),t.get()},t}(hl),gl=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){e.offset(this.offset);var t=this.file.head.indexToLocFormat;this.offsets=0===t?e.times(this.length/2,(function(){return 2*e.readShort()})):e.times(this.length/4,e.readLong)},t.prototype.offsetOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.render=function(e){for(var t=sl(),n=e[e.length-1]>65535,i=0;i<e.length;++i)n?t.writeLong(e[i]):t.writeShort(e[i]/2);return{format:n?1:0,table:t.get()}},t}(hl),_l=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){e.offset(this.offset),this.version=e.readLong(),this.ascent=e.readShort_(),this.descent=e.readShort_(),this.lineGap=e.readShort_(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort_(),this.minRightSideBearing=e.readShort_(),this.xMaxExtent=e.readShort_(),this.caretSlopeRise=e.readShort_(),this.caretSlopeRun=e.readShort_(),this.caretOffset=e.readShort_(),e.skip(8),this.metricDataFormat=e.readShort_(),this.numOfLongHorMetrics=e.readShort()},t.prototype.render=function(e){var t=sl();return t.writeLong(this.version),t.writeShort_(this.ascent),t.writeShort_(this.descent),t.writeShort_(this.lineGap),t.writeShort(this.advanceWidthMax),t.writeShort_(this.minLeftSideBearing),t.writeShort_(this.minRightSideBearing),t.writeShort_(this.xMaxExtent),t.writeShort_(this.caretSlopeRise),t.writeShort_(this.caretSlopeRun),t.writeShort_(this.caretOffset),t.write([0,0,0,0,0,0,0,0]),t.writeShort_(this.metricDataFormat),t.writeShort(e.length),t.get()},t}(hl),bl=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){e.offset(this.offset),this.version=e.readLong(),this.numGlyphs=e.readShort(),this.maxPoints=e.readShort(),this.maxContours=e.readShort(),this.maxComponentPoints=e.readShort(),this.maxComponentContours=e.readShort(),this.maxZones=e.readShort(),this.maxTwilightPoints=e.readShort(),this.maxStorage=e.readShort(),this.maxFunctionDefs=e.readShort(),this.maxInstructionDefs=e.readShort(),this.maxStackElements=e.readShort(),this.maxSizeOfInstructions=e.readShort(),this.maxComponentElements=e.readShort(),this.maxComponentDepth=e.readShort()},t.prototype.render=function(e){var t=sl();return t.writeLong(this.version),t.writeShort(e.length),t.writeShort(this.maxPoints),t.writeShort(this.maxContours),t.writeShort(this.maxComponentPoints),t.writeShort(this.maxComponentContours),t.writeShort(this.maxZones),t.writeShort(this.maxTwilightPoints),t.writeShort(this.maxStorage),t.writeShort(this.maxFunctionDefs),t.writeShort(this.maxInstructionDefs),t.writeShort(this.maxStackElements),t.writeShort(this.maxSizeOfInstructions),t.writeShort(this.maxComponentElements),t.writeShort(this.maxComponentDepth),t.get()},t}(hl),yl=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){e.offset(this.offset);var t=this.file,n=t.hhea;this.metrics=e.times(n.numOfLongHorMetrics,(function(){return{advance:e.readShort(),lsb:e.readShort_()}}));var i=t.maxp.numGlyphs-t.hhea.numOfLongHorMetrics;this.leftSideBearings=e.times(i,e.readShort_)},t.prototype.forGlyph=function(e){var t=this.metrics,n=t.length;return e<n?t[e]:{advance:t[n-1].advance,lsb:this.leftSideBearings[e-n]}},t.prototype.render=function(e){for(var t=sl(),n=0;n<e.length;++n){var i=this.forGlyph(e[n]);t.writeShort(i.advance),t.writeShort_(i.lsb)}return t.get()},t}(hl),wl=function(){var e=function(e){this.raw=e},t={compound:{configurable:!0}};t.compound.get=function(){return!1},e.prototype.render=function(){return this.raw.get()},Object.defineProperties(e.prototype,t);var n=function(e){this.raw=e;for(var t=this.glyphIds=[],n=this.idOffsets=[];;){var i=e.readShort();if(n.push(e.offset()),t.push(e.readShort()),!(32&i))break;e.skip(1&i?4:2),128&i?e.skip(8):64&i?e.skip(4):8&i&&e.skip(2)}},i={compound:{configurable:!0}};return i.compound.get=function(){return!0},n.prototype.render=function(e){for(var t=sl(this.raw.get()),n=0;n<this.glyphIds.length;++n){var i=this.glyphIds[n];t.offset(this.idOffsets[n]),t.writeShort(e[i])}return t.get()},Object.defineProperties(n.prototype,i),function(t){function i(){t.apply(this,arguments)}return t&&(i.__proto__=t),i.prototype=Object.create(t&&t.prototype),i.prototype.constructor=i,i.prototype.parse=function(){this.cache={}},i.prototype.glyphFor=function(t){var i=this.cache;if(cl(i,t))return i[t];var o=this.file.loca,r=o.lengthOf(t);if(0===r)return i[t]=null;var a=this.rawData,s=this.offset+o.offsetOf(t),l=sl(a.slice(s,r)),c=l.readShort_(),d=l.readShort_(),u=l.readShort_(),h=l.readShort_(),p=l.readShort_(),f=i[t]=c<0?new n(l):new e(l);return f.numberOfContours=c,f.xMin=d,f.yMin=u,f.xMax=h,f.yMax=p,f},i.prototype.render=function(e,t,n){for(var i=sl(),o=[],r=0;r<t.length;++r){var a=e[t[r]];i.offset()%2&&i.writeByte(0),o.push(i.offset()),a&&i.write(a.render(n))}return i.offset()%2&&i.writeByte(0),o.push(i.offset()),{table:i.get(),offsets:o}},i}(hl)}(),kl=(pl=function(e,t){this.text=e,this.length=e.length,this.platformID=t.platformID,this.platformSpecificID=t.platformSpecificID,this.languageID=t.languageID,this.nameID=t.nameID},function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){e.offset(this.offset),e.readShort();for(var t=e.readShort(),n=this.offset+e.readShort(),i=e.times(t,(function(){return{platformID:e.readShort(),platformSpecificID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:e.readShort()+n}})),o=this.strings={},r=0;r<i.length;++r){var a=i[r];e.offset(a.offset);var s=e.readString(a.length);o[a.nameID]||(o[a.nameID]=[]),o[a.nameID].push(new pl(s,a))}this.postscriptEntry=o[6][0],this.postscriptName=this.postscriptEntry.text.replace(/[^\x20-\x7F]/g,"")},t.prototype.render=function(e){var t=this.strings,n=0;for(var i in t)cl(t,i)&&(n+=t[i].length);var o=sl(),r=sl();for(i in o.writeShort(0),o.writeShort(n),o.writeShort(6+12*n),t)if(cl(t,i))for(var a=6==i?[new pl(e,this.postscriptEntry)]:t[i],s=0;s<a.length;++s){var l=a[s];o.writeShort(l.platformID),o.writeShort(l.platformSpecificID),o.writeShort(l.languageID),o.writeShort(l.nameID),o.writeShort(l.length),o.writeShort(r.offset()),r.writeString(l.text)}return o.write(r.get()),o.get()},t}(hl)),xl=(fl=".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(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){var t;switch(e.offset(this.offset),this.format=e.readLong(),this.italicAngle=e.readFixed_(),this.underlinePosition=e.readShort_(),this.underlineThickness=e.readShort_(),this.isFixedPitch=e.readLong(),this.minMemType42=e.readLong(),this.maxMemType42=e.readLong(),this.minMemType1=e.readLong(),this.maxMemType1=e.readLong(),this.format){case 65536:case 196608:break;case 131072:t=e.readShort(),this.glyphNameIndex=e.times(t,e.readShort),this.names=[];for(var n=this.offset+this.length;e.offset()<n;)this.names.push(e.readString(e.readByte()));break;case 151552:t=e.readShort(),this.offsets=e.read(t);break;case 262144:this.map=e.times(this.file.maxp.numGlyphs,e.readShort)}},t.prototype.glyphFor=function(e){switch(this.format){case 65536:return fl[e]||".notdef";case 131072:var t=this.glyphNameIndex[e];return t<fl.length?fl[t]:this.names[t-fl.length]||".notdef";case 151552:case 196608:return".notdef";case 262144:return this.map[e]||65535}},t.prototype.render=function(e){if(196608==this.format)return this.raw();var t=sl(this.rawData.slice(this.offset,32));t.writeLong(131072),t.offset(32);for(var n=[],i=[],o=0;o<e.length;++o){var r=e[o],a=this.glyphFor(r),s=fl.indexOf(a);s>=0?n.push(s):(n.push(fl.length+i.length),i.push(a))}for(t.writeShort(e.length),o=0;o<n.length;++o)t.writeShort(n[o]);for(o=0;o<i.length;++o)t.writeByte(i[o].length),t.writeString(i[o]);return t.get()},t}(hl)),Cl=(ml=function(e,t,n){var i=this;i.platformID=e.readShort(),i.platformSpecificID=e.readShort(),i.offset=t+e.readLong(),e.saveExcursion((function(){var t;switch(e.offset(i.offset),i.format=e.readShort(),i.format){case 0:i.length=e.readShort(),i.language=e.readShort();for(var o=0;o<256;++o)n[o]=e.readByte();break;case 4:i.length=e.readShort(),i.language=e.readShort();var r=e.readShort()/2;e.skip(6);var a=e.times(r,e.readShort);e.skip(2);var s=e.times(r,e.readShort),l=e.times(r,e.readShort_),c=e.times(r,e.readShort),d=(i.length+i.offset-e.offset())/2,u=e.times(d,e.readShort);for(o=0;o<r;++o){var h=s[o],p=a[o];for(t=h;t<=p;++t){var f;0===c[o]?f=t+l[o]:0!==(f=u[c[o]/2-(r-o)+(t-h)]||0)&&(f+=l[o]),n[t]=65535&f}}break;case 6:i.length=e.readShort(),i.language=e.readShort(),t=e.readShort();for(var m=e.readShort();m-- >0;)n[t++]=e.readShort();break;case 12:e.readShort(),i.length=e.readLong(),i.language=e.readLong();for(var v=e.readLong();v-- >0;){t=e.readLong();for(var g=e.readLong(),_=e.readLong();t<=g;)n[t++]=_++}break;default:window.console&&window.console.error("Unhandled CMAP format: "+i.format)}}))},function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){var t=this,n=t.offset;e.offset(n),t.codeMap={},t.version=e.readShort();var i=e.readShort();t.tables=e.times(i,(function(){return new ml(e,n,t.codeMap)}))},t.render=function(e,t){var n=sl();return n.writeShort(0),n.writeShort(1),n.write(function(e,t){var n=dl(e),i=[],o=[],r=null,a=null;function s(n){return t[e[n]]}for(var l=0;l<n.length;++l){var c=n[l],d=s(c)-c;null!=r&&d===a||(r&&o.push(r),i.push(c),a=d),r=c}r&&o.push(r),o.push(65535),i.push(65535);var u=i.length,h=2*u,p=2*Math.pow(2,Math.floor(Math.log(u)/Math.LN2)),f=Math.log(p/2)/Math.LN2,m=h-p,v=[],g=[],_=[];for(l=0;l<u;++l){var b=i[l],y=o[l];if(65535==b){v.push(0),g.push(0);break}var w=s(b);if(b-w>=32768){v.push(0),g.push(2*(_.length+u-l));for(var k=b;k<=y;++k)_.push(s(k))}else v.push(w-b),g.push(0)}var x=sl();return x.writeShort(3),x.writeShort(1),x.writeLong(12),x.writeShort(4),x.writeShort(16+8*u+2*_.length),x.writeShort(0),x.writeShort(h),x.writeShort(p),x.writeShort(f),x.writeShort(m),o.forEach(x.writeShort),x.writeShort(0),i.forEach(x.writeShort),v.forEach(x.writeShort_),g.forEach(x.writeShort),_.forEach(x.writeShort),x.get()}(e,t)),n.get()},t}(hl)),zl=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parse=function(e){e.offset(this.offset),this.version=e.readShort(),this.averageCharWidth=e.readShort_(),this.weightClass=e.readShort(),this.widthClass=e.readShort(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort_(),this.ySubscriptYSize=e.readShort_(),this.ySubscriptXOffset=e.readShort_(),this.ySubscriptYOffset=e.readShort_(),this.ySuperscriptXSize=e.readShort_(),this.ySuperscriptYSize=e.readShort_(),this.ySuperscriptXOffset=e.readShort_(),this.ySuperscriptYOffset=e.readShort_(),this.yStrikeoutSize=e.readShort_(),this.yStrikeoutPosition=e.readShort_(),this.familyClass=e.readShort_(),this.panose=e.times(10,e.readByte),this.charRange=e.times(4,e.readLong),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort_(),this.descent=e.readShort_(),this.lineGap=e.readShort_(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=e.times(2,e.readLong),this.version>1&&(this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()))},t.prototype.render=function(){return this.raw()},t}(hl),Sl=1e5;var Tl=function(e){this.font=e,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 e="",t=String(Sl),n=0;n<t.length;++n)e+=String.fromCharCode(t.charCodeAt(n)-48+65);return++Sl,e}()+"+"+this.font.psName};Tl.prototype.use=function(e){var t=this;if("string"==typeof e)return function(e){for(var t,n,i=[],o=0,r=e.length;o<r;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<r?56320==(64512&(n=e.charCodeAt(o++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),o--):i.push(t);return i}(e).reduce((function(e,n){return e+String.fromCharCode(t.use(n))}),"");var n=t.unicodes[e];if(!n){n=t.next++,t.subset[n]=e,t.unicodes[e]=n;var i=t.font.cmap.codeMap[e];if(i&&(t.ncid2ogid[n]=i,null==t.ogid2ngid[i])){var o=t.nextGid++;t.ogid2ngid[i]=o,t.ngid2ogid[o]=i}}return n},Tl.prototype.encodeText=function(e){return this.use(e)},Tl.prototype.glyphIds=function(){return dl(this.ogid2ngid)},Tl.prototype.glyphsFor=function(e,t){t||(t={});for(var n=0;n<e.length;++n){var i=e[n];if(!t[i]){var o=t[i]=this.font.glyf.glyphFor(i);o&&o.compound&&this.glyphsFor(o.glyphIds,t)}}return t},Tl.prototype.render=function(){var e=this,t=this.glyphsFor(this.glyphIds());for(var n in t)if(cl(t,n)&&(n=parseInt(n,10),null==e.ogid2ngid[n])){var i=e.nextGid++;e.ogid2ngid[n]=i,e.ngid2ogid[i]=n}var o=dl(this.ngid2ogid).map((function(e){return this.ngid2ogid[e]}),this),r=this.font,a=r.glyf.render(t,o,this.ogid2ngid),s=r.loca.render(a.offsets);this.lastChar=this.next-1;var l={cmap:Cl.render(this.ncid2ogid,this.ogid2ngid),glyf:a.table,loca:s.table,hmtx:r.hmtx.render(o),hhea:r.hhea.render(o),maxp:r.maxp.render(o),post:r.post.render(o),name:r.name.render(this.psName),head:r.head.render(s.format),"OS/2":r.os2.render()};return this.font.directory.render(l)},Tl.prototype.cidToGidMap=function(){for(var e=sl(),t=0,n=this.firstChar;n<this.next;++n){for(;t<n;)e.writeShort(0),t++;var i=this.ncid2ogid[n];if(i){var o=this.ogid2ngid[i];e.writeShort(o)}else e.writeShort(0);t++}return e.get()};var Ml=function(e,t){var n=this,i=n.contents=sl(e);if("ttcf"==i.readString(4)){var o,r=function(){i.offset(o),n.parse()};if(!t)throw new Error("Must specify a name for TTC files");i.readLong();for(var a=i.readLong(),s=0;s<a;++s)if(o=i.readLong(),i.saveExcursion(r),n.psName==t)return;throw new Error("Font "+t+" not found in collection")}i.offset(0),n.parse()};Ml.prototype.parse=function(){var e=this.directory=new ul(this.contents);this.head=e.readTable("head",vl),this.loca=e.readTable("loca",gl),this.hhea=e.readTable("hhea",_l),this.maxp=e.readTable("maxp",bl),this.hmtx=e.readTable("hmtx",yl),this.glyf=e.readTable("glyf",wl),this.name=e.readTable("name",kl),this.post=e.readTable("post",xl),this.cmap=e.readTable("cmap",Cl),this.os2=e.readTable("OS/2",zl),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},Ml.prototype.widthOfGlyph=function(e){return this.hmtx.forGlyph(e).advance*this.scale},Ml.prototype.makeSubset=function(){return new Tl(this)};var Il=Ai;var Hl=Yi.browser,Dl="\n",El=0,Al={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 Vl(){var e=0,t=sl();function n(){for(var e=arguments,i=0;i<arguments.length;++i){var o=e[i];if(void 0===o)throw new Error("Cannot output undefined to PDF");if(o instanceof Zl)o.beforeRender(n),o.render(n);else if($l(o))ql(o,n);else if(o instanceof Date)Gl(o,n);else if("number"==typeof o){if(isNaN(o))throw new Error("Cannot output NaN to PDF");var r=o.toFixed(7);r.indexOf(".")>=0&&(r=r.replace(/\.?0+$/,"")),"-0"==r&&(r="0"),t.writeString(r)}else/string|boolean/.test(typeof o)?t.writeString(String(o)):"function"==typeof o.get?t.write(o.get()):"object"==typeof o&&(o?n(new ic(o)):t.writeString("null"))}}return n.writeData=function(e){t.write(e)},n.withIndent=function(t){++e,t(n),--e},n.indent=function(){n(Dl,Ul("",2*e," ")),n.apply(null,arguments)},n.offset=function(){return t.offset()},n.toString=function(){throw new Error("FIX CALLER")},n.get=function(){return t.get()},n.stream=function(){return t},n}function Pl(e){if("function"!=typeof e){var t=e;e=function(e,n){return e in t?t[e]:n}}var n=e("paperSize",Al.a4);if(!n)return{};if("string"==typeof n&&null==(n=Al[n.toLowerCase()]))throw new Error("Unknown paper size");n[0]=Xl(n[0]),n[1]=Xl(n[1]),e("landscape",!1)&&(n=[Math.max(n[0],n[1]),Math.min(n[0],n[1])]);var i=e("margin");return i&&(i="string"==typeof i||"number"==typeof i?{left:i=Xl(i,0),top:i,right:i,bottom:i}:{left:Xl(i.left,0),top:Xl(i.top,0),right:Xl(i.right,0),bottom:Xl(i.bottom,0)},e("addMargin")&&(n[0]+=i.left+i.right,n[1]+=i.top+i.bottom)),{paperSize:n,margin:i}}var Bl={"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 Fl={};var Ol,Ll=(Ol=function(e,t){var n=Bl[e];n?t(n):function(e,t){var n;if(Hl.msie&&(n=/^data:.*?;base64,/i.exec(e)))t(ll(e.substr(n[0].length)));else{var i=new XMLHttpRequest;i.open("GET",e,!0),rl&&(i.responseType="arraybuffer"),i.onload=function(){200==i.status||304==i.status?t(rl?new Uint8Array(i.response):new window.VBArray(i.responseBody).toArray()):o()},i.onerror=o,i.send(null)}function o(){window.console&&(window.console.error?window.console.error("Cannot load URL: %s",e):window.console.log("Cannot load URL: %s",e)),t(null)}}(e,(function(n){if(null==n)throw new Error("Cannot load font from "+e);var i=new Ml(n);Bl[e]=i,t(i)}))},function(e,t){var n=e.length,i=n;if(0===n)return t();function o(){0==--n&&t()}for(;i-- >0;)Ol(e[i],o)}),Rl=function(e,t,n){n=Object.assign({jpegQuality:.92,keepPNG:!1},n);var i=Object.keys(e),o=i.length;if(0===o)return t();function r(){0==--o&&t()}i.forEach((function(t){!function(e,t,n,i){var o,r,a=Fl[e];if(a)n(a);else if(a=new Image,/^data:/i.test(e)||(a.crossOrigin="Anonymous"),rl&&!/^data:/i.test(e)){var s=new XMLHttpRequest;s.onload=function(){if(r=s.response,Hl.mozilla&&"image/svg+xml"==r.type){var e=new FileReader;e.onload=function(){var e=(new window.DOMParser).parseFromString(this.result,"image/svg+xml").documentElement;e.getAttribute("width")&&e.getAttribute("height")?l(o=URL.createObjectURL(r)):(e.setAttribute("width",t.width),e.setAttribute("height",t.height),l("data:image/svg+xml;base64,"+Co((new window.XMLSerializer).serializeToString(e))))},e.readAsText(r)}else l(o=URL.createObjectURL(r))},s.onerror=d,s.open("GET",e,!0),s.responseType="blob",s.send()}else l(e);function l(e){a.src=e,a.complete&&!Hl.msie?u.call(a):(a.onload=u,a.onerror=d)}function c(){t||(t={width:a.width,height:a.height});var r=document.createElement("canvas");r.width=t.width,r.height=t.height;var s,l=r.getContext("2d");l.drawImage(a,0,0,t.width,t.height);try{s=l.getImageData(0,0,t.width,t.height)}catch(e){return void d()}finally{o&&URL.revokeObjectURL(o)}for(var c=!1,u=sl(),h=sl(),p=s.data,f=0;f<p.length;){u.writeByte(p[f++]),u.writeByte(p[f++]),u.writeByte(p[f++]);var m=p[f++];m<255&&(c=!0),h.writeByte(m)}if(c||i.keepPNG)a=new cc(t.width,t.height,u,h);else{var v=r.toDataURL("image/jpeg",i.jpegQuality);v=v.substr(v.indexOf(";base64,")+8);var g=sl();g.writeBase64(v),a=new lc(g)}n(Fl[e]=a)}function d(){n(Fl[e]="ERROR")}function u(){if(t){var i=r&&"image/svg+xml"===r.type||/^data:image\/svg\+xml;/i.test(this.src.substring(0,19)),s=t.width>=a.width||t.height>=a.height;!i&&s&&(t=null)}if(!t&&r&&/^image\/jpe?g$/i.test(r.type)){var l=new FileReader;l.onload=function(){try{var t=new lc(sl(new Uint8Array(this.result)));URL.revokeObjectURL(o),n(Fl[e]=t)}catch(e){c()}},l.readAsArrayBuffer(r)}else c()}}(t,e[t],r,n)}))},Nl=function(e){var t=this,n=Vl(),i=0,o=[];function r(t,n){return e&&null!=e[t]?e[t]:n}t.getOption=r,t.attach=function(e){return o.indexOf(e)<0&&(!function(e,t){var n=e.beforeRender,i=e.render;e.beforeRender=function(){},e.render=function(e){e(t," 0 R")},e.renderFull=function(o){e._offset=o.offset(),o(t," 0 obj "),n.call(e,o),i.call(e,o),o(" endobj")}}(e,++i),o.push(e)),e},t.pages=[],t.FONTS={},t.IMAGES={},t.GRAD_COL_FUNCTIONS={},t.GRAD_OPC_FUNCTIONS={},t.GRAD_COL={},t.GRAD_OPC={};var a=t.attach(new rc),s=t.attach(new ac);if(r("autoPrint")){var l={};l.JavaScript=new ic({Names:[new Jl("JS"),t.attach(new ic({S:nc("JavaScript"),JS:new Jl("print(true);")}))]}),a.props.Names=new ic(l)}a.setPages(s);var c=t.attach(new ic({Producer:new Jl(r("producer","Kendo UI PDF Generator"),!0),Title:new Jl(r("title",""),!0),Author:new Jl(r("author",""),!0),Subject:new Jl(r("subject",""),!0),Keywords:new Jl(r("keywords",""),!0),Creator:new Jl(r("creator","Kendo UI PDF Generator"),!0),CreationDate:r("date",new Date)}));t.addPage=function(e){var n=Pl((function(t,n){return e&&null!=e[t]?e[t]:n})),i=n.paperSize,o=n.margin,r=i[0],a=i[1];o&&(r-=o.left+o.right,a-=o.top+o.bottom);var l=new oc(Vl(),null,!0),c={Contents:t.attach(l),Parent:s,MediaBox:[0,0,i[0],i[1]]},d=new gc(t,c);return d._content=l,s.addPage(t.attach(d)),d.transform(1,0,0,-1,0,i[1]),o&&(d.translate(o.left,o.top),d.rect(0,0,r,a),d.clip()),t.pages.push(d),d},t.render=function(){var e;for(n("%PDF-1.4",Dl,"%ÂÁÚÏÎ",Dl,Dl),e=0;e<o.length;++e)o[e].renderFull(n),n(Dl,Dl);var t=n.offset();for(n("xref",Dl,0," ",o.length+1,Dl),n("0000000000 65535 f ",Dl),e=0;e<o.length;++e)n(jl(o[e]._offset,10)," 00000 n ",Dl);return n(Dl),n("trailer",Dl),n(new ic({Size:o.length+1,Root:a,Info:c}),Dl,Dl),n("startxref",Dl,t,Dl),n("%%EOF",Dl),n.stream().offset(0)},t.loadFonts=Ll,t.loadImages=Rl};function Ul(e,t,n){for(;e.length<t;)e=n+e;return e}function jl(e,t){return Ul(String(e),t,"0")}function Wl(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Nl.prototype.getFont=function(e){var t=this.FONTS[e];if(!t){if(!(t=Bl[e]))throw new Error("Font "+e+" has not been loaded");t=!0===t?this.attach(new dc(e)):this.attach(new uc(this,t)),this.FONTS[e]=t}return t},Nl.prototype.getImage=function(e){var t=this.IMAGES[e];if(!t){if(!(t=Fl[e]))throw new Error("Image "+e+" has not been loaded");if("ERROR"===t)return null;t=this.IMAGES[e]=this.attach(t.asStream(this))}return t},Nl.prototype.getOpacityGS=function(e,t){var n=parseFloat(e).toFixed(3);e=parseFloat(n),n+=t?"S":"F";var i=this._opacityGSCache||(this._opacityGSCache={}),o=i[n];if(!o){var r={Type:nc("ExtGState")};t?r.CA=e:r.ca=e,(o=this.attach(new ic(r)))._resourceName=nc("GS"+ ++El),i[n]=o}return o},Nl.prototype.dict=function(e){return new ic(e)},Nl.prototype.name=function(e){return nc(e)},Nl.prototype.stream=function(e,t){return new oc(t,e)};var $l=Array.isArray||function(e){return e instanceof Array};function ql(e,t){t("["),e.length>0&&t.withIndent((function(){for(var n=0;n<e.length;++n)n>0&&n%8==0?t.indent(e[n]):t(" ",e[n])})),t(" ]")}function Gl(e,t){t("(D:",jl(e.getUTCFullYear(),4),jl(e.getUTCMonth()+1,2),jl(e.getUTCDate(),2),jl(e.getUTCHours(),2),jl(e.getUTCMinutes(),2),jl(e.getUTCSeconds(),2),"Z)")}function Kl(e){return e*(72/25.4)}function Yl(e){return Kl(10*e)}function Ql(e){return 72*e}function Xl(e,t){if("number"==typeof e)return e;var n;if("string"==typeof e&&(n=/^\s*([0-9.]+)\s*(mm|cm|in|pt)\s*$/.exec(e))){var i=parseFloat(n[1]);if(!isNaN(i))return"pt"==n[2]?i:{mm:Kl,cm:Yl,in:Ql}[n[2]](i)}if(null!=t)return t;throw new Error("Can't parse unit: "+e)}var Zl=function(){};Zl.prototype.beforeRender=function(){};var Jl=function(e){function t(t,n){e.call(this),this.value=t,this.utf16be=Boolean(n)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(e){var t=this.value;if(this.utf16be)t="þÿ"+function(e){for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);if(i<65535)t+=ko(i);else{var o=56320+(i-65536&1023);t+=ko(55296+(i-65536>>10)),t+=ko(o)}}return t}(t),e("(",t=t.replace(/([\(\)\\])/g,"\\$1"),")");else{for(var n=[40],i=0;i<t.length;++i){var o=255&t.charCodeAt(i);40!=o&&41!=o&&92!=o||n.push(92),n.push(o)}n.push(41),e.writeData(n)}},t.prototype.toString=function(){return this.value},t}(Zl),ec=function(e){function t(t){e.call(this,t),this.value=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(e){e("<");for(var t=0;t<this.value.length;++t)e(jl(this.value.charCodeAt(t).toString(16),4));e(">")},t}(Jl),tc=function(e){function t(t){e.call(this),this.name=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.get=function(e){return nc(e)},t.prototype.render=function(e){e("/"+this.escape())},t.prototype.escape=function(){return this.name.replace(/[^\x21-\x7E]/g,(function(e){return"#"+jl(e.charCodeAt(0).toString(16),2)}))},t.prototype.toString=function(){return this.name},t}(Zl);function nc(e){return new tc(e)}var ic=function(e){function t(t){e.call(this),this.props=t}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(e){var t=this.props,n=!0;e("<<"),e.withIndent((function(){for(var i in t)Wl(t,i)&&!/^_/.test(i)&&(n=!1,e.indent(nc(i)," ",t[i]))})),n||e.indent(),e(">>")},t}(Zl),oc=function(e){function t(t,n,i){if(e.call(this),"string"==typeof t){var o=sl();o.write(t),t=o}this.data=t,this.props=n||{},this.compress=i}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(e){var t=this.data.get(),n=this.props;this.compress&&(n.Filter?n.Filter instanceof Array||(n.Filter=[n.Filter]):n.Filter=[],n.Filter.unshift(nc("FlateDecode")),t=Il(t)),n.Length=t.length,e(new ic(n)," stream",Dl),e.writeData(t),e(Dl,"endstream")},t}(Zl),rc=function(e){function t(){e.call(this,{Type:nc("Catalog")})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setPages=function(e){this.props.Pages=e},t}(ic),ac=function(e){function t(){e.call(this,{Type:nc("Pages"),Kids:[],Count:0})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.addPage=function(e){this.props.Kids.push(e),this.props.Count++},t}(ic),sc=[192,193,194,195,197,198,199,201,202,203,205,206,207],lc=function(e){var t,n,i,o;if(e.offset(0),65496!=e.readShort())throw new Error("Invalid JPEG image");for(;!e.eof();){if(255!=e.readByte())throw new Error("Invalid JPEG image");var r=e.readByte(),a=e.readShort();if(sc.indexOf(r)>=0){o=e.readByte(),n=e.readShort(),t=e.readShort(),i=e.readByte();break}e.skip(a-2)}if(null==i)throw new Error("Invalid JPEG image");var s={Type:nc("XObject"),Subtype:nc("Image"),Width:t,Height:n,BitsPerComponent:o,Filter:nc("DCTDecode")};switch(i){case 1:s.ColorSpace=nc("DeviceGray");break;case 3:s.ColorSpace=nc("DeviceRGB");break;case 4:s.ColorSpace=nc("DeviceCMYK"),s.Decode=[1,0,1,0,1,0,1,0]}this.asStream=function(){e.offset(0);var t=new oc(e,s);return t._resourceName=nc("I"+ ++El),t}},cc=function(e,t,n,i){this.asStream=function(o){var r=new oc(i,{Type:nc("XObject"),Subtype:nc("Image"),Width:e,Height:t,BitsPerComponent:8,ColorSpace:nc("DeviceGray")},!0),a=new oc(n,{Type:nc("XObject"),Subtype:nc("Image"),Width:e,Height:t,BitsPerComponent:8,ColorSpace:nc("DeviceRGB"),SMask:o.attach(r)},!0);return a._resourceName=nc("I"+ ++El),a}},dc=function(e){function t(t){e.call(this,{Type:nc("Font"),Subtype:nc("Type1"),BaseFont:nc(t)}),this._resourceName=nc("F"+ ++El)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.encodeText=function(e){return new Jl(String(e))},t}(ic),uc=function(e){function t(t,n,i){e.call(this,{}),(i=this.props).Type=nc("Font"),i.Subtype=nc("Type0"),i.Encoding=nc("Identity-H"),this._pdf=t,this._font=n,this._sub=n.makeSubset(),this._resourceName=nc("F"+ ++El);var o=n.head;this.name=n.psName;var r=this.scale=n.scale;this.bbox=[o.xMin*r,o.yMin*r,o.xMax*r,o.yMax*r],this.italicAngle=n.post.italicAngle,this.ascent=n.ascent*r,this.descent=n.descent*r,this.lineGap=n.lineGap*r,this.capHeight=n.os2.capHeight||this.ascent,this.xHeight=n.os2.xHeight||0,this.stemV=0,this.familyClass=(n.os2.familyClass||0)>>8,this.isSerif=this.familyClass>=1&&this.familyClass<=7,this.isScript=10==this.familyClass,this.flags=(n.post.isFixedPitch?1:0)|(this.isSerif?2:0)|(this.isScript?8:0)|(0!==this.italicAngle?64:0)|32}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.encodeText=function(e){return new ec(this._sub.encodeText(String(e)))},t.prototype.getTextWidth=function(e,t){for(var n=0,i=this._font.cmap.codeMap,o=0;o<t.length;++o){var r=i[t.charCodeAt(o)];n+=this._font.widthOfGlyph(r||0)}return n*e/1e3},t.prototype.beforeRender=function(){var t=this,n=t._sub,i=n.render(),o=new oc(sl(i),{Length1:i.length},!0),r=t._pdf.attach(new e({Type:nc("FontDescriptor"),FontName:nc(t._sub.psName),FontBBox:t.bbox,Flags:t.flags,StemV:t.stemV,ItalicAngle:t.italicAngle,Ascent:t.ascent,Descent:t.descent,CapHeight:t.capHeight,XHeight:t.xHeight,FontFile2:t._pdf.attach(o)})),a=n.ncid2ogid,s=n.firstChar,l=n.lastChar,c=[];!function e(n,i){if(n<=l){var o=a[n];null==o?e(n+1):(i||c.push(n,i=[]),i.push(t._font.widthOfGlyph(o)),e(n+1,i))}}(s);var d=new e({Type:nc("Font"),Subtype:nc("CIDFontType2"),BaseFont:nc(t._sub.psName),CIDSystemInfo:new e({Registry:new Jl("Adobe"),Ordering:new Jl("Identity"),Supplement:0}),FontDescriptor:r,FirstChar:s,LastChar:l,DW:Math.round(t._font.widthOfGlyph(0)),W:c,CIDToGIDMap:t._pdf.attach(t._makeCidToGidMap())}),u=t.props;u.BaseFont=nc(t._sub.psName),u.DescendantFonts=[t._pdf.attach(d)];var h=new hc(s,l,n.subset),p=new oc(Vl(),null,!0);p.data(h),u.ToUnicode=t._pdf.attach(p)},t.prototype._makeCidToGidMap=function(){return new oc(sl(this._sub.cidToGidMap()),null,!0)},t}(ic),hc=function(e){function t(t,n,i){e.call(this),this.firstChar=t,this.lastChar=n,this.map=i}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(e){e.indent("/CIDInit /ProcSet findresource begin"),e.indent("12 dict begin"),e.indent("begincmap"),e.indent("/CIDSystemInfo <<"),e.indent(" /Registry (Adobe)"),e.indent(" /Ordering (UCS)"),e.indent(" /Supplement 0"),e.indent(">> def"),e.indent("/CMapName /Adobe-Identity-UCS def"),e.indent("/CMapType 2 def"),e.indent("1 begincodespacerange"),e.indent(" <0000><ffff>"),e.indent("endcodespacerange");var t=this;e.indent(t.lastChar-t.firstChar+1," beginbfchar"),e.withIndent((function(){for(var n=t.firstChar;n<=t.lastChar;++n){var i=t.map[n],o=[i].map((function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)})).join("");e.indent("<",jl(n.toString(16),4),">","<");for(var r=0;r<o.length;++r)e(jl(o.charCodeAt(r).toString(16),4));e(">")}})),e.indent("endbfchar"),e.indent("endcmap"),e.indent("CMapName currentdict /CMap defineresource pop"),e.indent("end"),e.indent("end")},t}(Zl);function pc(e){return e.map((function(e){return $l(e)?pc(e):"number"==typeof e?(Math.round(1e3*e)/1e3).toFixed(3):e})).join(" ")}function fc(e,t,n,i,o,r,a){var s=pc([t,n,i,o,r,a]),l=e.GRAD_COL_FUNCTIONS[s];return l||(l=e.GRAD_COL_FUNCTIONS[s]=e.attach(new ic({FunctionType:2,Domain:[0,1],Range:[0,1,0,1,0,1],N:1,C0:[t,n,i],C1:[o,r,a]}))),l}function mc(e,t,n){var i=pc([t,n]),o=e.GRAD_OPC_FUNCTIONS[i];return o||(o=e.GRAD_OPC_FUNCTIONS[i]=e.attach(new ic({FunctionType:2,Domain:[0,1],Range:[0,1],N:1,C0:[t],C1:[n]}))),o}function vc(e,t,n){var i="radial"==t.type,o=function(e,t){var n,i,o,r,a,s=!1,l=[],c=[],d=[],u=[];for(n=1;n<t.length;++n)i=t[n-1],o=t[n],r=i.color,a=o.color,c.push(fc(e,r.r,r.g,r.b,a.r,a.g,a.b)),(r.a<1||a.a<1)&&(s=!0),d.push(o.offset),u.push(0,1);if(s)for(n=1;n<t.length;++n)i=t[n-1],o=t[n],r=i.color,a=o.color,l.push(mc(e,r.a,a.a));return d.pop(),{hasAlpha:s,colors:h(c),opacities:s?h(l):null};function h(e){return 1==e.length?e[0]:{FunctionType:3,Functions:e,Domain:[0,1],Bounds:d,Encode:u}}}(e,t.stops),r=i?[t.start.x,t.start.y,t.start.r,t.end.x,t.end.y,t.end.r]:[t.start.x,t.start.y,t.end.x,t.end.y],a=function(e,t,n,i,o,r){var a,s;if(!r){var l=[t].concat(i);n.forEach((function(e){l.push(e.offset,e.color.r,e.color.g,e.color.b)})),s=pc(l),a=e.GRAD_COL[s]}return a||(a=new ic({Type:nc("Shading"),ShadingType:t?3:2,ColorSpace:nc("DeviceRGB"),Coords:i,Domain:[0,1],Function:o,Extend:[!0,!0]}),e.attach(a),a._resourceName="S"+ ++El,s&&(e.GRAD_COL[s]=a)),a}(e,i,t.stops,r,o.colors,t.userSpace&&n),s=o.hasAlpha?function(e,t,n,i,o,r){var a,s;if(!r){var l=[t].concat(i);n.forEach((function(e){l.push(e.offset,e.color.a)})),s=pc(l),a=e.GRAD_OPC[s]}return a||(a=new ic({Type:nc("ExtGState"),AIS:!1,CA:1,ca:1,SMask:{Type:nc("Mask"),S:nc("Luminosity"),G:e.attach(new oc("/a0 gs /s0 sh",{Type:nc("XObject"),Subtype:nc("Form"),FormType:1,BBox:r?[r.left,r.top+r.height,r.left+r.width,r.top]:[0,1,1,0],Group:{Type:nc("Group"),S:nc("Transparency"),CS:nc("DeviceGray"),I:!0},Resources:{ExtGState:{a0:{CA:1,ca:1}},Shading:{s0:{ColorSpace:nc("DeviceGray"),Coords:i,Domain:[0,1],ShadingType:t?3:2,Function:o,Extend:[!0,!0]}}}}))}}),e.attach(a),a._resourceName="O"+ ++El,s&&(e.GRAD_OPC[s]=a)),a}(e,i,t.stops,r,o.opacities,t.userSpace&&n):null;return{hasAlpha:o.hasAlpha,shading:a,opacity:s}}var gc=function(e){function t(t,n){e.call(this,n),this._pdf=t,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=[],(n=this.props).Type=nc("Page"),n.ProcSet=[nc("PDF"),nc("Text"),nc("ImageB"),nc("ImageC"),nc("ImageI")],n.Resources=new e({Font:new e(this._fontResources),ExtGState:new e(this._gsResources),XObject:new e(this._xResources),Pattern:new e(this._patResources),Shading:new e(this._shResources)}),n.Annots=this._annotations}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype._out=function(){this._content.data.apply(null,arguments)},t.prototype.transform=function(e,t,n,i,o,r){var a;(1!==(a=arguments)[0]||0!==a[1]||0!==a[2]||1!==a[3]||0!==a[4]||0!==a[5])&&(this._matrix=function(e,t){var n=e[0],i=e[1],o=e[2],r=e[3],a=e[4],s=e[5],l=t[0],c=t[1],d=t[2],u=t[3],h=t[4],p=t[5];return[n*l+i*d,n*c+i*u,o*l+r*d,o*c+r*u,a*l+s*d+h,a*c+s*u+p]}(arguments,this._matrix),this._out(e," ",t," ",n," ",i," ",o," ",r," cm"),this._out(Dl))},t.prototype.translate=function(e,t){this.transform(1,0,0,1,e,t)},t.prototype.scale=function(e,t){this.transform(e,0,0,t,0,0)},t.prototype.rotate=function(e){var t=Math.cos(e),n=Math.sin(e);this.transform(t,n,-n,t,0,0)},t.prototype.beginText=function(){this._textMode=!0,this._out("BT",Dl)},t.prototype.endText=function(){this._textMode=!1,this._out("ET",Dl)},t.prototype._requireTextMode=function(){if(!this._textMode)throw new Error("Text mode required; call page.beginText() first")},t.prototype._requireFont=function(){if(!this._font)throw new Error("No font selected; call page.setFont() first")},t.prototype.setFont=function(e,t){this._requireTextMode(),null==e?e=this._font:e instanceof uc||(e=this._pdf.getFont(e)),null==t&&(t=this._fontSize),this._fontResources[e._resourceName]=e,this._font=e,this._fontSize=t,this._out(e._resourceName," ",t," Tf",Dl)},t.prototype.setTextLeading=function(e){this._requireTextMode(),this._out(e," TL",Dl)},t.prototype.setTextRenderingMode=function(e){this._requireTextMode(),this._out(e," Tr",Dl)},t.prototype.showText=function(e,t){if(this._requireFont(),e.length>1&&t&&this._font instanceof uc){var n=t/this._font.getTextWidth(this._fontSize,e)*100;this._out(n," Tz ")}this._out(this._font.encodeText(e)," Tj",Dl)},t.prototype.showTextNL=function(e){this._requireFont(),this._out(this._font.encodeText(e)," '",Dl)},t.prototype.addLink=function(t,n){var i=this._toPage({x:n.left,y:n.bottom}),o=this._toPage({x:n.right,y:n.top});this._annotations.push(new e({Type:nc("Annot"),Subtype:nc("Link"),Rect:[i.x,i.y,o.x,o.y],Border:[0,0,0],A:new e({Type:nc("Action"),S:nc("URI"),URI:new Jl(t)})}))},t.prototype.setStrokeColor=function(e,t,n){this._out(e," ",t," ",n," RG",Dl)},t.prototype.setOpacity=function(e){this.setFillOpacity(e),this.setStrokeOpacity(e),this._opacity*=e},t.prototype.setStrokeOpacity=function(e){if(e<1){var t=this._pdf.getOpacityGS(this._opacity*e,!0);this._gsResources[t._resourceName]=t,this._out(t._resourceName," gs",Dl)}},t.prototype.setFillColor=function(e,t,n){this._out(e," ",t," ",n," rg",Dl)},t.prototype.setFillOpacity=function(e){if(e<1){var t=this._pdf.getOpacityGS(this._opacity*e,!1);this._gsResources[t._resourceName]=t,this._out(t._resourceName," gs",Dl)}},t.prototype.gradient=function(e,t){this.save(),this.rect(t.left,t.top,t.width,t.height),this.clip(),e.userSpace||this.transform(t.width,0,0,t.height,t.left,t.top);var n,i=vc(this._pdf,e,t),o=i.shading._resourceName;this._shResources[o]=i.shading,i.hasAlpha&&(n=i.opacity._resourceName,this._gsResources[n]=i.opacity,this._out("/"+n+" gs ")),this._out("/"+o+" sh",Dl),this.restore()},t.prototype.setDashPattern=function(e,t){this._out(e," ",t," d",Dl)},t.prototype.setLineWidth=function(e){this._out(e," w",Dl)},t.prototype.setLineCap=function(e){this._out(e," J",Dl)},t.prototype.setLineJoin=function(e){this._out(e," j",Dl)},t.prototype.setMitterLimit=function(e){this._out(e," M",Dl)},t.prototype.save=function(){this._contextStack.push(this._context()),this._out("q",Dl)},t.prototype.restore=function(){this._out("Q",Dl),this._context(this._contextStack.pop())},t.prototype.moveTo=function(e,t){this._out(e," ",t," m",Dl)},t.prototype.lineTo=function(e,t){this._out(e," ",t," l",Dl)},t.prototype.bezier=function(e,t,n,i,o,r){this._out(e," ",t," ",n," ",i," ",o," ",r," c",Dl)},t.prototype.bezier1=function(e,t,n,i){this._out(e," ",t," ",n," ",i," y",Dl)},t.prototype.bezier2=function(e,t,n,i){this._out(e," ",t," ",n," ",i," v",Dl)},t.prototype.close=function(){this._out("h",Dl)},t.prototype.rect=function(e,t,n,i){this._out(e," ",t," ",n," ",i," re",Dl)},t.prototype.ellipse=function(e,t,n,i){function o(t){return e+t}function r(e){return t+e}var a=.5522847498307936;this.moveTo(o(0),r(i)),this.bezier(o(n*a),r(i),o(n),r(i*a),o(n),r(0)),this.bezier(o(n),r(-i*a),o(n*a),r(-i),o(0),r(-i)),this.bezier(o(-n*a),r(-i),o(-n),r(-i*a),o(-n),r(0)),this.bezier(o(-n),r(i*a),o(-n*a),r(i),o(0),r(i))},t.prototype.circle=function(e,t,n){this.ellipse(e,t,n,n)},t.prototype.stroke=function(){this._out("S",Dl)},t.prototype.nop=function(){this._out("n",Dl)},t.prototype.clip=function(){this._out("W n",Dl)},t.prototype.clipStroke=function(){this._out("W S",Dl)},t.prototype.closeStroke=function(){this._out("s",Dl)},t.prototype.fill=function(){this._out("f",Dl)},t.prototype.fillStroke=function(){this._out("B",Dl)},t.prototype.drawImage=function(e){var t=this._pdf.getImage(e);t&&(this._xResources[t._resourceName]=t,this._out(t._resourceName," Do",Dl))},t.prototype.comment=function(e){var t=this;e.split(/\r?\n/g).forEach((function(e){t._out("% ",e,Dl)}))},t.prototype._context=function(e){if(null==e)return{opacity:this._opacity,matrix:this._matrix};this._opacity=e.opacity,this._matrix=e.matrix},t.prototype._toPage=function(e){var t=this._matrix,n=t[0],i=t[1],o=t[2],r=t[3],a=t[4],s=t[5];return{x:n*e.x+o*e.y+a,y:i*e.x+r*e.y+s}},t}(ic);var _c={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 bc(e,t){e=e.toLowerCase(),_c[e]=function(){return _c[t]},_c[e+"|bold"]=function(){return _c[t+"|bold"]},_c[e+"|italic"]=function(){return _c[t+"|italic"]},_c[e+"|bold|italic"]=function(){return _c[t+"|bold|italic"]}}bc("Times New Roman","serif"),bc("Courier New","monospace"),bc("Arial","sans-serif"),bc("Helvetica","sans-serif"),bc("Verdana","sans-serif"),bc("Tahoma","sans-serif"),bc("Georgia","sans-serif"),bc("Monaco","monospace"),bc("Andale Mono","monospace");var yc=Yi.browser||{};function wc(e){return Array.prototype.slice.call(e)}var kc={};kc._root=kc;!!("undefined"!=typeof window)&&(yc.msie||yc.edge),function(e){function t(t,n,i){e.call(this,t,n.getOrigin(),i),this._pdfRect=n}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.rect=function(){return this._pdfRect},t.prototype.rawBBox=function(){return this._pdfRect}}(Ca);var xc;"undefined"!=typeof Element&&Element.prototype&&((xc=Element.prototype).matches||xc.webkitMatchesSelector||xc.mozMatchesSelector||xc.msMatchesSelector);"undefined"!=typeof window&&window.kendo&&window.kendo.jQuery;!function(){var e=/^((-webkit-|-moz-|-o-|-ms-)?linear-gradient\s*)\(/,t=/^([-0-9.]+%)/,n=/^([-0-9.]+px)/,i=/^(left|right|top|bottom|to|center)\W/,o=/^([-0-9.]+(deg|grad|rad|turn)|0)/,r=/^(\s+)/,a=/^(\()/,s=/^(\))/,l=/^(,)/,c=/^(url)\(/,d=/^(.*?)\)/,u={},h={};function p(h){var p,f=h;if(Sc(u,f))return u[f];function m(e){!function(){var e=r.exec(h);e&&(h=h.substr(e[1].length))}();var t=e.exec(h);if(t)return h=h.substr(t[1].length),t[1]}function v(){var e,i,o=lo(h,!0);if(o){var r=/^#[0-9a-f]+/i.exec(h)||/^rgba?\(.*?\)/i.exec(h)||/^..*?\b/.exec(h);return h=h.substr(r[0].length),o=o.toRGB(),(e=m(n))||(i=m(t)),{color:o,length:e,percent:i}}}return(p=m(e))?p=function(e){var n,r,c,d=[],u=!1;if(m(a)){if("0"==(n=m(o))&&(n="0deg"),n?(n=function(e){var t=parseFloat(e);return/grad$/.test(e)?Math.PI*t/200:/rad$/.test(e)?t:/turn$/.test(e)?Math.PI*t*2:/deg$/.test(e)?Math.PI*t/180:void 0}(n),m(l)):("to"==(r=m(i))?r=m(i):r&&/^-/.test(e)&&(u=!0),c=m(i),m(l)),/-moz-/.test(e)&&null==n&&null==r){var p=m(t),f=m(t);u=!0,"0%"==p?r="left":"100%"==p&&(r="right"),"0%"==f?c="top":"100%"==f&&(c="bottom"),m(l)}for(;h&&!m(s);){var g=v();if(!g)break;d.push(g),m(l)}return{type:"linear",angle:n,to:r&&c?r+" "+c:r||c||null,stops:d,reverse:u}}}(p):(p=m(c))&&(p=function(){if(m(a)){var e=m(d);return e=e.replace(/^['"]+|["']+$/g,""),m(s),{type:"url",url:e}}}()),u[f]=p||{type:"none"}}}();var Cc,zc=(Cc={},function(e,t){t||(t=/^\s*,\s*/);var n=e+t;if(Sc(Cc,n))return Cc[n];var i,o=[],r=0,a=0,s=0,l=!1;function c(t){return i=t.exec(e.substr(a))}function d(e){return e.replace(/^\s+|\s+$/g,"")}for(;a<e.length;)!l&&c(/^[\(\[\{]/)?(s++,a++):!l&&c(/^[\)\]\}]/)?(s--,a++):!l&&c(/^[\"\']/)?(l=i[0],a++):"'"==l&&c(/^\\\'/)||'"'==l&&c(/^\\\"/)?a+=2:"'"==l&&c(/^\'/)||'"'==l&&c(/^\"/)?(l=!1,a++):c(t)?(!l&&!s&&a>r&&(o.push(d(e.substring(r,a))),r=a+i[0].length),a+=i[0].length):a++;return r<a&&o.push(d(e.substring(r,a))),Cc[n]=o});Object.create(null),Object.create(null);function Sc(e,t){return Object.prototype.hasOwnProperty.call(e,t)}window.kendo=window.kendo||{},kendo.deepExtend(kendo,{parseColor:lo,namedColors:Xi,Color:co});!function(e,t){var n=window.kendo,i=n.ui.Widget,o=n.ui.Draggable,r=n._outerWidth,a=n._outerHeight,s=e.extend,l=n.format,c=n.parseFloat,d=Array.isArray,u=Math,h=n.support,p=h.pointers,f=h.msPointers,m="change",v="slide",g=".slider",_="touchstart"+g+" mousedown"+g,b=p?"pointerdown"+g:f?"MSPointerDown"+g:_,y="touchend"+g+" mouseup"+g,w=p?"pointerup":f?"MSPointerUp"+g:y,k="moveSelection",x="keydown"+g,C="click"+g,z="mouseover"+g,S="focus"+g,T="blur"+g,M=".k-draghandle",I=".k-slider-track",H=".k-tick",D="k-selected",E="k-focus",A="k-disabled",V="disabled",P="tabindex",B=n.getTouches,F="aria-valuetext",O="aria-valuenow",L=i.extend({init:function(e,t){var o=this;if(i.fn.init.call(o,e,t),t=o.options,o._isHorizontal="horizontal"==t.orientation,o._isRtl=o._isHorizontal&&n.support.isRtl(e),o._position=o._isRtl?"right":o._isHorizontal?"left":"bottom",o._sizeFn=o._isHorizontal?"width":"height",o._outerSize=o._isHorizontal?r:a,t.tooltip.format=t.tooltip.enabled&&t.tooltip.format||"{0}",t.smallStep<=0)throw new Error("Kendo UI Slider smallStep must be a positive number.");o._createHtml(),o._trackDiv=o.wrapper.find(I),o._maxSelection=o._trackDiv[o._sizeFn](),o._sliderItemsInit(),o._reset(),o._tabindex(o.wrapper.find(M)),o[t.enabled?"enable":"disable"]();var s=n.support.isRtl(o.wrapper)?-1:1;o._keyMap={37:N(-1*s*t.smallStep),40:N(-t.smallStep),39:N(1*s*t.smallStep),38:N(+t.smallStep),35:U(t.max),36:U(t.min),33:N(+t.largeStep),34:N(-t.largeStep)},o._ariaLabel(o.wrapper.find(M)),n.notify(o)},events:[m,v],options:{enabled:!0,min:0,max:10,smallStep:1,largeStep:5,orientation:"horizontal",tickPlacement:"both",tooltip:{enabled:!0,format:"{0}"}},_distance:function(){return W(this.options.max-this.options.min)},_resize:function(){this.wrapper.find(".k-slider-items").remove(),this._maxSelection=this._trackDiv[this._sizeFn](),this._sliderItemsInit(),this._refresh(),this.options.enabled&&this.enable(!0)},_sliderItemsInit:function(){var t=this,n=t.options,i=(t._maxSelection-2)/((n.max-n.min)/n.smallStep),o=t._calculateItemsWidth(u.floor(G(t._distance())/G(n.smallStep)));"none"!=n.tickPlacement&&i>=2&&(e(this.element).parent().find(".k-slider-items").remove(),t._trackDiv.before(function(e,t){var n,i="<ul class='k-reset k-slider-items' role='presentation'>",o=u.floor(W(t/e.smallStep))+1;for(n=0;n<o;n++)i+="<li class='k-tick'></li>";return i+="</ul>",i}(n,t._distance())),t._setItemsTitle()),t._calculateSteps(o),"none"!=n.tickPlacement&&i>=2&&n.largeStep>=n.smallStep&&(t._setItemsLargeTick(),t.wrapper.find(H).first().addClass("k-first"),t.wrapper.find(H).last().addClass("k-last"))},getSize:function(){return n.dimensions(this.wrapper)},_setItemsTitle:function(){for(var t=this.options,n=this.wrapper.find(H),i=t.min,o=n.length,r=0;r<=o;r+=1)e(n[r]).attr("title",l(t.tooltip.format,W(i))),i+=t.smallStep},_setItemsLargeTick:function(){var t,n=this,i=n.options,o=n.wrapper.find(H),r=0;if(G(i.largeStep)%G(i.smallStep)==0||n._distance()/i.largeStep>=3)for(n._isHorizontal||n._isRtl||(o=e.makeArray(o).reverse()),r=0;r<o.length;r++){t=e(o[r]);var a=W(G(n._values[r]-this.options.min));a%G(i.smallStep)==0&&a%G(i.largeStep)==0&&(t.addClass("k-tick-large").html("<span class='k-label'>"+t.attr("title")+"</span>"),0!==r&&r!==o.length-1&&t.css("line-height",t[n._sizeFn]()+"px"))}},_calculateItemsWidth:function(e){var t,n,i,o=this,r=o.options,a=parseFloat(o._trackDiv.css(o._sizeFn))+1,s=o._distance(),l=G(s)/G(r.smallStep),c=a/G(s);for(l-e>0&&(a-=G(s)%G(r.smallStep)*c),t=a/e,n=[],i=0;i<e-1;i++)n[i]=t;return n[e-1]=n[e]=t/2,o._roundWidths(n)},_roundWidths:function(e){var t,n=0,i=e.length;for(t=0;t<i;t++)n+=e[t]-u.floor(e[t]),e[t]=u.floor(e[t]);return n=u.round(n),this._addAdditionalSize(n,e)},_addAdditionalSize:function(e,t){if(0===e)return t;var n,i=parseFloat(t.length-1)/parseFloat(1==e?e:e-1);for(n=0;n<e;n++)t[parseInt(u.round(i*n),10)]+=1;return t},_calculateSteps:function(e){var t,n=this,i=n.options,o=i.min,r=0,a=n._distance(),s=u.ceil(G(a)/G(i.smallStep)),l=1;if(s+=G(a)/G(i.smallStep)%1==0?1:0,e.splice(0,0,2*e[s-2]),e.splice(s-1,1,2*e.pop()),n._pixelSteps=[r],n._values=[o],0!==s){for(;l<s;)r+=(e[l-1]+e[l])/2,n._pixelSteps[l]=r,o+=i.smallStep,n._values[l]=W(o),l++;t=G(a)%G(i.smallStep)==0?s-1:s,n._pixelSteps[t]=n._maxSelection,n._values[t]=i.max}},_getValueFromPosition:function(e,t){var n,i=this,o=i.options,r=u.max(o.smallStep*(i._maxSelection/i._distance()),0),a=0,s=r/2;if(i._isHorizontal?(a=e-t.startPoint,i._isRtl&&(a=i._maxSelection-a)):a=t.startPoint-e,i._maxSelection-(parseInt(i._maxSelection%r,10)-3)/2<a)return o.max;for(n=0;n<i._pixelSteps.length;n++)if(u.abs(i._pixelSteps[n]-a)-1<=s)return W(i._values[n])},_getFormattedValue:function(e,t){var i,o,r,a="",s=this.options.tooltip;return d(e)?(o=e[0],r=e[1]):t&&t.type&&(o=t.selectionStart,r=t.selectionEnd),t&&(i=t.tooltipTemplate),!i&&s.template&&(i=n.template(s.template)),d(e)||t&&t.type?a=i?i({selectionStart:o,selectionEnd:r}):(o=l(s.format,o))+" - "+(r=l(s.format,r)):(t&&(t.val=e),a=i?i({value:e}):l(s.format,e)),a},_getDraggableArea:function(){var e=this,t=n.getOffset(e._trackDiv);return{startPoint:e._isHorizontal?t.left:t.top+e._maxSelection,endPoint:e._isHorizontal?t.left+e._maxSelection:t.top}},_createHtml:function(){var e=this,n=e.element,i=e.options,o=n.find("input");2==o.length?(o.eq(0).prop("value",j(i.selectionStart)),o.eq(1).prop("value",j(i.selectionEnd))):n.prop("value",j(i.value)),e.wrapper=n.wrap(function(e,t,n){var i=n?" k-slider-horizontal":" k-slider-vertical",o=e.style?e.style:t.attr("style"),r=t.attr("class")?" "+t.attr("class"):"",a="";"bottomRight"==e.tickPlacement?a=" k-slider-bottomright":"topLeft"==e.tickPlacement&&(a=" k-slider-topleft");return"<div class='k-slider"+i+r+"'"+(o=o?" style='"+o+"'":"")+"><div class='k-slider-track-wrap"+a+"'></div></div>"}(i,n,e._isHorizontal)).hide().parents(".k-slider"),i.showButtons&&e.wrapper.find(".k-slider-track-wrap").after(R(i,"increase",e._isHorizontal,e._isRtl)).before(R(i,"decrease",e._isHorizontal,e._isRtl)),n.before(function(e,n,i){var o,r,a,s=n.is("input")?1:2,l=2==s?e.leftDragHandleTitle:e.dragHandleTitle,c=e.value,d=e.selectionStart,u=e.selectionEnd;1===s?null!==(o=n.val())&&o!==t&&"null"!==o&&(null!==c&&c!==t||(c=o)):(r=n.find("input").eq(0).val(),a=n.find("input").eq(1).val(),null!==r&&r!==t&&"null"!==r&&(null!==d&&d!==t||(d=r)),null!==a&&a!==t&&"null"!==a&&(null!==u&&u!==t||(u=a)));var h="<div class='k-slider-track'><div class='k-slider-selection'>\x3c!-- --\x3e</div><span tabindex='0' class='k-draghandle' title='"+l+"' role='slider' "+(!1===i?"aria-orientation='vertical' ":"")+"aria-valuemin='"+e.min+"' aria-valuemax='"+e.max+"' aria-valuenow='"+(s>1?d||e.min:c||e.min)+"'></span>"+(s>1?"<span tabindex='0' class='k-draghandle' title='"+e.rightDragHandleTitle+"'role='slider' "+(!1===i?"aria-orientation='vertical' ":"")+"aria-valuemin='"+e.min+"' aria-valuemax='"+e.max+"' aria-valuenow='"+(u||e.max)+"'></span>":"")+"</div>";return h}(i,n,e._isHorizontal))},_focus:function(t){var n=this,i=t.target,o=n.value(),r=n._drag;r||(i==n.wrapper.find(M).eq(0)[0]?(r=n._firstHandleDrag,n._activeHandle=0):(r=n._lastHandleDrag,n._activeHandle=1),o=o[n._activeHandle]),e(i).addClass(E+" "+D),r&&(n._activeHandleDrag=r,r.selectionStart=n.options.selectionStart,r.selectionEnd=n.options.selectionEnd,r._updateTooltip(o))},_focusWithMouse:function(t){t=e(t);var n=this,i=t.is(M)?t.index():0;window.setTimeout((function(){n.wrapper.find(M)[2==i?1:0].focus()}),1),n._setTooltipTimeout()},_blur:function(t){var n=this,i=n._activeHandleDrag;e(t.target).removeClass(E+" "+D),i&&(i._removeTooltip(),delete n._activeHandleDrag,delete n._activeHandle)},_setTooltipTimeout:function(){var e=this;e._tooltipTimeout=window.setTimeout((function(){var t=e._drag||e._activeHandleDrag;t&&t._removeTooltip()}),300)},_clearTooltipTimeout:function(){window.clearTimeout(this._tooltipTimeout);var e=this._drag||this._activeHandleDrag;e&&e.tooltipDiv&&e.tooltipDiv.stop(!0,!1).css("opacity",1)},_reset:function(){var t=this,n=t.element,i=n.attr("form"),o=i?e("#"+i):n.closest("form");o[0]&&(t._form=o.on("reset",t._formResetHandler.bind(t)))},min:function(e){if(!e)return this.options.min;this.setOptions({min:e})},max:function(e){if(!e)return this.options.max;this.setOptions({max:e})},setOptions:function(e){i.fn.setOptions.call(this,e),this._sliderItemsInit(),this._refresh()},destroy:function(){this._form&&this._form.off("reset",this._formResetHandler),i.fn.destroy.call(this)}});function R(e,t,i,o){var r="";return r=i?"increase"===t?o?"caret-alt-left":"caret-alt-right":o?"caret-alt-right":"caret-alt-left":"increase"==t?"caret-alt-up":"caret-alt-down","<button class='k-button k-button-md k-rounded-full k-button-solid k-button-solid-base k-icon-button k-button-"+t+"' title='"+e[t+"ButtonTitle"]+'\' aria-hidden="true" tabindex="-1">'+n.ui.icon({icon:r,iconClass:"k-button-icon"})+"</button>"}function N(e){return function(t){return t+e}}function U(e){return function(){return e}}function j(e){return(e+"").replace(".",n.cultures.current.numberFormat["."])}function W(e){var t,n;return t=function(e){var t=e.toString(),n=0;return(t=t.split("."))[1]&&(n=t[1].length),n>10?10:n}(e=parseFloat(e,10)),n=u.pow(10,t||0),u.round(e*n)/n}function $(e,n){var i=c(e.getAttribute(n));return null===i&&(i=t),i}function q(e){return void 0!==e}function G(e){return 1e4*e}var K=L.extend({init:function(n,i){var o,r=this;n.type="text",i=s({},{value:$(n,"value"),min:$(n,"min"),max:$(n,"max"),smallStep:$(n,"step")},i),n=e(n),i&&i.enabled===t&&(i.enabled=!n.is("[disabled]")),L.fn.init.call(r,n,i),q((i=r.options).value)&&null!==i.value||(i.value=i.min,n.prop("value",j(i.min))),i.value=u.max(u.min(i.value,i.max),i.min),o=r.wrapper.find(M),r._selection=new K.Selection(o,r,i),r._drag=new K.Drag(o,"",r,i),r._refreshAriaAttr(i.value)},options:{name:"Slider",showButtons:!0,increaseButtonTitle:"Increase",decreaseButtonTitle:"Decrease",dragHandleTitle:"drag",tooltip:{format:"{0:#,#.##}"},value:null},enable:function(t){var i,o,r=this,a=r.options;r.disable(),!1!==t&&(r.wrapper.removeClass(A),r.wrapper.find("input").prop(V,!1),i=function(t){var n=B(t)[0];if(n){var i=r._isHorizontal?n.location.pageX:n.location.pageY,o=r._getDraggableArea(),a=e(t.target);a.hasClass("k-draghandle")?a.addClass(E+" "+D):(r._update(r._getValueFromPosition(i,o)),r._focusWithMouse(t.target),r._drag.dragstart(t),t.preventDefault())}},r.wrapper.find(H+", "+I).on(b,i).end().on(w,(function(){r._drag._end()})),r.wrapper.find(M).attr(P,0).on(y,(function(){r._setTooltipTimeout()})).on(C,(function(e){r._focusWithMouse(e.target),e.preventDefault()})).on(S,r._focus.bind(r)).on(T,r._blur.bind(r)),o=function(e){var t=r._nextValueByIndex(r._valueIndex+1*e);r._setValueInRange(t),r._drag._updateTooltip(t)},a.showButtons&&r.wrapper.find(".k-button").on(y,function(e){this._clearTimer(),r._focusWithMouse(e.target)}.bind(r)).on(z,(function(t){e(t.currentTarget).addClass("k-hover")})).on("mouseout"+g,function(t){e(t.currentTarget).removeClass("k-hover"),this._clearTimer()}.bind(r)).on(_,(function(t){var n=e(t.target).closest(".k-button").is(".k-button-increase")?1:-1;r._mouseDownHandler(t,n,o)})).on("click",n.preventDefault),r.wrapper.find(M).off(x,!1).on(x,this._keydown.bind(r)),a.enabled=!0)},disable:function(){var t=this;t.wrapper.addClass(A),e(t.element).prop(V,V),t.wrapper.find(".k-button").off(_).on(_,(function(t){t.preventDefault(),e(this).addClass("k-active")})).off(y).on(y,(function(t){t.preventDefault(),e(this).removeClass("k-active")})).off("mouseleave"+g).on("mouseleave"+g,n.preventDefault).off(z).on(z,n.preventDefault),t.wrapper.find(H+", "+I).off(b).off(w),t.wrapper.find(M).attr(P,-1).off(y).off(x).off(C).off(S).off(T),t.options.enabled=!1},_mouseDownHandler:function(e,t,n){let i=this;i._clearTooltipTimeout(),(1===e.which||h.touch&&0===e.which)&&(n(t),i.timeout=setTimeout((function(){i.timer=setInterval((function(){n(t)}),60)}),200))},_update:function(e){var t=this,n=t.value()!=e;t.value(e),n&&t.trigger(m,{value:t.options.value})},value:function(e){var t=this,n=t.options;if(e=W(e),isNaN(e))return n.value;e>=n.min&&e<=n.max&&n.value!=e&&(t.element.prop("value",j(e)),n.value=e,t._refreshAriaAttr(e),t._refresh())},_refresh:function(){this.trigger(k,{value:this.options.value})},_refreshAriaAttr:function(e){var t,n=this._drag;t=n&&n._tooltipDiv?n._tooltipDiv.text():this._getFormattedValue(e,null),this.wrapper.find(M).attr(O,e).attr(F,t)},_clearTimer:function(){clearTimeout(this.timeout),clearInterval(this.timer)},_keydown:function(e){var t=this;e.keyCode in t._keyMap&&(t._clearTooltipTimeout(),t._setValueInRange(t._keyMap[e.keyCode](t.options.value)),t._drag._updateTooltip(t.value()),e.preventDefault())},_setValueInRange:function(e){var t=this,n=t.options;e=W(e),isNaN(e)?t._update(n.min):(e=u.max(u.min(e,n.max),n.min),t._update(e))},_nextValueByIndex:function(e){var t=this._values.length;return this._values[u.max(0,u.min(e,t-1))]},_formResetHandler:function(){var e=this,t=e.options.min;setTimeout((function(){var n=e.element[0].value;e.value(""===n||isNaN(n)?t:n)}))},destroy:function(){var e=this;L.fn.destroy.call(e),e.wrapper.off(g).find(".k-button").off(g).end().find(M).off(g).end().find(H+", "+I).off(g).end(),e._drag.draggable.destroy(),e._drag._removeTooltip(!0)}});K.Selection=function(e,t,n){function i(i){var o=i-n.min,r=t._valueIndex=u.ceil(W(o/n.smallStep)),a=parseInt(t._pixelSteps[r],10);t._trackDiv.find(".k-slider-selection")[t._sizeFn](a),e.css(t._position,a)}i(n.value),t.bind([v,k],(function(e){i(parseFloat(e.value,10))})),t.bind(m,(function(e){i(parseFloat(e.sender.value(),10))}))},K.Drag=function(e,t,n,i){var r=this;r.owner=n,r.options=i,r.element=e,r.type=t,r.draggable=new o(e,{distance:0,dragstart:r._dragstart.bind(r),drag:r.drag.bind(r),dragend:r.dragend.bind(r),dragcancel:r.dragcancel.bind(r)}),e.click(!1),e.on("dragstart",(function(e){e.preventDefault()}))},K.Drag.prototype={dragstart:function(e){this.owner._activeDragHandle=this,this.draggable.userEvents.cancel(),this._dragstart(e),this.dragend()},_dragstart:function(t){var n=this,i=n.owner,o=n.options;o.enabled?(this.owner._activeDragHandle=this,i.element.off(z),i.wrapper.find("."+E).removeClass(E+" "+D),n.element.addClass(E+" "+D),e(document.documentElement).css("cursor","pointer"),n.draggableArea=i._getDraggableArea(),n.step=u.max(o.smallStep*(i._maxSelection/i._distance()),0),n.type?(n.selectionStart=o.selectionStart,n.selectionEnd=o.selectionEnd,i._setZIndex(n.type)):n.oldVal=n.val=o.value,n._removeTooltip(!0),n._createTooltip()):t.preventDefault()},_createTooltip:function(){var t,i=this,o=i.owner,r=i.options.tooltip,a="",s=e(window);r.enabled&&(r.template&&(i.tooltipTemplate=n.template(r.template)),e(".k-slider-tooltip").remove(),i.tooltipDiv=e("<div role='tooltip' class='k-tooltip k-slider-tooltip'>\x3c!-- --\x3e</div>").appendTo(document.body),a=o._getFormattedValue(i.val||o.value(),i),i.type||(t="k-callout-"+(o._isHorizontal?"s":"e"),i.tooltipInnerDiv="<div class='k-callout "+t+"'>\x3c!-- --\x3e</div>",a+=i.tooltipInnerDiv),i.tooltipDiv.html(a),i._scrollOffset={top:s.scrollTop(),left:n.scrollLeft(s)},i.moveTooltip())},drag:function(e){var t,n=this,i=n.owner,o=e.x.location,r=e.y.location,a=n.draggableArea.startPoint,s=n.draggableArea.endPoint;e.preventDefault(),i._isHorizontal?i._isRtl?n.val=n.constrainValue(o,a,s,o<s):n.val=n.constrainValue(o,a,s,o>=s):n.val=n.constrainValue(r,s,a,r<=s),n.oldVal!=n.val&&(n.oldVal=n.val,n.type?("firstHandle"==n.type?n.val<n.selectionEnd?n.selectionStart=n.val:n.selectionStart=n.selectionEnd=n.val:n.val>n.selectionStart?n.selectionEnd=n.val:n.selectionStart=n.selectionEnd=n.val,t={values:[n.selectionStart,n.selectionEnd],value:[n.selectionStart,n.selectionEnd]}):t={value:n.val},i.trigger(v,t)),n._updateTooltip(n.val)},_updateTooltip:function(e){var t=this,n="";t.options.tooltip.enabled&&(t.tooltipDiv||t._createTooltip(),n=t.owner._getFormattedValue(W(e),t),t.type||(n+=t.tooltipInnerDiv),t.tooltipDiv.html(n),t.moveTooltip())},dragcancel:function(){return this.owner._refresh(),e(document.documentElement).css("cursor",""),this._end()},dragend:function(){var t=this,n=t.owner;return e(document.documentElement).css("cursor",""),t.type?n._update(t.selectionStart,t.selectionEnd):(n._update(t.val),t.draggable.userEvents._disposeAll()),t.draggable.userEvents.cancel(),t._end()},_end:function(){var e=this.owner;return e._focusWithMouse(this.element),e.element.on(z),!1},_removeTooltip:function(t){var n=this,i=n.owner;n.tooltipDiv&&i.options.tooltip.enabled&&i.options.enabled&&(t?(n.tooltipDiv.remove(),n.tooltipDiv=null):n.tooltipDiv.fadeOut("slow",(function(){e(this).remove(),n.tooltipDiv=null})))},moveTooltip:function(){var t,i,o,s,l=this,c=l.owner,d=0,u=0,h=l.element,p=n.getOffset(h),f=e(window),m=l.tooltipDiv.find(".k-callout"),v=r(l.tooltipDiv),g=a(l.tooltipDiv);l.type?(t=c.wrapper.find(M),p=n.getOffset(t.eq(0)),i=n.getOffset(t.eq(1)),c._isHorizontal?(d=i.top,u=p.left+(i.left-p.left)/2):(d=p.top+(i.top-p.top)/2,u=i.left),s=r(t.eq(0))+16):(d=p.top,u=p.left,s=r(h)+16),c._isHorizontal?(u-=parseInt((v-c._outerSize(h))/2,10),d-=g+8+(m.length?m.height():0)):(d-=parseInt((g-c._outerSize(h))/2,10),u-=v+8+(m.length?m.width():0)),c._isHorizontal?(d+=o=l._flip(d,g,s,a(f)+l._scrollOffset.top),u+=l._fit(u,v,r(f)+l._scrollOffset.left)):(o=l._flip(u,v,s,r(f)+l._scrollOffset.left),d+=l._fit(d,g,a(f)+l._scrollOffset.top),u+=o),o>0&&m&&(m.removeClass(),m.addClass("k-callout k-callout-"+(c._isHorizontal?"n":"w"))),l.tooltipDiv.css({top:d,left:u})},_fit:function(e,t,n){var i=0;return e+t>n&&(i=n-(e+t)),e<0&&(i=-e),i},_flip:function(e,t,n,i){var o=0;return e+t>i&&(o+=-(n+t)),e+o<0&&(o+=n+t),o},constrainValue:function(e,t,n,i){var o=this;return t<e&&e<n?o.owner._getValueFromPosition(e,o.draggableArea):i?o.options.max:o.options.min}},n.ui.plugin(K);var Y=L.extend({init:function(n,i){var o=this,r=e(n).find("input"),a=r.eq(0)[0],l=r.eq(1)[0];a.type="text",l.type="text",i&&i.showButtons&&(window.console&&window.console.warn("showbuttons option is not supported for the range slider, ignoring"),i.showButtons=!1),(i=s({},{selectionStart:$(a,"value"),min:$(a,"min"),max:$(a,"max"),smallStep:$(a,"step")},{selectionEnd:$(l,"value"),min:$(l,"min"),max:$(l,"max"),smallStep:$(l,"step")},i))&&i.enabled===t&&(i.enabled=!r.is("[disabled]")),L.fn.init.call(o,n,i),q((i=o.options).selectionStart)&&null!==i.selectionStart||(i.selectionStart=i.min,r.eq(0).prop("value",j(i.min))),q(i.selectionEnd)&&null!==i.selectionEnd||(i.selectionEnd=i.max,r.eq(1).prop("value",j(i.max)));var c=o.wrapper.find(M);this._selection=new Y.Selection(c,o,i),o._firstHandleDrag=new K.Drag(c.eq(0),"firstHandle",o,i),o._lastHandleDrag=new K.Drag(c.eq(1),"lastHandle",o,i),o._refreshAriaAttr(i.selectionStart,i.selectionEnd)},options:{name:"RangeSlider",leftDragHandleTitle:"drag",rightDragHandleTitle:"drag",tooltip:{format:"{0:#,#.##}"},selectionStart:null,selectionEnd:null},enable:function(t){var i,o=this,r=o.options;o.disable(),!1!==t&&(o.wrapper.removeClass(A),o.wrapper.find("input").prop(V,!1),i=function(t){var n=B(t)[0];if(n){var i,a,s,l=o._isHorizontal?n.location.pageX:n.location.pageY,c=o._getDraggableArea(),d=o._getValueFromPosition(l,c),u=e(t.target);if(u.hasClass("k-draghandle"))return o.wrapper.find("."+E).removeClass(E+" "+D),void u.addClass(E+" "+D);d<r.selectionStart?(i=d,a=r.selectionEnd,s=o._firstHandleDrag):d>o.selectionEnd?(i=r.selectionStart,a=d,s=o._lastHandleDrag):d-r.selectionStart<=r.selectionEnd-d?(i=d,a=r.selectionEnd,s=o._firstHandleDrag):(i=r.selectionStart,a=d,s=o._lastHandleDrag),s.dragstart(t),o._setValueInRange(i,a),o._focusWithMouse(s.element)}},o.wrapper.find(H+", "+I).on(b,i).end().on(w,(function(){o._activeDragHandle&&o._activeDragHandle._end()})),o.wrapper.find(M).attr(P,0).on(y,(function(){o._setTooltipTimeout()})).on(C,(function(e){o._focusWithMouse(e.target),e.preventDefault()})).on(S,o._focus.bind(o)).on(T,o._blur.bind(o)),o.wrapper.find(M).off(x,n.preventDefault).eq(0).on(x,function(e){this._keydown(e,"firstHandle")}.bind(o)).end().eq(1).on(x,function(e){this._keydown(e,"lastHandle")}.bind(o)),o.options.enabled=!0)},disable:function(){var e=this;e.wrapper.addClass(A),e.wrapper.find("input").prop(V,V),e.wrapper.find(H+", "+I).off(b).off(w),e.wrapper.find(M).attr(P,-1).off(y).off(x).off(C).off(S).off(T),e.options.enabled=!1},_keydown:function(e,t){var n,i,o,r=this,a=r.options.selectionStart,s=r.options.selectionEnd;e.keyCode in r._keyMap&&(r._clearTooltipTimeout(),"firstHandle"==t?(o=r._activeHandleDrag=r._firstHandleDrag,(a=r._keyMap[e.keyCode](a))>s&&(s=a)):(o=r._activeHandleDrag=r._lastHandleDrag,a>(s=r._keyMap[e.keyCode](s))&&(a=s)),r._setValueInRange(W(a),W(s)),n=Math.max(a,r.options.selectionStart),i=Math.min(s,r.options.selectionEnd),o.selectionEnd=Math.max(i,r.options.selectionStart),o.selectionStart=Math.min(n,r.options.selectionEnd),o._updateTooltip(r.value()[r._activeHandle]),e.preventDefault())},_update:function(e,t){var n=this,i=n.value(),o=i[0]!=e||i[1]!=t;n.value([e,t]),o&&n.trigger(m,{values:[e,t],value:[e,t]})},value:function(e){return e&&e.length?this._value(e[0],e[1]):this._value()},_value:function(e,t){var n=this,i=n.options,o=i.selectionStart,r=i.selectionEnd;if(isNaN(e)&&isNaN(t))return[o,r];e=W(e),t=W(t),e>=i.min&&e<=i.max&&t>=i.min&&t<=i.max&&e<=t&&(o==e&&r==t||(n.element.find("input").eq(0).prop("value",j(e)).end().eq(1).prop("value",j(t)),i.selectionStart=e,i.selectionEnd=t,n._refresh(),n._refreshAriaAttr(e,t)))},values:function(e,t){return d(e)?this._value(e[0],e[1]):this._value(e,t)},_refresh:function(){var e=this,t=e.options;e.trigger(k,{values:[t.selectionStart,t.selectionEnd],value:[t.selectionStart,t.selectionEnd]}),t.selectionStart==t.max&&t.selectionEnd==t.max&&e._setZIndex("firstHandle")},_refreshAriaAttr:function(e,t){var n,i=this,o=i.wrapper.find(M),r=i._activeHandleDrag;n=i._getFormattedValue([e,t],r),o.eq(0).attr(O,e),o.eq(1).attr(O,t),o.attr(F,n)},_setValueInRange:function(e,t){var n=this.options;e=u.max(u.min(e,n.max),n.min),t=u.max(u.min(t,n.max),n.min),e==n.max&&t==n.max&&this._setZIndex("firstHandle"),this._update(u.min(e,t),u.max(e,t))},_setZIndex:function(t){this.wrapper.find(M).each((function(n){e(this).css("z-index","firstHandle"==t?1-n:n)}))},_formResetHandler:function(){var e=this,t=e.options;setTimeout((function(){var n=e.element.find("input"),i=n[0].value,o=n[1].value;e.values(""===i||isNaN(i)?t.min:i,""===o||isNaN(o)?t.max:o)}))},destroy:function(){var e=this;L.fn.destroy.call(e),e.wrapper.off(g).find(H+", "+I).off(g).end().find(M).off(g),e._firstHandleDrag.draggable.destroy(),e._lastHandleDrag.draggable.destroy()}});Y.Selection=function(e,t,n){function i(i){var o=(i=i||[])[0]-n.min,r=i[1]-n.min,a=u.ceil(W(o/n.smallStep)),s=u.ceil(W(r/n.smallStep)),l=t._pixelSteps[a],c=t._pixelSteps[s];e.eq(0).css(t._position,l).end().eq(1).css(t._position,c),function(e,n){var i,o,r=t._trackDiv.find(".k-slider-selection");i=u.abs(e-n),r[t._sizeFn](i),o=u.min(e,n),r.css(t._position,o-1)}(l,c)}i(t.value()),t.bind([m,v,k],(function(e){i(e.values)}))},n.ui.plugin(Y)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.htmlEncode,o=n.Observable,r=n.data.ObservableObject,a=n.data.ObservableArray,s={}.toString,l={},c=n.Class,d="value",u="source",h="events",p="checked",f=!0,m="change";!function(){var e=document.createElement("a");try{delete e.test}catch(e){f=!1}}();var v=o.extend({init:function(e,t){var n=this;o.fn.init.call(n),n.source=e[0],n.parents=e,n.path=t,n.dependencies={},n.dependencies[t]=!0,n.observable=n.source instanceof o,n._access=function(e){n.dependencies[e.field]=!0},n.observable&&(n._change=function(e){n.change(e)},n.source.bind(m,n._change))},_parents:function(){var t=this.parents,n=this.get();if(n&&"function"==typeof n.parent){var i=n.parent();e.inArray(i,t)<0&&(t=[i].concat(t))}return t},change:function(e){var t,n,i=e.field,o=this;if("this"===o.path)o.trigger(m,e);else for(t in o.dependencies)if(0===t.indexOf(i)&&(!(n=t.charAt(i.length))||"."===n||"["===n)){o.trigger(m,e);break}},start:function(e){e.bind("get",this._access)},stop:function(e){e.unbind("get",this._access)},get:function(){var e=this,n=e.source,i=0,o=e.path,a=n;if(!e.observable)return a;for(e.start(e.source),a=n.get(o);a===t&&n;)(n=e.parents[++i])instanceof r&&(a=n.get(o));if(a===t)for(n=e.source;a===t&&n;)(n=n.parent())instanceof r&&(a=n.get(o));return"function"==typeof a&&((i=o.lastIndexOf("."))>0&&(n=n.get(o.substring(0,i))),e.start(n),a=n!==e.source?a.call(n,e.source):a.call(n),e.stop(n)),n&&n!==e.source&&(e.currentSource=n,n.unbind(m,e._change).bind(m,e._change)),e.stop(e.source),a},set:function(e){var t=this.currentSource||this.source,i=n.getter(this.path)(t);"function"==typeof i?t!==this.source?i.call(t,this.source,e):i.call(t,e):t.set(this.path,e)},destroy:function(){this.observable&&(this.source.unbind(m,this._change),this.currentSource&&this.currentSource.unbind(m,this._change)),this.unbind()}}),g=v.extend({get:function(){var e,t=this.source,n=this.path,i=0;for(e=t.get(n);!e&&t;)(t=this.parents[++i])instanceof r&&(e=t.get(n));if(e)return e.bind(t)}}),_=v.extend({init:function(e,t,n){v.fn.init.call(this,e,t),this.template=n},render:function(e){var t;return this.start(this.source),t=n.render(this.template,e),this.stop(this.source),t}}),b=c.extend({init:function(e,t,n){this.element=e,this.bindings=t,this.options=n},bind:function(e,t){var n=this;(e=t?e[t]:e).bind(m,(function(e){n.refresh(t||e)})),n.refresh(t)},destroy:function(){}}),y=b.extend({dataType:function(){return(this.element.getAttribute("data-"+n.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=n.parseDate(e,"yyyy-MM-dd"):"datetime-local"==t?e=n.parseDate(e,["yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm"]):"number"==t?e=n.parseFloat(e):"boolean"==t&&(e=e.toLowerCase(),e=null!==n.parseFloat(e)?Boolean(n.parseFloat(e)):"true"===e.toLowerCase()),e}});function w(t,i,o){return b.extend({init:function(e,t,n){var i=this;b.fn.init.call(i,e.element[0],t,n),i.widget=e,i._dataBinding=i.dataBinding.bind(i),i._dataBound=i.dataBound.bind(i),i._itemChange=i.itemChange.bind(i)},itemChange:function(e){I(e.item[0],e.data,this._ns(e.ns),[e.data].concat(this.bindings[t]._parents()))},dataBinding:function(e){var t,n,i=this.widget,o=e.removedItems||i.items();for(t=0,n=o.length;t<n;t++)E(o[t],!1)},_ns:function(t){t=t||n.ui;var i=[n.ui,n.dataviz.ui,n.mobile.ui];return i.splice(e.inArray(t,i),1),i.unshift(t),n.rolesFromNamespaces(i)},dataBound:function(e){var o,r,a,s,l=this.widget,c=e.addedItems||l.items(),d=l[i],u=n.data.HierarchicalDataSource;if(!(u&&d instanceof u)&&c.length)for(a=e.addedDataItems||d.flatView(),s=this.bindings[t]._parents(),o=0,r=a.length;o<r;o++)c[o]&&I(c[o],a[o],this._ns(e.ns),[a[o]].concat(s))},refresh:function(e){var r,a,s,l=this,c=l.widget;(e=e||{}).action||(l.destroy(),c.bind("dataBinding",l._dataBinding),c.bind("dataBound",l._dataBound),c.bind("itemChange",l._itemChange),r=l.bindings[t].get(),c[i]instanceof n.data.DataSource&&c[i]!=r&&r&&(r instanceof n.data.DataSource?c[o](r):r._dataSource?c[o](r._dataSource):(a=n.ui.Select&&c instanceof n.ui.Select,s=n.ui.MultiSelect&&c instanceof n.ui.MultiSelect,n.ui.DropDownTree&&c instanceof n.ui.DropDownTree?c.treeview[i].data(r):c[i].data(r),l.bindings.value&&(a||s)&&c.value(V(l.bindings.value.get(),c.options.dataValueField)))))},destroy:function(){var e=this.widget;e.unbind("dataBinding",this._dataBinding),e.unbind("dataBound",this._dataBound),e.unbind("itemChange",this._itemChange)}})}l.attr=b.extend({refresh:function(e){this.element.setAttribute(e,this.bindings.attr[e].get())}}),l.css=b.extend({init:function(e,t,n){b.fn.init.call(this,e,t,n),this.classes={}},refresh:function(t){var n=e(this.element),i=this.bindings.css[t];(this.classes[t]=i.get())?n.addClass(t):n.removeClass(t)}}),l.style=b.extend({refresh:function(e){this.element.style[e]=this.bindings.style[e].get()||""}}),l.enabled=b.extend({refresh:function(){this.bindings.enabled.get()?this.element.removeAttribute("disabled"):this.element.setAttribute("disabled","disabled")}}),l.readonly=b.extend({refresh:function(){this.bindings.readonly.get()?this.element.setAttribute("readonly","readonly"):this.element.removeAttribute("readonly")}}),l.disabled=b.extend({refresh:function(){this.bindings.disabled.get()?this.element.setAttribute("disabled","disabled"):this.element.removeAttribute("disabled")}}),l.events=b.extend({init:function(e,t,n){b.fn.init.call(this,e,t,n),this.handlers={}},refresh:function(t){var n=e(this.element),i=this.bindings.events[t],o=this.handlers[t];o&&n.off(t,o),o=this.handlers[t]=i.get(),n.on(t,i.source,o)},destroy:function(){var t,n=e(this.element);for(t in this.handlers)n.off(t,this.handlers[t])}}),l.text=b.extend({refresh:function(){var t=this.bindings.text.get(),i=this.element.getAttribute("data-"+n.ns+"format")||"";null==t&&(t=""),e(this.element).text(n.toString(t,i))}}),l.visible=b.extend({refresh:function(){this.bindings.visible.get()?this.element.style.display="":this.element.style.display="none"}}),l.invisible=b.extend({refresh:function(){this.bindings.invisible.get()?this.element.style.display="none":this.element.style.display=""}}),l.html=b.extend({refresh:function(){this.element.innerHTML=this.bindings.html.get()}}),l.value=y.extend({init:function(t,n,i){y.fn.init.call(this,t,n,i),this._change=this.change.bind(this),this.eventName=i.valueUpdate||m,e(this.element).on(this.eventName,this._change),this._initChange=!1},change:function(){this._initChange=this.eventName!=m,this.bindings[d].set(this.parsedValue()),this._initChange=!1},refresh:function(){if(!this._initChange){var e=this.bindings[d].get();null==e&&(e="");var t=this.dataType();"date"==t?e=n.toString(e,"yyyy-MM-dd"):"datetime-local"==t&&(e=n.toString(e,"yyyy-MM-ddTHH:mm:ss")),this.element.value=e}this._initChange=!1},destroy:function(){e(this.element).off(this.eventName,this._change)}}),l.source=b.extend({init:function(e,t,i){b.fn.init.call(this,e,t,i);var o=this.bindings.source.get();o instanceof n.data.DataSource&&!1!==i.autoBind&&o.fetch()},refresh:function(e){var t=this,i=t.bindings.source.get();i instanceof a||i instanceof n.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,o=this.container().nodeName.toLowerCase();return t||(t="select"==o?e.valueField||e.textField?t=>{const o=n.getter(e.valueField||e.textField)(t),r=n.getter(e.textField||e.valueField)(t);return`<option value="${i(o)}">${i(r)}</option>`}:e=>`<option>${i(e)}</option>`:"tbody"==o?e=>`<tr><td>${i(e)}</td></tr>`:"ul"==o||"ol"==o?e=>`<li>${i(e)}</li>`:e=>`${i(e)}`,t=n.template(t)),t},add:function(t,i){var o,r,a,s,l=this.container(),c=l.cloneNode(!1),d=l.children[t];if(e(c).html(n.render(this.template(),i)),c.children.length)for(o=this.bindings.source._parents(),r=0,a=i.length;r<a;r++)s=c.children[0],l.insertBefore(s,d||null),I(s,i[r],this.options.roles,[i[r]].concat(o))},remove:function(e,t){var n,i=this.container();for(n=0;n<t.length;n++){var o=i.children[e];E(o,!0),o.parentNode==i&&i.removeChild(o)}},render:function(){var t,i,o,r=this.bindings.source.get(),l=this.container(),c=this.template();if(null!=r)if(r instanceof n.data.DataSource&&(r=r.view()),r instanceof a||"[object Array]"===s.call(r)||(r=[r]),this.bindings.template){if(A(l,!0),e(l).html(this.bindings.template.render(r)),l.children.length)for(t=this.bindings.source._parents(),i=0,o=r.length;i<o;i++)I(l.children[i],r[i],this.options.roles,[r[i]].concat(t))}else e(l).html(n.render(c,r))}}),l.input={checked:y.extend({init:function(t,n,i){y.fn.init.call(this,t,n,i),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[p].set(t);else if("checkbox"==e.type){var n,i=this.bindings[p].get();if(i instanceof a){if((t=this.parsedValue())instanceof Date){for(var o=0;o<i.length;o++)if(i[o]instanceof Date&&+i[o]==+t){n=o;break}}else n=i.indexOf(t);n>-1?i.splice(n,1):i.push(t)}else this.bindings[p].set(t)}},refresh:function(){var e=this.bindings[p].get(),t=e,i=this.dataType(),o=this.element;if("checkbox"==o.type)if(t instanceof a){var r=-1;if((e=this.parsedValue())instanceof Date){for(var s=0;s<t.length;s++)if(t[s]instanceof Date&&+t[s]==+e){r=s;break}}else r=t.indexOf(e);o.checked=r>=0}else o.checked=t;else"radio"==o.type&&("date"==i?e=n.toString(e,"yyyy-MM-dd"):"datetime-local"==i&&(e=n.toString(e,"yyyy-MM-ddTHH:mm:ss")),null!=e&&o.value===e.toString()?o.checked=!0:o.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(m,this._change)}})},l.select={source:l.source.extend({refresh:function(i){var o=this,r=o.bindings.source.get();if(r instanceof a||r instanceof n.data.DataSource){if("add"==(i=i||{}).action)o.add(i.index,i.items);else if("remove"==i.action)o.remove(i.index,i.items);else if(("itemchange"==i.action||i.action===t)&&(o.render(),o.bindings.value&&o.bindings.value)){var s=V(o.bindings.value.get(),e(o.element).data("valueField"));null===s?o.element.selectedIndex=-1:o.element.value=s}}else o.render()}}),value:y.extend({init:function(t,n,i){y.fn.init.call(this,t,n,i),this._change=this.change.bind(this),e(this.element).change(this._change)},parsedValue:function(){var e,t,n,i,o=this.dataType(),r=[];for(n=0,i=this.element.options.length;n<i;n++)(t=this.element.options[n]).selected&&(e=(e=t.attributes.value)&&e.specified?t.value:t.text,r.push(this._parseValue(e,o)));return r},change:function(){var e,i,o,s,l,c,u=[],h=this.element,p=this.options.valueField||this.options.textField,f=this.options.valuePrimitive;for(l=0,c=h.options.length;l<c;l++)(i=h.options[l]).selected&&(s=(s=i.attributes.value)&&s.specified?i.value:i.text,p?u.push(s):u.push(this._parseValue(s,this.dataType())));if(p)for((e=this.bindings.source.get())instanceof n.data.DataSource&&(e=e.view()),o=0;o<u.length;o++)for(l=0,c=e.length;l<c;l++){var m=e[l].get(p);if(String(m)===u[o]){u[o]=e[l];break}}(s=this.bindings[d].get())instanceof a?s.splice.apply(s,[0,s.length].concat(u)):f||!(s instanceof r||null===s||s===t)&&p?this.bindings[d].set(u[0].get(p)):this.bindings[d].set(u[0])},refresh:function(){var e,t,i=this.element,o=i.options,s=this.bindings[d].get(),l=s,c=this.options.valueField||this.options.textField,u=this.dataType();l instanceof a||(l=new a([s])),i.selectedIndex=-1;for(var h=0;h<l.length;h++)for(s=l[h],c&&s instanceof r&&(s=s.get(c)),"date"==u?s=n.toString(l[h],"yyyy-MM-dd"):"datetime-local"==u&&(s=n.toString(l[h],"yyyy-MM-ddTHH:mm:ss")),e=0;e<o.length;e++)""===(t=o[e].value)&&""!==s&&(t=o[e].text),null!=s&&t==s.toString()&&(o[e].selected=!0,!0)},destroy:function(){e(this.element).off(m,this._change)}})},l.widget={events:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e,this.handlers={}},refresh:function(e){var t=this.bindings.events[e],n=this.handlers[e];n&&this.widget.unbind(e,n),(n=t.get())&&(this.handlers[e]=function(e){e.data=t.source,n(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:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e,this._change=this.change.bind(this),this.widget.bind(m,this._change)},change:function(){this.bindings[p].set(this.value())},refresh:function(){var e=this.bindings[p].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(m,this._change)}}),start:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this._change=this.change.bind(this),this.widget=e,this.widget.bind(m,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(m,this._change)}}),end:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this._change=this.change.bind(this),this.widget=e,this.widget.bind(m,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(m,this._change)}}),visible:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e},refresh:function(){var e=this.bindings.visible.get();this.widget.wrapper[0].style.display=e?"":"none"}}),invisible:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e},refresh:function(){var e=this.bindings.invisible.get();this.widget.wrapper[0].style.display=e?"none":""}}),floatingLabel:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),e.floatingLabel&&e.floatingLabel.refresh()}}),enabled:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e,this.readonly=this.element.readOnly},refresh:function(){this.widget.enable&&this.widget.enable(this.bindings.enabled.get()),this.readonly&&this.widget.readonly&&this.widget.readonly(this.readonly)}}),disabled:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e},refresh:function(){this.widget.enable&&this.widget.enable(!this.bindings.disabled.get())}}),source:w("source","dataSource","setDataSource"),value:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e,this._change=this.change.bind(this),this.widget.first(m,this._change);var i=this.bindings.value.get();this._valueIsObservableObject=!n.valuePrimitive&&(null==i||i instanceof r),this._valueIsObservableArray=i instanceof a,this._initChange=!1},_source:function(){var e;return this.widget.dataItem&&(e=this.widget.dataItem())&&e instanceof r?[e]:(this.bindings.source&&(e=this.bindings.source.get()),(!e||e instanceof n.data.DataSource)&&(e=this.widget.dataSource.flatView()),e)},change:function(){var e,t,n,i,o,r,a,l=this.widget.value(),c=this.options.dataValueField||this.options.dataTextField,d="[object Array]"===s.call(l),u=this._valueIsObservableObject,h=[];if(this._initChange=!0,c)if(""===l&&(u||this.options.valuePrimitive))l=null;else{for(a=this._source(),d&&(t=l.length,h=l.slice(0)),o=0,r=a.length;o<r;o++)if(i=(n=a[o]).get(c),d){for(e=0;e<t;e++)if(i==h[e]){h[e]=n;break}}else if(i==l){l=u?n:i;break}h[0]&&(l=this._valueIsObservableArray?h:u||!c?h[0]:h[0].get(c))}this.bindings.value.set(l),this._initChange=!1},refresh:function(){if(!this._initChange){var e,n=this.widget,i=n.options,o=i.dataTextField,s=i.dataValueField||o,l=this.bindings.value.get(),c=i.text||"",d=0,u=[];if(l===t&&(l=null),s)if(l instanceof a){for(e=l.length;d<e;d++)u[d]=l[d].get(s);l=u}else l instanceof r&&(c=l.get(o),l=l.get(s));!1!==i.autoBind||i.cascadeFrom||!n.listView||n.listView.bound()?n.value(l):(o!==s||c||(c=l),c||!l&&0!==l||!i.valuePrimitive?n._preselect(l,c):n.value(l))}this._initChange=!1},destroy:function(){this.widget.unbind(m,this._change)}}),dropdowntree:{value:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e,this._change=this.change.bind(this),this.widget.first(m,this._change),this._initChange=!1},change:function(){var e=this,n=e.bindings[d].get(),i=e.options.valuePrimitive,o=e.widget.treeview.select(),r=e.widget._isMultipleSelection()?e.widget._getAllChecked():e.widget.treeview.dataItem(o)||e.widget.value(),s=i||!1===e.widget.options.autoBind?e.widget.value():r,l=this.options.dataValueField||this.options.dataTextField;if(s=s.slice?s.slice(0):s,e._initChange=!0,n instanceof a){for(var c,u,h,p=[],f=s.length,m=0,v=0,g=n[m];g!==t;){for(h=!1,v=0;v<f;v++)if(i?s[v]==g:(u=(u=s[v]).get?u.get(l):u)==(g.get?g.get(l):g)){s.splice(v,1),f-=1,h=!0;break}h?m+=1:(p.push(g),k(n,m,1),c=m),g=n[m]}k(n,n.length,0,s),p.length&&n.trigger("change",{action:"remove",items:p,index:c}),s.length&&n.trigger("change",{action:"add",items:s,index:n.length-1})}else e.bindings[d].set(s);e._initChange=!1},refresh:function(){if(!this._initChange){var e,t,n=this.options,i=this.widget,o=n.dataValueField||n.dataTextField,s=this.bindings.value.get(),l=s,c=0,d=[];if(o)if(s instanceof a){for(e=s.length;c<e;c++)t=s[c],d[c]=t.get?t.get(o):t;s=d}else s instanceof r&&(s=s.get(o));!1===n.autoBind&&!0!==n.valuePrimitive?i._preselect(l,s):i.value(s)}},destroy:function(){this.widget.unbind(m,this._change)}})},gantt:{dependencies:w("dependencies","dependencies","setDependenciesDataSource")},multiselect:{value:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e,this._change=this.change.bind(this),this.widget.first(m,this._change),this._initChange=!1},change:function(){var e=this,n=e.bindings[d].get(),i=e.options.valuePrimitive,o=i?e.widget.value():e.widget.dataItems(),r=this.options.dataValueField||this.options.dataTextField;if(o=o.slice(0),e._initChange=!0,n instanceof a){for(var s,l,c,u=[],h=o.length,p=0,f=0,m=n[p];m!==t;){for(c=!1,f=0;f<h;f++)if(i?o[f]==m:(l=(l=o[f]).get?l.get(r):l)==(m.get?m.get(r):m)){o.splice(f,1),h-=1,c=!0;break}c?p+=1:(u.push(m),k(n,p,1),s=p),m=n[p]}k(n,n.length,0,o),u.length&&n.trigger("change",{action:"remove",items:u,index:s}),o.length&&n.trigger("change",{action:"add",items:o,index:n.length-1})}else e.bindings[d].set(o);e._initChange=!1},refresh:function(){if(!this._initChange){var e,n,i=this.options,o=this.widget,s=i.dataValueField||i.dataTextField,l=this.bindings.value.get(),c=l,d=0,u=[];if(l===t&&(l=null),s)if(l instanceof a){for(e=l.length;d<e;d++)n=l[d],u[d]=n.get?n.get(s):n;l=u}else l instanceof r&&(l=l.get(s));!1!==i.autoBind||!0===i.valuePrimitive||o._isBound()?o.value(l):o._preselect(c,l)}},destroy:function(){this.widget.unbind(m,this._change)}})},scheduler:{source:w("source","dataSource","setDataSource").extend({dataBound:function(e){var t,n,i,o,r=this.widget,a=e.addedItems||r.items();if(a.length)for(i=e.addedDataItems||r.dataItems(),o=this.bindings.source._parents(),t=0,n=i.length;t<n;t++)I(a[t],i[t],this._ns(e.ns),[i[t]].concat(o))}})},grid:{source:w("source","dataSource","setDataSource").extend({dataBound:function(e){var t,n,i,o,r=this.widget,a=e.addedItems||r.items();if(a.length)for(o=e.addedDataItems||r.dataItems(),i=this.bindings.source._parents(),t=0,n=o.length;t<n;t++)I(a[t],o[t],this._ns(e.ns),[o[t]].concat(i))}})},badge:{text:b.extend({init:function(e,t,n){b.fn.init.call(this,e.element[0],t,n),this.widget=e},refresh:function(){var e=this.bindings.text.get();null==e&&(e=""),this.widget.text(e)}})}};var k=function(e,t,n,i){n=n||0;var o,r=(i=i||[]).length,a=e.length,s=[].slice.call(e,t+n),l=s.length;if(r){for(r=t+r,o=0;t<r;t++)e[t]=i[o],o++;e.length=r}else if(n)for(e.length=t,n+=t;t<n;)delete e[--n];if(l){for(l=t+l,o=0;t<l;t++)e[t]=s[o],o++;e.length=l}for(t=e.length;t<a;)delete e[t],t++},x=c.extend({init:function(e,t){this.target=e,this.options=t,this.toDestroy=[]},bind:function(e){var t,n,i,o,r,a,s=this instanceof C,l=this.binders();for(t in e)t==d?n=!0:t==u?i=!0:t!=h||s?t==p?r=!0:"css"==t?a=!0:this.applyBinding(t,e,l):o=!0;i&&this.applyBinding(u,e,l),n&&this.applyBinding(d,e,l),r&&this.applyBinding(p,e,l),o&&!s&&this.applyBinding(h,e,l),a&&!s&&this.applyBinding("css",e,l),s&&this.target&&this.target.floatingLabel&&this.applyBinding("floatingLabel",e,l)},binders:function(){return l[this.target.nodeName.toLowerCase()]||{}},applyBinding:function(e,t,n){var i,o=n[e]||l[e],r=this.toDestroy,a=t[e];if(o)if(o=new o(this.target,t,this.options),r.push(o),a instanceof v)o.bind(a),r.push(a);else for(i in a)o.bind(a,i),r.push(a[i]);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,n=this.toDestroy;for(e=0,t=n.length;e<t;e++)n[e].destroy()}}),C=x.extend({binders:function(){return l.widget[this.target.options.name.toLowerCase()]||{}},applyBinding:function(e,t,n){var i,o=n[e]||l.widget[e],r=this.toDestroy,a=t[e];if(!o)throw new Error("The "+e+" binding is not supported by the "+this.target.options.name+" widget");if(o=new o(this.target,t,this.target.options),r.push(o),a instanceof v)o.bind(a),r.push(a);else for(i in a)o.bind(a,i),r.push(a[i])}});var z=/[A-Za-z0-9_\-]+:(\{([^}]*)\}|[^,}]+)/g,S=/\s/g;function T(e){var t,n,i,o,r,a,s,l={};for(t=0,n=(s=e.match(z)).length;t<n;t++)o=(i=s[t]).indexOf(":"),r=i.substring(0,o),"{"==(a=i.substring(o+1)).charAt(0)&&(a=T(a)),l[r]=a;return l}function M(e,t,n){var i,o={};for(i in e)o[i]=new n(t,e[i]);return o}function I(e,t,i,o){if(e&&!e.getAttribute("data-"+n.ns+"stop")){var r,a,s,l=e.getAttribute("data-"+n.ns+"role"),c=e.getAttribute("data-"+n.ns+"bind"),d=[],u=!0,h={};o=o||[t],(l||c)&&D(e,!1),l&&(s=function(e,t,i){var o=n.initWidget(e,{},t,i);if(o)return new C(o)}(e,i,t)),c&&(c=T(c.replace(S,"")),s||((h=n.parseOptions(e,{textField:"",valueField:"",template:"",valueUpdate:m,valuePrimitive:!1,autoBind:!0},t)).roles=i,s=new x(e,h)),s.source=t,a=M(c,o,v),h.template&&(a.template=new _(o,"",h.template)),a.click&&(c.events=c.events||{},c.events.click=c.click,a.click.destroy(),delete a.click),a.source&&(u=!1),c.attr&&(a.attr=M(c.attr,o,v)),c.style&&(a.style=M(c.style,o,v)),c.events&&(a.events=M(c.events,o,g)),c.css&&(a.css=M(c.css,o,v)),s.bind(a)),s&&(e.kendoBindingTarget=s);var p=e.children;if(u&&p&&!e.getAttribute("data-"+n.ns+"stop")){for(r=0;r<p.length;r++)d[r]=p[r];for(r=0;r<d.length;r++)I(d[r],t,i,o)}}}function H(t,i){var o,r,a,s=n.rolesFromNamespaces([].slice.call(arguments,2));for(i=n.observable(i),o=0,r=(t=e(t)).length;o<r;o++)1===(a=t[o]).nodeType&&I(a,i,s)}function D(t,i){var o=t.kendoBindingTarget;if(o&&(o.destroy(),f?delete t.kendoBindingTarget:t.removeAttribute?t.removeAttribute("kendoBindingTarget"):t.kendoBindingTarget=null),i){var r=n.widgetInstance(e(t));r&&"function"==typeof r.destroy&&r.destroy()}}function E(e,t){e&&(D(e,t),A(e,t))}function A(e,t){var n=e.children;if(n)for(var i=0,o=n.length;i<o;i++)E(n[i],t)}function V(e,t){var n,i,o=[],s=0;if(!t)return e;if(e instanceof a){for(n=e.length;s<n;s++)i=e[s],o[s]=i.get?i.get(t):i[t];e=o}else e instanceof r&&(e=e.get(t));return e}n.unbind=function(t){var n,i;for(n=0,i=(t=e(t)).length;n<i;n++)E(t[n],!1)},n.bind=H,n.data.binders=l,n.data.Binder=b,n.notify=function(e,t){var n=e.element,i=n[0].kendoBindingTarget;i&&H(n,i.source,t)},n.observable=function(e){return e instanceof r||(e=new r(e)),e},n.observableHierarchy=function(e){var t=n.data.HierarchicalDataSource.create(e);return t.fetch(),function e(t){var n,i;for(n=0;n<t.length;n++)t[n]._initChildren(),(i=t[n].children).fetch(),t[n].items=i.data(),e(t[n].items)}(t.data()),t._data._dataSource=t,t._data}}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=n.ui,r=e.isPlainObject,a=".kendoTextBox",s="change",l="disabled",c="readonly",u="k-input-inner",h="input",p="k-focus",f="k-disabled",m="k-readonly",v="k-hidden",g="aria-disabled",_=i.extend({init:function(o,r){var s=this;i.fn.init.call(s,o,r),r=e.extend(!0,{},r),s.options.value=r.value||s.element.val(),s.options.readonly=r.readonly!==t?r.readonly:Boolean(s.element.attr("readonly")),s.options.enable=r.enable!==t?r.enable:!Boolean(s.element.attr("disabled")),s.options.placeholder=r.placeholder||s.element.attr("placeholder"),s.options.inputMode=r.inputMode||s.element.attr("inputmode")||"text",s.value(s.options.value),s._wrapper(),s._label(),s._editable({readonly:s.options.readonly,disable:!s.options.enable}),s.element.addClass(u).attr("placeholder",s.options.placeholder).attr("inputmode",s.options.inputMode).attr("autocomplete","off"),r.icon&&s._icon(),d({widget:s,wrapper:s.wrapper,options:s.options}),s._clearButton(),s._clear&&s._clear.on("click"+a+" touchend"+a,s._clearValue.bind(s)),n.notify(s),s._applyCssClasses(),s.floatingLabel&&s.floatingLabel.refresh()},events:[s,h],options:{name:"TextBox",value:"",readonly:!1,clearButton:!1,enable:!0,placeholder:"",label:null,rounded:"medium",size:"medium",fillMode:"solid",icon:null,prefixOptions:{separator:!0},suffixOptions:{separator:!0}},value:function(e){var n=this;if(e===t)return n._value;n._value=e,n.element.val(e),e?n._showClear():n._hideClear(),n.floatingLabel&&n.floatingLabel.refresh()},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)},focus:function(){this.element[0].focus()},destroy:function(){var e=this;e.floatingLabel&&e.floatingLabel.destroy(),e._clear&&(e._clear.off(a),e._clear=null),e.element.off(a),e.element[0].style.width="",e.element.removeClass(u),i.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(),n.deepExtend(this.options,e),this.init(this.element,this.options)},_clearValue:function(e){this.element.val(""),this.element.focus(),this.element.trigger(s,{value:"",originalEvent:e}),this._hideClear()},_hideClear:function(){this._clear&&this._clear.addClass(v)},_showClear:function(){this._clear&&this._clear.removeClass(v)},_clearButton:function(){let t=this;t._clear||(t._clear=e(`<span unselectable="on" class="k-clear-value" title="Clear">${n.ui.icon("x")}</span>`).attr({role:"button",tabIndex:-1}),t._clear.appendTo(t.wrapper)),t.options.clearButton||t._clear.remove(),t.element.val()||t._hideClear()},_editable:function(e){var t=this,n=t.element,i=t.wrapper,o=e.disable,r=e.readonly;n.off(a),r||o?(n.attr(l,o).attr(c,r).attr(g,o),i.toggleClass(f,o).toggleClass(m,r)):(n.prop(l,!1).prop(c,!1).attr(g,!1),i.removeClass(f).removeClass(m),n.on("focusin"+a,t._focusin.bind(t)),n.on("focusout"+a,t._focusout.bind(t)),n.on(s+a,t._change.bind(t)),n.on(h+a,t._input.bind(t)))},_icon:function(){this.wrapper.prepend(n.ui.icon({icon:this.options.icon,iconClass:"k-input-icon"}))},_input:function(e){var t=this.element.val();this.trigger(h,{value:t,originalEvent:e})},_label:function(){var t,i,o=this,a=o.element,s=o.options,l=a.attr("id");null!==s.label&&(t=!!r(s.label)&&s.label.floating,i=r(s.label)?s.label.content:s.label,t&&(o._floatingLabelContainer=o.wrapper.wrap("<span></span>").parent(),o.floatingLabel=new n.ui.FloatingLabel(o._floatingLabelContainer,{widget:o})),n.isFunction(i)&&(i=i.call(o)),i||(i=""),l||(l=s.name+"_"+n.guid(),a.attr("id",l)),o._inputLabel=e("<label class='"+(t?"k-floating-label":"k-label k-input-label")+"' for='"+l+"'>"+i+"</label>'")[t?"insertAfter":"insertBefore"](o.wrapper))},_focusin:function(){this.wrapper.addClass(p)},_focusout:function(){this.wrapper.removeClass(p)},_change:function(e){var t=this,n=t.element.val();t._value=n,t.trigger(s,{value:n,originalEvent:e}),n?t._showClear():t._hideClear()},_wrapper:function(){var e,t=this.element,n=t[0];(e=t.wrap("<span class='k-input k-textbox'></span>").parent())[0].style.cssText=n.style.cssText,n.style.width="100%",this.wrapper=e.addClass(n.className).removeClass("input-validation-error")}});n.cssProperties.registerPrefix("TextBox","k-input-"),n.cssProperties.registerValues("TextBox",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),o.plugin(_)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.caret,o=n.keys,r=n.html,a=n.ui,s=a.Widget,l=n._activeElement,c=n._extractFormat,u=n.parseFloat,h=n.support.placeholder,p=n.getCulture,f="change",m="disabled",v="readonly",g="k-input-inner",_="spin",b=".kendoNumericTextBox",y="mouseenter"+b+" "+("mouseleave"+b),w="k-focus",k="k-hover",x="focus",C=".",z="k-selected",S="k-disabled",T="k-invalid",M="aria-disabled",I=/^(-)?(\d*)$/,H=null,D=e.isPlainObject,E=e.extend,A=s.extend({init:function(i,o){var r,a,l,u,h,p=this,f=o&&o.step!==t;s.fn.init.call(p,i,o),o=p.options,i=p.element.on("focusout"+b,p._focusout.bind(p)).attr("role","spinbutton"),o.placeholder=o.placeholder||i.attr("placeholder"),o.inputMode=o.inputMode||i.attr("inputmode")||"text",r=p.min(i.attr("min")),a=p.max(i.attr("max")),l=p._parse(i.attr("step")),o.min===H&&r!==H&&(o.min=r),o.max===H&&a!==H&&(o.max=a),f||l===H||(o.step=l),p._initialOptions=E({},o),h=i.attr("type"),p._reset(),p._wrapper(),p._arrows(),p._validation(),p._input(),n.support.mobileOS?p._text.on("touchend"+b+" "+x+b,(function(){n.support.browser.edge?p._text.one(x+b,(function(){p._focusin()})):p._focusin(),p.selectValue()})):p._text.on(x+b,p._click.bind(p)),i.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=c(o.format),(u=o.value)==H&&(u="number"==h?parseFloat(i.val()):i.val()),p.value(u),!o.enable||i.is("[disabled]")||e(p.element).parents("fieldset").is(":disabled")?p.enable(!1):p.readonly(i.is("[readonly]")),p._label(),p._ariaLabel(p._text),p._applyCssClasses(),d({widget:p,wrapper:p.wrapper,options:p.options,prefixInsertBefore:p._text,suffixInsertAfter:p._validationIcon}),p.floatingLabel&&p.floatingLabel.refresh(),n.notify(p)},options:{name:"NumericTextBox",decimals:H,autoAdjust:!0,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",prefixOptions:{separator:!0},suffixOptions:{separator:!0}},events:[f,_],_editable:function(e){var t=this,n=t.element,i=e.disable,o=e.readonly,r=t._text.add(n),a=t.wrapper.off(y);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||i?(a.addClass(i?S:"").removeClass(i?"":S),r.attr(m,i).attr(v,o).attr(M,i)):(a.removeClass(S).on(y,t._toggleHover),r.prop(m,!1).prop(v,!1).attr(M,!1),t._upArrowEventHandler.bind("press",(function(e){e.preventDefault(),t._spin(1),t._upArrow.addClass(z)})),t._downArrowEventHandler.bind("press",(function(e){e.preventDefault(),t._spin(-1),t._downArrow.addClass(z)})),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;s.fn.setOptions.call(n,e),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=c(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(),e.enable!==t||e.readonly!==t?n._editable({readonly:e.readonly,disable:!e.enable}):n._editable({readonly:n.element.attr("readonly")!==t?Boolean(n.element.attr("readonly")):n.options.readonly,disable:n.element.attr("disabled")!==t?Boolean(n.element.attr("disabled")):!n.options.enable}),e.value!==t?n.value(e.value):n._value!==t&&n.value(n._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),s.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)&&(e=H),n._update(e),n._old=n._value,n.floatingLabel&&n.floatingLabel.refresh()},focus:function(){this._focusin(),this.selectValue()},_adjust:function(e){let t=this.options,n=t.min,i=t.max,o=t.autoAdjust;return e!==H&&o?(n!==H&&e<n?e=n:i!==H&&e>i&&(e=i),e):e},_arrows:function(){var t,i=this,o=function(){clearTimeout(i._spinning),t.removeClass(z)},r=i.options,a=r.spinners,s=i.element;(t=s.siblings(".k-icon-button"))[0]||(t=e(V("increase",r.upArrowText,r)+V("decrease",r.downArrowText,r)).appendTo(i.wrapper),i._arrowsWrap=t.wrapAll('<span class="k-input-spinner k-spin-button"/>').parent()),a||t.parent().toggle(a),i._upArrow=t.eq(0),i._upArrowEventHandler=new n.UserEvents(i._upArrow,{release:o}),i._downArrow=t.eq(1),i._downArrowEventHandler=new n.UserEvents(i._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,r,a=e.target,s=i(a)[0],l=a.value.substring(0,s),c=t._format(t.options.format),d=c[","],u=0;d&&(o=new RegExp("\\"+d,"g"),r=new RegExp("(-)?("+c.symbol+")?([\\d\\"+d+"]+)(\\"+c[C]+")?(\\d+)?")),r&&(n=r.exec(l)),n&&(u=n[0].replace(o,"").length,-1!=l.indexOf("(")&&t._value<0&&u++),t._focusin(),i(t.element[0],u),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(f),t.trigger(f)),t._typing=!1},_culture:function(e){return e||p(this.options.culture)},_focusin:function(){var e=this;e.wrapper.addClass(w),e._toggleText(!1),e.element.trigger("focus")},_focusout:function(){var e=this;clearTimeout(e._focusing),e.wrapper.removeClass(w).removeClass(k),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,i=this,o=i.options,r=i.element.addClass(g).show()[0],a=r.accessKey,s=i.wrapper.find(C+g);i.element.attr("inputmode",o.inputMode),(t=s.first()).length<2&&(t=e('<input type="text"/>').attr(n.attr("validate"),"false").insertBefore(r));try{r.setAttribute("type","text")}catch(e){r.type="text"}t[0].title=r.title,t[0].tabIndex=r.tabIndex,t[0].style.cssText=r.style.cssText,t.prop("placeholder",o.placeholder),a&&(t.attr("accesskey",a),r.accessKey=""),i._text=t.addClass(r.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=i(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),r=o[C],a=null!==n&&n>=0&&"-"===t.charAt(0);this._numPadDot&&r!==C&&(t=t.replace(C,r),this.element.val(t),this._numPadDot=!1),this._isPasted&&this._parse(t)&&(t=this._parse(t).toString().replace(C,o[C])),this._numericRegex(o).test(t)&&!a?this._oldText=t:(this._blinkInvalidState(),this.element.val(this._oldText),this._cachedCaret&&(i(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(T),this._validationIcon.removeClass("k-hidden")},_removeInvalidState:function(){var e=this;e.wrapper.removeClass(T),e._validationIcon.addClass("k-hidden"),e._invalidStateTimeout=null},_numericRegex:function(e){var t=this,n=e[C],i=t.options.decimals,o="*";return n===C&&(n="\\"+n),i===H&&(i=e.decimals),0===i&&t.options.restrictDecimals?I:(t.options.restrictDecimals&&(o="{0,"+i+"}"),t._separator===n&&t._oldPrecision===i||(t._separator=n,t._floatRegExp=new RegExp("^(-)?(((\\d+("+n+"\\d"+o+")?)|("+n+"\\d"+o+")))?$"),t._oldPrecision=i),t._floatRegExp)},_paste:function(e){var t=this,n=e.target,i=n.value,o=t._format(t.options.format);t._isPasted=!0,setTimeout((function(){var e=t._parse(n.value);e===H?t._update(i):(n.value=e.toString().replace(C,o[C]),t._adjust(e)===e&&t._numericRegex(o).test(n.value)||(i=t._getFactorValue(n.value),t._update(i)))}))},_option:function(e,n){var i=this,o=i.element,r=i.options;if(n===t)return r[e];((n=i._parse(n))||"step"!==e)&&(r[e]=n,o.add(i._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,i=t._value,o=t._parse(n.val())||0,r=t.options.decimals||2;l()!=n[0]&&t._focusin(),t.options.factor&&o&&(o/=t.options.factor),o=+(o+t.options.step*e).toFixed(r),o=t._adjust(o),t._update(o),t._typing=!1,i!==o&&t.trigger(_)},_toggleHover:function(t){e(t.currentTarget).toggleClass(k,"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 u(e,this._culture(t),this.options.format)},_round:function(e,t){return(this.options.round?n._round:P)(e,t)},_update:function(e){var t,i,o=this,r=o.options,a=r.factor,s=r.format,l=r.decimals,c=o._culture(),d=o._format(s,c);l===H&&(l=d.decimals),(i=(e=o._parse(e,c))!==H)&&(e=parseFloat(o._round(e,l),10)),o._value=e=o._adjust(e),o._placeholder(n.toString(e,s,c)),i?(a&&(e=parseFloat(o._round(e*a,l),10)),-1!==(e=e.toString()).indexOf("e")&&(e=o._round(+e,l)),t=e,e=e.replace(C,d[C])):(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),h||e||t.val(this.options.placeholder),t.attr("title",this.element.attr("title")||t.val())},_label:function(){var i,o,r=this,a=r.element,s=r.options,l=a.attr("id");null!==s.label&&(i=!!D(s.label)&&s.label.floating,o=D(s.label)?s.label.content:s.label,i&&(r._floatingLabelContainer=r.wrapper.wrap("<span></span>").parent(),r.floatingLabel=new n.ui.FloatingLabel(r._floatingLabelContainer,{widget:r})),n.isFunction(o)&&(o=o.call(r)),o||(o=""),l||(l=s.name+"_"+n.guid(),a.attr("id",l)),r._inputLabel=e("<label class='"+(i?"k-floating-label":"k-label k-input-label")+"' for='"+l+"'>"+o+"</label>'")[i?"insertAfter":"insertBefore"](r.wrapper),r.element.attr("disabled")===t&&r.element.attr("readonly")===t&&r._inputLabel.on("click"+b,r.focus.bind(r)))},_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,i=n.attr("form"),o=i?e("#"+i):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 V(e,t,n){var i="increase"===e?"caret-alt-up":"caret-alt-down",o="increase"===e?"increase":"decrease";return r.renderButton('<button role="button" tabindex="-1" unselectable="on" class="k-spinner-'+o+'" aria-label="'+t+'" title="'+t+'"></button>',E({},n,{icon:i,shape:null,rounded:null}))}function P(e,t){var n=parseFloat(e,10).toString().split(C);return n[1]&&(n[1]=n[1].substring(0,t)),n.join(C)}n.cssProperties.registerPrefix("NumericTextBox","k-input-"),n.cssProperties.registerValues("NumericTextBox",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),a.plugin(A)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui,o=i.Widget,r=n.parseColor,a=n.ui.Popup.TabKeyTrap,s=e.extend,l=".kendoColorTools",c="keydown"+l,d=o.extend({init:function(e,t){var n=this;o.fn.init.call(n,e,t),e=n.element,t=n.options,e.is("input")?(n._initialValue(),n._preventDefaultLabelClick()):n._value=r(t.value),n._tabIndex=e.attr("tabIndex")||0,t._standalone&&(n._triggerSelect=n._triggerChange)},options:{name:"ColorSelector",ARIATemplate:e=>`Current selected color is ${e||"none"}`,value:null,_standalone:!0},events:["change","select","forceSelect","cancel"],color:function(e){return e!==t&&(this._value=r(e),this.element.is("input")&&this._updateInput(this._value),this._updateUI(this._value)),this._value},value:function(e){return(e=this.color(e))&&(e=this.options.opacity?e.toCssRgba():e.toCss()),e||null},enable:function(e){0===arguments.length&&(e=!0),this.element.is("input")&&this.element.attr("disabled",!e),this.wrapper.toggleClass("k-disabled",!e),this._onEnable(e)},_attachFocusEvents:function(){this.wrapper.on(c,this._navKeydown.bind(this)).on("focusout"+l,this._navFocusout.bind(this))},_initialValue:function(){var e=this.element,t=this.options.value||e.attr("value");t&&(this._value=r(t,!0)),this.element.val(t)},_innerTabindex:function(e){this.wrapper.find(".k-draghandle, .k-button, .k-input-inner").attr("tabindex",e)},_isInputTypeColor:function(){var e=this.element[0];return/^input$/i.test(e.tagName)&&/^color$/i.test(e.type)},_navFocusout:function(){var e=this,t=e.wrapper[0];setTimeout((function(){t.contains(document.activeElement)||e._releaseInnerFocus()}))},_navKeydown:function(e){var i=this.wrapper;e.keyCode===n.keys.ENTER&&i.attr("tabindex")?(e.preventDefault(),this._trapInnerFocus()):e.keyCode===n.keys.ESC&&i.attr("tabindex")===t&&(this._releaseInnerFocus(),this.wrapper.trigger("focus"))},_releaseInnerFocus:function(){this._tabKeyTrap.removeTrap(),this.wrapper&&(this.wrapper.attr("tabindex",this._tabIndex),this._innerTabindex(-1))},_select:function(e,t){var n=this._value;e=this.color(e),t||(e&&(!n||!e.equals(n))||null===e&&e!==n?(null===e&&this.element.val&&this.element.val(e),this.element.trigger("change"),this.trigger("change",{value:this.value()})):this._standalone||this.trigger("cancel"))},_navigation:function(){var e=this.value();e&&e.indexOf("rgba")>-1&&(e=e.replace("rgba","RGBA")),this.options._otOfPicker?(this._innerTabindex(-1),this._attachFocusEvents(),this._tabKeyTrap=new a(this.wrapper),this._ariaTemplate=n.template(this.options.ARIATemplate),this.wrapper.attr({"aria-label":this._ariaTemplate(e||""),tabindex:this._tabIndex})):(this.wrapper.removeAttr("tabindex"),this.wrapper.removeAttr("aria-label"),this.wrapper.removeAttr("role"),this.wrapper.removeAttr("aria-keyshortcuts"))},_trapInnerFocus:function(){this._innerTabindex(0),this.wrapper.removeAttr("tabindex"),this.wrapper.find(".k-hsv-draghandle").trigger("focus"),this._tabKeyTrap.trap()},_triggerSelect:function(e){u(this,"select",e)},_triggerChange:function(e){u(this,"change",e)},destroy:function(){this.element&&this.element.off(l),this.wrapper&&(this.wrapper.off(c),this.wrapper.off(l).find("*").off(l),this.wrapper=null),o.fn.destroy.call(this)},_preventDefaultLabelClick:function(){var e=this.element,t=e.closest("label"),n=e.attr("id");n&&(t=t.add('label[for="'+n+'"]')),t.on("click",(function(e){e.preventDefault()}))},_updateUI:e.noop,_updateInput:function(e){var t,i="";e&&(i=this._isInputTypeColor()||1==e.a?e.toCss():e.toCssRgba(),this.element.val(i)),this.options._otOfPicker&&(this._ariaTemplate||(this._ariaTemplate=n.template(this.options.ARIATemplate)),(t=this.value())&&t.indexOf("rgba")>-1&&(t=t.replace("rgba","RGBA")),this.wrapper.attr("aria-label",this._ariaTemplate(t||"")))},_selectOnHide:function(){return null},_cancel:function(){this.trigger("cancel")}});function u(e,t,n){((n=r(n))&&!n.equals(e.color())||n!==e.color())&&("change"==t&&(e._value=n,e._updateInput(e._value)),n&&1!=n.a?n=n.toCssRgba():n&&(n=n.toCss()),e.trigger(t,{value:n}))}s(i,{colorpicker:{ColorSelector:d}})}(window.kendo.jQuery),function(e,t){var n=kendo.ui.colorpicker,i=e.extend,o=kendo.Color,r=kendo.parseColor;function a(e,t){return n=s(l(e,t)),i=s(l(t,{r:0,g:0,b:0,a:1})),(Math.max(n,i)+.05)/(Math.min(n,i)+.05);var n,i}function s(e){var t=[e.r,e.g,e.b].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*t[0]+.7152*t[1]+.0722*t[2]}function l(e,t){var n=c(e.r,0,255),i=c(e.g,0,255),o=c(e.b,0,255),r=c(e.a,0,1),a=c(t.r,0,255),s=c(t.g,0,255),l=c(t.b,0,255);return{r:Math.round((1-r)*a+r*n),g:Math.round((1-r)*s+r*i),b:Math.round((1-r)*l+r*o)}}function c(e,n,i){if(null===(o=e)||o===t||isNaN(e))return n;var o;return e<=n?n:e>=i?i:e}function d(e,t){if(0===e.length)return"";var n=e.reduce((function(e,n,i,o){return 0===i?kendo.format("M {0},{1}",n[0],n[1]):kendo.format("{0} {1}",e,t(n,i,o))}),"");return kendo.format('<path d="{0}" fill="none" stroke="white" stroke-width="1"/>',n)}function u(e,t){var n=t[0]-e[0],i=t[1]-e[1];return{length:Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),angle:Math.atan2(i,n)}}i(n,{contrastToolUtils:{getContrastFromTwoRGBAs:a,renderSvgCurveLine:function(e,t,n){var s,l,h=function(s,l,d,u,p){var f=(d+u)/2,m=i({},t,{s:l/e.width,v:1-f/e.height}),v=a(r(function(e){var t=c(e.h,0,359.9),n=c(e.s,0,1),i=c(e.v,0,1),r=c(e.a,0,1);return o.fromHSV(t,n,i,r).toCssRgba()}(m)).toBytes(),r(n).toBytes());return d+.5>u?v<s+1&&v>s-1?f:null:p(v,s)?h(s,l,d,u-(u-d)/2,p):h(s,l,d+(u-d)/2,u,p)},p=function(e,t){return e>t},f=function(e,t){return e<t},m=function(t,n,i){for(var o=[],r=0;r<=e.width;r+=e.width/n){var a=h(t,r,0,e.height,i?f:p);null!==a&&o.push([r,a])}return o},v=(l=u,s=function(e,t,n,i){var o=.1,r=l(t||e,n||e),a=r.angle+(i?Math.PI:0),s=r.length*o;return[e[0]+Math.cos(a)*s,e[1]+Math.sin(a)*s]},function(e,t,n){var i=s(n[t-1],n[t-2],e),o=s(e,n[t-1],n[t+1],!0);return kendo.format("C {0},{1} {2},{3} {4},{5}",i[0],i[1],o[0],o[1],e[0],e[1])}),g=d(m(4.5,16,!1),v)+d(m(4.5,16,!0),v)+d(m(7,16,!1),v)+d(m(7,16,!0),v);return`<svg xmlns="http://www.w3.org/2000/svg" ${kendo.attr("style-position")}="absolute" ${kendo.attr("style-overflow")}="visible" ${kendo.attr("style-pointer-events")}="none" ${kendo.attr("style-left")}="0px" ${kendo.attr("style-top")}="0px" ${kendo.attr("style-z-index")}="3" >`+g+"</svg>"}}})}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.ui,i=t.Observable,o=t.parseColor,r=e.extend,a=t.htmlEncode,s=t.Color,l=t.keys,c="#ffffff",d="#000000",u="keydown.kendoColorTools",h=n.colorpicker.ColorSelector,p=n.colorpicker.contrastToolUtils;function f(e){e.preventDefault()}var m=i.extend({init:function(e,n){var o=this;o.element=e,o.options=n,o._viewModel=t.observable({switchMode:o.switchMode.bind(o),keydown:o.keydown.bind(o),isHEXMode:function(){return"hex"===this.get("format")},isRGBMode:function(){return"rgb"===this.get("format")},format:n.format,formats:n.formats,rgb:null,hex:function(){return null!==this.get("rgb")&&this.get("rgb").toCss({alpha:n.opacity})}}),o._changeHandler=o.change.bind(o),o._viewModel.bind("change",o._changeHandler),o._render(),o.element.on(u,o.keydown.bind(o)),i.fn.init.call(o)},_template:t.template((({options:e,ns:t})=>{let n=a(e.size),i=a(e.tabindex),o="";if(e.formats&&e.formats.length>1){o=`<div class="k-vstack"><button class="k-colorgradient-toggle-mode" data-${t}role="button" data-${t}icon="caret-alt-expand" data data-${t}bind="click: switchMode" data-${t}fill-mode="flat" data-${t}size="${n}" title="${a(e.messages.toggleFormat)}"></button></div>`}let r="";if(e.formats&&e.formats.indexOf("hex")>=0){let o=a(e.messages.hex);r=`<div class="k-vstack${e._showAdaptiveView?" k-flex-1":""}" data-${t}bind="visible: isHEXMode"><input type="text" data-${t}bind="value: hex" data-${t}role="textbox" data-${t}size="${n}" tabindex="${i}" aria-label="${o}"/><label class="k-colorgradient-input-label">HEX</label></div>`}let s="";if(e.formats&&e.formats.indexOf("rgb")>=0){if(s=`<div class="k-vstack" data-${t}bind="visible: isRGBMode"><input tabindex="${i}" data-${t}bind="value: rgb.r" data-${t}role="numerictextbox" data-${t}size="${n}" data-${t}max="255" data-${t}min="0" data-${t}decimals="0" data-${t}spinners="false" data-${t}format="n0" aria-label="${a(e.messages.red)}" inputmode="decimal"/><label class="k-colorgradient-input-label">R</label></div><div class="k-vstack" data-${t}bind="visible: isRGBMode"><input tabindex="${i}" data-${t}bind="value: rgb.g" data-${t}role="numerictextbox" data-${t}size="${n}" data-${t}max="255" data-${t}min="0" data-${t}decimals="0" data-${t}spinners="false" data-${t}format="n0" aria-label="${a(e.messages.green)}" inputmode="decimal"/><label class="k-colorgradient-input-label">G</label></div><div class="k-vstack" data-${t}bind="visible: isRGBMode"><input tabindex="${i}" data-${t}bind="value: rgb.b" data-${t}role="numerictextbox" data-${t}size="${n}" data-${t}max="255" data-${t}min="0" data-${t}decimals="0" data-${t}spinners="false" data-${t}format="n0" aria-label="${a(e.messages.blue)}" inputmode="decimal"/><label class="k-colorgradient-input-label">B</label></div>`,e.opacity){s+=`<div class="k-vstack" data-${t}bind="visible: isRGBMode"><input tabindex="${i}" data-${t}bind="value: rgb.a" data-${t}role="numerictextbox" data-${t}size="${n}" data-${t}step="0.1" data-${t}max="1" data-${t}min="0" data-${t}decimals="1" data-${t}spinners="false" data-${t}format="n1" aria-label="${e.messages.alpha}" inputmode="decimal"/><label class="k-colorgradient-input-label">A</label></div>`}}return o+r+s})),destroy:function(){var e=this;e._viewModel.unbind("change",e._changeHandler),t.unbind(e.element),t.destroy(e.element),e.element.off(u),delete e._viewModel,delete e._changeHandler},change:function(e){var t=this;e.field.indexOf("rgb")>=0?(t._color=t._tryParseColor(t._viewModel.rgb.toCssRgba()),t._viewModel.set("hex",t._color.toCss({alpha:t.options.opacity}))):"hex"===e.field&&(t._color=t._tryParseColor(e.sender[e.field]),t._viewModel.set("rgb",t._color)),t._preventChangeEvent||t.trigger("change",{value:t._color})},keydown:function(t){var n=this,i=e(t.target).data("kendoTextBox");t.keyCode===l.ENTER&&e(t.target).is("input")&&(i&&i._change&&i._change(),n.trigger("change",{value:n._color}),n.trigger("select",{value:n._color}))},reset:function(){var e=this;e._preventChangeEvent=!0,e._viewModel.set("rgb",o(d)),delete e._preventChangeEvent},switchMode:function(){var e=this,t=e._viewModel,n=t.format,i=t.formats.indexOf(n)+1;i=i>=t.formats.length?0:i,e._preventChangeEvent=!0,e._viewModel.set("format",t.formats[i]),delete e._preventChangeEvent},value:function(e){var t=this;t._color=e&&e.toBytes()||o(d),t._preventChangeEvent=!0,t._viewModel.set("rgb",t._color),delete t._preventChangeEvent},_render:function(){var e=this;e.element.append(e._template({ns:t.ns,guid:t.guid(),options:e.options})).parent(),t.bind(e.element,e._viewModel),e.element.attr("data-"+t.ns+"stop","stop")},_tryParseColor:function(e){try{e=o(e)||this._color}catch(t){e=this._color}return e}}),v=h.extend({init:function(n,i){var o,r=this;h.fn.init.call(r,n,i),(i=r.options=t.deepExtend({},r.options,i)).messages.previewInput&&(i.messages.hex=i.messages.previewInput),i.messages=i.messages?e.extend(r.options.messages,i.messages):r.options.messages,r._wrapper(),r._sliders(),r._hsvArea(),o=r._value,r._gradientInputs(),r._updateUI(o),r._navigation()},options:{name:"ColorGradient",opacity:!1,hsvDragARIATemplate:e=>`Color well with two-dimensional slider for selecting saturation and value. Selected color is ${e||"none"}`,input:!0,format:"hex",formats:["rgb","hex"],contrastTool:!1,size:"medium",messages:{contrastRatio:"Contrast ratio:",fail:"Fail",pass:"Pass",hex:"HEX",toggleFormat:"Toggle format",red:"Red channel",green:"Green channel",blue:"Blue channel",alpha:"Alpha channel"},_otOfPicker:!0,_showAdaptiveView:!1},_template:t.template((e=>`<div class="k-colorgradient-canvas ${e._showAdaptiveView?"k-vstack":"k-hstack"}"><div class="k-hsv-rectangle"><div class="k-hsv-gradient"><div role="slider" aria-orientation="undefined" class="k-hsv-draghandle k-draghandle"></div></div></div><div class="k-hsv-controls ${e._showAdaptiveView?"k-vstack":"k-hstack"}"><input class="k-hue-slider k-colorgradient-slider" />`+(e.opacity?'<input class="k-alpha-slider k-colorgradient-slider" />':"")+"</div></div>"+(e.input?'<div class="k-colorgradient-inputs k-hstack"></div>':"")+(e.contrastTool?'<div class="k-colorgradient-color-contrast k-vbox"></div>':""))),focus:function(){this._hsvHandle.trigger("focus")},setBackgroundColor:function(t){var n=this;n.options.contrastTool&&(n.options.contrastTool=e.isPlainObject(n.options.contrastTool)?r({},n.options.contrastTool,{backgroundColor:t}):{backgroundColor:t},n._updateColorContrast(n.color()||o(c)))},_getHSV:function(e,t,n,i){var r=this,a=r._hsvRect,l=a.width(),c=a.height(),u=this._hsvHandle.position();return l&&c?(null==e&&(e=r._hueSlider.value()),null==t&&(t=u.left/l),null==n&&(n=1-u.top/c),null==i&&(i=r._opacitySlider?r._opacitySlider.value()/100:1),s.fromHSV(e,t,n,i)):r.color()?r.color().toHSV():o(d)},_gradientInputs:function(){var e=this,t=e.options;e._colorgradientInputs.length&&(e._colorInput=new m(e._colorgradientInputs,r({},t,{tabindex:0})),e._colorInput.bind("change",(function(t){e._updateUI(t.value,!0)})),e._colorInput.bind("select",(function(t){var n=o(t.value);e._select(n),e.trigger("forceSelect",{value:e.value()})})))},_hsvArea:function(){var e,n,i=this,o=i.wrapper.find(".k-hsv-rectangle"),r=o.find(".k-draghandle").attr("tabIndex",0).on(u,(e=i._hsvKeydown,n=i,function(){return e.apply(n,arguments)})),a=this.value();function s(e,t){var n,o,r=this.offset,a=e-r.left,s=t-r.top,l=this.width,c=this.height;n=(a=a<0?0:a>l?l:a)/l,o=1-(s=s<0?0:s>c?c:s)/c,i._svChange(n,o)}a&&a.indexOf("rgba")>-1&&(a=a.replace("rgba","RGBA")),this._hsvDragAriaTemplate||(this._hsvDragAriaTemplate=t.template(this.options.hsvDragARIATemplate)),r.attr("aria-label",this._hsvDragAriaTemplate(a||"")),i._hsvEvents=new t.UserEvents(o,{global:!0,press:function(e){this.offset=t.getOffset(o),this.width=o.width(),this.height=o.height(),r.trigger("focus"),s.call(this,e.x.location,e.y.location)},start:function(){o.addClass("k-dragging"),r.trigger("focus")},move:function(e){e.preventDefault(),s.call(this,e.x.location,e.y.location)},end:function(){o.removeClass("k-dragging")}}),i._hsvRect=o,i._hsvHandle=r},_hsvKeydown:function(e){var t=this;function n(n,i){var o=t._getHSV();o[n]+=i*(e.shiftKey?.01:.05),o[n]<0&&(o[n]=0),o[n]>1&&(o[n]=1),t._updateUI(o),f(e)}function i(n){var i=t._getHSV();i.h+=n*(e.shiftKey?1:5),i.h<0&&(i.h=0),i.h>359&&(i.h=359),t._updateUI(i),f(e)}switch(e.keyCode){case l.LEFT:e.ctrlKey?i(-1):n("s",-1);break;case l.RIGHT:e.ctrlKey?i(1):n("s",1);break;case l.UP:n(e.ctrlKey&&t._opacitySlider?"a":"v",1);break;case l.DOWN:n(e.ctrlKey&&t._opacitySlider?"a":"v",-1);break;case l.ENTER:t._select(t._getHSV());break;case l.F2:t._colorInput.element.find("input").trigger("focus").select();break;case l.ESC:t._cancel()}},_onEnable:function(e){var t=this.wrapper;this._hueSlider.enable(e),this._opacitySlider&&this._opacitySlider.enable(e),t.find("input").attr("disabled",!e),this.options._standalone&&(e?t.removeAttr("aria-disabled"):t.attr("aria-disabled",!0))},_reset:function(){var e=this;e._colorInput&&e._colorInput.reset(),e._resetHsv(),e._resetColorContrast()},_resetColorContrast:function(){var e=this,t=e.options.contrastTool;e._contrastTool.length&&e._updateColorContrast(t.backgroundColor?o(t.backgroundColor):o(c))},_resetHsv:function(){var e=o(d);this._updateHsv(e)},_sliders:function(){var e=this,t=e.wrapper,n=t.find(".k-hue-slider"),i=t.find(".k-alpha-slider");function o(t){e._updateUI(e._getHSV(t.value,null,null,null))}const r=e.options._showAdaptiveView?"horizontal":"vertical";function a(t){e._updateUI(e._getHSV(null,null,null,t.value/100))}n.attr("aria-label","hue"),e._hueSlider=n.kendoSlider({min:0,max:360,tickPlacement:"none",showButtons:!1,orientation:r,slide:o,change:o}).data("kendoSlider"),i.attr("aria-label","opacity"),e._opacitySlider=i.kendoSlider({min:0,max:100,tickPlacement:"none",showButtons:!1,orientation:r,slide:a,change:a}).data("kendoSlider")},_svChange:function(e,t){var n=this._getHSV(null,e,t,null);this._updateUI(n)},_updateColorContrast:function(e){var n=this,i=n.options.contrastTool,r=i.backgroundColor?o(i.backgroundColor):o(c),s=p.getContrastFromTwoRGBAs(o(e.toCssRgba()),r),l=t.template((({messages:e,ratio:n})=>`<div class="k-contrast-ratio"><span class="k-contrast-ratio-text">${a(e.contrastRatio)} ${a(t.toString(n,"n2"))}</span><span class="k-contrast-validation !k-text-success">`+(n>4.5?t.ui.icon("check"):"")+(n>7?t.ui.icon("check"):"")+"</span></div>")),d=t.template((({messages:e,ratio:n,limit:i,level:o})=>`<div><span>${a(o)}: ${a(i)} </span>`+(n>i?`<span class="k-contrast-validation !k-text-success">${a(e.pass)} ${t.ui.icon("check")}</span>`:`<span class="k-contrast-validation !k-text-error">${a(e.fail)} ${t.ui.icon("x")}</span>`)+"</div>")),u="";u+=l({messages:n.options.messages,ratio:s}),u+=d({messages:n.options.messages,ratio:s,limit:4.5,level:"AA"}),u+=d({messages:n.options.messages,ratio:s,limit:7,level:"AAA"}),n._contrastTool.find(".k-contrast-ratio, div").remove(),n._contrastTool.append(u),n._updateContrastSvg(r)},_updateContrastSvg:function(n){var i,o=this._hsvRect,r="k-color-contrast-svg",a={width:o.width(),height:o.height()};a.width&&a.height&&(i=e(p.renderSvgCurveLine(a,this._getHSV(),n)).addClass(r),t.applyStylesFromKendoAttributes(i,["position","overflow","pointer-events","left","top","z-index"]),o.find("."+r).remove(),o.append(i))},_updateHsv:function(e){var t=this,n=t._hsvRect;e=e.toHSV(),t._hsvHandle.css({left:e.s*n.width()+"px",top:(1-e.v)*n.height()+"px"}),t._hueElements.css("background-color",s.fromHSV(e.h,1,1,1).toCss()),t._hueSlider.value(e.h),t._opacitySlider&&(t._opacitySlider.wrapper.find(".k-slider-track").css("background",`linear-gradient(to ${t.options._showAdaptiveView?"right":"top"}, transparent, `+s.fromHSV(e.h,1,1,1).toCss()),t._opacitySlider.value(100*e.a)),t._updateHsvAria(e.s,e.v)},_updateHsvAria:function(e,t){var n=this.value();n&&n.indexOf("rgba")>-1&&(n=n.replace("rgba","RGBA")),this._hsvHandle.attr({"aria-label":this._hsvDragAriaTemplate(n||""),"aria-valuenow":Math.round(100*e),"aria-valuetext":"saturation: "+Math.round(100*e)+"%, value: "+Math.round(100*t)+"%"})},_updateUI:function(e,t){var n=this;e?(!t&&n._colorInput&&n._colorInput.value(e),n._triggerSelect(e),n._updateHsv(e),n._contrastTool.length&&n._updateColorContrast(e)):n._reset()},_addSizeClass:function(e){const t=this.options;this.wrapper.removeClass("k-colorgradient-lg k-colorgradient-md k-colorgradient-sm");let n=e||t.size;if(n){let e="k-colorgradient-";switch(n){case"large":e+="lg";break;case"small":e+="sm";break;default:e+="md"}this.wrapper.addClass(e)}},_wrapper:function(){var t,n=this.options;(t=this.element.is("input")?this.element.addClass("k-hidden").wrap("<div>").parent():this.element).addClass("k-colorgradient").attr({role:"textbox","aria-keyshortcuts":"Enter"}).append(this._template(n)),this._hueElements=e(".k-hsv-rectangle, .k-alpha-slider .k-slider-track",t),this._colorgradientInputs=e(".k-colorgradient-inputs",t),this._contrastTool=e(".k-colorgradient-color-contrast",t),this.wrapper=t,this._addSizeClass()},destroy:function(){this._hsvEvents.destroy(),this._hueSlider.destroy(),this._opacitySlider&&this._opacitySlider.destroy(),this._colorInput&&this._colorInput.destroy(),this._hueSlider=this._opacitySlider=this._hsvRect=this._hsvHandle=this._hueElements=this._selectedColor=this._colorAsText=this._contrastTool=null,h.fn.destroy.call(this)}});n.plugin(v)}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.ui,i=t.parseColor,o=t.keys,r=".",a="background-color",s="k-selected",l="k-focus",c="k-colorpalette-tile",d=".kendoColorTools",u="focus"+d,h="click"+d,p="keydown"+d,f="blur"+d,m=n.colorpicker.ColorSelector;function v(e){e.preventDefault()}function g(e,t){return function(){return e.apply(t,arguments)}}var _=m.extend({init:function(e,n){var i=this;m.fn.init.call(i,e,n),i._tabIndex=this.element.attr("tabindex")||0,i._wrapper(),n=i.options,i._selectedID=(n.ariaId||t.guid())+"_selected",i._ariaTemplate=t.template(i.options.ARIATemplate),i._value&&(i._updateUI(i._value),i.wrapper.find(r+l).removeClass(l)),i.wrapper.attr("aria-label",i._ariaTemplate(i.value()||"")),i._attachEvents()},focus:function(){this.wrapper&&!this.wrapper.is("[unselectable='on']")&&this.wrapper.trigger("focus")},options:{name:"ColorPalette",columns:10,tileSize:null,palette:"basic",size:"medium"},_attachEvents:function(){var e=this;e.wrapper.on(h,r+c,(function(t){e._select(t.currentTarget)})).on(p,g(e._keydown,e)).on(f,(function(){e.wrapper.find(r+c).removeClass(l)})).on(u,g(e._focus,e))},_colors:function(){var t=this.options,n=t.palette||"basic";return"websafe"==n?(n="FFFFFF,FFCCFF,FF99FF,FF66FF,FF33FF,FF00FF,CCFFFF,CCCCFF,CC99FF,CC66FF,CC33FF,CC00FF,99FFFF,99CCFF,9999FF,9966FF,9933FF,9900FF,FFFFCC,FFCCCC,FF99CC,FF66CC,FF33CC,FF00CC,CCFFCC,CCCCCC,CC99CC,CC66CC,CC33CC,CC00CC,99FFCC,99CCCC,9999CC,9966CC,9933CC,9900CC,FFFF99,FFCC99,FF9999,FF6699,FF3399,FF0099,CCFF99,CCCC99,CC9999,CC6699,CC3399,CC0099,99FF99,99CC99,999999,996699,993399,990099,FFFF66,FFCC66,FF9966,FF6666,FF3366,FF0066,CCFF66,CCCC66,CC9966,CC6666,CC3366,CC0066,99FF66,99CC66,999966,996666,993366,990066,FFFF33,FFCC33,FF9933,FF6633,FF3333,FF0033,CCFF33,CCCC33,CC9933,CC6633,CC3333,CC0033,99FF33,99CC33,999933,996633,993333,990033,FFFF00,FFCC00,FF9900,FF6600,FF3300,FF0000,CCFF00,CCCC00,CC9900,CC6600,CC3300,CC0000,99FF00,99CC00,999900,996600,993300,990000,66FFFF,66CCFF,6699FF,6666FF,6633FF,6600FF,33FFFF,33CCFF,3399FF,3366FF,3333FF,3300FF,00FFFF,00CCFF,0099FF,0066FF,0033FF,0000FF,66FFCC,66CCCC,6699CC,6666CC,6633CC,6600CC,33FFCC,33CCCC,3399CC,3366CC,3333CC,3300CC,00FFCC,00CCCC,0099CC,0066CC,0033CC,0000CC,66FF99,66CC99,669999,666699,663399,660099,33FF99,33CC99,339999,336699,333399,330099,00FF99,00CC99,009999,006699,003399,000099,66FF66,66CC66,669966,666666,663366,660066,33FF66,33CC66,339966,336666,333366,330066,00FF66,00CC66,009966,006666,003366,000066,66FF33,66CC33,669933,666633,663333,660033,33FF33,33CC33,339933,336633,333333,330033,00FF33,00CC33,009933,006633,003333,000033,66FF00,66CC00,669900,666600,663300,660000,33FF00,33CC00,339900,336600,333300,330000,00FF00,00CC00,009900,006600,003300,000000",t.columns=18):"basic"==n&&(n="000000,7f7f7f,880015,ed1c24,ff7f27,fff200,22b14c,00a2e8,3f48cc,a349a4,ffffff,c3c3c3,b97a57,ffaec9,ffc90e,efe4b0,b5e61d,99d9ea,7092be,c8bfe7"),"string"==typeof n&&(n=n.split(",")),Array.isArray(n)&&(n=e.map(n,(function(e){return i(e)}))),n},_current:function(t){this.wrapper.find(r+c).removeClass(l).removeAttr("id"),e(t).addClass(l).attr("id",this._selectedID),this.wrapper.removeAttr("aria-activedescendant").attr("aria-activedescendant",this._selectedID)},_focus:function(){var e=this.wrapper;0===e.find("#"+this._selectedID).length&&this._current(e.find(r+c).first())},_keydown:function(e){var t,n,i,a=this.wrapper.find(r+c),d=a.filter(r+l).get(0)||a.filter(r+s).get(0),u=e.keyCode;if(d&&(i=Array.prototype.indexOf.call(d.parentNode.children,d)),u==o.LEFT)t=d?d.previousSibling:a[a.length-1];else if(u==o.RIGHT)t=d?d.nextSibling:a[0];else if(u==o.DOWN)n=d&&d.parentNode.nextSibling?d.parentNode.nextSibling.children[i]:null,t=d?n:a[0];else if(u==o.UP)n=d&&d.parentNode.previousSibling?d.parentNode.previousSibling.children[i]:null,t=d?n:a.get[a.length-1];else if(u==o.ENTER){if(v(e),d)return this._select(d),void this.trigger("forceSelect",{value:this.value()})}else u==o.ESC&&this._cancel();t&&1!==t.nodeType&&(t=null),t&&(v(e),this._current(t))},_onEnable:function(e){this.options._standalone&&(e?(this.wrapper.attr("tabindex",this._tabIndex),this.wrapper.removeAttr("aria-disabled")):(this.wrapper.removeAttr("tabindex"),this.wrapper.attr("aria-disabled",!0)))},_select:function(t){var n=this.wrapper.find(r+c);t=e(t),m.fn._select.call(this,t.css(a)),n.removeClass(s).removeAttr("aria-selected"),t.addClass(s).attr("aria-selected",!0)},_template:t.template((({colors:e,columns:n,tileSize:i,value:o,id:r})=>{let a="";for(var l=0;l<e.length;++l){let i=e[l].equals(o);l&&l%n==0&&(a+='</tr><tr role="row">'),a+=`<td role="gridcell" unselectable="on" ${t.attr("style-background-color")}="${e[l].toCss()}"`+(i?" aria-selected=true":"")+" "+(r&&0===l?'id=\\"'+r+'\\" ':"")+" "+`class="k-colorpalette-tile${i?" "+s:""}" `+`aria-label="${e[l].toCss()}"></td>`}return'<table class="k-colorpalette-table" role="presentation"><tr role="row">'+a+"</tr></table>"})),_tileSize:function(){var e,t,n=this.options.tileSize;if(n){if(/number|string/.test(typeof n))e=t=parseFloat(n);else{if("object"!=typeof n)throw new Error("Unsupported value for the 'tileSize' argument");e=parseFloat(n.width),t=parseFloat(n.height)}this.wrapper.find(r+c).css({width:e,height:t})}},_updateUI:function(t){var n=null,o=this.wrapper.find(r+c);this.wrapper.find(r+c).each((function(){var o=i(e(this).css(a));if(o&&o.equals(t))return n=this,!1})),this._current(n),o.removeClass(s),n&&(e(n).addClass(s),this.wrapper.attr("aria-label",this._ariaTemplate(this.value()||"")))},_addSizeClass:function(e){const t=this.options;this.wrapper.removeClass("k-colorpalette-lg k-colorpalette-md k-colorpalette-sm");let n=e||t.size;if(n){let e="k-colorpalette-";switch(n){case"large":e+="lg";break;case"small":e+="sm";break;default:e+="md"}this.wrapper.addClass(e)}},_wrapper:function(){var n,i,o=this.options,r=this._colors();n=this.element.is("input")?this.element.addClass("k-hidden").wrap("<div>").parent():this.element,i=e(this._template({colors:r,columns:o.columns,tileSize:o.tileSize,value:this._value,id:o.ariaId})),t.applyStylesFromKendoAttributes(i,["background-color"]),n.addClass("k-colorpalette").attr("role","grid").append(i).attr("tabindex",this._tabIndex),this.wrapper=n,this._addSizeClass(),this._tileSize()}});n.plugin(_)}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.ui,i=t.html,o=t.Color,r=e.extend,a=t.htmlEncode,s="background-color",l=".kendoColorTools",c="click"+l,d="keydown"+l,u=n.colorpicker.ColorSelector,h=t.keys,p="k-no-color",f="k-selected",m=".k-color-preview-mask",v="aria-pressed",g="aria-disabled",_={gradient:n.ColorGradient,palette:n.ColorPalette};var b=u.extend({init:function(e,n){var i=this;n&&!1===n.autoupdate&&(n._standalone=!1),u.fn.init.call(i,e,n),n=i.options=t.deepExtend({},i.options,n),i._wrapper();var o=i.color();i._changeView(n.view),i._setViewSize(),o?(i._updateUI(o),i._previousColor.children(m).css(s,o.toDisplay()),i._selectedColor.children(m).css(s,o.toDisplay())):(i._selectedColor.addClass(p),i._previousColor.addClass(p)),i._attachEvents(),i._navigation()},destroy:function(){var e=this;u.fn.destroy.call(this),e._view&&(e._view.destroy(),e._viewsContainer.empty()),e.element.off(l),e._selectedColor=e._previousColor=e._viewsContainer=e._view=null},options:{name:"FlatColorPicker",opacity:!1,buttons:!1,input:!0,preview:!0,clearButton:!1,format:"hex",formats:["rgb","hex"],view:"gradient",views:["gradient","palette"],palette:null,autoupdate:!0,backgroundColor:null,columns:10,tileSize:24,messages:{apply:"Apply",cancel:"Cancel",noColor:"no color",clearColor:"Clear color",previewInput:null,contrastRatio:"Contrast ratio:",fail:"Fail",pass:"Pass",hex:"HEX",toggleFormat:"Toggle format",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",gradient:"Gradient view",palette:"Palette view"},size:"medium",_otOfPicker:!0,_showAdaptiveView:!1},setBackgroundColor:function(e){var t=this;t._view&&t._view.setBackgroundColor&&t._view.setBackgroundColor(e)},_attachEvents:function(){var t,n,i=this;i.wrapper.on(d,(t=i._keydown,n=i,function(){return t.apply(n,arguments)})).on(c,".k-button[data-command]",(function(){i._clearColor=!0,i._updateUI(null),i._view.value(null)})).on(c,".k-coloreditor-apply",(function(){i._clearColor?i._select(null):i._select(i._view.color())})).on(c,".k-coloreditor-cancel",(function(){delete i._clearColor,i._updateUI(i.color()),i._cancel()})).on(c,".k-button[data-view]",(function(t){var n=e(t.target).closest("[data-view]");n.is("."+f)||(i.wrapper.find(".k-button[data-view]").removeClass(f).attr(v,!1),n.addClass(f).attr(v,!0),i._changeView(n.data("view")))}))},_select:function(e){u.fn._select.call(this,e),this._updatePreviousColor(e)},_updatePreviousColor:function(e){var t=this;e?(t._previousColor.removeClass(p),t._previousColor.children(m).css(s,e.toDisplay())):(t._previousColor.addClass(p),t._previousColor.children(m).css(s,""))},_changeView:function(t){var n,i,r=this,a=e.extend({},r.options),s=_[t];r._view&&r._view._colorInput&&(r.options.format=r._view._colorInput._viewModel.format),r.options.view=t,delete a.name,delete a.change,delete a.select,delete a.cancel,delete a._standalone;const l=a._showAdaptiveView?"large":a.size;r._view&&(n=r._view.color(),r._view.destroy(),r._viewsContainer.empty()),n&&(n=n.toHSV(),i=o.fromHSV(r._cachedHue||0,n.s,n.v,n.a),r._cachedHue=n.toHSV().h,n=n.equals(i)?i:n),a._otOfPicker=!1,s&&(r._view=new _[t](e("<div></div>").appendTo(r._viewsContainer),{...a,size:l}),r._view.value(n),r._view.bind("change",(function(e){delete r._clearColor,r._updateUI(e.sender.color(),!0)})),r._view.bind("forceSelect",(function(e){delete r._clearColor,r._select(e.sender.color())})))},_onEnable:function(e){var t=this;t._view&&t._view._onEnable(e),t.options._standalone&&(e?t.wrapper.removeAttr(g):t.wrapper.attr(g,!0))},focus:function(){this._view&&this._view.focus()},_updateUI:function(e,t){var n=this;e&&e.toDisplay?(n._selectedColor.removeClass(p),n._selectedColor.children(m).css(s,e.toDisplay())):(n._selectedColor.addClass(p),n._selectedColor.children(m).css(s,"")),n._triggerSelect(e),n.options.autoupdate&&n._updatePreviousColor(e),t||n._view.value(e)},_setViewSize:function(){var e=this,t=e.wrapper[0],n=parseInt(e.options.tileSize.width||e.options.tileSize,10),i=parseInt(e.options.tileSize.width||e.options.tileSize,10),o=e.options.columns;t.style.setProperty("--kendo-color-preview-columns",o),t.style.setProperty("--kendo-color-preview-width",n+"px"),t.style.setProperty("--kendo-color-preview-height",i+"px")},_keydown:function(e){e.keyCode==h.ESC&&this._cancel()},_template:function(){var e=this.options,n=r({},e,{fillMode:"flat",themeColor:"base",rounded:"medium",size:e._showAdaptiveView?"large":e.size});return t.template(((e,t)=>'<div class="k-coloreditor-header k-hstack">'+(e.views&&e.views.length>1?'<div class="k-coloreditor-header-actions k-hstack"><div role="group" class="k-button-group k-button-group-flat">'+i.renderButton(`<button aria-pressed="false" data-view="gradient" title="${a(e.messages.gradient)}"></button>`,r({icon:"droplet-slider"},t))+i.renderButton(`<button aria-pressed="false" data-view="palette" title="${a(e.messages.palette)}"></button>`,r({icon:"palette"},t))+"</div></div>":"")+'<div class="k-spacer"></div><div class="k-coloreditor-header-actions k-hstack">'+(e.clearButton?i.renderButton(`<button data-command="reset" title="${a(e.messages.clearColor)}"></button>`,r({icon:"droplet-slash"},t)):"")+(e.preview?'<div class="k-coloreditor-preview k-vstack"><span class="k-coloreditor-preview-color k-color-preview"><span class="k-color-preview-mask"></span></span><span class="k-coloreditor-current-color k-color-preview"><span class="k-color-preview-mask"></span></span></div>':"")+'</div></div><div class="k-coloreditor-views k-vstack"></div>'+(e.buttons?'<div class="k-coloreditor-footer k-actions k-actions-end k-actions-horizontal">'+i.renderButton(`<button class="k-coloreditor-cancel" title="${a(e.messages.cancel)}">${a(e.messages.cancel)}</button>`,r({},t,{fillMode:"solid"}))+i.renderButton(`<button class="k-coloreditor-apply" title="${a(e.messages.apply)}">${a(e.messages.apply)}</button>`,r({},t,{fillMode:"solid",themeColor:"primary"}))+"</div>":"")))(e,n)},_addSizeClass:function(e){const t=this.options;this.wrapper.removeClass("k-coloreditor-lg k-coloreditor-md k-coloreditor-sm");let n=e||t.size;if(n){let e="k-coloreditor-";switch(n){case"large":e+="lg";break;case"small":e+="sm";break;default:e+="md"}this.wrapper.addClass(e)}},_wrapper:function(){var t,n=this.options;(t=this.element.is("input")?this.element.addClass("k-hidden").wrap("<div>").parent():this.element).addClass("k-flatcolorpicker k-coloreditor").attr({role:"textbox","aria-keyshortcuts":"Enter"}).append(this._template()),this._selectedColor=e(".k-coloreditor-preview-color",t),this._previousColor=e(".k-coloreditor-current-color",t),this._viewsContainer=e(".k-coloreditor-views",t),t.find(".k-button[data-view="+n.view+"]").addClass(f).attr(v,!0),this.wrapper=t,this._addSizeClass()}});n.plugin(b)}(window.kendo.jQuery);!function(e){var t=window.kendo,n=t.ui,i=n.Widget,o=t.Color,r=t.parseColor,a=t.keys,s=".kendoColorTools",l="click"+s,c="keydown"+s,d=n.colorpicker.ColorSelector,u=n.FlatColorPicker,h=i.extend({init:function(n,o){var a=this;o&&o.palette&&!o.view&&(o.view="palette"),i.fn.init.call(a,n,o),o=a.options=t.deepExtend({},a.options,o),n=a.element;let s=r(o.value||n.attr("value")||n.val(),!0);a._value=o.value=s;var l=t.html.renderButton('<button class="k-input-button" unselectable="on" aria-label="select" tabindex="-1"></button>',e.extend({},a.options,{icon:"caret-alt-down"})),c=a._inputWrapper=a.wrapper=e(a._template(e.extend({},a.options,{_buttonHtml:l})));a._applyCssClasses(),n.hide().after(c),n.is("input")&&(n.appendTo(c),a._preventDefaultLabelClick()),a._tabIndex=n.attr("tabIndex")||0,a.enable(!n.attr("disabled"));var d=n.attr("accesskey");d&&(n.attr("accesskey",null),c.attr("accesskey",d)),a.bind("activate",(function(e){e.isDefaultPrevented()||a.toggle()})),a._bindMediaQueries(),a._updateUI(s)},destroy:function(){this.wrapper.off(s).find("*").off(s),this._popup&&(this._selector.destroy(),this._popup.destroy()),this._selector=this._popup=this.wrapper=null,i.fn.destroy.call(this)},enable:function(e){var t=this,n=t.wrapper,i=n.find(".k-input-button");0===arguments.length&&(e=!0),t.element.attr("disabled",!e),n.attr("aria-disabled",!e),i.off(s).on("mousedown"+s,p),n.addClass("k-disabled").removeAttr("tabIndex").add("*",n).off(s),e?n.removeClass("k-disabled").attr("tabIndex",t._tabIndex).on("mouseenter"+s,(function(){n.addClass("k-hover")})).on("mouseleave"+s,(function(){n.removeClass("k-hover")})).on("focus"+s,(function(){n.addClass("k-focus")})).on("blur"+s,(function(){n.removeClass("k-focus")})).on(c,f(t._keydown,t)).on(l,".k-input-button",f(t.toggle,t)).on(l,".k-input-inner",(function(){t.trigger("activate")})):t.close()},_adaptiveView:function(){const e=this;e._popup?e._popup.fullscreen?e._showAdaptiveView||(e._popup.wrapper&&e._popup.wrapper.remove(),e._popup.destroy(),e._popup=null):(e._popup.destroy(),e._popup=null,e._getPopup()):e._getPopup(),e._toggleAdaptiveModeSizeClasses(e._showAdaptiveView)},_toggleSizeClassesForElement:function(e,t,n){if(e&&e.length){if(e.data("handler")&&e.data("handler")._addSizeClass)return t?e.data("handler")._addSizeClass(t):e.data("handler")._addSizeClass();e.is("."+n)||(e=e.closest("."+n)),e.removeClass(`${n}-sm ${n}-md ${n}-lg`),t&&e.addClass(`${n}-${t}`)}},_toggleAdaptiveModeSizeClasses:function(e){const t=this,n=t._popup&&t._popup.wrapper,i="large",o="k-coloreditor",r="k-colorgradient",a="k-colorpalette",s=n&&n.length&&n.find("."+o),l=n&&n.length&&n.find("."+r),c=n&&n.length&&n.find("."+a);e?(t._toggleSizeClassesForElement(s,i),t._toggleSizeClassesForElement(l,i),t._toggleSizeClassesForElement(c,i)):(t._toggleSizeClassesForElement(s),t._toggleSizeClassesForElement(l),t._toggleSizeClassesForElement(c))},_bindMediaQueries:function(){const e=this;"auto"===e.options.adaptiveMode?(e.largeMQL=t.mediaQuery("large"),e.mediumMQL=t.mediaQuery("medium"),e.smallMQL=t.mediaQuery("small"),e.smallMQL.onEnter((()=>{e._showAdaptiveView=!0,e._adaptiveView(),e._popup.fullscreen(!0)})),e.mediumMQL.onEnter((()=>{e._showAdaptiveView=!0,e._adaptiveView(),e._popup.fullscreen(!1)})),e.largeMQL.onEnter((()=>{e._showAdaptiveView=!1,e._adaptiveView()}))):(e.smallMQL&&e.smallMQL.destroy(),e.mediumMQL&&e.mediumMQL.destroy(),e.largeMQL&&e.largeMQL.destroy(),e._showAdaptiveView=!1)},_template:t.template((({toolIcon:e,_buttonHtml:n})=>`<span role="combobox" aria-haspopup="dialog" aria-expanded="false" class="k-colorpicker k-picker k-icon-picker"><span class="k-input-inner"><span class="k-value-icon k-color-preview ${e?"k-icon-color-preview":""}">`+(e?t.ui.icon({icon:e,iconClass:"k-color-preview-icon"}):"")+'<span class="k-color-preview-mask"></span></span></span >'+n+"</span>")),options:{name:"ColorPicker",closeOnSelect:!1,contrastTool:!1,palette:null,columns:10,toolIcon:null,value:null,messages:{apply:"Apply",cancel:"Cancel",noColor:"no color",clearColor:"Clear color",previewInput:null,contrastRatio:"Contrast ratio:",fail:"Fail",pass:"Pass",hex:"HEX",toggleFormat:"Toggle format",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",gradient:"Gradient view",palette:"Palette view",adaptiveTitle:"Choose Color"},opacity:!1,buttons:!0,preview:!0,clearButton:!1,input:!0,format:"hex",formats:["rgb","hex"],view:"gradient",views:["gradient","palette"],backgroundColor:null,ARIATemplate:e=>`Current selected color is ${e||"none"}`,size:"medium",rounded:"medium",fillMode:"solid",adaptiveMode:"none"},events:["activate","change","select","open","close"],open:function(){this.element.prop("disabled")||this._getPopup().open()},close:function(){var e=this._selector&&this._selector.options||{};e._closing=!0,this._getPopup().close(),delete e._closing},toggle:function(){this.element.prop("disabled")||this._getPopup().toggle()},setBackgroundColor:function(e){var t=this,n=function(){t._selector.setBackgroundColor(e)};t.options.contrastTool.backgroundColor=e,t._selector&&t._popup&&t._popup.visible()?t._selector.setBackgroundColor(e):t._popup&&(t._popup.unbind("activate",n),t._popup.bind("activate",n))},_noColorIcon:function(){return this.wrapper.find(".k-color-preview")},color:d.fn.color,value:d.fn.value,_select:d.fn._select,_triggerSelect:d.fn._triggerSelect,_isInputTypeColor:d.fn._isInputTypeColor,_preventDefaultLabelClick:function(){var e=this,t=e.element,n=t.closest("label"),i=t.attr("id");i&&(n=n.add('label[for="'+i+'"]')),n.on("click",(function(t){e.open(),t.preventDefault()}))},_updateUI:function(e,t){this._updateInput(e),this._triggerSelect(e),this.wrapper.find(".k-color-preview-mask").css("background-color",e?e.toDisplay():""),this._noColorIcon().toggleClass("k-no-color",!e),this._selector&&!t&&this._selector.value(e)},_updateInput:function(e){var n="";e&&(n=this._isInputTypeColor()||1==e.a?e.toCss():e.toCssRgba(),this.element.val(n)),this._ariaTemplate||(this._ariaTemplate=t.template(this.options.ARIATemplate)),this.wrapper.attr("aria-label",this._ariaTemplate(n))},_keydown:function(e){var t=e.keyCode;this._getPopup().visible()?(t==a.ESC?this._selector._cancel():this._selector._keydown(e),p(e)):t!=a.ENTER&&t!=a.DOWN||(this.open(),p(e))},_actionFooterButtons:function(){const e=[{command:"cancel",text:"Cancel",size:"large",fillMode:this.options.fillMode,themeColor:"base"},{command:"apply",text:"Apply",size:"large",fillMode:this.options.fillMode,themeColor:"primary"}];let n="";return e.forEach((e=>{const i=e.command,o=e.text;delete e.command,delete e.text,n+=t.html.renderButton(`<button data-command=${i}>${o}</button>`,e)})),n},_actionSheetApply:function(){const e=this._selector;e._clearColor?e._select(null):e._select(e._view.color())},_actionSheetCancel:function(){const e=this._selector;delete e._clearColor,e._updateUI(e.color()),e._cancel()},_getPopup:function(){var n=this,i=n._popup;const a=n._showAdaptiveView;if(!i){var s,l=n.options;s=u,l.autoupdate=!0!==l.buttons&&!a,l._showAdaptiveView=a,delete l.select,delete l.change,delete l.cancel,l._otOfPicker=!1;var c=t.guid(),d=e(`<div id="${c}" class=${a?"":"k-colorpicker-popup"}></div>`).appendTo(document.body),h=n._selector=new s(e("<div></div>").appendTo(d),{...l,buttons:!a&&l.buttons,value:a?n._value:n.options.value});n.wrapper.attr("aria-controls",c),a?(n._popup=i=d.kendoActionSheet({adaptive:!0,closeButton:!0,hideOverflowContent:!0,title:t.htmlEncode(l.messages.adaptiveTitle),footerTemplate:n._actionFooterButtons()}).data("kendoActionSheet"),i._footer.addClass("k-actions k-actions-horizontal k-actions-stretched"),i._footer.on("click","button[data-command]",(function(t){switch(e(t.currentTarget).data("command")){case"apply":n._actionSheetApply();break;case"cancel":n._actionSheetCancel()}}))):n._popup=i=d.kendoPopup({anchor:n.wrapper,adjustSize:{width:5,height:0}}).data("kendoPopup"),h.bind({select:function(e){n._updateUI(r(e.value),!0)},change:function(e){n.options.buttons||a?n._select(h.color()):n._updateUI(r(e.value),!0),(n.options.buttons||a||"palette"===n._selector.options.view&&n.options.closeOnSelect)&&n.close()},cancel:function(){n.close()}}),i.bind({close:function(t){if(n.trigger("close"))return void t.preventDefault();n.wrapper.removeClass("k-focus");var i=h.color();n.options.buttons&&a?n._select(n.color()):n._select(i),(i=n.color())&&i.h&&(n._cachedHue=i.h);const o=a?".k-actionsheet":".k-colorpicker-popup";event&&event instanceof MouseEvent&&0===e(event.target).parents(o).length||setTimeout((function(){n.wrapper&&!n.wrapper.is("[unselectable='on']")&&n.wrapper.trigger("focus")}),0),n.wrapper.attr("aria-expanded",!1)},open:function(e){n.trigger("open")?e.preventDefault():(n.wrapper.addClass("k-focus"),n.wrapper.attr("aria-expanded",!0))},activate:function(){var e,t=n.color();a&&function(e){const t=e._view;t&&(t._hueSlider&&t._hueSlider.resize(),t._opacitySlider&&t._opacitySlider.resize())}(h),t&&(t=t.toHSV(),e=o.fromHSV(n._cachedHue||0,t.s,t.v,t.a),t=t.equals(e)?e:t),h.value(t),h.focus(),n.wrapper.addClass("k-focus")}})}return i}});function p(e){e.preventDefault()}function f(e,t){return function(){return e.apply(t,arguments)}}n.plugin(h),t.cssProperties.registerPrefix("ColorPicker","k-picker-"),t.cssProperties.registerValues("ColorPicker",[{prop:"rounded",values:t.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui,i=n.Widget,o="change",r="disabled",a="checked",s=i.extend({init:function(e,n){var o=this;i.fn.init.call(o,e,n),o._wrapper(),o._initSettings(),o._attachEvents(),t.notify(o,t.ui)},events:[o],options:{name:"ToggleInputBase"},NS:".kendoToggleInputBase",RENDER_INPUT:e.noop,check:function(e){var t=this,n=t.element[0];if(undefined===e)return n.checked;n.checked!==e&&(t.options.checked=n.checked=e),e?t.element.attr(a,a):t.element.prop(a,!1)},destroy:function(){i.fn.destroy.call(this),this.wrapper.off(this.NS)},enable:function(e){var t=this.element;void 0===e&&(e=!0),this.options.enabled=e,e?t.prop(r,!1):t.attr(r,r)},toggle:function(){this.check(!this.element[0].checked)},_attachEvents:function(){this.element.on(o+this.NS,this._change.bind(this))},_change:function(){var e=this.element[0].checked;this.trigger(o,{checked:e})},_initSettings:function(){var e=this,t=e.element[0],n=e.options;null===n.checked&&(n.checked=t.checked),e.check(n.checked),n.enabled=n.enabled&&!e.element.attr(r),e.enable(n.enabled)},_wrapper:function(){var t=this,n=t.options;(0,t.RENDER_INPUT)(t.element,e.extend({},n)),t.element.removeClass("input-validation-error"),t.wrapper=t.element.wrap(`<span class="${n.wrapperClass}"></span>`).parent()},setOptions:function(t){this._clearCssClasses(t,this.element),this._setEvents(t),e.extend(this.options,t),this._applyCssClasses(this.element)}});n.plugin(s)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.html.HTMLBase,o=i.extend({init:function(e,t){var n=this;i.fn.init.call(n,e,t),n._wrapper(),n._addClasses()},options:{label:null,labelPosition:"after",labelId:null,encoded:!0},_wrapper:function(){var t=this,i=t.element[0],o=t.options,r=i.id;t.wrapper=t.element.addClass(o.inputClass).prop("type",o.type),!r&&o.label&&(i.id=r=n.guid()),o.label&&(t.labelEl=e("<label for='"+r+"' class='"+o.labelClass+"'>"),o.encoded?t.labelEl.text(o.label):t.labelEl.html(o.label),o.labelId&&t.labelEl.attr("id",o.labelId),o.optional&&t.labelEl.append("<span class='"+o.optionalClass+"'>"+o.optionalText+"</span>"),t.element[o.labelPosition](t.labelEl))},html:function(){var e=this,t="after"===e.options.labelPosition,n=i.fn.html.call(e);return e.labelEl?t?n+e.labelEl[0].outerHTML:e.labelEl[0].outerHTML+n:n}}),r=o.extend({init:function(e,t){o.fn.init.call(this,e,t),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,t){o.fn.init.call(this,e,t),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(n.html,{renderCheckBox:function(n,i){return(arguments[0]===t||e.isPlainObject(arguments[0]))&&(i=n,n=e("<input />")),new r(n,i).html()},renderRadioButton:function(n,i){return(arguments[0]===t||e.isPlainObject(arguments[0]))&&(i=n,n=e("<input />")),new a(n,i).html()},HTMLInput:o,HTMLCheckBox:r,HTMLRadioButton:a}),n.cssProperties.registerPrefix("HTMLCheckBox","k-checkbox-"),n.cssProperties.registerValues("HTMLCheckBox",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),n.cssProperties.registerPrefix("HTMLRadioButton","k-radio-")}(window.kendo.jQuery);kendo;!function(){var e=window.kendo,t=e.ui,n=t.ToggleInputBase.extend({options:{name:"CheckBox",checked:null,enabled:!0,encoded:!0,label:null,rounded:"medium",size:"medium",wrapperClass:"k-checkbox-wrap"},RENDER_INPUT:e.html.renderCheckBox,NS:".kendoCheckBox",value:function(e){return"string"==typeof e&&(e="true"===e),this.check.apply(this,[e])}});e.cssProperties.registerPrefix("CheckBox","k-checkbox-"),e.cssProperties.registerValues("CheckBox",[{prop:"rounded",values:e.cssProperties.roundedValues.concat([["full","full"]])}]),t.plugin(n)}(window.kendo.jQuery);kendo;!function(e){let t=window.kendo,n=t.ui.Widget,i=".kendoValidator",o="k-invalid-msg",r=new RegExp(o,"i"),a="k-invalid",s="k-valid",l="k-validation-summary",c="k-text-error",d="k-messagebox k-messagebox-error",u="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,p=["http:","https:","ftp:","ftps:"],f=":input:not(:button,[type=submit],[type=reset],[disabled],[readonly])",m=":checkbox:not([disabled],[readonly])",v="[type=number],[type=range]",g="blur",_="name",b="form",y="novalidate",w="validate",k="change",x="validateInput",C=function(e,t){return"string"==typeof t&&(t=new RegExp("^(?:"+t+")$")),t.test(e)},z=function(e,t){return!!e.length&&null!=e[0].attributes[t]};function S(t){return e.parseHTML?e(e.parseHTML(t)):e(t)}function T(n,i){for(var o,a=e(),s=0,l=n.length;s<l;s++)o=n[s],r.test(o.className)&&o.getAttribute(t.attr("for"))===i&&(a=a.add(o));return a}function M(e,t){return!!e&&("string"==typeof e.nodeName&&"LABEL"===e.nodeName&&("string"==typeof e.getAttribute("for")&&"string"==typeof t.getAttribute("id")&&e.getAttribute("for")===t.getAttribute("id")))}t.ui.validator||(t.ui.validator={rules:{},messages:{},allowSubmit:e.noop,validateOnInit:e.noop});var I=({errors:e})=>{let t="<ul>";for(var n=0;n<e.length;n+=1)t+=`<li><a data-field="${e[n].field}" href="#">${e[n].message}</a></li>`;return t+="</ul>",t},H=n.extend({init:function(i,o){var r=this,a=function(n){var i,o=t.ui.validator.ruleResolvers||{},r={};for(i in o)e.extend(!0,r,o[i].resolve(n));return r}(i),s="["+t.attr("validate")+"!=false]";(o=o||{}).rules=e.extend({},t.ui.validator.rules,a.rules,o.rules),o.messages=e.extend({},t.ui.validator.messages,a.messages,o.messages),n.fn.init.call(r,i,o),r._errorTemplate=t.template(r.options.errorTemplate),r._summaryTemplate=t.template(r.options.validationSummary.template||I),r.element.is(b)&&r.element.attr(y,y),r._shouldSearchDocument=r.element.is(b)&&undefined!==r.element.attr("id"),r._containerElement=r._shouldSearchDocument?e(document):r.element,r._inputSelector=r._buildSelector(f,s),r._checkboxSelector=r._buildSelector(m,s),r._errors={},r._attachEvents(),r._isValidated=!1,r._validateOnInit()&&r.validate()},events:[w,k,x],options:{name:"Validator",errorTemplate:({message:e})=>`<span class="k-form-error">${e}</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(e){let t=this._containerElement,n=!e.attr("name")&&!e.is(":checked"),i=e.attr("name"),o=i&&i.indexOf("'")>-1?'"':"'",r=e.attr("name")&&!t.find("input[name="+o+e.attr("name")+o+"]:checked").length,a=e.filter("[type=checkbox]").length&&(n||r),s=e.filter("[type=radio]").length&&!t.find("input[name="+o+e.attr("name")+o+"]:checked").length,l=e.val();return!(z(e,"required")&&(!l||""===l||0===l.length||a||s))},pattern:function(e){return!e.filter("[type=text],[type=email],[type=url],[type=tel],[type=search],[type=password]").filter("[pattern]").length||""===e.val()||C(e.val(),e.attr("pattern"))},min:function(e){return!e.filter(v+",["+t.attr("type")+"=number]").filter("[min]").length||""===e.val()||(parseFloat(e.attr("min"))||0)<=t.parseFloat(e.val())},max:function(e){return!e.filter(v+",["+t.attr("type")+"=number]").filter("[max]").length||""===e.val()||(parseFloat(e.attr("max"))||0)>=t.parseFloat(e.val())},step:function(e){if(e.filter(v+",["+t.attr("type")+"=number]").filter("[step]").length&&""!==e.val()){var n,i=parseFloat(e.attr("min"))||0,o=t.parseFloat(e.attr("step"))||1,r=parseFloat(e.val()),a=(s=((s=o)+"").split(".")).length>1?s[1].length:0;return a?(n=Math.pow(10,a),Math.floor((r-i)*n)%(o*n)/Math.pow(100,a)==0):(r-i)%o==0}var s;return!0},email:function(e){return function(e,t,n){var i=e.val();return!e.filter(t).length||""===i||C(i,n)}(e,"[type=email],["+t.attr("type")+"=email]",h)},url:function(e){if(e.filter("[type=url],["+t.attr("type")+"=url]").length&&""!==e.val())try{const t=new URL(e.val());return p.includes(t.protocol)}catch{return!1}return!0},date:function(e){return!e.filter("[type^=date],["+t.attr("type")+"=date]").length||""===e.val()||null!==t.parseDate(e.val(),e.attr(t.attr("format")))},captcha:function(e){if(e.filter("["+t.attr("role")+"=captcha]").length){var n=this,i=t.widgetInstance(e),o=function(e){return null!=e};if(e.data("captcha_validating")||o(i.isValid())||!i.getCaptchaId()||(e.data("captcha_validating",!0),n._validating=!0,i.validate().done((function(){n._validating=!1,n._checkElement(e)})).fail((function(e){n._validating=!1,e.error&&"handler_not_defined"===e.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.")}))),o(i.isValid()))return e.removeData("captcha_validating"),i.isValid()}return!0}},validateOnBlur:!0,validationSummary:!1},_buildSelector:function(e,t){const n=`,[form="${this.element.attr("id")}"]`;let i=e+t;return this._shouldSearchDocument&&(i+=n),i},_allowSubmit:function(){return t.ui.validator.allowSubmit(this.element,this.errors())},_validateOnInit:function(){return t.ui.validator.validateOnInit(this.element)},destroy:function(){n.fn.destroy.call(this),this.element.off(i),this.validationSummary&&(this.validationSummary.off(i),this.validationSummary=null)},value:function(){return!!this._isValidated&&0===this.errors().length},_submit:function(e){return!(!this.validate()&&!this._allowSubmit()||this._validating)||(e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),!1)},_checkElement:function(e){var t=this.value();this.validateInput(e),this.value()!==t&&this.trigger(k)},_attachEvents:function(){const t=this,n=t._containerElement;t.element.is(b)&&t.element.on("submit"+i,t._submit.bind(t)),t.options.validateOnBlur&&(n.is(f)?(n.on(g+i,(function(){t._checkElement(t.element)})),n.is(m)&&n.on("click"+i,(function(){t._checkElement(t.element)}))):(n.on(g+i,t._inputSelector,(function(){t._checkElement(e(this))})),n.on("click"+i,t._checkboxSelector,(function(){t._checkElement(e(this))}))))},validate:function(){let e,t,n,i=!1,o=this._containerElement,r=this.value();if(this._errors={},this.element.is(f))i=this.validateInput(this.element);else{let r=!1;for(e=o.find(this._inputSelector),t=0,n=e.length;t<n;t++)this.validateInput(e.eq(t))||(r=!0);i=!r}return this.options.validationSummary&&!r&&this.showValidationSummary(),this.trigger(w,{valid:i,errors:this.errors()}),r!==i&&this.trigger(k),i},validateInput:function(n){if(n=e(n),!t.isEmpty(n.closest(".k-otp"))){let e=n.closest(".k-otp");n=e.find("input[data-role='otpinput']")}this._isValidated=!0;const i=this,r=i._errorTemplate,l=i._checkValidity(n),d=l.valid,h="."+o,p=n.attr(_)||"",f=i._findMessageContainer(p).add(n.next(h).filter((function(){let n=i._shouldSearchDocument?e(document):e(this);return!n.filter("["+t.attr("for")+"]").length||n.attr(t.attr("for"))===p}))).addClass("k-hidden"),m=d?"":i._extractMessage(n,l.key),v=d?"":S(r({message:(w=m,w.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")),field:p})),g=!n.attr(u),b=n.is(".k-input-inner"),y=n.parent(".k-input");var w;let k;if(n.removeAttr(u),n.hasClass("k-hidden")&&"otpinput"==n.attr("data-role")&&(k=t.widgetInstance(n)),n.hasClass("k-hidden")&&"otpinput"!=n.attr("data-role")&&(k=t.widgetInstance(n.closest(".k-signature"))),n.is("[type=radio]")&&(k=t.widgetInstance(n.closest(".k-radio-list"))),n.is("[type=checkbox]")&&(k=t.widgetInstance(n.closest(".k-checkbox-list"))),d||n.data("captcha_validating"))delete i._errors[p];else{i._errors[p]=m;let e=f.attr("id");if(i._decorateMessageContainer(v,p),e&&v.attr("id",e),0!==f.length)f.replaceWith(v);else{k=k||t.widgetInstance(n);let e=n.parent().get(0),i=n.next().get(0),o=n.prev().get(0);!k&&n.is("[type=radio]")&&(k=t.widgetInstance(n.closest(".k-radio-list"))),!k&&n.is("[type=checkbox]")&&(k=t.widgetInstance(n.closest(".k-checkbox-list"))),k&&k.wrapper&&(k.element!==k.wrapper||["Signature","RadioGroup","CheckBoxGroup"].indexOf(k.options.name)>-1)?v.insertAfter(k.wrapper):e&&"LABEL"===e.nodeName?v.insertAfter(e):i&&M(i,n[0])?v.insertAfter(i):o&&M(o,n[0])?v.insertAfter(n):b&&y.length?v.insertAfter(y):v.insertAfter(n)}v.removeClass("k-hidden"),n.attr(u,!0)}if(g!==d&&this.trigger(x,{valid:d,input:n,error:m,field:p}),k=k&&"Signature"==k.options.name?k:t.widgetInstance(n),(!k||!k._inputWrapper&&!k.wrapper||n.is("[type=checkbox]")||n.is("[type=radio]"))&&(n.toggleClass(a,!d),n.toggleClass(s,d)),k){let e=k.options.name,t=k._inputWrapper||k.wrapper,o=k._inputLabel;"OTPInput"==e?d?(k._removeInvalidState.bind(i),k._removeInvalidState(t,!0)):(k._addInvalidState.bind(i),k._addInvalidState(t,!0)):!t||n.is("[type=checkbox]")||n.is("[type=radio]")||(t.toggleClass(a,!d),t.toggleClass(s,d)),o&&o.toggleClass(c,!d)}if(g!==d){let e=v?v.attr("id"):f.attr("id");i._associateMessageContainer(n,e),this.options.validationSummary&&this.options.validateOnBlur&&this.showValidationSummary()}return d},hideMessages:function(){const e="."+o,t=this._containerElement;this._disassociateMessageContainers(),t.is(f)?t.next(e).addClass("k-hidden"):t.find(e).addClass("k-hidden")},reset:function(){const e=this,t=e._containerElement,n=t.find("."+a),i=t.find("."+c);e._errors=[],e.hideMessages(),e.hideValidationSummary(),n.removeAttr(u),n.removeClass(a),i.removeClass(c)},_findMessageContainer:function(n){let i,o=t.ui.validator.messageLocators,r=e();for(let e=0,t=this.element.length;e<t;e++){let t=this._shouldSearchDocument?document:this.element[e];r=r.add(T(t.getElementsByTagName("*"),n))}for(i in o)r=r.add(o[i].locate(this._containerElement,n));return r},_decorateMessageContainer:function(e,n){var i,r=t.ui.validator.messageLocators;for(i in e.addClass(o).attr(t.attr("for"),n||""),e.attr("id")||e.attr("id",n+"-error"),r)r[i].decorate(e,n)},_extractMessage:function(e,n){var i,o=this.options.messages[n],r=e.attr(_);return t.ui.Validator.prototype.options.messages[n]||(i=t.isFunction(o)?o(e):o),o=t.isFunction(o)?o(e):o,t.format(e.attr(t.attr(n+"-msg"))||e.attr("validationMessage")||i||o||e.attr("title")||"",r,e.attr(n)||e.attr(t.attr(n)))},_checkValidity:function(e){var t,n=this.options.rules;for(t in n)if(!n[t].call(this,e))return{valid:!1,key:t};return{valid:!0}},errors:function(){var e,t=[],n=this._errors;for(e in n)t.push(n[e]);return t},setOptions:function(e){e.validationSummary&&this.hideValidationSummary(),t.deepExtend(this.options,e),this.destroy(),this.init(this.element,this.options),this._setEvents(this.options)},_getInputNames:function(){const t=this._containerElement.find(this._inputSelector);let n=[];for(let i=0,o=t.length;i<o;i++){let o=e(t[i]);z(o,_)&&(-1===n.indexOf(o.attr(_))||0===o.closest(".k-checkbox-list").length&&0===o.closest(".k-radio-list").length)&&n.push(o.attr(_))}return n},_associateMessageContainer:function(e,n){var i=t.getWidgetFocusableElement(e);i&&n&&t.toggleAttribute(i,"aria-describedby",n)},_disassociateMessageContainers:function(){for(var t,n,i=this,r=i.element.find("."+a).addBack(),s=0;s<r.length;s+=1)(t=e(r[s])).is("input")&&(n=i._findMessageContainer(t.attr(_)).add(t.next("."+o)).attr("id"),i._associateMessageContainer(t,n))},_errorsByName:function(){for(var e=this,t=e._getInputNames(),n=[],i=0;i<t.length;i+=1){var o=t[i];e._errors[o]&&n.push({field:o,message:e._errors[o]})}return n},_renderSummary:function(){var t,n=this,o=this.options.validationSummary,r=this.element.prev();return(t=o.container?e(o.container):r&&r.hasClass(l)?r:e("<div />").insertBefore(n.element)).addClass([l,d].join(" ")),t.attr("role","alert"),t.on("click"+i,n._summaryClick.bind(n)),t},_summaryClick:function(n){n.preventDefault();var i,o=e(n.target),r=this.element.find("[name='"+o.data("field")+"']");r.length&&(i=t.getWidgetFocusableElement(r))&&i.trigger("focus")},showValidationSummary:function(){var e,t=this,n=t.validationSummary,i=t._errorsByName();n||(n=t.validationSummary=t._renderSummary()),e=S(t._summaryTemplate({errors:i})),n.html(e),n.toggleClass("k-hidden",!i.length)},hideValidationSummary:function(){var e=this.validationSummary;e&&e.addClass("k-hidden")}});t.ui.plugin(H)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=n.ui.TextBox,r="k-hidden",a=n.ui,s=n.keys,l="k-otp-input",c="k-otp-separator",d="k-input-inner",u=".kendoOtpInput",h="change",p="k-input-group",f="k-invalid",m=/^[0-9]\d*$/,v="right",g="left",_="focus",b=i.extend({init:function(t,o){var r=this;i.fn.init.call(r,t,o),o=e.extend(!0,{},o),r.options.value=o.value||r.element.val(),r.options.separator=n.isPresent(o.separator)?o.separator:null,r.options.inputMode=o.inputMode||e(t).attr("inputmode")||"text",r._wrapper(),r._renderGroups(r.options.items),r._attachHandlers(),r.value(r.options.value),r.element.on(h+u,r._change.bind(r))},events:[h],options:{name:"OTPInput",type:"text",value:"",placeholder:"",separator:null,readonly:!1,enable:!0,space:!1,size:"medium",rounded:"medium",fillMode:"solid"},enable:function(t){let i=this._inputs;n.isEmpty(i)||e(i).each((function(){this.getKendoTextBox().enable(t)}))},readonly:function(t){let i=this._inputs;n.isEmpty(i)||e(i).each((function(){this.getKendoTextBox().readonly(t)}))},focus:function(){let e=this._inputs;n.isEmpty(e)||e[0].focus().select()},value:function(n){let i=this,o=i._groupLength,r=i.options.type;if(n===t)return i._value;if(null===n&&(i.element.val(n),i._value=n,i._emptyValues()),o>0&&n){if(i._emptyValues(),!i._validate(r,n))return;let t=n.toString().split("");t.length>o&&(t=t.splice(0,o)),i._inputs.forEach((function(n,i){let o=t.at(i);e(n).val(o)}));let a="";i._inputs.forEach((function(t){a=a+=e(t).val()})),i.element.val(a),i._value=a}},destroy:function(){let t=this,o=t._inputs;if(!n.isEmpty(o)){o.forEach((function(t){let n=e(t)[0];e(n).getKendoTextBox().destroy()})),o.map((function(t){return e(t)[0].closest(`.${l}`)})).forEach((function(t){e(t).remove()})),t.wrapper.find(`.${p}`).remove(),t.wrapper.find(`.${c}`).remove(),t.element.unwrap().removeClass(r).removeAttr("type").removeAttr("aria-hidden"),i.fn.destroy.call(t)}},setOptions:function(e){let t=this;t.destroy(),n.deepExtend(this.options,e),t.init(t.element,e)},_change:function(e){let t=this,n=t.element.val();t._value=n,t.trigger(h,{value:n})},_wrapper:function(){let e,t=this,i=t.element,o=n.cssProperties.defaultValues.size[t.options.size];e=i.addClass(r).attr("type","hidden").attr("aria-hidden",!0).wrap(`<div class='k-otp k-otp-${o||"md"}' role="group" ></div>`).parent(),t.wrapper=e},_renderGroups:function(t){let i=this,o=i.options.separator,r=[];if(i._inputs=[],n.isInteger(t)){i._groupLength=t;for(let n=0;n<t;n++){let t=i._renderInput(n+1);r.push(t),i._inputs.push(e(t).find(`.${d}`))}if(i.options.space)i.wrapper.append(r);else{let t=e(`<div class="${p} k-input-group-solid"></div>`).append(r);i.wrapper.append(t)}r=[]}else if(Array.isArray(t)){i._groupLength=t.reduce(((e,{groupLength:t})=>e+t),0);let a=0;t.forEach((function(s,l){if(s.groupLength){for(let t=0;t<s.groupLength;t++){++a;let t=i._renderInput(a);r.push(t),i._inputs.push(e(t).find(`.${d}`))}if(i.options.space)l!=t.length-1&&r.push(i._renderSeparator()),i.wrapper.append(r);else{let a=e(`<div class="${p} k-input-group-solid"></div>`).append(r);i.wrapper.append(a),n.isPresent(o)&&l!=t.length-1&&i.wrapper.append(i._renderSeparator())}r=[]}})),a=0}},_renderInput:function(t){let n,i=this,r=i.options.inputMode;n=e("<input>").addClass(d).attr("inputmode",r).attr("type","password"==i.options.type?"password":"text").attr("aria-label","numeric"==i.options.type?`Enter Otp Numerical Character ${t}`:`Enter Otp Character ${t}`).attr("placeholder",i.options.placeholder).attr("autocomplete","off").attr("maxlength",1);let a=e.extend({},{maxLength:1,size:i.options.size,rounded:i.options.rounded,fillMode:i.options.fillMode,enable:i.options.enable,readonly:i.options.readonly}),s=new o(n,a).wrapper;return s.removeClass(d).addClass(l),s},_renderSeparator:function(){let t=this.options.separator,i=e(`<div class="${c}"></div>`);return n.isPresent(t)&&(n.isFunction(t)?i.append(t()):i.append(t)),i},_input:function(n){let i=this,o=n.currentTarget,r=i._inputs.length,a=i._oldValue,s=n.currentTarget.value,c=i.options.type;if(!i._validate(c,s))return i._blinkInvalidState(o),e(o).val(""),a!=t&&(e(o).val(a),delete i._oldValue),void e(o).trigger(_);let u=e(i.wrapper).find(`.${l}`),p=u.find(":focus"),f=u.find(`.${d}`).index(p),m=i._inputs.map((function(t){return e(t).val()})).join("");m!=i._value&&(i.element.val(""),i.element.val(m),i._value=m,i.trigger(h,{value:m})),i._moveFocus(undefined,f,r,v)},_attachHandlers:function(){let e=this,t=e._inputs,i=`.${d}`;n.isEmpty(t)||e.wrapper.on("focus"+u,i,e._focus.bind(e)).on("beforeinput"+u,i,e._beforeInput.bind(e)).on("input"+u,i,e._input.bind(e)).on("keydown"+u,i,e._keyDown.bind(e)).on("paste"+u,i,e._paste.bind(e))},_beforeInput:function(n){let i=this,o=n.currentTarget;if(o&&e(o).val()!=t){let t=e(o).val();i._oldValue=t}},_focus:function(t){let n=t.currentTarget;n&&e(n).select()},_validate:function(e,t){return"number"!=e||m.test(t)},_paste:function(t){let i,o=this,r=o._inputs,a=o.options.readonly,s=n.support.isRtl(o.element),c=e(o.wrapper).find(`.${l}`),d=o.options.type,u=(t.clipboardData||t.originalEvent.clipboardData||window.clipboardData).getData("text");if(t.preventDefault(),u&&1!=a){if(!o._validate(d,u))return this._blinkInvalidState.bind(o),void this._blinkInvalidState(o.wrapper);if(o.value(u),o.trigger(h,{newValue:o._value}),s){if(o._value.length==o._inputs.length)i=o._shiftFocus(c,0,g);else{let t=r.map((function(t){return e(t)})).filter((function(e){let t=e.val();return""==t||n.isBlank(t)})),o=e(t)[0];i=e(o).closest(`.${l}`)}e(i).find("input").trigger(_)}else{if(o._value.length==o._inputs.length)i=o._shiftFocus(c,c.length-2,v);else{let t=r.map((function(t){return e(t)})).filter((function(e){let t=e.val();return""==t||n.isBlank(t)})),o=e(t).first()[0];i=e(o).closest(`.${l}`)}e(i).find("input").trigger(_)}}},_keyDown:function(t){let i,o=this,r=t.keyCode||t.which,a=t.currentTarget,c=o._inputs.length,u=e(o.wrapper).find(`.${l}`),p=u.find(":focus"),f=""!=p.val(),m=u.find(`.${d}`).index(p),b=n.support.isRtl(o.element);if(!(t.target!=a||t.ctrlKey||r>=112&&r<=123||r>=96&&r<=111||t.shiftKey&&r==s.TAB||r==s.TAB))if(r===s.LEFT&&!b||t.keyCode===s.RIGHT&&b)i=o._shiftFocus(u,m,g),o._moveFocus(i,m,c,g),t.preventDefault();else if(r===s.LEFT&&b||t.keyCode===s.RIGHT&&!b)i=o._shiftFocus(u,m,v),o._moveFocus(i,m,c,v),t.preventDefault();else if(r===s.DELETE){if(t.preventDefault(),!e(p).is("[readonly]")){p.val("");let t=o._inputs.map((function(t){return e(t).val()})).join("");f&&(o._value=t,o.trigger(h,{value:t})),o.element.val(""),o.element.val(t)}}else if(r==s.BACKSPACE&&(t.preventDefault(),i=o._shiftFocus(u,m,g),!e(p).is("[readonly]"))){p.val("");let t=o._inputs.map((function(t){return e(t).val()})).join("");f&&(o._value=t,o.trigger(h,{value:t})),o.element.val(""),o.element.val(t),(m>0&&!b||m==u.length-1&&b||m>0&&!b||m>0&&b)&&i.find("input").trigger(_)}},_shiftFocus:function(t,n,i){switch(i){case v:return n+1===t.length?t.eq(0):e(t[n+1]);case g:return 0===n?t.eq(t.length-1):e(t[n-1]);default:return null}},_moveFocus:function(t,n,i,o){let r=this,a=e(r.wrapper).find(`.${l}`);o==v?n!=i-1&&r._shiftFocus(a,n,v).find("input").trigger(_):o==g&&n>0&&r._shiftFocus(a,n,g).find("input").trigger(_)},_emptyValues:function(){this._inputs.forEach((function(t){e(t).val("")}))},_blinkInvalidState:function(t){let n=this,i=e(t).hasClass("k-otp");n._addInvalidState.bind(n),n._addInvalidState(t,i),clearTimeout(n._invalidStateTimeout),n._invalidStateTimeout=setTimeout((function(){n._removeInvalidState.bind(n),n._removeInvalidState(t,i)}),100)},_addInvalidState:function(t,i=!1){let o=this._inputs;if(i){if(!n.isEmpty(o)){let t=o.map((function(t){return e(t).closest(`.${l}`)}));e(t).each((function(){e(this).addClass(f)}))}}else e(t).closest(`.${l}`).addClass(f)},_removeInvalidState:function(t=!1){let i=this,o=i._inputs;if(t){if(!n.isEmpty(o)){let t=o.map((function(t){return e(t).closest(`.${l}`)}));e(t).each((function(){e(this).removeClass(f)}))}}else e(i).closest(`.${l}`).removeClass(f);i._invalidStateTimeout=null}});n.cssProperties.registerPrefix("OTPInput","k-input-"),a.plugin(b)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui,i=n.Widget,o=e.extend,r=t.isFunction,a=e.isPlainObject,s=e.inArray,l=/("|\%|'|\[|\]|\$|\.|\,|\:|\;|\+|\*|\&|\!|\#|\(|\)|<|>|\=|\?|\@|\^|\{|\}|\~|\/|\||`)/g,c="change",d="equalSet",u=["url","email","number","date","boolean"];function h(e){return(e=null!=e?e:"").type||t.type(e)||"string"}function p(e){var n,i,o=(e.model.fields||e.model)[e.field],l=h(o),c=o?o.validation:{},d=o?o.attributes:{},p=t.attr("type"),f=t.attr("bind"),m={id:e.id||e.field,name:e.field,title:e.title?e.title:e.field};for(n in c){if(i=c[n],s(n,u)>=0)m[p]=n;else if(!r(i)){var v=t.getCulture();if("number"==typeof i&&v.name.length){var g=v.numberFormat,_=i.toString().replace(".",g["."]);m[n]=_}else m[n]=a(i)?i.value||n:i}m[t.attr(n+"-msg")]=i.message,m.autocomplete="off"}for(var b in d)m[b]=d[b];return s(l,u)>=0&&(m[p]=l),m[f]=("boolean"===l?"checked:":"value:")+e.field,m}function f(e,t){var n=e.attr("id");return n&&(t.id=n,e.removeAttr("id")),t}var m=["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","OTPInput"],v={hidden:function(t,n){var i=p(n);e('<input type="hidden"/>').attr(i).appendTo(t)},number:function(n,i){var r=p(i);e('<input type="text"/>').attr(r).appendTo(n).kendoNumericTextBox(o({},i.editorOptions,{format:i.format})),e("<span "+t.attr("for")+'="'+i.field+'" class="k-invalid-msg k-hidden"/>').appendTo(n)},date:function(n,i){let r=p(i),a=i.format,s=r.min,l=r.max;a&&(a=t._extractFormat(a)),r[t.attr("format")]=a,e('<input type="text"/>').attr(r).appendTo(n).kendoDatePicker(o({},i.editorOptions,{format:i.format,min:s,max:l})),e("<span "+t.attr("for")+'="'+i.field+'" class="k-invalid-msg k-hidden"/>').appendTo(n)},string:function(t,n){var i=p(n);e('<input type="text"/>').attr(i).appendTo(t).kendoTextBox(n.editorOptions)},boolean:function(n,i){var o=p(i),r=e('<input type="checkbox" />').attr(o).appendTo(n).kendoCheckBox(i.editorOptions);e("<span "+t.attr("for")+'="'+i.field+'" class="k-invalid-msg k-hidden"/>').appendTo(n),b(r,n,i)},values:function(n,i){var o=p(i),r=t.stringify(function(e){var t,n,i,o,r,a;if(e&&e.length)for(a=[],t=0,n=e.length;t<n;t++)r=(i=e[t]).text||i.value||i,o=null==i.value?i.text||i:i.value,a[t]={text:r,value:o};return a}(i.values));e("<select "+t.attr("text-field")+'="text"'+t.attr("value-field")+'="value"'+t.attr("source")+"='"+(r?r.replace(/\'/g,"'"):r)+"'"+t.attr("size")+'="'+i.editorOptions.size+'"'+t.attr("role")+'="dropdownlist"/>').attr(o).appendTo(n),e("<span "+t.attr("for")+'="'+i.field+'" class="k-invalid-msg k-hidden"/>').appendTo(n)},kendoEditor:function(t,n){var i=p(n),o=n.editor,r="kendo"+o,a=n.editorOptions,s=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 />"}(o,a);b(e(s).attr(i).appendTo(t)[r](a),t,n)}},g={number:function(t,n){var i=p(n);i=f(t,i),e('<input type="number"/>').attr(i).appendTo(t)},date:function(t,n){var i=p(n);i=f(t,i),e('<input type="date"/>').attr(i).appendTo(t)},string:function(t,n){var i=p(n);i=f(t,i),e('<input type="text" />').attr(i).appendTo(t)},boolean:function(t,n){var i=p(n);i=f(t,i),e('<input type="checkbox" />').attr(i).appendTo(t)},values:function(t,n){var i=p(n),o=n.values,r=e("<select />");for(var a in i=f(t,i),o)e('<option value="'+o[a].value+'">'+o[a].text+"</option>").appendTo(r);r.attr(i).appendTo(t)}};function _(e,t){var n,i,o=e&&e.validation||{};for(n in o)i=o[n],a(i)&&i.value&&(i=i.value),r(i)&&(t[n]=i)}function b(t,n,i){(i&&i.shouldRenderHidden||!1)&&(t.val(!0),n.append(e("<input type='hidden' name='"+i.field+"' value='false' data-skip='true' data-validate='false'/>")))}var y=i.extend({init:function(e,t){var n=this;t.target&&t.target.pane&&(n._isMobile=!0),i.fn.init.call(n,e,t),n._validateProxy=n._validate.bind(n),n.refresh()},events:[c],options:{name:"Editable",editors:v,mobileEditors:g,clearContainer:!0,validateOnBlur:!0,validationSummary:!1,errorTemplate:({message:e})=>'<div class="k-tooltip k-tooltip-error k-validator-tooltip">'+t.ui.icon({icon:"exclamation-circle",iconClass:"k-tooltip-icon"})+`<span class="k-tooltip-content">${e}</span><span class="k-callout k-callout-n"></span></div>`,skipFocus:!1,size:"medium"},editor:function(n,i){var r,s=this,c=s._isMobile?g:s.options.editors,d=a(n),u=d?n.field:n,p=s.options.model||{},f=d&&n.values?"values":h(i),v=d&&"string"==typeof n.editor&&"hidden"===n.editor,_=d&&!v&&n.editor,b=d&&-1!==e.inArray(n.editor,m),y=_?n.editor:c[v?"hidden":f],w=s.element.find("["+t.attr("container-for")+"="+u.replace(l,"\\$1")+"]");y=y||c.string,b?y=c.kendoEditor:_&&"string"==typeof n.editor&&(y=function(e){e.append(n.editor)}),d?(n.editorOptions||(n.editorOptions={}),n.editorOptions=o({},{size:s.options.size},n.editorOptions),r=n):r={field:u,editorOptions:{size:s.options.size}},y(w=w.length?w:s.element,o(!0,{},r,{model:p}))},_validate:function(n){var i,o=this,r=n.value,a=o._validationEventInProgress,s={},d=t.attr("bind"),u=n.field.replace(l,"\\$1"),h=new RegExp("(value|checked)\\s*:\\s*"+u+"\\s*(,|$)");s[n.field]=n.value,(i=e(":input["+d+'*="'+u+'"]',o.element).filter("["+t.attr("validate")+"!='false']").filter((function(){return h.test(e(this).attr(d))}))).length>1&&(i=i.filter((function(){var t=e(this);return!t.is(":radio")||t.val()==r})));try{o._validationEventInProgress=!0,(!o.validatable.validateInput(i)||!a&&o.trigger(c,{values:s}))&&n.preventDefault()}finally{o._validationEventInProgress=!1}},end:function(){return this.validatable.validate()},destroy:function(){var e=this;i.fn.destroy.call(e),e.options.model.unbind("set",e._validateProxy),e.options.model.unbind(d,e._validateProxy),t.unbind(e.element),e.validatable&&e.validatable.destroy(),t.destroy(e.element),e.element.removeData("kendoValidator"),e.element.is("["+t.attr("role")+"=editable]")&&e.element.removeAttr(t.attr("role"))},refresh:function(){var n,i,o,r,s,l,c=this,u=c.options.fields||[],h=c._container=c.options.clearContainer?c.element.empty():c.element,p=c.options.model||{},f={};for(Array.isArray(u)||(u=[u]),n=0,i=u.length;n<i;n++)o=u[n],r=a(o)?o.field:o,_(s=(p.fields||p)[r],f),c.editor(o,s);if(!i)for(r in l=p.fields||p)_(l[r],f);!function(n){n.find(":input:not(:button, .k-checkbox-list .k-checkbox, .k-radio-list .k-radio, ["+t.attr("role")+"=listbox], ["+t.attr("role")+"=upload], ["+t.attr("skip")+"], [type=file]), ["+t.attr("role")+"=radiogroup]").each((function(){var n=t.attr("bind"),i=this.getAttribute(n)||"",o="checkbox"===this.type||"radio"===this.type?"checked:":"value:",r=this.getAttribute("name")===y.antiForgeryTokenName,a=this.attributes.name&&this.attributes.name.value;-1===i.indexOf(o)&&a&&!r&&(i+=(i.length?",":"")+o+a,e(this).attr(n,i))}))}(h),c.validatable&&c.validatable.destroy(),t.bind(h,c.options.model),c.options.validateOnBlur&&(c.options.model.unbind("set",c._validateProxy).bind("set",c._validateProxy),c.options.model.unbind(d,c._validateProxy).bind(d,c._validateProxy)),c.validatable=new t.ui.Validator(h,{validateOnBlur:c.options.validateOnBlur,validationSummary:c.options.validationSummary,errorTemplate:c.options.errorTemplate||undefined,rules:f}),c.options.skipFocus||queueMicrotask((()=>{c._focusEditor()}))},_focusEditor:function(){this._container.find(":kendoFocusable").eq(0).trigger("focus")}});y.antiForgeryTokenName="__RequestVerificationToken",n.plugin(y)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui,o=i.Widget,r=n.keys,a=(n.mediaQuery,n.support,n.htmlEncode),s=n.template,l="caret-alt-to-left",c="caret-alt-to-right",d="caret-alt-left",u="caret-alt-right",h="caret-alt-to-left",p="caret-alt-to-right",f="caret-alt-left",m="caret-alt-right",v=":kendoFocusable:not([tabindex='-1'])",g="change",_=".kendoPager",b="click",y=Number.MAX_VALUE,w=!1;function k(e){return e.template({idx:e.idx,text:e.text,ns:n.ns,numeric:e.numeric,size:e.size,title:e.title||"",tabindex:e.navigatable?0:-1,navigatable:e.navigatable})}function x(e,t,n,i){return e({idx:t,text:n||t,selected:i||!1})}function C(t,i,o,r,a){return(({text:t,wrapClassName:i,className:o,size:r})=>`<button role="button" title="${t}" aria-label="${t}" class="k-pager-nav k-button k-button-flat k-button-flat-base k-icon-button ${i} ${r}">${n.ui.icon(e('<span class="k-button-icon"></span>'),o)}</button>`)({className:t,text:i,wrapClassName:o||"",id:r||"",size:a})}function z(e,t,i,o){e.find(`[class*="-i-${t}"]`).parent().attr(n.attr("page"),i).attr("tabindex",o?-1:0).attr("aria-disabled",o).toggleClass("k-disabled",o)}function S(e,t){z(e,l,1,t<=1)}function T(e,t){z(e,d,Math.max(1,t-1),t<=1)}function M(e,t,n){z(e,u,Math.min(n,t+1),t>=n)}function I(e,t,n){z(e,c,n,t>=n)}var H=o.extend({init:function(t,i){var r,s,v=this,y="",k="";if(o.fn.init.call(v,t,i),i=v.options,v._createDataSource(i),v.linkTemplate=n.template(v.options.linkTemplate),v.selectTemplate=n.template(v.options.selectTemplate),v.numericSelectItemTemplate=n.template(v.options.numericSelectItemTemplate),r=v.page(),s=v.totalPages(),v._refreshHandler=v.refresh.bind(v),v.dataSource.bind(g,v._refreshHandler),v.downEvent=n.applyEventMap("down",n.guid()),w=n.support.isRtl(t),v._numericWrap=v.element.find(".k-pager-numbers-wrap"),w?(l=p,c=h,d=m,u=f,v._numericWrap.length&&v._numericWrap.empty()):(l=h,c=p,d=f,u=m),i.size&&(y=n.getValidCssClass("k-button-","size",i.size),k="k-rounded-md "+n.getValidCssClass("k-picker-","size",i.size)),i.navigatable&&(v._id=v.element.attr("id")||n.guid()),v._template(),(i.previousNext||i.numeric)&&0===v._numericWrap.length&&(v._numericWrap=e("<div class='k-pager-numbers-wrap' />").appendTo(v.element)),i.previousNext&&(v._numericWrap.find("[class*='-i-"+l+"']").length||(v._numericWrap.append(C(l,i.messages.first,"k-pager-first",v._id,y)),S(v._numericWrap,r)),v._numericWrap.find("[class*='-i-"+d+"']").length||(v._numericWrap.append(C(d,i.messages.previous,null,v._id,y)),T(v._numericWrap,r))),i.numeric&&(v._numericSelect||(v._numericSelect=v._numericWrap.find(".k-dropdown"),0===v._numericSelect.length&&(v._numericSelect=e("<select aria-label='"+v.options.messages.numbersSelectLabel+"' class='k-dropdown k-picker k-picker-solid k-dropdown-list "+k+"' />").appendTo(v._numericWrap))),v.list||(v.list=v._numericWrap.find(".k-pager-numbers"),0===v.list.length&&(v.list=e('<div class="k-pager-numbers" />').appendTo(v._numericWrap))),i.dataSource&&!i.dataSource.total()&&(v._numericSelect.empty().append("<option value='0' />"),v.list.empty().append(v.selectTemplate({text:0,tabindex:i.navigatalbe?0:-1,navigatable:i.navigatable,title:n.format(i.messages.pageButtonLabel,0)})))),i.input&&(v.element.find(".k-pager-input").length||v.element.append('<span class="k-pager-input k-label">'+a(i.messages.page)+'<span class="k-textbox k-input k-input-md k-rounded-md k-input-solid"><input class="k-input-inner" /></span>'+a(n.format(i.messages.of,s))+"</span>"),v.element.on("keydown"+_,".k-pager-input input",v._keydown.bind(v))),i.previousNext&&(v._numericWrap.find("[class*='-i-"+u+"']").length||(v._numericWrap.append(C(u,i.messages.next,null,v._id,y)),M(v._numericWrap,r,s)),v._numericWrap.find("[class*='-i-"+c+"']").length||(v._numericWrap.append(C(c,i.messages.last,"k-pager-last",v._id,y)),I(v._numericWrap,r,s))),i.pageSizes){if(!v.element.find(".k-pager-sizes").length){var x=i.pageSizes.length?i.pageSizes:["all",5,10,20],z=e.map(x,(function(e){return e.toLowerCase&&"all"===e.toLowerCase()?"<option value='all'>"+a(i.messages.allPages)+"</option>":"<option>"+e+"</option>"}));e('<span class="k-pager-sizes"><select></select><span>'+a(i.messages.itemsPerPage)+"</span></span>").appendTo(v.element).find("select").html(z.join("")).end().appendTo(v.element)}v.element.find(".k-pager-sizes select").val(v.pageSize()),n.ui.DropDownList&&v.element.find(".k-pager-sizes select").show().attr("aria-label",i.messages.pageSizeDropDownLabel).kendoDropDownList({size:i.size}),v.element.on(g+_,".k-pager-sizes select",v._change.bind(v))}i.refresh&&(v.element.find(".k-pager-refresh").length||v.element.append('<button role="button" href="#" class="k-pager-refresh k-button '+y+' k-button-flat k-button-flat-base k-icon-button" title="'+i.messages.refresh+'" aria-label="'+i.messages.refresh+'">'+n.ui.icon(e('<span class="k-button-icon"></span>'),"arrow-rotate-cw")+"</button>"),v.element.on(b+_,".k-pager-refresh",v._refreshClick.bind(v))),i.info&&(v.element.find(".k-pager-info").length||v.element.append('<span class="k-pager-info" />')),v.element.on(b+_,"button",v._click.bind(v)).on(g+_,"select.k-dropdown",v._numericSelectChange.bind(v)).addClass("k-pager"),i.size&&v.element.addClass(n.getValidCssClass("k-pager-","size",i.size)),i.autoBind&&v.refresh(),v._resizeHandler=v.resize.bind(v,!0),e(window).on("resize"+_,v._resizeHandler),v._navigatable(),v._responsive(),n.notify(v)},destroy:function(){var t=this;o.fn.destroy.call(t),t.element.off(_),t.dataSource.unbind(g,t._refreshHandler),t._refreshHandler=null,e(window).off("resize"+_,this._resizeHandler),n.destroy(t.element),t.element=t.list=null},events:[g],options:{name:"Pager",ARIATemplate:({page:e,totalPages:t})=>`Page navigation, page ${e} of ${t}`,selectTemplate:({text:e,title:t,tabindex:n,size:i})=>`<button role="button" aria-current="page" tabindex="${n}" aria-label="${t}" class="k-button ${i} k-button-flat k-button-flat-primary k-selected"><span class="k-button-text">${a(e)}</span></button>`,linkTemplate:({ns:e,idx:t,text:n,title:i,tabindex:o,size:r})=>`<button class="k-button ${r} k-button-flat k-button-flat-primary" tabindex="${o}" href="#" data-${e}page="${t}" ${""!==i?`title="${i}"`:""}><span class="k-button-text">${a(n)}</span></button>`,numericSelectItemTemplate:({idx:e,selected:t,text:n})=>`<option value="${e}" ${t?'selected="selected"':""}>${a(n)}</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(g,t._refreshHandler),t.dataSource=t.options.dataSource=e,e.bind(g,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,n){var i=this;switch(e){case 0:return i._toggleButtons(t,n);case 1:return i._toggleRefresh(t,n);case 2:return i._togglePagerInfo(t,n);case 3:return i._toggleInputSizesLabel(t,n);case 4:return i._togglePageSizesLabel(t,n);case 5:return i._togglePageSizesDropDown(t,n);case 6:return i._togglePageInputs(t,n)}},_calculateNeededWidth:function(){var t=0,n=parseInt(this.element.css("gap"));return this.element.children().each((function(){const i=e(this),o=i.hasClass("k-pager-info");o&&i.removeClass("k-pager-info k-label"),t+=i.is(":visible")?i.width():0,t+=n,o&&i.addClass("k-pager-info k-label")})),t},_resize:function(e){var t=this;if(t._responsive(e),t.element.is(":visible")&&t._lastWidth&&t.options.responsive){if(t._lastWidth<e.width)for(let n=6;n>=0;n--){const i=t._calculateNeededWidth();if(e.width<i)break;if(t._adaptiveStep(n,!1,e.width-i))break}else if(t._lastWidth>e.width)for(let 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)return;const n=this.element.find(".k-pager-refresh");if(e)n.hide();else{if(!(t&&n.width()<t))return!0;n.show()}},_togglePagerInfo:function(e,t){if(!this.options.info)return;const n=this.element.find(".k-pager-info");if(e)n.hide();else if(t&&n.width()<t)n.show();else if(!n.is(":visible"))return!0},_toggleInputSizesLabel:function(e,t){if(!this.options.input)return;const n=this.element.find(".k-pager-input").children(),i=n.eq(0).add(n.eq(2));if(e)i.hide();else{if(!(t&&n.eq(0).width()+n.eq(2).width()<t))return!0;i.show()}},_togglePageSizesLabel:function(e,t){if(!this.options.pageSizes)return;const n=this.element.find(".k-pager-sizes").children().eq(1);if(e)n.hide();else{if(!(t&&n.width()<t))return!0;n.show()}},_togglePageSizesDropDown:function(e,t){if(!this.options.pageSizes)return;const n=this.element.find(".k-pager-sizes .k-picker");if(e)n.hide();else{if(!(t&&n.width()<t))return!0;n.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=n.data.DataSource.create(e.dataSource)},_responsive:function(e){var t,n,i=this,o=i.options;o.responsive?(t=i.element.outerWidth(),e&&e.width>0&&(t=e.width),n=i.element.find(".k-pager-info"),t<=480?(n.hide(),i.element.find(".k-pager-sizes").children().hide(),o.numeric&&(i._numericSelect.show(),i.list.hide())):t<=600?(n.hide(),o.numeric&&(i._numericSelect.show(),i.list.hide())):o.numeric&&(i._numericSelect.hide(),i.list.show())):i._numericSelect&&i._numericSelect.hide()},refresh:function(t){var i,o,r,s=this,l=1,c=s.page(),d="",u="",h=s.options,p=s.pageSize(),f=s._collapsedTotal(),m=s.dataSource._isGroupPaged()?s.dataSource.groupsTotal(!0):s.dataSource.total(),v=s.totalPages(),g=s.linkTemplate,_=h.navigatable,b=s.numericSelectItemTemplate,w=h.size?n.getValidCssClass("k-button-","size",h.size):"",C=h.buttonCount;if(!t||"itemchange"!=t.action){if(h.numeric){for(c>C&&(l=0===(r=c%C)?c-C+1:c-r+1),o=Math.min(l+C-1,v),l>1&&(d+=k({template:g,navigatable:_,size:w,idx:l-1,text:"...",numeric:!1,title:h.messages.morePages}),u+=x(b,l-1,h.messages.morePages)),i=l;i<=o;i++)d+=k({template:i==c?s.selectTemplate:g,navigatable:_,idx:i,text:i,size:w,numeric:!0,title:n.format(h.messages.pageButtonLabel,i)}),u+=x(b,i,i,i==c);o<v&&(d+=k({template:g,navigatable:_,idx:i,size:w,text:"...",numeric:b,title:h.messages.morePages}),u+=x(b,i,h.messages.morePages)),""===d&&(d=s.selectTemplate({text:0,size:w,tabindex:_?0:-1,navigatable:_,title:n.format(h.messages.pageButtonLabel,0)}),u=e("<option value='0' />")),s.list.html(d),s._numericSelect.html(u)}if(h.info&&(d=m>0?n.format(h.messages.display,s.dataSource.options.endless?1:Math.min((c-1)*(s.dataSource.pageSize()||0)+1,f),Math.min(c*p,f),m):h.messages.empty,s.element.find(".k-pager-info").html(d)),h.input&&s.element.find(".k-pager-input").html("<span>"+a(s.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="'+s.options.messages.page+" "+c+'"></span><span>'+a(n.format(h.messages.of,v))+"</span>").find("input").val(c).attr("disabled",m<1).attr("aria-disabled",m<1).toggleClass("k-disabled",m<1),h.previousNext&&(S(s.element,c),T(s.element,c),M(s.element,c,v),I(s.element,c,v)),h.pageSizes){var z=p;s.element.find(".k-pager-sizes option[value='all']").length>0&&(p===this.dataSource.total()||p==y)&&(p="all",z=h.messages.allPages),s.element.find(".k-pager-sizes select").val(p).filter("["+n.attr("role")+"=dropdownlist]").kendoDropDownList("value",p).kendoDropDownList("text",z)}s._restoreFocus(l,o,v),s._excludeChildrenFromTab(),s._updateAria(),v?(s._lastWidth=n._outerWidth(s.element)+12,s.resize(!0)):s._lastWidth&&(s._lastWidth=n._outerWidth(s.element))}},_excludeChildrenFromTab:function(){var t=n._activeElement();!this.options.navigatable||t!==this.element[0]&&e.contains(this.element[0],t)||this.element.find(v).attr("tabindex",-1)},_restoreFocus:function(e,t,n){var i=this;i.options.navigatable&&(i._focusSelected&&(i.element.find(".k-selected").trigger("focus"),i._focusSelected=null),null!==i._focusMore&&(t<n&&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):not(.k-dropdownlist > .k-icon-button)").attr("tabindex",0)},_collapsedTotal:function(){return this.dataSource.total()},_keydown:function(e){if(e.keyCode===n.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 n=e.currentTarget.value,i=parseInt(n,10),o=this.dataSource;isNaN(i)?"all"==(n+"").toLowerCase()&&(o._pageSize=t,o._take=t,o._skip=0,o.fetch()):o.pageSize(i)},_template:function(){this._ariaTemplate=s(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"+_,e,e._keyDown.bind(e)),e.element.on("focusout"+_,(function(){e.element.removeClass("k-focus")})),e.element.on("focusin"+_,(function(t){e.element.addClass("k-focus"),t.target===e.element[0]?e.element.find(v).attr("tabindex",-1):e.element.removeClass("k-focus")})))},_keyDown:function(t){var n,i,o=this,a=e(t.target),s=!1;a[0]===o.element[0]&&t.keyCode==r.ENTER&&(o._restoreTabIndexes(),o.element.find(v).first().trigger("focus"),s=!0),a[0]!==o.element[0]&&t.keyCode==r.ESC&&(o.element.trigger("focus"),s=!0),a[0]===o.element[0]&&t.keyCode==r.HOME&&(o.page(1),s=!0),a[0]===o.element[0]&&t.keyCode==r.END&&(o.page(o.totalPages()),s=!0),a[0]!==o.element[0]||t.keyCode!=(w?r.LEFT:r.RIGHT)&&t.keyCode!=r.PAGEDOWN||(o.page(o.page()+1),s=!0),a[0]!==o.element[0]||t.keyCode!=(w?r.RIGHT:r.LEFT)&&t.keyCode!=r.PAGEUP||(o.page(o.page()-1||1),s=!0),a[0]!==o.element[0]&&t.keyCode==r.TAB&&(o.options._isToolbarItem&&o._restoreTabIndexes(),i=(n=o.element.find(v)).index(a),t.shiftKey?i-1<0?n.last().trigger("focus"):n.eq(i-1).trigger("focus"):i+1<n.length?n.eq(i+1).trigger("focus"):n.first().trigger("focus"),s=!0),s&&(t.preventDefault(),t.stopPropagation())},_numericSelectChange:function(e){var t=e.currentTarget.value,n=parseInt(t,10);this.page(n)},_click:function(t){const i=this,o=e(t.currentTarget);t.preventDefault(),i.options.navigatable&&(o.attr("title")==i.options.messages.morePages?i._focusMore=o.parent().index():o.hasClass("k-pager-refresh")||o.hasClass("k-pager-nav")||(i._focusSelected=!0),i._restoreTabIndexes()),o.is(".k-disabled")||i.page(parseInt(o.attr(n.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(g,{index:e}))}});i.plugin(H)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i="change",o="cancel",r="dataBound",a="dataBinding",s=n.ui.Widget,l=n.keys,c=()=>"",d="> *:not(.k-loading-mask)",u="progress",h="error",p="k-focus",f="k-selected",m="k-edit-item",v="k-listview-pager",g="k-listview-item",_="role",b="aria-label",y="aria-multiselectable",w="aria-activedescendant",k="edit",x="remove",C="save",z="touchstart",S=".kendoListView",T=n._activeElement,M=n.ui.progress,I=n.data.DataSource,H=n.ui.DataBoundWidget.extend({init:function(e,t){var i=this;t=Array.isArray(t)?{dataSource:t}:t,s.fn.init.call(i,e,t),t=i.options,i.wrapper=e=i.element,e[0].id?i._itemId=e[0].id+"_lv_active":i._itemId=n.guid()+"_lv_active",i._element(),i._layout(),i._dataSource(),i._setContentHeight(),i._templates(),i._navigatable(),i._selectable(),i._pageable(),i._crudHandlers(),i._scrollable(),i.options.autoBind&&i.dataSource.fetch(),n.notify(i)},events:[i,o,a,r,k,x,C,"kendoKeydown"],options:{name:"ListView",ariaLabel:null,autoBind:!0,selectable:!1,navigatable:!1,pageable:!1,height:null,template:c,altTemplate:null,editTemplate:null,contentTemplate:()=>"<div data-content='true' />",contentElement:"div",bordered:!0,borders:"",layout:"",flex:{direction:"row",wrap:"nowrap"},grid:{},scrollable:!1},setOptions:function(e){s.fn.setOptions.call(this,e),this._layout(),this._templates(),this.selectable&&(this.selectable.destroy(),this.selectable=null),this._selectable()},_templates:function(){var e=this.options;this.template=n.template(e.template||c),this.altTemplate=n.template(e.altTemplate||e.template||c),this.editTemplate=n.template(e.editTemplate||c)},_item:function(e){return this.content.children()[e]()},items:function(){return this.content.children(":not(.k-loading-mask)")},dataItem:function(t){var i=n.attr("uid"),o=e(t).closest("["+i+"]").attr(i);return this.dataSource.getByUid(o)},setDataSource:function(e){this.options.dataSource=e,this._dataSource(),this._pageable(),this.options.autoBind&&e.fetch(),"endless"===this.options.scrollable&&this._bindScrollable()},_unbindDataSource:function(){var e=this;e.dataSource.unbind(i,e._refreshHandler).unbind(u,e._progressHandler).unbind(h,e._errorHandler)},_dataSource:function(){var n=this,o=n.options.pageable,r=n.options.dataSource||{};e.isPlainObject(o)&&o.pageSize!==t&&(r.pageSize=o.pageSize),n.dataSource&&n._refreshHandler?n._unbindDataSource():(n._refreshHandler=n.refresh.bind(n),n._progressHandler=n._progress.bind(n),n._errorHandler=n._error.bind(n)),n.dataSource=I.create(r).bind(i,n._refreshHandler).bind(u,n._progressHandler).bind(h,n._errorHandler)},_progress:function(e){var t=this.wrapper;e&&this.content.height()&&(t=this.content),M(t,e,{opacity:!0})},_error:function(){M(this.content,!1)},_element:function(){var t=this.options,n=t.height;this.element.addClass("k-listview"),t.contentElement?this.content=e(document.createElement(t.contentElement)).appendTo(this.element):this.content=this.element,n&&this.element.css("height",n)},_layout:function(){var e=this,n=e.options,i=n.flex,o=n.grid,r=e.element,a=["k-listview"],s=e.content,l=["k-listview-content"];r.add(s).removeClass((function(e,t){if(t.indexOf("k-")>=0)return!0})),!0===n.bordered&&a.push("k-listview-bordered"),"string"==typeof n.borders&&""!==n.borders&&a.push("k-listview-borders-"+n.borders),"string"==typeof n.contentPadding&&""!==n.contentPadding&&l.push("k-listview-content-padding-"+n.contentPadding),"string"==typeof n.layout&&""!==n.layout&&l.push("k-d-"+n.layout),"flex"===n.layout&&"object"==typeof i&&("string"==typeof i.direction&&""!==i.direction&&l.push("k-flex-"+i.direction),"string"==typeof i.wrap&&""!==i.wrap&&l.push("k-flex-"+i.wrap)),"grid"===n.layout&&"object"==typeof o&&("number"==typeof o.cols?s.css("grid-template-columns","repeat("+o.cols+", 1fr)"):"string"==typeof o.cols&&s.css("grid-template-columns",o.cols),"number"==typeof o.rows?s.css("grid-template-rows","repeat("+o.rows+", "+(o.rowHeight!==t?o.rowHeight:"1fr")+")"):"string"==typeof o.rows&&s.css("grid-template-rows",o.rows),("number"==typeof o.gutter||"string"==typeof o.gutter)&&s.css("grid-gap",o.gutter)),e.element.addClass(a.join(" ")),e.content.addClass(l.join(" "))},_setContentHeight:function(){var e,t=this;t.options.scrollable&&t.wrapper.is(":visible")&&(e=t.wrapper.innerHeight(),t.content.height(e))},refresh:function(e){var t,i,o,s,l,c=this,d=c.dataSource.view(),u="",h=c.template,p=c.altTemplate,f=c.options.selectable?"option":"listitem",m=T(),v=c._endlessFetchInProgress,b=v?c._skipRerenderItemsCount:0,y=c.options.scrollable;if("itemchange"!==(e=e||{}).action){if(!c.trigger(a,{action:e.action||"rebind",items:e.items,index:e.index})){for(v||c._destroyEditable(),s=b,l=d.length;s<l;s++)u+=s%2?p(d[s]):h(d[s]);for(v?c.content.append(u):c.content.html(u),i=c.items().not(".k-loading-mask"),c._ariaAttributes(d.length),s=b,l=d.length;s<l;s++)(o=i.eq(s)).addClass(g),o.attr(n.attr("uid"),d[s].uid).attr(_,f),c.options.selectable&&o.attr("aria-selected","false"),c.options.pageable&&(o.attr("aria-setsize",c.dataSource.total()),o.attr("aria-posinset",c.dataSource.indexOf(c.dataItem(o))+1));c.content[0]===m&&c.options.navigatable&&(c._focusNext?c.current(c.current().next()):y||c.current(i.eq(0))),c.element.attr(w)&&0===c.element.find("#"+c.element.attr(w)).length&&c.element.removeAttr(w),c._setContentHeight(),c._progress(!1),c._endlessFetchInProgress=null,c.trigger(r,{action:e.action||"rebind",items:e.items,index:e.index})}}else c._hasBindingTarget()||c.editable||(t=e.items[0],(o=c.items().filter("["+n.attr("uid")+"="+t.uid+"]")).length>0&&(s=o.index(),o.replaceWith(h(t)),(o=c.items().eq(s)).attr(n.attr("uid"),t.uid),c.trigger("itemChange",{item:o,data:t})))},_ariaAttributes:function(e){var t=this.content,i=this.options.selectable;this._ariaLabelValue=this._ariaLabelValue||this.options.ariaLabel,0===e?(t.removeAttr(_),t.removeAttr(y),t.attr(b)&&(this._ariaLabelValue=t.attr(b),t.removeAttr(b))):(t.attr(_,i?"listbox":"list"),i&&n.ui.Selectable.parseOptions(i).multiple&&t.attr(y,!0),this._ariaLabelValue&&t.attr(b,this._ariaLabelValue))},_pageable:function(){var t,i,o=this,r=o.options.pageable,a=o.options.navigatable;r&&((t=o.wrapper.find("."+v)).length||(t=e("<div />").addClass(v)),"top"===r.position?t.addClass(n.format("{0}-{1}",v,r.position)).prependTo(o.wrapper):t.appendTo(o.wrapper),o.pager&&o.pager.destroy(),"object"==typeof r&&r instanceof n.ui.Pager?o.pager=r:(t=r.pagerId?e("#"+r.pagerId):t,i=e.extend({},r,{dataSource:o.dataSource,navigatable:a,pagerId:null}),o.pager=new n.ui.Pager(t,i)))},_selectable:function(){var t,o,r=this,a=r.options.selectable,s=r.options.navigatable;a&&(t=n.ui.Selectable.parseOptions(a).multiple,r.selectable=new n.ui.Selectable(r.element,{aria:!0,multiple:t,filter:r.options.contentElement?".k-listview-content "+d:d,change:function(){r.trigger(i)}}),s&&r.element.on("keydown"+S,(function(n){if(e(n.target).is(r.element)&&n.keyCode===l.SPACEBAR){if(o=r.current(),n.target==n.currentTarget&&n.preventDefault(),t)if(n.ctrlKey){if(o&&o.hasClass(f))return o.removeClass(f),void r.trigger(i)}else r.selectable.clear();else r.selectable.clear();r.selectable.value(o),r.trigger(i)}})))},_scrollable:function(){var e=this,t=e.options.scrollable;t&&(e.content.css({"overflow-y":"scroll",position:"relative","-webkit-overflow-scrolling":"touch"}),"endless"===t&&e._bindScrollable())},_bindScrollable:function(){var e=this,t=e._endlessPageSize=e.dataSource.options.pageSize;e.content.off("scroll"+S).on("scroll"+S,(function(){this.scrollTop+this.clientHeight-this.scrollHeight>=-15&&!e._endlessFetchInProgress&&e._endlessPageSize<e.dataSource.total()&&(e._skipRerenderItemsCount=e._endlessPageSize,e._endlessPageSize=e._skipRerenderItemsCount+t,e.dataSource.options.endless=!0,e._endlessFetchInProgress=!0,e.dataSource.pageSize(e._endlessPageSize))}))},current:function(e){var n=this,i=n.element,o=n._current,r=n._itemId;if(e===t)return o;o&&o[0]&&(o[0].id===r&&o.removeAttr("id"),o.removeClass(p),i.removeAttr(w)),e&&e[0]&&(r=e[0].id||r,n._scrollTo(e[0]),i.attr(w,r),e.addClass(p).attr("id",r)),n._current=e},_scrollTo:function(t){var n,i=this.content,o=!1,r="scroll";"auto"===i.css("overflow")||i.css("overflow")===r||i.css("overflow-y")===r?n=i[0]:(n=window,o=!0);var a=function(i,a){var s=o?e(t).offset()[i.toLowerCase()]:t["offset"+i],l=t["client"+a],c=e(n)[r+i](),d=e(n)[a.toLowerCase()]();s+l>c+d?e(n)[r+i](s+l-d):s<c&&e(n)[r+i](s)};a("Top","Height"),a("Left","Width")},_navigatable:function(){var t=this,i=t.options.navigatable,o=t.element,r=t.content;i&&(t._tabindex(),o.on("focus"+S,(function(){var e=t._current;e&&e.is(":visible")||(e=t._item("first")),t.current(e)})).on("focusout"+S,(function(){t._current&&t._current.removeClass(p)})).on("keydown"+S,t,(function(i){var o,a=i.keyCode,s=t.current(),c=e(i.target),d=!c.is(":button, textarea, a, a > .t-icon, input"),u=c.is(":text, :password"),h=n.preventDefault,p=r.find("."+m),f=T(),g=t.options.scrollable;if(!(c.hasClass(v)||!d&&!u&&a!==l.ESC||u&&a!==l.ESC&&a!==l.ENTER)){if(a!==l.UP&&a!==l.LEFT||(s&&s[0]&&(s=s.prev()),s&&s[0]?t.current(s):g||t.current(t._item("last")),h(i)),a!==l.DOWN&&a!==l.RIGHT||(g?"endless"!==t.options.scrollable||s.next().length?(s=s.next())&&s[0]&&t.current(s):(t.content[0].scrollTop=t.content[0].scrollHeight,t._focusNext=!0):(s=s.next(),t.current(s&&s[0]?s:t._item("first"))),h(i)),a===l.PAGEUP&&(t.current(null),t.dataSource.page(t.dataSource.page()-1),h(i)),a===l.PAGEDOWN&&(t.current(null),t.dataSource.page(t.dataSource.page()+1),h(i)),a===l.HOME&&(t.current(t._item("first")),h(i)),a===l.END&&(t.current(t._item("last")),h(i)),a===l.ENTER)if(0!==p.length&&(d||u)){o=t.items().index(p),f&&f.blur(),t.save();t.one("dataBound",(function(){t.element.trigger("focus"),t.current(t.items().eq(o))}))}else t.options.editTemplate&&t.edit(s);if(a===l.ESC){if(0===(p=r.find("."+m)).length)return;o=t.items().index(p),t.cancel(),t.element.trigger("focus"),t.current(t.items().eq(o))}}})),o.on("mousedown"+S+" "+z+S,t.options.contentElement?".k-listview-content "+d:d,function(i){t.current(e(i.currentTarget)),e(i.target).is(":button, a, :input, a > .k-icon, a > k-svg-icon, textarea")||n.focusElement(o)}.bind(t)))},clearSelection:function(){this.selectable.clear()},select:function(t){var n=this.selectable;return(t=e(t)).length?(n.options.multiple||(n.clear(),t=t.first()),void n.value(t)):n.value()},_destroyEditable:function(){var e=this;e.editable&&(e.editable.destroy(),delete e.editable)},_modelFromElement:function(e){var t=e.attr(n.attr("uid"));return this.dataSource.getByUid(t)},_closeEditable:function(){var e,t,i,o=this,r=o.editable,a=o.options.selectable?"option":"listitem",s=o.template;return r&&(r.element.index()%2&&(s=o.altTemplate),e=o._modelFromElement(r.element),o._destroyEditable(),i=r.element.index(),r.element.replaceWith(s(e)),(t=o.items().eq(i)).addClass(g),t.attr(n.attr("uid"),e.uid),t.attr(_,a),o._hasBindingTarget()&&n.bind(t,e)),!0},edit:function(e){var t,i,o=this,r=o._modelFromElement(e),a=r.uid;o.cancel(),i=(e=o.items().filter("["+n.attr("uid")+"="+a+"]")).index(),e.replaceWith(o.editTemplate(r)),t=o.items().eq(i).addClass(m).attr(n.attr("uid"),r.uid),o.editable=t.kendoEditable({model:r,clearContainer:!1,errorTemplate:!1,target:o}).data("kendoEditable"),o.trigger(k,{model:r,item:t})},save:function(){var e,t=this,n=t.editable;if(n){var i=n.element;e=t._modelFromElement(i),n.end()&&!t.trigger(C,{model:e,item:i})&&(t._closeEditable(),t.dataSource.sync())}},remove:function(e){var t=this,n=t.dataSource,i=t._modelFromElement(e);t.editable&&(n.cancelChanges(t._modelFromElement(t.editable.element)),t._closeEditable()),t.trigger(x,{model:i,item:e})||(e.attr("id")===t.element.attr(w)&&t.element.removeAttr(w),e.hide(),n.remove(i),n.sync())},add:function(){var e,t=this,n=t.dataSource,i=n.indexOf((n.view()||[])[0]);i<0&&(i=0),t.cancel(),e=n.insert(i,{}),t.edit(t.element.find("[data-uid='"+e.uid+"']"))},cancel:function(){var e=this,t=e.dataSource;if(e.editable){var n=e.editable.element,i=e._modelFromElement(n);e.trigger(o,{model:i,container:n})||(t.cancelChanges(i),e._closeEditable())}},_crudHandlers:function(){var t=this,i=z+S,o="click"+S;t.content.on(i+" "+o,".k-edit-button",(function(i){i.preventDefault();var o=e(this).closest("["+n.attr("uid")+"]");setTimeout((function(){t.edit(o)}))})),t.content.on(i+" "+o,".k-delete-button",(function(i){i.preventDefault();var o=e(this).closest("["+n.attr("uid")+"]");setTimeout((function(){t.remove(o)}))})),t.content.on(o,".k-update-button",(function(e){t.save(),e.preventDefault()})),t.content.on(o,".k-cancel-button",(function(e){t.cancel(),e.preventDefault()}))},destroy:function(){var e=this;s.fn.destroy.call(e),e._unbindDataSource(),e._destroyEditable(),e.element.off(S),e.content.off(S),e._endlessFetchInProgress=e._endlessPageSize=e._skipRerenderItemsCount=e._focusNext=null,e.pager&&e.pager.destroy(),n.destroy(e.element)}});n.ui.plugin(H)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o="horizontal",r="vertical",a="k-progressbar",s="k-progressbar-indeterminate",l="k-complete",c="k-selected",d="k-progress-status",u="k-progress-end",h="k-selected",p="k-disabled",f="k-progressbar-value",m="k-progressbar-chunk",v={VALUE:"value",PERCENT:"percent",CHUNK:"chunk"},g="change",_="complete",b=Math,y=e.extend,w={progressStatus:"<span class='k-progress-status-wrap "+u+"'><span class='k-progress-status'></span></span>",noProgressStatus:"<span class='k-progress-status-wrap "+u+"'></span>",announceElement:'<span aria-live="polite" class="k-sr-only k-progress-announce"></span>'},k=i.extend({init:function(e,t){var n=this;i.fn.init.call(this,e,t),t=n.options,n._progressProperty=t.orientation===o?"width":"height",n._fields(),t.value=n._validateValue(t.value),n._validateType(t.type),n._wrapper(),t.ariaRole&&n._aria(),n._progressAnimation(),t.value!==t.min&&!1!==t.value&&n._updateProgress()},setOptions:function(e){var t=this,n=t.wrapper;i.fn.setOptions.call(t,e),e.hasOwnProperty("reverse")&&n.toggleClass("k-progressbar-reverse",e.reverse),e.hasOwnProperty("enable")&&t.enable(e.enable),e.ariaRole&&t._aria(),t._progressAnimation(),t._validateValue(),t._updateProgress()},events:[g,_],options:{name:"ProgressBar",orientation:o,reverse:!1,min:0,max:100,value:0,enable:!0,type:v.VALUE,chunkCount:5,showStatus:!0,animation:{},label:null,labelId:null,ariaRole:!1},_aria:function(){var t=this,n=t.options,i=t.wrapper;i.attr({role:"progressbar","aria-valuemin":n.min,"aria-valuemax":n.max}),n.labelId?i.attr("aria-labelledby",n.labelId):n.label&&i.attr("aria-label",n.label),t.announce=e(w.announceElement),t.announce.appendTo(e("body")),!1!==n.value&&(i.attr("aria-valuenow",n.value),t.announce.text(t._calculatePercentage().toFixed()+"%"))},_fields:function(){var t=this;t._isStarted=!1,t.progressWrapper=t.progressStatus=e()},_validateType:function(t){var i=!1;if(e.each(v,(function(e,n){if(n===t)return i=!0,!1})),!i)throw new Error(n.format("Invalid ProgressBar type '{0}'",t))},_wrapper:function(){var e=this,t=e.wrapper=e.element,n=e.options,i=n.orientation,l=!1!==n.value?n.value:n.min;t.addClass(a),t.addClass(a+"-"+(i===o?o:r)),!1===n.enable&&t.addClass(p),n.reverse&&t.addClass("k-progressbar-reverse"),!1===n.value&&t.addClass(s),n.type===v.CHUNK?e._addChunkProgressWrapper():n.showStatus?(e.progressStatus=e.wrapper.prepend(w.progressStatus).find("."+d),n.type===v.VALUE?e.progressStatus.text(l):e.progressStatus.text(e._calculatePercentage(l).toFixed()+"%")):e.wrapper.prepend(w.noProgressStatus)},value:function(e){return this._value(e)},_value:function(e){var n,i=this,o=i.options;if(e===t)return o.value;"boolean"!=typeof e?(e=i._roundValue(e),isNaN(e)||(n=i._validateValue(e))!==o.value&&(i.wrapper.removeClass(s),o.value=n,i._isStarted=!0,i._updateProgress())):e||(i.wrapper.addClass(s),i.wrapper.removeAttr("aria-valuenow"),o.value=!1,i.announce&&i.announce.text(""))},_roundValue:function(e){e=parseFloat(e);var t=b.pow(10,3);return n._round(e*t)/t},_validateValue:function(e){var t=this.options;if(!1!==e){if(e<=t.min||!0===e)return t.min;if(e>=t.max)return t.max}else if(!1===e)return!1;return isNaN(this._roundValue(e))?t.min:e},_updateProgress:function(){var e=this,t=e.options,n=e._calculatePercentage();t.type===v.CHUNK?(e._updateChunks(n),e._onProgressUpdateAlways(t.value)):e._updateProgressWrapper(n),t.ariaRole&&(e.wrapper.attr("aria-valuenow",e.options.value),e.announce&&e.announce.text(n.toFixed()+"%"))},_updateChunks:function(e){var t,i=this,a=i.options,s=a.chunkCount,l=parseInt(100/s*100,10)/100,c=parseInt(100*e,10)/100,d=b.floor(c/l);t=a.orientation===o&&!a.reverse||a.orientation===r&&a.reverse?i.wrapper.find("li."+m).slice(0,d):0===d?n.jQuery():i.wrapper.find("li."+m).slice(-1*d),i.wrapper.find("."+h).removeClass(h+" "+f),t.addClass(h+" "+f)},_updateProgressWrapper:function(e){var t=this,n=t.options,i=t.wrapper.find("."+c),o=t._isStarted?t._animation.duration:0,r={};0===i.length&&t._addRegularProgressWrapper(),r[t._progressProperty]=e+"%",t.progressWrapper.animate(r,{duration:o,start:t._onProgressAnimateStart.bind(t),progress:t._onProgressAnimate.bind(t),complete:t._onProgressAnimateComplete.bind(t,n.value),always:t._onProgressUpdateAlways.bind(t,n.value)})},_onProgressAnimateStart:function(){this.progressWrapper.show()},_onProgressAnimate:function(e){var t,n=this,i=n.options,o=parseFloat(e.elem.style[n._progressProperty],10);i.showStatus&&(t=1e4/parseFloat(n.progressWrapper[0].style[n._progressProperty]),n.progressWrapper.find(".k-progress-status-wrap").css(n._progressProperty,t+"%")),i.type!==v.CHUNK&&o<=98&&n.progressWrapper.removeClass(l)},_onProgressAnimateComplete:function(e){var t,n=this,i=n.options,o=parseFloat(n.progressWrapper[0].style[n._progressProperty]);i.type!==v.CHUNK&&o>98&&n.progressWrapper.addClass(l),i.showStatus&&(t=i.type===v.VALUE?e:i.type==v.PERCENT?n._calculatePercentage(e).toFixed()+"%":b.floor(n._calculatePercentage(e))+"%",n.progressStatus.text(t)),e===i.min&&n.progressWrapper.hide()},_onProgressUpdateAlways:function(e){var t=this,n=t.options;t._isStarted&&t.trigger(g,{value:e}),e===n.max&&t._isStarted&&t.trigger(_,{value:n.max})},enable:function(e){var t=this.options;t.enable=void 0===e||e,this.wrapper.toggleClass(p,!t.enable)},destroy:function(){var e=this;e.announce&&e.announce.remove(),i.fn.destroy.call(e)},_addChunkProgressWrapper:function(){var e=this,t=e.options,n=e.wrapper,i=100/t.chunkCount,o="";t.chunkCount<=1&&(t.chunkCount=1),e.element.addClass("k-chunk-progressbar"),o+="<ul class='k-reset k-progressbar-chunks'>";for(var r=t.chunkCount-1;r>=0;r--)o+="<li class='"+m+"'></li>";o+="</ul>",n.append(o).find("."+m).css(e._progressProperty,i+"%").first().addClass("k-first").end().last().addClass("k-last"),e._normalizeChunkSize()},_normalizeChunkSize:function(){var e=this,t=e.options,n=e.wrapper.find("."+m).last(),i=parseFloat(n[0].style[e._progressProperty]),o=100-t.chunkCount*i;o>0&&n.css(e._progressProperty,i+o+"%")},_addRegularProgressWrapper:function(){var t=this;t.progressWrapper=e("<div class='"+c+" "+f+"'></div>").appendTo(t.wrapper),t.options.showStatus?(t.progressWrapper.append(w.progressStatus),t.progressStatus=t.wrapper.find("."+d)):t.progressWrapper.prepend(w.noProgressStatus)},_calculateChunkSize:function(){var e=this,t=e.options.chunkCount,n=e.wrapper.find("ul.k-reset");return(parseInt(n.css(e._progressProperty),10)-(t-1))/t},_calculatePercentage:function(e){var n=this,i=n.options,o=e!==t?e:i.value,r=i.min,a=i.max;return n._onePercent=b.abs((a-r)/100),b.abs((o-r)/n._onePercent)},_progressAnimation:function(){var e=this,t=e.options,n=t.animation;e._animation=!1===n?{duration:0}:y({duration:400},t.animation)}});n.ui.plugin(k)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui.Widget,i=t.antiForgeryTokens,o=t.logToConsole,r=/\.([^\.]+)$/,a=".kendoUpload",s="select",l="upload",c="success",d="error",u="complete",h="cancel",p="clear",f="pause",m="resume",v="progress",g="remove",_="validationErrors",b="invalidMaxFileSize",y="invalidMinFileSize",w="invalidFileExtension",k="k-hover",x="k-focus",C="k-progressbar",z="."+C,S="tabindex",T="upload",M="exclamation-circle",I="check",H=n.extend({init:function(e,i){var o=this;o.progressbars=[],n.fn.init.call(o,e,i),o.name=e.name,o.multiple=o.options.multiple,o.directory=o.options.directory,o.localization=o.options.localization;var r=o.element;o.wrapper=r.closest(".k-upload"),0===o.wrapper.length&&(o.wrapper=o._wrapInput(r)),o._activeInput(r),o.element.addClass("k-hidden"),o.toggle(o.options.enabled);var s=o._ns=a+"-"+t.guid();r.closest("form").on("submit"+s,o._onParentFormSubmit.bind(o)).on("reset"+s,o._onParentFormReset.bind(o)),o._initUploadModule(),o._toggleDropZone(),o.wrapper.on("keydown",".k-upload-button",o._onUploadButtonKeydown.bind(o)).on("click",".k-upload-action",o._onFileAction.bind(o)).on("click",".k-clear-selected",o._onClearSelected.bind(o)).on("click",".k-upload-button",(function(e){e.preventDefault(),o.element.click()})).on("click",".k-upload-selected",o._onUploadSelected.bind(o)).on("keydown",o._onKeyDown.bind(o)).on("focusout",o._focusout.bind(o)),o.element.val()&&o._onInputChange({target:o.element})},events:[s,l,c,d,u,h,p,v,g,f,m],options:{name:"Upload",enabled:!0,multiple:!0,directory:!1,showFileList:!0,template:"",files:[],async:{autoRetryAfter:0,bufferChunkSize:1e7,maxAutoRetries:1,removeVerb:"POST",autoUpload:!0,withCredentials:!0,accept:"*/*; q=0.5, application/json",useArrayBuffer:!1},localization:{select:"Select files...",cancel:"Cancel",retry:"Retry",remove:"Remove",pause:"Pause",resume:"Resume",clearSelectedFiles:"Clear",uploadSelectedFiles:"Upload",dropFilesHere:"Drop files here to upload",invalidFiles:"Invalid file(s). Please check file upload requirements.",statusUploading:"uploading",statusUploaded:"uploaded",statusWarning:"warning",statusFailed:"failed",headerStatusUploading:"Uploading...",headerStatusPaused:"Paused",headerStatusUploaded:"Done",uploadSuccess:"File(s) uploaded successfully.",uploadFail:"File(s) failed to upload.",invalidMaxFileSize:"File size too large.",invalidMinFileSize:"File size too small.",invalidFileExtension:"File type not allowed."},validation:{allowedExtensions:[],maxFileSize:0,minFileSize:0},dropZone:""},_initUploadModule:function(){var e=this,t=e.options;if(t.async.saveUrl){e._module=e._supportsFormData()?new A(e):new E(e),e._async=!0;var n=t.files;n.length>0&&e._renderInitialFiles(n)}else e._module=new D(e)},setOptions:function(t){var i=this,o=i.element;e(i.options.dropZone).off(i._ns),n.fn.setOptions.call(i,t),i.multiple=i.options.multiple,i.directory=i.options.directory,o.attr("multiple",!!i._supportsMultiple()&&i.multiple),i.directory&&(o.attr("webkitdirectory",i.directory),o.attr("directory",i.directory)),i.toggle(i.options.enabled),i._initUploadModule(),i._toggleDropZone()},enable:function(e){e=void 0===e||e,this.toggle(e)},disable:function(){this.toggle(!1)},toggle:function(e){e=void 0===e?e:!e,this.wrapper.toggleClass("k-disabled",e),this.element.prop("disabled",e)},focus:function(){this.wrapper.find(".k-upload-button").trigger("focus")},destroy:function(){var t=this,i=e(t.options.dropZone);e(document).add(e(".k-dropzone",t.wrapper)).add(t.wrapper.closest("form")).off(t._ns),i.length>0&&i.off(t._ns),e(t.element).off(a),t.progressbars&&t.progressbars.forEach((e=>{e.destroy()})),n.fn.destroy.call(t)},pause:function(n){this._module.onPause({target:e(n,this.wrapper)});var i=n.find(".k-i-pause-sm,.k-svg-i-pause-sm"),o=t.htmlEncode(this.localization.resume);t.ui.icon(i,{icon:"play-sm"}),i.attr("title",o),e(i).parent().attr("aria-label",o)},resume:function(n){this._module.onResume({target:e(n,this.wrapper)});var i=n.find(".k-i-play-sm,.k-svg-i-play-sm"),o=t.htmlEncode(this.localization.pause);t.ui.icon(i,{icon:"pause-sm"}),i.attr("title",o),e(i).parent().attr("aria-label",o)},upload:function(){this._module.onSaveSelected()},getFiles:function(){for(var t,n=[],i=this.wrapper.find(".k-file"),o=0;o<i.length;o++)if(t=e(i[o]).data("fileNames"))for(var r=0;r<t.length;r++)n.push(t[r]);return n},clearAllFiles:function(){var e=this;e.wrapper.find(".k-file").each((function(t,n){e._removeFileByDomElement(n,!1)}))},removeAllFiles:function(){var e=this;e.wrapper.find(".k-file").each((function(t,n){e._removeFileByDomElement(n,!0)}))},removeFileByUid:function(e){this._removeFileByUid(e,!0)},clearFileByUid:function(e){this._removeFileByUid(e,!1)},_removeFileByUid:function(n,i){var o;"string"==typeof n&&(o=e(".k-file["+t.attr("uid")+'="'+n+'"]',this.wrapper)).length>0&&this._removeFileByDomElement(o,i)},clearFile:function(e){this._removeFile(e,!1)},removeFile:function(e){this._removeFile(e,!0)},_removeFile:function(t,n){var i,o=this,r=o.wrapper.find(".k-file");"function"==typeof t&&r.each((function(r,a){i=e(a).data("fileNames"),t(i)&&o._removeFileByDomElement(a,n)}))},_removeFileByDomElement:function(t,n){var i=this,o={target:e(t,i.wrapper)};i.options.async.saveUrl?(e(t).hasClass("k-file-progress")?i._module.onCancel(o):i._module.onRemove(o,{},n),0===e(".k-file",i.wrapper).length?i._hideHeaderUploadstatus():i._updateHeaderUploadStatus()):i._module.onRemove(o,{},n)},_addInput:function(t){if(t[0].nodeType){var n=this,i=t.clone().val("");i.insertAfter(n.element).data("kendo"+n.options.prefix+n.options.name,n),e(n.element).attr(S,"-1").removeAttr("id").off(a),n._activeInput(i),n.wrapper.find(".k-upload-button").trigger("focus")}},_activeInput:function(e){var t=this,n=t.wrapper;t.element=e,t.directory&&(e.attr("webkitdirectory",t.directory),e.attr("directory",t.directory)),e.attr("multiple",!!t._supportsMultiple()&&t.multiple).attr("autocomplete","off").on("click"+a,(function(e){n.hasClass("k-disabled")&&e.preventDefault()})).on("change"+a,t._onInputChange.bind(t))},_adjustFocusState:function(e,t){e.removeClass(x),e.attr(S,-1),t.addClass(x),t.attr(S,0)},_arrowKeyNavigation:function(e,n,i){var o,r=this,a=t.keys;n===a.DOWN?(e.preventDefault(),e.stopPropagation(),o=r.wrapper.find(".k-upload-files .k-file").first(),i.length>0&&(i.hasClass("k-upload-action")&&(i.removeClass(x),i=i.closest(".k-file")),o=i.next()),r._adjustFocusState(i,o),o&&0!==o.length||(o=r.wrapper.find(".k-clear-selected"))):n===a.UP?(e.preventDefault(),e.stopPropagation(),o=r.wrapper.find(".k-upload-files .k-file:last"),i.length>0&&(i.hasClass("k-upload-action")&&(i.removeClass(x),i=i.closest(".k-file")),o=i.prev()),r._adjustFocusState(i,o)):n===a.RIGHT?(i.hasClass("k-upload-action")?(o=i.next(".k-upload-action"))&&0!==o.length||(o=i.parent().find(".k-upload-action:first")):i.length>0&&(o=i.find(".k-upload-action:first")),o&&o.length>0&&(i.removeClass(x),o.addClass(x))):n===a.LEFT&&(i.hasClass("k-upload-action")?(o=i.prev(".k-upload-action"))&&0!==o.length||(o=i.parent().find(".k-upload-action:last")):i.length>0&&(o=i.find(".k-upload-action:last")),o&&o.length>0&&(i.removeClass(x),o.addClass(x))),o&&0!==o.length||n!==a.UP&&n!==a.DOWN||(o=r.wrapper.find(".k-upload-button")),o&&o.length>0&&(r._preventFocusRemove=!0,o.trigger("focus"))},_asyncCommandKeyNavigation:function(n,i,o){var r=this,a=t.keys,s=e(i,r.wrapper);if(r._retryClicked=!1,n===a.ESC&&i.find(".k-i-cancel,.k-svg-i-cancel").length>0)r.trigger(h,o),r._module.onCancel({target:s}),r._checkAllComplete(),r._updateHeaderUploadStatus(),r._preventFocusRemove=!0,r.wrapper.find(".k-upload-button").trigger("focus");else if(n===a.SPACEBAR)i.find(".k-i-pause-sm,.k-svg-i-pause-sm").length>0?(r.trigger(f,o),r.pause(i),r._updateHeaderUploadStatus()):i.find(".k-i-play-sm,.k-svg-i-play-sm").length>0&&(r.trigger(m,o),r.resume(i));else if(n===a.ENTER&&!i.is(".k-file-progress, .k-file-success, .k-file-invalid")){if(r.options.async.chunkSize&&!r.options.async.concurrent&&e(".k-file-progress",r.wrapper).length>0)return;e(".k-i-exclamation-circle,.k-svg-i-exclamation-circle",i).remove(),e(z,i).finish().show(),r._module.metaData[s.data("uid")]||r._module.prepareChunk(s),r._module.onRetry({target:s}),r._retryClicked=!0}},_commandKeyNavigation:function(n,i){var o=this,r=t.keys,a=i.data("fileNames"),s=o._filesContainValidationErrors(a),l={files:a,headers:{}};n===r.DELETE?o.trigger(g,l)||(o._module.onRemove({target:e(i,o.wrapper)},l,!s),o._preventFocusRemove=!0,o.wrapper.find(".k-upload-button").trigger("focus")):n===r.TAB?(i.removeClass(x),i.attr(S,-1)):o.options.async.saveUrl&&o._asyncCommandKeyNavigation(n,i,l)},_focusout:function(){var e=this.wrapper.find(".k-upload-files .k-file."+x);this._preventFocusRemove?this._preventFocusRemove=!1:(e.removeClass(x),e.attr(S,-1))},_onKeyDown:function(e){var n=this,i=n.wrapper.find(".k-upload-files .k-file."+x+",.k-upload-action."+x),o=t.keys,r=[o.DELETE,o.ESC,o.ENTER,o.SPACEBAR,o.TAB],a=e.keyCode;a===o.DOWN||a===o.UP||a===o.LEFT||a===o.RIGHT?n._arrowKeyNavigation(e,a,i):i.length>0&&i.hasClass("k-file")&&r.indexOf(a)>-1&&!n.wrapper.hasClass("k-disabled")&&(a===o.SPACEBAR&&(e.preventDefault(),e.stopPropagation()),n._commandKeyNavigation(a,i))},_onInputChange:function(t){var n=this,i=e(t.target),o=O(n._inputFiles(i),n._isAsyncNonBatch());L(o,n.options.validation),n.trigger(s,{files:o})?(n._addInput(i),i.remove()):n._module.onSelect({target:i},o),n.focus()},_onUploadButtonKeydown:function(e){var n=e.keyCode,i=t.keys;n!==i.ENTER&&n!==i.SPACEBAR||this.wrapper.find(".k-upload-button-wrap input").last().trigger("click")},_readDirectory:function(t){var n=new e.Deferred,i=t.createReader(),o=[],r=function(){i.readEntries((function(e){e.length?(o=o.concat(e),r()):n.resolve(o)}),n.reject)};return r(),n.promise()},_readFile:function(e){var t=this,n=e.fullPath;e.file((function(e){e.relativePath=n.slice(1),t.droppedFolderFiles.push(e),t.droppedFolderCounter--,0===t.droppedFolderCounter&&setTimeout((function(){0===t.droppedFolderCounter&&t.droppedFolderFiles.length&&(t._proceedDroppedItems(t.droppedFolderFiles),t.droppedFolderFiles=[])}),0)}),(function(){o("File error.")}))},_traverseFileTree:function(e,t){var n=this;t||n.droppedFolderCounter--,this._readDirectory(e).then((function(e){n.droppedFolderCounter+=e.length;for(var t=0;t<e.length;t++)e[t].isFile?n._readFile(e[t]):e[t].isDirectory&&n._traverseFileTree(e[t])}))},_onDrop:function(e){var t,n=e.originalEvent.dataTransfer,i=this,o=n.files;if(G(e),i.options.directoryDrop&&n.items){t=n.items.length,i.droppedFolderCounter=0,i.droppedFolderFiles=[];for(var r=0;r<t;r++)if(n.items[r].webkitGetAsEntry){var a=n.items[r].webkitGetAsEntry();a.isDirectory?i._traverseFileTree(a,!0):a.isFile&&i.droppedFolderFiles.push(n.files[r])}else i._proceedDroppedItems(o)}else i._proceedDroppedItems(o)},_proceedDroppedItems:function(t){var n=this,i=O(B(t),n._isAsyncNonBatch());t.length>0&&!n.wrapper.hasClass("k-disabled")&&(!n.multiple&&i.length>1&&i.splice(1,i.length-1),L(i,n.options.validation),n.trigger(s,{files:i})||n._module.onSelect({target:e(".k-dropzone",n.wrapper)},i))},_filesContainValidationErrors:function(t){var n=!1;return e(t).each((function(e,t){if(t[_]&&t[_].length>0)return n=!0,!1})),n},_isAsyncNonBatch:function(){return this._async&&!this.options.async.batch||!1},_renderInitialFiles:function(e){var t=this,n=0;for(e=O(e,!0),n=0;n<e.length;n++){var i=e[n],o=t._enqueueFile(i.name,{fileNames:[i]});o.addClass("k-file-success").data("files",[e[n]]),t._supportsRemove()&&t._fileAction(o,g)}},_prepareTemplateData:function(e,t){var n=t.fileNames,i={},o=0,r=0;for(r=0;r<n.length;r++)o+=n[r].size;return i.name=e,i.size=o,i.files=t.fileNames,i},_createProgressbarWapper:function(){return"<div class='"+C+" k-hidden'></div>"},_createFileIconWrapper:function(e){return"<span class='k-file-icon-wrapper'>"+t.ui.icon({icon:e,iconClass:"k-file-icon",size:"xxlarge"})+"<span class='k-file-state'></span></span>"},_progressbarInit:function(e){let t=e.kendoProgressBar({animation:!1,showStatus:!1}).data("kendoProgressBar");this.progressbars.push(t)},_prepareDefaultSingleFileEntryTemplate:function(n){var i=n.fileNames[0],o=U(n.fileNames),r=t.getFileGroup(i.extension,!0),a=i[_],s=a&&a.length>0,l=s?" k-file-invalid k-file-error":"",c=s?"<span class='k-file-validation-message' aria-live='polite'>"+t.htmlEncode(this.localization[a[0]])+"</span>":"<span class='k-file-size'>"+o+"</span>";let d=t.htmlEncode(i.name,!0);var u="";return u+="<li class='k-file"+l+"'><div class='k-file-single'>"+this._createProgressbarWapper()+this._createFileIconWrapper(r)+"<span class='k-file-info'><span class='k-file-name' title='"+d+"'>"+d+"</span>"+c+"</span>",e(u+="<span class='k-upload-actions'></span></div>")},_prepareDefaultMultipleFileEntriesTemplate:function(n){var i,o,r=n.fileNames,a=this._filesContainValidationErrors(r),s=U(r),l="";for(l+="<li class='k-file"+(a?" k-file-invalid k-file-error":"")+"'><div class='k-file-multiple'>"+this._createProgressbarWapper()+this._createFileIconWrapper("copy"),r.sort((function(e,t){return e[_]?-1:t[_]?1:0})),l+="<span class='k-multiple-files-wrapper'>",i=0;i<r.length;i++){var c=U([o=r[i]]);let e=t.htmlEncode(o.name,!0);l+="<span class='k-file-info'>",o[_]&&o[_].length>0?l+="<span class='k-file-name k-file-name-invalid' title='"+e+"'>"+e+"</span>":l+="<span class='k-file-name' title='"+e+"'>"+e+"</span>",l+="<span class='k-file-size'>"+c+"</span></span>"}return l+=a?"<span class='k-file-validation-message' aria-live='polite'>"+t.htmlEncode(this.localization.invalidFiles)+"</span>":"<span class='k-file-summary'>Total: "+r.length+" files, "+s+"</span>",e(l+="</span><span class='k-upload-actions'></span></div>")},_enqueueFile:function(n,i){var o,r,a,s,l,c,d=this,u=i.fileNames[0].uid,h=e(".k-upload-files",d.wrapper),p=d.options.template,f=p?".k-progress":z;return 0===h.length&&(h=e("<ul class='k-upload-files'></ul>").appendTo(d.wrapper),d.options.showFileList||h.hide(),d.wrapper.removeClass("k-upload-empty")),o=e(".k-file",h),p?(a=d._prepareTemplateData(n,i),p=t.template(p),(r=e("<li class='k-file'>"+p(a)+"</li>")).find(".k-upload-action").addClass("k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base")):r=1===i.fileNames.length?d._prepareDefaultSingleFileEntryTemplate(i):d._prepareDefaultMultipleFileEntriesTemplate(i),(c=(l=e(f,r[0])).length>0)&&d._progressbarInit(l),r.attr(t.attr("uid"),u).appendTo(h).data(i),!d._async&&c&&l.data("kendoProgressBar").value(100),!d.multiple&&o.length>0&&(s={files:o.data("fileNames"),headers:{}},d.trigger(g,s)||d._module.onRemove({target:e(o,d.wrapper)},s)),r},_removeFileEntry:function(t){var n,i=this,o=t.closest(".k-upload-files");t.remove(),n=e(".k-file",o),e(".k-file-success, .k-file-error",o).length===n.length&&this._hideActionButtons(),0===n.length?(o.remove(),i.wrapper.addClass("k-upload-empty"),i._hideHeaderUploadstatus()):i._updateHeaderUploadStatus()},_fileAction:function(n,i,o){var r,a={remove:"x",cancel:"cancel",retry:"arrow-rotate-cw-small",pause:"pause-sm"};let s=t.htmlEncode(this.localization[i]);if(a.hasOwnProperty(i))if(o||this._clearFileAction(n),this.options.template)if((r=n.find(".k-upload-action").first()).find(".k-icon,.k-svg-icon").length){if(r.next(".k-upload-action").length){let n=t.ui.icon(e(`<span title="${s}" aria-label="${s}"></span>`),{icon:a[i],iconClass:"k-button-icon"+("retry"==i?" k-i-retry":"")});r.next(".k-upload-action").addClass("k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button").append(n).show()}}else{let n=t.ui.icon(e(`<span title="${s}" aria-label="${s}"></span>`),{icon:a[i],iconClass:"k-button-icon"+("retry"==i?" k-i-retry":"")});r.addClass("k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button").append(n).show()}else o||n.find(".k-upload-action").remove(),n.find(".k-upload-actions").append(this._renderAction(a[i],s,"retry"==i?"k-i-retry":""))},_fileState:function(n,i){var o=this.localization,r={uploading:{text:o.statusUploading},uploaded:{text:o.statusUploaded},failed:{text:o.statusFailed}}[i];r&&e("span.k-file-state",n).text(t.htmlEncode(r.text))},_renderAction:function(n,i,o){return""!==n?e("<button type='button' class='k-button k-icon-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-upload-action' aria-hidden='true' aria-label='"+i+"' tabindex='-1'>"+t.ui.icon(e(`<span title="${i}"></span>`),{icon:n,iconClass:"k-button-icon"+(o?` ${o}`:"")})+"</button>").on("focus",(function(){e(this).addClass(x)})).on("blur",(function(){e(this).removeClass(x)})):e("<button type='button' class='k-button k-button-md k-rounded-md k-button-solid k-button-solid-base'><span class=\"k-button-text\">"+i+"</span></button>")},_clearFileAction:function(t){e(".k-upload-action",t).empty().hide()},_onFileAction:function(t){var n=this;if(!n.wrapper.hasClass("k-disabled")){var i=e(t.target).closest(".k-upload-action"),o=i.find(".k-icon,.k-svg-icon"),r=i.closest(".k-file"),a=r.data("fileNames"),s=n._filesContainValidationErrors(a),l={files:a,headers:{}};n._retryClicked=!1,o.is(".k-i-x,.k-svg-i-x")?n.trigger(g,l)||(n._module.onRemove({target:e(r,n.wrapper)},l,!s),n.wrapper.find(".k-upload-button").trigger("focus")):o.is(".k-i-cancel,.k-svg-i-cancel")?(n.trigger(h,l),n._module.onCancel({target:e(r,n.wrapper)}),n._checkAllComplete(),n._updateHeaderUploadStatus(),n.wrapper.find(".k-upload-button").trigger("focus")):o.is(".k-i-pause-sm,.k-svg-i-pause-sm")?(n.trigger(f,l),n.pause(r),n._updateHeaderUploadStatus()):o.is(".k-i-play-sm,.k-svg-i-play-sm")?(n.trigger(m,l),n.resume(r)):o.hasClass("k-i-retry")&&(e(".k-i-exclamation-circle",r).remove(),e(z,r).finish().show(),n._module.onRetry({target:e(r,n.wrapper)}),n._retryClicked=!0),r.addClass(x)}return!1},_onUploadSelected:function(){return this.wrapper.hasClass("k-disabled")||this._module.onSaveSelected(),!1},_onClearSelected:function(){var e=this;return e.wrapper.hasClass("k-disabled")||e.trigger(p,{})||e.clearAllFiles(),!1},_onFileProgress:function(t,n){var i=e(z,t.target).data("kendoProgressBar");n>100&&(n=100),e(z,t.target).removeClass("k-hidden"),this.options.template||(0===e(".k-upload-pct",t.target).length&&e(".k-upload-actions",t.target).prepend("<span class='k-upload-pct'></span>"),100!==n?e(".k-upload-pct",t.target).text(n+"%"):e(".k-upload-pct",t.target).remove()),i&&i.value(n),this.trigger(v,{files:Q(t).data("fileNames"),percentComplete:n})},_onUploadSuccess:function(e,n,i){var o=this,r=Q(e),a=r.data("fileNames"),s=r.find(".k-file-summary"),l=r.find(".k-file-size");o.trigger(c,{files:r.data("fileNames"),response:n,operation:"upload",XMLHttpRequest:i})?o._setUploadErrorState(r):(o._fileState(r,"uploaded"),r.removeClass("k-file-progress").addClass("k-file-success"),s.length>0?s.addClass("k-hidden").after('<span class="k-file-validation-message" aria-live="polite">'+a.length+" "+t.htmlEncode(o.localization.uploadSuccess)+"</span>"):l.length>0&&l.addClass("k-hidden").after('<span class="k-file-validation-message" aria-live="polite">'+t.htmlEncode(o.localization.uploadSuccess)+"</span>"),o._updateHeaderUploadStatus(),o._supportsRemove()?o._fileAction(r,g):o._clearFileAction(r)),o._hideUploadProgress(r),o._checkAllComplete()},_onUploadError:function(e,t){var n=this,i=n._module,r=Q(e),a=r.data("uid");n._setUploadErrorState(r),n.trigger(d,{operation:"upload",files:r.data("fileNames"),XMLHttpRequest:t}),o("Server response: "+t.responseText),n.options.async.chunkSize?i._decreasePosition&&i._decreasePosition(a):n._hideUploadProgress(r),n._checkAllComplete(),this.options.async.autoRetryAfter&&this._autoRetryAfter(r)},_autoRetryAfter:function(e){var t=this,n=this._module.retries;n&&(n[e.data("uid")]||(n[e.data("uid")]=1),n[e.data("uid")]<=this.options.async.maxAutoRetries&&(n[e.data("uid")]++,setTimeout((function(){t._module.performUpload(e)}),this.options.async.autoRetryAfter)))},_setUploadErrorState:function(n){var i,o=this,r=n.data("fileNames"),a=n.find(".k-file-summary"),s=n.find(".k-file-size");o._fileState(n,"failed"),n.removeClass("k-file-progress").addClass("k-file-error"),a.length>0?a.addClass("k-hidden").after('<span class="k-file-validation-message" aria-live="polite">'+r.length+" "+t.htmlEncode(o.localization.uploadFail)+"</span>"):s.length>0&&s.addClass("k-hidden").after('<span class="k-file-validation-message" aria-live="polite">'+t.htmlEncode(o.localization.uploadFail)+"</span>"),o._updateUploadProgress(n),(i=e(".k-upload-pct",n)).length>0&&i.remove(),this._updateHeaderUploadStatus(),this._fileAction(n,"retry"),this._fileAction(n,g,!0),o._retryClicked&&n.trigger("focus")},_updateUploadProgress:function(t){var n=this,i=e(z,t),o=i.length>0;if(!n.options.async.chunkSize&&o)i.data("kendoProgressBar").value(100);else{var r=t.data("uid");if(n._module.metaData){var a=n._module.metaData[r];if(a){var s=a.totalChunks?Math.round(a.chunkIndex/a.totalChunks*100):100;n._onFileProgress({target:e(t,n.wrapper)},s)}}}},_hideUploadProgress:function(t){e(z,t).delay(1e3).fadeOut(2e3,(function(){e(this).data("kendoProgressBar")&&e(this).data("kendoProgressBar").value(0)}))},_showActionButtons:function(){var n=this,i=e(".k-actions",n.wrapper),o=e(".k-upload-selected",n.wrapper),r=e(".k-clear-selected",n.wrapper);0===o.length&&(o=e(t.html.renderButton(`<button class='k-upload-selected'>${t.htmlEncode(this.localization.uploadSelectedFiles)}</button>`,{icon:"upload",themeColor:"primary"})),r=e(t.html.renderButton(`<button class='k-clear-selected'>${t.htmlEncode(this.localization.clearSelectedFiles)}</button>`,{icon:"x"}))),i.length||(i=e("<div />").addClass("k-actions").append(o,r)),this.wrapper.append(i)},_hideActionButtons:function(){e(".k-actions",this.wrapper).remove()},_showHeaderUploadStatus:function(n){var i=this,o=i.localization,r=e(".k-dropzone",i.wrapper),a=e(".k-upload-status",i.wrapper);0!==a.length&&a.remove(),e(".k-dropzone-hint",i.wrapper).addClass("k-hidden"),a='<span class="k-upload-status"><span class="k-icon"></span></span>',n?(a=e(a).append(t.htmlEncode(o.headerStatusUploading)),t.ui.icon(a.find(".k-icon,.k-svg-icon"),{icon:T})):(a=e(a).append(t.htmlEncode(o.headerStatusUploaded)),t.ui.icon(a.find(".k-icon,.k-svg-icon"),{icon:M})),r.length>0?r.append(a):e(".k-upload-button",i.wrapper).after(a)},_updateHeaderUploadStatus:function(){var n,i=this,o=e(".k-upload-status",this.wrapper),r=e(".k-file",i.wrapper).not(".k-file-success, .k-file-error"),a=e(".k-file-error",i.wrapper),s=e(".k-file",i.wrapper).find(".k-i-play-sm,.k-svg-i-play-sm");!s.length||s.length!==r.length&&i.options.async.concurrent?(0===r.length||a.length>0)&&(o=e(".k-upload-status",i.wrapper),(n=e(".k-icon,.k-svg-icon",o).removeClass()).length&&(t.ui.icon(n,{icon:0!==a.length?M:I}),o.html(n).append(t.htmlEncode(i.localization.headerStatusUploaded)))):(n=e(".k-icon,.k-svg-icon",o).removeClass()).length&&(t.ui.icon(n,{icon:"pause-sm"}),o.html(n).append(t.htmlEncode(i.localization.headerStatusPaused)))},_hideHeaderUploadstatus:function(){var t=this.options.dropZone;e(".k-upload-status",this.wrapper).remove(),""===t&&e(".k-dropzone-hint",this.wrapper).removeClass("k-hidden")},_onParentFormSubmit:function(){var t=this.element;if(void 0!==this._module.onAbort&&this._module.onAbort(),!t.value){var n=e(t);n.attr("disabled","disabled"),window.setTimeout((function(){n.prop("disabled",!1)}),0)}},_onParentFormReset:function(){e(".k-upload-files",this.wrapper).remove()},_supportsFormData:function(){return"undefined"!=typeof FormData},_supportsMultiple:function(){var e=this._userAgent().indexOf("Windows")>-1;return!(t.support.browser.opera||t.support.browser.safari&&e)},_supportsDrop:function(){var e=this._userAgent().toLowerCase();return!(!/chrome/.test(e)&&/safari/.test(e)&&/windows/.test(e))&&this._supportsFormData()&&this.options.async.saveUrl},_userAgent:function(){return navigator.userAgent},_setupDropZone:function(){var n=this,i=n._ns,o=e(".k-dropzone",n.wrapper).on("dragenter"+i,G).on("dragover"+i,(function(e){e.originalEvent&&(e.originalEvent.dataTransfer.dropEffect="copy"),e.preventDefault()})).on("drop"+i,n._onDrop.bind(n));o.find(".k-dropzone-hint").length||o.append(e("<span class='k-dropzone-hint'>"+t.htmlEncode(n.localization.dropFilesHere)+"</span>")),K(o,i,(function(){o.closest(".k-upload").hasClass("k-disabled")||o.addClass(k)}),(function(){o.removeClass(k)})),n._bindDocumentDragEventWrappers(o)},_setupCustomDropZone:function(){var n=this,i=e(n.options.dropZone);n.wrapper.find(".k-dropzone-hint").length?e(".k-dropzone-hint",n.wrapper).addClass("k-hidden"):e(".k-dropzone",n.wrapper).append(e("<span class='k-dropzone-hint k-hidden'>"+t.htmlEncode(n.localization.dropFilesHere)+"</span>"));var o=n._ns;i.on("dragenter"+o,G).on("dragover"+o,(function(e){e.originalEvent&&(e.originalEvent.dataTransfer.dropEffect="copy"),e.preventDefault()})).on("drop"+o,n._onDrop.bind(n)),K(i,o,(function(t){n.wrapper.hasClass("k-disabled")||(i.removeClass(k),i.addClass(k),e(t.target).addClass(k))}),(function(){i.removeClass(k)})),n._bindDocumentDragEventWrappers(i)},_bindDocumentDragEventWrappers:function(t){var n=this,i=n._ns;K(e(document),i,(function(){n.wrapper.hasClass("k-disabled")||(t.addClass("k-dropzone-active"),t.closest(".k-upload").removeClass("k-upload-empty"),t.find(".k-dropzone-hint").removeClass("k-hidden"))}),(function(){t.removeClass("k-dropzone-active"),0===e("li.k-file",t.closest(".k-upload")).length&&t.closest(".k-upload").addClass("k-upload-empty")}))},_toggleDropZone:function(){var t=this,n=t.options.dropZone;t._supportsDrop()&&(e(n).off(t._ns),e(".k-dropzone",t.wrapper).off(t._ns),""!==n?t._setupCustomDropZone():t._setupDropZone())},_supportsRemove:function(){return!!this.options.async.removeUrl},_submitRemove:function(t,n,o,r){var a=this.options.async.removeField||"fileNames",s=e.extend(n.data,i());s[a]=t,jQuery.ajax({type:this.options.async.removeVerb,dataType:"json",dataFilter:q,url:this.options.async.removeUrl,traditional:!0,data:s,headers:n.headers,success:o,error:r,xhrFields:{withCredentials:this.options.async.withCredentials}})},_wrapInput:function(n){var i=this.options,o=!!n.attr("id")&&e("[for='"+n.attr("id")+"']").length>0,r=t.htmlEncode(this.localization.select),a=e("<div class='k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-upload-button' tabindex='0' role='button'><span class='k-button-text'></span></div>");return a.find(".k-button-text").text(r),n.wrap("<div class='k-upload' role='application'><div class='k-dropzone k-upload-dropzone'><div class='k-upload-button-wrap'></div></div></div>"),a.prependTo(n.parent()),i.async.saveUrl?n.closest(".k-upload").addClass("k-upload-async"):n.closest(".k-upload").addClass("k-upload-sync"),n.closest(".k-upload").addClass("k-upload-empty"),o||n.attr("aria-label")||n.attr("aria-label",r),n.attr({tabindex:-1,"aria-hidden":!0}),n.closest(".k-upload")},_checkAllComplete:function(){0===e(".k-file.k-file-progress",this.wrapper).length&&this.trigger(u)},_inputFiles:function(e){return P(e)}}),D=function(e){this.name="syncUploadModule",this.element=e.wrapper,this.upload=e,this.element.closest("form").attr("enctype","multipart/form-data").attr("encoding","multipart/form-data")};D.prototype={onSelect:function(t,n){var i=this.upload,o=e(t.target),r=i._filesContainValidationErrors(n);i._addInput(o);var a={fileNames:n};r?o.remove():a.relatedInput=o;var s=i._enqueueFile(V(o),a);r&&i._hideUploadProgress(s),i._fileAction(s,g)},onRemove:function(e){var t=Q(e),n=t.data("relatedInput");n&&n.remove(),this.upload._removeFileEntry(t)}};var E=function(e){this.name="iframeUploadModule",this.element=e.wrapper,this.upload=e,this.iframes=[]};H._frameId=0,E.prototype={onSelect:function(t,n){var i=this.upload,o=e(t.target),r=i._filesContainValidationErrors(n),a=this.prepareUpload(o,n,r);i.options.async.autoUpload?r?(i._fileAction(a,g),i._showHeaderUploadStatus(!1)):this.performUpload(a):(i._fileAction(a,g),r?i._updateHeaderUploadStatus():i._showActionButtons()),r&&i._hideUploadProgress(a)},prepareUpload:function(t,n,i){var o,r,a,s,l=this.upload,c=e(l.element),d=l.options.async.saveField||t.attr("name");return l._addInput(t),t.attr("name",d),i?(t.remove(),r={fileNames:n}):(a=this.createFrame(l.name+"_"+H._frameId++),this.registerFrame(a),s=this.createForm(l.options.async.saveUrl,a.attr("name")).append(c),r={frame:a,relatedInput:c,fileNames:n}),o=l._enqueueFile(V(t),r),a&&a.data({form:s,file:o}),o},performUpload:function(t){var n={files:t.data("fileNames")},o=t.data("frame"),r=this.upload,a=t.find(".k-file-validation-message"),s=t.find(".k-file-summary"),c=t.find(".k-file-size");if(r.trigger(l,n))r._removeFileEntry(o.data("file")),this.cleanupFrame(o),this.unregisterFrame(o);else{r._hideActionButtons(),r._showHeaderUploadStatus(!0),o.appendTo(document.body);var d=o.data("form").attr("action",r.options.async.saveUrl).appendTo(document.body);for(var u in n.data=e.extend({},n.data,i()),n.data){var p=d.find("input[name='"+u+"']");0===p.length&&(p=e("<input>",{type:"hidden",name:u}).prependTo(d)),p.val(n.data[u])}r._fileAction(t,h),r._fileState(t,"uploading"),e(t).removeClass("k-file-error").addClass("k-file-progress"),a.length>0&&a.remove(),s.length>0?s.removeClass("k-hidden"):c.length>0&&c.removeClass("k-hidden"),o.one("load",this.onIframeLoad.bind(this)),d[0].submit()}},onSaveSelected:function(){var t=this,n=t.upload;e(".k-file",this.element).each((function(){var i=e(this),o=Y(i),r=n._filesContainValidationErrors(i.data("fileNames"));o||r||t.performUpload(i)}))},onIframeLoad:function(t){var n,i=e(t.target);try{n=i.contents().text()}catch(e){n="Error trying to get server response: "+e}this.processResponse(i,n)},processResponse:function(t,n){var i=t.data("file"),o=this,r={responseText:n};$(n,(function(n){e.extend(r,{statusText:"OK",status:"200"}),o.upload._onFileProgress({target:e(i,o.upload.wrapper)},100),o.upload._onUploadSuccess({target:e(i,o.upload.wrapper)},n,r),o.cleanupFrame(t),o.unregisterFrame(t)}),(function(){e.extend(r,{statusText:"error",status:"500"}),o.upload._onUploadError({target:e(i,o.upload.wrapper)},r)}))},onCancel:function(t){var n=e(t.target).data("frame");this.stopFrameSubmit(n),this.cleanupFrame(n),this.unregisterFrame(n),this.upload._removeFileEntry(n.data("file"))},onRetry:function(e){var t=Q(e);this.performUpload(t)},onRemove:function(e,t,n){var i=this,o=i.upload,r=Q(e),a=r.data("frame");a?(i.unregisterFrame(a),o._removeFileEntry(r),i.cleanupFrame(a)):r.hasClass("k-file-success")?W(r,o,t,n):o._removeFileEntry(r)},onAbort:function(){var t=this.element,n=this;e.each(this.iframes,(function(){e("input",this.data("form")).appendTo(t),n.stopFrameSubmit(this[0]),this.data("form").remove(),this.remove()})),this.iframes=[]},createFrame:function(t){return e("<iframe name='"+t+"' id='"+t+"' />").hide()},createForm:function(t,n){return e("<form enctype='multipart/form-data' method='POST' action='"+t+"' target='"+n+"'/>")},stopFrameSubmit:function(e){void 0!==e.stop?e.stop():e.document&&e.document.execCommand("Stop")},registerFrame:function(e){this.iframes.push(e)},unregisterFrame:function(t){this.iframes=e.grep(this.iframes,(function(e){return e.attr("name")!=t.attr("name")}))},cleanupFrame:function(e){var t=e.data("form");e.data("file").data("frame",null),setTimeout((function(){t.remove(),e.remove()}),1)}};var A=function(e){this.name="formDataUploadModule",this.element=e.wrapper,this.upload=e,this.position={},this.metaData={},this.cancelled={},this.resume={},this.paused={},this.retries={}};function V(t){return e.map(P(t),(function(e){return e.name})).join(", ")}function P(e){var t,n,i=e[0];return i.files?B(i.files):[{name:(t=i.value,n=t.lastIndexOf("\\"),-1!=n?t.substr(n+1):t),extension:F(i.value),size:null}]}function B(n){return e.map(n,(function(e){return i=(n=e).name||n.fileName,{name:t.htmlEncode(i),extension:F(i),size:"number"==typeof n.size?n.size:n.fileSize,rawFile:n};var n,i}))}function F(e){var t=e.match(r);return t?t[0]:""}function O(n,i){var o=t.guid();return e.map(n,(function(e){return e.uid=i?t.guid():o,e}))}function L(t,n){for(var i=function(t){var n=e.map(t,(function(e){return("."===e.substring(0,1)?e:"."+e).toLowerCase()}));return n}(n.allowedExtensions),o=n.maxFileSize,r=n.minFileSize,a=0;a<t.length;a++)R(t[a],i),N(t[a],r,o)}function R(t,n){n.length>0&&n.indexOf(t.extension.toLowerCase())<0&&(t.validationErrors=t.validationErrors||[],-1===e.inArray(w,t.validationErrors)&&t.validationErrors.push(w))}function N(t,n,i){0!==n&&t.size<n&&(t.validationErrors=t.validationErrors||[],-1===e.inArray(y,t.validationErrors)&&t.validationErrors.push(y)),0!==i&&t.size>i&&(t.validationErrors=t.validationErrors||[],-1===e.inArray(b,t.validationErrors)&&t.validationErrors.push(b))}function U(e){var t=0;if("number"!=typeof e[0].size)return"";for(var n=0;n<e.length;n++)e[n].size&&(t+=e[n].size);return(t/=1024)<1024?t.toFixed(2)+" KB":(t/1024).toFixed(2)+" MB"}function j(t){return!t.multiple&&e(".k-file",t.wrapper).length>1}function W(t,n,i,r){if(n._supportsRemove()){var a=t.data("fileNames"),s=e.map(a,(function(e){return e.name}));!1!==r?n._submitRemove(s,i,(function(e,i,o){n.trigger(c,{operation:"remove",files:a,response:e,XMLHttpRequest:o})||n._removeFileEntry(t)}),(function(e){j(n)&&n._removeFileEntry(t),n.trigger(d,{operation:"remove",files:a,XMLHttpRequest:e}),o("Server response: "+e.responseText)})):n._removeFileEntry(t)}else!j(n)&&r||n._removeFileEntry(t)}function $(e,t,n){var i=!1,o="";try{o=JSON.parse(q(e)),i=!0}catch(e){n()}i&&t(o)}function q(e){return void 0!==e&&""!==e||(e="{}"),e}function G(e){e.originalEvent&&(e.originalEvent.dataTransfer.dropEffect="copy"),e.stopPropagation(),e.preventDefault()}function K(e,t,n,i){var o,r;e.on("dragenter"+t,(function(e){n(e),r=new Date,o||(o=setInterval((function(){new Date-r>100&&(i(),clearInterval(o),o=null)}),100))})).on("dragover"+t,(function(){r=new Date}))}function Y(e){return e.is(".k-file-progress, .k-file-success, .k-file-error:not(.k-file-invalid)")}function Q(t){return e(t.target).closest(".k-file")}A.prototype={onSelect:function(t,n){var i,o,r=this.upload,a=this,s=e(t.target),l=this.prepareUpload(s,n);e.each(l,(function(t){i=r._filesContainValidationErrors(e(this.data("fileNames"))),r.options.async.autoUpload?i?(r._fileAction(this,g),r._showHeaderUploadStatus(!1)):r.options.async.chunkSize?(a.prepareChunk(this),o=this.prev(),(r.options.async.concurrent||0===t&&!o.length||0===t&&o.hasClass("k-file-success"))&&a.performUpload(this)):a.performUpload(this):(r._fileAction(this,g),i?r._updateHeaderUploadStatus():(r._showActionButtons(),this.addClass("k-toupload"))),i&&r._hideUploadProgress(this)}))},prepareUpload:function(t,n){var i=this.enqueueFiles(n);return t.is("input")&&(e.each(i,(function(){e(this).data("relatedInput",t)})),t.data("relatedFileEntries",i),this.upload._addInput(t)),i},enqueueFiles:function(t){var n,i,o,r,a=this.upload,s=t.length,l=[];if(!0===a.options.async.batch)n=e.map(t,(function(e){return e.name})).join(", "),(a.directory||a.options.directoryDrop)&&e(t).each((function(){(this.rawFile.webkitRelativePath||this.rawFile.relativePath)&&(this.name=this.rawFile.webkitRelativePath||this.rawFile.relativePath)})),(r=a._enqueueFile(n,{fileNames:t})).data("files",t),l.push(r);else for(i=0;i<s;i++)n=(o=t[i]).name,(a.directory||a.options.directoryDrop)&&(o.rawFile.webkitRelativePath||o.rawFile.relativePath)&&(o.name=o.rawFile.webkitRelativePath||o.rawFile.relativePath),(r=a._enqueueFile(n,{fileNames:[o]})).data("files",[o]),l.push(r);return l},performUpload:function(t){var n,o=this.upload,r=this.createFormData(),a=this.createXHR(),s={files:t.data("fileNames"),XMLHttpRequest:a},c=t.find(".k-file-validation-message"),d=t.find(".k-file-summary"),u=t.find(".k-file-size");if(o.trigger(l,s))this.removeFileEntry(t);else{if(0===t.find(".k-i-cancel,.k-svg-i-cancel").length&&(o.options.async.chunkSize&&o._fileAction(t,f),o._fileAction(t,h,o.options.async.chunkSize)),o.wrapper.find(".k-toupload").length||o._hideActionButtons(),o._showHeaderUploadStatus(!0),s.formData)r=s.formData;else{for(var p in s.data=e.extend({},s.data,i()),s.data)r.append(p,s.data[p]);(n=t.data("files"))&&this.populateFormData(r,n)}o._fileState(t,"uploading"),e(t).removeClass("k-file-error").addClass("k-file-progress"),c.length>0&&c.remove(),d.length>0?d.removeClass("k-hidden"):u.length>0&&u.removeClass("k-hidden"),o.options.async.useArrayBuffer&&window.FileReader?this._readFile(o.options.async.saveUrl,r,t,a):this.postFormData(o.options.async.saveUrl,r,t,a)}},_readFile:function(t,n,i,o){var r=this,a=r.upload,s=i.data("files")[0],l=new FileReader;l.onload=function(l){try{r.fileArrayBuffer?r.fileArrayBuffer=r._appendBuffer(r.fileArrayBuffer,l.target.result):r.fileArrayBuffer=l.target.result}catch(t){return void a._onUploadError({target:e(i,a.wrapper)},o)}r.position[s.uid]>s.size?(r.postFormData(a.options.async.saveUrl,r.fileArrayBuffer,i,o),r.fileArrayBuffer=null):r._readFile(t,n,i,o)},l.onerror=function(){a._onUploadError({target:e(i,a.wrapper)},o)},l.readAsArrayBuffer(r._getCurrentChunk(s.rawFile,s.uid))},_appendBuffer:function(e,t){var n=new Uint8Array(e.byteLength+t.byteLength);return n.set(new Uint8Array(e),0),n.set(new Uint8Array(t),e.byteLength),n.buffer},onSaveSelected:function(){var t=this,n=t.upload;e(".k-toupload",this.element).filter((function(){var t=e(this),i=Y(t),o=n._filesContainValidationErrors(t.data("fileNames"));return!i&&!o})).each((function(i){var o=e(this),r=o.prev();o.removeClass("k-toupload"),n.options.async.chunkSize?(t.prepareChunk(o),(n.options.async.concurrent||0===i&&!r.length||0===i&&r.hasClass("k-file-success")||r.hasClass("k-file-error:not(k-file-invalid)"))&&t.performUpload(o)):t.performUpload(o)}))},onCancel:function(e){var t=Q(e);this.upload.options.async.chunkSize&&(this.cancelled[t.data("uid")]=!0),this.stopUploadRequest(t),this.removeFileEntry(t)},onPause:function(e){var t=Q(e).data("uid"),n=this.upload.options.async;n.chunkSize&&(this.retries[t]=n.maxAutoRetries+1,this.paused[t]=!0,this.resume[t]=!1)},onResume:function(e){var t=Q(e),n=t.data("uid");this.upload.options.async.chunkSize&&(delete this.paused[n],this.resume[n]=!0,this.retries[t.data("uid")]=1,this._increaseChunkIndex(n),this.performUpload(t))},onRetry:function(e){var t=Q(e),n=this.upload.options.async;n.chunkSize&&(this.retries[t.data("uid")]=n.maxAutoRetries+1,delete this.paused[t.data("uid")]),this.performUpload(t)},onRemove:function(e,t,n){var i=this.upload,o=Q(e),r=this.upload.options.async;r.chunkSize&&(this.retries[o.data("uid")]=r.maxAutoRetries+1),o.hasClass("k-file-success")?W(o,i,t,n):this.removeFileEntry(o)},createXHR:function(){return new XMLHttpRequest},postFormData:function(e,t,n,i){var o=this;n.data("request",i),i.addEventListener("load",(function(e){o.onRequestSuccess.call(o,e,n)}),!1),i.addEventListener(d,(function(e){o.onRequestError.call(o,e,n)}),!1),i.upload.addEventListener("progress",(function(e){o.onRequestProgress.call(o,e,n)}),!1),i.open("POST",e,!0),i.withCredentials=this.upload.options.async.withCredentials;var r=this.upload.options.async.accept;r&&i.setRequestHeader("Accept",r),i.send(t)},createFormData:function(){return new FormData},populateFormData:function(e,t){var n,i,o,r=t.length,a=this.upload;if(a.options.async.chunkSize){o=t[0].uid,n=this._getCurrentChunk(t[0].rawFile,o),e.append(a.options.async.saveField||a.name,n);var s=JSON.stringify(this.metaData[o]);e.append("metadata",s)}else for(i=0;i<r;i++)e.append(a.options.async.saveField||a.name,t[i].rawFile);return e},onRequestSuccess:function(t,n){var i=t.target,o=this;function r(){o.upload._onUploadError({target:e(n,o.upload.wrapper)},i)}i.status>=200&&i.status<=299?$(i.responseText,(function(t){var r=o.upload.options.async.batch,a=o.upload.options.async.chunkSize,s=o.upload.options.async.concurrent,l=t.fileUid;o.paused[l]||o.cancelled[l]||(delete o.retries[l],!a||r||t.uploaded?!a||r||s||!n.next().length||n.next().hasClass("k-toupload")?(o.upload._onFileProgress({target:e(n,o.upload.wrapper)},100),o.upload._onUploadSuccess({target:e(n,o.upload.wrapper)},t,i),o.cleanupFileEntry(n)):(o.upload._onFileProgress({target:e(n,o.upload.wrapper)},100),o._resetChunkIndex(l),o.upload._onUploadSuccess({target:e(n,o.upload.wrapper)},t,i),o.performUpload(n.next())):(o._increaseChunkIndex(l),o.performUpload(n)))}),r):r()},onRequestError:function(t,n){var i=t.target;this.upload._onUploadError({target:e(n,this.upload.wrapper)},i)},cleanupFileEntry:function(t){var n=t.data("relatedInput"),i=!0;n&&(e.each(n.data("relatedFileEntries")||[],(function(){this.parent().length>0&&this[0]!=t[0]&&(i=i&&this.hasClass("k-file-success"))})),i&&n.remove())},removeFileEntry:function(e){var t=this.upload.options.async.chunkSize,n=this.upload.options.async.concurrent,i=this.upload.wrapper.find(".k-upload-selected").length>0;this.cleanupFileEntry(e),!t||n||i||e.next().length&&this.performUpload(e.next()),this.upload._removeFileEntry(e)},onRequestProgress:function(t,n){var i,o=Math.round(100*t.loaded/t.total),r=n.data("uid");this.upload.options.async.chunkSize&&(o=(i=this.metaData[r])&&i.totalChunks?Math.round(i.chunkIndex/i.totalChunks*100):100),this.upload._onFileProgress({target:e(n,this.upload.wrapper)},o)},stopUploadRequest:function(e){e.data("request")&&e.data("request").abort()},prepareChunk:function(e){var t=e.data("files")[0],n=t.rawFile,i=t.uid,o=this.upload.options.async.chunkSize;this.position[i]=0,this.metaData[i]={chunkIndex:0,contentType:n.type,fileName:n.name,relativePath:t.name,totalFileSize:n.size,totalChunks:Math.ceil(n.size/o),uploadUid:i}},_decreaseChunkIndex:function(e){this.metaData[e].chunkIndex--},_increaseChunkIndex:function(e){this.metaData[e].chunkIndex++},_resetChunkIndex:function(e){this.metaData[e].chunkIndex=0},_decreasePosition:function(e){this.position[e]-=this.upload.options.async.chunkSize},_getCurrentChunk:function(e,t){var n,i=this.position[t],o=this.upload.options.async,r=o.chunkSize||o.bufferChunkSize;return this.position[t]||(this.position[t]=0),this.position[t]+=r,(n=this._getChunker(e))?e[n](i,this.position[t]):e},_getChunker:function(e){return e.slice?"slice":e.mozSlice?"mozSlice":e.webkitSlice?"webkitSlice":null}},t.ui.plugin(H)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=e.extend,r=(n.mediaQuery,e.isPlainObject),a=(n.support,n.htmlEncode),s=n.sanitizeLink,l=".kendoBreadcrumb",c="aria-hidden",d="click",u="blur",h="keydown",p="change",f=".",m={widget:"k-breadcrumb",overlay:"k-breadcrumb-container",textbox:"k-input-inner",textboxWrapper:"k-textbox k-input k-input-md k-rounded-md k-input-solid",link:"k-breadcrumb-link",item:"k-breadcrumb-item",delimiter:"k-breadcrumb-delimiter-icon",rootItem:"k-breadcrumb-root-item",rootLink:"k-breadcrumb-root-link",overflowIcon:"k-breadcrumb-overflow-icon",focused:"k-focus",hidden:"k-hidden",inputWrapper:"k-breadcrumb-input-container"},v=i.extend({init:function(e,t){var o=this;t=t||{},i.fn.init.call(o,e,t),o._wrapper(),t.editable&&(o._editable(),o._tabindex()),o.wrapper.on(d+l,"a:not(.k-disabled)",o._click.bind(o)),t.value||t.bindToLocation||!t.items?o._value():t.items&&o.items(t.items),o._applyCssClasses(),o._resizeHandler=n.onResize((function(){o.resize(!0)}))},options:{editable:!1,navigational:!1,bindToLocation:!1,items:null,name:"Breadcrumb",size:"medium",gap:0,rootIcon:"home",delimiterIcon:"chevron-right",messages:{rootTitle:"Go to root"}},events:[p,d],destroy:function(){var e=this;i.fn.destroy.call(e),n.unbindResize(e._resizeHandler),e.wrapper.add(e.wrapper.find("input")).add(e.wrapper.find("a")).off(l)},items:function(e){var n=this;if(e===t)return n.options.items;n.options.items=e,n._segments=e,n.refresh()},_update:function(e){var t=this;e!==t.value()&&(t._generateSegments(e),t.refresh(),t.trigger(p,{sender:this,value:e}))},_generateSegments:function(e){var t,n,i=this,o=i.options.items;if(n=i._split(e),o){i._segments=[];for(var r=0;r<n.length;r++)""!==(t=i._path(o.slice(0,r+1)))&&e.indexOf(t)>-1&&o[r]&&o[r].text===n[r]?i._segments.push(o[r]):i._segments.push(n[r])}else i.options.items=i._segments=n},_click:function(t){var n=this,i=n.options,o=e(t.target).closest(f+m.item),r=o.prevAll().addBack(),a=n._getItems(r),s=n._path(a),l=n._segments[o.index()];i.navigational||t.preventDefault(),n.trigger(d,{sender:n,originalEvent:t,isRoot:"rootitem"===l.type,item:l})||n._update(s)},_getItems:function(t){var n=this;return e.map(t,(function(t){return n._segments[e(t).index()]||t.innerText}))},_edit:function(){var e=this,t=e.input;e.oldValue=e.value(),e.inputWrapper.css("height",e.wrapper.height()),e.overlay.hide(),e.input.val(e.value()),e.input.attr(c,!1),e.inputWrapper.show(),setTimeout((function(){t.select()}))},_blur:function(e){var t=this,n=t.input,i=t.inputWrapper,o=t.wrapper,r=t.overlay,a=n.val().replace(/\/{2,}/g,"/");r.is(":visible")||(e&&(a=t.oldValue),n.attr(c,!0),i.hide(),r.show(),n.val(""),t._update(a),o.removeClass(m.focused))},_keydown:function(e){var t=this,i=e.keyCode,o=i===n.keys.ENTER,r=i===n.keys.ESC;(o||r)&&(t._blur(r),setTimeout((function(){t.overlay.find("a").first().trigger("focus")})))},isNavigational:function(e){var t=e.hasClass(m.textbox)||e.closest(f+m.item);return e[0]!==this.wrapper[0]&&(t&&!e.hasClass("k-breadcrumb-last-item"))},_wrapperKeydown:function(t){var i=e(t.target),o=this.isNavigational(i);t.keyCode!==n.keys.ENTER||o||this._edit()},_wrapperClick:function(t){var n=e(t.target);this.isNavigational(n)||this._edit()},_wrapperFocus:function(t){e(t.target).addClass(m.focused)},_wrapperBlur:function(t){e(t.target).removeClass(m.focused)},_wrapper:function(){var t=this,n=this.element,i=n.is("input"),o=e('<div class="'+m.inputWrapper+'"><span class="'+m.textboxWrapper+'"></span></div>');t.wrapper=i?n.wrap(e("<nav />")).parent():n,i?(t.element.wrap(o).addClass(m.textbox),t.inputWrapper=t.wrapper.find(f+m.inputWrapper).hide()):t.inputWrapper=t.wrapper.append(o).find(f+m.inputWrapper).hide(),t.wrapper.addClass(m.widget),t.wrapper.attr("aria-label","Breadcrumb"),t.overlay=t.wrapper.append(e("<ol />").addClass(m.overlay)).find(f+m.overlay)},_editable:function(){var t=this,n=t.element.is("input");t.input=n?t.element:e("<input />"),t.inputWrapper.find(f+m.textboxWrapper.split(" ")[0]).append(t.input),t.input.addClass(m.textbox).attr(c,!0),t.input.on(u+l,t._blur.bind(t,!1)).on(h+l,t._keydown.bind(t)),t.wrapper.on("focus"+l,t._wrapperFocus.bind(t)).on(u+l,t._wrapperBlur.bind(t)).on(h+l,t._wrapperKeydown.bind(t)).on(d+l,t._wrapperClick.bind(t))},_value:function(){var e=this,t=e.options;t.value?e.value(t.value):t.bindToLocation?e.value(window.location.href.replace(/http(s?):\/\//,"").replace(/\/$/,"")):e.value("")},_split:function(e){return e.split("/").filter((function(e,t){return!(t>0&&""===e)}))},isRtl:function(){return n.support.isRtl(this.wrapper)},refresh:function(){var i,a,s,l,c=this,d=c.options,u=d.messages,h=c.options.delimiterIcon,p="",f="",v=""===c.value(),g=c._segments;for("chevron-right"==h&&c.isRtl()&&(h="chevron-left"),a=0,s=g.length;a<s;a++)i=g[a],l=a===g.length-1,i!==t&&(p?f+=i.text||i||"":f="/","string"==typeof i?(i={type:p?"item":"rootitem",href:d.navigational?f:"#",text:i,showIcon:!p,showText:!!p,icon:p?"":d.rootIcon,itemClass:p?"":"k-breadcrumb-root-item",linkClass:p?"":m.rootLink,delimiterIcon:h,renderDelimiter:!l&&!v,lastSegment:l,iconClass:""},c._segments.splice(a,1,i)):r(i)&&(i=o({},i,{type:i.type?i.type.toLowerCase():"item"}),"rootitem"===(i=o({},i,{text:i.text||"",title:i.text||"",icon:i.icon||("rootitem"===i.type?d.rootIcon:""),iconClass:i.iconClass||"",lastSegment:l,renderDelimiter:!l&&g.length>1,href:d.navigational?i.href:"#",delimiterIcon:h,itemClass:i.itemClass||"",linkClass:i.linkClass||"",showIcon:i.showIcon===t?"rootitem"===i.type&&"item"!==i.type:i.showIcon,showText:i.showText===t?"item"===i.type&&"rootitem"!==i.type:i.showText})).type&&(i.itemClass+=" k-breadcrumb-root-item",i.linkClass+=" "+m.rootLink)),"rootitem"===i.type&&""===i.text&&(i.title=u.rootTitle),f+=f.match(/\/$/)?"":"/",p+=n.template(this.itemTemplate)(i));this.overlay.empty().append(e(p)),this.resize(!0)},itemTemplate:t=>{const i=t.showIcon?n.ui.icon(e(`<span class="${a(t.iconClass)}"></span>`),{icon:a(t.icon)}):"",o=t.renderDelimiter?n.ui.icon(e('<span class="k-breadcrumb-delimiter-icon" aria-hidden="true"></span>'),{icon:a(t.delimiterIcon),size:"xsmall"}):"",r=t.showText?`<span class="k-breadcrumb-item-text">${!1!==t.encoded?a(t.text):t.text}</span>`:"",l=`<a href="${s(t.href)}" class="${a(t.linkClass)} ${(()=>{let e={"k-breadcrumb-link":"rootitem"!==t.type,"k-breadcrumb-icontext-link":t.showText&&t.showIcon,"k-breadcrumb-icon-link":t.showIcon&&!t.showText,"k-disabled":t.lastSegment&&"rootitem"!==t.type};return Object.keys(e).filter((t=>e[t])).join(" ")})()}"\n ${t.lastSegment?'aria-current="page"':""}\n ${t.lastSegment&&"rootitem"!==t.type?'aria-disabled="true"':""}\n title="${a(t.text||t.title)}">${i}${r}</a>`;return`<li class="k-breadcrumb-item ${a(t.itemClass)} ${t.lastSegment?"k-breadcrumb-last-item":""}">${l}${o}</li>`},_displayOverflowIcons:function(e){var t=this.wrapper.find(f+m.rootItem);e?t.find(f+m.delimiter).addClass(m.overflowIcon).removeClass(m.hidden):t.find(f+m.overflowIcon).removeClass(m.overflowIcon).last().addClass(m.hidden)},_shrinkItems:function(){var t,i,o=this,r=o.wrapper,a=o.overlay,s=o.overlay.find(f+m.item+":not(.k-breadcrumb-root-item)"),l=n._outerWidth(o.overlay.find(f+m.delimiter+":visible").first()),c=r.width()-o.options.gap-l;if(1!=s.length){for(var d=0;d<s.length;d+=1)if(i=e(s[d]),n._outerWidth(a)>=c){if(d==s.length-1)break;t=i,i.find(f+m.delimiter).hide(),i.find(f+m.link).hide(),o._displayOverflowIcons(!0)}t&&t.find(f+m.delimiter).show()}},_showItem:function(e,t,i){return!!(e.length&&i>t+n._outerWidth(e,!0))&&(e.find(f+m.link).show(),e.prev().find(f+m.delimiter).show(),!0)},_stretchItems:function(){var t,i,o=this,r=o.wrapper,a=o.overlay,s=o.overlay.find(f+m.item+":not(.k-breadcrumb-root-item)"),l=n._outerWidth(o.overlay.find(f+m.delimiter+":visible").first()),c=r.width()-o.options.gap-l;s.length||o._displayOverflowIcons(!1);for(var d=s.length-1;d>=0&&(t=e(s[d]),!((i=n._outerWidth(a))>c)&&this._showItem(t,i,c));d--);},_resize:function(){this._shrinkItems(),this._stretchItems()},getSize:function(){return n.dimensions(this.wrapper)},value:function(e){var n=this;return e!==t?(n._generateSegments(e),void n.refresh()):n._path(n._segments)},_path:function(t){return e.map(t,(function(e){var t=r(e)?e.text:e;return"/"===t?"":t})).join("/")}});n.cssProperties.registerPrefix("Breadcrumb","k-breadcrumb-"),n.ui.plugin(v)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=e.isPlainObject,r=e.extend,a=n.htmlEncode,s=n.support.placeholder,l=n.isFunction,c=/(^\/|\/$)/g,d="change",u="apply",h="error",p="click",f=".kendoFileBrowser",m=".kendoSearchBox",v="name",g="size",_="type",b={field:_,dir:"asc"},y=n.template((({text:e})=>`<div class="k-listview-item k-listview-item-empty"><span class="k-file-preview"><span class="k-file-icon k-icon k-svg-icon k-i-none"></span></span><span class="k-file-name">${n.htmlEncode(e)}</span></div>`)),w=({showCreate:e,showUpload:t,showDelete:i,messages:o})=>'<div class="k-widget k-filebrowser-toolbar k-toolbar k-toolbar-md k-floatwrap">'+(e?'<button type="button" class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button">'+n.ui.icon({icon:"folder-add",iconClass:"k-button-icon"})+"</button>":"")+`${t?(({messages:e})=>'<div class="k-upload k-upload-button-wrap"><div class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-upload-button">'+n.ui.icon({icon:"plus",iconClass:"k-button-icon"})+`<span class="k-button-text">${n.htmlEncode(e.uploadFile)}</span></div><input type="file" name="file" /></div>`)({messages:o}):""}`+(i?'<button type="button" class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-disabled">'+n.ui.icon({icon:"x",iconClass:"k-button-icon"})+"</button>":"")+'<div class="k-tiles-arrange">'+`<label>${n.htmlEncode(o.orderBy)}: <select></select></label></div><span class="k-toolbar-spacer"></span><input data-role="searchbox" /></div>`;function k(e,n){return e!==t&&e.match(/\/$/)||(e=(e||"")+"/"),e+n}r(!0,n.data,{schemas:{filebrowser:{data:function(e){return e.items||e||[]},model:{id:"name",fields:{name:"name",size:"size",type:"type"}}}}}),r(!0,n.data,{transports:{filebrowser:n.data.RemoteTransport.extend({init:function(t){n.data.RemoteTransport.fn.init.call(this,e.extend(!0,{},this.options,t))},_call:function(t,i){i.data=e.extend({},i.data,{path:this.options.path()}),l(this.options[t])?this.options[t].call(this,i):n.data.RemoteTransport.fn[t].call(this,i)},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"}}})}});var x=i.extend({init:function(e,t){var n=this;t=t||{},i.fn.init.call(n,e,t),n.element.addClass("k-filebrowser"),n.element.on(p+f,".k-filebrowser-toolbar button:not(.k-disabled):has(.k-i-x,.k-svg-i-x)",n._deleteClick.bind(n)).on(p+f,".k-filebrowser-toolbar button:not(.k-disabled):has(.k-i-folder-add,.k-svg-i-folder-add)",n._addClick.bind(n)).on("keydown"+f,".k-listview-item.k-selected input",n._directoryKeyDown.bind(n)).on("blur"+f,".k-listview-item.k-selected input",n._directoryBlur.bind(n)),n._dataSource(),n.refresh(),n.path(n.options.path)},options:{name:"FileBrowser",messages:{uploadFile:"Upload",orderBy:"Arrange by",orderByName:"Name",orderBySize:"Size",directoryNotFound:"A directory with this name was not found.",emptyFolder:"Empty Folder",deleteFile:"Are you sure you want to delete {0}?",invalidFileType:"The selected file {0} is not valid. Supported file types are {1}.",overwriteFile:"A file with name {0} already exists in the current directory. Do you want to overwrite it?",dropFilesHere:"drop file here to upload",search:"Search"},transport:{},path:"/",fileTypes:"*.*"},events:[h,d,u],destroy:function(){var e=this;i.fn.destroy.call(e),e.dataSource.unbind(h,e._errorHandler),e.element.add(e.list).add(e.toolbar).off(f),n.destroy(e.element)},value:function(){var e,t=this,i=t._selectedItem(),o=t.options.transport.fileUrl;if(i&&"f"===i.get(_))return e=k(t.path(),i.get(v)).replace(c,""),o&&(e=l(o)?o(e):n.format(o,encodeURIComponent(e))),e},_selectedItem:function(){var e=this.listView.select();if(e.length)return this.dataSource.getByUid(e.attr(n.attr("uid")))},_toolbar:function(){var t=this,i=n.template(w),o=t.options.messages,r=[{text:o.orderByName,value:"name"},{text:o.orderBySize,value:"size"}];t.toolbar=e(i({messages:o,showUpload:t.options.transport.uploadUrl,showCreate:t.options.transport.create,showDelete:t.options.transport.destroy})).appendTo(t.element).find(".k-upload input").kendoUpload({multiple:!1,localization:{dropFilesHere:o.dropFilesHere},async:{saveUrl:t.options.transport.uploadUrl,autoUpload:!0},upload:t._fileUpload.bind(t),error:function(e){t._error({xhr:e.XMLHttpRequest,status:"error"})}}).end(),t.upload=t.toolbar.find(".k-upload input").data("kendoUpload"),t.arrangeBy=t.toolbar.find(".k-tiles-arrange select").kendoDropDownList({dataSource:r,dataTextField:"text",dataValueField:"value",change:function(){t.orderBy(this.value())}}).data("kendoDropDownList"),t.searchBox=t.toolbar.find("input[data-role='searchbox']").kendoSearchBox({label:t.options.messages.search,change:function(){t.search(this.value())}}).data("kendoSearchBox"),t._attachDropzoneEvents()},_attachDropzoneEvents:function(){var t,n,i,o,r,a=this;a.options.transport.uploadUrl&&(t=e(document.documentElement),n=a._dropEnter.bind(a),i=a._dropLeave.bind(a),t.on("dragenter"+f,(function(){n(),r=new Date,o||(o=setInterval((function(){new Date-r>100&&(i(),clearInterval(o),o=null)}),100))})).on("dragover"+f,(function(){r=new Date})),a._scrollHandler=a._positionDropzone.bind(a))},_dropEnter:function(){this._positionDropzone(),e(document).on("scroll"+f,this._scrollHandler)},_dropLeave:function(){this._removeDropzone(),e(document).off("scroll"+f,this._scrollHandler)},_positionDropzone:function(){var e=this.element,t=e.offset();this.toolbar.find(".k-dropzone").addClass("k-filebrowser-dropzone").offset(t).css({width:e[0].clientWidth,height:e[0].clientHeight,lineHeight:e[0].clientHeight+"px"})},_removeDropzone:function(){this.toolbar.find(".k-dropzone").removeClass("k-filebrowser-dropzone").css({width:"",height:"",lineHeight:"",top:"",left:""})},_deleteClick:function(){var e=this,t=e.listView.select(),i=a(n.format(e.options.messages.deleteFile,t.find(".k-file-name").text()));t.length&&e._showMessage(i,"confirm")&&e.listView.remove(t)},_addClick:function(){this.createDirectory()},_getFieldName:function(e){return function(e,t){var n=e[t];return o(n)?n.from||n.field||t:n}(this.dataSource.reader.model.fields,e)},_fileUpload:function(e){var t,i=this,o=i.options,r=o.fileTypes,s=new RegExp(("("+r.split(",").join(")|(")+")").replace(/\*\./g,".*."),"i"),l=e.files[0].name,c=e.files[0].size,d=v,u=g;s.test(l)?(e.data={path:i.path()},(t=i._createFile(l,c))?i.upload.one("success",(function(e){var o=i._insertFileToList(t);o._override&&(o.set(d,e.response[i._getFieldName(d)]),o.set(u,e.response[i._getFieldName(u)]),i.listView.dataSource.pushUpdate(o)),i._tiles=i.listView.items().filter("["+n.attr("type")+"=f]")})):e.preventDefault()):(e.preventDefault(),i._showMessage(a(n.format(o.messages.invalidFileType,l,r))))},_findFile:function(e){var t,n,i,o=this.dataSource.data(),r=_,a=v;for(e=e.toLowerCase(),t=0,i=o.length;t<i;t++)if("f"===o[t].get(r)&&o[t].get(a).toLowerCase()===e){n=o[t];break}return n},_createFile:function(e,t){var i=this,o={},r=_,s=i._findFile(e);return s?i._showMessage(a(n.format(i.options.messages.overwriteFile,e)),"confirm")?(s._override=!0,s):null:(o[r]="f",o[v]=e,o[g]=t,o)},_insertFileToList:function(e){var t;if(e._override)return e;for(var n=this.dataSource,i=n.view(),o=0,r=i.length;o<r;o++)if("f"===i[o].get(_)){t=o;break}return n.insert(++t,e)},createDirectory:function(){var e,t,i=this,o=0,r=_,a=v,s=i.dataSource.data(),l=i._nameDirectory(),c=new i.dataSource.reader.model;for(e=0,t=s.length;e<t;e++)"d"===s[e].get(r)&&(o=e);c.set(r,"d"),c.set(a,l),i.listView.one("dataBound",(function(){var e=i.listView.items().filter("["+n.attr("uid")+"="+c.uid+"]");e.length&&this.edit(e),this.element.scrollTop(e.attr("offsetTop")-this.element[0].offsetHeight),setTimeout((function(){i.listView.element.find(".k-edit-item input").select()}))})).one("save",(function(e){var t=e.model.get(a);t?e.model.set(a,i._nameExists(t,c.uid)?i._nameDirectory():t):e.model.set(a,l)})),i.dataSource.insert(++o,c)},_directoryKeyDown:function(e){13==e.keyCode&&e.currentTarget.blur()},_directoryBlur:function(){this.listView.save()},_nameExists:function(e,t){var n,i,o=this.dataSource.data(),r=_,a=v;for(n=0,i=o.length;n<i;n++)if("d"===o[n].get(r)&&o[n].get(a).toLowerCase()===e.toLowerCase()&&o[n].uid!==t)return!0;return!1},_nameDirectory:function(){var t,n,i,o="New folder",r=this.dataSource.data(),a=[],s=_,l=v;for(n=0,i=r.length;n<i;n++)"d"===r[n].get(s)&&r[n].get(l).toLowerCase().indexOf(o.toLowerCase())>-1&&a.push(r[n].get(l));if(e.inArray(o,a)>-1){n=2;do{t=o+" ("+n+")",n++}while(e.inArray(t,a)>-1);o=t}return o},orderBy:function(e){this.dataSource.sort([{field:_,dir:"asc"},{field:e,dir:"asc"}])},search:function(e){this.dataSource.filter({field:v,operator:"contains",value:e})},_content:function(){var t=this;t.list=e('<div class="k-filemanager-listview" />').appendTo(t.element).on("dblclick"+f,".k-listview-item",t._dblClick.bind(t)),t.listView=new n.ui.ListView(t.list,{layout:"flex",flex:{direction:"row",wrap:"wrap"},dataSource:t.dataSource,template:t._itemTmpl(),editTemplate:t._editTmpl(),selectable:!0,autoBind:!1,dataBinding:function(e){t.toolbar.find(".k-i-x,.k-svg-i-x").parent().addClass("k-disabled"),"remove"!==e.action&&"sync"!==e.action||(e.preventDefault(),n.ui.progress(t.listView.content,!1),n.ui.progress(t.listView.wrapper,!1))},dataBound:function(){t.dataSource.view().length?t._tiles=this.items().filter("["+n.attr("type")+"=f]"):this.content.append(y({text:t.options.messages.emptyFolder}))},change:t._listViewChange.bind(t)})},_dblClick:function(t){var i=this,o=e(t.currentTarget);if(o.hasClass("k-edit-item")&&i._directoryBlur(),o.filter("["+n.attr("type")+"=d]").length){var r=i.dataSource.getByUid(o.attr(n.attr("uid")));r&&(i.path(k(i.path(),r.get(v))),i.breadcrumbs.value("/"+i.path()))}else o.filter("["+n.attr("type")+"=f]").length&&i.trigger(u)},_listViewChange:function(){var e=this._selectedItem();e&&(this.toolbar.find(".k-i-x,.k-svg-i-x").parent().removeClass("k-disabled"),this.trigger(d,{selected:e}))},_dataSource:function(){var e=this,t=e.options,i=t.transport,a=r({},b),s={field:v,dir:"asc"},l={type:i.type||"filebrowser",sort:[a,s]};o(i)&&(i.path=e.path.bind(e),l.transport=i),o(t.schema)?l.schema=t.schema:i.type&&o(n.data.schemas[i.type])&&n.data.schemas[i.type],e.dataSource&&e._errorHandler?e.dataSource.unbind(h,e._errorHandler):e._errorHandler=e._error.bind(e),e.dataSource=n.data.DataSource.create(l).bind(h,e._errorHandler)},_navigation:function(){var t=this,n=e('<div class="k-floatwrap"><nav></nav></div>').appendTo(this.element);t.breadcrumbs=n.find("nav").first().kendoBreadcrumb({editable:!0,gap:50,value:t.options.path||"/",change:function(){t.path(this.value())}}).data("kendoBreadcrumb")},_error:function(e){var t,i=this;if(!i.trigger(h,e)){t=e.xhr.status,"error"==e.status?"404"==t?i._showMessage(n.htmlEncode(i.options.messages.directoryNotFound)):"0"!=t&&i._showMessage("Error! The requested URL returned "+t+" - "+e.xhr.statusText):"timeout"==t&&i._showMessage("Error! Server timeout.");var o=i.dataSource;o.hasChanges()&&o.cancelChanges()}},_showMessage:function(e,t){return window[t||"alert"](e)},refresh:function(){var e=this;e._navigation(),e._toolbar(),e._content()},_editTmpl:function(){return n.template((e=>`<div class="k-listview-item k-selected" ${n.attr("uid")}="${e.uid}">`+("d"===e[_]?'<div class="k-file-preview">'+n.ui.icon({icon:"folder",iconClass:"k-file-icon",size:"xxxlarge"})+"</div>":'<div class="k-file-preview"><span class="k-file-icon k-icon k-i-loading"></span></div>')+("d"===e[_]?`<span class="k-file-name">\n <span class="k-textbox k-input k-input-md k-rounded-md k-input-solid">\n <input class="k-input-inner" ${n.attr("bind")}="value:${v}"/>\n </span>\n </span>`:"")+"</div>"))},_itemTmpl:function(){return n.template((e=>`<div class="k-listview-item" ${n.attr("uid")}="${e.uid}" ${n.attr("type")}="${e[_]}">`+("d"===e[_]?'<div class="k-file-preview">'+n.ui.icon({icon:"folder",iconClass:"k-file-icon",size:"xxxlarge"})+"</div>":'<div class="k-file-preview">'+n.ui.icon({icon:"file",iconClass:"k-file-icon",size:"xxxlarge"})+"</div>")+`<span class="k-file-name">${e[v]}</span>`+("f"===e[_]?`<span class="k-file-size">${function(e){if(!e)return"";var t=" bytes";return e>=1073741824?(t=" GB",e/=1073741824):e>=1048576?(t=" MB",e/=1048576):e>=1024&&(t=" KB",e/=1024),Math.round(100*e)/100+t}(e[g])}</span>`:"")+"</div>"))},path:function(e){var n=this,i=n._path||"";return e!==t?(n._path=e.replace(c,"")+"/",void n.dataSource.read({path:n._path})):(i&&(i=i.replace(c,"")),"/"===i||""===i?"":i+"/")}}),C=i.extend({init:function(e,t){var n=this;t=t||{},i.fn.init.call(n,e,t),s&&n.element.attr("placeholder",n.options.label),n._wrapper(),n.element.on("keydown"+m,n._keydown.bind(n)).on("change"+m,n._updateValue.bind(n)),n.wrapper.on(p+m,"a",n._click.bind(n)),s||n.element.on("focus"+m,n._focus.bind(n)).on("blur"+m,n._blur.bind(n))},options:{name:"SearchBox",label:"Search",value:""},events:[d],destroy:function(){var e=this;e.wrapper.add(e.element).add(e.label).off(m),i.fn.destroy.call(e)},_keydown:function(e){13===e.keyCode&&this._updateValue()},_click:function(e){e.preventDefault(),this._updateValue()},_updateValue:function(){var e=this,t=e.element.val();t!==e.value()&&(e.value(t),e.trigger(d))},_blur:function(){this._updateValue(),this._toggleLabel()},_toggleLabel:function(){s||this.label.toggle(!this.element.val())},_focus:function(){this.label.hide()},_wrapper:function(){var t=this.element,i=t.parents(".k-search-wrap");t[0].style.width="",t.addClass("k-input-inner"),i.length||(i=t.wrap(e('<div class="k-widget k-search-wrap"><span class="k-textbox k-input k-input-md k-rounded-md k-input-solid"></span></div>')).parents(".k-search-wrap"),s||e("<label>"+this.options.label+"</label>").css("display","block").insertBefore(t),e('<span class="k-input-suffix">'+n.ui.icon(e('<a href="#" />'),{icon:"search",iconClass:"k-search"})+"</span>").appendTo(i.find(".k-textbox"))),this.wrapper=i,this.label=i.find(">label")},value:function(e){var n=this;return e!==t?(n.options.value=e,n.element.val(e),void n._toggleLabel()):n.options.value}});n.ui.plugin(x),n.ui.plugin(C)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.FileBrowser,o=e.isPlainObject,r=e.extend,a=n.isFunction,s=/(^\/|\/$)/g,l="error",c=".kendoImageBrowser",d="name",u="size",h="type",p={field:h,dir:"asc"},f=n.template((({text:e})=>`<div class="k-listview-item k-listview-item-empty"><span class="k-file-preview">${n.ui.icon({icon:"none",iconClass:"k-file-icon"})}</span><span class="k-file-name">${n.htmlEncode(e)}</span></div>`));r(!0,n.data,{schemas:{imagebrowser:{data:function(e){return e.items||e||[]},model:{id:"name",fields:{name:"name",size:"size",type:"type"}}}}}),r(!0,n.data,{transports:{imagebrowser:n.data.RemoteTransport.extend({init:function(t){n.data.RemoteTransport.fn.init.call(this,e.extend(!0,{},this.options,t))},_call:function(t,i){i.data=e.extend({},i.data,{path:this.options.path()}),a(this.options[t])?this.options[t].call(this,i):n.data.RemoteTransport.fn[t].call(this,i)},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"}}})}});var m=i.extend({init:function(e,t){t=t||{},i.fn.init.call(this,e,t),this.element.addClass("k-imagebrowser")},options:{name:"ImageBrowser",fileTypes:"*.png,*.gif,*.jpg,*.jpeg"},value:function(){var e,i=this,o=i._selectedItem(),r=i.options.transport.imageUrl;if(o&&"f"===o.get(h))return e=function(e,n){return e!==t&&e.match(/\/$/)||(e=(e||"")+"/"),e+n}(i.path(),o.get(d)).replace(s,""),r&&(e=a(r)?r(e):n.format(r,encodeURIComponent(e))),e},_fileUpload:function(e){var i,o=this,r=o.options,a=r.fileTypes,s=new RegExp(("("+a.split(",").join(")|(")+")").replace(/\*\./g,".*."),"i"),l=e.files[0].name,c=e.files[0].size,h=d,p=u;s.test(l)?(e.data={path:o.path()},(i=o._createFile(l,c))?(i._uploading=!0,o.upload.one("error",(function(){i=t})),o.upload.one("success",(function(e){if(i){delete i._uploading;var t=o._insertFileToList(i);t.set(h,e.response[o._getFieldName(h)]),t.set(p,e.response[o._getFieldName(p)]),o._tiles=o.listView.items().filter("["+n.attr("type")+"=f]"),o._scroll()}}))):e.preventDefault()):(e.preventDefault(),o._showMessage(n.htmlEncode(n.format(r.messages.invalidFileType,l,a))))},_content:function(){var t=this;t.list=e('<div class="k-filemanager-listview" />').appendTo(t.element).on("dblclick"+c,".k-listview-item",t._dblClick.bind(t)),t.listView=new n.ui.ListView(t.list,{layout:"flex",flex:{direction:"row",wrap:"wrap"},dataSource:t.dataSource,template:t._itemTmpl(),editTemplate:t._editTmpl(),selectable:!0,autoBind:!1,dataBinding:function(e){t.toolbar.find(".k-i-x,.k-svg-i-x").parent().addClass("k-disabled"),"remove"!==e.action&&"sync"!==e.action||(e.preventDefault(),n.ui.progress(t.listView.content,!1),n.ui.progress(t.listView.wrapper,!1))},dataBound:function(){t.dataSource.view().length?(t._tiles=this.items().filter("["+n.attr("type")+"=f]"),t._scroll()):this.content.append(f({text:t.options.messages.emptyFolder}))},change:t._listViewChange.bind(t)}),t.listView.content.on("scroll"+c,t._scroll.bind(t))},_dataSource:function(){var e=this,t=e.options,i=t.transport,a=r({},p),s={field:d,dir:"asc"},c={type:i.type||"imagebrowser",sort:[a,s]};o(i)&&(i.path=e.path.bind(e),c.transport=i),o(t.schema)?c.schema=t.schema:i.type&&o(n.data.schemas[i.type])&&n.data.schemas[i.type],e.dataSource&&e._errorHandler?e.dataSource.unbind(l,e._errorHandler):e._errorHandler=e._error.bind(e),e.dataSource=n.data.DataSource.create(c).bind(l,e._errorHandler)},_loadImage:function(t){var i=this,o=e(t),r=i.dataSource.getByUid(o.attr(n.attr("uid"))),s=r.get(d),l=i.options.transport.thumbnailUrl,u=e("<img />",{alt:s}),h="?";r._uploading||(u.hide().on("load"+c,(function(){e(this).prev().remove().end().addClass("k-image k-file-image").fadeIn()})),o.find(".k-i-loading").after(u),a(l)?l=l(i.path(),encodeURIComponent(s)):(l.indexOf("?")>=0&&(h="&"),l=l+h+"path="+encodeURIComponent(i.path()+s),r._override&&(l+="&_="+(new Date).getTime(),delete r._override)),u.attr("src",l),t.loaded=!0)},_scroll:function(){var t=this;t.options.transport&&t.options.transport.thumbnailUrl&&(clearTimeout(t._timeout),t._timeout=setTimeout((function(){var i=n._outerHeight(t.listView.content),o=t.listView.content.scrollTop(),r=o+i;t._tiles.each((function(){var n,i=(n=this).offsetTop-e(n).height(),a=i+this.offsetHeight;if((i>=o&&i<r||a>=o&&a<r)&&t._loadImage(this),i>r)return!1})),t._tiles=t._tiles.filter((function(){return!this.loaded}))}),250))},_itemTmpl:function(){var e=this;return n.template((t=>{const i=e.options.transport&&e.options.transport.thumbnailUrl;return`<div class="k-listview-item" ${n.attr("uid")}="${t.uid}" ${n.attr("type")}="${t[h]}">`+("d"===t[h]?`<div class="k-file-preview">${n.ui.icon({icon:"folder",iconClass:"k-file-icon"})}</div>`:`<div class="k-file-preview">${i?'<span class="k-file-icon k-icon k-i-loading"></span>':n.ui.icon({icon:"file",iconClass:"k-file-icon"})}</div>`)+`<span class="k-file-name">${t[d]}</span>`+("f"===t[h]?`<span class="k-file-size">${function(e){if(!e)return"";var t=" bytes";return e>=1073741824?(t=" GB",e/=1073741824):e>=1048576?(t=" MB",e/=1048576):e>=1024&&(t=" KB",e/=1024),Math.round(100*e)/100+t}(t[u])}</span>`:"")+"</div>"}))}});n.ui.plugin(m)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui,i=".kendoForm",o=n.Widget,r=e.extend,a=t.htmlEncode,s="validate",l="validateField",c="change",d="click"+i,u="submit",h="clear",p="equalSet",f="group",m="aria-describedby",v="data-stop",g="data-role",_=".",b="[data-role='otpinput']",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"},w="horizontal",k="vertical",x=o.extend({init:function(e,n){var i=this;o.fn.init.call(i,e,n),i.options=t.deepExtend({},i.options,n),n&&n.formData&&(i.options.formData=n.formData),i._wrapper(),i._setFields(),i._setModel(),i._renderContainers(),i.options.renderButtons&&i._renderButtons(),i._editable(),i._renderBoolLabels(),i._renderFieldsHints(),i._setEvents(),i._applyCssClasses()},events:[l,s,c,u,h],options:{name:"Form",orientation:k,validatable:{validateOnBlur:!0,validationSummary:!1,errorTemplate:null},buttonsTemplate:null,messages:{submit:"Submit",clear:"Clear",optional:"(Optional)"},layout:"",grid:{},clearButton:!0,formData:{},items:[],formatLabel:null,focusFirst:!1,renderButtons:!0,size:"medium"},_noLabelfieldTemplate:({styles:e,colSpan:t,hidden:n,field:i})=>`<div class='${a(e.field)} ${t?`k-col-span-${a(t)}`:""} ${n?a(e.hidden):""}'><span class='${a(e.label)} ${a(e.emptyLabel)}'></span><div class='k-form-field-wrap' data-container-for='${a(i)}'></div></div>`,_fieldTemplate:({styles:e,colSpan:t,hidden:n,field:i,label:o,id:r,optional:s})=>`<div class='${a(e.field)} ${t?`k-col-span-${a(t)}`:""} ${n?`${a(e.hidden)}`:""}'>`+(o&&!n?`<label class='${a(e.label)}' for='${a(r)}' id='${a(r)}-form-label'>`+(void 0!==o.encoded&&!1===o.encoded?o.text||o:a(o.text||o))+(o.optional?`<span class='${a(e.optional)}'>${a(s)}</span>`:"")+"</label>":"")+`<div class='k-form-field-wrap' data-container-for='${a(i)}'></div></div>`,_boolLabelTemplate:({styles:e,colSpan:t,hidden:n,field:i,label:o,id:r,optional:s})=>`<label class='k-checkbox-label' for='${a(r)}' id='${a(r)}-form-label'>`+(void 0!==o.encoded&&!1===o.encoded?o.text||o:a(o.text||o))+(o.optional?`<span class='${a(e.optional)}'>${a(s)}</span>`:"")+"</label>",_groupTemplate:({styles:e,colSpan:t,label:n})=>`<fieldset class='${a(e.fieldset)} ${t?`k-col-span-${a(t)}`:""}'><legend class='${a(e.legend)}'>${a(n.text||n)}</legend></fieldset>`,_errorTemplate:({field:e,message:t})=>`<span class='k-form-error' id='${e}-form-error'><div>${t}</div></span>`,_hintTemplate:({id:e,message:t})=>`<div class='k-form-hint' id='${e}-form-hint'><span>${t}</span></div>`,_wrapper:function(){var e=this,t=e.options,n=x.styles,i=t.width,o=t.height;e.wrapper=e.element.addClass(n.form).addClass(n[t.orientation]),o&&e.wrapper.height(o),i&&e.wrapper.css("max-width",i),e.layoutWrapper=e._setupLayoutContainer(e.wrapper,{grid:t.grid,layout:t.layout})},_flattenFields:function(e){for(var t=[].concat(e),n=t.shift(),i=[],o=[].push;n;)n.items?o.apply(t,n.items):o.call(i,n),n=t.shift();return i},_defaultLabel:function(e){var n=this.options.formatLabel;if(e.length)return t.isFunction(n)?n(e):e.split(/(.*[a-z])(?=[A-Z])/).join(" ").trim()+":"},_formatLabel:function(t,n){return undefined!==(e.isPlainObject(n)?n.text:n)?n:this._defaultLabel(t)},_defaultFields:function(){var e,t=this.options,n=Object.keys(t.formData||{}),i=t.items||{},o=[];if(i.length)return i;for(var r=0;r<n.length;r+=1)e=n[r],o.push({field:e,id:e});return o},_setFields:function(){var e,i,o,a,s,l=this,c=l._flattenFields(l._defaultFields()),d=l.options.formData||{};for(var u in l._fields=[],c)i=d[(e=c[u]).field],o="string"==typeof e.editor?e.editor:t.type(i&&t.parseDate(i.toString())||i),a=t.isFunction(e.editor)?e.editor:n.Editable.fn.options.editors[o]?"":e.editor,l._isHidden(e.editor)||(e.label?s={"aria-labelledby":e.id||e.field+"-form-label"}:e.attributes&&e.attributes["aria-label"]||(s={"aria-label":e.name||e.field})),e=r(!0,{label:e.label||e.name||e.field,optionalText:l.options.messages.optional},e,{id:e.id||e.field,name:e.name||e.field,type:o,editor:a,attributes:s,isHidden:l._isHidden(e.editor)||l._isAntiForgeryToken(e.name||e.field)}),l._fields[u]=e},_setModel:function(){var e=this,n=e.options,i=n.formData||{};if(n.formData instanceof t.data.ObservableObject)e._model=i;else{var o=t.data.Model.define({fields:e._fields});e._model=new o(i)}},_editable:function(){var e=this,t=e.options,n=e.options.validatable;e._addEditableMvvmAttributes(),e.editable=e.wrapper.kendoEditable({model:e._model,fields:e._fields||[],validateOnBlur:n.validateOnBlur,validationSummary:n.validationSummary,errorTemplate:n.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(g,"editable")},_removeEditableMvvmAttributes:function(){this.wrapper.attr(v,!0).attr(g,"form")},_getItemTemplate:function(e){return e===f?this._groupTemplate:this._fieldTemplate},_isHidden:function(e){return"string"==typeof e&&"hidden"===e},_isAntiForgeryToken:function(e){return e===n.Editable.antiForgeryTokenName},_renderField:function(e){var n,i=this,o=x.styles,r=i.options.orientation===w,a=i._model.fields&&i._model.fields[e.field]&&i._model.fields[e.field].type,s=a&&"boolean"===a;return n=s&&r&&!e.editor?i._noLabelfieldTemplate:i._fieldTemplate,t.template(n)({styles:o,id:e.id||e.field||"",field:e.field||"",label:s&&!e.editor?null:i._formatLabel(e.field,e.label),colSpan:e.colSpan||"",optional:i.options.messages.optional,hidden:i._isHidden(e.editor)||i._isAntiForgeryToken(e.field)})},_toggleFieldErrorState:function(e,t){var n=e.closest(_+y.field);n.length&&n.toggleClass(y.fieldError,t)},_renderBoolLabels:function(){for(var e,n,i=this,o=x.styles,r=i._fields,a=0;a<r.length;a+=1)e=r[a],(n=i.wrapper.find("[name='"+e.name+"']:not([type='hidden'])"))&&e.label&&!e.isHidden&&"boolean"===e.type&&!e.editor&&n.parent().after(t.template(i._boolLabelTemplate)({styles:o,id:e.id||e.field||"",optional:i.options.messages.optional,label:i._formatLabel(e.field,e.label)}))},_renderFieldsHints:function(){for(var n,i,o,r,a,s=this,l=s._fields,c=0;c<l.length;c+=1)n=l[c],(o=s.wrapper.find(`[name='${n.name}'],[id='${n.name}']`))&&n.hint&&!n.isHidden&&(a=e(t.template(s._hintTemplate)({message:n.hint||"",id:n.id})),s._associateHintContainer(o,a.attr("id")),(i=t.widgetInstance(o))&&(o=(r=i.element.next("label[for='"+i.element.attr("id")+"']")).length?r:i.wrapper),s.validator._errorsByName(n.name).length&&(a.toggleClass(y.hidden),t.removeAttribute(o,m,a.attr("id"))),a.insertAfter(o))},_associateHintContainer:function(e,n){var i=t.getWidgetFocusableElement(e);i&&n&&t.toggleAttribute(i,m,n)},_toggleHint:function(e,t){var n,i=e.closest(_+y.field);i.length&&(n=i.find(_+y.fieldHint)).length&&(n.toggleClass(y.hidden,t),this._associateHintContainer(e,n.attr("id")))},_renderGroup:function(n){var i,o,r,a=this,s=n.type;r=o=e(t.template(a._getItemTemplate(s))({styles:y,label:n.label||"",colSpan:n.colSpan})),r=a._setupLayoutContainer(o,{grid:n.grid,layout:n.layout})||o;for(var l=0;l<n.items.length;l+=1)i=n.items[l],r.append(a._renderField(i));return o},_renderContainers:function(){for(var e,t,n=this,i=n._defaultFields(),o="grid"===n.options.layout?n.layoutWrapper:n.wrapper,r=0;r<i.length;r+=1)t=(e=i[r]).type===f?n._renderGroup(e):n._renderField(e),o.append(t)},_buttonsTemplate:function(){var n,i,o,r=this.options,s=r.messages,l=x.styles;return null!==r.buttonsTemplate?n=t.template(r.buttonsTemplate)({styles:l,messages:s}):(n=i=e("<button class='"+l.submit+"'>"+a(s.submit)+"</button>").kendoButton({type:"submit",themeColor:"primary",size:r.size}),r.clearButton&&(o=e("<button class='"+l.clear+"'>"+a(s.clear)+"</button>").kendoButton({size:r.size}),n=i.add(o))),n},_renderButtons:function(){var t,n=this,i=n.wrapper,o=n.options,r=x.styles,a=o.orientation===w,s=i.find(_+r.buttonsContainer);s.length||(s=e("<div />").addClass(r.buttonsContainer).addClass(a?r.buttonsEnd:"")),t=n._buttonsTemplate(),s.append(t),n.element.append(s)},_setupLayoutContainer:function(t,n){var i,o=n.layout,r=n.grid,a=[];return"string"==typeof o&&""!==o&&(i=e("<div></div>").appendTo(t).addClass(y.layout),a.push("k-d-"+o)),"grid"===o&&"object"==typeof r&&("number"==typeof r.cols?a.push("k-grid-cols-"+r.cols):"string"==typeof r.cols&&i.css("grid-template-columns",r.cols),a.push("k-gap-x-"+r.cols)),i&&i.addClass(a.join(" ")),i},_setEvents:function(){var e=this;e.validator.bind("validateInput",e._validateField.bind(e)).bind(s,e._validate.bind(e)),e.wrapper.on(u+i,e._submit.bind(e)).on(h+i,e._clear.bind(e)).on(d+i,_+y.clear,e._clear.bind(e)),e._changeHandler||(e._changeHandler=e._change.bind(e)),e._model.bind(c,e._changeHandler)},_validateField:function(e){var t=this,n={model:t._model.toJSON(),valid:e.valid,field:e.field,error:e.error,input:e.input};t._toggleFieldErrorState(n.input,!n.valid),t._toggleHint(n.input,!n.valid),t.trigger(l,n)&&e.preventDefault()},_validate:function(e){var t={model:this._model.toJSON(),valid:e.valid,errors:e.errors};this.trigger(s,t)},_change:function(e){var t=e.field,n={field:t,value:this._model[t]};this.trigger(c,n)},_submit:function(e){var t=this._model.toJSON();this.trigger(u,{model:t})&&e.preventDefault()},_clear:function(e){e.preventDefault(),this.clear(),this.trigger(h)},validate:function(){var e=this.validator;if(e)return e.validate()},clear:function(){var e=this,n=e._fields,i=e._model,o=e.editable,r=e.validator.options.validateOnBlur;e.validator.reset(),r&&i.unbind("set").unbind(p);for(var a=0;a<n.length;a+=1){var s=n[a].field,l=e.wrapper.find("[name='"+s+"']"),c=t.widgetInstance(l),d=l.is("input[type=hidden]");(l.is("[data-role='checkboxgroup']")||l.is("[data-role='radiogroup']")||d)&&!l.is(b)||l.val(""),!c&&l.is(b)&&(c=t.widgetInstance(l)),!c&&l.hasClass("k-hidden")&&(c=t.widgetInstance(l.closest(".k-signature"))),c&&(t.ui.Upload&&c instanceof t.ui.Upload?c.clearAllFiles():t.ui.OtpInput&&c instanceof t.ui.OtpInput?(c._emptyValues(),c.value(null)):c.value(null)),e._toggleHint(l,!1),"boolean"==typeof i[s]?(l.val("false"),i.set(s,!1)):d||i.set(s,null)}e.wrapper.find(_+y.fieldError).removeClass(y.fieldError),r&&i.bind("set",o._validateProxy).bind(p,o._validateProxy)},setOptions:function(e){var t=this;t.destroy(),t.wrapper.removeClass(y.horizontal).removeAttr(v).empty(),t.init(t.element,e)},destroy:function(){var e=this;e.wrapper.off(i),e._model&&(e._model.unbind(c,e._changeHandler),e._changeHandler=null),o.fn.destroy.call(e.editable),o.fn.destroy.call(e),e.editable&&(e.editable.destroy(),e.editable=null)}});t.cssProperties.registerPrefix("Form","k-form-"),n.plugin(x),r(!0,x,{styles:y})}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui.Widget,i=t._outerWidth,o=t._outerHeight,r="start",a="beforeMove",s="move",l="end",c="change",d="cancel",u="sort",h="remove",p="receive";function f(e){return e.clone()}function m(e){return e.clone().removeAttr("id").css("visibility","hidden")}var v=n.extend({init:function(e,t){var i=this;n.fn.init.call(i,e,t),i.options.placeholder||(i.options.placeholder=m),i.options.hint||(i.options.hint=f),i.draggable=i._createDraggable()},events:[r,a,s,l,c,d],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,allowTouchActions:!1},destroy:function(){this.draggable.destroy(),n.fn.destroy.call(this)},_createDraggable:function(){var n=this,i=n.element,o=n.options;return new t.ui.Draggable(i,{filter:o.filter,hint:t.isFunction(o.hint)?o.hint:e(o.hint),holdToDrag:o.holdToDrag,container:o.container?e(o.container):null,cursorOffset:o.cursorOffset,axis:o.axis,ignore:o.ignore,autoScroll:o.autoScroll,dragstart:n._dragstart.bind(n),dragcancel:n._dragcancel.bind(n),drag:n._drag.bind(n),dragend:n._dragend.bind(n),allowTouchActions:o.allowTouchActions})},_dragstart:function(n){var i=this.draggedElement=n.currentTarget,o=this.options.disabled,a=this.options.handler,s=this.options.placeholder,l=this.placeholder=t.isFunction(s)?e(s.call(this,i)):e(s);o&&i.is(o)||a&&!e(n.initialTarget).is(a)||this.trigger(r,{item:i,draggableEvent:n})?n.preventDefault():(i.css("display","none"),i.before(l),this._setCursor())},_dragcancel:function(){this._cancel(),this.trigger(d,{item:this.draggedElement}),this._resetCursor()},_drag:function(t){var n,i,o,r,a,s=this.draggedElement,l=this._findTarget(t),c={left:t.x.location,top:t.y.location},d={x:t.x.delta,y:t.y.delta},u=this.options.axis,h=this.options.moveOnDragEnter,p={item:s,list:this,draggableEvent:t};if("x"!==u&&"y"!==u){if(l){if(n=this._getElementCenter(l.element),i={left:Math.round(c.left-n.left),top:Math.round(c.top-n.top)},e.extend(p,{target:l.element}),l.appendToBottom)return void this._movePlaceholder(l,null,p);if(l.appendAfterHidden&&this._movePlaceholder(l,"next",p),this._isFloating(l.element)?d.x<0&&h||!h&&i.left<0?o="prev":(d.x>0&&h||!h&&i.left>0)&&(o="next"):d.y<0&&h||!h&&i.top<0?o="prev":(d.y>0&&h||!h&&i.top>0)&&(o="next"),o){for(r=(a="prev"===o?jQuery.fn.prev:jQuery.fn.next).call(l.element);r.length&&!r.is(":visible");)r=a.call(r);r[0]!=this.placeholder[0]&&this._movePlaceholder(l,o,p)}}}else this._movementByAxis(u,c,d[u],p)},_dragend:function(t){var n,i,o,r,a=this.placeholder,s=this.draggedElement,d=this.indexOf(s),f=this.indexOf(a),m=this.options.connectWith;this._resetCursor(),o={action:u,item:s,oldIndex:d,newIndex:f,draggableEvent:t},f>=0?i=this.trigger(l,o):(n=a.parents(m).getKendoSortable(),o.action=h,r=e.extend({},o,{action:p,oldIndex:-1,newIndex:n.indexOf(a)}),i=!(!this.trigger(l,o)&&!n.trigger(l,r))),i||f===d?this._cancel():(a.replaceWith(s),s.show(),this.draggable.dropped=!0,o={action:-1!=this.indexOf(s)?u:h,item:s,oldIndex:d,newIndex:this.indexOf(s),draggableEvent:t},this.trigger(c,o),n&&(r=e.extend({},o,{action:p,oldIndex:-1,newIndex:n.indexOf(s)}),n.trigger(c,r)))},_findTarget:function(t){var n,i,o=this._findElementUnderCursor(t),r=this.options.connectWith;return e.contains(this.element[0],o)?(i=(n=this.items()).filter(o)[0]||n.has(o)[0])?{element:e(i),sortable:this}:null:this.element[0]==o&&this._isEmpty()?{element:this.element,sortable:this,appendToBottom:!0}:this.element[0]==o&&this._isLastHidden()?{element:i=this.items().eq(0),sortable:this,appendAfterHidden:!0}:r?this._searchConnectedTargets(o,t):void 0},_findElementUnderCursor:function(n){var i=t.elementUnderCursor(n),o=n.sender;return function(t,n){try{return e.contains(t,n)||t==n}catch(e){return!1}}(o.hint[0],i)&&(o.hint.hide(),(i=t.elementUnderCursor(n))||(i=t.elementUnderCursor(n)),o.hint.show()),i},_searchConnectedTargets:function(t,n){for(var i,o,r,a=e(this.options.connectWith),s=0;s<a.length;s++)if(i=a.eq(s).getKendoSortable(),e.contains(a[s],t)){if(i)return(r=(o=i.items()).filter(t)[0]||o.has(t)[0])?(i.placeholder=this.placeholder,{element:e(r),sortable:i}):null}else if(a[s]==t){if(i&&i._isEmpty())return{element:a.eq(s),sortable:i,appendToBottom:!0};if(this._isCursorAfterLast(i,n))return{element:r=i.items().last(),sortable:i}}},_isCursorAfterLast:function(e,n){var r,a=e.items().last(),s=n.x.location,l=n.y.location;return(r=t.getOffset(a)).top+=o(a),r.left+=i(a),(this._isFloating(a)?r.left-s:r.top-l)<0},_movementByAxis:function(t,n,i,o){var r,a="x"===t?n.left:n.top,s=i<0?this.placeholder.prev():this.placeholder.next(),l=this.items();s.length&&!s.is(":visible")&&(s=i<0?s.prev():s.next()),l.filter(s).length&&(e.extend(o,{target:s}),(r=this._getElementCenter(s))&&(r="x"===t?r.left:r.top),s.length&&i<0&&a-r<0?this._movePlaceholder({element:s,sortable:this},"prev",o):s.length&&i>0&&a-r>0&&this._movePlaceholder({element:s,sortable:this},"next",o))},_movePlaceholder:function(e,t,n){var i=this.placeholder;e.sortable.trigger(a,n)||(t?"prev"===t?e.element.before(i):"next"===t&&e.element.after(i):e.element.append(i),e.sortable.trigger(s,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 n=e.length?t.getOffset(e):null;return n&&(n.top+=o(e)/2,n.left+=i(e)/2),n},_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")}});t.ui.plugin(v)}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui,o=n.keys,r=e.map,a=e.each,s=n.trim,l=e.extend,c=n.isFunction,d=(n.template,n._outerWidth),u=n._outerHeight,h=i.Widget,p=/^(a|div)$/i,f=".kendoTabStrip",m="href",v="prev",g="next",_="show",b="k-link",y="k-link-text",w="k-last",k="click",x="k-image",C="k-first",z="select",S="activate",T="k-tabstrip-content",M="contentUrl",I="mouseenter",H="contentLoad",D="k-disabled",E="k-active",A="k-focus",V="k-hover",P=".k-item.k-tabstrip-item:not(."+D+")",B=".k-item.k-tabstrip-item",F=".k-tabstrip-items > "+P+":not(."+E+")",O="aria-hidden",L="aria-controls",R="aria-disabled",N="aria-selected",U="aria-labelledby",j={content:e=>`<div class='k-tabstrip-content' ${e.contentAttributes(e)} tabindex='0'>${e.content(e.item)}</div>`,textWrapper:({tag:e,item:t,contentUrl:n,textAttributes:i,image:o,sprite:r,text:a})=>`<${e(t)} class='${b}' ${n(t)} ${i(t)}>${o(t)}${r(t)}<span class='${y}'>${a(t)}</span></${e(t)}>`,item:e=>j.itemWrapper(e,`${e.textWrapper(e)}`),itemWrapper:(e,t)=>`<li class='${e.wrapperCssClass(e.group,e.item)}' role='tab' ${e.item.active?"aria-selected='true'":""}>`+t+"</li>",image:({imageUrl:e})=>`<img class='k-image' alt='' src='${e}' />`,sprite:({spriteCssClass:e})=>`<span class='k-sprite ${e}'></span>`,empty:()=>""},W={wrapperCssClass:function(e,t){var n=["k-item","k-tabstrip-item"],i=t.index;return!1===t.enabled&&n.push("k-disabled"),0===i&&n.push("k-first"),i==e.length-1&&n.push("k-last"),n.join(" ")},textAttributes:function(e){return e.url?" href='"+n.sanitizeLink(e.url)+"'":""},text:function(e){return!1===e.encoded?e.text:n.htmlEncode(e.text)},tag:function(e){return e.url?"a":"span"},contentAttributes:function(e){return!0!==e.active?` ${n.attr("style-display")}="none" aria-hidden='true'`:""},content:function(e){return e.content?e.content:e.contentUrl?"":" "},contentUrl:function(e){return e.contentUrl?n.attr("content-url")+'="'+e.contentUrl+'"':""}};function $(t){t.children("img").addClass(x),t.children("a").addClass(b).children("img").addClass(x),t.filter("li[disabled]").addClass(D).attr(R,"true").prop("disabled",!1),t.filter(":not([class*=k-state])").children("a").filter(":focus").parent().addClass(E),t.attr("role","tab"),t.each((function(){var t=e(this);t.attr(N,t.is("."+E)),t.children("."+b).length||t.contents().filter((function(){return!(this.nodeName.match(p)||3==this.nodeType&&!s(this.nodeValue))})).wrapAll("<span UNSELECTABLE='on' class='"+b+"'/>").wrapAll("<span UNSELECTABLE='on' class='"+y+"'/>")}))}function q(e){const t=e.children(".k-item.k-tabstrip-item");t.filter(".k-first:not(:first-child)").removeClass(C),t.filter(".k-last:not(:last-child)").removeClass(w),t.filter(":first-child").addClass(C),t.length>1&&t.filter(":last-child").addClass(w)}function G(e,t){return`<span aria-hidden='true' class='k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-tabstrip-${e}' unselectable='on'>${n.ui.icon({icon:t,iconClass:"k-button-icon"})}</span>`}function K(){var t=this,n=e.ajaxSettings.xhr(),i=t.progressUpload?"progressUpload":!!t.progress&&"progress";return n&&e.each([n,n.upload],(function(){this.addEventListener&&this.addEventListener("progress",(function(e){i&&t[i](e)}),!1)})),t.noProgress=!(window.XMLHttpRequest&&"upload"in new XMLHttpRequest),n}var Y=h.extend({init:function(e,t){var i,o=this;h.fn.init.call(o,e,t),o._animations(o.options),t=o.options,o._contentUrls=t.contentUrls||[],o._wrapper(),o._isRtl=n.support.isRtl(o.wrapper),o._updateClasses(),o._dataSource(),o._tabindex(o.tabGroup),o.tabGroup.attr("role","tablist"),t.dataSource&&o.dataSource.fetch(),o._removeAdditionalWrapperClasses(),o._tabSizes(),o._tabPosition(),o._scrollable(),o._tabAlignment(),o._sortable(),o._processContentUrls(),o._attachEvents(),o.options.value&&(i=o.options.value),o._initialActivate(),o.value(i),n.notify(o),o._showWatermarkOverlay&&o._showWatermarkOverlay(o.element[0])},events:[z,S,_,"error",H,"change","dataBinding","dataBound"],options:{name:"TabStrip",dataEncodedField:"",dataTextField:"",dataContentField:"",dataImageUrlField:"",dataUrlField:"",dataSpriteCssClass:"",dataContentUrlField:"",tabPosition:"top",tabAlignment:"start",size:"medium",tabTemplate:null,animation:{open:{effects:"expand:vertical fadeIn",duration:200},close:{duration:200}},collapsible:!1,navigatable:!0,contentUrls:!1,applyMinHeight:!0,scrollable:{distance:200,scrollButtonsPosition:"split",scrollButtons:"auto"},sortable:!1},setDataSource:function(e){var t=this;t.options.dataSource=e,t._dataSource(),t.dataSource.fetch()},setOptions:function(e){var t=this,n=t.options.animation;t._animations(e),e.contentUrls&&(t._contentUrls=e.contentUrls),e.animation=l(!0,n,e.animation),e.navigatable?t.tabGroup.on("keydown"+f,t._keyDownProxy):t.tabGroup.off("keydown"+f,t._keyDownProxy),h.fn.setOptions.call(t,e)},activateTab:function(e){if(!this.tabGroup.children("[data-animating]").length){e=this.tabGroup.find(e);var t=this,i=t.options.animation,o=i.open,r=l({},i.close),a=r&&"effects"in r,s=e.parent().children(),c=s.filter("."+E),d=s.index(e);r=l(a?r:l({reverse:!0},o),{hide:!0}),n.size(o.effects)?(c.kendoRemoveClass(E,{duration:r.duration}),e.kendoRemoveClass(V,{duration:r.duration})):(c.removeClass(E),e.removeClass(V));var h=t.contentAnimators;if(t.inRequest&&(t.xhr.abort(),t.inRequest=!1),0===h.length)return t.tabGroup.find("."+E),e.addClass(E),t._current(e,!0),t.trigger("change"),t._scrollableModeActive&&t._scrollTabsToItem(e),!1;var p=h.filter("."+E),f=t.contentHolder(d),m=f.closest(".k-tabstrip-content");if(t.tabsHeight=u(t.tabGroup)+parseInt(t.wrapper.css("border-top-width"),10)+parseInt(t.wrapper.css("border-bottom-width"),10),0===f.length)return p.removeClass(E).attr(O,!0).kendoStop(!0,!0).kendoAnimate(r),!1;e.attr("data-animating",!0);var v=!(!e.children("."+b).data(M)&&!t._contentUrls[d])&&f.is(":empty"),g=function(){c.attr(N,!1),e.attr(N,!0),t.tabGroup.attr("aria-activedescendant",e.attr("id")),t._current(e,!0),m.addClass(E).removeAttr(O).kendoStop(!0,!0).kendoAnimate(l({init:function(){t.trigger(_,{item:e[0],contentElement:f[0]}),n.resize(f)}},o,{complete:function(){t.element.css("min-height",w),e.removeAttr("data-animating"),t.trigger(S,{item:e[0],contentElement:f[0]}),n.resize(f)}}))},y=function(){v?(e.removeAttr("data-animating"),t.ajaxRequest(e,f,(function(){e.attr("data-animating",!0),g(),t.trigger("change")}))):(g(),t.trigger("change")),t._scrollableModeActive&&t._scrollTabsToItem(e)},w=t.element.css("min-height");return t.options.applyMinHeight&&t.element.css("min-height",t.element.outerHeight()),p.removeClass(E),t.tabGroup.find("."+E),n.size(o.effects)?e.kendoAddClass(E,{duration:o.duration}):e.addClass(E),p.attr(O,!0),p.length?p.kendoStop(!0,!0).kendoAnimate(l({complete:y},r)):y(),!0}},ajaxRequest:function(t,i,o,r){t=this.tabGroup.find(t);var a=this,s=t.find("."+b);r=r||s.data(M)||a._contentUrls[t.index()]||s.attr(m),a.inRequest=!0;var l={type:"GET",cache:!1,url:r,dataType:"html",data:{},xhr:K,error:function(e,t){a.trigger("error",{xhr:e,status:t})&&this.complete()},complete:function(e){a.inRequest=!1},success:function(e){try{n.destroy(i),i.html(e)}catch(e){this.error(this.xhr,"error")}o&&o.call(a,i),a.trigger(H,{item:t[0],contentElement:i[0]})}};"object"==typeof r&&(l=e.extend(!0,{},l,r),c(l.url)&&(l.url=l.url()),c(l.data)&&(l.data=l.data())),a.xhr=e.ajax(l)},append:function(e){var t=this,n=t._create(e);return a(n.tabs,(function(e){var i=n.contents[e];t.tabGroup.append(this),"bottom"==t.options.tabPosition?t.tabWrapper.before(i):t.wrapper.append(i)})),q(t.tabGroup),t._updateContentElements(),t.resize(!0),t},contentElement:function(i){if(isNaN(i-0))return t;var o=this.contentElements&&this.contentElements[0]&&!n.kineticScrollNeeded?this.contentElements:this.contentAnimators,r=e(this.tabGroup.children()[i]).attr(L);if(o)for(var a=0,s=o.length;a<s;a++)if(o.eq(a).closest(".k-tabstrip-content")[0].id==r)return o[a];return t},contentHolder:function(t){var i=e(this.contentElement(t)),o=i.children(".km-scroll-container");return n.support.touch&&o[0]?o:i},deactivateTab:function(e){var t=this,i=t.options.animation,o=i.open,r=l({},i.close),a=r&&"effects"in r;e=t.tabGroup.find(e),r=l(a?r:l({reverse:!0},o),{hide:!0}),n.size(o.effects)?e.kendoRemoveClass(E,{duration:o.duration}):e.removeClass(E),e.attr(N,!1),t.tabGroup.removeAttr("aria-activedescendant"),t.contentAnimators.filter("."+E).kendoStop(!0,!0).kendoAnimate(r).removeClass(E).attr(O,!0)},_removeAdditionalWrapperClasses:function(){this.wrapper.removeClass("k-tabstrip-sm k-tabstrip-md k-tabstrip-lg"),this.tabGroup.removeClass("k-tabstrip-items-start k-tabstrip-items-center k-tabstrip-items-end k-tabstrip-items-justify k-tabstrip-items-stretched")},destroy:function(){var e=this;const t=e.options.scrollable&&"hidden"===e.options.scrollable.scrollButtons;h.fn.destroy.call(e),e._refreshHandler&&e.dataSource.unbind("change",e._refreshHandler),e.options.scrollable&&t&&e.tabGroup.unbind("scroll"+f),e._removeAdditionalWrapperClasses(),e.wrapper.off(f),e.tabGroup.off(f),e._scrollableModeActive&&!t&&(e._scrollPrevButton.off().remove(),e._scrollNextButton.off().remove()),n.destroy(e.wrapper)},disable:function(e){return this._toggleDisabled(e,!1),this},enable:function(e,t){return this._toggleDisabled(e,!1!==t),this},insertAfter:function(t,n){n=e(t).is(e(n))?this.tabGroup.find(n).prev():this.tabGroup.find(n);var i=this,o=i._create(t),r=i.element.find("[id='"+n.attr(L)+"']");return a(o.tabs,(function(t){var a=o.contents[t],s=o.newTabsCreated?i._contentUrls.length-(o.tabs.length-t):e(a).index()-1;n.after(this),r.after(a),i._moveUrlItem(s,e(this).index())})),q(i.tabGroup),i._updateContentElements(o.newTabsCreated),i.resize(!0),i},insertBefore:function(t,n){n=e(t).is(e(n))?this.tabGroup.find(n).next():this.tabGroup.find(n);var i=this,o=i._create(t),r=i.element.find("[id='"+n.attr(L)+"']");return a(o.tabs,(function(t){var a=o.contents[t],s=o.newTabsCreated?i._contentUrls.length-(o.tabs.length-t):e(a).index()-1;n.before(this),r.before(a),i._moveUrlItem(s,e(this).index())})),q(i.tabGroup),i._updateContentElements(o.newTabsCreated),i.resize(!0),i},items:function(){return this.tabGroup[0].children},refresh:function(e){var t,i,o,r=this,a=r.options,s=n.getter(a.dataEncodedField),l=n.getter(a.dataTextField),c=n.getter(a.dataContentField),d=n.getter(a.dataContentUrlField),u=n.getter(a.dataImageUrlField),h=n.getter(a.dataUrlField),p=n.getter(a.dataSpriteCssClass),f=[],m=r.dataSource.view();for((e=e||{}).action&&(m=e.items),t=0,o=m.length;t<o;t++)i={text:l(m[t])},a.tabTemplate&&(i.model=m[t],i.template=a.tabTemplate),a.dataEncodedField&&(i.encoded=s(m[t])),a.dataContentField&&(i.content=c(m[t])),a.dataContentUrlField&&(i.contentUrl=d(m[t])),a.dataUrlField&&(i.url=h(m[t])),a.dataImageUrlField&&(i.imageUrl=u(m[t])),a.dataSpriteCssClass&&(i.spriteCssClass=p(m[t])),f[t]=i;if("add"==e.action)e.index<r.tabGroup.children().length?r.insertBefore(f,r.tabGroup.children().eq(e.index)):r.append(f);else if("remove"==e.action)for(t=0;t<m.length;t++)r.remove(e.index);else"itemchange"==e.action?(t=r.dataSource.view().indexOf(m[0]),e.field===a.dataTextField&&r.tabGroup.children().eq(t).find(".k-link").text(m[0].get(e.field)),e.field===a.dataUrlField&&(r._contentUrls[t]=m[0].get(e.field))):(r.trigger("dataBinding"),r.remove("li"),r._contentUrls=[],r.append(f),r.trigger("dataBound"))},reload:function(t){t=this.tabGroup.find(t);var n=this,i=n._contentUrls;return t.each((function(){var t=e(this),o=t.find("."+b).data(M)||i[t.index()],r=n.contentHolder(t.index());o&&n.ajaxRequest(t,r,null,o)})),n},remove:function(t){var i,o=this,r=typeof t;return"string"===r?t=o.tabGroup.find(t):"number"===r&&(t=o.tabGroup.children().eq(t)),i=t.map((function(){var t=e(this).index(),i=o.contentElement(t);return n.destroy(i),o._removeUrlItem(t),i})),t.remove(),i.empty(),i.remove(),o._updateContentElements(),o.resize(!0),o},select:function(t){var n=this;return 0===arguments.length?n.tabGroup.children("li."+E):(isNaN(t)||(t=n.tabGroup.children().get(t)),t=n.tabGroup.find(t),e(t).each((function(t,i){(i=e(i)).hasClass(E)||n.trigger(z,{item:i[0],contentElement:n.contentHolder(i.index())[0]})||(n.activateTab(i),n.tabGroup.attr("aria-activedescendant",i.attr("id")))})),n)},value:function(i){var o=this;if(i===t)return o.select().text();i!=o.value()&&o.tabGroup.children().each((function(){n.trim(e(this).text())==i&&o.select(this)}))},_tabAlignment:function(){const e=this;let t=e.options.tabAlignment;e._scrollableModeActive&&(t="start"),e.tabGroup.addClass("k-tabstrip-items-"+t)},_active:function(){var e=this;setTimeout((function(){var t=e.tabGroup.children().filter("."+E);(t=t[0]?t:e._endItem("first"))[0]&&e._current(t)}),100)},_animations:function(e){e&&"animation"in e&&!e.animation&&(e.animation={open:{effects:{}},close:{effects:{}}})},_appendUrlItem:function(e){this._contentUrls.push(e)},_attachEvents:function(){var t=this,n=t.options;t.tabGroup.on(k+f,".k-disabled .k-link",!1).on(k+f," > "+P,t._itemClick.bind(t)),t.wrapper.on("focus"+f,(function(){t.tabGroup.trigger("focus")})),n.scrollable&&"hidden"===n.scrollable.scrollButtons&&t.tabGroup.bind("scroll",(function(e){t._toggleScrollButtons()})),t.tabGroup.on(I+f+" mouseleave"+f,F,t._toggleHover).on("focus"+f,t._active.bind(t)).on("blur"+f,(function(){t._current(null)})),t._keyDownProxy=t._keydown.bind(t),n.navigatable&&t.tabGroup.on("keydown"+f,t._keyDownProxy),e(window).on("resize"+f,t._resize.bind(t))},_click:function(e){var t,n,i=this,o=e.find("."+b),r=o.attr(m),a=i.options.collapsible,s=e.index(),l=i.contentHolder(s),c=e.parent().children().filter("."+A);if(e.closest(".k-tabstrip")[0]==i.wrapper[0]){if(e.is("."+D+(a?"":",."+E)))return c.removeClass(A),i._focused=e,e.addClass(A),i._current(e),i._scrollableModeActive&&i._scrollTabsToItem(e),!0;if(n=o.data(M)||i._contentUrls[s]||r&&("#"==r.charAt(r.length-1)||-1!=r.indexOf("#"+i.element[0].id+"-")),t=!r||n,i.tabGroup.children("[data-animating]").length)return t;if(i.trigger(z,{item:e[0],contentElement:l[0]}))return!0;if(!1!==t)return a&&e.is("."+E)?(i.deactivateTab(e),!0):(i.activateTab(e)&&(i._current(e),t=!0),t)}},_create:function(t){var i,o,a,s=this,c=!1;return t=t instanceof n.data.ObservableArray?t.toJSON():t,e.isPlainObject(t)||Array.isArray(t)?(t=Array.isArray(t)?t:[t],c=!0,i=r(t,(function(n,i){return s._appendUrlItem(t[i].contentUrl||null),e(Y.renderItem({group:s.tabGroup,item:l(n,{index:i})}))})),o=r(t,(function(t,i){if("string"==typeof t.content||t.contentUrl){let o=e(Y.renderContent({item:l(t,{index:i})}));return n.applyStylesFromKendoAttributes(o,["display"]),o}}))):(i="string"==typeof t&&"<"!=t[0]?s.element.find(t):e(t),o=e(),i.each((function(){if(/k-tabstrip-items/.test(this.parentNode.className)){var t=s.element.find("[id='"+this.getAttribute(L)+"']");a=t}else a=e("<div class='"+T+"'/>");o=o.add(a)})),$(i)),{tabs:i,contents:o,newTabsCreated:c}},_current:function(e,n){var i=this._focused;if(e===t)return i;i&&e&&i[0]===e[0]&&(i=!1),i&&i.removeClass(A),e&&!n&&e.addClass(A),this._focused=e},_dataSource:function(){var e=this;e.dataSource&&e._refreshHandler?e.dataSource.unbind("change",e._refreshHandler):e._refreshHandler=e.refresh.bind(e),e.dataSource=n.data.DataSource.create(e.options.dataSource).bind("change",e._refreshHandler)},_elementId:function(e,t,i){var o=e.attr("id"),r=this.element.attr("id"),a=n.guid();if(!o||o.indexOf(r+"-")>-1){var s=(r||a)+"-";return i&&(s+="tab-"),s+(t+1)}return o},_endItem:function(e){return this.tabGroup.children(P)[e]()},_getItem:function(e){return this.tabGroup.children(B)[e]()},_initialActivate:function(){var e=this,t=e.tabGroup.children("li."+E),n=e.contentHolder(t.index());t[0]&&n.length>0&&0===n[0].childNodes.length&&e.activateTab(t.eq(0))},_item:function(e,t){var n;return n=t===v?"last":"first",e?((e=e[t]())[0]||(e=this.tabGroup.children(B)[n]()),e.hasClass(D)&&e.addClass(A),(e.hasClass(D)||e.hasClass(E))&&(this._focused=e),e):this._endItem(n)},_itemClick:function(t){var i=this.tabGroup[0];if(i!==document.activeElement)if(n.support.browser.msie)try{i.setActive()}catch(e){i.focus()}else i.focus();this._click(e(t.currentTarget))&&t.preventDefault()},_keydown:function(e){var t,n=this,i=e.keyCode,r=n._current(),a=n._isRtl,s=/top|bottom/.test(n.options.tabPosition);if(e.target==e.currentTarget&&r){if(i!==o.DOWN||s)if(i!==o.UP||s)if(i===o.RIGHT&&s)t=a?v:g;else if(i===o.LEFT&&s)t=a?g:v;else if(i==o.ENTER||i==o.SPACEBAR)n._click(r),e.preventDefault();else{if(i==o.HOME)return n._click(n._getItem("first")),void e.preventDefault();if(i==o.END)return n._click(n._getItem("last")),void e.preventDefault()}else t=v;else t=g;t&&(n._click(n._item(r,t)),e.preventDefault())}},_moveUrlItem:function(e,t){this._contentUrls.splice(t,0,this._contentUrls.splice(e,1)[0])},_processContentUrls:function(){var t=this;t._contentUrls.length?t.tabGroup.children(".k-item.k-tabstrip-item").each((function(n,i){var o=t._contentUrls[n];"string"==typeof o&&e(i).find(">."+b).data(M,o)})):t._contentUrls.length=t.tabGroup.find("li.k-item.k-tabstrip-item").length},_removeUrlItem:function(e){this._contentUrls.splice(e,1)},_resize:function(){this._scrollable()},_getChildrenWidth:function(t){let n=0;return t.children().each((function(){n+=d(e(this))})),Math.floor(n)},_getChildrenHeight:function(t){let n=0;return t.children().each((function(){n+=u(e(this))})),Math.floor(n)},_scrollable:function(){const e=this,t=e.options,i=t.scrollable.scrollButtonsPosition,o=t.scrollable.scrollButtons,r="top"==t.tabPosition||"bottom"==t.tabPosition,a="hidden"===o,s="visible"===o;let l,c,d,u;if(e._scrollableAllowed()){e.wrapper.addClass("k-tabstrip-scrollable"),l=r?e.wrapper[0].offsetWidth:e.wrapper[0].offsetHeight,c=r?e.tabGroup[0].scrollWidth:e.tabGroup[0].scrollHeight;const o=r?e._getChildrenWidth(e.tabGroup)>e.tabGroup.outerWidth():e._getChildrenHeight(e.tabGroup)>e.tabGroup.outerHeight(),h=c>l||o;if(h&&!e._scrollableModeActive&&a)e.tabGroup.addClass("k-tabstrip-items-scroll"),e.wrapper.addClass("k-tabstrip-scrollable-overlay"),e._scrollableModeActive=!0,e._toggleScrollButtons();else if(!h&&!s||e._scrollableModeActive)!e._scrollableModeActive||h||s?e._scrollableModeActive||s?e._toggleScrollButtons():e._removeScrollableClasses():(e._scrollableModeActive=!1,e._removeScrollableClasses(),e._scrollPrevButton&&e._scrollPrevButton.off().remove(),e._scrollNextButton&&e._scrollNextButton.off().remove());else{e._nowScrollingTabs=!1,e._isRtl=n.support.isRtl(e.element);const o=n.support.touch?"touchstart":"mousedown",a=n.support.touch?"touchend":"mouseup",s=n.support.browser,l=e._isRtl&&!s.msie&&!s.edge,c=r?"caret-alt-right":"caret-alt-down",h=G("prev",r?"caret-alt-left":"caret-alt-up"),p=G("next",c);switch(i){case"split":e.tabWrapper.prepend(h),e.tabWrapper.append(p);break;case"start":e.tabWrapper.prepend(p),e.tabWrapper.prepend(h);break;case"end":e.tabWrapper.append(h),e.tabWrapper.append(p)}d=e._scrollPrevButton=e.tabWrapper.children(".k-tabstrip-prev"),u=e._scrollNextButton=e.tabWrapper.children(".k-tabstrip-next"),d.on(o+f,(function(){e._nowScrollingTabs=!0,e._scrollTabsByDelta(t.scrollable.distance*(l?1:-1))})),u.on(o+f,(function(){e._nowScrollingTabs=!0,e._scrollTabsByDelta(t.scrollable.distance*(l?-1:1))})),d.add(u).on(a+f,(function(){e._nowScrollingTabs=!1})),e._scrollableModeActive=!0,e._toggleScrollButtons()}}},_removeScrollableClasses:function(){const e=this,t="hidden"===e.options.scrollable.scrollButtons;e.wrapper.removeClass("k-tabstrip-scrollable"),t&&(e.wrapper.removeClass("k-tabstrip-scrollable-overlay"),e.wrapper.removeClass("k-tabstrip-scrollable-start"),e.wrapper.removeClass("k-tabstrip-scrollable-end"),e.tabGroup.removeClass("k-tabstrip-items-scroll"))},_scrollableAllowed:function(){var e=this.options;return e.scrollable&&!e.scrollable.distance&&(e.scrollable={distance:200}),e.scrollable&&!isNaN(e.scrollable.distance)},_scrollTabsToItem:function(e){var t,i=this,o=i.tabGroup,r="top"==i.options.tabPosition||"bottom"==i.options.tabPosition,a=r?n.scrollLeft(o):o.scrollTop(),s=r?d(e):u(e),l=r?i._isRtl?e.position().left:e.position().left-o.children().first().position().left:e.position().top,c=r?o[0].offsetWidth:o[0].offsetHeight,h=n.support.browser;i._isRtl&&r&&(h.mozilla||h.webkit&&h.version>=85)&&(a*=-1),i._isRtl&&r?l<0?t=a+l-(c-a):l+s>c&&(t=a+l-s):a+c<l+s?t=l+s-c:a>l&&(t=l);var p=r?{scrollLeft:t}:{scrollTop:t};o.finish().animate(p,"fast","linear",(function(){i._toggleScrollButtons()}))},_scrollTabsByDelta:function(e){const t=this,i=t.tabGroup,o="top"==t.options.tabPosition||"bottom"==t.options.tabPosition;let r=o?n.scrollLeft(i):i.scrollTop();const a=n.support.browser;t._isRtl&&o&&(a.mozilla||a.webkit&&a.version>=85)&&(r*=-1);var s=o?{scrollLeft:r+e}:{scrollTop:r+e};i.finish().animate(s,"fast","linear",(function(){t._nowScrollingTabs&&!jQuery.fx.off?t._scrollTabsByDelta(e):t._toggleScrollButtons()}))},_sortable:function(){var e=this,t=e.options,i=t.tabPosition,o=t.scrollable&&"hidden"===t.scrollable.scrollButtons,r="left"===i||"right"===i?"y":"x";e.options.sortable&&(e.sortable=new n.ui.Sortable(e.tabGroup,{filter:"li.k-item.k-tabstrip-item",axis:r,holdToDrag:o,allowTouchActions:o,container:e.tabWrapper,hint:e=>`<div id='hint' class='k-tabstrip k-tabstrip-${i}'>\n <div class= 'k-tabstrip-items-wrapper k-hstack'>\n <ul class='k-tabstrip-items k-reset'>\n <li class='k-item k-tabstrip-item k-first k-active'>${e.html()}</li>\n </ul>\n </div>\n </div>`,change:e._sortChange.bind(e),start:t=>e.activateTab(t.item)}))},_sortChange:function(e){var t=this,n=t.tabGroup.children().eq(e.newIndex);e.oldIndex<e.newIndex?t.insertAfter(e.item,n):t.insertBefore(e.item,n)},_tabSizes:function(){let e;switch(this.options.size){case"small":e="k-tabstrip-sm";break;case"medium":e="k-tabstrip-md";break;case"large":e="k-tabstrip-lg"}this.wrapper.addClass(e)},_tabPosition:function(){var e=this,t=e.options.tabPosition;e.wrapper.addClass("k-tabstrip-"+t),"bottom"==t&&e.tabWrapper.appendTo(e.wrapper),"left"!==t&&"right"!==t||e.tabGroup.attr("aria-orientation","vertical"),e.resize(!0)},_toggleHover:function(t){e(t.currentTarget).toggleClass(V,t.type==I)},_toggleDisabled:function(t,n){(t=this.tabGroup.find(t)).each((function(){e(this).toggleClass(D,!n).attr(R,!n)}))},_toggleScrollButtons:function(){var e=this,t=e.tabGroup,i=Math.floor(n.scrollLeft(t)),o=Math.floor(t.scrollTop()),r=e.options.scrollable.scrollButtons,a="top"==e.options.tabPosition||"bottom"==e.options.tabPosition;const s=(a?Math.abs(i-(t[0].scrollWidth-t[0].offsetWidth)):Math.abs(o-(t[0].scrollHeight-t[0].offsetHeight)))<=1,l=0===(a?i:o);"hidden"!==r?(e._scrollPrevButton.toggleClass("k-disabled",l),e._scrollNextButton.toggleClass("k-disabled",s)):(e.wrapper.toggleClass("k-tabstrip-scrollable-start",l),e.wrapper.toggleClass("k-tabstrip-scrollable-end",s))},_updateClasses:function(){var n,i,o,r=this,a=/top|bottom/.test(r.options.tabPosition);r.wrapper.addClass("k-tabstrip"),r.tabGroup||(r.tabGroup=r.wrapper.children("ul"),r.tabGroup.wrap("<div />"),r.tabWrapper=r.tabGroup.parent()),r.tabGroup[0]||(r.tabGroup=e("<ul />").prependTo(r.wrapper),r.tabGroup.wrap("<div />"),r.tabWrapper=r.tabGroup.parent()),r.tabWrapper.addClass("k-tabstrip-items-wrapper"),r.tabWrapper.addClass(a?"k-hstack":"k-vstack"),r.tabGroup.addClass("k-tabstrip-items k-reset"),(n=r.tabGroup.find("li").addClass("k-item k-tabstrip-item")).length&&(o=(i=n.filter("."+E).index())>=0?i:t,r.tabGroup.contents().filter((function(){return 3==this.nodeType&&!s(this.nodeValue)})).remove()),r.contentElements=r.wrapper.children("div:not(.k-tabstrip-items-wrapper)"),r.contentElements.addClass(T).eq(o).addClass(E).css({display:"block"}),n.length&&($(n),i=n.filter("."+E).index(),r.tabGroup.attr("aria-activedescendant",n.eq(i).attr("id")),q(r.tabGroup),r._updateContentElements(!0))},_updateContentElements:function(t){var i=this,o=i._contentUrls,r=i.tabGroup.children(".k-item.k-tabstrip-item"),a=i.wrapper.children("div:not(.k-tabstrip-items-wrapper)"),s=i._elementId.bind(i);a.length&&r.length>a.length?a.each((function(n){var i,o=s(e(this),n),a=r.filter("[aria-controls="+(o||0)+"]")[0];!a&&t&&(a=r[n]),a&&(a.setAttribute(L,o),i=a.id=s(e(a),n,!0),this.setAttribute(U,i)),this.setAttribute("id",o)})):r.each((function(t){var n,r=a.eq(t),l=s(r,t);this.setAttribute(L,l),n=this.id=s(e(this),t,!0),!r.length&&o[t]?e("<div class='"+T+"'/>").appendTo(i.wrapper).attr("id",l):r.attr("id",l),r.attr("role","tabpanel"),r.attr("tabindex","0"),r.attr(U,n),r.filter(":not(."+E+")").attr(O,!0)})),i.contentElements=i.contentAnimators=i.wrapper.children("div:not(.k-tabstrip-items-wrapper)"),i.tabsHeight=u(i.tabGroup)+parseInt(i.wrapper.css("border-top-width"),10)+parseInt(i.wrapper.css("border-bottom-width"),10),n.kineticScrollNeeded&&n.mobile.ui.Scroller&&(n.touchScroller(i.contentElements),i.contentElements=i.contentElements.children(".km-scroll-container"))},_wrapper:function(){var e=this;e.element.is("ul")?e.wrapper=e.element.wrapAll("<div />").parent():e.wrapper=e.element}});l(Y,{renderItem:function(e){e=l({tabStrip:{},group:{}},e);var t=j.empty,i=e.item,o=l(e,{image:i.imageUrl?j.image:t,sprite:i.spriteCssClass?j.sprite:t,textWrapper:j.textWrapper},W);return i.template?j.itemWrapper(o,n.template(i.template)(i.model)):j.item(o)},renderContent:function(e){return j.content(l(e,W))}}),n.ui.plugin(Y)}(window.kendo.jQuery);kendo;!function(e){var t=e.Observable.extend({init:function(t){e.Observable.fn.init.call(this,t),this.clear()},events:["undo","redo"],push:function(e){this.stack=this.stack.slice(0,this.currentCommandIndex+1),this.currentCommandIndex=this.stack.push(e)-1},undo:function(){if(this.canUndo()){var e=this.stack[this.currentCommandIndex--];e.undo(),this.trigger("undo",{command:e})}},redo:function(){if(this.canRedo()){var e=this.stack[++this.currentCommandIndex];e.redo(),this.trigger("redo",{command:e})}},clear:function(){this.stack=[],this.currentCommandIndex=-1},canUndo:function(){return this.currentCommandIndex>=0},canRedo:function(){return this.currentCommandIndex!=this.stack.length-1}});e.deepExtend(e,{util:{UndoRedoStack:t}})}(kendo),function(e,t){var n=window.kendo,i=n.Class,o=n.ui.Widget,r=n.support.mobileOS,a=n.support.browser,s=e.extend,l=n.deepExtend,c=n.keys,d=n._outerWidth,u=n._outerHeight;const h="formatting-marks-style",p="formatting-marks-overlay",f="formatting-marks-overlay-wrapper";var m="select",v="k-placeholder",g="placeholder",_=["insertLineBreak","insertParagraph","redo","undo","autoLink"];var b={editorWrapperTemplate:()=>'<div class="k-editor"><div class="k-editor-toolbar" role="toolbar"></div><div class="k-editable-area k-editor-content"></div></div>',formatByName:function(t,n){for(var i=0;i<n.length;i++)if(e.inArray(t,n[i].tags)>=0)return n[i]},getToolCssClass:function(e,t){var n={superscript:"supscript",subscript:"subscript",justifyLeft:"align-left",justifyCenter:"align-center",justifyRight:"align-right",justifyFull:"align-justify",insertUnorderedList:"list-unordered",insertOrderedList:"list-ordered",insertUpperRomanList:"list-roman-upper",insertLowerRomanList:"list-roman-lower",import:"import",indent:"indent",outdent:"outdent",createLink:"link",unlink:"unlink",insertImage:"image",insertFile:"file-add",viewHtml:"code",foreColor:"foreground-color",backColor:"droplet",createTable:"table-add",addColumnLeft:"table-column-insert-left",addColumnRight:"table-column-insert-right",addRowAbove:"table-row-insert-above",addRowBelow:"table-row-insert-below",deleteRow:"table-row-delete",deleteColumn:"table-column-delete",mergeCellsHorizontally:"cells-merge-horizontally",mergeCellsVertically:"cells-merge-vertically",splitCellHorizontally:"cell-split-horizontally",splitCellVertically:"cell-split-vertically",tableProperties:"table-properties",tableCellProperties:"table-cell-properties",tableWizardInsert:"table-wizard",tableAlignLeft:"table-position-start",tableAlignCenter:"table-position-center",tableAlignRight:"table-position-end",cleanFormatting:"clear-css",copyFormat:"copy-format",applyFormat:"apply-format",pdf:"file-pdf"}[e];return n||(t||b.nameToKebab(e))},nameToKebab:function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},registerTool:function(e,t){t.name||(t.options.name=e,t.name=e.toLowerCase()),t.options.ui||(t.options.ui={}),t.options.ui.command=e,k.defaultTools[e]=t},registerFormat:function(e,t){k.fn.options.formats[e]=t},cacheComments:function(e,t){for(var n in t)e=e.replace(t[n],"{"+n+"}");return e},retrieveComments:function(e,t){for(var n in t)e=e.replace("{"+n+"}",t[n]);return e}},y=void 0!==document.documentElement.contentEditable,w={basic:["bold","italic","underline","strikethrough"],undo:["undo","redo"],scripts:["subscript","superscript"],alignment:["justifyLeft","justifyCenter","justifyRight","justifyFull"],lines:["lineHeight"],symbols:["formattingMarks"],links:["insertImage","insertFile","createLink","unlink"],lists:["insertUnorderedList","insertOrderedList","insertUpperRomanList","insertLowerRomanList"],dent:["indent","outdent"],tablesWizard:["tableProperties","tableCellProperties"],tablesInsert:["createTable"],tablesAddDelete:["addColumnLeft","addColumnRight","addRowAbove","addRowBelow","deleteRow","deleteColumn"],tablesMerge:["mergeCellsHorizontally","mergeCellsVertically","splitCellHorizontally","splitCellVertically"],tablesPosition:["tableAlignLeft","tableAlignCenter","tableAlignRight"],formatPainter:["copyFormat","applyFormat"]},k=o.extend({__suppressEditableCheck:!1,init:function(e,i){var r,a,s,c=this,d=n.ui.editor,u=d.Dom;(y||c.__suppressEditableCheck)&&(o.fn.init.call(c,e,i),c.options=l({},c.options,i),s=(e=c.element)[0],a=u.name(s),this._registerHandler(e.closest("form"),"submit",c.update.bind(c,t)),r=c._setupType(e),c._initToolbar(r),c._setupHeight(a),c._resizable(),c._initializeContentElement(c),c._setupKeyboard(),c.clipboard=new d.Clipboard(this),c.undoRedoStack=new n.util.UndoRedoStack,c._populateValue(i,s),c._registerHandler(document,{mousedown:function(){c._endTyping()},mouseup:function(e){c._mouseup(e)}}),c._registerHandler(window,"resize",c._handleSpaceAndNewLines.bind(c)),c._initializeImmutables(),"textarea"==a&&c._ariaLabel(c.wrapper.find("iframe")),c.toolbar.resize(),c._initInlineOverflowWrapper(),n.notify(c),c._showWatermarkOverlay&&c._showWatermarkOverlay(c.wrapper&&c.wrapper[0]||c.element[0]))},events:["select","change","execute","error","paste","keydown","keyup"],options:{name:"Editor",messages:{auto:"Auto",bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",superscript:"Superscript",subscript:"Subscript",fitToCell:"Fit to cell",justifyCenter:"Center text",justifyLeft:"Align text left",justifyRight:"Align text right",justifyFull:"Justify",insertUnorderedList:"Insert unordered list",insertOrderedList:"Insert ordered list",lineHeight:"Set line height",formattingMarks:"Toggle formatting marks",indent:"Indent",outdent:"Outdent",createLink:"Insert hyperlink",unlink:"Remove hyperlink",insertImage:"Insert image",insertFile:"Insert file",insertHtml:"Insert HTML",viewHtml:"View HTML",fontName:"Select font family",fontNameInherit:"(inherited font)",fontSize:"Select font size",fontSizeInherit:"(inherited size)",formatBlock:"Format",formatting:"Format",foreColor:"Color",backColor:"Background color",style:"Styles",emptyFolder:"Empty Folder",editAreaTitle:"Editable area. Press F10 for toolbar.",uploadFile:"Upload",overflowAnchor:"More tools",orderBy:"Arrange by:",orderBySize:"Size",orderByName:"Name",invalidFileType:"The selected file {0} is not valid. Supported file types are {1}.",deleteFile:"Are you sure you want to delete {0}?",overwriteFile:"A file with name {0} already exists in the current directory. Do you want to overwrite it?",directoryNotFound:"A directory with this name was not found.",imageWebAddress:"Web address",imageAltText:"Alternate text",imageWidth:"Width (px)",imageHeight:"Height (px)",fileWebAddress:"Web address",fileTitle:"Title",fileText:"Text",linkWebAddress:"Web address",linkText:"Text",linkToolTip:"ToolTip",linkOpenInNewWindow:"Open link in new window",dialogUpdate:"Update",dialogInsert:"Insert",dialogOk:"Confirm",dialogCancel:"Cancel",cleanFormatting:"Clean formatting",createTable:"Create a table",createTableHint:"Create a {0} x {1} table",addColumnLeft:"Add column on the left",addColumnRight:"Add column on the right",addRowAbove:"Add row above",addRowBelow:"Add row below",deleteRow:"Delete row",deleteColumn:"Delete column",mergeCellsHorizontally:"Merge cells horizontally",mergeCellsVertically:"Merge cells vertically",splitCellHorizontally:"Split cells horizontally",splitCellVertically:"Split cells vertically",tableAlignLeft:"Table Align Left",tableAlignCenter:"Table Align Center",tableAlignRight:"Table Align Right",tableWizard:"Table Wizard",tableProperties:"Table Properties",tableCellProperties:"Cell Properties",tableTab:"General",cellTab:"Cell",accessibilityTab:"Advanced",caption:"Caption",summary:"Summary",width:"Width",height:"Height",units:"Units",cellSpacing:"Cell Spacing",cellPadding:"Cell Padding",topPadding:"Top",leftPadding:"Left",bottomPadding:"Bottom",rightPadding:"Right",independentCellPaddings:"Independent Cell Paddings",cellMargin:"Cell Margin",alignment:"Alignment",captionAlignment:"Caption alignment",position:"Position",background:"Background",tableBackground:"Table background",cssClass:"CSS Class",id:"ID",border:"Border",borderStyle:"Border Style",borderWidth:"Border Width",borderColor:"Border Color",collapseBorders:"Collapse borders",wrapText:"Wrap text",associateCellsWithHeaders:"Associate headers",alignLeft:"Align Left",alignCenter:"Align Center",alignRight:"Align Right",alignLeftTop:"Align Left Top",alignCenterTop:"Align Center Top",alignRightTop:"Align Right Top",alignLeftMiddle:"Align Left Middle",alignCenterMiddle:"Align Center Middle",alignRightMiddle:"Align Right Middle",alignLeftBottom:"Align Left Bottom",alignCenterBottom:"Align Center Bottom",alignRightBottom:"Align Right Bottom",alignRemove:"Remove Alignment",columns:"Columns",rows:"Rows",selectAllCells:"Apply to all cells",applyToColumn:"apply to column",applyToRow:"apply to row",exportAs:"Export As",import:"Import",print:"Print",headerRows:"Header Rows",headerColumns:"Header Cols",tableSummaryPlaceholder:"Summary attribute is not HTML5 compatible.",associateNone:"None",associateScope:"Associate using 'scope' attribute",associateIds:"Associate using Ids",copyFormat:"Copy format",applyFormat:"Apply format",borderNone:"None",undo:"Undo",redo:"Redo"},placeholder:"",nonce:"",unsafeInline:!0,formats:{},encoded:!0,formattingMarksRefreshDelay:250,domain:null,resizable:!1,deserialization:{custom:null},serialization:{entities:!0,semantic:!0,scripts:!1,optimizeTags:!1,keepEOL:!1},pasteCleanup:{all:!1,css:!1,custom:null,keepNewLines:!1,msAllFormatting:!1,msConvertLists:!0,msTags:!0,none:!1,span:!1},stylesheets:[],dialogOptions:{modal:!0,resizable:!1,draggable:!0,animation:!1},imageBrowser:null,fileBrowser:null,navigateOnTab:!1,fontName:[{text:"Arial",value:"Arial, Helvetica, sans-serif"},{text:"Courier New",value:'"Courier New", Courier, monospace'},{text:"Georgia",value:"Georgia, serif"},{text:"Impact",value:"Impact, Charcoal, sans-serif"},{text:"Lucida Console",value:'"Lucida Console", Monaco, monospace'},{text:"Tahoma",value:"Tahoma, Geneva, sans-serif"},{text:"Times New Roman",value:'"Times New Roman", Times, serif'},{text:"Trebuchet MS",value:'"Trebuchet MS", Helvetica, sans-serif'},{text:"Verdana",value:"Verdana, Geneva, sans-serif"}],fontSize:[{text:"1 (8pt)",value:"xx-small"},{text:"2 (10pt)",value:"x-small"},{text:"3 (12pt)",value:"small"},{text:"4 (14pt)",value:"medium"},{text:"5 (18pt)",value:"large"},{text:"6 (24pt)",value:"x-large"},{text:"7 (36pt)",value:"xx-large"}],formatBlock:[{text:"Paragraph",value:"p"},{text:"Quotation",value:"blockquote"},{text:"Heading 1",value:"h1"},{text:"Heading 2",value:"h2"},{text:"Heading 3",value:"h3"},{text:"Heading 4",value:"h4"},{text:"Heading 5",value:"h5"},{text:"Heading 6",value:"h6"}],tools:["formatting","bold","italic","underline","undo","redo","justifyLeft","justifyCenter","justifyRight","copyFormat","applyFormat","insertUnorderedList","insertOrderedList","indent","outdent","createLink","unlink","insertImage","tableProperties","tableCellProperties","createTable","addRowAbove","addRowBelow","addColumnLeft","addColumnRight","deleteRow","deleteColumn","mergeCellsHorizontally","mergeCellsVertically","splitCellHorizontally","splitCellVertically","tableAlignLeft","tableAlignCenter","tableAlignRight"]},destroy:function(){var e=this;o.fn.destroy.call(this),this._endTyping(!0),this._deregisterHandlers(),clearTimeout(this._spellCorrectTimeout),this._focusOutside(),this.toolbar.destroy(),this.windowInstance&&this.windowInstance.destroy(),this.tablePopup&&this.tablePopup.destroy(),e._destroyUploadWidget(),this.interSectionObserver&&(this.interSectionObserver.disconnect(),this.interSectionObserver=null),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null,this.wrapper.css("min-height",""),this.wrapper.css("max-height","")),e._destroyResizings(),e._destroyFormattingMarksOverlay(),n.destroy(this.wrapper)},setOptions:function(e){o.fn.setOptions.call(this,e),e.tools&&this._setOptionsTools(e.tools),this._initializePlaceholder()},createRange:function(e){return n.ui.editor.RangeUtils.createRange(e||this.document)},encodedValue:function(){return n.ui.editor.Dom.encode(this.value())},exec:function(e,t){var i,o,r=this,a=null,l=n.ui.Editor.defaultTools;if(!e)throw new Error("kendoEditor.exec(): `name` parameter cannot be empty");if("true"!==r.body.getAttribute("contenteditable")&&"print"!==e&&"pdf"!==e&&"exportAs"!==e)return!1;if(r.keyboard.isTypingInProgress()||(r._focusBody(),r.selectRange(r._range||r.getRange())),(o=r.tools[e]||l[e])||Object.keys(l).map((t=>{t.toLowerCase()===e&&(o=l[t])})),o){if(i=r.getRange(),o.command&&(a=o.command(s({range:i,body:r.body,immutables:!!r.immutables},t))),r.trigger("execute",{name:e,command:a}))return;if(/^(undo|redo)$/i.test(e))r.undoRedoStack[e]();else if(a&&(r.execCommand(a),a.async))return void(a.change=r._commandChange.bind(r));"formattingMarks"!==e&&r._handleSpaceAndNewLines(),r._selectionChange()}},_commandChange:function(){this._selectionChange(),this._handleSpaceAndNewLines()},execCommand:function(e){e.managesUndoRedo||this.undoRedoStack.push(e),e.editor=this,e.exec()},focus:function(){this.restoreSelection()},getRange:function(){var e=this.getSelection(),t=e&&e.rangeCount>0?e.getRangeAt(0):this.createRange(),n=this.document;return t.startContainer!=n||t.endContainer!=n||t.startOffset||t.endOffset||(t.setStart(this.body,0),t.collapse(!0)),t},getSelection:function(){return n.ui.editor.SelectionUtils.selectionFromDocument(this.document)},paste:function(t,i){this.focus();var o=new n.ui.editor.InsertHtmlCommand(e.extend({range:this.getRange(),html:t},i));o.editor=this,o.exec()},refresh:function(){var e=this;if(e.textarea){e._destroyResizings();var t=e.value();e.textarea.val(t),e.wrapper.find("iframe").remove(),e._initializeContentElement(e),e.value(t)}},restoreSelection:function(){this._focusBody(),this.selectionRestorePoint&&this.selectRange(this.selectionRestorePoint.toRange())},saveSelection:function(t){var i=(t=t||this.getRange()).commonAncestorContainer,o=this.body;(i==o||e.contains(o,i))&&(this.selectionRestorePoint=new n.ui.editor.RestorePoint(t,o))},selectedHtml:function(){return n.ui.editor.Serializer.domToXhtml(this.getRange().cloneContents())},selectRange:function(e){this._focusBody();var t=this.getSelection();t.removeAllRanges(),t.addRange(e),this.saveSelection(e)},state:function(e){var t,i,o=n.ui.Editor.defaultTools[e],r=o&&(o.options.finder||o.finder),a=n.ui.editor.RangeUtils;return!!r&&(t=this.getRange(),!(i=a.textNodes(t)).length&&t.collapsed&&(i=[t.startContainer]),r.getFormat?r.getFormat(i):r.isFormatted(i))},update:function(e){e=e||this.options.encoded?this.encodedValue():this.value(),this.textarea?(this.textarea.val(e),this._togglePlaceholder(!e.trim())):this._oldValue=e},value:function(e){var i=this.body,o=n.ui.editor,r=this.options,a=o.Serializer.domToXhtml(i,r.serialization);if(e===t)return a;e!=a&&(o.Serializer.htmlToDom(e,i,r.deserialization),this.selectionRestorePoint=null,this.update(),this._refreshTools())},_bindTools:function(){var t=this,n=this.tools;t.unbind("select",t.toolbar.resize.bind(t.toolbar)),t.toolbar.element.find("[data-command]").filter(((t,n)=>0===e(n).find("[data-command]").length)).each(((i,o)=>{var r=o.getAttribute("data-command"),a=n[r];a&&a.initialize&&a.initialize(e(o),t)})),t.bind("select",t.toolbar.resize.bind(t.toolbar))},_blur:function(){var e=this.textarea,t=e?e.val():this._oldValue,n=this.options.encoded?this.encodedValue():this.value();this.update(),e&&e.trigger("blur"),n!=t&&(this.trigger("change"),e&&e.trigger("change"))},_containsRange:function(e){var t=n.ui.editor.Dom,i=this.body;return e&&t.isAncestorOrSelf(i,e.startContainer)&&t.isAncestorOrSelf(i,e.endContainer)},_createContentElement:function(t){var i,o,s,l,c=this,d=c.textarea,u=c.options.domain,h=u||document.domain,p="",f='javascript:""';d.hide(),i=e("<iframe />",{title:c.options.messages.editAreaTitle,frameBorder:"0"})[0],e(i).css("display","").addClass("k-content k-iframe").attr("tabindex",d[0].tabIndex).insertBefore(d),(u||h!=location.hostname)&&(f="javascript:document.write('"+(p=`<script ${c.options.nonce?`nonce="${c.options.nonce}"`:""}>document.domain="${h}"<\/script>`)+"')",i.src=f),i.src||(i.src=""),o=i.contentWindow||i,s=o.document||i.contentDocument;const m=c.interSectionObserver=new IntersectionObserver((e=>{for(const t of e)t.isIntersecting&&(c._decorateFormatting(s.body),m.unobserve(i))}));return m.observe(i),l=document.getElementsByTagName("html")[0].getAttribute("lang")||"en",s.open(),s.write("<!DOCTYPE html><html lang='"+l+"'><head><meta charset='utf-8' /><title>Kendo UI Editor content</title>"+`<style ${c.options.nonce?`nonce="${c.options.nonce}"`:""}>html{padding:0;margin:0;height:100%;min-height:100%;cursor:text;}body{padding:0;margin:0;}body{box-sizing:border-box;font-size:12px;font-family:Verdana,Geneva,sans-serif;margin-top:-1px;padding:5px .4em 0;word-wrap: break-word;-webkit-nbsp-mode: space;-webkit-line-break: after-white-space;`+(n.support.isRtl(d)?"direction:rtl;":"")+(r.ios?"word-break:keep-all;":"")+(a.edge||a.chrome?"height:100%;":"")+"}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em}h3{font-size:1.16em}h4{font-size:1em}h5{font-size:.83em}h6{font-size:.7em}p{margin:0 0 1em;}.k-marker{display:none;}.k-paste-container,.Apple-style-span{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}ul,ol{padding-left:2.5em}span{-ms-high-contrast-adjust:none;}a{color:#00a}code{font-size:1.23em}telerik\\3Ascript{display: none;}.k-table{width:100%;border-spacing:0;margin: 0 0 1em;}.k-table td{min-width:1px;padding:.2em .3em;}.k-table,.k-table td{outline:0;border: 1px dotted #ccc;}.k-table th{outline:0;border: 1px dotted #999;}.k-table p{margin:0;padding:0;}.k-column-resize-handle-wrapper {position: absolute; height: 10px; width:10px; cursor: col-resize; z-index: 2;}.k-column-resize-handle {width: 100%; height: 100%;}.k-column-resize-handle > .k-column-resize-marker {width:2px; height:100%; margin:0 auto; background-color:#00b0ff; display:none; opacity:0.8;}.k-row-resize-handle-wrapper {position: absolute; cursor: row-resize; z-index:2; width: 10px; height: 10px;}.k-row-resize-handle {display: table; width: 100%; height: 100%;}.k-row-resize-marker-wrapper{display: table-cell; height:100%; width:100%; margin:0; padding:0; vertical-align: middle;}.k-row-resize-marker{margin: 0; padding:0; width:100%; height:2px; background-color: #00b0ff; opacity:0.8; display:none;}.k-element-resize-handle-wrapper {position: absolute; background-color: #fff; border: 1px solid #000; z-index: 100; width: 5px; height: 5px;}.k-element-resize-handle {width: 100%; height: 100%;}.k-element-resize-handle.k-resize-east{cursor:e-resize;}.k-element-resize-handle.k-resize-north{cursor:n-resize;}.k-element-resize-handle.k-resize-northeast{cursor:ne-resize;}.k-element-resize-handle.k-resize-northwest{cursor:nw-resize;}.k-element-resize-handle.k-resize-south{cursor:s-resize;}.k-element-resize-handle.k-resize-southeast{cursor:se-resize;}.k-element-resize-handle.k-resize-southwest{cursor:sw-resize;}.k-element-resize-handle.k-resize-west{cursor:w-resize;}.k-table.k-element-resizing{opacity:0.6;}.k-placeholder{color:grey}k\\:script{display:none;}</style>"+p+e.map(t,(function(e){return`<link rel='stylesheet' href='${e}' ${c.options.nonce?`nonce="${c.options.nonce}"`:""}>`})).join("")+`</head><body id='${c.element.attr("id")}' autocorrect='off' contenteditable='true'></body></html>`),s.close(),o},_deleteSavedRange:function(){"_range"in this&&delete this._range},_decorateFormatting:function(t){var i,o,r,a,s,l,c,d=this.toolbar.element.find("input[data-command=formatting]"),u=n.ui.editor.Dom;if(d.length){if(!(i=d.getKendoDropDownList()))return;if(r=(o=i.dataSource).data(),t&&i.list.css("background-color",u.getEffectiveBackground(e(t))),!1!==this.options.unsafeInline)for(a=0;a<r.length;a++)s=r[a].tag||"span",l=r[a].className,c=(c=u.inlineStyle(t,s,{className:l})).replace(/"/g,"'"),r[a].style=c+";display:inline-block";o.trigger("change")}},_appendFormattingMarksStyles:function(){const t=this,n=t.element.attr("id");let i,o;i=`<style id='${h+"-"+n}' ${t.options.nonce?`nonce="${t.options.nonce}"`:""} >\n #${n} p::after,\n #${n} li::after,\n #${n} h1::after,\n #${n} h2::after,\n #${n} h3::after,\n #${n} h4::after,\n #${n} h5::after,\n #${n} h6::after {content: '\\00B6'; color: #6098f2;}\n #${f+"-"+n} {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 9999;\n pointer-events: none;\n }\n #${p+"-"+n} {\n width: 100%;\n height: 100%;\n }\n </style>`,o=e(t.document.head),o.find("#"+h+"-"+n).remove(),o.append(i)},_appendFormattingMarksOverlay:function(){const t=this,n=t.element.attr("id");t._formattingMarksOverlayWrapper=e(`<div id='${f+"-"+n}'></div>`),t._formattingMarksOverlay=e(`<svg id='${p+"-"+n}'></svg>`).appendTo(t._formattingMarksOverlayWrapper),t._bodyTopBottomPaddings=parseFloat(e(t.body).css("padding-top"))+parseFloat(e(t.body).css("padding-bottom")),t._isInlineEditor()?t._formattingMarksOverlayWrapper.insertAfter(t.element):t._formattingMarksOverlayWrapper.appendTo(e(t.document).find("html"))},_destroyFormattingMarksOverlay:function(){const t=this,n=t.element.attr("id");e(t.document).find("#"+f+"-"+n).remove(),e(t.document.head).find("#"+h+"-"+n).remove()},_updateFormattingMarksOverlayHeight:function(){const t=this;t._isInlineEditor()?t._formattingMarksOverlayWrapper.height(e(t.body).outerHeight()):t._formattingMarksOverlayWrapper.height(t.body.scrollHeight-t._bodyTopBottomPaddings)},_initInlineOverflowWrapper:function(){const e=this,t=e.options.inlineHeight;e._isInlineEditor()&&t>-1&&(e._inlineOverflowWrapper=e.element.wrap("<div class='k-inline-editor-overflow-wrapper k-pos-relative k-overflow-auto'></div>").parent(),e._inlineOverflowWrapper.height(t))},_deregisterHandlers:function(){for(var e=this._handlers,t=0;t<e.length;t++){var n=e[t];n.element.off(n.type,n.handler)}this._handlers=[]},_destroyUploadWidget:function(){var e=this;e._uploadWidget&&(e._uploadWidget.destroy(),e._uploadWidget=null)},_endTyping:function(){var e=this.keyboard;try{e.isTypingInProgress()&&(e.endTyping(!0),this.saveSelection())}catch(e){}},_focusBody:function(){var e,t=this.body,i=this.wrapper&&this.wrapper.find("iframe")[0],o=this.document.documentElement,r=n._activeElement();!i&&t.scrollHeight>t.clientHeight?(e=t.scrollTop,t.focus(),t.scrollTop=e):r!=t&&r!=i&&(e=o.scrollTop,t.focus(),o.scrollTop=e)},_focusOutside:function(){n.support.browser.msie&&this.textarea&&e("<input />").css({position:"fixed",left:"1px",top:"1px",width:"1px",height:"1px","font-size":"0",border:"0",opacity:"0"}).appendTo(document.body).trigger("focus").trigger("blur").remove()},_handleToolbarClick:function(e){var t=e.target.data("command");t&&"createTable"!==t&&this.exec(t)},_immutablesContext:function(e){var t=n.ui.editor;if(this.options.immutables)return e.collapsed?t.Immutables.immutablesContext(e):0===t.RangeUtils.editableTextNodes(e).length},_initializeContentElement:function(){var i,o,r,a=this;if(a.textarea){if(a.window=a._createContentElement(a.options.stylesheets),!(i=a.document=a.window.contentDocument||a.window.document).body){var s=i.createElement("body");s.setAttribute("contenteditable","true"),s.setAttribute("autocorrect","off"),i.getElementsByTagName("html")[0].appendChild(s);var l=setInterval((function(){e(a.document).find("body").length>1&&(e(a.document).find("body").last().remove(),window.clearInterval(l))}),10)}a.body=i.body,o=a.window,r=i,this._registerHandler(i,"mouseup",this._mouseup.bind(this))}else{a.window=window,i=a.document=document,a.body=a.element[0],o=a.body,r=a.body;const e=n.ui.editor.Dom,t=a.body.childNodes;1===t.length&&t[0].nodeType===e.nodeTypes.TEXT_NODE&&e.wrap(t[0],i.createElement("p")),setTimeout((()=>{a._decorateFormatting(a.body)}))}this._registerHandler(o,"blur",this._blur.bind(this)),a._registerHandler(r,"down",a._mousedown.bind(a));try{i.execCommand("enableInlineTableEditing",null,!1)}catch(e){}n.support.touch&&this._registerHandler(i,{keydown:function(){n._activeElement()!=i.body&&a.window.focus()}}),this._initializePlaceholder(),this._spellCorrect(a),this._registerHandler(a.document,{"mouseover dragenter":function(t){var n=e(a.body).height();e(a.body.parentElement).height()>n&&"html"===t.target.nodeName.toLowerCase()&&(a._cachedHeight=""+a.body.style.height,a.body.style.height="100%")},"mouseout dragleave drop contextmenu":function(e){var n=function(){a._cachedHeight!==t&&e.target===a.body&&(a.body.style.height=a._cachedHeight,delete a._cachedHeight)};"contextmenu"===e.type?setTimeout((function(){n()}),10):n()}}),this._registerHandler(a.body,{keydown:function(e){var t;if((e.keyCode===c.BACKSPACE||e.keyCode===c.DELETE)&&"true"!==a.body.getAttribute("contenteditable"))return!1;if(e.keyCode===c.F10)return a.toolbar.element.find("[tabindex=0]").first().trigger("focus"),a.toolbar.preventPopupHide=!0,void e.preventDefault();if(e.keyCode==c.LEFT||e.keyCode==c.RIGHT){t=a.getRange();var n=e.keyCode==c.LEFT,i=t[n?"startContainer":"endContainer"],o=t[n?"startOffset":"endOffset"],r=o+(n?-1:1),s=n?r:o;3==i.nodeType&&"\ufeff"==i.nodeValue[s]&&(t.setStart(i,r),t.collapse(!0),a.selectRange(t))}var l=a.tools,d=a.keyboard.toolFromShortcut(l,e),u=d?l[d].options:{};if(d&&!u.keyPressCommand)return e.preventDefault(),/^(undo|redo)$/.test(d)||a.keyboard.endTyping(!0),a.trigger("keydown",e),a.exec(d),a._runPostContentKeyCommands(e),!1;a.keyboard.clearTimeout(),a.keyboard.keydown(e)},keypress:function(e){setTimeout((function(){a._runPostContentKeyCommands(e),a._showElementResizeHandles()}),0)},keyup:function(t){var n=[c.BACKSPACE,c.TAB,c.PAGEUP,c.PAGEDOWN,c.END,c.HOME,c.LEFT,c.UP,c.RIGHT,c.DOWN,c.INSERT,c.DELETE];(e.inArray(t.keyCode,n)>-1||65==t.keyCode&&t.ctrlKey&&!t.altKey&&!t.shiftKey)&&(window.clearTimeout(this._refreshInterval),this._refreshInterval=window.setTimeout((function(){a._selectionChange()}),200)),t.keyCode!==c.BACKSPACE&&t.keyCode!==c.DELETE||a._handleSpaceAndNewLines(),a.keyboard.keyup(t)},click:function(e){var t;"img"===n.ui.editor.Dom.name(e.target)&&((t=a.createRange()).selectNode(e.target),a.selectRange(t))},"cut copy paste drop dragover":function(e){a.clipboard["on"+e.type](e),a._handleSpaceAndNewLines()},focusin:function(){a.body.hasAttribute("contenteditable")&&(e(this).addClass("k-active"),a._showWindow(),a._togglePlaceholder(!1))},focusout:function(){setTimeout((function(){var t=n._activeElement(),i=a.body,o=a.toolbar;if(o.options.popup){var r=a.windowInstance.element.get(0);r&&!e.contains(r,t)&&r!=t&&(o.preventPopupHide=!1)}t==i||e.contains(i,t)||a._toolbarFocused()||o.preventPopupHide||e(t).hasClass("k-context-menu")||e(t).hasClass("k-colorpalette")||(e(i).removeClass("k-active"),a._hideWindow()),a._togglePlaceholder(!a.value().trim())}),10)}}),a._initializeColumnResizing(),a._initializeRowResizing(),a._initializeElementResizing()},_initializeImmutables:function(){var e=this,t=n.ui.editor;e.options.immutables&&(e.immutables=new t.Immutables(e))},_initializePlaceholder:function(){var t,n,i=this,o=i.options.placeholder;i.textarea&&o&&(t=`<style id='${g}' ${i.options.nonce?`nonce="${i.options.nonce}"`:""} >.`+v+":before { content: '"+o+"'; }</style>",(n=e(i.document.head)).find("#"+g).remove(),n.append(t),i._togglePlaceholder(!i.value().trim()))},_initToolbar:function(i){var o,r,a,s=this;s.tools=[],[o,r]=s._processToolbarItems(s.options.tools),s._setNativeTools(),a={tools:o,defaultTools:r,parentMessages:s.options.messages,resizable:!0===s.options.resizable||Boolean(s.options.resizable&&s.options.resizable.toolbar&&"none"!==s.options.resizable.toolbar?.mode),toggle:s._handleToolbarClick.bind(this),click:s._handleToolbarClick.bind(this),navigateOnTab:s.options.navigateOnTab,evaluateTemplates:!0,overflow:e.isPlainObject(s.options.resizable?.toolbar)?s.options.resizable.toolbar:t},s.toolbar=new n.ui.ToolBar(i,a),s._bindTools(),s.bind("select",s._refreshTools.bind(s)),i.on("mousedown.kendoEditor",(function(t){const n=e(t.target);n.closest("[ref-toolbar-tool]").length?n.is("input")||t.preventDefault():(t.preventDefault(),t.stopPropagation())})),s.textarea||(i.width(i.width()),s._initToolbarWindow(i))},_initToolbarWindow:function(t){var i=this;this.windowInstance=t.wrap("<div class='editorToolbarWindow k-editor-window' />").parent().prepend("<span class='k-editortoolbar-dragHandle'>"+n.ui.icon("handle-drag")+"</span>").kendoWindow({title:!1,resizable:!1,draggable:{dragHandle:".k-editortoolbar-dragHandle"},animation:{open:{effects:"fade:in"},close:{effects:"fade:out"}},minHeight:42,visible:!1,autoFocus:!1,actions:[],dragend:function(){this._moved=!0}}).on("mousedown",(function(t){e(t.target).is(".k-icon,.k-svg-icon,svg,path,.k-editor-window,.k-editor-toolbar,.k-editortoolbar-dragHandle,[ref-toolbar-tool],[ref-toolbar-tool] *")||(i.toolbar.preventPopupHide=!0)})).on("focusout",(function(){i.element.focusout()})).data("kendoWindow")},_mousedown:function(t){var n=this;if(n._selectionStarted=!0,e(n.body).parents(".k-window").length&&t.stopPropagation(),!a.gecko){var i=e(t.target).closest("a[href]");(2==t.which||1==t.which&&t.ctrlKey)&&i&&i.is("a[href]")&&window.open(i.attr("href"),"_new"),t.target.tagName&&"html"===t.target.tagName.toLowerCase()&&setTimeout((function(){n.body.focus()}),0)}},_mouseup:function(t){var i=this;n.support.mobileOS.ios&&t&&e(t.target).is("select.k-select-overlay")||i._selectionStarted&&setTimeout((function(){i._selectionChange()}),1)},_populateValue:function(t,i){var o,r,a=this,s=n.ui.editor,l=s.Dom;if(t&&t.value)o=t.value;else if(a.textarea){(o=i.value).replace(/\s/g,"").length||(o=o.replace(/\s/g,"")),a.options.encoded&&i.defaultValue&&i.defaultValue.trim().length&&(o=i.defaultValue);var c=s.Serializer.htmlToDom(o,e("<div></div>")[0],a.options.deserialization);r=l.getAllComments(c),o=(o=b.cacheComments(o,r)).replace(/[\r\n\v\f\t ]+/gi," "),o=b.retrieveComments(o,r)}else o=i.innerHTML;a.value(o||"\ufeff")},_resetGroups:function(e){var t={};return Object.keys(e).map((n=>{t[n+"_"]=e[n]})),t},_processToolbarItems:function(i){var o,r,a,s,l,c,d={},u={},h=e.extend(!0,{},w);for(r=0;r<i.length;r++)if(s=i[r],Array.isArray(s))for(c=n.guid(),a=0;a<s.length;a++)[d,l]=this._processToolOptions(s[a],d),l&&(d[l].gr=c);else{if([d,l]=this._processToolOptions(s,d),!l)continue;"separator"===l&&(h=this._resetGroups(h)),Object.keys(h).map((e=>{h[e].includes(l)&&(d[l].gr=e)}))}return Object.values(d).map((e=>{var n=e.gr;delete e.gr,n===t?u[e.name]=e:(u[n]||(u[n]=[]),u[n].push(e))})),o=Object.values(u).map((e=>{var t;return 1===(t=e.length?e.map((e=>e.name)):e.name).length&&(t=t[0]),t})),[o,d]},_processDefaultTool:function(t,n){var i,o=t.name,r={};if(e.isPlainObject(t))o&&n[o]?(r=s({},n[o]),s(r.options,t)):((i=s({icon:"gear",type:"button"},t)).name||(i.name="custom"),i.cssClass="k-"+i.name,r={options:i},o=i.name);else{if(!n[t])return null;r=n[o=t]}return this.tools[o]=r,r},_processToolOptions:function(i,o){var r,a,s,l,c,d,u,h,p,f,m=this,v=n.deepExtend({},n.ui.Editor.defaultTools);return(r=this._processDefaultTool(i,v))?(a=(c=r.options).name,d=c.ui||{},u=b.getToolCssClass(c.name,c.icon),delete(p=e.isPlainObject(i)?e.extend({},i):{}).items,h=e.extend({name:c.name,command:c.command,template:c.template,attributes:{class:c.cssClass},type:"button",icon:u,showText:"overflow",showIcon:"both"},d,p),c.tooltip&&(h.attributes||(h.attributes={}),h.attributes.title=c.tooltip),c.exec&&(h.click=c.exec.bind(m),delete h.exec),"ColorPicker"===h.component&&(c.palette===t&&d.palette===n.ui.editor.ColorTool.fn.options.palette||(f=c.palette||n.ui.editor.ColorTool.fn.options.palette,s=c.palette===t||c.palette?"palette":"gradient",h.componentOptions.palette="palette"===s?f:t,h.componentOptions.views=[s],h.componentOptions.preview="gradient"===s,h.componentOptions.input="gradient"===s,h.componentOptions.buttons="gradient"===s,"gradient"===s&&delete h.componentOptions.columns),"palette"===s&&c.columns&&(h.componentOptions.columns=c.columns)),"DropDownList"!==h.component&&"ComboBox"!==h.component||(h.componentOptions||(h.componentOptions={}),h.componentOptions.dataSource||(m.options[a]&&Array.isArray(m.options[a])?h.componentOptions.dataSource=m.options[a]:h.componentOptions.dataSource=c.items)),h.template&&delete h.type,""!==(l=this._shortcutSequence(a))&&(h.attributes||(h.attributes={}),h.attributes["aria-keyshortcuts"]=l),o[a]=h,[o,a]):[o,null]},_refreshTools:function(){var t=this,i=t.getRange(),o=n.ui.editor,r=o.RangeUtils.textNodes(i),a=t.options.immutables,s=t._immutablesContext(i),l=t.tools;(r=o.Dom.filterBy(r,o.Dom.htmlIndentSpace,!0)).length||(r=[i.startContainer]),t.toolbar.element.find("[data-command]").filter(((t,n)=>0===e(n).find("[data-command]").length)).each((function(){var n,i=this.getAttribute("data-command"),o=l[i];o&&(n=e(this),o.update&&o.update(n,r,t.undoRedoStack),a&&t._updateImmutablesState(o,n,s))}))},_registerHandler:function(t,i,o){var r,a,s=".kendoEditor";if(t=e(t),this._handlers||(this._handlers=[]),t.length)if(e.isPlainObject(i))for(var l in i)i.hasOwnProperty(l)&&this._registerHandler(t,l,i[l]);else for(r=n.applyEventMap(i).split(" "),a=0;a<r.length;a++)this._handlers.push({element:t,type:r[a]+s,handler:o}),t.on(r[a]+s,o)},_runPostContentKeyCommands:function(e){for(var t=this.getRange(),n=this.keyboard.toolsFromShortcut(this.tools,e),i=0;i<n.length;i++){var o=n[i],r=o.options;if(r.keyPressCommand)new r.command({range:t}).changesContent()&&(this.keyboard.endTyping(!0),this.exec(o.name))}this._handleSpaceAndNewLines()},_handleSpaceAndNewLines:function(){const e=this,t=e.options.formattingMarksRefreshDelay,i=n.ui.editor,o=i.applyFormattingMarks,r=i.clearFormattingMarksOverlay;e._toggledFormattingMarks&&(e._formattingMarksOverlay.children().length&&r(e),t?(clearTimeout(e._formattingMarksTimeout),e._formattingMarksTimeout=setTimeout((()=>o(e)),t)):o(e))},_selectionChange:function(){this._selectionStarted=!1,this.saveSelection(),this.trigger("select",{})},_setOptionsTools:function(i){var o,r,a,s=this,l=s.toolbar,c=l.element;l.destroy(),c.empty(),s.tools=[],[o,r]=s._processToolbarItems(i),s._setNativeTools(),a={tools:o,defaultTools:r,parentMessages:s.options.messages,resizable:!0===s.options.resizable||Boolean(s.options.resizable&&s.options.resizable.toolbar&&"none"!==s.options.resizable.toolbar?.mode),toggle:s._handleToolbarClick.bind(this),click:s._handleToolbarClick.bind(this),overflow:e.isPlainObject(s.options.resizable?.toolbar)?s.options.resizable.toolbar:t},s.toolbar=new n.ui.ToolBar(c,a),s._bindTools()},_setNativeTools:function(){var e,t=n.deepExtend({},n.ui.Editor.defaultTools);for(e=0;e<_.length;e++)this.tools[_[e]]||(this.tools[_[e]]=t[_[e]])},_setupHeight:function(e){var t=this;"textarea"==e&&setTimeout((function(){var e=t.wrapper[0].style.height,n=parseInt(e,10),i=t.wrapper.height();e.indexOf("px")>0&&!isNaN(n)&&i>n&&t.wrapper.height(n-(i-n))}))},_setupKeyboard:function(){var e=this,t=n.ui.editor;e.keyboard=new t.Keyboard([new t.BackspaceHandler(e),new t.TypingHandler(e),new t.SystemHandler(e),new t.SelectAllHandler(e)])},_setupType:function(t){var i,o=t[0],r=n.ui.editor.Dom.name(o),a=o.id;return a||(a=n.guid(),o.setAttribute("id",a)),"textarea"==r?(this._wrapTextarea(),(i=this.wrapper.find(".k-editor-toolbar")).attr("aria-controls",a)):(e(o).attr("contenteditable",!0).addClass("k-editor k-editor-inline"),i=e('<div class="k-editor-toolbar"/>').insertBefore(t)),i},_isInlineEditor:function(){return this.element.hasClass("k-editor-inline")},_shortcutSequence:function(e){var t,i=n.ui.Editor.defaultTools[e],o="";return i&&i.options?((t=i.options).ctrl&&(o+="Ctrl+"),t.shift&&(o+="Shift+"),t.alt&&(o+="Alt+"),t.key&&(o+=t.key),o):o},_spellCorrect:function(e){var t,i=!1;this._registerHandler(e.body,{contextmenu:function(){e.one("select",(function(){t=null})),e._spellCorrectTimeout=setTimeout((function(){t=new n.ui.editor.RestorePoint(e.getRange(),e.body),i=!1}),10)},input:function(){t&&(!n.support.browser.mozilla||i?n.ui.editor._finishUpdate(e,t):i=!0)}})},_togglePlaceholder:function(t){var n=this,i=n.body,o=e(i),r=n.options.placeholder;n.textarea&&r&&(o.attr("aria-label",(function(){return t?r:""})),o.toggleClass(v,t))},_toolbarFocused:function(){var t=n._activeElement(),i=this.windowInstance,o=this.overflowPopup;return i&&e(t).closest(i.wrapper).length||o&&o.visible()},_updateImmutablesState:function(i,o,r){let a=this.toolbar,s=i.name,l=a.overflowAnchor,c=o.closest("[ref-toolbar-tool]"),d=i.options.trackImmutables,u=!0,h=n.ui.editor;if(d===t&&(d=e.inArray(s,h.Immutables.toolsToBeUpdated)>-1),l&&!l.hasClass("k-hidden")){const e=a.overflowMenu,t=e?.element.find(`[data-command="${i.options.name}"]`);u=t?.hasClass("k-hidden")}d&&(r?a.hide(c):u&&a.show(c))},_wrapTextarea:function(){var t=this,n=t.element,i=n[0].style.width,o=n[0].style.height,r=b.editorWrapperTemplate(),a=e(r).insertBefore(n),s=a.find(".k-editable-area");a.css({width:i,height:o}),n.attr("autocomplete","off").appendTo(s).addClass("k-content k-raw-content").css("display","none"),t.textarea=n,t.wrapper=a},_resizable:function(){let n=this,i=this.options.resizable,o=e.isPlainObject(i)?i.content===t||!0===i.content:i,r=e.isPlainObject(i.min)?i.min:{minHeight:i.min},a=e.isPlainObject(i.max)?i.max:{maxHeight:i.max};o&&this.textarea&&(n.wrapper.addClass("k-editor-resizable"),r.minHeight&&n.wrapper.css("min-height",r.minHeight),a.maxHeight&&n.wrapper.css("max-height",a.maxHeight),r.minWidth&&n.wrapper.css("min-width",r.minWidth),a.maxWidth&&n.wrapper.css("max-width",a.maxWidth),n.resizeObserver=new ResizeObserver((()=>{clearTimeout(n._resizeTimeOut),n._resizeTimeOut=setTimeout((function(){n.toolbar.resize(),n._handleSpaceAndNewLines()}),50)})),n.resizeObserver.observe(n.wrapper[0]))},_destroyResizings:function(){var e=this;e._destroyElementResizing(),n.ui.editor.ElementResizingFactory.current.dispose(e),e._destroyRowResizing(),n.ui.editor.RowResizing.dispose(e),e._destroyColumnResizing(),n.ui.editor.ColumnResizing.dispose(e)},_initializeElementResizing:function(){var e=this;n.ui.editor.ElementResizingFactory.current.create(e),e._showElementResizeHandlesProxy=e._showElementResizeHandles.bind(e),e.bind(m,e._showElementResizeHandlesProxy)},_destroyElementResizing:function(){var e=this,t=e.elementResizing;t&&(t.destroy(),e.elementResizing=null),e._showElementResizeHandlesProxy&&e.unbind(m,e._showElementResizeHandlesProxy)},_showElementResizeHandles:function(){var e=this.elementResizing;e&&e.element&&e.element.parentNode?e.showResizeHandles():!e||e.element&&e.element.parentNode||this._destroyElementResizing()},_initializeColumnResizing:function(){n.ui.editor.ColumnResizing.create(this)},_destroyColumnResizing:function(){var e=this;e.columnResizing&&(e.columnResizing.destroy(),e.columnResizing=null)},_initializeRowResizing:function(){n.ui.editor.RowResizing.create(this)},_destroyRowResizing:function(){var e=this;e.rowResizing&&(e.rowResizing.destroy(),e.rowResizing=null)},_getWindowWidth:function(){var e=this.windowInstance.wrapper,t=this.element;return d(t)-parseInt(e.css("border-left-width"),10)-parseInt(e.css("border-right-width"),10)},_hideWindow:function(){this.windowInstance&&this.windowInstance.close()},_overlapsWindow:function(e){var t=this.windowInstance.wrapper,n=t.offset(),i=n.left,o=n.top,r=e.offset(),a=r.left,s=r.top;return!(a+e.width()<i||a>i+t.width()||s+e.height()<o||s>o+t.height())},_showWindow:function(){var e,t,i,o=this,r=o.windowInstance,a=n.support.browser;r&&(e=r.wrapper,t=o.element,e.is(":visible")&&o.windowInstance.options.visible||(e[0].style.width||e.width(this._getWindowWidth()),r._moved||(i=t.offset(),e.css({top:Math.max(0,parseInt(i.top,10)-u(e)-parseInt(o.windowInstance.element.css("padding-bottom"),10)),left:Math.max(0,parseInt(i.left,10))})),(a.msie||a.edge)&&o._overlapsWindow(t)?setTimeout((function(){r.open()}),0):r.open()))}});k.defaultTools={},n.ui.plugin(k);var x=i.extend({init:function(e){this.options=e},command:function(e){return new this.options.command(e)},update:e.noop});x.exec=function(e,t,n){e.exec(t,{value:n})};var C=x.extend({command:e.noop,update:function(e,t,n){var i=this.options.name,o=e.closest(".k-toolbar").data("kendoToolBar");switch(i){case"undo":o.enable(e,n.canUndo());break;case"redo":o.enable(e,n.canRedo())}e.removeAttr("disabled")}});b.registerTool("separator",new x({ui:{type:"separator"}})),b.registerTool("undo",new C({key:"Z",ctrl:!0})),b.registerTool("redo",new C({key:"Y",ctrl:!0}));var z="\ufeff",S=z;(a.msie||a.edge)&&(S=z=" "),s(n.ui,{editor:{EditorUtils:b,Tool:x,emptyElementContent:z,emptyTableCellContent:S}}),n.PDFMixin&&(n.PDFMixin.extend(k.prototype),k.prototype._drawPDF=function(){return n.drawing.drawDOM(this.body,this.options.pdf)},k.prototype.saveAsPDF=function(){var t=new e.Deferred,i=t.promise(),o={promise:i};if(!this.trigger("pdfExport",o)){var r=this.options.pdf;return this._drawPDF(t).then((function(e){return n.drawing.exportPDF(e,r)})).done((function(e){n.saveAs({dataURI:e,fileName:r.fileName,proxyURL:r.proxyURL,proxyTarget:r.proxyTarget,forceProxy:r.forceProxy}),t.resolve()})).fail((function(e){t.reject(e)})),i}})}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.map,i=e.extend,o=t.support.browser,r="style",a="float",s="cssFloat",l="styleFloat",c="class",d="k-marker";function u(e){var t,n,i={};for(t=0,n=e.length;t<n;t++)i[e[t]]=!0;return i}var h=u("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed".split(",")),p="p,div,h1,h2,h3,h4,h5,h6,address,applet,blockquote,button,center,dd,dir,dl,dt,fieldset,form,frameset,hr,iframe,isindex,map,menu,noframes,noscript,object,pre,script,table,tbody,td,tfoot,th,thead,tr,header,article,nav,footer,section,aside,main,figure,figcaption".split(","),f=p.concat(["ul","ol","li"]),m=u(f),v=u("area,base,br,col,command,embed,hr,img,input,keygen,link,menuitem,meta,param,source,track,wbr".split(",")),g="span,em,a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,strike,strong,sub,sup,textarea,tt,u,var,data,time,mark,ruby".split(","),_=u(g),b=u("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected".split(",")),y=["hgroup","ol","ul","dl","object","video","audio","table","colgroup","tbody","thead","tfoot","tr","select","optgroup"],w=function(e){1==e.nodeType&&e.normalize()};o.msie&&o.version>=8&&(w=function(e){if(1==e.nodeType&&e.firstChild){var t=e.firstChild,n=t;for(w(n);n=n.nextSibling;)w(n),3==n.nodeType&&3==t.nodeType&&(n.nodeValue=t.nodeValue+n.nodeValue,E.remove(t)),t=n}});var k,x=/^\s+$/,C=/^[\n\r\t]+$/,z=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i,S=/\ufeff/g,T=/^(\s+|\ufeff)$/,M="color,padding-left,padding-right,padding-top,padding-bottom,background-color,background-attachment,background-image,background-position,background-repeat,border-top-style,border-top-width,border-top-color,border-bottom-style,border-bottom-width,border-bottom-color,border-left-style,border-left-width,border-left-color,border-right-style,border-right-width,border-right-color,font-family,font-size,font-style,font-variant,font-weight,line-height".split(","),I=/[<>&]/g,H=/[\u00A0-\u2666<>&]/g,D={34:"quot",38:"amp",39:"apos",60:"lt",62:"gt",160:"nbsp",161:"iexcl",162:"cent",163:"pound",164:"curren",165:"yen",166:"brvbar",167:"sect",168:"uml",169:"copy",170:"ordf",171:"laquo",172:"not",173:"shy",174:"reg",175:"macr",176:"deg",177:"plusmn",178:"sup2",179:"sup3",180:"acute",181:"micro",182:"para",183:"middot",184:"cedil",185:"sup1",186:"ordm",187:"raquo",188:"frac14",189:"frac12",190:"frac34",191:"iquest",192:"Agrave",193:"Aacute",194:"Acirc",195:"Atilde",196:"Auml",197:"Aring",198:"AElig",199:"Ccedil",200:"Egrave",201:"Eacute",202:"Ecirc",203:"Euml",204:"Igrave",205:"Iacute",206:"Icirc",207:"Iuml",208:"ETH",209:"Ntilde",210:"Ograve",211:"Oacute",212:"Ocirc",213:"Otilde",214:"Ouml",215:"times",216:"Oslash",217:"Ugrave",218:"Uacute",219:"Ucirc",220:"Uuml",221:"Yacute",222:"THORN",223:"szlig",224:"agrave",225:"aacute",226:"acirc",227:"atilde",228:"auml",229:"aring",230:"aelig",231:"ccedil",232:"egrave",233:"eacute",234:"ecirc",235:"euml",236:"igrave",237:"iacute",238:"icirc",239:"iuml",240:"eth",241:"ntilde",242:"ograve",243:"oacute",244:"ocirc",245:"otilde",246:"ouml",247:"divide",248:"oslash",249:"ugrave",250:"uacute",251:"ucirc",252:"uuml",253:"yacute",254:"thorn",255:"yuml",402:"fnof",913:"Alpha",914:"Beta",915:"Gamma",916:"Delta",917:"Epsilon",918:"Zeta",919:"Eta",920:"Theta",921:"Iota",922:"Kappa",923:"Lambda",924:"Mu",925:"Nu",926:"Xi",927:"Omicron",928:"Pi",929:"Rho",931:"Sigma",932:"Tau",933:"Upsilon",934:"Phi",935:"Chi",936:"Psi",937:"Omega",945:"alpha",946:"beta",947:"gamma",948:"delta",949:"epsilon",950:"zeta",951:"eta",952:"theta",953:"iota",954:"kappa",955:"lambda",956:"mu",957:"nu",958:"xi",959:"omicron",960:"pi",961:"rho",962:"sigmaf",963:"sigma",964:"tau",965:"upsilon",966:"phi",967:"chi",968:"psi",969:"omega",977:"thetasym",978:"upsih",982:"piv",8226:"bull",8230:"hellip",8242:"prime",8243:"Prime",8254:"oline",8260:"frasl",8472:"weierp",8465:"image",8476:"real",8482:"trade",8501:"alefsym",8592:"larr",8593:"uarr",8594:"rarr",8595:"darr",8596:"harr",8629:"crarr",8656:"lArr",8657:"uArr",8658:"rArr",8659:"dArr",8660:"hArr",8704:"forall",8706:"part",8707:"exist",8709:"empty",8711:"nabla",8712:"isin",8713:"notin",8715:"ni",8719:"prod",8721:"sum",8722:"minus",8727:"lowast",8730:"radic",8733:"prop",8734:"infin",8736:"ang",8743:"and",8744:"or",8745:"cap",8746:"cup",8747:"int",8756:"there4",8764:"sim",8773:"cong",8776:"asymp",8800:"ne",8801:"equiv",8804:"le",8805:"ge",8834:"sub",8835:"sup",8836:"nsub",8838:"sube",8839:"supe",8853:"oplus",8855:"otimes",8869:"perp",8901:"sdot",8968:"lceil",8969:"rceil",8970:"lfloor",8971:"rfloor",9001:"lang",9002:"rang",9674:"loz",9824:"spades",9827:"clubs",9829:"hearts",9830:"diams",338:"OElig",339:"oelig",352:"Scaron",353:"scaron",376:"Yuml",710:"circ",732:"tilde",8194:"ensp",8195:"emsp",8201:"thinsp",8204:"zwnj",8205:"zwj",8206:"lrm",8207:"rlm",8211:"ndash",8212:"mdash",8216:"lsquo",8217:"rsquo",8218:"sbquo",8220:"ldquo",8221:"rdquo",8222:"bdquo",8224:"dagger",8225:"Dagger",8240:"permil",8249:"lsaquo",8250:"rsaquo",8364:"euro"},E={block:m,inline:_,findNodeIndex:function(e,t){var n=0;if(!e)return-1;for(;e=e.previousSibling;)t&&3==e.nodeType||n++;return n},isDataNode:function(e){return e&&null!==e.nodeValue&&null!==e.data},isAncestorOf:function(t,n){try{return!E.isDataNode(t)&&(e.contains(t,E.isDataNode(n)?n.parentNode:n)||n.parentNode==t)}catch(e){return!1}},isAncestorOrSelf:function(e,t){return E.isAncestorOf(e,t)||e==t},findClosestAncestor:function(e,t){if(E.isAncestorOf(e,t))for(;t&&t.parentNode!=e;)t=t.parentNode;return t},getAllComments:function(e){for(var t=[],n=document.createNodeIterator(e,NodeFilter.SHOW_COMMENT,(function(){return NodeFilter.FILTER_ACCEPT}),!1),i=n.nextNode();i;)t.push(i.nodeValue),i=n.nextNode();return t},getNodeLength:function(e){return E.isDataNode(e)?e.length:e.childNodes.length},splitDataNode:function(e,t){for(var n,i=e.cloneNode(!1),o="",r=e.nextSibling;r&&3==r.nodeType&&r.nodeValue;)o+=r.nodeValue,n=r,r=r.nextSibling,E.remove(n);e.deleteData(t,e.length),i.deleteData(0,t),i.nodeValue+=o,E.insertAfter(i,e)},attrEquals:function(e,n){for(var i in n){var o=e[i];if(i==a&&(o=e[t.support.cssFloat?s:l]),"object"==typeof o){if(!E.attrEquals(o,n[i]))return!1}else if(o!=n[i])return!1}return!0},blockParentOrBody:function(e){return E.parentOfType(e,f)||e.ownerDocument.body},blockParents:function(t){var n,i,o=[];for(n=0,i=t.length;n<i;n++){var r=E.parentOfType(t[n],E.blockElements);r&&e.inArray(r,o)<0&&o.push(r)}return o},windowFromDocument:function(e){return e.defaultView||e.parentWindow},normalize:w,blockElements:f,nonListBlockElements:p,inlineElements:g,empty:h,fillAttrs:b,nodeTypes:{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},toHex:function(e){var t=z.exec(e);return t?"#"+n(t.slice(1),(function(e){return(e=parseInt(e,10).toString(16)).length>1?e:"0"+e})).join(""):e},encode:function(e,t){var n=!t||t.entities?H:I;return e.replace(n,(function(e){var t=e.charCodeAt(0),n=D[t];return n?"&"+n+";":e}))},isBom:function(e){return e&&3===e.nodeType&&/^[\ufeff]+$/.test(e.nodeValue)},stripBom:function(e){return(e||"").replace(S,"")},stripBomNode:function(e){E.isBom(e)&&e.parentNode.removeChild(e)},insignificant:function(e){var t=e.attributes;return"k-marker"==e.className||E.is(e,"br")&&("k-br"==e.className||t._moz_dirty||t._moz_editor_bogus_node)||E.is(e,"span")&&"k-br"==e.className},tableCell:function(e){return E.is(e,"td")||E.is(e,"th")},significantNodes:function(t){return e.grep(t,(function(e){var t=E.name(e);return!("br"==t||E.insignificant(e)||E.emptyTextNode(e)||1==e.nodeType&&!h[t]&&E.emptyNode(e))}))},emptyTextNode:function(e){return e&&3==e.nodeType&&T.test(e.nodeValue)},emptyNode:function(e){return 1==e.nodeType&&!E.significantNodes(e.childNodes).length},name:function(e){return e.nodeName.toLowerCase()},significantChildNodes:function(t){return e.grep(t.childNodes,(function(e){return 3!=e.nodeType||!E.isWhitespace(e)}))},getTextNodes:function(e,t){const n=e.childNodes;t=t||[];for(const i of n)i.nodeType===this.nodeTypes.TEXT_NODE&&(f.includes(E.name(i.parentNode))||g.includes(E.name(i.parentNode))||i.parentNode===e)?t.push(i):i.nodeType===this.nodeTypes.ELEMENT_NODE&&this.getTextNodes(i,t);return t},lastTextNode:function(e){var t=null;if(3==e.nodeType)return e;for(var n=e.lastChild;n;n=n.previousSibling)if(t=E.lastTextNode(n))return t;return t},is:function(e,t){return e&&E.name(e)==t},isMarker:function(e){return e.className==d},isWhitespace:function(e){return x.test(e.nodeValue)},allowsTextContent:function(e){var t=!0;return y.every((function(n){return!E.is(e,n)||(t=!1,!1)})),t},allWhitespaceContent:function(e){for(var t=e.firstChild;t&&E.isWhitespace(t);)t=t.nextSibling;return!t},isEmptyspace:function(e){return C.test(e.nodeValue)},htmlIndentSpace:function(t){if(!E.isDataNode(t)||!E.isWhitespace(t))return!1;if(C.test(t.nodeValue))return!0;var n=function(e,t){for(;e[t];)if(e=e[t],E.significantNodes([e]).length>0)return e},i=t.parentNode,o=n(t,"previousSibling"),r=n(t,"nextSibling");if(S.test(t.nodeValue))return!(!o&&!r);if(e(i).is("tr,tbody,thead,tfoot,table,ol,ul"))return!0;if(E.isBlock(i)||E.is(i,"body")){var a=o&&E.isBlock(o),s=r&&E.isBlock(r);if(!r&&a||!o&&s||a&&s)return!0}return!1},isBlock:function(e){return m[E.name(e)]},isSelfClosing:function(e){return v[E.name(e)]},isEmpty:function(e){return h[E.name(e)]},isInline:function(e){return _[E.name(e)]},isImg:function(e){return"img"==E.name(e)},isBr:function(e){return"br"==E.name(e)},list:function(e){var t=e?E.name(e):"";return"ul"==t||"ol"==t||"dl"==t},scrollContainer:function(e){var t=E.windowFromDocument(e),n=(t.contentWindow||t).document||t.ownerDocument||t;return n="BackCompat"==n.compatMode?n.body:n.scrollingElement||n.documentElement},scrollTo:function(t,n){var i,o,r,a,s=t.ownerDocument,l=E.windowFromDocument(s).innerHeight,c=E.scrollContainer(s);E.isDataNode(t)?n?(a=E.create(s,"span",{innerHTML:""}),E.insertBefore(a,t),i=e(a)):i=e(t.parentNode):i=e(t),o=i.offset().top,r=i[0].offsetHeight,!n&&r||(r=parseInt(i.css("line-height"),10)||Math.ceil(1.2*parseInt(i.css("font-size"),10))||15),a&&E.remove(a),r+o>c.scrollTop+l&&(c.scrollTop=r+o-l)},persistScrollTop:function(e){k=E.scrollContainer(e).scrollTop},offset:function(e,t){for(var n={top:e.offsetTop,left:e.offsetLeft},i=e.offsetParent;i&&(!t||E.isAncestorOf(t,i));)n.top+=i.offsetTop,n.left+=i.offsetLeft,i=i.offsetParent;return n},restoreScrollTop:function(e){"number"==typeof k&&(E.scrollContainer(e).scrollTop=k,k=void 0)},insertAt:function(e,t,n){e.insertBefore(t,e.childNodes[n]||null)},insertBefore:function(e,t){return t.parentNode?t.parentNode.insertBefore(e,t):t},insertAfter:function(e,t){return t.parentNode.insertBefore(e,t.nextSibling)},remove:function(e){e.parentNode&&e.parentNode.removeChild(e)},removeChildren:function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},removeTextSiblings:function(e){for(var t=e.parentNode;e.nextSibling&&3==e.nextSibling.nodeType;)t.removeChild(e.nextSibling);for(;e.previousSibling&&3==e.previousSibling.nodeType;)t.removeChild(e.previousSibling)},trim:function(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];E.isDataNode(n)?E.stripBom(n.nodeValue).length||E.remove(n):n.className!=d&&(E.trim(n),(!E.isEmpty(n)&&0===n.childNodes.length||E.isBlock(n)&&E.allWhitespaceContent(n))&&E.remove(n))}return e},closest:function(e,t){for("string"==typeof t&&(t=[t]);e&&t.indexOf(E.name(e))<0;)e=e.parentNode;return e},closestBy:function(e,t,n){for(;e&&!t(e);){if(n&&n(e))return null;e=e.parentNode}return e},sibling:function(e,t){do{e=e[t]}while(e&&1!=e.nodeType);return e},next:function(e){return E.sibling(e,"nextSibling")},prev:function(e){return E.sibling(e,"previousSibling")},parentOfType:function(e,t){do{e=e.parentNode}while(e&&!E.ofType(e,t));return e},ofType:function(t,n){return e.inArray(E.name(t),n)>=0},changeTag:function(e,t,n){var i,o,a,s,l,d=E.create(e.ownerDocument,t),u=e.attributes;if(!n)for(i=0,o=u.length;i<o;i++)(l=u[i]).specified&&(a=l.nodeName,s=l.nodeValue,a==c?d.className=s:a==r?d.style.cssText=e.style.cssText:d.setAttribute(a,s));for(;e.firstChild;)d.appendChild(e.firstChild);return E.insertBefore(d,e),E.remove(e),d},editableParent:function(e){for(;e&&(3==e.nodeType||"true"!==e.contentEditable);)e=e.parentNode;return e},wrap:function(e,t){return E.insertBefore(t,e),t.appendChild(e),t},unwrap:function(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)},wrapper:function(t){var n=E.closestBy(t,(function(e){return e.parentNode&&E.significantNodes(e.parentNode.childNodes).length>1}));return e(n).is("body,.k-editor")?void 0:n},isChildOfBaseContainer:function(t){return e(t).parent().is("body,.k-editor")},create:function(e,t,n){return E.attr(e.createElement(t),n)},createEmptyNode:function(e,t,n){var i=E.attr(e.createElement(t),n);return i.innerHTML="\ufeff",i},attr:function(e,t){for(var n in(t=i({},t))&&r in t&&(E.style(e,t.style),delete t.style),t)null===t[n]?(e.removeAttribute(n),delete t[n]):"className"==n&&(e[n]=t[n]);return i(e,t)},mergeAttributes:function(t,n,i){t.attributes.length&&e.each(t.attributes,(function(){"contenteditable"===this.name||i&&this.name===r||e(n).attr(this.name,this.value),i&&this.name===r&&e.each(t.style,(function(){n.style[this]=t.style[this]}))}))},style:function(t,n){e(t).css(n||{})},unstyle:function(e,n){for(var i in n)i==a?e.style[t.support.cssFloat?s:l]="":e.style[i]="";""===e.style.cssText&&e.removeAttribute(r)},inlineStyle:function(t,i,r){var a,s=e(E.create(t.ownerDocument,i,r));return t.appendChild(s[0]),a=n(M,(function(e){return o.msie&&"line-height"==e&&"1px"==s.css(e)?"line-height:1.5":e+":"+s.css(e)})).join(";"),s.remove(),a},getEffectiveBackground:function(e){var t=e.css("background-color")||"";return t.indexOf("rgba(0, 0, 0, 0")<0&&"transparent"!==t?t:"html"===e[0].tagName.toLowerCase()?"Window":E.getEffectiveBackground(e.parent())},innerText:function(e){var t=e.innerHTML;return t=(t=t.replace(/<!--(.|\s)*?-->/gi,"")).replace(/<\/?[^>]+?\/?>/gm,"")},removeClass:function(e,n){var i,o,r=" "+e.className+" ",a=n.split(" ");for(i=0,o=a.length;i<o;i++)r=r.replace(" "+a[i]+" "," ");(r=t.trim(r)).length?e.className=r:e.removeAttribute(c)},commonAncestor:function(){var e,t,n,i,o,r=arguments.length,a=[],s=1/0,l=null;if(!r)return null;if(1==r)return arguments[0];for(e=0;e<r;e++){for(t=[],n=arguments[e];n;)t.push(n),n=n.parentNode;a.push(t.reverse()),s=Math.min(s,t.length)}if(1==r)return a[0][0];for(e=0;e<s;e++){for(i=a[0][e],o=1;o<r;o++)if(i!=a[o][e])return l;l=i}return l},closestSplittableParent:function(t){var i;(i=1==t.length?E.parentOfType(t[0],["ul","ol"]):E.commonAncestor.apply(null,t))||(i=E.parentOfType(t[0],["p","td"])||t[0].ownerDocument.body),E.isInline(i)&&(i=E.blockParentOrBody(i));var o=n(t,E.editableParent),r=E.commonAncestor(o)[0];return e.contains(i,r)&&(i=r),i},closestEditable:function(t,n){var i,o=E.editableParent(t);return((i=E.ofType(t,n)?t:E.parentOfType(t,n))&&o&&e.contains(i,o)||!i&&o)&&(i=o),i},closestEditableOfType:function(t,n){var i=E.closestEditable(t,n);if(i&&E.ofType(i,n)&&!e(i).is(".k-editor"))return i},filter:function(e,t,n){return E.filterBy(t,(function(t){return E.name(t)==e}),n)},filterBy:function(e,t,n){for(var i,o=0,r=e.length,a=[];o<r;o++)((i=t(e[o]))&&!n||!i&&n)&&a.push(e[o]);return a},ensureTrailingBreaks:function(t){var n=e(t).find("p,td,th"),i=n.length,o=0;if(i)for(;o<i;o++)E.ensureTrailingBreak(n[o]);else E.ensureTrailingBreak(t)},removeTrailingBreak:function(t){e(t).find("br[type=_moz],.k-br").remove()},ensureTrailingBreak:function(e){E.removeTrailingBreak(e);var t,n=e.lastChild,i=n&&E.name(n);(!i||"br"!=i&&"img"!=i||"br"==i&&"k-br"!=n.className)&&((t=e.ownerDocument.createElement("br")).className="k-br",e.appendChild(t))},reMapTableColumns:function(e,t){E._mapColIndices(e,t)},clearTableMappings:function(t,n){e(t).find("["+n+"]").removeAttr(n)},_mapColIndices:function(e,t){for(var n={},i=0;i<e.rows.length;i++)for(var o=e.rows[i].cells,r=0,a=0;a<o.length;a++){var s=o[a];if(s.rowSpan>1&&this._mapColspan(s,i,r,n),n[i])for(;n[i][r];)r++;s.setAttribute(t,r),s.colSpan>1&&(r=r+s.colSpan-1),r++}},_mapColspan:function(e,t,n,i){for(var o,r=e.rowSpan,a=e.colSpan,s=0;s<a;s++){o=n+s;for(var l=t+1;l<t+r;l++){if(i[l]||(i[l]={},i[l].length=0),i[t])for(;i[t][o];)o++;i[l][o]=!0,i[l].length++}}},associateWithIds:function(e){var t,n,i=this,o=0,r=e.rows,a=r.length,s=[],l=[];if(e.tHead)o=(t=e.tHead.rows).length;else for(o=i._getNumberOfHeaderRows(e),t=[],n=0;n<o;n++)t.push(r[n]);for(n=0;n<o;n++)s.push([]);for(n=0;n<a;n++)l.push([]);i._generateIdsForColumns(s,t),i._generateIdsForRows(s,l,o,r),i._assignIds(s,l,o,r)},_generateIdsForColumns:function(e,t){var n,i,o,r,a,s,l,c,d,u,h=(new Date).getTime(),p=t?t.length:0;for(l=0;l<p;l++)for(n=t[l].cells,o=0,c=0;c<n.length;c++){for(r="table"+l+c+ ++h,(i=n[c]).setAttribute("id",r),a=i.getAttribute("colspan")||1,s=i.getAttribute("rowspan")||1;e[l][c+o];)o+=1;for(d=0;d<s;d++)for(u=0;u<a;u++)e[l+d][c+o+u]=r}},_generateIdsForRows:function(t,n,i,o){var r,a,s,l,c,d,u,h,p,f,m,v,g,_=(new Date).getTime(),b=o.length,y=function(e){g.push(e[v])};for(h=i;h<b;h++)for(r=o[h],a=e(r.cells).filter("th"),l=0,p=0;p<a.length;p++){for(c="table"+h+p+ ++_,(s=a[p]).setAttribute("id",c),d=s.getAttribute("colspan")||1,u=s.getAttribute("rowspan")||1;n[h][p+l];)l+=1;for(f=0;f<u;f++)for(m=0;m<d;m++)n[h+f][p+l+m]=c;v=s.getAttribute("col-index"),g=[],t.forEach(y),g=g.filter(this._onlyUnique),s.setAttribute("headers",g.join(" ").trim())}},_assignIds:function(t,n,i,o){var r,a,s,l,c,d,u,h=o.length,p=function(e){u.push(e[d])};for(l=i;l<h;l++)for(r=o[l],a=e(r.cells).filter("td"),c=0;c<a.length;c++)s=a[c],d=s.getAttribute("col-index"),u=n[l].slice(),t.forEach(p),u=u.filter(this._onlyUnique),s.setAttribute("headers",u.join(" ").trim())},_getNumberOfColumns:function(t){var n,i,o,r=e(t).find("th, td"),a=0;for(i=0;i<r.length;i++)n=r[i],(o=Number(n.getAttribute("col-index"))+1)>a&&(a=o);return a},_getNumberOfHeaderColumns:function(e,t){var n,i,o,r,a,s=e.rows,l=0;for(o=t;o<s.length;o++)for(i=s[o],r=0;r<i.cells.length;r++)a=i.cells[r],this.is(a,"th")&&(n=Number(a.getAttribute("col-index"))+1)>l&&(l=n);return l},_getNumberOfHeaderRows:function(e){var t,n,i,o,r=e.rows,a=e.tHead&&e.tHead.rows?e.tHead.rows.length:0;if(0===a)for(o=(n=r[0]).cells&&n.cells.length;n&&o&&this.is(n.cells[0],"th");){for(t=0;t<o;t++)i=n?n.cells[t]:null,this.is(i,"th")||(n=null);n&&(a+=1,o=(n=this.next(n))&&n.cells&&n.cells.length)}return a},_onlyUnique:function(e,t,n){return n.indexOf(e)===t}};t.ui.editor.Dom=E}(window.kendo.jQuery),function(e,t){var n=window.kendo,i=n.ui.editor,o=i.Dom,r=e.extend,a="xx-small,x-small,small,medium,large,x-large,xx-large".split(","),s=/"/g,l=/<br[^>]*>/i,c=/^\d+(\.\d*)?(px)?$/i,d=/<p>(?: )?<\/p>/i,u=/(\*?[-#\/\*\\\w]+(?:\[[0-9a-z_-]+\])?)\s*:\s*((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/g,h=/^sizzle-\d+/i,p=/^k-script-/i,f=/\s*onerror\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/i,m='<br class="k-br">',v="<span class='k-br'>\ufeff</span>",g=document.createElement("div");g.innerHTML=" <hr>";var _=3===g.firstChild.nodeType;g=null;var b=n.isFunction,y={toEditableHtml:function(e){return(e||"").replace(/<!\[CDATA\[(.*)?\]\]>/g,"\x3c!--[CDATA[$1]]--\x3e").replace(/<(\/?)script([^>]*)>/gi,"<$1k:script$2>").replace(/<img([^>]*)>/gi,(function(e){return e.replace(f,"")})).replace(/(<\/?img[^>]*>)[\r\n\v\f\t ]+/gi,"$1").replace(/^<(table|blockquote)/i,m+"<$1").replace(/^[\s]*( |\u00a0)/i,"$1").replace(/<\/(table|blockquote)>$/i,"</$1>"+m)},_toEditableImmutables:function(t){for(var n=i.Immutables.immutable,r=o.emptyTextNode,a=t.firstChild,s=t.lastChild;r(a);)a=a.nextSibling;for(;r(s);)s=s.previousSibling;a&&n(a)&&e(v).prependTo(t),s&&n(s)&&e(v).appendTo(t)},_fillEmptyElements:function(t){e(t).find("p,td").each((function(){var t=e(this);if(/^\s*$/g.test(t.text())&&!t.find("img,input").length){for(var i=this;i.children[0]&&3!=i.children[0].nodeType;)i=i.children[0];1!=i.nodeType||o.empty[o.name(i)]||(o.is(i,"td")?i.innerHTML=n.ui.editor.emptyTableCellContent:i.innerHTML=n.ui.editor.emptyElementContent)}}))},_removeSystemElements:function(t){e(".k-paste-container",t).remove()},_resetOrderedLists:function(e){var t,n,i,o=e.getElementsByTagName("ol");for(t=0;t<o.length;t++)i=(n=o[t]).getAttribute("start"),n.setAttribute("start",1),i?n.setAttribute("start",i):n.removeAttribute(i)},_preventScriptExecution:function(t){e(t).find("*").each((function(){var e,t,n,i,o=this.attributes,r=[];for(t=0,n=o.length;t<n;t++)i=(e=o[t]).nodeName,e.specified&&/^on/i.test(i)&&(this.setAttribute("k-script-"+i,e.value),r.push(i));for(t=0,n=r.length;t<n;t++)this.removeAttribute(r[t])}))},htmlToDom:function(t,i,r){var a=n.support.browser.msie,s=r||{},l=s.immutables;return t=y.toEditableHtml(t),b(s.custom)&&(t=s.custom(t)||t),i.innerHTML=t,l&&l.deserialize(i),a&&(o.normalize(i),y._resetOrderedLists(i)),y._preventScriptExecution(i),y._fillEmptyElements(i),y._removeSystemElements(i),y._toEditableImmutables(i),e("table",i).addClass("k-table"),i},domToXhtml:function(r,f){var m=[],v=f&&f.immutables;function g(t){return e.grep(t,(function(e){return"style"!=e.name}))}function b(e,t){m.push("<"+t),x(e),m.push(">")}var y={iframe:{start:function(e){b(e,"iframe")},end:function(){m.push("</iframe>")}},"k:script":{start:function(e){b(e,"script")},end:function(){m.push("<\/script>")},skipEncoding:!0},span:{canOptimize:!0,semantic:!0,start:function(t){var n=t.style,i=g(k(t));i.length&&(m.push("<span"),x(t,i),m.push(">")),"underline"==n.textDecoration&&m.push("<u>");var r=[];if(n.color&&r.push('color="'+o.toHex(n.color)+'"'),n.fontFamily&&r.push('face="'+n.fontFamily+'"'),n.fontSize){var s=e.inArray(n.fontSize,a);r.push('size="'+s+'"')}var l=[],c=["text-decoration","color","font"];for(let e=0;e<n.length;e++){var d=n[e];c.filter((e=>d.startsWith(e))).length<=0&&l.push(`${d}: ${n[d]}`)}l.length&&r.push('style="'+l.join(";")+'"'),r.length&&m.push("<font "+r.join(" ")+">")},end:function(e){var t=e.style;(t.color||t.fontFamily||t.fontSize)&&m.push("</font>"),"underline"==t.textDecoration&&m.push("</u>"),g(k(e)).length&&m.push("</span>")}},strong:{semantic:!0,start:function(e){b(e,"b")},end:function(){m.push("</b>")}},em:{semantic:!0,start:function(e){b(e,"i")},end:function(){m.push("</i>")}},b:{semantic:!1,start:function(e){b(e,"strong")},end:function(){m.push("</strong>")}},i:{semantic:!1,start:function(e){b(e,"em")},end:function(){m.push("</em>")}},u:{semantic:!1,start:function(t){m.push("<span");var n=k(t),i=e(n).filter((function(e,t){return"style"==t.name}))[0],o={nodeName:"style",value:"text-decoration:underline;"};i&&(o.value=i.value,/text-decoration/i.test(o.value)||(o.value="text-decoration:underline;"+o.value),n.splice(e.inArray(i,n),1)),n.push(o),x(t,n),m.push(">")},end:function(){m.push("</span>")}},font:{canOptimize:!0,semantic:!1,start:function(e){m.push('<span style="');var t=e.getAttribute("color"),n=a[e.getAttribute("size")],i=e.getAttribute("face");t&&(m.push("color:"),m.push(o.toHex(t)),m.push(";")),i&&(m.push("font-family:"),m.push(i),m.push(";")),n&&(m.push("font-size:"),m.push(n),m.push(";")),m.push('">')},end:function(){m.push("</span>")}}};function w(e){var t,i=function(e){var t,i,r,a=n.trim,l=a(e),c=[];for(u.lastIndex=0;t=u.exec(l);)i=a(t[1].toLowerCase()),r=a(t[2]),"font-size-adjust"!=i&&"font-stretch"!=i&&(i.indexOf("color")>=0?r=o.toHex(r):i.indexOf("font")>=0?r=r.replace(s,"'"):/\burl\(/g.test(r)&&(r=r.replace(s,"")),c.push({property:i,value:r}));return c}(e);for(t=0;t<i.length;t++)m.push(i[t].property),m.push(":"),m.push(i[t].value),m.push(";")}function k(e){var t,n,i,r,a,s,l=[],c=e.attributes;for(n=0,i=c.length;n<i;n++)r=(t=c[n]).nodeName,a=t.value,s=t.specified,"value"==r&&"value"in e&&e.value||"type"==r&&"text"==a?s=!0:"class"!=r||a?h.test(r)||"complete"==r||"altHtml"==r||"start"==r&&o.is(e,"ul")||"start"==r&&o.is(e,"ol")&&"1"==a||r.indexOf("_moz")>=0?s=!1:p.test(r)?s=!!f.scripts:"data-role"==r&&"resizable"==a&&(o.is(e,"tr")||o.is(e,"td"))&&(s=!1):s=!1,s&&l.push(t);return l}function x(i,r){var a,s,l,d,u;if(r=r||k(i),o.is(i,"img")){var h=i.style.width,f=i.style.height,v=e(i);h&&c.test(h)&&(v.attr("width",parseInt(h,10)),o.unstyle(i,{width:t})),f&&c.test(f)&&(v.attr("height",parseInt(f,10)),o.unstyle(i,{height:t}))}if(r.length)for(a=0,s=r.length;a<s;a++)d=(l=r[a]).nodeName,u=l.value,"class"==d&&"k-table"==u||(d=d.replace(p,""),m.push(" "),m.push(d),m.push('="'),"style"==d?w(u||i.style.cssText):"src"==d||"href"==d?m.push(n.htmlEncode(i.getAttribute(d,2))):m.push(o.fillAttrs[d]?d:u),m.push('"'))}function C(e,t,n){for(var i=e.firstChild;i;i=i.nextSibling)S(i,t,n)}function z(e){return e.nodeValue.replace(/\ufeff/g,"")}function S(t,n,r){var a,s,l,c,d,u,h=t.nodeType;if(v&&i.Immutables.immutable(t))m.push(v.serialize(t));else if(1==h){if(a=o.name(t),(u=e(t)).hasClass("k-element-resize-handle-wrapper")||u.hasClass("k-column-resize-handle-wrapper")||u.hasClass("k-row-resize-handle-wrapper"))return;if(!a||o.insignificant(t))return;if(!f.scripts&&("script"==a||"k:script"==a))return;if(s=y[a]){if(s.canOptimize&&f.optimizeTags&&function(e){return 0===e.attributes.length}(t))return void C(t,!1,s.skipEncoding);if(void 0===s.semantic||f.semantic^s.semantic)return s.start(t),C(t,!1,s.skipEncoding),void s.end(t)}m.push("<"),m.push(a),x(t),o.empty[a]?m.push(" />"):(m.push(">"),C(t,n||o.is(t,"pre")),m.push("</"),m.push(a),m.push(">"))}else if(3==h){if(function(e){if(o.isBom(e)){do{if(e=e.parentNode,o.is(e,"td")&&1===e.childNodes.length)return!0;if(1!==e.childNodes.length)return!1}while(!o.isBlock(e));return!0}return!1}(t))return void m.push(" ");c=z(t),!n&&_&&(l=t.parentNode,(d=t.previousSibling)||(d=(o.isInline(l)?l:t).previousSibling),d&&""!==d.innerHTML&&!o.isBlock(d)||(c=f.keepEOL?c.replace(/[\r\n\v\f\t ]+/," "):c.replace(/^[\r\n\v\f\t ]+/,"")),c=c.replace(/ +/," ")),m.push(r?c:o.encode(c,f))}else 4==h?(m.push("<![CDATA["),m.push(t.data),m.push("]]>")):8==h&&(t.data.indexOf("[CDATA[")<0?(m.push("\x3c!--"),m.push(t.data),m.push("--\x3e")):(m.push("<!"),m.push(t.data),m.push(">")))}function T(){n.isFunction(f.custom)&&(m=f.custom(m)||m)}return y.script=y["k:script"],void 0===(f=f||{}).semantic&&(f.semantic=!0),function(e){var t=e.childNodes.length;return t&&3==e.firstChild.nodeType&&(1==t||2==t&&o.insignificant(e.lastChild))}(r)?(m=o.encode(z(r.firstChild).replace(/[\r\n\v\f\t ]+/," "),f),T(),m):(C(r),m=m.join(""),T(),""===m.replace(l,"").replace(d,"")?"":m)}};r(i,{Serializer:y})}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=e.extend,o=t.ui.editor,r=t.support.browser,a=o.Dom,s=a.findNodeIndex,l=a.isDataNode,c=a.findClosestAncestor,d=a.getNodeLength,u=a.normalize,h={selectionFromWindow:function(e){if(e)return"getSelection"in e?e.getSelection():new g(e.document)},selectionFromRange:function(e){var t=S.documentFromRange(e);return h.selectionFromDocument(t)},selectionFromDocument:function(e){return h.selectionFromWindow(a.windowFromDocument(e))}},p=n.extend({init:function(t){e.extend(this,{ownerDocument:t,startContainer:t,endContainer:t,commonAncestorContainer:t,startOffset:0,endOffset:0,collapsed:!0})},setStart:function(e,t){this.startContainer=e,this.startOffset=t,m(this),f(this,!0)},setEnd:function(e,t){this.endContainer=e,this.endOffset=t,m(this),f(this,!1)},setStartBefore:function(e){this.setStart(e.parentNode,s(e))},setStartAfter:function(e){this.setStart(e.parentNode,s(e)+1)},setEndBefore:function(e){this.setEnd(e.parentNode,s(e))},setEndAfter:function(e){this.setEnd(e.parentNode,s(e)+1)},selectNode:function(e){this.setStartBefore(e),this.setEndAfter(e)},selectNodeContents:function(e){this.setStart(e,0),this.setEnd(e,e[1===e.nodeType?"childNodes":"nodeValue"].length)},collapse:function(e){var t=this;e?t.setEnd(t.startContainer,t.startOffset):t.setStart(t.endContainer,t.endOffset)},deleteContents:function(){var e=this,t=e.cloneRange();e.startContainer!=e.commonAncestorContainer&&e.setStartAfter(c(e.commonAncestorContainer,e.startContainer)),e.collapse(!0),function e(t){for(;t.next();)t.hasPartialSubtree()?e(t.getSubtreeIterator()):t.remove()}(new v(t))},cloneContents:function(){var e=S.documentFromRange(this);return function t(n){for(var i,o=e.createDocumentFragment();i=n.next();)i=i.cloneNode(!n.hasPartialSubtree()),n.hasPartialSubtree()&&i.appendChild(t(n.getSubtreeIterator())),o.appendChild(i);return o}(new v(this))},extractContents:function(){var e=this,t=e.cloneRange();e.startContainer!=e.commonAncestorContainer&&e.setStartAfter(c(e.commonAncestorContainer,e.startContainer)),e.collapse(!0);var n=S.documentFromRange(e);return function t(i){for(var o,r=n.createDocumentFragment();o=i.next();)i.hasPartialSubtree()?(o=o.cloneNode(!1)).appendChild(t(i.getSubtreeIterator())):i.remove(e.originalRange),r.appendChild(o);return r}(new v(t))},insertNode:function(e){var t=this;l(t.startContainer)?(t.startOffset!=t.startContainer.nodeValue.length&&a.splitDataNode(t.startContainer,t.startOffset),a.insertAfter(e,t.startContainer)):a.insertAt(t.startContainer,e,t.startOffset),t.setStart(t.startContainer,t.startOffset)},cloneRange:function(){return e.extend(new p(this.ownerDocument),{startContainer:this.startContainer,endContainer:this.endContainer,commonAncestorContainer:this.commonAncestorContainer,startOffset:this.startOffset,endOffset:this.endOffset,collapsed:this.collapsed,originalRange:this})},toString:function(){var e=this.startContainer.nodeName,t=this.endContainer.nodeName;return["#text"==e?this.startContainer.nodeValue:e,"(",this.startOffset,") : ","#text"==t?this.endContainer.nodeValue:t,"(",this.endOffset,")"].join("")}});function f(e,t){(function(e){try{return function(e,t,n,i){if(e==t)return i-n;for(var o=t;o&&o.parentNode!=e;)o=o.parentNode;if(o)return s(o)-n;for(o=e;o&&o.parentNode!=t;)o=o.parentNode;if(o)return i-s(o)-1;for(var r=a.commonAncestor(e,t),l=e;l&&l.parentNode!=r;)l=l.parentNode;l||(l=r);for(var c=t;c&&c.parentNode!=r;)c=c.parentNode;return c||(c=r),l==c?0:s(c)-s(l)}(e.startContainer,e.endContainer,e.startOffset,e.endOffset)<0}catch(e){return!0}})(e)&&(t?(e.commonAncestorContainer=e.endContainer=e.startContainer,e.endOffset=e.startOffset):(e.commonAncestorContainer=e.startContainer=e.endContainer,e.startOffset=e.endOffset),e.collapsed=!0)}function m(e){e.collapsed=e.startContainer==e.endContainer&&e.startOffset==e.endOffset;for(var t=e.startContainer;t&&t!=e.endContainer&&!a.isAncestorOf(t,e.endContainer);)t=t.parentNode;e.commonAncestorContainer=t}p.fromNode=function(e){return new p(e.ownerDocument)};var v=n.extend({init:function(t){if(e.extend(this,{range:t,_current:null,_next:null,_end:null}),!t.collapsed){var n=t.commonAncestorContainer;this._next=t.startContainer!=n||l(t.startContainer)?c(n,t.startContainer):t.startContainer.childNodes[t.startOffset],this._end=t.endContainer!=n||l(t.endContainer)?c(n,t.endContainer).nextSibling:t.endContainer.childNodes[t.endOffset]}},hasNext:function(){return!!this._next},next:function(){var e=this,t=e._current=e._next;return e._next=e._current&&e._current.nextSibling!=e._end?e._current.nextSibling:null,l(e._current)&&(e.range.endContainer==e._current&&(t=t.cloneNode(!0)).deleteData(e.range.endOffset,t.length-e.range.endOffset),e.range.startContainer==e._current&&(t=t.cloneNode(!0)).deleteData(0,e.range.startOffset)),t},traverse:function(e){var t,n=this;for(;n._current=n._next,n._next=n._current&&n._current.nextSibling!=n._end?n._current.nextSibling:null,t=n._current;)n.hasPartialSubtree()?n.getSubtreeIterator().traverse(e):e(t);return t},remove:function(e){var t,n,i,o=this,r=o.range.startContainer==o._current,c=o.range.endContainer==o._current;if(l(o._current)&&(r||c))t=r?o.range.startOffset:0,i=(n=c?o.range.endOffset:o._current.length)-t,e&&(r||c)&&(o._current==e.startContainer&&t<=e.startOffset&&(e.startOffset-=i),o._current==e.endContainer&&n<=e.endOffset&&(e.endOffset-=i)),o._current.deleteData(t,i);else{var d=o._current.parentNode;if(e&&(o.range.startContainer==d||o.range.endContainer==d)){var u=s(o._current);d==e.startContainer&&u<=e.startOffset&&(e.startOffset-=1),d==e.endContainer&&u<e.endOffset&&(e.endOffset-=1)}a.remove(o._current)}},hasPartialSubtree:function(){return!l(this._current)&&(a.isAncestorOrSelf(this._current,this.range.startContainer)||a.isAncestorOrSelf(this._current,this.range.endContainer))},getSubtreeIterator:function(){return new v(this.getSubRange())},getSubRange:function(){var e=this,t=e.range.cloneRange();return t.selectNodeContents(e._current),a.isAncestorOrSelf(e._current,e.range.startContainer)&&t.setStart(e.range.startContainer,e.range.startOffset),a.isAncestorOrSelf(e._current,e.range.endContainer)&&t.setEnd(e.range.endContainer,e.range.endOffset),t}}),g=n.extend({init:function(e){this.ownerDocument=e,this.rangeCount=1},addRange:function(e){var t=this.ownerDocument.body.createTextRange();_(t,e,!1),_(t,e,!0),t.select()},removeAllRanges:function(){var e=this.ownerDocument.selection;"None"!=e.type&&e.empty()},getRangeAt:function(){var e,t,n=new p(this.ownerDocument),i=this.ownerDocument.selection;try{if(((e=i.createRange()).item?e.item(0):e.parentElement()).ownerDocument!=this.ownerDocument)return n}catch(e){return n}if("Control"==i.type)n.selectNode(e.item(0));else{t=function(e){var t=e.duplicate(),n=e.duplicate();return t.collapse(!0),n.collapse(!1),a.commonAncestor(e.parentElement(),t.parentElement(),n.parentElement())}(e),b(e,n,t,!0),b(e,n,t,!1),9==n.startContainer.nodeType&&n.setStart(n.endContainer,n.startOffset),9==n.endContainer.nodeType&&n.setEnd(n.startContainer,n.endOffset),0===e.compareEndPoints("StartToEnd",e)&&n.collapse(!1);var o=n.startContainer,r=n.endContainer,c=this.ownerDocument.body;if(!(n.collapsed||0!==n.startOffset||n.endOffset!=d(n.endContainer)||o==r&&l(o)&&o.parentNode==c)){for(var u=!1,h=!1;0===s(o)&&o==o.parentNode.firstChild&&o!=c;)o=o.parentNode,u=!0;for(;s(r)==d(r.parentNode)-1&&r==r.parentNode.lastChild&&r!=c;)r=r.parentNode,h=!0;o==c&&r==c&&u&&h&&(n.setStart(o,0),n.setEnd(r,d(c)))}}return n}});function _(e,t,n){var i,o=t[n?"startContainer":"endContainer"],r=t[n?"startOffset":"endOffset"],s=0,c=l(o),d=c?o:o.childNodes[r]||null,u=c?o.parentNode:o,h=t.ownerDocument,p=h.body.createTextRange();3!=o.nodeType&&4!=o.nodeType||(s=r),u||(u=h.body),"img"==u.nodeName.toLowerCase()?(p.moveToElementText(u),p.collapse(!1),e.setEndPoint(n?"StartToStart":"EndToStart",p)):(i=u.insertBefore(a.create(h,"a"),d),p.moveToElementText(i),a.remove(i),p[n?"moveStart":"moveEnd"]("character",s),p.collapse(!1),e.setEndPoint(n?"StartToStart":"EndToStart",p))}function b(e,t,n,i){var o,r,c,d,u,h,p,f=a.create(t.ownerDocument,"a"),m=e.duplicate(),v=i?"StartToStart":"StartToEnd",g=!1;f.innerHTML="\ufeff",m.collapse(i),r=m.parentElement(),a.isAncestorOrSelf(n,r)||(r=n);do{g?r.insertBefore(f,f.previousSibling):(r.appendChild(f),g=!0),m.moveToElementText(f)}while((o=m.compareEndPoints(v,e))>0&&f.previousSibling);c=f.nextSibling,-1==o&&l(c)?(m.setEndPoint(i?"EndToStart":"EndToEnd",e),a.remove(f),h=[c,m.text.length]):(d=!i&&f.previousSibling,u=i&&f.nextSibling,l(u)?h=[u,0]:l(d)?h=[d,d.length]:(p=s(f),h=r.nextSibling&&p==r.childNodes.length-1?[r.nextSibling,0]:[r,p]),a.remove(f)),t[i?"setStart":"setEnd"](...h)}var y=n.extend({init:function(e){this.enumerate=function(){var t=[];return new v(e).traverse((function e(n){if(a.is(n,"img")||3==n.nodeType&&(!a.isEmptyspace(n)||"\ufeff"==n.nodeValue))t.push(n);else for(n=n.firstChild;n;)e(n),n=n.nextSibling})),t}}}),w=v.extend({hasPartialSubtree:function(){var e=o.Immutables&&o.Immutables.immutable;return e&&!e(this._current)&&v.fn.hasPartialSubtree.call(this)},getSubtreeIterator:function(){return new w(this.getSubRange())}}),k=n.extend({init:function(e){this.enumerate=function(){var t=[],n=o.Immutables&&o.Immutables.immutable;return new w(e).traverse((function e(i){if(n&&!n(i))if(a.is(i,"img")||3==i.nodeType&&(!a.isEmptyspace(i)||"\ufeff"==i.nodeValue))t.push(i);else for(i=i.firstChild;i;)e(i),i=i.nextSibling})),t}}}),x=n.extend({init:function(e,t,n){var i=this;i.range=e,i.rootNode=S.documentFromRange(e),i.body=t||i.getEditable(e),"body"!=a.name(i.body)&&(i.rootNode=i.body),i.startContainer=i.nodeToPath(e.startContainer),i.endContainer=i.nodeToPath(e.endContainer),i.startOffset=i.offset(e.startContainer,e.startOffset),i.endOffset=i.offset(e.endContainer,e.endOffset),i.immutables=n&&n.immutables,i.immutables&&(i.serializedImmutables=o.Immutables.removeImmutables(i.body)),i.html=i.body.innerHTML,i.immutables&&!i.serializedImmutables.empty&&o.Immutables.restoreImmutables(i.body,i.serializedImmutables)},index:function(e){for(var t=0,n=e.nodeType;e=e.previousSibling;){var i=e.nodeType;3==i&&n==i||t++,n=i}return t},getEditable:function(e){for(var t=e.commonAncestorContainer;t&&(3==t.nodeType||t.attributes&&(!t.attributes.contentEditable||"false"==t.attributes.contentEditable.nodeValue.toLowerCase()));)t=t.parentNode;return t},restoreHtml:function(){var e=this;a.removeChildren(e.body),e.body.innerHTML=e.html,e.immutables&&!e.serializedImmutables.empty&&o.Immutables.restoreImmutables(e.body,e.serializedImmutables)},offset:function(e,t){if(3==e.nodeType)for(;(e=e.previousSibling)&&3==e.nodeType;)t+=e.nodeValue.length;return t},nodeToPath:function(e){for(var t=[];e!=this.rootNode;)t.push(this.index(e)),e=e.parentNode;return t},toRangePoint:function(e,t,n,i){for(var o=this.rootNode,r=n.length,a=i;r--&&o;)o=o.childNodes[n[r]];for(;o&&3==o.nodeType&&o.nodeValue.length<a;)a-=o.nodeValue.length,o=o.nextSibling;o&&a>=0&&e[t?"setStart":"setEnd"](o,a)},toRange:function(){var e=this,t=e.range.cloneRange();return e.toRangePoint(t,!0,e.startContainer,e.startOffset),e.toRangePoint(t,!1,e.endContainer,e.endOffset),t}}),C=n.extend({init:function(){this.caret=null},addCaret:function(e){var t=this.caret=a.create(S.documentFromRange(e),"span",{className:"k-marker"});return e.insertNode(t),a.stripBomNode(t.previousSibling),a.stripBomNode(t.nextSibling),e.selectNode(t),t},removeCaret:function(e){var t=this,n=t.caret.previousSibling,i=0;n&&(i=l(n)?n.nodeValue.length:s(n));var o=t.caret.parentNode,c=n?s(n):0;a.remove(t.caret),u(o);var d=o.childNodes[c];if(l(d))e.setStart(d,i);else if(d){var h=a.lastTextNode(d);h?e.setStart(h,h.nodeValue.length):e[n?"setStartAfter":"setStartBefore"](d)}else r.msie||o.innerHTML||(o.innerHTML='<br _moz_dirty="" />'),e.selectNodeContents(o);e.collapse(!0)},add:function(e,t){var n=this,i=e.collapsed&&!S.isExpandable(e),o=S.documentFromRange(e);t&&e.collapsed&&(n.addCaret(e),e=S.expand(e));var r=e.cloneRange();if(r.collapse(!1),n.end=a.create(o,"span",{className:"k-marker"}),r.insertNode(n.end),(r=e.cloneRange()).collapse(!0),n.start=n.end.cloneNode(!0),r.insertNode(n.start),n._removeDeadMarkers(n.start,n.end),i){var s=o.createTextNode("\ufeff");a.insertAfter(s.cloneNode(),n.start),a.insertBefore(s,n.end)}return u(e.commonAncestorContainer),e.setStartBefore(n.start),e.setEndAfter(n.end),e},_removeDeadMarkers:function(e,t){e.previousSibling&&"\ufeff"==e.previousSibling.nodeValue&&a.remove(e.previousSibling),t.nextSibling&&"\ufeff"==t.nextSibling.nodeValue&&a.remove(t.nextSibling)},_normalizedIndex:function(e){for(var t=s(e),n=e;n.previousSibling;)3==n.nodeType&&3==n.previousSibling.nodeType&&t--,n=n.previousSibling;return t},remove:function(e){var t,n,i=this,o=i.start,r=i.end;for(u(e.commonAncestorContainer);!o.nextSibling&&o.parentNode;)o=o.parentNode;for(;!r.previousSibling&&r.parentNode;)r=r.parentNode;t=o.previousSibling&&3==o.previousSibling.nodeType&&o.nextSibling&&3==o.nextSibling.nodeType,n=r.previousSibling&&3==r.previousSibling.nodeType&&r.nextSibling&&3==r.nextSibling.nodeType;var s=(o=o.nextSibling)===(r=r.previousSibling)&&a.isBom(o);s&&o.length>1&&(o.nodeValue=o.nodeValue.charAt(0));var c=s,d=!1;if(o==i.end&&(d=!!i.start.previousSibling,o=r=i.start.previousSibling||i.end.nextSibling,c=!0),a.remove(i.start),a.remove(i.end),!o||!r)return e.selectNodeContents(e.commonAncestorContainer),void e.collapse(!0);var h=c?l(o)?o.nodeValue.length:o.childNodes.length:0,p=l(r)?r.nodeValue.length:r.childNodes.length;if(3==o.nodeType)for(;o.previousSibling&&3==o.previousSibling.nodeType;)h+=(o=o.previousSibling).nodeValue.length;if(3==r.nodeType)for(;r.previousSibling&&3==r.previousSibling.nodeType;)p+=(r=r.previousSibling).nodeValue.length;var f=o.parentNode,m=r.parentNode,v=this._normalizedIndex(o),g=this._normalizedIndex(r);u(f),3==o.nodeType&&(o=f.childNodes[v]),u(m),3==r.nodeType&&(r=m.childNodes[g]),c?(3==o.nodeType?e.setStart(o,h):e[d?"setStartAfter":"setStartBefore"](o),e.collapse(!0)):(3==o.nodeType?e.setStart(o,h):e.setStartBefore(o),3==r.nodeType?e.setEnd(r,p):e.setEndAfter(r)),i.caret&&i.removeCaret(e)}}),z=/[\u0009-\u000d]|\u0020|\u00a0|\ufeff|\.|,|;|:|!|\(|\)|\?/,S={nodes:function(e){var t=S.textNodes(e);return t.length||(e.selectNodeContents(e.commonAncestorContainer),(t=S.textNodes(e)).length||(t=a.significantChildNodes(e.commonAncestorContainer))),t},textNodes:function(e){return new y(e).enumerate().filter((function(e){return a.allowsTextContent(e.parentElement)}))},editableTextNodes:function(e){var t=o.Immutables&&o.Immutables.immutableParent,n=[];return t&&!t(e.commonAncestorContainer)&&(n=new k(e).enumerate().filter((function(e){return a.allowsTextContent(e.parentElement)}))),n},documentFromRange:function(e){var t=e.startContainer;return 9==t.nodeType?t:t.ownerDocument},createRange:function(e){return e.createRange()},selectRange:function(e){var t=S.image(e);t&&(e.setStartAfter(t),e.setEndAfter(t));var n=h.selectionFromRange(e);n.removeAllRanges(),n.addRange(e)},stringify:function(e){return t.format("{0}:{1} - {2}:{3}",a.name(e.startContainer),e.startOffset,a.name(e.endContainer),e.endOffset)},split:function(e,t,n){function i(i){var o=e.cloneRange();o.collapse(i),o[i?"setStartBefore":"setEndAfter"](t);var r=o.extractContents();n&&(r=a.trim(r)),a[i?"insertBefore":"insertAfter"](r,t)}i(!0),i(!1)},mapAll:function(t,n){var i=[];return new v(t).traverse((function(t){var o=n(t);o&&e.inArray(o,i)<0&&i.push(o)})),i},getAll:function(e,t){var n=t;return"string"==typeof t&&(t=function(e){return a.is(e,n)}),S.mapAll(e,(function(e){if(t(e))return e}))},getMarkers:function(e){return S.getAll(e,(function(e){return"k-marker"==e.className}))},image:function(e){var t=S.getAll(e,"img");if(1==t.length)return t[0]},isStartOf:function(e,t){if(0!==e.startOffset)return!1;for(var n=e.cloneRange();0===n.startOffset&&n.startContainer!=t;){for(var i=a.findNodeIndex(n.startContainer),o=n.startContainer.parentNode;i>0&&o[i-1]&&a.insignificant(o[i-1]);)i--;n.setStart(o,i)}return 0===n.startOffset&&n.startContainer==t},isEndOf:function(e,t){var n=e.cloneRange();n.collapse(!1);var i=n.startContainer;a.isDataNode(i)&&n.startOffset==a.getNodeLength(i)&&(n.setStart(i.parentNode,a.findNodeIndex(i)+1),n.collapse(!0)),n.setEnd(t,a.getNodeLength(t));var o=[];return new v(n).traverse((function(e){a.insignificant(e)||a.isDataNode(e)&&/^[\ufeff]*$/.test(e.nodeValue)||o.push(e)})),!o.length},wrapSelectedElements:function(e){for(var t=a.editableParent(e.startContainer),n=a.editableParent(e.endContainer);0===e.startOffset&&e.startContainer!=t;)e.setStart(e.startContainer.parentNode,a.findNodeIndex(e.startContainer));function i(e,t){var n=a.getNodeLength(t);if(e==n)return!0;for(var i=e;i<n;i++)if(!a.insignificant(t.childNodes[i]))return!1;return!0}for(;i(e.endOffset,e.endContainer)&&e.endContainer!=n;)e.setEnd(e.endContainer.parentNode,a.findNodeIndex(e.endContainer)+1);return e},expand:function(e){var t=e.cloneRange(),n=t.startContainer.childNodes[0===t.startOffset?0:t.startOffset-1],i=t.endContainer.childNodes[t.endOffset];if(!l(n)||!l(i))return t;var o=n.nodeValue,r=i.nodeValue;if(!o||!r)return t;var a=o.split("").reverse().join("").search(z),s=r.search(z);return a&&s?(s=-1==s?r.length:s,a=-1==a?0:o.length-a,t.setStart(n,a),t.setEnd(i,s),t):t},isExpandable:function(e){var t=e.startContainer,n=S.documentFromRange(e);if(t==n||t==n.body)return!1;var i=e.cloneRange(),o=t.nodeValue;if(!o)return!1;var r=o.substring(0,i.startOffset),a=o.substring(i.startOffset),s=0,l=0;return r&&(s=r.split("").reverse().join("").search(z)),a&&(l=a.search(z)),s&&l}};i(o,{SelectionUtils:h,W3CRange:p,RangeIterator:v,W3CSelection:g,RangeEnumerator:y,RestorePoint:x,Marker:C,RangeUtils:S})}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=t.ui.editor,o=i.Dom,r=t.template,a=i.RangeUtils,s=["ul","ol","tbody","thead","table"],l="k-immutable",c="["+l+"]",d=function(t){return e(t).is("body,.k-editor")},u=function(e){return e.getAttribute&&"false"==e.getAttribute("contenteditable")},h=function(e){return o.closestBy(e,u,d)},p=function(e){return!!h(e.commonAncestorContainer)||!(!h(e.startContainer)&&!h(e.endContainer)||0!==a.editableTextNodes(e).length)},f=function(e){for(var t="",n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",i=e||10;i>0;--i)t+=n.charAt(Math.round(61*Math.random()));return t},m=function(e){var t=e?e.options:undefined;t&&t.finder&&t.finder._initOptions({immutables:!0})},v=n.extend({init:function(n){this.editor=n,this.serializedImmutables={},this.options=e.extend({},n&&n.options&&n.options.immutables);var i=t.ui.Editor.defaultTools;m(i.justifyLeft),m(i.justifyCenter),m(i.justifyRight),m(i.justifyFull)},serialize:function(e){var t,n=this._toHtml(e);return-1===n.indexOf(l)?(t=this.randomId(),n=n.replace(/>/," "+l+'="'+t+'">')):t=n.match(/k-immutable\s*=\s*['"](.*)['"]/)[1],this.serializedImmutables[t]=e,n},_toHtml:function(e){var t,n=this.options.serialization;switch(typeof n){case"string":return r(n)(e);case"function":return n(e);default:return"<"+(t=o.name(e))+"></"+t+">"}},deserialize:function(n){var i=this,o=this.options.deserialization;e(c,n).each((function(){var n=this.getAttribute(l),r=i.serializedImmutables[n];t.isFunction(o)&&o(this,r),e(this).replaceWith(r)})),i.serializedImmutables={}},randomId:function(e){return f(e)},keydown:function(e,n){var i,o,r=(i=e.keyCode,o=t.keys,i===o.BACKSPACE||i==o.DELETE);if(r&&this._cancelDeleting(e,n)||!r&&this._cancelTyping(e,n))return e.preventDefault(),!0},_cancelTyping:function(e,t){var n=this.editor.keyboard;return t.collapsed&&!n.typingInProgress&&n.isTypingKey(e)&&p(t)},_cancelDeleting:function(e,n){var i=t.keys,r=e.keyCode===i.BACKSPACE,a=e.keyCode==i.DELETE;if(!r&&!a)return!1;var l=!1;if(n.collapsed){if(p(n))return!0;var c=this.nextImmutable(n,a);if(c&&r){var d=o.closest(n.commonAncestorContainer,"li");if(d){var u=o.closest(c,"li");if(u&&u!==d)return l}}if(c&&!o.tableCell(c)){if(o.parentOfType(c,s)===o.parentOfType(n.commonAncestorContainer,s)){for(;c&&1==c.parentNode.childNodes.length;)c=c.parentNode;if(o.tableCell(c))return l;this._removeImmutable(c,n)}l=!0}}return l},nextImmutable:function(e,t){var n=e.commonAncestorContainer;if(o.isBom(n)||t&&a.isEndOf(e,n)||!t&&a.isStartOf(e,n)){var i=this._nextNode(n,t);if(i&&o.isBlock(i)&&!h(i))for(;i&&i.children&&i.children[t?0:i.children.length-1];)i=i.children[t?0:i.children.length-1];return h(i)}},_removeImmutable:function(e,t){var n=this.editor,r=new i.RestorePoint(t,n.body);o.remove(e),i._finishUpdate(n,r)},_nextNode:function(e,t){for(var n,i=t?"nextSibling":"previousSibling",r=e;r&&!n&&!o.isChildOfBaseContainer(r);)(n=r[i])&&o.isDataNode(n)&&/^\s|[\ufeff]$/.test(n.nodeValue)&&(n=(r=n)[i]),n||(r=r.parentNode);return n}});v.immutable=u,v.immutableParent=h,v.expandImmutablesIn=function(e){var t=h(e.startContainer),n=h(e.endContainer);(t||n)&&(t&&e.setStartBefore(t),n&&e.setEndAfter(n))},v.immutablesContext=p,v.toolsToBeUpdated=["bold","italic","underline","strikethrough","superscript","subscript","forecolor","backcolor","fontname","fontsize","createlink","unlink","autolink","addcolumnleft","addcolumnright","addrowabove","addrowbelow","deleterow","deletecolumn","mergecells","formatting","cleanformatting"],v.removeImmutables=function(t){var n,i,r,a={empty:!0};return e(t).find("[contenteditable='false']").each((function(t,s){n=o.name(s),i=f(),r="<"+n+" "+l+"='"+i+"'></"+n+">",a[i]={node:s,style:e(s).attr("style")},a.empty=!1,e(s).replaceWith(r)})),a},v.restoreImmutables=function(t,n){var i,o;e(t).find(c).each((function(t,r){i=r.getAttribute(l),o=n[i],e(r).replaceWith(o.node),o.style!=e(o.node).attr("style")&&e(o.node).removeAttr("style").attr("style",o.style)}))},i.Immutables=v}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=t.ui.editor,o=i.Dom,r=i.RestorePoint,a=i.Marker,s=e.extend;var l=n.extend({init:function(e){this.options=e,this.restorePoint=new r(e.range,e.body,{immutables:e.immutables}),this.marker=new a,this.formatter=e.formatter},getRange:function(){return this.restorePoint.toRange()},lockRange:function(e){return this.marker.add(this.getRange(),e)},releaseRange:function(e){this.marker.remove(e),this.editor.selectRange(e)},undo:function(){var e=this.restorePoint;e.restoreHtml(),this.editor.selectRange(e.toRange())},redo:function(){this.exec()},createDialog:function(n,i){var o=this.editor;return e(n).appendTo(document.body).kendoWindow(s({},o.options.dialogOptions,i)).closest(".k-window").addClass("k-editor-window").toggleClass("k-rtl",t.support.isRtl(o.wrapper)).end()},exec:function(){var e=this.lockRange(!0);this.formatter.editor=this.editor,this.formatter.toggle(e),this.releaseRange(e)},postExec:function(){this.editor._handleSpaceAndNewLines()},immutables:function(){return this.editor&&this.editor.options.immutables},expandImmutablesIn:function(e){this.immutables()&&(t.ui.editor.Immutables.expandImmutablesIn(e),this.restorePoint=new r(e,this.editor.body))},_actionButtonsTemplate:function({messages:e,insertButtonIcon:n,cancelButtonIcon:i}){return'<div class="k-actions k-actions-start k-actions-horizontal k-window-buttons">'+t.html.renderButton(`<button class="k-dialog-insert">${e.dialogInsert}</button>`,{themeColor:"primary",icon:n})+t.html.renderButton(`<button class="k-dialog-close">${e.dialogCancel}</button>`,{icon:i})+"</div>"}}),c=n.extend({init:function(e,t){this.body=e.body,this.startRestorePoint=e,this.endRestorePoint=t},redo:function(){o.removeChildren(this.body),this.body.innerHTML=this.endRestorePoint.html,this.editor.selectRange(this.endRestorePoint.toRange())},undo:function(){o.removeChildren(this.body),this.body.innerHTML=this.startRestorePoint.html,this.editor.selectRange(this.startRestorePoint.toRange())}});s(i,{_finishUpdate:function(e,t){var n=e.selectionRestorePoint=new r(e.getRange(),e.body),i=new c(t,n);return i.editor=e,e.undoRedoStack.push(i),e._refreshTools(),n},Command:l,GenericCommand:c})}(window.kendo.jQuery),function(e,t){var n=window.kendo,i=e.extend,o=n.ui.editor,r=o.EditorUtils,a=o.Command,s=o.Tool,l=o.Dom,c=a.extend({init:function(e){var t=this;t.options=e,a.fn.init.call(t,e),t.attributes=null,t.async=!0},exec:function(){var i,o,a=this,s=a.editor,d=s.options,u=s.options.messages,h=e(n.template(c.template)(u)).appendTo(document.body),p=".k-editor-textarea > textarea";function f(e){e.preventDefault(),h.data("kendoWindow").destroy(),s.immutables&&(s.immutables.serializedImmutables={}),s.focus()}d.serialization.immutables=s.immutables,o=l.getAllComments(s.body),i=r.cacheComments(s.value(),o),i=c.indent(i),i=r.retrieveComments(i,o),d.serialization.immutables=t;let m=this.createDialog(h,{title:u.viewHtml,_footerTemplate:c._footerTemplate,_footerMessages:u,width:600,height:400,resizable:!0,close:f,visible:!1}).find(p).val(i).end().data("kendoWindow");m.center().open(),m.wrapper.find(".k-dialog-update").on("click",(function(e){d.deserialization.immutables=s.immutables,s.value(h.find(p).val()),d.deserialization.immutables=t,f(e),a.change&&a.change(),s.trigger("change")})).end(),m.wrapper.find(".k-dialog-close").on("click",f).end(),h.find(p).trigger("focus")}});i(c,{template:()=>'<div class="k-editor-dialog k-popup-edit-form k-viewhtml-dialog"><span class="k-input k-textarea k-input-solid k-input-md k-rounded-md k-editor-textarea"><textarea class="k-input-inner !k-overflow-auto !k-resize-none"></textarea></span></div>',_footerTemplate:({dialogUpdate:e,dialogCancel:t})=>'<div class="k-actions k-actions-start k-actions-horizontal k-window-actions">'+n.html.renderButton(`<button class="k-dialog-update">${n.htmlEncode(e)}</button>`,{themeColor:"primary",icon:"check"})+n.html.renderButton(`<button class="k-dialog-close">${n.htmlEncode(t)}</button>`,{icon:"cancel-outline"})+"</div>",indent:function(e){return e.replace(/<\/(p|li|ul|ol|h[1-6]|table|tr|td|th)>/gi,"</$1>\n").replace(/<(ul|ol)([^>]*)><li/gi,"<$1$2>\n<li").replace(/<br \/>/gi,"<br />\n").replace(/\n$/,"")}}),n.ui.editor.ViewHtmlCommand=c,o.EditorUtils.registerTool("viewHtml",new s({command:c}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.ui.editor,o=i.Tool,r=i.Command,a=i.EditorUtils,s=r.extend({init:function(e){e.formatter=e.formatter();var t=e.formatter.finder;t&&a.formatByName("immutable",t.format)&&(t._initOptions({immutables:e.immutables}),e.finder&&e.finder._initOptions({immutables:e.immutables})),r.fn.init.call(this,e)}}),l=o.extend({init:function(e){o.fn.init.call(this,e)},command:function(e){return new s(n(e,{formatter:this.options.formatter,finder:this.options.finder}))},update:function(e,t){var n=this.options.finder.isFormatted(t),i=e.closest(".k-toolbar").getKendoToolBar();i&&e.getKendoToggleButton()&&i.toggle(e,n)}});e.extend(i,{FormatCommand:s,FormatTool:l})}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=t.ui.editor,o=t.ui.Editor.fn.options.formats,r=i.Tool,a=i.FormatTool,s=i.Dom,l=i.RangeUtils,c=e.extend,d=i.EditorUtils.registerTool,u=i.EditorUtils.registerFormat,h="mousedown.kendoEditor",p="k-marker",f=n.extend({init:function(e){this.format=e},numberOfSiblings:function(e){var t,n=0,i=0,o=0,r=e.parentNode;for(t=r.firstChild;t;t=t.nextSibling)t!=e&&(t.className==p?o++:3==t.nodeType?n++:i++);return o>1&&r.firstChild.className==p&&r.lastChild.className==p?0:i+n},findSuitable:function(e,t){if(!t&&this.numberOfSiblings(e)>0)return null;for(var n=e.parentNode,i=this.format[0].tags;!s.ofType(n,i);){if(this.numberOfSiblings(n)>0)return null;n=n.parentNode}return n},findFormat:function(e){var t,n,i,o,r,a=this.format,l=s.attrEquals;for(t=0,n=a.length;t<n;t++){if(i=e,o=a[t].tags,r=a[t].attr,i&&s.ofType(i,o)&&l(i,r))return i;for(;i;)if((i=s.parentOfType(i,o))&&l(i,r))return i}return null},isFormatted:function(e){var t,n;for(t=0,n=e.length;t<n;t++)if(this.findFormat(e[t]))return!0;return!1}}),m=n.extend({init:function(e,t){this.finder=new f(e),this.attributes=c({},e[0].attr,t),this.tag=e[0].tags[0]},wrap:function(e){return s.wrap(e,s.create(e.ownerDocument,this.tag,this.attributes))},activate:function(e,t){this.finder.isFormatted(t)?(this.split(e),this.remove(t)):this.apply(t)},toggle:function(e){var t=(this.immutables()?l.editableTextNodes:l.textNodes)(e);t.length>0&&this.activate(e,t)},immutables:function(){return this.editor&&this.editor.options.immutables},apply:function(e){var t,n,i,o,r=[];if(e.length>1)for(t=0,n=e.length;t<n;t++)i=e[t],o=this.format(i,!0),r.push(o);else i=e[0],this.format(i,!1);this.consolidate(r)},format:function(e,t){var n=this.finder.findSuitable(e),i=this.attributes,o=i&&i.style||{};if(n)s.is(n,"font")&&(o.color&&n.removeAttribute("color"),o.fontName&&n.removeAttribute("face"),o.fontSize&&n.removeAttribute("size")),s.attr(n,i);else{if(t)for(;!s.isBlock(e.parentNode)&&1==e.parentNode.childNodes.length&&"true"!==e.parentNode.contentEditable;)e=e.parentNode;n=this.wrap(e)}return n},remove:function(e){var t,n,i;for(t=0,n=e.length;t<n;t++)(i=this.finder.findFormat(e[t]))&&(this.attributes&&this.attributes.style?(s.unstyle(i,this.attributes.style),i.style.cssText||i.attributes.class||s.unwrap(i)):s.unwrap(i))},split:function(e){var t,n,i=l.textNodes(e),o=i.length;if(o>0)for(t=0;t<o;t++)(n=this.finder.findFormat(i[t]))&&l.split(e,n,!0)},consolidate:function(e){for(var t,n;e.length>1;)if(t=e.pop(),n=e[e.length-1],t.previousSibling&&t.previousSibling.className==p&&n.appendChild(t.previousSibling),t.tagName==n.tagName&&t.previousSibling==n&&t.style.cssText==n.style.cssText&&t.className===n.className){for(;t.firstChild;)n.appendChild(t.firstChild);s.remove(t)}}}),v=f.extend({init:function(e,t,n,i){this.format=e,this.greedyProperty=t,this.fontAttr=n,this.defaultValue=i,f.fn.init.call(this,e)},getInlineCssValue:function(e){var n,i,o,r,a,l,c,d,u,h,p,f,m=e.attributes,v=t.trim;if(m)for(n=0,i=m.length;n<i;n++){if(r=(o=m[n]).nodeName,a=o.nodeValue,o.specified&&"style"==r)for(d=0,u=(l=v(a||e.style.cssText).split(";")).length;d<u;d++)if((c=l[d]).length){if(p=v((h=c.split(":"))[0].toLowerCase()),f=v(h[1]),p!=this.greedyProperty)continue;return p.indexOf("color")>=0?s.toHex(f):f}if(this.fontAttr&&o.specified&&r==this.fontAttr)return p=o.nodeValue,f=o.nodeValue,p.indexOf("color")>=0?s.toHex(f):f}},getFormatInner:function(t){var n,i,o,r=e(s.isDataNode(t)?t.parentNode:t).parentsUntil("[contentEditable]").addBack().toArray().reverse();for(n=0,i=r.length;n<i;n++)if(o="className"==this.greedyProperty?r[n].className:this.getInlineCssValue(r[n]))return o;return this.defaultValue||"inherit"},getFormat:function(e){var t,n,i=this.getFormatInner(e[0]);for(t=1,n=e.length;t<n;t++)if(i!=this.getFormatInner(e[t]))return"";return i},isFormatted:function(e){return""!==this.getFormat(e)}}),g=m.extend({init:function(e,n,i){m.fn.init.call(this,e,n),this.values=n,this.finder=new v(e,i),i&&(this.greedyProperty=t.toCamelCase(i))},activate:function(e,t){var n=this.greedyProperty,i="apply";this.split(e),n&&"inherit"==this.values.style[n]&&(i="remove"),this[i](t)}}),_=a.extend({init:function(e){a.fn.init.call(this,c(e,{finder:new f(e.format),formatter:function(){return new m(e.format)}}))}}),b=r.extend({update:function(e,t){var n=e.data(this.type);n.close(),n.value(this.finder.getFormat(t))}}),y=b.extend({init:function(e){r.fn.init.call(this,e),this.type="kendoComboBox",this.format=[{tags:["span","font"]}],this.finder=new v(this.format,e.cssAttr,e.fontAttr)},command:function(e){var t=this.options,n=this.format,o={};return new i.FormatCommand(c(e,{formatter:function(){return o[t.domAttr]=e.value,new g(n,{style:o},t.cssAttr)}}))},initialize:function(e,n){var i,o,a=this.options,s=a.name,l=e.data("kendoComboBox"),c=[];l&&(a.defaultValue&&(c=[{text:n.options.messages[a.defaultValue[0].text],value:a.defaultValue[0].value}]),i=c.concat(a.items?a.items:n.options[s]||[]),l.setDataSource(i),l.bind("change",(e=>{n._range=o,""!==e.sender.value()&&r.exec(n,s,e.sender.value())})),l.bind("close",(()=>{setTimeout((function(){n._deleteSavedRange()}),0)})),l.value("inherit"),l.wrapper.on(h,".k-select,.k-input-button,.k-input",(function(){var e=n.getRange();o=n._containsRange(e)?e:o})).on("keydown.kendoEditor",(function(e){e.keyCode===t.keys.ENTER&&(n._deleteSavedRange(),e.preventDefault())})))}}),w=r.extend({init:function(e){r.fn.init.call(this,e),this.format=[{tags:["span","font"]}],this.finder=new v(this.format,e.cssAttr)},options:{palette:"websafe",columns:18},update:function(){this._widget.close()},command:function(e){var t=this.options,n=this.format,o={};return new i.FormatCommand(c(e,{formatter:function(){return o[t.domAttr]=e.value,new g(n,{style:o},t.cssAttr)}}))},initialize:function(t,n){var i=this,o=i.options.name,a=this._widget=t.getKendoColorPicker();a&&(a.bind("change",(()=>{var e=a.value();e&&r.exec(n,o,e),delete i.storedRange,delete i._inputFocused,n.focus()})),a.bind("open",(()=>{i.storedRange=n.getRange(),a._popup.element.on(h,(function(t){e(t.target).is("input.k-color-value")||t.preventDefault()})),a._popup.element.is("[unselectable='on']")||a._popup.element.attr({unselectable:"on"}).find("*:not(input)").attr("unselectable","on").end().find("input").on("focus",(function(){i._inputFocused=!0})),a._popup.one("activate",(()=>{a._popup.element.find(".k-colorpalette").trigger("focus")}))})),a.bind("close",(e=>{a._popup.element.off(h)})),a.unbind("activate").bind("activate",(e=>{a._value&&"rgba(255, 255, 255, 0)"!==a._value.toCssRgba()&&a.trigger("change")})),a.wrapper.attr({unselectable:"on"}).find("*:not(input)").attr("unselectable","on"),a.value("transparent"))}});c(i,{InlineFormatFinder:f,InlineFormatter:m,DelayedExecutionTool:b,GreedyInlineFormatFinder:v,GreedyInlineFormatter:g,InlineFormatTool:_,FontTool:y,ColorTool:w}),u("bold",[{tags:["strong","b"]},{tags:["span"],attr:{style:{fontWeight:"bold"}}}]),d("bold",new _({key:"B",ctrl:!0,format:o.bold,ui:{togglable:!0}})),u("italic",[{tags:["em","i"]},{tags:["span"],attr:{style:{fontStyle:"italic"}}}]),d("italic",new _({key:"I",ctrl:!0,format:o.italic,ui:{togglable:!0}})),u("underline",[{tags:["span"],attr:{style:{textDecoration:"underline"}}},{tags:["u"]}]),d("underline",new _({key:"U",ctrl:!0,format:o.underline,ui:{togglable:!0}})),u("strikethrough",[{tags:["del","strike"]},{tags:["span"],attr:{style:{textDecoration:"line-through"}}}]),d("strikethrough",new _({format:o.strikethrough,ui:{togglable:!0}})),u("superscript",[{tags:["sup"]}]),d("superscript",new _({format:o.superscript,ui:{togglable:!0}})),u("subscript",[{tags:["sub"]}]),d("subscript",new _({format:o.subscript,ui:{togglable:!0}})),d("foreColor",new w({cssAttr:"color",fontAttr:"color",domAttr:"color",name:"foreColor",ui:{type:"component",overflow:"never",component:"ColorPicker",componentOptions:{views:["palette"],toolIcon:"foreground-color",palette:"websafe",columns:18,preview:!1,input:!1,buttons:!1,commandOn:"change",closeOnSelect:!0}}})),d("backColor",new w({cssAttr:"background-color",domAttr:"backgroundColor",name:"backColor",ui:{type:"component",overflow:"never",component:"ColorPicker",componentOptions:{views:["palette"],toolIcon:"droplet",palette:"websafe",columns:18,preview:!1,input:!1,buttons:!1,commandOn:"change",closeOnSelect:!0}}})),d("fontName",new y({cssAttr:"font-family",fontAttr:"face",domAttr:"fontFamily",name:"fontName",defaultValue:[{text:"fontNameInherit",value:"inherit"}],ui:{type:"component",component:"ComboBox",componentOptions:{dataValueField:"value",dataTextField:"text",valuePrimitive:!0},overflow:"never"}})),d("fontSize",new y({cssAttr:"font-size",fontAttr:"size",domAttr:"fontSize",name:"fontSize",defaultValue:[{text:"fontSizeInherit",value:"inherit"}],ui:{type:"component",component:"ComboBox",componentOptions:{dataValueField:"value",dataTextField:"text",valuePrimitive:!0},overflow:"never"}}))}(window.kendo.jQuery),function(e,t){var n=window.kendo,i=n.htmlEncode,o=n.Class,r=e.extend,a=n.ui.editor,s=a.Dom,l=a.RangeUtils,c=a.Command,d=a.Tool,u=a.InlineFormatter,h=a.InlineFormatFinder,p=l.textNodes,f=l.editableTextNodes,m=a.EditorUtils.registerTool,v=n.keys,g="http://",_=/^\w*:\/\//,b=/[\w\/\$\-_\*\?]/i,y=o.extend({findSuitable:function(e){return s.parentOfType(e,["a"])}}),w=o.extend({init:function(){this.finder=new y},apply:function(e,t){var n,i,o,r,a,c=this.immutables?f(e):p(e);if(t.innerText){i=l.documentFromRange(e),n=l.getMarkers(e),e.deleteContents(),r=s.create(i,"a",t),e.insertNode(r),a=r.parentNode,"a"==s.name(a)&&s.insertAfter(r,a),s.emptyNode(a)&&s.remove(a);for(var d=r,h=0;h<n.length;h++)s.insertAfter(n[h],d),d=n[h];n.length&&(s.insertBefore(i.createTextNode("\ufeff"),n[1]||n[0]),s.insertAfter(i.createTextNode("\ufeff"),n[1]||n[0]),e.setStartBefore(n[0]),e.setEndAfter(n[n.length-1]))}else(o=new u([{tags:["a"]}],t)).finder=this.finder,o.apply(c)}}),k=c.extend({init:function(e){var t=this;e.formatter={toggle:function(e){var n=t.immutables()?f(e):p(e);new u([{tags:["a"]}]).remove(n)}},this.options=e,c.fn.init.call(this,e)}}),x=c.extend({init:function(e){var t;this.options=e,c.fn.init.call(this,e),this.formatter=new w,e.url?this.exec=function(){this.formatter.immutables=t,this.formatter.apply(e.range,{href:e.url,innerText:e.text||e.url,target:e.target})}:(this.attributes=null,this.async=!0)},exec:function(){var t=this.editor.options.messages;this._initialText="",this._range=this.lockRange(!0),this.formatter.immutables=this.immutables();var n=p(this._range),i=n.length?this.formatter.finder.findSuitable(n[0]):null,o=n.length&&"img"==s.name(n[0]),r=this.createDialog("<div/>",{title:t.createLink,minWidth:340,close:this._close.bind(this),visible:!1}).data("kendoWindow");this._form=this._createForm(r),i&&(this._range.selectNodeContents(i),n=p(this._range)),this._initialText=this.linkText(n),r.wrapper.find(".k-dialog-insert").on("click",this._apply.bind(this)).end().find(".k-dialog-close").on("click",this._close.bind(this)).end().find(".k-form-field input").on("keydown",this._keydown.bind(this)).end().find("#k-editor-link-url").val(this.linkUrl(i)).end().find("#k-editor-link-text").val(this._initialText).end().find("#k-editor-link-title").val(i?i.title:"").end().find("#k-editor-link-target").prop("checked",!!i&&"_blank"==i.target).end().find(".k-editor-link-text-row").toggle(!o),this._dialog=r.center().open(),e("#k-editor-link-url",r.element).trigger("focus").select()},_createForm:function(t){var n=e("<div/>").appendTo(t.element),o=this.editor.options.messages,r=n.kendoForm({renderButtons:!1,items:[{field:"k-editor-link-url",label:i(o.linkWebAddress),title:i(o.linkWebAddress),editor:"TextBox"},{field:"k-editor-link-text",label:i(o.linkText),title:i(o.linkText),editor:"TextBox"},{field:"k-editor-link-title",label:i(o.linkToolTip),title:i(o.linkToolTip),editor:"TextBox"},{field:"k-editor-link-target",editorOptions:{label:i(o.linkOpenInNewWindow)},label:"",title:i(o.linkOpenInNewWindow),editor:"CheckBox"}]}).data("kendoForm");return n.find("#k-editor-link-text").parents(".k-form-field").addClass("k-editor-link-text-row"),t.element.after(e(this._actionButtonsTemplate({messages:o,insertButtonIcon:"link",cancelButtonIcon:"cancel-outline"}))),r},_keydown:function(e){var t=n.keys;e.keyCode==t.ENTER?this._apply(e):e.keyCode==t.ESC&&this._close(e)},_apply:function(t){var i,o,r,a=this._dialog.element,l=e("#k-editor-link-url",a).val(),c=e("#k-editor-link-text",a);l&&l!=g&&(l.indexOf("@")>0&&!/^(\w+:)|(\/\/)/i.test(l)&&(l="mailto:"+l),this.attributes={href:l},(i=e("#k-editor-link-title",a).val())&&(this.attributes.title=i),c.is(":visible")&&((o=n.trim(c.val()))||this._initialText?o&&o!==this._initialText&&(this.attributes.innerText=s.stripBom(o)):this.attributes.innerText=l),r=e("#k-editor-link-target",a).is(":checked"),this.attributes.target=r?"_blank":null,this.formatter.apply(this._range,this.attributes)),this._close(t),this.change&&this.change()},_close:function(e){e.preventDefault(),this._form.destroy(),this._dialog.destroy(),s.windowFromDocument(l.documentFromRange(this._range)).focus(),this.releaseRange(this._range)},linkUrl:function(e){return e?e.getAttribute("href",2):g},linkText:function(e){var t,n="";for(t=0;t<e.length;t++)n+=e[t].nodeValue;return s.stripBom(n||"")},redo:function(){var e=this.lockRange(!0);this.formatter.apply(e,this.attributes),this.releaseRange(e)}}),C=c.extend({init:function(e){c.fn.init.call(this,e),this.formatter=new w},exec:function(){var e=this.detectLink();if(e){var t=this.getRange(),i=new n.ui.editor.Marker,o=t.cloneRange();o.setStart(e.start.node,e.start.offset),o.setEnd(e.end.node,e.end.offset),t=this.lockRange(),i.add(o),this.formatter.apply(o,{href:this._ensureWebProtocol(e.text)}),i.remove(o),this.releaseRange(t)}},detectLink:function(){var e=this.getRange(),t=e.startContainer,n=e.startOffset;!t.previousSibling&&(s.isBom(t)&&!t.nextSibling||!n&&s.isDataNode(t))&&(t=t.parentNode,n=0);var i=new H({node:t,offset:n,cancelAtNode:function(e){return e&&"a"===s.name(e)}});return new S(i).detectLink()},changesContent:function(){return!!this.detectLink()},_ensureWebProtocol:function(e){return this._hasProtocolPrefix(e)?e:this._prefixWithWebProtocol(e)},_hasProtocolPrefix:function(e){return _.test(e)},_prefixWithWebProtocol:function(e){return g+e}}),z=d.extend({init:function(t){this.options=t,this.finder=new h([{tags:["a"]}]),d.fn.init.call(this,e.extend(t,{command:k}))},update:function(e,t){var n=this.finder.isFormatted(t),i=e.closest(".k-toolbar").data("kendoToolBar");n?i.enable(e,!0):i.enable(e,!1)}}),S=o.extend({init:function(e){this.traverser=e,this.start=M(),this.end=M(),this.text=""},detectLink:function(){var e=this.traverser.node,t=this.traverser.offset;if(s.isDataNode(e)){var n=e.data.substring(0,t);if(/\s{2}$/.test(s.stripBom(n)))return}else if(0===t){var i=s.closestEditableOfType(e,s.blockElements);i&&i.previousSibling&&this.traverser.init({node:i.previousSibling})}if(this.traverser.traverse(this._detectEnd.bind(this)),!this.end.blank()&&(this.traverser=this.traverser.clone(this.end),this.traverser.traverse(this._detectStart.bind(this)),!this._isLinkDetected())){var o=this.traverser.extendOptions(this.start);new D(o).traverse(this._skipStartPuntuation.bind(this)),this._isLinkDetected()||(this.start=M())}return this.start.blank()?null:{start:this.start,end:this.end,text:this.text}},_isLinkDetected:function(){return _.test(this.text)||/^w{3}\./i.test(this.text)},_detectEnd:function(e,t){var n=T(e,b);if(n>-1)return this.end.node=t,this.end.offset=n+1,!1},_detectStart:function(e,t){var n=T(e,/\s/),i=n+1;if(this.text=e.substring(i)+this.text,this.start.node=t,this.start.offset=i,n>-1)return!1},_skipStartPuntuation:function(e,t,n){var i,o=(i=/\w/.exec(e))?i.index:-1,r=o;if(-1===o&&(r=e.length),this.text=this.text.substring(r),this.start.node=t,this.start.offset=r+(0|n),o>-1)return!1}});function T(e,t){for(var n=e.length;n--&&!t.test(e[n]););return n}var M=function(){return{node:null,offset:null,blank:function(){return null===this.node&&null===this.offset}}},I=o.extend({init:function(n){this.node=n.node,this.offset=n.offset===t?s.isDataNode(this.node)&&this.node.length||0:n.offset,this.cancelAtNode=n.cancelAtNode||this.cancelAtNode||e.noop},traverse:function(e){e&&(this.cancel=!1,this._traverse(e,this.node,this.offset))},_traverse:function(e,n,i){if(n&&!this.cancel){if(3!==n.nodeType){var o=this.edgeNode(n);return this.cancel=this.cancel||this.cancelAtNode(o),this._traverse(e,o)}var r=n.data;i!==t&&(r=this.subText(r,i)),this.cancel=!1===e(r,n,i);var a=this.next(n);if(!a)for(var l=n.parentNode;!a&&s.isInline(l);)a=this.next(l),l=l.parentNode;this.cancel=this.cancel||this.cancelAtNode(a),this._traverse(e,a)}},extendOptions:function(t){return e.extend({node:this.node,offset:this.offset,cancelAtNode:this.cancelAtNode},t||{})},edgeNode:function(e){},next:function(e){},subText:function(e,t){}}),H=I.extend({subText:function(e,t){return e.substring(0,t)},next:function(e){return e.previousSibling},edgeNode:function(e){return e.lastChild},clone:function(e){var t=this.extendOptions(e);return new H(t)}}),D=I.extend({subText:function(e,t){return e.substring(t)},next:function(e){return e.nextSibling},edgeNode:function(e){return e.firstChild},clone:function(e){var t=this.extendOptions(e);return new D(t)}});r(n.ui.editor,{LinkFormatFinder:y,LinkFormatter:w,UnlinkCommand:k,LinkCommand:x,AutoLinkCommand:C,UnlinkTool:z,DomTextLinkDetection:S,LeftDomTextTraverser:H,RightDomTextTraverser:D}),m("createLink",new d({key:"K",ctrl:!0,command:x})),m("unlink",new z({key:"K",ctrl:!0,shift:!0,ui:{enable:!1}})),m("autoLink",new d({key:[v.ENTER,v.SPACEBAR],keyPressCommand:!0,command:C}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=e.extend,o=t.ui.editor,r=t.ui.Editor.fn.options.formats,a=o.Dom,s=o.FormatTool,l=o.EditorUtils,c=l.registerTool,d=l.registerFormat,u=o.RangeUtils,h=n.extend({init:function(e){this.format=e},contains:function(e,t){var n,i,o;for(n=0,i=t.length;n<i;n++)if(!(o=t[n])||!a.isAncestorOrSelf(e,o))return!1;return!0},findSuitable:function(t){var n,i,o,r=this.format,s=[];for(n=0,i=t.length;n<i;n++){for(var l=r.length-1;l>=0&&!(o=a.ofType(t[n],r[l].tags)?t[n]:a.closestEditableOfType(t[n],r[l].tags));l--);if(!o||"true"===o.contentEditable)return[];e.inArray(o,s)<0&&s.push(o)}for(this._resolveListsItems(s),n=0,i=s.length;n<i;n++)if(this.contains(s[n],s))return[s[n]];return s},_resolveListsItems:function(e){var t,n,i;for(t=0;t<e.length;t++)n=e[t],i=(i=a.is(n,"li")?n:a.wrapper(n))&&a.list(i)?i.children[0]:i,a.is(i,"li")&&(e[t]=i)},findFormat:function(e,t){var n,i,r,s,l,c=this.format,d=a.editableParent(e),u=this.options&&this.options.immutables,h=o.Immutables;for(n=0,i=c.length;n<i;n++){if(r=e,s=c[n].tags,l=c[n].attr,u&&s&&"immutable"==s[0]){var p=h.immutableParent(r);if(p&&a.attrEquals(p,l))return r}for(;r&&a.isAncestorOf(d,r);){if(a.ofType(r,s)&&a.attrEquals(r,l))return r;if(t&&t(r))break;r=r.parentNode}}return null},getFormat:function(e){var t,n,i=this,o=function(e){return i.findFormat(a.isDataNode(e)?e.parentNode:e)},r=o(e[0]);if(!r)return"";for(t=1,n=e.length;t<n;t++)if(r!=o(e[t]))return"";return r.nodeName.toLowerCase()},isFormatted:function(e,t){for(var n=0,i=e.length;n<i;n++)if(!this.findFormat(e[n],t))return!1;return!0}}),p=n.extend({init:function(e,t){this.format=e,this.values=t,this.finder=new h(e)},wrap:function(e,t,n){var i=1==n.length?a.blockParentOrBody(n[0]):a.commonAncestor.apply(null,n);a.isInline(i)&&(i=a.blockParentOrBody(i));var o,r,s=a.significantChildNodes(i),l=a.findNodeIndex(s[0]),c=a.create(i.ownerDocument,e,t);for(o=0;o<s.length;o++)r=s[o],a.isBlock(r)?(a.attr(r,t),c.childNodes.length&&(a.insertBefore(c,r),c=c.cloneNode(!1)),l=a.findNodeIndex(r)+1):c.appendChild(r);c.firstChild&&a.insertAt(i,c,l)},apply:function(t){var n,o=this.values;function r(e){return i({},e&&e.attr,o)}this._handleImmutables(t,!0);var s=a.filter("img",t),c=r(l.formatByName("img",this.format));if(e.each(s,(function(){a.attr(this,c)})),s.length!=t.length){var d=a.filter("img",t,!0),u=this.finder.findSuitable(d);if(u.length)for(var h=0,p=u.length;h<p;h++)n=l.formatByName(a.name(u[h]),this.format),a.attr(u[h],r(n));else n=this.format[0],this.wrap(n.tags[0],r(n),d)}},_handleImmutables:function(e,t){if(this.immutables()){var n=l.formatByName("immutable",this.format);if(n)for(var i=o.Immutables,r=e.length-1;r>=0;r--){var s=i.immutableParent(e[r]);s&&(s!==e[r+1]&&(t?a.attr(s,n.attr):a.unstyle(s,n.attr.style)),e.splice(r,1))}}},immutables:function(){return this.editor&&this.editor.options.immutables},remove:function(e){var t,n,i,o,r;for(this._handleImmutables(e,!1),t=0,n=e.length;t<n;t++)(i=this.finder.findFormat(e[t]))&&(r=a.name(i),(o=l.formatByName(r,this.format)).attr.style&&a.unstyle(i,o.attr.style),o.attr.className&&a.removeClass(i,o.attr.className))},toggle:function(e){var t=this,n=a.filterBy(u.nodes(e),a.htmlIndentSpace,!0);t.finder.isFormatted(n)?t.remove(n):t.apply(n)}}),f=n.extend({init:function(e,t){var n=this;n.format=e,n.values=t,n.finder=new h(e)},apply:function(e){var t,n,i,r,s,l,c,d,u=this.format,h=a.blockParents(e),f=u[0].tags[0];if(h.length)for(t=0,n=h.length;t<n;t++)d=h[t],this.immutables()&&o.Immutables.immutableParent(d)||("li"==(c=a.name(d))?(i=d.parentNode,r=new o.ListFormatter(i.nodeName.toLowerCase(),f),(s=this.editor.createRange()).selectNode(h[t]),r.toggle(s)):f&&("td"==c||d.attributes.contentEditable)?new p(u,this.values).apply(d.childNodes):(l=a.changeTag(d,f),a.attr(l,u[0].attr)));else{var m=new p(u,this.values);m.editor=this.editor,m.apply(e)}},toggle:function(e){var t=u.textNodes(e);t.length||(e.selectNodeContents(e.commonAncestorContainer),(t=u.textNodes(e)).length||(t=a.significantChildNodes(e.commonAncestorContainer))),this.apply(t)},immutables:function(){return this.editor&&this.editor.options.immutables}}),m=s.extend({init:function(e){s.fn.init.call(this,i(e,{finder:new h(e.format),formatter:function(){return new p(e.format)}}))}});i(o,{BlockFormatFinder:h,BlockFormatter:p,GreedyBlockFormatter:f,BlockFormatTool:m});var v=["ul","ol","li"];d("justifyLeft",[{tags:a.nonListBlockElements,attr:{style:{textAlign:"left"}}},{tags:["img"],attr:{style:{float:"left",display:"",marginLeft:"",marginRight:""}}},{tags:["immutable"],attr:{style:{float:"left",display:"",marginLeft:"",marginRight:""}}},{tags:v,attr:{style:{textAlign:"left",listStylePosition:""}}}]),c("justifyLeft",new m({format:r.justifyLeft,ui:{togglable:!0,group:"align"}})),d("justifyCenter",[{tags:a.nonListBlockElements,attr:{style:{textAlign:"center"}}},{tags:["img"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto",float:""}}},{tags:["immutable"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto",float:""}}},{tags:v,attr:{style:{textAlign:"center",listStylePosition:"inside"}}}]),c("justifyCenter",new m({format:r.justifyCenter,ui:{togglable:!0,group:"align"}})),d("justifyRight",[{tags:a.nonListBlockElements,attr:{style:{textAlign:"right"}}},{tags:["img"],attr:{style:{float:"right",display:"",marginLeft:"",marginRight:""}}},{tags:["immutable"],attr:{style:{float:"right",display:"",marginLeft:"",marginRight:""}}},{tags:v,attr:{style:{textAlign:"right",listStylePosition:"inside"}}}]),c("justifyRight",new m({format:r.justifyRight,ui:{togglable:!0,group:"align"}})),d("justifyFull",[{tags:a.nonListBlockElements,attr:{style:{textAlign:"justify"}}},{tags:["img"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto",float:""}}},{tags:["immutable"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto",float:""}}},{tags:v,attr:{style:{textAlign:"justify",listStylePosition:""}}}]),c("justifyFull",new m({format:r.justifyFull,ui:{togglable:!0,group:"align"}}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=e.extend,o=t.ui.editor,r=o.Dom,a=o.RangeUtils,s=o.Command,l=o.FormatTool,c=o.BlockFormatFinder,d=a.textNodes,u=o.EditorUtils.registerTool,h=c.extend({init:function(e){this.tag=e.tag,this.attr=e.attr,this.altAttr=e.altAttr;var t=this.tags=["ul"==this.tag?"ol":"ul",this.tag],n=[{tags:t,attr:this.attr}];this.altAttr&&n.push({tags:t,attr:this.altAttr}),c.fn.init.call(this,n)},matchesType:function(e){return r.attrEquals(e,this.attr)||this.altAttr&&r.attrEquals(e,this.altAttr)},isList:function(e){return r.list(e)},isFormatted:function(e){var t,n,i=[];for(n=0;n<e.length;n++)(t=this.findFormat(e[n],this.isList))&&r.name(t)==this.tag&&this.matchesType(t)&&i.push(t);if(i.length<1)return!1;if(i.length!=e.length)return!1;for(n=0;n<i.length&&i[n].parentNode==t.parentNode;n++)if(i[n]!=t)return!1;return!0},findSuitable:function(e){var t=this.findFormat(e[0],this.isList);return t&&r.name(t)==this.tag?t:null}}),p=n.extend({init:function(t,n){var i=this;t=e.isPlainObject(t)?t:{tag:t,attr:null},i.tag=t.tag,i.attr=t.attr,i.finder=new h(t),i.unwrapTag=n},isList:function(e){return r.list(e)},immutables:function(){return this.editor&&!!this.editor.options.immutables},wrap:function(t,n){var i,a,s=r.create(t.ownerDocument,"li"),l=this.immutables()?o.Immutables.immutable:e.noop;for(i=0;i<n.length;i++)if(a=n[i],r.is(a,"li"))t.appendChild(a);else if(this.isList(a))for(;a.firstChild;)t.appendChild(a.firstChild);else if(r.is(a,"td")){for(;a.firstChild;)s.appendChild(a.firstChild);t.appendChild(s),a.appendChild(t),t=t.cloneNode(!1),s=s.cloneNode(!1)}else s.appendChild(a),r.isBlock(a)&&(t.appendChild(s),l(a)||r.unwrap(a),s=s.cloneNode(!1));s.firstChild&&t.appendChild(s)},containsAny:function(e,t){for(var n=0;n<t.length;n++)if(r.isAncestorOrSelf(e,t[n]))return!0;return!1},suitable:function(e,t){if("k-marker"==e.className){var n=e.nextSibling;if(n&&r.isBlock(n))return!1;if((n=e.previousSibling)&&r.isBlock(n))return!1}return this.containsAny(e,t)||r.isInline(e)||3==e.nodeType},_parentLists:function(t){var n=r.closestEditable(t);return e(t).parentsUntil(n,"ul,ol")},split:function(e){var t,n,i,o=d(e);if(o.length){t=r.parentOfType(o[0],["li"]),n=r.parentOfType(o[o.length-1],["li"]),e.setStartBefore(t),e.setEndAfter(n);for(var s=0,l=o.length;s<l;s++){var c=this.finder.findFormat(o[s]);c&&((i=this._parentLists(c)).length?a.split(e,i.last()[0],!0):a.split(e,c,!0))}}},merge:function(e,t){for(var n,i=t.previousSibling;i&&("k-marker"==i.className||3==i.nodeType&&r.isWhitespace(i));)i=i.previousSibling;if(i&&r.name(i)==e&&this.finder.matchesType(i)){for(;t.firstChild;)i.appendChild(t.firstChild);r.remove(t),t=i}for(n=t.nextSibling;n&&("k-marker"==n.className||3==n.nodeType&&r.isWhitespace(n));)n=n.nextSibling;if(n&&r.name(n)==e&&this.finder.matchesType(n)){for(;t.lastChild;)n.insertBefore(t.lastChild,n.firstChild);r.remove(t)}},breakable:function(e){return e!=e.ownerDocument.body&&!/table|tbody|thead|tr|td/.test(r.name(e))&&!e.attributes.contentEditable},findSuitableNode:function(e){var t,n=this,i=n.finder,o=n.tag;return(t=i.findSuitable(e))||(t=(i=new h({tag:"ul"==o?"ol":"ul"})).findSuitable(e)),t||(t=(t=(i=new h({tag:o})).findSuitable(e))&&n.finder.matchesType(t)?null:t),t},applyOnSection:function(t,n){var i,o=this.tag,a=this.attr,s=r.closestSplittableParent(n),l=[],c=this.findSuitableNode(n);function d(){l.push(this)}/table|tbody|thead/.test(r.name(s))?i=e.map(n,(function(e){return r.parentOfType(e,["td"])})):(i=r.significantChildNodes(s),e.grep(i,r.isBlock).length&&(i=e.grep(i,function(e){return this.containsAny(e,n)}.bind(this))),i.length||(i=n));for(var u=0;u<i.length;u++){var h=i[u];(!c||!r.isAncestorOrSelf(c,h))&&this.suitable(h,n)&&(c&&this.isList(h)?(e.each(h.children,d),r.remove(h)):l.push(h))}for(l.length==i.length&&this.breakable(s)&&(l=[s]),c||(c=r.create(s.ownerDocument,o,a),r.isBlock(l[0])&&r.mergeAttributes(l[0],c),r.insertBefore(c,l[0])),this.wrap(c,l);r.isBom(c.nextSibling);)r.remove(c.nextSibling);this.finder.matchesType(c)||(c.removeAttribute("type"),c.style.listStyleType="",r.mergeAttributes(r.create(s.ownerDocument,o,a),c,!0)),c&&""===c.getAttribute("type")&&c.removeAttribute("type"),r.is(c,o)||r.changeTag(c,o),this.merge(o,c)},apply:function(t){var n,i,a,s,l=0,c=[],d=t.length,u=this.immutables()?o.Immutables.immutableParent:e.noop;function h(){n&&c.push({section:n,nodes:i})}for(l=0;l<d;l++)s=u(t[l])||t[l],a=r.closestEditable(s,["td","th","body"]),n&&a==n?i.push(s):(h(),i=[s],n=a);for(h(),l=0;l<c.length;l++)this.applyOnSection(c[l].section,c[l].nodes)},unwrap:function(e){var t,n,i,o,a=e.ownerDocument.createDocumentFragment(),s=this.unwrapTag;for(n=e.firstChild;n;n=n.nextSibling){for(i=r.create(e.ownerDocument,s||"p");n.firstChild;)o=n.firstChild,r.isBlock(o)?(i.firstChild&&(a.appendChild(i),i=r.create(e.ownerDocument,s||"p")),a.appendChild(o)):i.appendChild(o);i.firstChild&&a.appendChild(i)}(t=this._parentLists(e))[0]?(r.insertAfter(a,t.last()[0]),t.last().remove()):r.insertAfter(a,e),r.remove(e)},remove:function(e){for(var t,n=0,i=e.length;n<i;n++)(t=this.finder.findFormat(e[n]))&&this.unwrap(t)},toggle:function(e){var t=this,n=d(e),i=e.commonAncestorContainer;if(!n.length&&(e.selectNodeContents(i),!(n=d(e)).length)){var o=i.ownerDocument.createTextNode("");e.startContainer.appendChild(o),n=[o],e.selectNode(o.parentNode)}n=r.filterBy(n,r.htmlIndentSpace,!0),t.finder.isFormatted(n)?(t.split(e),t.remove(n)):t.apply(n)}}),f=s.extend({init:function(e){e.formatter=new p({tag:e.tag,attr:e.attr}),s.fn.init.call(this,e)}}),m=l.extend({init:function(e){this.options=e,l.fn.init.call(this,i(e,{finder:new h(e)}))},command:function(e){return new f(i(e,{tag:this.options.tag,attr:this.options.attr}))}});i(o,{ListFormatFinder:h,ListFormatter:p,ListCommand:f,ListTool:m}),u("insertUnorderedList",new m({tag:"ul",attr:{style:{listStyleType:""},type:""},ui:{togglable:!0,group:"lists"}})),u("insertOrderedList",new m({tag:"ol",attr:{style:{listStyleType:""},type:""},ui:{togglable:!0,group:"lists"}})),u("insertUpperRomanList",new m({tag:"ol",attr:{style:{listStyleType:"upper-roman"}},altAttr:{type:"I"},ui:{togglable:!0,group:"lists"}})),u("insertLowerRomanList",new m({tag:"ol",attr:{style:{listStyleType:"lower-roman"}},altAttr:{type:"i"},ui:{togglable:!0,group:"lists"}}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.ui.editor,i=n.Tool,o=n.DelayedExecutionTool,r=n.Command,a=n.Dom,s=n.EditorUtils,l=n.RangeUtils,c=s.registerTool,d=o.extend({init:function(e){var n=this;i.fn.init.call(n,t.deepExtend({},n.options,e)),n.type="kendoDropDownList",n.finder={getFormat:function(){return""}}},options:{items:[{text:"Paragraph",value:"p"},{text:"Quotation",value:"blockquote"},{text:"Heading 1",value:"h1"},{text:"Heading 2",value:"h2"},{text:"Heading 3",value:"h3"},{text:"Heading 4",value:"h4"},{text:"Heading 5",value:"h5"},{text:"Heading 6",value:"h6"}],width:110},toFormattingItem:function(e){var t=e.value;if(!t)return e;if(e.tag||e.className)return e;var n=t.indexOf(".");return 0===n?e.className=t.substring(1):-1==n?e.tag=t:(e.tag=t.substring(0,n),e.className=t.substring(n+1)),e},command:function(t){var i=this,o=t.value;return o=this.toFormattingItem(o),new n.FormatCommand({range:t.range,formatter:function(){var t,r=(o.tag||o.context||"span").split(","),s=[{tags:r,attr:{className:o.className||""}}];return(t=e.inArray(r[0],a.inlineElements)>=0?new n.GreedyInlineFormatter(s):new n.GreedyBlockFormatter(s)).editor=i.editor,t}})},decorate:function(t){var n,i,o,r,s=this.component,l=s.dataSource,c=l.data();if(t&&s.list.css("background-color",a.getEffectiveBackground(e(t))),this.component&&this.component.options&&!1!==this.component.options.unsafeInline)for(n=0;n<c.length;n++)i=c[n].tag||"span",o=c[n].className,r=(r=a.inlineStyle(t,i,{className:o})).replace(/"/g,"'"),c[n].style=r+";display:inline-block";l.trigger("change")},initialize:function(e,t){var n=this.options,o=n.name,r=this,a=e.getKendoDropDownList();a&&(r.editor=t,r.component=a,e.closest(".k-dropdownlist").width(n.width),a.setOptions({optionLabel:t.options.messages.formatting,change:()=>{var e=a.dataItem();e&&i.exec(t,o,e.toJSON())},dataBound:function(){var e,t=a.dataSource.data(),n=a.list.parent().find(".k-list-optionlabel");for(e=0;e<t.length;e++)t[e]=r.toFormattingItem(t[e]);n.length&&n.remove()}}))},getFormattingValue:function(t,n){for(var i=0;i<t.length;i++){var o=t[i],r=(o.tag||o.context||"")+(o.className?"."+o.className:"");if(e(n[0]).closest(r)[0]){if(1==n.length)return o.value;for(var a=1;a<n.length&&e(n[a]).closest(r)[0];a++)if(a==n.length-1)return o.value}}return""},update:function(t,n){var i=e(t).data(this.type);if(i){var r,s,l=i.dataSource,c=l.data(),d=a.commonAncestor.apply(null,n);if(d==a.closestEditable(d)||this._ancestor!=d){for(this._ancestor=d,r=0;r<c.length;r++)s=c[r].context,c[r].visible=!s||!!e(d).closest(s).length;l.filter([{field:"visible",operator:"eq",value:!0}]),o.fn.update.call(this,t,n),i.value(this.getFormattingValue(l.view(),n)),i.wrapper.toggleClass("k-disabled",!l.view().length)}}},destroy:function(){this._ancestor=null}}),u=r.extend({exec:function(){var e=this.lockRange(!0);this.tagsToClean=this.options.remove||"strong,em,span,sup,sub,del,b,i,u,font".split(","),l.wrapSelectedElements(e);for(var t=l.mapAll(e,(function(e){return e})),n=t.length-1;n>=0;n--){var i=t[n];this.immutableParent(i)||this.clean(i)}this.releaseRange(e)},clean:function(i){if(i&&!a.isMarker(i)){var o=a.name(i);if("ul"==o||"ol"==o){var r=new n.ListFormatter(o),s=i.previousSibling,l=i.nextSibling;for(r.unwrap(i);s&&s!=l;s=s.nextSibling)this.clean(s)}else if("blockquote"==o)a.changeTag(i,"p");else if(1!=i.nodeType||a.insignificant(i))!function(e){var i=a.closestEditableOfType(e,["li"]);if(i){var o=new n.ListFormatter(a.name(i.parentNode)),r=t.ui.editor.W3CRange.fromNode(e);r.selectNode(i),o.toggle(r)}}(i);else{for(var c=i.childNodes.length-1;c>=0;c--)this.clean(i.childNodes[c]);i.removeAttribute("style"),i.removeAttribute("class")}e.inArray(o,this.tagsToClean)>-1&&a.unwrap(i)}},immutableParent:function(e){return this.immutables()&&n.Immutables.immutableParent(e)}});e.extend(n,{FormattingTool:d,CleanFormatCommand:u}),c("formatting",new d({ui:{type:"component",component:"DropDownList",componentOptions:{dataTextField:"text",dataValueField:"value",highlightFirst:!1,autoWidth:!0,template:t.template((e=>`<span unselectable="on" ${e.style?`class="k-d-block" style="display:block;${e.style||""}`:""}">${t.htmlEncode(e.text)}</span>`))},overflow:"never"}})),c("cleanFormatting",new i({command:u}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.htmlEncode,o=t.ui.editor,r=o.EditorUtils,a=o.Dom,s=r.registerTool,l=o.RangeUtils,c=o.Command,d=t.keys,u="#k-editor-image-url",h="#k-editor-image-title",p="#k-editor-image-width",f="#k-editor-image-height",m=c.extend({init:function(e){var t=this;c.fn.init.call(t,e),t.async=!0,t.attributes={}},insertImage:function(e,t){var n=this.attributes,i=l.documentFromRange(t);if(n.src&&"http://"!=n.src){var o=function(){setTimeout((function(){n.width||e.removeAttribute("width"),n.height||e.removeAttribute("height"),e.removeAttribute("complete")}))};if(!e)return(e=a.create(i,"img",n)).onload=e.onerror=o,t.deleteContents(),t.insertNode(e),e.nextSibling||a.insertAfter(i.createTextNode("\ufeff"),e),o(),t.setStartAfter(e),t.setEndAfter(e),l.selectRange(t),!0;e.onload=e.onerror=o,a.attr(e,n),o()}return!1},redo:function(){var e=this,t=e.lockRange();e.insertImage(l.image(t),t)||e.releaseRange(t)},exec:function(){var e,i,o=this,r=o.lockRange(),s=!1,c=l.image(r),m=c&&c.getAttribute("width")||"",v=c&&c.getAttribute("height")||"",g=t.support.browser.msie,_=o.editor.options,b=_.messages,y=_.imageBrowser,w=!!(t.ui.ImageBrowser&&y&&y.transport&&undefined!==y.transport.read),k={title:b.insertImage,visible:!1,resizable:w};function x(t){var n=e.element,i=parseInt(n.find(p).val(),10),a=parseInt(n.find(f).val(),10);o.attributes={src:n.find(u).val().replace(/ /g,"%20"),alt:n.find(h).val()},o.attributes.width=null,o.attributes.height=null,!isNaN(i)&&i>0&&(o.attributes.width=i),!isNaN(a)&&a>0&&(o.attributes.height=a),s=o.insertImage(c,r),C(t),o.change&&o.change(),o.editor._handleSpaceAndNewLines()}function C(t){t.preventDefault(),i.destroy(),e.destroy(),a.windowFromDocument(l.documentFromRange(r)).focus(),s||o.releaseRange(r)}this.expandImmutablesIn(r),k.close=C,w&&(k.width=750),k.minWidth=350,e=this.createDialog("<div/>",k).data("kendoWindow"),i=o._createForm(e,w),e.element.toggleClass("k-filebrowser-dialog",w),e.wrapper.find(".k-dialog-insert").on("click",x).end().find(".k-dialog-close").on("click",C).end().find(".k-form-field input").on("keydown",(function(e){e.keyCode==d.ENTER?x(e):e.keyCode==d.ESC&&C(e)})).end().find(u).val(c?c.getAttribute("src",2):"http://").end().find(h).val(c?c.alt:"").end().find(p).val(m).end().find(f).val(v).end();var z=e.element;if(w&&(this._imageBrowser=new t.ui.ImageBrowser(z.find(".k-imagebrowser"),n({},y)),this._imageBrowser.bind("change",(function(e){"f"===e.selected.get("type")&&z.find(u).val(this.value())})),this._imageBrowser.bind("apply",x)),g){var S=z.closest(".k-window").height();z.css("max-height",S)}e.center().open(),z.find(u).trigger("focus").select()},_createForm:function(t,n){var o=e("<div/>").appendTo(t.element),r=this.editor.options.messages,a=o.kendoForm({renderButtons:!1,items:[{field:"k-editor-image-url",label:i(r.imageWebAddress),editor:"TextBox"},{field:"k-editor-image-title",label:i(r.imageAltText),editor:"TextBox"},{field:"k-editor-image-width",label:i(r.imageWidth),editor:"TextBox"},{field:"k-editor-image-height",label:i(r.imageHeight),editor:"TextBox"}]}).data("kendoForm");return n&&o.prepend(e('<div class="k-filebrowser k-imagebrowser"></div>')),t.element.after(e(this._actionButtonsTemplate({messages:r,insertButtonIcon:"image-add",cancelButtonIcon:"cancel-outline"}))),a}});t.ui.editor.ImageCommand=m,s("insertImage",new o.Tool({command:m}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.ui.editor,o=i.EditorUtils,r=i.Command,a=i.Tool,s=o.registerTool,l='<div contenteditable="false" class="k-loading-mask" style="width: 100%; height: 100%; position: absolute; top: 0px; left: 0px;"><div class="k-loading-image"></div><div class="k-loading-color"></div></div>',c=r.extend({exec:function(){(this.editor._uploadWidget||this._initializeUploadWidget()).element.click()},_initializeUploadWidget:function(){var t=this,n=t.editor,i=n.options.import,o=e('<input id="editorImport" name="files" type="file" />').kendoUpload({success:t._onUploadSuccess.bind(t),progress:t._onUploadProgress.bind(t),select:t._onUploadSelect.bind(t),error:t._onUploadError.bind(t),complete:t._onUploadComplete.bind(t),showFileList:!1,multiple:!1,async:{saveUrl:i.proxyURL,autoUpload:!0,saveField:"file"},validation:{allowedExtensions:i.allowedExtensions,maxFileSize:i.maxFileSize}}).getKendoUpload();return n._uploadWidget=o,o},_onUploadComplete:function(e){this._trigger("complete",e),e.sender.clearAllFiles(),this._removeLoadingOverlay()},_onUploadSuccess:function(e){this.editor.value(e.response.html.replace(/<\/?body>/gi,"")),this._trigger("success",e)},_onUploadProgress:function(e){this._trigger("progress",e)},_onUploadSelect:function(e){this._trigger("select",e),e.files[0].validationErrors||this._initLoadingOverlay()},_onUploadError:function(e){this._trigger("error",e)},_trigger:function(e,t){var n=this.editor,i=n.options.import;"function"==typeof i[e]&&i[e].call(n,t)},_initLoadingOverlay:function(){var n=this.editor.body;i.Dom.is(n,"body")?this._iframeWrapper=this._container=this.editor.wrapper.find("iframe").parent().css({position:"relative"}).append(l):this._container=e(n).append(l),t.ui.progress(this._container,!0)},_removeLoadingOverlay:function(){t.ui.progress(this._container,!1),e(this._iframeWrapper).css({position:""}),delete this._container,delete this._iframeWrapper}});n(i,{ImportCommand:c}),s("import",new a({command:c,ui:{showText:"both"}}))}(window.kendo.jQuery),function(e){var t=window.kendo.ui.editor,n=t.Command,i=t.GenericCommand,o=t.EditorUtils.registerTool,r=t.Tool,a=t.RestorePoint,s=e.extend,l=n.extend({init:function(e){n.fn.init.call(this,e),this.managesUndoRedo=!0},exec:function(){var e=this.editor,t=this.options,n=t.range,o=e.body,r=new a(n,o),s=t.html||t.value||"";e.selectRange(n),e.clipboard.paste(s,t),t.postProcess&&t.postProcess(e,e.getRange());var l=new i(r,new a(e.getRange(),o));l.editor=e,e.undoRedoStack.push(l),e.focus()}}),c=r.extend({initialize:function(e,t){var n=this.options,i=n.items?n.items:t.options.insertHtml,o=e.getKendoDropDownList();o&&(o.one("open",(()=>{var e=o.list.parent().find(".k-list-optionlabel");e.length&&e.remove()})),o.setOptions({dataSource:i,optionLabel:t.options.messages.insertHtml}),o.bind("change",(()=>{r.exec(t,"insertHtml",o.value())})))},command:function(e){return new l(e)},update:function(e){var t=e.data("kendoDropDownList");t.close(),t.value(null)}});s(t,{InsertHtmlCommand:l,InsertHtmlTool:c}),o("insertHtml",new c({ui:{initialValue:"Insert HTML",type:"component",component:"DropDownList",componentOptions:{dataTextField:"text",dataValueField:"value",autoSize:!0,highlightFirst:!1},overflow:"never"}}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.ui.editor,o=i.EditorUtils,r=i.Command,a=i.Tool,s=o.registerTool,l=r.extend({init:function(e){var t=this;t.options=e,r.fn.init.call(t,e),t.attributes=null,t.exportType=e.exportType},exec:function(){var e=this.lockRange(!0);this.postToProxy(),this.releaseRange(e)},postToProxy:function(){this.generateForm().appendTo("body").submit().remove()},generateForm:function(){var t=this,n=t.editor.options.exportAs,i=e("<form>").attr({action:n&&n.proxyURL||"",method:"POST"});return i.append([t.valueInput(),t.exportTypeInput(),t.fileNameInput(),t.antiForgeryInput()]),i},valueInput:function(){var t=this.editor;return e("<input>").attr({value:t.encodedValue(),name:"value",type:"hidden"})},exportTypeInput:function(){return e("<input>").attr({value:this.exportType,name:"exportType",type:"hidden"})},fileNameInput:function(){var t=this.editor,n=t.options.exportAs,i=n&&n.fileName||t.element.attr("id")||"editor";return e("<input>").attr({value:i,name:"fileName",type:"hidden"})},antiForgeryInput:function(){var t=e("meta[name=csrf-param],meta[name=_csrf_header]").attr("content");return e("input[name^='__RequestVerificationToken']").clone().add(e("input[name^='"+t+"']").clone())}}),c=a.extend({init:function(e){var n=this;a.fn.init.call(n,t.deepExtend({},n.options,e)),n.type="kendoDropDownList"},options:{items:[{text:"Docx",value:"docx"},{text:"Rtf",value:"rtf"},{text:"Pdf",value:"pdf"},{text:"Html",value:"html"},{text:"Plain Text",value:"txt"}]},command:function(e){var t=e.value;return new i.ExportAsCommand({range:e.range,exportType:t.exportType})},initialize:function(e,t){var n=e.getKendoDropDownList();this.editor=t,n.bind("change",this.changeHandler.bind(this))},changeHandler:function(e){this._exec(e.sender.value()),e.sender.value(null),e.sender.wrapper.find(".k-export-tool-text").text(t.htmlEncode(this.editor.options.messages.exportAs))},update:function(e,n){var i=e.data("kendoDropDownList");i.close(),i.value(null),e.closest(".k-dropdownlist").find(".k-export-tool-text").text(t.htmlEncode(this.editor.options.messages.exportAs))},_exec:function(e){e&&a.exec(this.editor,this.options.name,{exportType:e})},destroy:function(){this._ancestor=null}});n(i,{ExportAsTool:c,ExportAsCommand:l}),s("exportAs",new c({ui:{type:"component",overflow:"never",component:"DropDownList",componentOptions:{dataTextField:"text",dataValueField:"value",valuePrimitive:!0,value:null,width:"140px",highlightFirst:!1,autoWidth:!0,itemTemplate:e=>`<span class="k-link k-menu-link" data-value="${e.value}">${e.text}</strong></span>`,icon:"export",valueTemplate:()=>`<span class="k-editor-export">${t.ui.icon({icon:"export",iconClass:"k-button-icon"})}<span class="k-export-tool-text"></span></span>`}}}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=e.extend,o=t.ui.editor,r=o.Dom,a=o.EditorUtils.registerTool,s=o.Command,l=o.Tool,c=o.RangeUtils,d=r.blockElements,u=o.BlockFormatFinder,h=o.BlockFormatter;function p(t,n){var i="rtl"==e(t).css("direction")?"Right":"Left",o="td"!=r.name(t)?"margin"+i:"padding"+i;if(undefined===n)return t.style[o]||0;n>0?t.style[o]=n+"px":(t.style[o]="",t.style.cssText||t.removeAttribute("style"))}var f=n.extend({init:function(){this.finder=new u([{tags:r.blockElements}])},apply:function(t){t=r.filterBy(t,r.htmlIndentSpace,!0);var n,i,o,a,s,l=this.finder.findSuitable(t),c=[];if((l=this.mapImmutables(l)).length){for(n=0,i=l.length;n<i;n++)r.is(l[n],"li")?e(l[n]).index()?e.inArray(l[n].parentNode,c)<0&&c.push(l[n]):c.push(l[n].parentNode):c.push(l[n]);for(;c.length;)if(o=c.shift(),r.is(o,"li")){a=o.parentNode;var d=(s=e(o).prev("li")).find("ul,ol").last(),u=e(o).children("ul,ol")[0];if(u&&s[0])d[0]?(d.append(o),d.append(e(u).children()),r.remove(u)):(s.append(u),u.insertBefore(o,u.firstChild));else for((u=s.children("ul,ol")[0])||(u=r.create(o.ownerDocument,r.name(a),this.getListTypeAttr(a)),s.append(u));o&&o.parentNode==a;)u.appendChild(o),o=c.shift()}else{var f=parseInt(p(o),10)+30;p(o,f);for(var m=0;m<c.length;m++)e.contains(o,c[m])&&c.splice(m,1)}}else{new h([{tags:["p"]}],{style:{marginLeft:30}}).apply(t)}},getListTypeAttr:function(e){var t=e.getAttribute("type"),n=e.style.listStyleType;return t?{type:t}:{style:{listStyleType:n}}},mapImmutables:function(t){if(this.immutables){var n=[];return e.map(t,(function(t){var i=o.Immutables.immutableParent(t);if(i){if(-1!==e.inArray(i,n))return null;n.push(i)}return i||t}))}return t},remove:function(t){t=r.filterBy(t,r.htmlIndentSpace,!0);var n,i,o,a,s,l,c,d,u=this.finder.findSuitable(t);for(i=0,o=(u=this.mapImmutables(u)).length;i<o;i++){if((c=e(u[i])).is("li")){if((s=(a=c.parent()).parent()).is("li,ul,ol")&&!p(a[0])){if(n&&e.contains(n,s[0]))continue;(l=c.nextAll("li")).length&&e(a[0].cloneNode(!1)).appendTo(c).append(l),s.is("li")?c.insertAfter(s):c.appendTo(s),a.children("li").length||a.remove();continue}if(n==a[0])continue;n=a[0]}else n=u[i];d=parseInt(p(n),10)-30,p(n,d)}}}),m=s.extend({init:function(e){e.formatter={toggle:function(e){var t=new f;t.immutables=this.editor&&this.editor.options.immutables,t.apply(c.nodes(e))}.bind(this)},s.fn.init.call(this,e)}}),v=s.extend({init:function(e){e.formatter={toggle:function(e){var t=new f;t.immutables=this.editor&&this.editor.options.immutables,t.remove(c.nodes(e))}.bind(this)},s.fn.init.call(this,e)}}),g=l.extend({init:function(e){l.fn.init.call(this,e),this.finder=new u([{tags:d}])},initialize:function(t,n){e.extend(this.options,{immutables:n&&n.options.immutables})},update:function(t,n){var i,a,s,l,c,d,u=this.finder.findSuitable(n),h=t.closest(".k-toolbar").data("kendoToolBar");for(s=0,l=u.length;s<l;s++)if(c=u[s],this.options.immutables&&(d=o.Immutables.immutableParent(c))&&(c=d),(i=p(c))||(a=e(c).parents("ul,ol").length,i=r.is(c,"li")&&(a>1||p(c.parentNode))||r.ofType(c,["ul","ol"])&&a>0),i)return void h.enable(t,!0);h.enable(t,!1)}});i(o,{IndentFormatter:f,IndentCommand:m,OutdentCommand:v,OutdentTool:g}),a("indent",new l({command:m})),a("outdent",new g({command:v,ui:{enable:!1}}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.ui.editor,o=i.Dom,r=i.Command,a=i.Tool,s=i.BlockFormatter,l=o.normalize,c=i.RangeUtils,d=i.EditorUtils.registerTool,u=r.extend({init:function(e){this.options=e,r.fn.init.call(this,e)},_insertMarker:function(e,t){var n,i=o.create(e,"a");return i.className="k-marker",t.insertNode(i),i.parentNode||((n=t.commonAncestorContainer).innerHTML="",n.appendChild(i)),l(i.parentNode),i},_moveFocus:function(e,t){if(o.isEmpty(t))e.setStartBefore(t);else{e.selectNodeContents(t);var n=c.textNodes(e)[0];if(!n){for(;t.childNodes.length&&!o.is(t.firstChild,"br");)t=t.firstChild;n=t}if(o.isEmpty(n))e.setStartBefore(n);else{o.emptyNode(n)&&(n.innerHTML="\ufeff");var i=n.firstChild||n;o.isDataNode(i)?e.setStart(i,0):e.setStartBefore(i)}}},shouldTrim:function(e){var t="p,h1,h2,h3,h4,h5,h6".split(","),n=o.parentOfType(e.startContainer,t),i=o.parentOfType(e.endContainer,t);return n&&!i||!n&&i},_blankAfter:function(e){for(;e&&(o.isMarker(e)||""===o.stripBom(e.nodeValue));)e=e.nextSibling;return!e},exec:function(){const t=this.getRange(),n=c.documentFromRange(t);let r,a,d,u,h,p,f,m,v,g;const _=i.emptyElementContent;if(this.expandImmutablesIn(t),g=this.shouldTrim(t),t.deleteContents(),h=this._insertMarker(n,t),o.stripBomNode(h.previousSibling),o.stripBomNode(h.nextSibling),p=o.closestEditableOfType(h,["li"]),f=o.closestEditableOfType(h,"h1,h2,h3,h4,h5,h6".split(",")),m=o.is(h.parentNode,"table")&&h.parentNode,p){if(o.emptyNode(p)){u=o.create(n,"p"),o.next(p)&&(v=t.cloneRange(),v.selectNode(p),c.split(v,p.parentNode));const i=e("br",p);1==i.length&&i.remove();const r=p.parentNode,a=p.parentNode.children.length,s=a>=1&&1==p.childNodes.length&&p.children[0];o.insertAfter(u,r),o.remove(1==a?p.parentNode:p),s&&s!==h?(u.appendChild(s),u.appendChild(h)):u.innerHTML=_,d=u}}else f&&this._blankAfter(h)?(u=this._insertParagraphAfter(f),o.remove(h),d=u):m&&(u=this._insertParagraphAfter(m),o.remove(h),d=u);if(!d){p||f||new s([{tags:["p"]}]).apply([h]),t.selectNode(h);const e=f?o.name(f):"p";r=o.parentOfType(h,[p?"li":e]),c.split(t,r,g),a=r.previousSibling,o.is(a,"li")&&a.firstChild&&!o.is(a.firstChild,"br")&&(a=a.firstChild),d=r.nextSibling,this.clean(a,{links:!0}),this.clean(d,{links:!0}),o.is(d,"li")&&d.firstChild&&!o.is(d.firstChild,"br")&&(d=d.firstChild),o.remove(r),l(a)}l(d),this._moveFocus(t,d),t.collapse(!0),o.scrollTo(d,!0),c.selectRange(t)},_insertParagraphAfter:function(e){var t=this.getRange(),n=c.documentFromRange(t),r=i.emptyElementContent,a=o.create(n,"p");return o.insertAfter(a,e),a.innerHTML=r,a},clean:function(t,n){var r=t;if(t.firstChild&&o.is(t.firstChild,"br")&&o.remove(t.firstChild),o.isDataNode(t)&&!t.nodeValue&&(t=t.parentNode),t){for(var a=!1;t.firstChild&&1==t.firstChild.nodeType;)a=a||o.significantNodes(t.childNodes).length>1,t=t.firstChild;if(o.isEmpty(t)||"k-br"==t.className||!/^\s*$/.test(t.innerHTML)||a||(e(r).find(".k-br").remove(),t.innerHTML=i.emptyElementContent),n&&n.links)for(;t!=r;){if(o.is(t,"a")&&o.emptyNode(t)){o.unwrap(t);break}t=t.parentNode}}}}),h=r.extend({init:function(e){this.options=e,r.fn.init.call(this,e)},exec:function(){var n=this.getRange();this.expandImmutablesIn(n);var i,r,a=o.create(c.documentFromRange(n),"br"),s=n.startContainer,d=t.support.browser,u=d.msie&&d.version<11,h=o.is(s,"table")&&s;n.deleteContents(),h?o.insertAfter(a,h):(r=e(s).closest(".k-br"),n.insertNode(a),r.length&&o.unwrap(r[0])),l(a.parentNode),u||a.nextSibling&&!o.isWhitespace(a.nextSibling)||(a.nextSibling&&o.isWhitespace(a.nextSibling)&&e(a.nextSibling).remove(),(i=a.cloneNode(!0)).className="k-br",o.insertAfter(i,a)),n.setStartAfter(a),n.collapse(!0),o.scrollTo(a.nextSibling||a,!0),c.selectRange(n)}});n(i,{ParagraphCommand:u,NewLineCommand:h}),d("insertLineBreak",new a({key:13,shift:!0,command:h})),d("insertParagraph",new a({key:13,command:u}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.htmlEncode,o=t.ui.editor,r=o.EditorUtils,a=o.Dom,s=r.registerTool,l=o.RangeUtils,c=o.Command,d=o.LinkFormatter,u=l.textNodes,h=t.keys,p="#k-editor-file-url",f="#k-editor-file-text",m="#k-editor-file-title",v=c.extend({init:function(e){var t=this;c.fn.init.call(t,e),t.formatter=new d,t.async=!0,t.attributes={}},insertFile:function(e,t){var n=this.attributes,i=l.documentFromRange(t);if(n.href&&"http://"!=n.href){if(!e)return(e=a.create(i,"a",{href:n.href})).innerHTML=n.innerHTML,e.title=n.title,t.deleteContents(),t.insertNode(e),e.nextSibling||a.insertAfter(i.createTextNode("\ufeff"),e),t.setStartAfter(e),t.setEndAfter(e),l.selectRange(t),!0;a.attr(e,n)}return!1},redo:function(){var e=this.lockRange();this.formatter.apply(e,this.attributes),this.releaseRange(e)},exec:function(){var e,i,o=this,r=o.lockRange(),s=u(r),c=!1,d=s.length?this.formatter.finder.findSuitable(s[0]):null,v=t.support.browser.msie,g=o.editor.options,_=g.messages,b=g.fileBrowser,y=!!(t.ui.FileBrowser&&b&&b.transport&&undefined!==b.transport.read),w={title:_.insertFile,visible:!1,resizable:y};function k(t){var n=e.element,i=n.find(p).val().replace(/ /g,"%20"),a=n.find(f).val(),s=n.find(m).val();o.attributes={href:i,innerHTML:""!==a?a:i,title:s},c=o.insertFile(d,r),x(t),o.change&&o.change()}function x(t){t.preventDefault(),i.destroy(),e.destroy(),a.windowFromDocument(l.documentFromRange(r)).focus(),c||o.releaseRange(r)}this.expandImmutablesIn(r),w.close=x,y&&(w.width=750),w.minWidth=350,e=this.createDialog("<div/>",w).data("kendoWindow"),i=o._createForm(e,y),e.element.toggleClass("k-filebrowser-dialog",y),e.wrapper.find(".k-dialog-insert").on("click",k).end().find(".k-dialog-close").on("click",x).end().find(".k-form-field input").on("keydown",(function(e){e.keyCode==h.ENTER?k(e):e.keyCode==h.ESC&&x(e)})).end().find(p).val(d?d.getAttribute("href",2):"http://").end().find(f).val(d?d.innerText:"").end().find(m).val(d?d.title:"").end();var C=e.element;if(y&&(o._fileBrowser=new t.ui.FileBrowser(C.find(".k-filebrowser"),n({},b)),o._fileBrowser.bind("change",(function(e){"f"===e.selected.get("type")&&C.find(p).val(this.value())})),o._fileBrowser.bind("apply",k)),v){var z=C.closest(".k-window").height();C.css("max-height",z)}e.center().open(),C.find(p).trigger("focus").select()},_createForm:function(t,n){var o=e("<div/>").appendTo(t.element),r=this.editor.options.messages,a=o.kendoForm({renderButtons:!1,items:[{field:"k-editor-file-url",label:i(r.fileWebAddress),editor:"TextBox"},{field:"k-editor-file-text",label:i(r.fileText),editor:"TextBox"},{field:"k-editor-file-title",label:i(r.fileTitle),editor:"TextBox"}]}).data("kendoForm");return n&&o.prepend(e('<div class="k-filebrowser"></div>')),t.element.after(e(this._actionButtonsTemplate({messages:r,insertButtonIcon:"file-add",cancelButtonIcon:"cancel-outline"}))),a}});t.ui.editor.FileCommand=v,s("insertFile",new o.Tool({command:v}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.ui.editor,o=i.Dom,r=i.RangeUtils,a=i.Command,s="kendoEditor",l="k-active",c="k-selected",d="scope",u="row",h="col",p="rowgroup",f="colgroup",m="colspan",v="rowspan",g="table",_="thead",b="tbody",y="tr",w="td",k="th",x=i.Tool,C=i.InsertHtmlCommand,z=i.BlockFormatFinder,S=i.BlockFormatTool,T=i.FormatCommand,M=i.EditorUtils.registerTool,I=i.EditorUtils.registerFormat,H=t.ui.Editor.fn.options.formats,D=t.getTouches,E=t.template,A=({width:e,content:t})=>`<td style="width:${e}%;">${t}</td>`,V=new z([{tags:[g]}]),P=C.extend({init:function(t){var n=e.extend({postProcess:this.postProcess,skipCleaners:!0},t||{});C.fn.init.call(this,n)},_tableHtml:function(e,t){e=e||1,t=t||1;var n=E(A)({width:100/t,content:i.emptyTableCellContent}),o=100/e;return"<table class='k-table' data-last>"+new Array(e+1).join("<tr style='height:"+o+"%;'>"+new Array(t+1).join(n)+"</tr>")+"</table>"},postProcess:function(t,n){var i=e("table[data-last]",t.document).removeAttr("data-last");n.setStart(i.find(w)[0],0),n.collapse(!0),t.selectRange(n)},exec:function(){var e=this.options;e.html=this._tableHtml(e.rows,e.columns),C.fn.exec.call(this)}}),B=x.extend({initialize:function(t,n){var o=this,r=e("<button>"+n.options.messages.tableWizard+"</button>"),a=e(this.options.popupTemplate).appendTo("body").kendoPopup({anchor:t,copyAnchorStyles:!1,open:this._open.bind(this),activate:this._activate.bind(this),close:this._close.bind(this)}).data("kendoPopup");t.on("click",this._toggle.bind(this)).on("keydown",this._keydown.bind(this)),this._editor=n,this._popup=a,n.tablePopup=this._popup;var s=new i.TableWizardTool({command:i.TableWizardCommand,insertNewTable:!0});M("tableWizardInsert",s),r.appendTo(a.element),r.kendoButton({icon:"table-wizard"}),r.on("click",(()=>{o._editor.exec("tableWizardInsert")}))},popup:function(){return this._popup},_activate:e.noop,_open:function(){this._popup.options.anchor.addClass(l)},_close:function(){this._popup.options.anchor.removeClass(l)},_keydown:function(e){var n=this,i=t.keys,o=e.keyCode;o==i.ESC?n._popup.close():o==i.DOWN&&e.altKey?(n._popup.open(),n._setTableSize({row:1,col:1})):o===i.ENTER&&setTimeout((()=>{n._setTableSize({row:1,col:1})}))},_toggle:function(t){e(t.target).closest(".k-tool").hasClass("k-disabled")||this.popup().toggle()},update:function(e){var t=this.popup();t.wrapper&&"block"==t.wrapper.css("display")&&t.close(),e.removeClass("k-hover")},destroy:function(){this._popup&&this._popup.destroy()}}),F=B.extend({init:function(t){this.cols=8,this.rows=6,B.fn.init.call(this,e.extend(t,{command:P,popupTemplate:"<div class='k-ct-popup'><div>"+new Array(this.cols*this.rows+1).join("<span class='k-ct-cell k-disabled'></span>")+"</div><div class='k-status'></div></div>"}))},_activate:function(){var n,i,o=this,r=o._popup.element,a=r.find(".k-ct-cell"),l=a.eq(0),c=a.eq(a.length-1),d=t.getOffset(l),u=t.getOffset(c),h=o.cols,p=o.rows;function f(t){var o=e(window);return{row:Math.floor((t.clientY+o.scrollTop()-d.top)/i)+1,col:Math.floor((t.clientX+o.scrollLeft()-d.left)/n)+1}}r.find("*").addBack().attr("unselectable","on"),u.left+=c[0].offsetWidth,u.top+=c[0].offsetHeight,n=(u.left-d.left)/h,i=(u.top-d.top)/p,r.autoApplyNS(s).on("mousemove",".k-ct-cell",(function(e){o._setTableSize(f(e))})).on("mouseleave",".k-ct-cell",(function(){o._setTableSize()})).on("down",".k-ct-cell",(function(e){e.preventDefault();var t=D(e)[0];o._exec(f(t.location))}))},_valid:function(e){return e&&e.row>0&&e.col>0&&e.row<=this.rows&&e.col<=this.cols},_exec:function(e){this._valid(e)&&(this._editor.exec("createTable",{rows:e.row,columns:e.col}),this._popup.close())},_setTableSize:function(n){var i=this._popup.element,o=i.find(".k-status"),r=i.find(".k-ct-cell"),a=this.cols,s=this._editor.options.messages;this._valid(n)?(o.text(t.format(s.createTableHint,n.row,n.col)),r.each((function(t){e(this).toggleClass(c,t%a<n.col&&t/a<n.row)}))):(o.text(s.createTable),r.removeClass(c))},_keydown:function(e){var n=this._popup.visible();if(B.fn._keydown.call(this,e),this._popup.visible()){var i,o=t.keys,r=e.keyCode,a=this._popup.element.find(".k-ct-cell"),s=Math.max(a.filter(".k-selected").last().index(),0),l=Math.floor(s/this.cols),c=s%this.cols,d=!1;r!=o.DOWN||e.altKey?r==o.UP?(d=!0,l--):r==o.RIGHT?(d=!0,c++):r==o.LEFT?(d=!0,c--):r==o.TAB&&(i=this._popup.element.find(".k-button")).length>0&&(d=!0,i.trigger("focus")):(d=!0,l++);var u={row:Math.max(1,Math.min(this.rows,l+1)),col:Math.max(1,Math.min(this.cols,c+1))};r==o.ENTER&&n?this._exec(u):this._setTableSize(u),d&&(e.preventDefault(),e.stopImmediatePropagation())}},_open:function(){var e=this._editor.options.messages;B.fn._open.call(this),this.popup().element.find(".k-status").text(e.createTable).end().find(".k-ct-cell").removeClass(c)},_close:function(){B.fn._close.call(this),this.popup().element.off("."+s)}}),O=a.extend({undo:function(){var t=this.restorePoint;t.restoreHtml(),e(this.editor.body).find(".k-element-resize-handle-wrapper").each((function(e,t){t.remove()})),this.editor.selectRange(t.toRange())},_clearColIndexAttr:function(e){o.clearTableMappings(e,"col-index")},_mapColIndices:function(e){o.reMapTableColumns(e,"col-index")},_findRowSpanCell:function(t,n,i){for(var o,r,a=n;a>=0;a--)if(o=t.rows[a],(r=e(o).find("[col-index="+i+"]")).length)return r},_resetElementResizing:function(e){e._destroyResizings(),e._initializeColumnResizing(),e._initializeRowResizing(),e._initializeElementResizing()},_findNextTdInRow:function(e,t){for(var n,i=e.find("td:last-child"),o=parseInt(i.attr("col-index"),10)+i.prop("colSpan")-1,r=t;r<=o;r++)if((n=e.find("[col-index="+r+"]")).length)return n},_adjustColgroups:function(e,t){for(var n,i,r,a=t.getElementsByTagName(h),s=t.getElementsByTagName(f),l=e.cells,c=l.length;a.length>0;)a[0].remove();for(;s.length>0;)s[0].remove();for(n=c-1;n>=0;n--)(r=l[n]).getAttribute(d)===f?((i=o.createEmptyNode(this.editor.document,f)).setAttribute("span",r.getAttribute(m)),t.prepend(i)):t.prepend(o.createEmptyNode(this.editor.document,h))},_associateHeaderIds:function(t){o.clearTableMappings(t,"col-index"),o.reMapTableColumns(t,"col-index"),e(t).find("th, td").removeAttr("id headers"),o.associateWithIds(t)},_getNumberOfColumns:function(e){return o._getNumberOfColumns(e,"td, th")}}),L=O.extend({exec:function(){var t,n,r,a,s,l,c=this.lockRange(!0),h=o.closest(c.endContainer,[w,k]),f=o.closest(h,g),m=this.options.position||"after";if(!f||this.immutables()&&i.Immutables.immutableParent(h))this.releaseRange(c);else{this._mapColIndices(f),n=h.parentNode,s=o.findNodeIndex(n,!0),h.rowSpan>1&&"after"===m&&(n=f.rows[s+h.rowSpan-1]),t=this._getNumberOfColumns(f),a=n.cloneNode(!0),e(a).empty();for(var _=0;_<t;_+=r.prop("colSpan"))(r=e(n).find("[col-index="+_+"]")).length?r.prop("rowSpan")>1&&"after"===m&&r?r.attr(v,r.prop("rowSpan")+1):this._appendCell(a,r):(s=o.findNodeIndex(n,!0),(r=this._findRowSpanCell(n.parentElement,s,_)).closest(y).index()+r.prop("rowSpan")-1===s&&"after"===m?this._appendCell(a,r):r.attr(v,r.prop("rowSpan")+1)),(l=e(a).find("[col-index="+_+"]")).attr(d)!==p||l.attr(v)||l.attr(d,u);"before"==m?o.insertBefore(a,n):o.insertAfter(a,n),e(f).find("[headers]").length>0&&this._associateHeaderIds(f),this._clearColIndexAttr(f),this.releaseRange(c),this._resetElementResizing(this.editor)}},_appendCell:function(e,t){var n;(n=t.clone()).html(i.emptyTableCellContent),n.removeAttr(v),n.appendTo(e)}}),R=O.extend({exec:function(){var t,n,r,a,s=this.lockRange(!0),l=o.closest(s.endContainer,[w,k]),c=o.closest(l,g),u=c.getElementsByTagName(h),p=c.getElementsByTagName(f),v=c&&c.rows,_=this.options.position||"after";if(!l||this.immutables()&&i.Immutables.immutableParent(l))this.releaseRange(s);else{for(this._mapColIndices(c),t=parseInt(l.getAttribute("col-index"),10),l.colSpan>1&&"after"===_&&(l.setAttribute("col-index",t+l.colSpan-1),t=t+l.colSpan-1),n=0;n<v.length;n++)(r=this._processForColSpan(v[n],t,_,l))&&((a=r.cloneNode()).innerHTML=i.emptyTableCellContent,a.removeAttribute(m),a.getAttribute(d)&&a.getAttribute(d)===f&&a.setAttribute(d,h),"before"==_?o.insertBefore(a,r):o.insertAfter(a,r),this._resizeCells(a,r));(u.length>0||p.length>0)&&this._adjustColgroups(v[0],c),e(c).find("[headers]").length>0&&this._associateHeaderIds(c),this._clearColIndexAttr(c),this.releaseRange(s),this._resetElementResizing(this.editor)}},_processForColSpan:function(t,n,i,o){var r,a,s=n-1;if((r=e(t).find("[col-index="+n+"]")[0])&&r.colSpan>1&&"after"===i&&r!==o)r.colSpan+=1;else{if(r)return r;for(;s>=0&&!((r=e(t).find("[col-index="+s+"]")[0])&&r.colSpan>1);s--);if(r){if((a=parseInt(r.getAttribute("col-index"),10)+r.colSpan-1)===n&&"after"===i)return r;n<=a&&r.setAttribute(m,r.colSpan+1)}}},_resizeCells:function(e,t){var n,i,o,r=e.style.width;r&&(n=parseFloat(r),i=r.slice(n.toString().length),o=n/2+i,e.style.width=o,t.style.width=o)}}),N=O.extend({exec:function(){var t,n=this.lockRange(),a=r.mapAll(n,(function(t){return e(t).closest(y)[0]})),s=o.closest(n.endContainer,[w,k]),l=a[0],c=s?s.rowSpan:1,d=e(a[0]).index(),u=o.closest(l,g),h=l.parentElement;if(!u||this.immutables()&&i.Immutables.immutableParent(l))this.releaseRange(n);else{for(var p=0;p<c;p++)a.indexOf(h.rows[d+p])<0&&a.push(h.rows[d+p]);if(u.rows.length<=a.length)(t=o.next(u))&&!o.insignificant(t)||(t=o.prev(u)),t&&t.rows&&(t=t.rows[0].cells[0]),o.remove(u),this._resetElementResizing(this.editor);else if(h.rows.length<=a.length)(t=h.nextSibling)||(t=h.previousSibling),o.remove(h);else{this._mapColIndices(u);for(var f=0;f<a.length;f++)l=a[f],o.removeTextSiblings(l),t=(t=o.next(l)||o.prev(l)).cells[0],this._focusElement(n,t),t=null,this._handleRowSpanCells(u,l),o.remove(l);this._clearColIndexAttr(u)}e(u).find("[headers]").length>0?this._associateHeaderIds(u):o.is(h,_)&&e(u).find("[scope]").length>0&&this._adjustColgroups(h.rows[0],u),t&&this._focusElement(n,t),this._resetElementResizing(this.editor)}},_focusElement:function(e,t){e.setStart(t,0),e.collapse(!0),this.editor.selectRange(e)},_handleRowSpanCells:function(t,n){var i,r,a,s,l=o.findNodeIndex(n,!0),c=t.rows[0],d=c.cells[c.cells.length-1],u=parseInt(d.getAttribute("col-index"),10)+d.colSpan-1;for(i=0;i<=u;i+=r.prop("colSpan"))(r=e(n).find("[col-index="+i+"]")).length&&r.prop("rowSpan")>1&&(s=t.rows[l+1],(a=e(s).find("[col-index="+(i+1)+"]")).length?a.before(r):e(s).append(r),this._reduceRowSpan(r)),r.length||(r=this._findRowSpanCell(n.parentElement,l,i),this._reduceRowSpan(r))},_reduceRowSpan:function(e){var t=e.prop("rowSpan")-1;t<=1?(e.removeAttr(v),e.attr(d)===p&&e.attr(d,u)):e.attr(v,t)}}),U=O.extend({exec:function(){var t,n,r,a,s,l=this.lockRange(),c=o.closest(l.endContainer,[w,k]),d=o.closest(c,g),u=d&&d.rows,p=u&&u[0].cells.length,m=d.getElementsByTagName(h),v=d.getElementsByTagName(f);if(!c||this.immutables()&&i.Immutables.immutableParent(c))this.releaseRange(l);else{if(1==p||c.colSpan==p)(t=o.next(d))&&!o.insignificant(t)||(t=o.prev(d)),t&&t.rows&&(t=t.rows[0].cells[0]),o.remove(d),this._resetElementResizing(this.editor);else{for(o.removeTextSiblings(c),t=o.next(c)||o.prev(c),this._mapColIndices(d),n=parseInt(c.getAttribute("col-index"),10),s=0;s<c.colSpan;s++)for(r=0;r<u.length;r+=a.prop("rowSpan")||1)(a=e(u[r]).find("[col-index="+(n+s)+"]")).length&&a.prop("colSpan")<=1?a.remove():this._handleColSpanCells(u[r],n+s);this._clearColIndexAttr(d)}(m.length>0||v.length>0)&&this._adjustColgroups(u[0],d),e(d).find("[headers]").length>0&&this._associateHeaderIds(d),t&&(l.setStart(t,0),l.collapse(!0),this.editor.selectRange(l)),this._resetElementResizing(this.editor)}},_handleColSpanCells:function(t,n){var i=e(t).find("[col-index="+n+"]");if(i.length&&i.prop("colSpan")>1){var o=i.clone(!0);return i.after(o),this._reduceColSpan(o),o.attr("col-index",parseInt(i.attr("col-index"),10)+1),void i.remove()}for(var r=n;r>=0;r--)if((i=e(t).find("[col-index="+r+"]")).length)return this._reduceColSpan(i),void i.attr("col-index",parseInt(i.attr("col-index"),10)+1)},_reduceColSpan:function(e){var t=e.prop("colSpan")-1;t<=1?(e.removeAttr(m),e.attr(d)===f&&e.attr(d,h)):e.attr(m,t)}}),j=O.extend({exec:function(){var t,n,r,a,s,l=this.lockRange(),c=o.closest(l.endContainer,[w,k]);if(c)if(t=o.closest(c,g),n=c.parentNode,r=o.findNodeIndex(c,!0),n.children[r+1],this.immutables()&&i.Immutables.immutableParent(c))this.releaseRange(l);else{if(this._mapColIndices(t),r=parseInt(e(c).attr("col-index"),10),!(a=e(n).find("[col-index="+(r+1+this._getColspan(c)-1)+"]").get(0))||a.rowSpan!==c.rowSpan||c.tagName!==a.tagName)return this._clearColIndexAttr(t),void this.releaseRange(l);s=this._getColspan(c)+this._getColspan(a),e(c).prop(m,s).append(o.emptyNode(a)?"":"<br/>"+a.innerHTML),e(c).width(c.offsetWidth),e(a).remove(),c.getAttribute(d)===h&&c.setAttribute(d,f),c.getAttribute(d)===f&&this._adjustColgroups(n,t),e(t).find("[headers]").length>0&&this._associateHeaderIds(t),this._clearColIndexAttr(t),this.releaseRange(l),this._resetElementResizing(this.editor)}else this.releaseRange(l)},_getColspan:function(e){return parseInt(e.getAttribute(m),10)||1}}),W=O.extend({exec:function(){var t,n,r,a,s,l,c,h=this.lockRange(),f=o.closest(h.endContainer,[w,k]);if(f)if(t=o.closest(f,y),n=o.closest(f,[_,b]),r=o.closest(f,g),a=o.findNodeIndex(f,!0),(s=o.findNodeIndex(t,!0))+1!==n.rows.length)if((l=n.rows[s+this._getRowspan(f)])&&l.children[a],this.immutables()&&i.Immutables.immutableParent(f))this.releaseRange(h);else{if(this._mapColIndices(r),a=e(f).attr("col-index"),!(c=e(l).find("[col-index="+a+"]").get(0))||c.colSpan!==f.colSpan||f.tagName!==c.tagName)return this._clearColIndexAttr(r),void this.releaseRange(h);e(f).prop(v,this._getRowspan(f)+this._getRowspan(c)).append(o.emptyNode(c)?"":"<br/>"+c.innerHTML),f.getAttribute(d)===u&&f.setAttribute(d,p),e(c).remove(),e(r).find("[headers]").length>0&&this._associateHeaderIds(r),this._clearColIndexAttr(r),this.releaseRange(h)}else this.releaseRange(h);else this.releaseRange(h)},_getRowspan:function(e){return parseInt(e.getAttribute(v),10)||1}}),$=O.extend({exec:function(){var t=this.lockRange(),n=this.options.type,r="row"===n?m:v,a=o.closest(t.endContainer,[w,k]),s=o.closest(a,[_,b]),l=o.closest(a,g),c=o.createEmptyNode(this.editor.document,a.nodeName.toLowerCase());!a||this.immutables()&&i.Immutables.immutableParent(a)||(this._mapColIndices(l),"row"===n&&e(a).is("["+r+"]")?this._splitCellHorizontally(a,s,r,c):"column"===n&&e(a).is("["+r+"]")&&this._splitCellVertically(a,s,r,c),e(a).prop(r.toLowerCase())<=1&&e(a).removeAttr(r),e(l).find("[headers]").length>0&&this._associateHeaderIds(l),this._clearColIndexAttr(l)),this.releaseRange(t)},_getRowspanValue:function(e){return parseInt(e.getAttribute(v),10)},_getColspanValue:function(e){return parseInt(e.getAttribute(m),10)},_splitCellHorizontally:function(t,n,i,o){var r=t.rowSpan,a=t.colSpan,s=e(o),l=Math.floor(a/2);l>1&&s.attr(m,l),r>1&&s.attr(v,r),e(t).prop(i,a-l).after(s),e(t).width(t.offsetWidth),s.width(s[0].offsetWidth),t.hasAttribute(d)&&(t.getAttribute(d)===f?(s.attr(d,h),t.getAttribute(m)&&"1"!==t.getAttribute(m)||t.setAttribute(d,h),this._adjustColgroups(t.parentNode,n.parentNode)):s.attr(d,t.getAttribute(d)))},_splitCellVertically:function(t,n,i,r){var a=o.closest(t,y),s=parseInt(e(t).attr("col-index"),10),l=o.findNodeIndex(a,!0),c=t.rowSpan,h=t.colSpan,f=Math.floor(c/2),g=e(n).find(y).eq(l+c-f),_=this._findNextTdInRow(g,s+h),b=e(r);f>1&&b.attr(v,f),h>1&&b.attr(m,h),_&&_.length?_.before(b):g.append(b),e(t).prop(i,c-f),t.hasAttribute(d)&&(t.getAttribute(d)===p?(b.attr(d,u),t.getAttribute(v)&&"1"!==t.getAttribute(v)||t.setAttribute(d,u)):b.attr(d,t.getAttribute(d)))}}),q=x.extend({command:function(e){var t={row:{insert:L,delete:N,merge:j,split:$},column:{insert:R,delete:U,merge:W,split:$}};return(e=n(e,this.options)).action=e.action||"insert",new t[e.type][e.action](e)},update:function(e,t){var n=!V.isFormatted(t),i=e.closest(".k-toolbar").getKendoToolBar();!0===n?i.hide(e):i.show(e)}}),G=T.extend({exec:function(){var e=this.editor;T.fn.exec.call(this),e.elementResizing&&e.elementResizing._showResizeHandles()}}),K=S.extend({update:function(e,t){var n=!V.isFormatted(t),i=this.options.finder.isFormatted(t,this.isTable),o=e.closest(".k-toolbar").getKendoToolBar();o&&o.toggle(e,i),!0===n?o.hide(e):o.show(e)},command:function(e){return new G(n(e,{formatter:this.options.formatter}))},isTable:function(e){return o.is(e,"table")}});n(t.ui.editor,{PopupTool:B,TableCommand:P,InsertTableTool:F,TableFormatTool:K,TableFormatCommand:G,TableModificationTool:q,InsertRowCommand:L,InsertColumnCommand:R,DeleteRowCommand:N,DeleteColumnCommand:U,MergeCellsHorizontallyCommand:j,MergeCellsVerticallyCommand:W,SplitCellCommand:$}),M("createTable",new F({ui:{popup:!0,overflow:"never"}})),M("addColumnLeft",new q({type:"column",position:"before"})),M("addColumnRight",new q({type:"column"})),M("addRowAbove",new q({type:"row",position:"before"})),M("addRowBelow",new q({type:"row"})),M("deleteRow",new q({type:"row",action:"delete"})),M("deleteColumn",new q({type:"column",action:"delete"})),M("mergeCellsHorizontally",new q({type:"row",action:"merge"})),M("mergeCellsVertically",new q({type:"column",action:"merge"})),M("splitCellHorizontally",new q({type:"row",action:"split"})),M("splitCellVertically",new q({type:"column",action:"split"})),I("tableAlignLeft",[{tags:["table"],attr:{style:{marginLeft:"",marginRight:"auto"}}},{tags:["table"],attr:{align:"left"}}]),M("tableAlignLeft",new K({format:H.tableAlignLeft,ui:{togglable:!0,group:"tableAlign"}})),I("tableAlignCenter",[{tags:["table"],attr:{style:{marginLeft:"auto",marginRight:"auto"}}},{tags:["table"],attr:{align:"center"}}]),M("tableAlignCenter",new K({format:H.tableAlignCenter,ui:{togglable:!0,group:"tableAlign"}})),I("tableAlignRight",[{tags:["table"],attr:{style:{marginLeft:"auto",marginRight:""}}},{tags:["table"],attr:{align:"right"}}]),M("tableAlignRight",new K({format:H.tableAlignRight,ui:{togglable:!0,group:"tableAlign"}}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=t.ui.editor,o=i.RangeUtils,r=i.Dom,a=i.RestorePoint,s=i.Marker,l=t.support.browser,c=e.extend,d=n.extend({init:function(e){this.editor=e;var t=e.options.pasteCleanup;this.nonSplittableTagsOnPaste=e.options.nonSplittableTagsOnPaste||[],this.cleaners=[new h(t),new p(t),new f(t),new m(t),new g(t),new _(t),new k(t),new x(t)]},htmlToFragment:function(e){var t=this.editor.document,n=r.create(t,"div"),i=t.createDocumentFragment();for(n.innerHTML=e;n.firstChild;)i.appendChild(n.firstChild);return i},isBlock:function(e){return/<(div|p|ul|ol|table|h[1-6])/i.test(e)},_startModification:function(){var e,t,n=this.editor;if(!this._inProgress)return this._inProgress=!0,e=n.getRange(),t=new a(e,n.body),r.persistScrollTop(n.document),{range:e,restorePoint:t}},_endModification:function(e){i._finishUpdate(this.editor,e.restorePoint),this.editor._selectionChange(),this._inProgress=!1},_contentModification:function(e,t){var n=this,i=n.editor,o=n._startModification();o&&(e.call(n,i,o.range),setTimeout((function(){t.call(n,i,o.range),n._endModification(o)})))},_removeBomNodes:function(e){for(var t=o.textNodes(e),n=0;n<t.length;n++)t[n].nodeValue=r.stripBom(t[n].nodeValue)||t[n].nodeValue},_onBeforeCopy:function(e){var t=new s;t.add(e),this._removeBomNodes(e),t.remove(e),this.editor.selectRange(e)},oncopy:function(){this._onBeforeCopy(this.editor.getRange())},oncut:function(){this._onBeforeCopy(this.editor.getRange()),this._contentModification(e.noop,e.noop)},_fileToDataURL:function(t){var n=e.Deferred(),i=new FileReader;return t instanceof window.File||!t.getAsFile||(t=t.getAsFile()),i.onload=n.resolve.bind(n),i.readAsDataURL(t),n.promise()},_triggerPaste:function(e,t){var n={html:e||""};n.html=n.html.replace(/\ufeff/g,""),this.editor.trigger("paste",n),this.paste(n.html,t||{})},_handleImagePaste:function(e){if("FileReader"in window&&!(l.msie&&l.version>10)){var t=e.clipboardData||e.originalEvent.clipboardData||window.clipboardData||{},n=t.items||t.files;return this._insertImages(n)}},_insertImages:function(t){if(t){var n=e.grep(t,(function(e){return/^image\//i.test(e.type)}));if(!e.grep(t,(function(e){return/^text\/html/i.test(e.type)})).length&&n.length){var i=this._startModification();if(i)return e.when.apply(e,e.map(n,this._fileToDataURL)).done(function(){var t=Array.prototype.slice.call(arguments),n=e.map(t,(function(e){return'<img src="'+e.target.result+'" />'})).join("");this._triggerPaste(n),this._endModification(i)}.bind(this)),!0}}},onpaste:function(n){"false"!==this.editor.body.contentEditable&&(this._handleImagePaste(n)?n.preventDefault():(this.expandImmutablesIn(),this._contentModification((function(i,o){var a=r.create(i.document,"div",{className:"k-paste-container",innerHTML:"\ufeff"}),s=t.support.browser,l=i.body;if(this._decoreateClipboardNode(a,l),l.appendChild(a),s.webkit&&this._moveToCaretPosition(a,o),s.msie&&s.version<11){n.preventDefault();var c=i.createRange();c.selectNodeContents(a),i.selectRange(c);var d=i.document.body.createTextRange();d.moveToElementText(a),e(l).off("paste"),d.execCommand("Paste"),e(l).on("paste",this.onpaste.bind(this))}else{var u=i.createRange();u.selectNodeContents(a),i.selectRange(u)}o.deleteContents()}),(function(t,n){var i,o="";t.selectRange(n),(i=e(t.body).children(".k-paste-container")).each((function(){var e=this.lastChild;e&&r.is(e,"br")&&r.remove(e),o+=this.innerHTML})),i.remove(),this._triggerPaste(o,{clean:!0})}))))},ondragover:function(e){(l.msie||l.edge)&&(e.stopPropagation(),e.preventDefault())},ondrop:function(e){if("FileReader"in window){var t=(e.originalEvent||e).dataTransfer||{},n=t.items||t.files;this._insertImages(n)&&e.preventDefault()}},_decoreateClipboardNode:function(t,n){if((l.msie||l.webkit)&&((t=e(t)).css({borderWidth:"0px",width:"0px",height:"0px",overflow:"hidden",margin:"0",padding:"0"}),l.msie)){var i=e(n.ownerDocument.documentElement);t.css({fontVariant:"normal",fontWeight:"normal",lineSpacing:"normal",lineHeight:"normal",textDecoration:"none"});var o=i.css("color");o&&t.css("color",o);var r=i.css("fontFamily");r&&t.css("fontFamily",r);var a=i.css("fontSize");a&&t.css("fontSize",a)}},_moveToCaretPosition:function(t,n){var i=this.editor.body,o=r.offset(t,i),a=this._caretOffset(n,i),s="translate("+(a.left-o.left)+"px,"+(a.top-o.top)+"px)";e(t).css({"-webkit-transform":s,transform:s})},_caretOffset:function(e,t){var n,i=this.editor,o=r.create(i.document,"span",{innerHTML:"\ufeff"}),a=e.startContainer;if(e.collapsed){var s=r.isDataNode(a);s&&(r.isBom(a)||0===e.startOffset)?r.insertBefore(o,a):s&&e.startOffset===a.length?r.insertAfter(o,a):(e.insertNode(o),n=!0)}else a=a===t?a.childNodes[e.startOffset]:a,r.insertBefore(o,a);var l=r.offset(o,t),c=o.previousSibling,d=o.nextSibling;if(r.remove(o),n&&r.isDataNode(c)&&r.isDataNode(d)&&!r.isBom(c)&&!r.isBom(d)){var u=c.length;d.data=c.data+d.data,e.setStart(d,u),r.remove(c),e.collapse(!0),i.selectRange(e)}return l},expandImmutablesIn:function(e){var n=this.editor;if(n&&n.options.immutables){var i=n.body;if(e=e||n.getRange(),t.ui.editor.Immutables.expandImmutablesIn(e),e.startContainer===i&&0===e.startOffset){var o=i.ownerDocument.createTextNode("\ufeff");i.insertBefore(o,i.childNodes[0]),e.setStartBefore(o)}n.selectRange(e)}},splittableParent:function(e,t){var n,i;if(e)return r.closestEditableOfType(t,["p","ul","ol"])||t.parentNode;if(n=t.parentNode,i=t.ownerDocument.body,r.isInline(n))for(;n.parentNode!=i&&!r.isBlock(n.parentNode);)n=n.parentNode;return n},paste:function(t,n){var i,a,l,d,u=this.editor,h=this.nonSplittableTagsOnPaste,p=!1,f=!1;if(this.expandImmutablesIn(),!(n=c({clean:!1,split:!0},n)).skipCleaners)for(i=0,a=this.cleaners.length;i<a;i++)this.cleaners[i].applicable(t)&&(t=this.cleaners[i].clean(t));n.clean&&(t=(t=t.replace(/(<br>(\s| )*)+(<\/?(div|p|li|col|t))/gi,"$3")).replace(/<(a|span)[^>]*><\/\1>/gi,"")),t=(t=t.replace(/<(a|span|font)([^>]*)> <\/\1>/gi,"<$1$2> </$1>")).replace(/^<li/i,"<ul><li").replace(/li>$/g,"li></ul>");var m=this.isBlock(t);u.focus();var v=u.getRange();v.deleteContents(),v.startContainer==u.document&&v.selectNodeContents(u.body);var g=new s,_=g.addCaret(v),b=this.splittableParent(m,_),y=!1;for(i=0;i<h.length;i++){const e=h[i],t=e.tag||e;if(r.is(b,t)){p=!0,f=!1!==e.unwrap;break}}var w=b!=u.body&&!r.is(b,"td")&&!p;n.split&&w&&(m||r.isInline(b))&&(v.selectNode(_),o.split(v,b,!0),y=!0);var k=this.htmlToFragment(t);if(k.firstChild&&"k-paste-container"===k.firstChild.className){var x=[];for(i=0,a=k.childNodes.length;i<a;i++)x.push(k.childNodes[i].innerHTML);k=this.htmlToFragment(x.join("<br />"))}if(l=k.childNodes,f&&(d=r.list(l[0]),r.unwrap(l[0]),d&&v.selectNode(_.parentNode)),e(l).filter("table").addClass("k-table").end().find("table").addClass("k-table"),e(l).each((function(e,t){r.isBlock(t)&&!r.isSelfClosing(t)&&""===t.innerHTML&&t.appendChild(u.document.createTextNode("\ufeff"))})),v.insertNode(k),b=this.splittableParent(m,_),y){for(;_.parentNode!=b;)r.unwrap(_.parentNode);r.unwrap(_.parentNode)}r.normalize(v.commonAncestorContainer),_.style.display="inline",r.restoreScrollTop(u.document),r.scrollTo(_),g.removeCaret(v);var C=v.commonAncestorContainer.parentNode;(v.collapsed&&"tbody"==r.name(C)||v.collapsed&&"thead"==r.name(C))&&(v.setStartAfter(e(C).closest("table")[0]),v.collapse(!0));var z=e(v.commonAncestorContainer.parentNode).closest("table");if(z.get(0)){for(var S=z.parent().contents(),T=S.length-1,M=S.get(T);null!==M.nodeValue&&(" "===M.nodeValue||""===M.nodeValue);)T-=1,M=S.get(T);M!==z.get(0)||z.parents("table").length||r.insertAfter(r.createEmptyNode(u.document,"p"),z[0])}u._handleSpaceAndNewLines(),u.selectRange(v)}}),u=n.extend({init:function(e){this.options=e||{},this.replacements=[]},clean:function(e,t){var n,i,o=t||this.replacements;for(n=0,i=o.length;n<i;n+=2)e=e.replace(o[n],o[n+1]);return e}}),h=u.extend({init:function(e){u.fn.init.call(this,e),this.replacements=[/<(\/?)script([^>]*)>/i,"<$1telerik:script$2>"]},applicable:function(e){return!this.options.none&&/<script[^>]*>/i.test(e)}}),p=u.extend({init:function(e){u.fn.init.call(this,e);this.replacements=[/<span\s+class="Apple-tab-span"[^>]*>\s*<\/span>/gi," ",/\t/gi," ",/ /gi," "]},applicable:function(e){return/ |class="?Apple-tab-span/i.test(e)}}),f=u.extend({init:function(e){u.fn.init.call(this,e),this.junkReplacements=[/<\?xml[^>]*>/gi,"",/<!--(.|\n)*?-->/g,"",/"/g,"'",/<o:p> <\/o:p>/gi," ",/<\/?(meta|link|style|o:|v:|x:)[^>]*>((?:.|\n)*?<\/(meta|link|style|o:|v:|x:)[^>]*>)?/gi,"",/<\/o>/g,""],this.replacements=this.junkReplacements.concat([/(?:<br> [\s\r\n]+|<br>)*(<\/?(h[1-6]|hr|p|div|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|address|pre|form|blockquote|dl|dt|dd|dir|fieldset)[^>]*>)(?:<br> [\s\r\n]+|<br>)*/g,"$1",/<br><br>/g,"<BR><BR>",/<br>\n/g,"<br/>",/<br>(?!\n)/g," ",/<table([^>]*)>(\s| )+<t/gi,"<table$1><t",/<tr[^>]*>(\s| )*<\/tr>/gi,"",/<tbody[^>]*>(\s| )*<\/tbody>/gi,"",/<table[^>]*>(\s| )*<\/table>/gi,"",/<BR><BR>/g,"<br>",/^\s*( )+/gi,"",/( |<br[^>]*>)+\s*$/gi,"",/mso-[^;"]*;?/gi,"",/<(\/?)b(\s[^>]*)?>/gi,"<$1strong$2>",/<(\/?)font(\s[^>]*)?>/gi,this.convertFontMatch,/<(\/?)i(\s[^>]*)?>/gi,"<$1em$2>",/style=(["|'])\s*\1/g,"",/(<br[^>]*>)?\n/g,function(e,t){return t?e:" "}])},convertFontMatch:function(e,t,n){var i=/face=['"]([^'"]+)['"]/i.exec(n),o=n&&i&&i[1];return t?"</span>":o?'<span style="font-family:'+o+'">':"<span>"},applicable:function(e){return/class="?Mso/i.test(e)||/style="[^"]*mso-/i.test(e)||/urn:schemas-microsoft-com:office/.test(e)},stripEmptyAnchors:function(e){return e.replace(/<a([^>]*)>\s*<\/a>/gi,(function(e,t){return!t||t.indexOf("href")<0?"":e}))},listType:function(e,t){var n,i=e.innerHTML,o=r.innerText(e),a=i.match(/^(?:<span [^>]*texhtml[^>]*>)?<span [^>]*(?:Symbol|Wingdings)[^>]*>([^<]+)/i),s=a&&a[1],l=/^[a-z\d]/i.test(s),c=function(e){return e.replace(/^(?: |[\u00a0\n\r\s])+/,"")};return a&&(n=!0),i=i.replace(/<\/?\w+[^>]*>/g,"").replace(/ /g," "),!n&&/^[\u2022\u00b7\u00a7\u00d8o]\u00a0+/.test(i)||n&&/^.\u00a0+/.test(i)||s&&!l&&t?{tag:"ul",style:this._guessUnorderedListStyle(c(o))}:/^\s*\w+[\.\)][\u00a0 ]{2,}/.test(i)?{tag:"ol",style:this._guessOrderedListStyle(c(o))}:void 0},_convertToLi:function(e){var t;return 1==e.childNodes.length?(t=e.firstChild.nodeType===r.nodeTypes.TEXT_NODE?r.innerText(e):e.firstChild.innerHTML.replace(/^\w+[\.\)]( )+ /,""),t=this._checkForBullet(t)):t=this._getHtmlNoBullet(e),r.remove(e),r.create(document,"li",{innerHTML:t})},_checkForBullet:function(e){var t=r.create(document,"p",{innerHTML:e});return/^\s*\w+[\.\)]\s+/.test(t.innerText)?this._getHtmlNoBullet(t):e},_getHtmlNoBullet:function(e){var t=r.name(e);return r.remove(e.firstChild),3==e.firstChild.nodeType&&/^[ivxlcdm]+\.$/i.test(e.firstChild.nodeValue)&&r.remove(e.firstChild),/^( |\s)+$/i.test(e.firstChild.innerHTML)&&r.remove(e.firstChild),"p"!=t?"<"+t+">"+e.innerHTML+"</"+t+">":e.innerHTML},_guessUnorderedListStyle:function(e){return/^[\u2022\u00b7\u00FC\u00D8\u002dv-]/.test(e)?null:/^o/.test(e)?"circle":"square"},_guessOrderedListStyle:function(e){var t=null;return/^\d/.test(e)||(t=(/^[a-z]/.test(e)?"lower-":"upper-")+(/^[ivxlcdm]/i.test(e)?"roman":"alpha")),t},extractListLevels:function(e){return e=e.replace(/style=['"]?[^'"]*?mso-list:\s?[a-zA-Z]+(\d+)\s[a-zA-Z]+(\d+)\s(\w+)/gi,(function(e,n,i){return t.format('data-list="{0}" data-level="{1}" {2}',n,i,e)}))},_createList:function(e,t){return r.create(document,e,{style:{listStyleType:t}})},lists:function(t){var n,i,o,a,s,c,d,u,h,p,f,m,v,g=e(t).find(r.blockElements.join(",")),_=-1,b={},y=["p","h1","h2","h3","h4","h5","h6"];for(u=0;u<g.length;u++){h=g[u];var w=(v=e(h).data()).list;if(n=r.name(h),!!!e(h).parents("table").length){var k=this.listType(h,v);if(!(p=k&&k.tag)||y.indexOf(n)<0)h.innerHTML?i&&!c&&i.appendChild(h):r.remove(h);else if(!l.msie){var x=p+w;b[f=v.level||parseFloat(h.style.marginLeft||0)]||(b[f]={}),(!o||o<0)&&(o=f,a=w,s=e(t).find("[data-list='"+a+"']").last()[0],d=this._createList(p,k.style),r.insertBefore(d,h),_=f,b[f][x]=d),c=s===h,m=b[f][x],(f>_||!m)&&(m=this._createList(p,k.style),b[f][x]=m,i.appendChild(m)),i=this._convertToLi(h),m.appendChild(i),c?o=_=-1:_=f}}}},removeAttributes:function(e){for(var t,n=e.attributes,i=n.length,o=[],a=function(e){(function(e){return["border","background","padding"].filter((function(t){return 0===e.trim().indexOf(t)})).length>0})(e)&&o.push(e.trim())};i--;)"colspan"!=r.name(n[i])&&("style"!==(t=n[i]).name||"TD"!==e.nodeName&&"TH"!==e.nodeName||t.value.split(";").forEach(a),e.removeAttributeNode(n[i]));o.length>0&&e.setAttribute("style",o.join(";"))},createColGroup:function(n){var i=n.cells,o=e(n).closest("table"),r=o.children("colgroup");i.length<2||(r.length&&(i=r.children(),r[0].parentNode.removeChild(r[0])),(r=e(e.map(i,(function(e){var n=e.width;return n&&0!==parseInt(n,10)?t.format('<col style="width:{0}px;"/>',n):"<col />"})).join(""))).is("colgroup")||(r=e("<colgroup/>").append(r)),r.prependTo(o))},convertHeaders:function(t){var n,i=t.cells,o=e.map(i,(function(t){var n=e(t).children("p").children("strong")[0];if(n&&"strong"==r.name(n))return n}));if(o.length==i.length){for(n=0;n<o.length;n++)r.unwrap(o[n]);for(e(t).closest("table").find("colgroup").after("<thead></thead>").end().find("thead").append(t),n=0;n<i.length;n++)r.changeTag(i[n],"th")}},removeParagraphs:function(t){var n,i,o,a;for(n=0;n<t.length;n++)for(this.removeAttributes(t[n]),i=0,o=(a=e(t[n]).children("p")).length;i<o;i++)i<o-1&&r.insertAfter(r.create(document,"br"),a[i]),r.unwrap(a[i])},removeTextNodes:function(e){var t,n,i,o,a;for(t=0;t<e.length;t++)for(i=(a=e[t]).childNodes,n=0;n<i.length;n++)(o=i[n]).nodeType===r.nodeTypes.TEXT_NODE&&a.removeChild(o)},tables:function(t){var n,i,o,r,a,s=e(t).find("table"),l=this;for(r=0;r<s.length;r++){for(o=i=(n=s[r].rows)[0],a=1;a<n.length;a++)n[a].cells.length>o.cells.length&&(o=n[a]);l.createColGroup(o),l.convertHeaders(i),l.removeAttributes(s[r]),l.removeParagraphs(s.eq(r).find("td,th")),l.removeTextNodes(s.eq(r).find("tr"))}},headers:function(t){for(var n=e(t).find("p.MsoTitle"),i=0;i<n.length;i++)r.changeTag(n[i],"h1")},removeFormatting:function(t){e(t).find("*").each((function(){e(this).css({fontSize:"",fontFamily:""}),this.getAttribute("style")||this.style.cssText||this.removeAttribute("style")}))},clean:function(e){var t,n=this,i=this.options;return i.none?(e=u.fn.clean.call(n,e,this.junkReplacements),e=n.stripEmptyAnchors(e)):(e=i.msConvertLists?this.extractListLevels(e):e,e=u.fn.clean.call(n,e),e=n.stripEmptyAnchors(e),t=r.create(document,"div",{innerHTML:e}),n.headers(t),i.msConvertLists&&n.lists(t),n.tables(t),i.msAllFormatting&&n.removeFormatting(t),e=t.innerHTML.replace(/(<[^>]*)\s+class="?[^"\s>]*"?/gi,"$1")),e}}),m=u.extend({init:function(e){u.fn.init.call(this,e),this.replacements=[/\s+class="Apple-style-span[^"]*"/gi,"",/<(div|p|h[1-6])\s+style="[^"]*"/gi,"<$1",/^<div>(.*)<\/div>$/,"$1"]},applicable:function(e){return/class="?Apple-style-span|style="[^"]*-webkit-nbsp-mode/i.test(e)}}),v=u.extend({clean:function(e){var t=r.create(document,"div",{innerHTML:e});return(t=this.cleanDom(t)).innerHTML},cleanDom:function(e){return e}}),g=v.extend({cleanDom:function(t){var n=this.collectTags();return e(t).find(n).each((function(){r.unwrap(this)})),t},collectTags:function(){if(this.options.span)return"span"},applicable:function(){return this.options.span}}),_=v.extend({cleanDom:function(t){var n=this.collectAttr();return e(t).find("["+n.join("],[")+"]").removeAttr(n.join(" ")),t},collectAttr:function(){return this.options.css?["class","style"]:[]},applicable:function(){return this.options.css}}),b=function(){this.text="",this.add=function(e){this.text+=e}},y=n.extend({init:function(e){this.separators=e||{text:" ",line:"<br/>"},this.lines=[],this.inlineBlockText=[],this.resetLine()},appendText:function(e){3===e.nodeType&&(e=e.nodeValue),this.textContainer.add(e)},appendInlineBlockText:function(e){this.inlineBlockText.push(e)},flashInlineBlockText:function(){this.inlineBlockText.length&&(this.appendText(this.inlineBlockText.join(" ")),this.inlineBlockText=[])},endLine:function(){this.flashInlineBlockText(),this.resetLine()},html:function(){var e=this.separators,t="",n=this.lines;this.flashInlineBlockText();for(var i=0,o=n.length,r=o-1;i<o;i++){for(var a=n[i],s=0,l=a.length,c=l-1;s<l;s++){t+=a[s].text,s!==c&&(t+=e.text)}i!==r&&(t+=e.line)}return t},resetLine:function(){this.textContainer=new b,this.line=[],this.line.push(this.textContainer),this.lines.push(this.line)}}),w=n.extend({init:function(e){this.callback=e},enumerate:function(e){if(e){var t=this.callback(e),n=e.firstChild;!t&&n&&this.enumerate(n),this.enumerate(e.nextSibling)}}}),k=u.extend({init:function(e){u.fn.init.call(this,e),this.hasText=!1,this.enumerator=new w(this.buildText.bind(this))},clean:function(e){var t=r.create(document,"div",{innerHTML:e});return this.cleanDom(t)},cleanDom:function(e){return this.separators=this.getDefaultSeparators(),this.htmlLines=new y(this.separators),this.enumerator.enumerate(e.firstChild),this.hasText=!1,this.htmlLines.html()},buildText:function(e){if(r.isDataNode(e)){if(r.isEmptyspace(e))return;this.htmlLines.appendText(e.nodeValue.replace("\n",this.separators.line)),this.hasText=!0}else{if(r.isBlock(e)&&this.hasText)return(this.actions[r.name(e)]||this.actions.block)(this,e);r.isBr(e)&&this.htmlLines.appendText(this.separators.line)}},applicable:function(){var e=this.options;return e.all||e.keepNewLines},getDefaultSeparators:function(){return this.options.all?{text:" ",line:" "}:{text:" ",line:"<br/>"}},actions:{ul:e.noop,ol:e.noop,table:e.noop,thead:e.noop,tbody:e.noop,td:function(e,t){var n=new k({all:!0}).cleanDom(t);return e.htmlLines.appendInlineBlockText(n),!0},block:function(e){e.htmlLines.endLine()}}}),x=u.extend({clean:function(e){return this.options.custom(e)},applicable:function(){return"function"==typeof this.options.custom}});c(i,{Clipboard:d,Cleaner:u,ScriptCleaner:h,TabCleaner:p,MSWordFormatCleaner:f,WebkitFormatCleaner:m,HtmlTagsCleaner:g,HtmlAttrCleaner:_,HtmlContentCleaner:k,HtmlTextLines:y,CustomCleaner:x})}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=t.ui.editor,o=i.RangeUtils,r=i.Dom,a=i.RestorePoint,s=i.Marker,l=t.support.browser,c="<span class='k-br'>\ufeff</span>",d=e.extend,u=r.nodeTypes,h="previousSibling";function p(e,t,n){for(var i=e?e[t]:null;i&&!n(i);)i=i[t];return i}var f="td,th,caption",m="table,tbody,thead,tfoot,tr",v=m+","+f,g=function(t){return!t.collapsed&&e(t.commonAncestorContainer).is(m)},_=n.extend({remove:function(t){var n=new s;n.add(t,!1);var i=o.getAll(t,(function(t){return e(t).is(v)})),a=o.documentFromRange(t),l=n.start,c=n.end,d=f.split(","),u=r.parentOfType(l,d),h=r.parentOfType(c,d);this._removeContent(l,u,!0),this._removeContent(c,h,!1),e(i).each((function(t,n){((n=e(n)).is(f)?n:n.find(f)).each((function(e,t){t.innerHTML=""}))})),u&&!l.previousSibling&&r.insertBefore(a.createTextNode("\ufeff"),l),h&&!c.nextSibling&&r.insertAfter(a.createTextNode("\ufeff"),c),u?t.setStartBefore(l):i[0]&&(u=(u=e(i[0])).is(f)?u:u.find(f).first()).length&&t.setStart(u.get(0),0),t.collapse(!0),r.remove(l),r.remove(c)},_removeContent:function(t,n,i){if(n){var o,a=i?"nextSibling":"previousSibling",s=function(t){for(;t&&!t[a];)t=t.parentNode;return t&&e.contains(n,t)?t[a]:null};for(t=s(t);t;)o=s(t),r.remove(t),t=o}}}),b=n.extend({init:function(e){this.editor=e},keydown:function(t){var n=this,o=n.editor,r=o.keyboard,s=r.isTypingKey(t),c=d(e.Event(),t);if(n.editor.trigger("keydown",c),c.isDefaultPrevented()||t&&t.isDefaultPrevented())return t.preventDefault(),!0;if(!c.isDefaultPrevented()&&s&&!r.isTypingInProgress()){var u=o.getRange(),h=o.body;if(n.startRestorePoint=new a(u,h),g(u))new _(o).remove(u),o.selectRange(u);if(l.webkit&&!u.collapsed&&function(e,t){return t.startContainer===e&&t.endContainer===e&&0===t.startOffset&&t.endOffset==e.childNodes.length}(h,u)&&(h.innerHTML=""),o.immutables&&i.Immutables.immutablesContext(u))new i.BackspaceHandler(o).deleteSelection(u);return r.startTyping((function(){n._removeBomSpan(),n.endRestorePoint=i._finishUpdate(o,n.startRestorePoint)})),!0}return!1},keyup:function(e){var t=this.editor.keyboard;return this.editor.trigger("keyup",e),!!t.isTypingInProgress()&&(t.endTyping(),!0)},_removeBomSpan:function(){var e=this.editor.getRange().commonAncestorContainer;r.emptyNode(e)||(3===e.nodeType&&(e=e.parentNode),r.insignificant(e)&&(e.textContent=r.stripBom(e.textContent),r.unwrap(e)))}}),y=n.extend({init:function(e){this.editor=e},_addCaret:function(e){var n=r.create(this.editor.document,"a");return!t.support.browser.chrome&&e.firstChild&&e.firstChild.nodeType===u.ELEMENT_NODE&&(e=e.firstChild),r.insertAt(e,n,0),r.stripBomNode(n.previousSibling),r.stripBomNode(n.nextSibling),n},_restoreCaret:function(e){var t=this.editor.createRange();!e.nextSibling&&r.isDataNode(e.previousSibling)?t.setStart(e.previousSibling,e.previousSibling.length):t.setStartAfter(e),t.collapse(!0),this.editor.selectRange(t),r.remove(e)},_handleDelete:function(e){var t=e.endContainer,n=r.closestEditableOfType(t,r.blockElements);if(n&&i.RangeUtils.isEndOf(e,n)){var o=r.next(n);if(!o||"p"!=r.name(o))return!1;var a=r.significantChildNodes(o)[0];a=a&&r.isInline(a)?a:o;var s=this._addCaret(a);return this._merge(n,o),this._restoreCaret(s),!0}return!1},_cleanBomBefore:function(e){for(var t=e.startOffset,n=e.startContainer,i=n.nodeValue,o=0;t-o>=0&&"\ufeff"==i[t-o-1];)o++;o>0&&(n.deleteData(t-o,o),e.setStart(n,Math.max(0,t-o)),e.collapse(!0),this.editor.selectRange(e))},_handleBackspace:function(t){var n,o=t.startContainer,a=r.closestEditableOfType(o,["li"]),s=r.closestEditableOfType(o,"p,h1,h2,h3,h4,h5,h6".split(",")),l=this.editor;if(r.isDataNode(o)){if(t.collapsed&&/^\s[\ufeff]+$/.test(o.nodeValue))return t.setStart(o,0),t.setEnd(o,o.length),l.selectRange(t),!1;this._cleanBomBefore(t)}n=p(s,h,(function(e){return!r.htmlIndentSpace(e)})),t.collapsed&&t.startOffset!==t.endOffset&&t.startOffset<0&&(t.startOffset=0,t.endOffset=0,l.selectRange(t));var c=a&&i.RangeUtils.isStartOf(t,a),d=a&&e(a).index(),u=c&&d>0;if(u&&(s=a,n=r.prev(a)),s&&n&&r.is(n,"table")&&i.RangeUtils.isStartOf(t,s))return""===s.innerText&&(s.innerHTML="\ufeff"),!0;if(i.RangeUtils.isStartOf(t,s)&&parseInt(s.style.marginLeft,10)>0)return l.exec("outdent"),!0;if(s&&n&&i.RangeUtils.isStartOf(t,s)||u){var f=r.significantChildNodes(s)[0];f=f&&r.isInline(f)&&!r.isImg(f)?f:s;var m=this._addCaret(f);return this._merge(n,s),this._restoreCaret(m),!0}if(c&&0===d){var v=a.firstChild;v||(a.innerHTML=i.emptyElementContent,v=a.firstChild);var g=new i.ListFormatter(r.name(a.parentNode),"p");return t.selectNodeContents(a),g.toggle(t),r.insignificant(v)?t.setStartBefore(v):t.setStart(v,0),l.selectRange(t),!0}var _=o.childNodes[t.startOffset-1],b=t,y=_&&r.closestEditableOfType(_,["a"]),w=p(_||o,h,(function(e){return!r.isDataNode(e)||!r.isBom(e)&&e.length>0}));if((y||(0===t.startOffset||_)&&r.is(w,"a"))&&(y=y||w,(b=l.createRange()).setStart(y,y.childNodes.length),b.collapse(!0)),(y=y||r.closestEditableOfType(_||b.startContainer,["a"]))&&i.RangeUtils.isEndOf(b,y)){var k=new i.UnlinkCommand({range:b,body:l.body,immutables:!!l.immutables});l.execCommand(k),l._selectionChange()}return!1},_handleSelection:function(t){var n,o=t.commonAncestorContainer,a=r.closest(o,"table"),l=i.emptyElementContent,c=this.editor;if(g(t))return new _(c).remove(t),c.selectRange(t),!0;var d=new s;d.add(t,!1),t.commonAncestorContainer===c.body&&this._surroundFullyContent(d,t),c.immutables&&this._handleImmutables(d),this._surroundFullySelectedAnchor(d,t),t.setStartAfter(d.start),t.setEndBefore(d.end);var u=t.startContainer,h=t.endContainer;return t.deleteContents(),"li"===h.tagName.toLocaleLowerCase()&&r.emptyNode(h)&&(t.selectNode(h),t.deleteContents()),a&&""===e(a).text()&&(t.selectNode(a),t.deleteContents()),o=t.commonAncestorContainer,"p"===r.name(o)&&""===o.innerHTML&&(o.innerHTML=l,t.setStart(o,0)),this._join(u,h),r.insertAfter(c.document.createTextNode("\ufeff"),d.start),d.remove(t),u=t.startContainer,"tr"==r.name(u)&&(u=u.childNodes[Math.max(0,t.startOffset-1)],t.setStart(u,r.getNodeLength(u))),t.collapse(!0),c.selectRange(t),n=u.parentElement||u.parentNode,r.isDataNode(u)&&!r.emptyNode(n)&&this._cleanBomBefore(t),!0},_handleImmutables:function(e){var t=i.Immutables.immutableParent,n=t(e.start),o=t(e.start);n&&r.insertBefore(e.start,n),o&&r.insertAfter(e.end,o),n&&r.remove(n),o&&o.parentNode&&r.remove(o)},_surroundFullyContent:function(e,t){var n=t.commonAncestorContainer.children,i=n[0],o=n[n.length-1];this._moveMarker(e,t,i,o)},_surroundFullySelectedAnchor:function(t,n){var i=t.start,o=e(i).closest("a").get(0),r=t.end,a=e(r).closest("a").get(0);this._moveMarker(t,n,o,a)},_moveMarker:function(e,t,n,i){var a=e.start,s=e.end;n&&o.isStartOf(t,n)&&r.insertBefore(a,n),i&&o.isEndOf(t,i)&&r.insertAfter(s,i)},_root:function(e){for(;e&&"body"!=r.name(e)&&e.parentNode&&"body"!=r.name(e.parentNode);)e=e.parentNode;return e},_join:function(e,t){(e=this._root(e))!=(t=this._root(t))&&r.is(t,"p")&&this._merge(e,t)},_merge:function(e,t){for(r.removeTrailingBreak(e);e&&t.firstChild;)1==e.nodeType?(e=r.list(e)?e.children[e.children.length-1]:e)&&e.appendChild(t.firstChild):e.nodeType===u.TEXT_NODE?this._mergeWithTextNode(e,t.firstChild):e.parentNode.appendChild(t.firstChild);r.remove(t)},_mergeWithTextNode:function(e,t){e&&e.nodeType===u.TEXT_NODE&&(e.nextSibling&&this._isCaret(e.nextSibling)?r.insertAfter(t,e.nextSibling):r.insertAfter(t,e))},_isCaret:function(t){return e(t).is("a")},keydown:function(e){var n,o,r=this.editor,s=r.getRange(),l=e.keyCode,c=t.keys,d=l===c.BACKSPACE,u=l==c.DELETE;r.immutables&&r.immutables.keydown(e,s)||(!d&&!u||s.collapsed?d?n="_handleBackspace":u&&(n="_handleDelete"):n="_handleSelection",n&&(o=new a(s,r.body),this[n](s)&&(e.preventDefault(),i._finishUpdate(r,o))))},deleteSelection:function(e){this._handleSelection(e)},keyup:e.noop}),w=n.extend({init:function(e){this.editor=e,this.systemCommandIsInProgress=!1},createUndoCommand:function(){this.startRestorePoint=this.endRestorePoint=i._finishUpdate(this.editor,this.startRestorePoint)},changed:function(){return!!this.startRestorePoint&&this.startRestorePoint.html!=this.editor.body.innerHTML},keydown:function(e){var t=this,n=t.editor,i=n.keyboard;return i.isModifierKey(e)?(i.isTypingInProgress()&&i.endTyping(!0),t.startRestorePoint=new a(n.getRange(),n.body),!0):!!i.isSystem(e)&&(t.systemCommandIsInProgress=!0,t.changed()&&(t.systemCommandIsInProgress=!1,t.createUndoCommand()),!0)},keyup:function(){var e=this;return!(!e.systemCommandIsInProgress||!e.changed())&&(e.systemCommandIsInProgress=!1,e.createUndoCommand(),!0)}}),k=n.extend({init:function(e){this.editor=e},keydown:function(e){!l.webkit||e.isDefaultPrevented()||!e.ctrlKey||65!=e.keyCode||e.altKey||e.shiftKey||(this.editor.options.immutables&&this._toSelectableImmutables(),this._selectEditorBody())},_selectEditorBody:function(){var e=this.editor,t=e.getRange();t.selectNodeContents(e.body),setTimeout((function(){e.selectRange(t)}))},_toSelectableImmutables:function(){for(var t=this.editor.body,n=i.Immutables.immutable,o=r.emptyTextNode,a=t.firstChild,s=t.lastChild;o(a);)a=a.nextSibling;for(;o(s);)s=s.previousSibling;a&&n(a)&&e(c).prependTo(t),s&&n(s)&&e(c).appendTo(t)},keyup:e.noop}),x=n.extend({init:function(e){this.handlers=e,this.typingInProgress=!1},isCharacter:function(e){return e>=48&&e<=90||e>=96&&e<=111||e>=186&&e<=192||e>=219&&e<=222||229==e},toolFromShortcut:function(t,n){var i,o,r=String.fromCharCode(n.keyCode),a=this._getShortcutModifier(n,navigator.platform);for(i in t)if(((o=e.extend({ctrl:!1,alt:!1,shift:!1},t[i].options)).key==r||o.key==n.keyCode)&&o.ctrl==a&&o.alt==n.altKey&&o.shift==n.shiftKey)return i},_getShortcutModifier:function(e,t){return t.toUpperCase().indexOf("MAC")>=0?e.metaKey:e.ctrlKey},toolsFromShortcut:function(t,n){var i,o,r=String.fromCharCode(n.keyCode),a=[],s=function(e){return e==r||e==n.keyCode||e==n.charCode};for(i in t)o=e.extend({ctrl:!1,alt:!1,shift:!1},t[i].options),(Array.isArray(o.key)?e.grep(o.key,s).length>0:s(o.key))&&o.ctrl==n.ctrlKey&&o.alt==n.altKey&&o.shift==n.shiftKey&&a.push(t[i]);return a},isTypingKey:function(e){var t=e.keyCode;return this.isCharacter(t)&&!e.ctrlKey&&!e.altKey||32==t||13==t||8==t||46==t&&!e.shiftKey&&!e.ctrlKey&&!e.altKey},isModifierKey:function(e){var t=e.keyCode;return 17==t&&!e.shiftKey&&!e.altKey||16==t&&!e.ctrlKey&&!e.altKey||18==t&&!e.ctrlKey&&!e.shiftKey},isSystem:function(e){return 46==e.keyCode&&e.ctrlKey&&!e.altKey&&!e.shiftKey},startTyping:function(e){this.onEndTyping=e,this.typingInProgress=!0},stopTyping:function(){this.typingInProgress&&this.onEndTyping&&this.onEndTyping(),this.typingInProgress=!1},endTyping:function(e){var t=this;t.clearTimeout(),e?t.stopTyping():t.timeout=window.setTimeout(t.stopTyping.bind(t),1e3)},isTypingInProgress:function(){return this.typingInProgress},clearTimeout:function(){window.clearTimeout(this.timeout)},notify:function(e,t){var n,i=this.handlers;for(n=0;n<i.length&&!i[n][t](e);n++);},keydown:function(e){this.notify(e,"keydown")},keyup:function(e){this.notify(e,"keyup")}});d(i,{TypingHandler:b,SystemHandler:w,BackspaceHandler:y,SelectAllHandler:k,Keyboard:x})}(window.kendo.jQuery),function(e){var t=window.kendo.ui.editor,n=t.Command,i=t.EditorUtils.registerTool,o=t.Tool,r=e.extend,a=n.extend({init:function(e){this.async=!0,n.fn.init.call(this,e)},exec:function(){var e=this,t=e.lockRange(!0),n=e.editor;n._destroyResizings(),n.saveAsPDF().then((function(){e.releaseRange(t),n._initializeColumnResizing(),n._initializeRowResizing(),n._initializeElementResizing()}))}});r(t,{ExportPdfCommand:a}),i("pdf",new o({command:a}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.ui.editor,i=n.Command,o=n.EditorUtils.registerTool,r=n.Tool,a=e.extend,s=i.extend({init:function(e){i.fn.init.call(this,e),this.managesUndoRedo=!0},exec:function(){var e=this.editor;t.support.browser.msie?e.document.execCommand("print",!1,null):e.window.print&&e.window.print()}});a(n,{PrintCommand:s}),o("print",new r({command:s}))}(window.kendo.jQuery),function(e){var t=window.kendo.ui.editor,n=t.Tool,i=t.Command,o=t.EditorUtils,r=t.Dom,a=t.RangeUtils,s=o.registerTool,l=i.extend({init:function(e){i.fn.init.call(this,e)},exec:function(){var e=this.lockRange(!0);this.inlineStyles=[],this.blockStyles=[],this.collectStyles(e),this.editor.inlineStyles=this.inlineStyles,this.editor.blockStyles=this.blockStyles,this.releaseRange(e)},collectStyles:function(e){var t,n=a.nodes(e);for(t=1===n.length?n[0].parentNode:e.startContainer;t&&!r.is(t,"body")&&"editor"!==t.getAttribute("data-role");)r.isBlock(t)?(this.populateStyles(t,"blockStyles"),t=r.is(t,"li")?t.parentNode:null):(this.populateStyles(t,"inlineStyles"),t=t.parentNode)},populateStyles:function(e,t){var n,i,o,r,a,s=e.style,l=e.attributes,c={tags:[e.tagName],attr:{style:{}}};if(s)for(a=0;a<s.length;a++)n=s[i=s[a]],c.attr.style[i]=n;if(l)for(a=0;a<l.length;a++)o=l[a].nodeName,r=l[a].nodeValue,"style"!==o&&("class"===o?c.attr.className=r:c.attr[o]=r);this[t].push(c)}}),c=i.extend({init:function(e){i.fn.init.call(this,e)},exec:function(){var e,t=this.lockRange(!0),n=a.getMarkers(t),i=this.editor,o=i.inlineStyles,s=i.blockStyles;(o&&0!==o.length||s&&0!==s.length)&&(3===n.length&&(this.marker.removeCaret(t),this.marker.caret=null),this.removeEmptyElementsFromRange(t),e=a.nodes(t),this.cleanInlineParents(e),r.normalize(t.commonAncestorContainer),2===n.length?(t.setStartAfter(n[0]),t.setEndBefore(n[1])):(t.setStartBefore(e[0]),t.setEndAfter(e[0])),(e=a.nodes(t))&&s&&s.length&&this.applyBlockStyles(e,s),e&&o&&o.length&&this.applyInlineStyles(e,o),this.releaseRange(t))},removeEmptyElementsFromRange:function(e){var t,n;if((t=a.getAll(e,(function(e){return r.isInline(e)&&!e.firstChild&&!r.isMarker(e)})))&&t.length>0)for(n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n])},cleanInlineParents:function(e){var t,n,i,o,a,s,l;for(t=0;t<e.length;t++)if(i=(n=e[t]).parentNode,!this.immutableParent(n))for(;i&&r.isInline(i);){for(o=i.childNodes,a=0;a<o.length;a++)s=o[a],r.isMarker(s)||s===n||((l=i.cloneNode(!0)).innerHTML="",r.wrap(s,l));r.unwrap(i),i=n.parentNode}},applyBlockStyles:function(e,t){var n,i,o,a,s,l,c,d,u,h,p,f,m,v,g,_=t[0].tags[0],b=t[0].attr,y=this.editor.document;for(n=0,i=e.length;n<i;n++)if(o=e[n],!r.isWhitespace(o)&&!this.immutableParent(o))if("BODY"!==(s=r.blockParentOrBody(o)).tagName&&s.tagName!==_){if("LI"!==s.tagName&&"TD"!==s.tagName&&"TH"!==s.tagName){for(c=[],d=[],u=o.previousSibling,h=o.nextSibling;u;)r.isMarker(u)||c.push(u),u=u.previousSibling;if(c.length)for((p=s.cloneNode(!0)).innerHTML="",r.insertBefore(p,c[0]),v=0;v<c.length;v++)m=c[v],r.insertAt(p,m,0);for(;h;)r.isMarker(h)||d.push(h),h=h.nextSibling;if(d.length)for((f=s.cloneNode(!0)).innerHTML="",r.insertBefore(f,d[0]),v=0;v<d.length;v++)m=d[v],f.appendChild(m);r.unwrap(s)}a=r.create(y,_,b),r.wrap(o,a)}else s.tagName===_&&r.attr(s,b);if(s&&2===t.length&&"LI"!==s.tagName&&"LI"===_){for(g=[];r.is(a,"li");)g.push(a),a=r.prev(a);for(l=r.create(y,t[1].tags[0],t[1].attr),r.insertBefore(l,g[g.length-1]),l.appendChild(g[0]),n=1,i=g.length;n<i;n++)r.insertBefore(g[n],l.firstChild)}else s&&2===t.length&&"LI"!==s.tagName&&(l=r.create(y,t[1].tags[0],t[1].attr),r.wrap(a,l))},applyInlineStyles:function(e,t){var n,i,o,a,s,l,c=this.editor.document;for(a=0;a<t.length;a++)n=t[a],i=r.create(c,n.tags[0],n.attr),o&&i.appendChild(o),o=i;if(o)for(a=0;a<e.length;a++)if(l=e[a],!r.isWhitespace(l)&&!this.immutableParent(l)){for(s=o.cloneNode(!0),r.insertBefore(s,l);s.children&&s.children.length;)s=s.children[0];s.appendChild(l)}},immutables:function(){return this.editor&&this.editor.options.immutables},immutableParent:function(e){return this.immutables()&&t.Immutables.immutableParent(e)}}),d=n.extend({init:function(e){n.fn.init.call(this,e)},command:function(e){return new l(e)}}),u=n.extend({init:function(e){n.fn.init.call(this,e)},command:function(e){return new c(e)}});e.extend(t,{CopyFormatCommand:l,ApplyFormatCommand:c,CopyFormatTool:d,ApplyFormatTool:u}),s("copyFormat",new d({})),s("applyFormat",new u({}))}(window.kendo.jQuery),function(e){const t=window.kendo,n=e.extend,i=t.ui.editor,o=t.ui.Editor.fn.options.formats,r=i.Dom,a=i.Tool,s=i.DelayedExecutionTool,l=i.BlockFormatter,c=i.FormatCommand,d=i.GreedyInlineFormatFinder,u=i.EditorUtils,h=u.registerTool,p=u.registerFormat,f=i.RangeUtils,m=c.extend({exec:function(){const e=this,t=e.lockRange(!0),n=r.filterBy(f.nodes(t),r.htmlIndentSpace,!0);e.formatter.format[0].attr.style.lineHeight=e.options.value.lineHeight,e.formatter.apply(n),e.releaseRange(t)}}),v=s.extend({init:function(e){a.fn.init.call(this,e),this.type="kendoComboBox",this.format=[{tags:["p","lineHeight"]}],this.finder=new d(this.format,e.cssAttr,e.fontAttr,e.defaultValue)},command:function(e){var t=this;return new m(n(e,{formatter:function(){return new l(t.options.format)}}))},initialize:function(e,t){let n=e.getKendoComboBox();this.editor=t,n.bind("change",this.changeHandler.bind(this)),n.bind("close",this.closeHandler.bind(this)),n.wrapper.on("mousedown.kendoEditor",".k-input-button,.k-input-inner",this.mouseDownHandler.bind(this)).on("keydown.kendoEditor",this.keyDownHandler.bind(this))},changeHandler:function(e){this._exec(e.sender.value())},closeHandler:function(){let e=this,t=e.editor;setTimeout((function(){t._deleteSavedRange(),e.currentRange=null}),0)},mouseDownHandler:function(){let e=this.editor.getRange();this.currentRange=this.editor._containsRange(e)?e:this.currentRange},keyDownHandler:function(e){e.keyCode===t.keys.ENTER&&(this.editor._deleteSavedRange(),this.currentRange=null,e.preventDefault())},_exec:function(e){this.editor._range=this.currentRange,e&&a.exec(this.editor,this.options.name,{lineHeight:e})}});e.extend(i,{LineHeightCommand:m,LineHeightFormatTool:v}),p("lineHeight",[{tags:r.blockElements,attr:{style:{lineHeight:"normal"}}}]),h("lineHeight",new v({cssAttr:"line-height",format:o.lineHeight,defaultValue:1.15,ui:{type:"component",component:"ComboBox",componentOptions:{value:1.15,dataTextField:"text",dataValueField:"value",prefixOptions:{icon:"paragraphHeight"},autoSize:!0,dataSource:[{text:"1",value:"1"},{text:"1.15",value:"1.15"},{text:"1.5",value:"1.5"},{text:"2",value:"2"},{text:"2.5",value:"2.5"}]}}}))}(window.kendo.jQuery),function(e){const t=window.kendo.ui.editor,n=t.Tool,i=t.Command,o=t.EditorUtils.registerTool,r=t.Dom,a=function(e,t,n,i,o,r){const a=e.cloneRange(),s=a.startContainer;let l,c,d,u,h;return null!=o&&(a.setStart(s,o),a.setEnd(s,o+1)),l=a.getBoundingClientRect(),r?(h=r.getBoundingClientRect(),c=l.left-h.left-l.width/2,d=l.top-h.top+l.height+i):"·"===n?(c=l.x-l.width/4,d=l.y+l.height+i):"↵"===n&&(c=l.x,d=l.y+l.height+i),u=t.createElementNS("http://www.w3.org/2000/svg","text"),u.setAttributeNS(null,"x",c),u.setAttributeNS(null,"y",d),u.setAttributeNS(null,"fill","#6098f2"),u.setAttributeNS(null,"font-size",`${Math.ceil(l.height+l.width)}px`),u.textContent=n,u},s=function(){const t=this,n=t.getRange().cloneRange(),i=t._formattingMarksOverlay[0],o=t.document.createDocumentFragment(),s=t.document,l=t._isInlineEditor(),c=l?t.body.parentElement:null,d=l?c.scrollTop:s.documentElement.scrollTop;if(!t.body.firstChild&&!t.body.lastChild)return;n.setStart(t.body.firstChild,0),n.setEnd(t.body.lastChild,0);r.getTextNodes(t.body).concat(e(t.body).find("br").toArray()).forEach((e=>{if(e.nodeType===r.nodeTypes.TEXT_NODE){n.selectNodeContents(e);for(let e=n.startOffset;e<n.endOffset;e++)32!==n.startContainer.textContent.charCodeAt(e)&&160!==n.startContainer.textContent.charCodeAt(e)||o.appendChild(a(n,s,"·",d,e,c))}else n.selectNode(e),o.appendChild(a(n,s,"↵",d,null,c))})),i.appendChild(o)},l=function(e){e._formattingMarksOverlay.empty()},c=function(e){e._updateFormattingMarksOverlayHeight(),s.call(e)},d=i.extend({exec:function(){const e=this,t=e.lockRange(!0),n=e.editor;n._toggledFormattingMarks?(n._toggledFormattingMarks=!1,n._destroyFormattingMarksOverlay()):(n._toggledFormattingMarks=!0,n._appendFormattingMarksOverlay(),n._appendFormattingMarksStyles(),l(n),c(n)),e.releaseRange(t)}});e.extend(t,{FormattingMarksCommand:d,applyFormattingMarks:c,clearFormattingMarksOverlay:l}),o("formattingMarks",new n({command:d,icon:"paragraphMark",ui:{togglable:!0}}))}(window.kendo.jQuery),function(e){var t=window,n=t.Math,i=n.min,o=n.max,r=t.parseFloat,a=e.jQuery,s=a.extend,l=e.ui.editor,c=/(\d+)(\.?)(\d*)%/,d=/(\d+)(\.?)(\d*)px/,u="string";function h(e){return typeof e===u&&c.test(e)}var p={constrain:function(e){var t=e.value,n=e.min,a=e.max;return o(i(r(t),r(a)),r(n))},getScrollBarWidth:function(t){return t&&!a(t).is("body")&&t.scrollHeight>t.clientHeight?e.support.scrollbar():0},calculatePercentageRatio:function(e,t){return h(e)?r(e):r(e)/t*100},inPercentages:h,inPixels:function(e){return typeof e===u&&d.test(e)},toPercentages:function(e){return r(e)+"%"},toPixels:function(e){return r(e)+"px"}};s(l,{ResizingUtils:p})}(window.kendo),function(e){var t=e.jQuery,n=t.extend,i=t.noop,o=e.ui.editor,r=e.Class,a="keydown",s="mouseleave",l="mouseup",c="table",d=r.extend({init:function(e,i){var o=this;o.options=n({},o.options,i),o.options.tags=Array.isArray(o.options.tags)?o.options.tags:[o.options.tags],t(e).is(c)&&(o.element=e,o._attachEventHandlers())},destroy:function(){var e=this,n=e.options.eventNamespace;e.element&&(t(e.element).off(n),e.element=null),t(e.options.rootElement).off(a+n),e._destroyResizeHandle()},options:{tags:[],min:0,rootElement:null,eventNamespace:"",rtl:!1,handle:{dataAttribute:"",height:0,width:0,classNames:{},template:""}},_attachEventHandlers:function(){var e=this,n=e.options;t(e.element).on("mousemove"+n.eventNamespace,n.tags.join(","),e.detectElementBorderHovering.bind(e))},resizingInProgress:function(){var e=this._resizable;return!!e&&!!e.resizing},resize:i,detectElementBorderHovering:function(e){var n=this,i=n.options.handle,o=t(e.currentTarget),r=n.resizeHandle,a=i.dataAttribute;n.resizingInProgress()||(!o.is(":last-child")&&n.elementBorderHovered(o,e)?r?r.data(a)&&r.data(a)!==o[0]&&n.showResizeHandle(o,e):n.showResizeHandle(o,e):r&&n._destroyResizeHandle())},elementBorderHovered:i,showResizeHandle:function(e,t){var n=this;0===t.buttons&&(n._initResizeHandle(),n.setResizeHandlePosition(e),n.setResizeHandleDimensions(),n.setResizeHandleDataAttributes(e[0]),n._attachResizeHandleEventHandlers(),n._initResizable(e),n._hideResizeMarker(),n.resizeHandle.show())},_initResizeHandle:function(){var e=this,n=e.options;e._destroyResizeHandle(),e.resizeHandle=t(n.handle.template).appendTo(n.rootElement)},setResizeHandlePosition:i,setResizeHandleDimensions:i,setResizeHandleDataAttributes:function(e){this.resizeHandle.data(this.options.handle.dataAttribute,e)},_attachResizeHandleEventHandlers:function(){var e=this,t=e.options,n=t.eventNamespace,i=t.handle.classNames.marker,o=e.resizeHandle;e.resizeHandle.on("mousedown"+n,(function(){o.find("."+i).show()})).on(l+n,(function(){o.find("."+i).hide()}))},_hideResizeMarker:function(){this.resizeHandle.find("."+this.options.handle.classNames.marker).hide()},_destroyResizeHandle:function(){var e=this;e.resizeHandle&&(e._destroyResizable(),e.resizeHandle.off(e.options.eventNamespace).remove(),e.resizeHandle=null)},_initResizable:function(t){var n=this;n.resizeHandle&&(n._destroyResizable(),n._resizable=new e.ui.Resizable(t,{draggableElement:n.resizeHandle[0],start:n.onResizeStart.bind(n),resize:n.onResize.bind(n),resizeend:n.onResizeEnd.bind(n)}))},_destroyResizable:function(){var e=this;e._resizable&&(e._resizable.destroy(),e._resizable=null)},onResizeStart:function(){this._disableKeyboard()},onResize:function(e){this.setResizeHandleDragPosition(e)},setResizeHandleDragPosition:i,onResizeEnd:function(e){var t=this;t.resize(e),t._destroyResizeHandle(),t._enableKeyboard(),this.options.editor&&this.options.editor._handleSpaceAndNewLines()},_enableKeyboard:function(){var e=this.options;t(e.rootElement).off(a+e.eventNamespace)},_disableKeyboard:function(){var e=this.options;t(e.rootElement).on(a+e.eventNamespace,(function(e){e.preventDefault()}))},_forceResizing:function(e){var t=this._resizable;t&&t.userEvents&&t.userEvents._end(e)}}),u=r.extend({create:function(e,n){var i=this,o=n.name,r=n.eventNamespace;t(e.body).on("mouseenter"+r,c,(function(t){var r=t.currentTarget,a=e[o];t.stopPropagation(),a?a.element===r||a.resizingInProgress()||(i._destroyResizing(e,n),i._initResizing(e,r,n)):i._initResizing(e,r,n)})).on(s+r,c,(function(r){var a,s=e[o];r.stopPropagation(),!s||s.resizingInProgress()||s.resizeHandle||(a=t(s.element).parents(c)[0])&&(i._destroyResizing(e,n),i._initResizing(e,a,n))})).on(s+r,(function(){var t=e[o];t&&!t.resizingInProgress()&&i._destroyResizing(e,n)})).on(l+r,(function(r){var a,s=e[o];s&&s.resizingInProgress()&&(a=t(r.target).parents(c)[0])&&(s._forceResizing(r),i._destroyResizing(e,n),i._initResizing(e,a,n))}))},dispose:function(e,n){t(e.body).off(n.eventNamespace)},_initResizing:function(t,n,i){var o=i.name,r=i.type;t[o]=new r(n,{rtl:e.support.isRtl(t.element),rootElement:t.body,editor:t})},_destroyResizing:function(e,t){var n=t.name;e[n]&&(e[n].destroy(),e[n]=null)}});u.current=new u,d.create=function(e,t){u.current.create(e,t)},d.dispose=function(e,t){u.current.dispose(e,t)},n(o,{TableElementResizing:d})}(window.kendo),function(e){var t=window.Math.abs,n=e.jQuery,i=n.extend,o=e.ui.editor,r=o.Dom,a=o.TableElementResizing,s=o.ResizingUtils,l=s.constrain,c=s.calculatePercentageRatio,d=s.getScrollBarWidth,u=s.inPercentages,h=s.toPercentages,p=s.toPixels,f=e._outerWidth,m=".kendoEditorColumnResizing",v="k-column-resize-handle",g="k-column-resize-marker",_="body",b="tbody",y="thead",w="tr",k="col-index",x=",",C="width",z=a.extend({options:{tags:["td","th"],min:20,rootElement:null,eventNamespace:m,rtl:!1,handle:{dataAttribute:"column",width:10,height:0,classNames:{handle:v,marker:g},template:'<div class="k-column-resize-handle-wrapper" unselectable="on" contenteditable="false"><div class="'+v+'"><div class="'+g+'"></div></div></div>'}},elementBorderHovered:function(e,t){var i=this.options,o=i.handle.width,r=e.offset().left+(i.rtl?0:f(e)),a=t.clientX+n(e[0].ownerDocument).scrollLeft();return a>r-o&&a<r+o},setResizeHandlePosition:function(t){var i=this,o=n(i.element.tHead||i.element.tBodies[0]),r=i.options,a=r.rtl,s=r.handle.width,l=n(r.rootElement),c=l.is(_)?0:l.scrollTop(),u=l.is(_)?0:e.scrollLeft(l),h=a?0:f(t),p=a?d(l[0]):0,m=t.offset().left-(l.offset().left+parseFloat(l.css("borderLeftWidth")))-parseFloat(t.css("marginLeft")),v=o.offset().top-(l.offset().top+parseFloat(l.css("borderTopWidth")))-parseFloat(o.css("marginTop")),g=e.support.browser;a&&(g.mozilla||g.webkit&&g.version>=85)&&(u*=-1),i.resizeHandle.css({top:v+c,left:m+h+(u-p)-s/2,position:"absolute"})},setResizeHandleDimensions:function(){var e=this,t=n(e.element).children(y),i=n(e.element).children(b),o=t.length>0?t.height()+i.height():i.height();e.resizeHandle.css({width:e.options.handle.width,height:o})},setResizeHandleDragPosition:function(t){var i=this,o=n(n(t.currentTarget).data(i.options.handle.dataAttribute)),r=i.options,a=n(r.rootElement),s=r.handle?r.handle.width:0,c=r.min,u=r.rtl,h=f(o),p=o.offset().left-(a.offset().left+parseFloat(a.css("borderLeftWidth")))-parseFloat(o.css("marginLeft")),m=f(o.next()),v=n(i.resizeHandle),g=a.is(_)?0:e.scrollLeft(a),b=u?d(a[0]):0,y=v.offset().left-(a.offset().left+parseFloat(a.css("borderLeftWidth")))-parseFloat(v.css("marginLeft")),w=e.support.browser;u&&(w.mozilla||w.webkit&&w.version>=85)&&(g*=-1);var k=l({value:y+(g-b)+t.x.delta,min:p+(g-b)-(u?m:0)+c,max:p+h+(g-b)+(u?0:m)-s-c});v.css({left:k})},resize:function(e){var t,i,o,a,s,c=this,d=n(n(e.currentTarget).data(c.options.handle.dataAttribute)),u=c.options,h=u.rtl?-1:1,p=u.min,m=h*e.x.initialDelta;r.reMapTableColumns(c.element,k),a=parseInt(d.attr(k),10),d.prop("colSpan")>1&&(d=n(c.element).find("["+k+"="+(a+d.prop("colSpan")-1)+"]").eq(0),a=parseInt(d.attr(k),10)),s=n(c.element).find("["+k+"="+(a+1)+"]:not([colspan])"),c._setTableComputedWidth(),c._setColumnsComputedWidth(),o=f(d),i=f(s),t=l({value:o+m,min:p,max:o+i-p}),c._resizeColumn(d[0],t),c._resizeTopAndBottomColumns(d[0],t),c._resizeAdjacentColumns(parseInt(d.attr(k),10),i,o,o-t),r.clearTableMappings(c.element,k)},_setTableComputedWidth:function(){var e=this.element;""===e.style[C]&&(e.style[C]=p(f(n(e))))},_setColumnsComputedWidth:function(){var e,t=n(this.element.tHead||this.element.tBodies[0]),i=f(t),o=t.children(w).children("td"),r=o.length,a=o.map((function(){return f(n(this))}));for(e=0;e<r;e++)u(o[e].style[C])?o[e].style[C]=h(c(a[e],i)):o[e].style[C]=p(a[e])},_resizeTopAndBottomColumns:function(e,t){var i,o=this,r=n(e).attr(k),a=n(o.element).children(b+x+y).children(w).children(o.options.tags.join(x)).filter((function(){return n(this).attr(k)===r&&this!==e})),s=a.length;for(i=0;i<s;i++)o._resizeColumn(a[i],t)},_resizeColumn:function(e,t){var i=n(this.element.tHead||this.element.tBodies[0]);u(e.style[C])?e.style[C]=h(c(t,f(i))):e.style[C]=p(t)},_resizeAdjacentColumns:function(e,t,i,o){var r,a=this,s=n(a.element).children(b+x+y).children(w).children(a.options.tags.join(x)).filter((function(){return parseInt(n(this).attr(k),10)===e+1})),l=s.length;for(r=0;r<l;r++)a._resizeAdjacentColumn(s[r],t,i,o)},_resizeAdjacentColumn:function(e,n,i,o){var r,a=this.options.min;r=l({value:n+o,min:a,max:t(i+n-a)}),this._resizeColumn(e,r)}});z.create=function(e){a.create(e,{name:"columnResizing",type:z,eventNamespace:m})},z.dispose=function(e){a.dispose(e,{eventNamespace:m})},i(o,{ColumnResizing:z})}(window.kendo),function(e){var t=window.Math.abs,n=e.jQuery,i=n.extend,o=e.ui.editor,r=o.TableElementResizing,a=o.ResizingUtils,s=a.getScrollBarWidth,l=a.constrain,c=a.calculatePercentageRatio,d=a.inPercentages,u=a.toPercentages,h=a.toPixels,p=e._outerHeight,f=".kendoEditorRowResizing",m="k-row-resize-handle",v="k-row-resize-marker",g="body",_="tr",b="tbody",y="thead",w="height",k=r.extend({options:{tags:[_],min:20,rootElement:null,eventNamespace:f,rtl:!1,handle:{dataAttribute:"row",width:0,height:10,classNames:{handle:m,marker:v},template:'<div class="k-row-resize-handle-wrapper" unselectable="on" contenteditable="false"><div class="'+m+'"><div class="k-row-resize-marker-wrapper"><div class="'+v+'"></div></div></div></div>'}},elementBorderHovered:function(e,t){var i=this.options.handle[w],o=e.offset().top+p(e),r=t.clientY+n(e[0].ownerDocument).scrollTop();return r>o-i&&r<o+i},setResizeHandlePosition:function(t){var i=this.options,o=i.handle[w],r=n(i.rootElement),a=r.is(g)?0:r.scrollTop(),l=r.is(g)?0:e.scrollLeft(r),c=i.rtl?s(r[0]):0,d=t.offset().left-(r.offset().left+parseFloat(r.css("borderLeftWidth")))-parseFloat(t.css("marginLeft")),u=t.offset().top-(r.offset().top+parseFloat(r.css("borderTopWidth")))-parseFloat(t.css("marginTop")),h=e.support.browser;i.rtl&&(h.mozilla||h.webkit&&h.version>=85)&&(l*=-1),this.resizeHandle.css({top:u+p(t)+a-o/2,left:d+(l-c),position:"absolute"})},setResizeHandleDimensions:function(){var e=this,t=n(e.element.tHead||e.element.tBodies[0]);e.resizeHandle.css({width:t.width(),height:e.options.handle[w]})},setResizeHandleDragPosition:function(e){var t=this,i=t.options,o=i.min,r=n(t.element).children(y),a=n(t.element).children(b),s=r.length>0?r:a,c=n(t.resizeHandle),d=n(e.currentTarget).data(i.handle.dataAttribute),u=n(d),h=n(i.rootElement),f=h.is(g)?0:h.scrollTop(),m=s.offset().top-(h.offset().top+parseFloat(h.css("borderTopWidth")))-parseFloat(s.css("marginTop")),v=u.offset().top-(h.offset().top+parseFloat(h.css("borderTopWidth")))-parseFloat(u.css("marginTop")),_=c.offset().top-(Math.max(0,h.offset().top)+parseFloat(h.css("borderTopWidth")))-parseFloat(c.css("marginTop")),k=l({value:_+f+e.y.delta,min:v+f+o,max:m+p(r)+p(a)+f-i.handle[w]-o});c.css({top:k})},resize:function(e){var i=this,o=i.options,r=n(e.currentTarget).data(o.handle.dataAttribute),a=p(n(r)),s=n(i.element),c=p(s),u=s.children(y),f=u.length>0?u.height():0,m=s.children(b).height(),v=r.style[w],g=l({value:a+e.y.initialDelta,min:o.min,max:t(f+m-o.min)});i._setRowsHeightInPixels(),r.style[w]=h(g),i._setTableHeight(c+(g-a)),d(v)&&i._setRowsHeightInPercentages()},_setRowsHeightInPixels:function(){var e,t=n(this.element).children(b+","+y).children(_),i=t.length,o=t.map((function(){return p(n(this))}));for(e=0;e<i;e++)t[e].style[w]=h(o[e])},_setRowsHeightInPercentages:function(){var e,t=this,i=n(t.element).children(y),o=i.length>0?i.height():0,r=n(t.element).children(b).height(),a=n(t.element).children(y+","+b).children(_),s=a.length,l=a.map((function(){return p(n(this))}));for(e=0;e<s;e++)a[e].style[w]=u(c(l[e],o+r))},_setTableHeight:function(e){var t=this.element;d(t.style[w])?t.style[w]=u(c(e,n(t).parent().height())):t.style[w]=h(e)}});k.create=function(e){r.create(e,{name:"rowResizing",type:k,eventNamespace:f})},k.dispose=function(e){r.dispose(e,{eventNamespace:f})},i(o,{RowResizing:k})}(window.kendo),function(e){var t=e.jQuery,n=t.extend,i=t.noop,o=e.ui.editor,r=e.Class,a=e.ui.Draggable,s=e.Observable,l=o.ResizingUtils.getScrollBarWidth,c=e._outerWidth,d=e._outerHeight,u=".kendoEditorElementResizeHandle",h="k-element-resize-handle",p="dragStart",f="drag",m="dragEnd",v="halfInside",g="mouseover",_="mouseout",b="east",y="north",w="northeast",k="northwest",x="south",C="southeast",z="southwest",S="west",T=s.extend({init:function(e){var i=this;s.fn.init.call(i),i.options=n({},i.options,e),i.element=t(i.options.template).appendTo(i.options.appendTo)[0],i._attachEventHandlers(),i._addStyles(),i._initDraggable(),i._initPositioningStrategy(),i._initDraggingStrategy(),t(i.element).data("table",i.options.resizableElement)},destroy:function(){var e=this;t(e.element).off(u).remove(),e.element=null,e._destroyDraggable(),e.unbind()},options:{appendTo:null,direction:C,resizableElement:null,rtl:!1,template:"<div class='k-element-resize-handle-wrapper' unselectable='on' contenteditable='false'><div class='"+h+"'></div></div>"},events:[p,f,m,g,_],show:function(){this._setPosition()},_setPosition:function(){var e=this._positioningStrategy.getPosition();t(this.element).css({top:e.top,left:e.left,position:"absolute"})},_attachEventHandlers:function(){var e=this;t(e.element).on(g+u,e._onMouseOver.bind(e)).on(_+u,e._onMouseOut.bind(e))},_onMouseOver:function(){this.trigger(g)},_onMouseOut:function(){this.trigger(_)},_addStyles:function(){t(this.element).children("."+h).addClass("k-resize-"+this.options.direction)},_initPositioningStrategy:function(){var e=this,t=e.options;e._positioningStrategy=H.create({name:t.direction,handle:e.element,resizableElement:t.resizableElement,rootElement:t.rootElement,rtl:t.rtl})},_initDraggable:function(){var e=this,t=e.element;!e._draggable&&t&&(e._draggable=new a(t,{dragstart:e._onDragStart.bind(e),drag:e._onDrag.bind(e),dragend:e._onDragEnd.bind(e)}))},_onDragStart:function(){this.trigger(p)},_onDrag:function(e){var t=this;t.trigger(f,t._draggingStrategy.adjustDragDelta({deltaX:e.x.delta,deltaY:e.y.delta,initialDeltaX:e.x.initialDelta,initialDeltaY:e.y.initialDelta})),t.options.editor&&t.options.editor._handleSpaceAndNewLines()},_onDragEnd:function(){this.trigger(m)},_destroyDraggable:function(){var e=this;e._draggable&&(e._draggable.destroy(),e._draggable=null)},_initDraggingStrategy:function(){this._draggingStrategy=R.create({name:this.options.direction})}}),M=r.extend({init:function(){this._items=[]},register:function(e,t){this._items.push({name:e,type:t})},create:function(e){var t,n,i,o=this._items,r=o.length,a=e.name?e.name.toLowerCase():"";for(i=0;i<r;i++)if((n=o[i]).name.toLowerCase()===a){t=n;break}if(t)return new t.type(e)}}),I=M.extend({});I.current=new I;var H=r.extend({init:function(e){this.options=n({},this.options,e)},options:{handle:null,offset:v,resizableElement:null,rootElement:null,rtl:!1},getPosition:function(){var e=this,t=e.calculatePosition(),n=e.applyHandleOffset(t);return e.applyScrollOffset(n)},calculatePosition:i,applyHandleOffset:function(e){var n=this.options,i=t(n.handle);return n.offset===v?{top:e.top-d(i)/2,left:e.left-c(i)/2}:e},applyScrollOffset:function(n){var i,o=this.options,r=t(o.rootElement),a=o.rtl?l(r[0]):0,s=e.support.browser;return r.is("body")?n:(i=e.scrollLeft(r)||0,o.rtl&&(s.mozilla||s.webkit&&s.version>=85)&&(i*=-1),{top:n.top+(r.scrollTop()||0),left:n.left+i-a})}});H.create=function(e){return I.current.create(e)};var D=H.extend({calculatePosition:function(){var e=t(this.options.resizableElement),n=e.position(),i=parseInt(e.css("marginLeft"),10);return{top:n.top+d(e)/2,left:n.left+c(e)+i}}});I.current.register(b,D);var E=H.extend({calculatePosition:function(){var e=t(this.options.resizableElement),n=e.position(),i=parseInt(e.css("marginLeft"),10);return{top:n.top,left:n.left+c(e)/2+i}}});I.current.register(y,E);var A=H.extend({calculatePosition:function(){var e=t(this.options.resizableElement),n=e.position(),i=parseInt(e.css("marginLeft"),10);return{top:n.top,left:n.left+c(e)+i}}});I.current.register(w,A);var V=H.extend({calculatePosition:function(){var e=t(this.options.resizableElement),n=e.position(),i=parseInt(e.css("marginLeft"),10);return{top:n.top,left:n.left+i}}});I.current.register(k,V);var P=H.extend({calculatePosition:function(){var e=t(this.options.resizableElement),n=e.position(),i=parseInt(e.css("marginLeft"),10);return{top:n.top+d(e),left:n.left+c(e)/2+i}}});I.current.register(x,P);var B=H.extend({calculatePosition:function(){var e=t(this.options.resizableElement),n=e.position(),i=parseInt(e.css("marginLeft"),10);return{top:n.top+d(e),left:n.left+c(e)+i}}});I.current.register(C,B);var F=H.extend({calculatePosition:function(){var e=t(this.options.resizableElement),n=e.position(),i=parseInt(e.css("marginLeft"),10);return{top:n.top+d(e),left:n.left+i}}});I.current.register(z,F);var O=H.extend({calculatePosition:function(){var e=t(this.options.resizableElement),n=e.position(),i=parseInt(e.css("marginLeft"),10);return{top:n.top+d(e)/2,left:n.left+i}}});I.current.register(S,O);var L=M.extend({});L.current=new L;var R=r.extend({init:function(e){this.options=n({},this.options,e)},options:{deltaX:{adjustment:null,modifier:null},deltaY:{adjustment:null,modifier:null}},adjustDragDelta:function(e){var t=this.options,n=t.deltaX.adjustment*t.deltaX.modifier,i=t.deltaY.adjustment*t.deltaY.modifier;return{deltaX:e.deltaX*n,deltaY:e.deltaY*i,initialDeltaX:e.initialDeltaX*n,initialDeltaY:e.initialDeltaY*i}}});R.create=function(e){return L.current.create(e)};var N=R.extend({options:{deltaX:{adjustment:1,modifier:1},deltaY:{adjustment:0,modifier:0}}}),U=N.extend({options:{deltaX:{modifier:1}}});L.current.register(b,U);var j=N.extend({options:{deltaX:{modifier:-1}}});L.current.register(S,j);var W=R.extend({options:{deltaX:{adjustment:0,modifier:0},deltaY:{adjustment:1,modifier:1}}}),$=W.extend({options:{deltaY:{modifier:-1}}});L.current.register(y,$);var q=W.extend({options:{deltaY:{modifier:1}}});L.current.register(x,q);var G=R.extend({options:{deltaX:{adjustment:1,modifier:1},deltaY:{adjustment:1,modifier:1}}}),K=G.extend({options:{deltaX:{modifier:1},deltaY:{modifier:-1}}});L.current.register(w,K);var Y=G.extend({options:{deltaX:{modifier:-1},deltaY:{modifier:-1}}});L.current.register(k,Y);var Q=G.extend({options:{deltaX:{modifier:1},deltaY:{modifier:1}}});L.current.register(C,Q);var X=G.extend({options:{deltaX:{modifier:-1},deltaY:{modifier:1}}});L.current.register(z,X),n(o,{ElementResizeHandle:T})}(window.kendo),function(e){var t=window.Math,n=t.min,i=t.max,o=e.jQuery,r=o.contains,a=o.extend,s=e.support.browser,l=e.ui.editor,c=e.Class,d=l.ElementResizeHandle,u=l.ResizingUtils,h=u.calculatePercentageRatio,p=u.constrain,f=u.inPercentages,m=u.inPixels,v=u.toPercentages,g=u.toPixels,_=e._outerWidth,b=e._outerHeight,y=l.RangeUtils,w=".kendoEditorElementResizing",k="k-element-resize-handle-wrapper",x="k-element-resizing",C="dragStart",z="drag",S="dragEnd",T="keydown",M="mousedown",I="select",H="tr",D="tbody",E="thead",A="table",V=["TABLE","IMG"],P=",",B="width",F="height";function O(e){return void 0===e}var L=c.extend({init:function(e,t){var n=this;n.options=a({},n.options,t),n.handles=[],V.indexOf(e.nodeName)>=0&&(n.element=e)},destroy:function(){var e=this;o(e.element).off(w),e.element=null,o(e.options.rootElement).off(T+w),e._destroyResizeHandles()},options:{appendHandlesTo:null,rtl:!1,rootElement:null,minWidth:10,minHeight:10,handles:[{direction:"northwest"},{direction:"north"},{direction:"northeast"},{direction:"east"},{direction:"southeast"},{direction:"south"},{direction:"southwest"},{direction:"west"}]},resize:function(e){var t=this,n=a({},{deltaX:0,deltaY:0,initialDeltaX:0,initialDeltaY:0},e);t._resizeWidth(n.deltaX,n.initialDeltaX),t._resizeHeight(n.deltaY,n.initialDeltaY),t.showResizeHandles()},_resizeWidth:function(){return!1},_resizeHeight:function(){return!1},_getMaxDimensionValue:function(t){var n=this,i=o(n.element),r=t.toLowerCase(),a=n.options.rtl?-1:1,s=o(n.element).parent(),l=s[0],c=s[r](),d=a*(t===B?e.scrollLeft(s):s.scrollTop());return l&&l===i.closest("td")[0]?""!==l.style[r]||f(n.element.style[r])?c+d:1/0:c+d},showResizeHandles:function(){this._initResizeHandles(),this._showResizeHandles()},_initResizeHandles:function(){var e,t=this,n=t.handles,i=t.options,o=t.options.handles,r=o.length;if(!(n&&n.length>0)){for(e=0;e<r;e++)t.handles.push(new d(a({appendTo:i.appendHandlesTo,resizableElement:t.element,rootElement:i.rootElement,rtl:i.rtl,editor:t.options.editor},o[e])));t._bindToResizeHandlesEvents()}},_destroyResizeHandles:function(){for(var e=this,t=e.handles?e.handles.length:0,n=0;n<t;n++)e.handles[n].destroy();e.handles=[]},_showResizeHandles:function(){var e,t=(this.handles||[]).length;for(e=0;e<t;e++)this.handles[e].show()},_bindToResizeHandlesEvents:function(){return!1},_onResizeHandleDragStart:function(){var e=this,t=o(e.element);t.addClass(x),e._initialElementHeight=b(t),e._initialElementWidth=_(t),e._disableKeyboard()},_onResizeHandleDrag:function(e){this.resize(e)},_onResizeHandleDragEnd:function(){o(this.element).removeClass(x),this._enableKeyboard()},_enableKeyboard:function(){o(this.options.rootElement).off(T+w)},_disableKeyboard:function(){o(this.options.rootElement).on(T+w,(function(e){e.preventDefault()}))}}),R=L.extend({_bindToResizeHandlesEvents:function(){var e,t,n=this,i=n.handles||[],o=i.length;for(e=0;e<o;e++)(t=i[e]).bind(C,n._onResizeHandleDragStart.bind(n)),t.bind(z,n._onResizeHandleDrag.bind(n)),t.bind(S,n._onResizeHandleDragEnd.bind(n))},_hasRowsInPixels:function(){for(var e=o(this.element).children(E+P+D).children(H),t=0;t<e.length;t++)if(""===e[t].style.height||m(e[t].style.height))return!0;return!1},_resizeWidth:function(e,t){var r,a,s,l,c=this,d=o(c.element),u=d[0].style[B],m=_(d),b=d.parent().width(),y=c._getMaxDimensionValue(B);0!==e&&(O(c._initialElementWidth)&&(c._initialElementWidth=m),l=p({value:c._initialElementWidth+t,min:c.options.minWidth,max:y}),f(u)?(m+e>b?(a=i(l,b),s=n(l,b)):(a=n(l,b),s=i(l,b)),r=v(h(a,s))):r=g(l),c._setColumnsWidth(),d[0].style[B]=r)},_resizeHeight:function(e,t){var r,a,s,l,c=this,d=o(c.element),u=d[0].style[F],m=b(d),_=d.parent().height(),y=c._getMaxDimensionValue(F),w=c.options.minHeight,k=c._hasRowsInPixels();0!==e&&(O(c._initialElementHeight)&&(c._initialElementHeight=m),l=p({value:c._initialElementHeight+t,min:w,max:y}),k&&e<0&&c._setRowsHeightInPercentages(),f(u)?(m+e>_?(a=i(l,_),s=n(l,_)):(a=n(l,_),s=i(l,_)),r=v(h(a,s))):r=g(l),d[0].style[F]=r,k&&e<0&&c._setRowsHeightInPixels())},_setColumnsWidth:function(){var e,t=o(this.element),n=t.parent()[0],i=t.closest("td"),r=i.closest(H).children(),a=r.length;if(function(e){var t=e.style.width;return""!==t?!!f(t):!!o(e).hasClass("k-table")}(t[0])&&n===i[0]&&""===n.style[B])for(e=0;e<a;e++)r[e].style[B]=g(o(r[e]).width())},_setRowsHeightInPercentages:function(){var e,t=this,n=o(t.element).children(E),i=n.length>0?n.height():0,r=o(t.element).children(D).height(),a=o(t.element).children(E+P+D).children(H),s=a.length,l=a.map((function(){return b(o(this))}));for(e=0;e<s;e++)a[e].style[F]=v(h(l[e],i+r))},_setRowsHeightInPixels:function(){var e,t=o(this.element).children(E+P+D).children(H),n=t.length,i=t.map((function(){return b(o(this))}));for(e=0;e<n;e++)t[e].style[F]=g(i[e])}}),N=L.extend({_bindToResizeHandlesEvents:function(){var e,t,n=this,i=n.handles||[],o=i.length;for(e=0;e<o;e++)(t=i[e]).bind(C,n._onResizeHandleDragStart.bind(n)),"north"===t.options.direction||"south"===t.options.direction?t.bind(z,n._onResizeHandleDragVertical.bind(n)):"east"===t.options.direction||"west"===t.options.direction?t.bind(z,n._onResizeHandleDragHorizontal.bind(n)):t.bind(z,n._onResizeHandleDragLocked.bind(n)),t.bind(S,n._onResizeHandleDragEnd.bind(n))},_getDeltas:function(e){return a({},{deltaX:0,deltaY:0,initialDeltaX:0,initialDeltaY:0},e)},_onResizeHandleDragVertical:function(e){var t=this._getDeltas(e);this._resizeHeight(t.deltaY,t.initialDeltaY),this.showResizeHandles()},_onResizeHandleDragHorizontal:function(e){var t=this._getDeltas(e);this._resizeWidth(t.deltaX,t.initialDeltaX),this.showResizeHandles()},_onResizeHandleDragLocked:function(e){var t,n=Math.min(Math.abs(e.initialDeltaX),Math.abs(e.initialDeltaY)),i=this._initialElementWidth,o=this._initialElementHeight;n===e.initialDeltaX||n===-1*e.initialDeltaX?(e.initialDeltaY=e.initialDeltaX*o/i,e.deltaY=e.deltaX):n!==e.initialDeltaY&&n!==-1*e.initialDeltaY||(e.initialDeltaX=e.initialDeltaY*i/o,e.deltaX=e.deltaY),t=this._getDeltas(e),this._resizeWidth(t.deltaX,t.initialDeltaX),this._resizeHeight(t.deltaY,t.initialDeltaY),this.showResizeHandles()},_resizeWidth:function(e,t){var n,i,r=this,a=o(r.element),s=_(a);0!==e&&(O(r._initialElementWidth)&&(r._initialElementWidth=s),i=p({value:r._initialElementWidth+t,min:r.options.minWidth,max:r._getMaxDimensionValue(B)}),n=g(i),a[0].style[B]=n,a.attr(B,Math.floor(i)))},_resizeHeight:function(e,t){var n,i,r=this,a=o(r.element),s=b(a);0!==e&&(O(r._initialElementHeight)&&(r._initialElementHeight=s),i=p({value:r._initialElementHeight+t,min:r.options.minHeight,max:Number.MAX_SAFE_INTEGER}),n=g(i),a[0].style[F]=n,a.attr(F,Math.floor(i)))}});const U=c.extend({create:function(e){let t=this;o(e.body).on("dragstart"+w,(function(){var t=y.nodes(e.getRange()),n=!1;t.forEach((function(e){"IMG"===e.nodeName&&(n=!0)})),n&&t.length>1&&e.elementResizing._destroyResizeHandles()})).on("drop"+w,(function(){setTimeout((function(){var t=y.image(e.getRange());t&&(e.elementResizing._destroyResizeHandles(),e.elementResizing.element=t,e.elementResizing.showResizeHandles())}))})).on(M+w,A+P+"img",(function(n){var i=n.target,o=n.currentTarget,a=e.elementResizing,s=a?a.element:null;if(a){if(s&&o!==s){if(r(o,s)&&s!==i&&r(s,i))return;s!==i&&(e._destroyElementResizing(),t._initResizing(e,o))}}else t._initResizing(e,o);e._showElementResizeHandles()})).on(M+w,(function(t){var n=e.elementResizing,i=n?n.element:null,a=t.target,s=o(a).hasClass(k)||o(a).parents("."+k).length>0;!n||i===a||r(i,a)||s||e._destroyElementResizing()}))},dispose:function(e){o(e.body).off(w)},_initResizing:function(t,n){s.msie||(o(n).is(A)?t.elementResizing=t.tableResizing=new R(n,{appendHandlesTo:t.body,rtl:e.support.isRtl(t.element),rootElement:t.body,editor:t}):o(n).is("img")&&(t.elementResizing=new N(n,{appendHandlesTo:t.body,rtl:e.support.isRtl(t.element),rootElement:t.body,editor:t})),t._showElementResizeHandlesProxy&&(t.unbind(I,t._showElementResizeHandlesProxy),t.bind(I,t._showElementResizeHandlesProxy)))}});U.current=new U,a(l,{TableResizing:R,ImageResizing:N,ElementResizing:L,ElementResizingFactory:U})}(window.kendo),function(e,t){var n=window.kendo,i=n.ui.editor,o=i.EditorUtils,r=i.RangeUtils,a=i.Dom,s=o.registerTool,l=i.Command,c=new i.BlockFormatFinder([{tags:["table"]}]),d=new i.BlockFormatFinder([{tags:["td","th"]}]),u=/([a-z]+|%)$/i,h="scope",p="col-index",f="th",m="td",v=l.extend({exec:function(){var e=this,o=e.editor,r=e.range=e.lockRange(),a=e.options.tableCellWizard,s=e._sourceTable=e.options.insertNewTable?t:e._selectedTable(r),l=e._selectedTableCells=s?e._selectedCells(r):t,c={visible:!1,messages:o.options.messages,closeCallback:e.onDialogClose.bind(e),table:e.parseTable(s,l),dialogOptions:o.options.dialogOptions,isRtl:n.support.isRtl(o.wrapper)};new i.TableWizardDialog(c).open(a)},onDialogClose:function(e){var t=this;t.releaseRange(t.range),e&&(t.options.insertNewTable?t.insertTable(t.createNewTable(e)):t.updateTable(e,t._sourceTable,t._selectedTableCells))},releaseRange:function(e){var t=this.editor.document;a.windowFromDocument(t).focus(),l.fn.releaseRange.call(this,e)},insertTable:function(e){var t=this.range;t.insertNode(e),t.collapse(!0),this.editor.selectRange(t),this._ensureFocusableAfterTable(e)},_ensureFocusableAfterTable:function(t){for(var n=e(t).parent().contents(),i=n.length-1,o=n.get(i);null!==o.nodeValue&&(" "===o.nodeValue||""===o.nodeValue);)i-=1,o=n.get(i);o===t&&a.insertAfter(a.createEmptyNode(this.editor.document,"p"),t)},updateTable:function(t,n,i){for(var o,r,s=this,l=e(n.rows).toArray(),c=t.tableProperties,d=c.rows,u=n.tHead,h=s._lastInCollection;i.length>1;)i.pop();o=i.length?h(i).parentNode:h(l),s._deleteTableRows(l,l.length-d),l.length<d&&s._addRows(o,d,l),a.reMapTableColumns(n,p),s._updateColumns(l,c.columns,i,o),s._updateTableProperties(n,c),r=t.cellProperties,i[0]&&a.attr(i[0],{id:(r||{}).id||null}),r&&(r.selectAllCells?e(l).children():e(i)).each((function(e,t){s._updateCellProperties(t,r,c)})),s._updateCaption(n,c),u?s._updateHeadersWithThead(n,t):s._updateHeadersNoThead(n,t),s._updateHeaderAssociates(n,c),a.clearTableMappings(n,p)},_isHeadingRow:function(e){return a.is(e.cells[0],f)&&a.is(e.parentNode,"thead")},_isHeadingCell:function(e){return a.is(e,f)},cellsWithHeadersAssociated:function(t){var n=e(t.rows).children(),i=[],o=function(e){return i.indexOf(e)>-1};return n.each((function(e,t){t.id&&a.is(t,f)&&i.push(t.id)})),!!n.filter((function(e,t){var n,i=t.getAttribute("headers");return!!(i&&!a.is(t,f)&&(n=i.split(" "))&&n.length>0)&&n.some(o)})).length},_insertCells:function(e,t,n){n=isNaN(n)?-1:n;for(var i=0;i<e;i++)t.insertCell(n).innerHTML=" "},_deleteTableRows:function(e,t){for(var n,i,o=0;o<t;o++)(i=(n=e.pop()).parentNode).removeChild(n),i.rows.length||a.remove(i)},createNewTable:function(e){var t,n=this,i=n.editor.document,o=e.tableProperties,r=a.create(i,"table"),s=0;n._updateTableProperties(r,o),n._updateCaption(r,o),o.headerRows&&o.headerRows>0&&(t=r.createTHead(),n._createTableRows(e,t,s,!0),s+=o.headerRows);var l=r.createTBody();return n._createTableRows(e,l,s,!1),a.reMapTableColumns(r,p),"ids"===o.cellsWithHeaders?a.associateWithIds(r):"scope"===o.cellsWithHeaders&&n._addScopes(r,o.headerRows,o.headerColumns),a.clearTableMappings(r,p),r},_createTableRows:function(e,t,n,i){for(var o,r=e.tableProperties,a=e.cellProperties,s=r.columns,l=i?r.headerRows:r.rows,c=r.headerColumns,d=n;d<l;d++){o=t.insertRow();for(var u,h=0;h<s;h++)u=i||c>h?document.createElement(f):document.createElement(m),o.appendChild(u),u.innerHTML=" ",a&&0===d&&0===h&&a.id&&(u.id=a.id),this._updateCellProperties(u,a&&(a.selectAllCells||0===d&&0===h)?a:{},r)}},_addRows:function(t,n,i){for(var o,r=e(t).index(),a=t.cells.length,s=n-i.length,l=t.parentNode;s;)o=l.insertRow(r+1),this._insertCells(a-o.cells.length,o),s--},_updateColumns:function(t,n,i,o){var r=this,a=r._lastInCollection,s=a(t[0].cells),l=Number(s.getAttribute(p))+s.colSpan;if(l>n&&e(t).each((function(e,t){for(var i=a(t.cells),o=Number(i.getAttribute(p))+i.colSpan;o>n;)i.colSpan&&i.colSpan>1?i.colSpan-=1:t.deleteCell(-1),i=a(t.cells),o=Number(i.getAttribute(p))+i.colSpan})),l<n){var c=e(a(i)||a(o.cells)).index();e(t).each((function(e,t){var i=a(t.cells);r._insertCells(n-Number(i.getAttribute(p))-i.colSpan,t,c+1)}))}},_updateTableProperties:function(t,n){var i=this._getStylesData(n);a.attr(t,{cellSpacing:n.cellSpacing||null,topCellPadding:this._getNumericValue(n.topCellPadding)??"",leftCellPadding:this._getNumericValue(n.leftCellPadding)??"",bottomCellPadding:this._getNumericValue(n.bottomCellPadding)??"",rightCellPadding:this._getNumericValue(n.rightCellPadding)??"",className:n.className||null,id:n.id||null,summary:n.summary||null,style:i||null}),e(t).addClass("k-table")},_updateCellProperties:function(e,t,n){var i=this._getStylesData(t);i.paddingTop=this._getNumericValue(t.topCellPadding)??this._getNumericValue(n?.topCellPadding)??"",i.paddingLeft=this._getNumericValue(t.leftCellPadding)??this._getNumericValue(n?.leftCellPadding)??"",i.paddingBottom=this._getNumericValue(t.bottomCellPadding)??this._getNumericValue(n?.bottomCellPadding)??"",i.paddingRight=this._getNumericValue(t.rightCellPadding)??this._getNumericValue(n?.rightCellPadding)??"",i.margin=t.cellMargin||null,a.attr(e,{style:i||null,className:t.className||null})},_updateCaption:function(e,t){if(e.caption&&!t.captionContent)e.deleteCaption();else if(t.captionContent){var n=e.createCaption();n.innerHTML=t.captionContent;var i=this._getAlignmentData(t.captionAlignment);a.attr(n,{style:{textAlign:i.textAlign,verticalAlign:i.verticalAlign}})}},_updateHeadersNoThead:function(e,t){var n,i,o,r,s=t.tableProperties,l=e.rows;for(o=0;o<l.length;o++)for(n=l[o].cells,r=0;r<n.length;r++)i=n[r],!this._isHeadingCell(i)&&(o<s.headerRows||s.headerColumns>i.getAttribute(p))?a.changeTag(i,f,!1):this._isHeadingCell(i)&&o>=s.headerRows&&s.headerColumns<=i.getAttribute(p)&&a.changeTag(i,m,!1)},_updateHeadersWithThead:function(e,t){var n,i,o,r=this,s=t.tableProperties,l=e.tHead,c=0,d=e.tBodies[0];if(d||(d=e.createTBody()),s.headerRows&&s.headerRows>0){for(l||(l=e.createTHead());l.rows.length<s.headerRows;)l.appendChild(d.rows[0]);for(;l.rows.length>s.headerRows;)d.appendChild(l.rows[0]);r._swapToHeaderCells(l)}else if(l){for(;l.rows.length>0;)d.appendChild(l.rows[l.rows.length-1]);e.deleteTHead()}for(;d.rows.length>c;){for(n=d.rows[c],o=0;o<n.cells.length;o++)i=n.cells[o],r._isHeadingCell(i)&&s.headerColumns<=i.getAttribute(p)?a.changeTag(i,m,!1):!r._isHeadingCell(i)&&s.headerColumns>i.getAttribute(p)&&a.changeTag(i,f,!1);c+=1}},_updateHeaderAssociates:function(e,t){var n=this;"ids"===t.cellsWithHeaders?(n.cellsWithHeadersAssociated(e)||n._removeScopes(e),a.associateWithIds(e)):"scope"===t.cellsWithHeaders?(n.cellsWithHeadersAssociated(e)&&n._removeAssociates(e),n._addScopes(e,t.headerRows,t.headerColumns)):n.cellsWithHeadersAssociated(e)?n._removeAssociates(e):n._removeScopes(e)},_addScopes:function(e,t,n){var i,o,r,a,s=e.rows;for(i=0;i<s.length;i++)for(r=s[i],o=0;o<r.cells.length;o++)a=r.cells[o],i<t?a.setAttribute(h,"col"):a.getAttribute(p)<n&&a.setAttribute(h,"row")},_removeScopes:function(t){e(t).find(f).removeAttr(h),e(t).find("col").remove(),e(t).find("colgroup").remove()},_removeAssociates:function(t){e(t).find("th, td").removeAttr("id headers")},_swapToHeaderCells:function(t){e(t).find("td").each((function(e,t){a.changeTag(t,f,!1)}))},_getStylesData:function(t){var n=this._getAlignmentData(t.alignment),i="wrapText"in t?t.wrapText?"":"nowrap":null;return e.extend({width:t.width?t.width+t.widthUnit:null,height:t.height?t.height+t.heightUnit:null,textAlign:n.textAlign,verticalAlign:n.verticalAlign,backgroundColor:t.bgColor||"",borderWidth:t.borderWidth,borderStyle:t.borderStyle,borderColor:t.borderColor||"",borderCollapse:t.collapseBorders?"collapse":null,whiteSpace:i},this._getTablePositionData(t.position))},_getAlignmentData:function(e){var t="",n=t;if(e)if(-1!=e.indexOf(" ")){var i=e.split(" ");t=i[0],n=i[1]}else t=e;return{textAlign:t,verticalAlign:n}},_getTablePositionData:function(e){return e?{marginLeft:"left"!=e?"auto":"",marginRight:"right"!=e?"auto":""}:{}},parseTable:function(n,i){if(!n)return{tableProperties:{},selectedCells:[]};var o=this,r=n.style,s=n.rows,l=n.caption,c=e(l?l.cloneNode(!0):t);c.find(".k-marker").remove();var d=n.className;d=(d=(d=d.replace(/^k-table\s|\sk-table$/,"")).replace(/\sk-table\s/," ")).replace(/^k-table$/,"");var u,h=o._getAlignment(n,!0),f=o._getTablePosition(n),m=l?o._getAlignment(l):t,v=a._getNumberOfHeaderRows(n);u=o.cellsWithHeadersAssociated(n)?"ids":e(n).find("th[scope]").length>0?"scope":"none",a.reMapTableColumns(n,p);var g=a._getNumberOfColumns(n),_=a._getNumberOfHeaderColumns(n,v);a.clearTableMappings(n,p);var b={tableProperties:{width:r.width||n.width?parseFloat(r.width||n.width):null,height:r.height||n.height?parseFloat(r.height||n.height):null,columns:g,rows:s.length,widthUnit:o._getUnit(r.width),heightUnit:o._getUnit(r.height),cellSpacing:n.cellSpacing,topCellPadding:n.topCellPadding,leftCellPadding:n.leftCellPadding,bottomCellPadding:n.bottomCellPadding,rightCellPadding:n.rightCellPadding,alignment:h.textAlign,position:f,bgColor:r.backgroundColor||n.bgColor,className:d,id:n.id,borderWidth:r.borderWidth||n.border,borderColor:r.borderColor,borderStyle:r.borderStyle||"",collapseBorders:!!r.borderCollapse,summary:n.summary,captionContent:l?c.html():"",captionAlignment:l&&m.textAlign?m.textAlign+" "+m.verticalAlign:"",headerRows:v,headerColumns:_,cellsWithHeaders:u},selectedCells:[]};return b.rows=o.parseTableRows(s,i,b),b},parseTableRows:function(t,n,i){for(var o,r,a,s,l=[],c=0;c<t.length;c++){o={cells:[]},r=t[c].cells,l.push(o);for(var d=0;d<r.length;d++)a=r[d],s=this.parseCell(a),-1!=e.inArray(a,n)&&i.selectedCells.push(s),o.cells.push(s)}return l},parseCell:function(e){var t=this,n=e.style,i=t._getAlignment(e);return i=i.textAlign?i.textAlign+" "+i.verticalAlign:"",{width:n.width||e.width?parseFloat(n.width||e.width):null,height:n.height||e.height?parseFloat(n.height||e.height):null,widthUnit:t._getUnit(n.width),heightUnit:t._getUnit(n.height),cellMargin:n.margin,topCellPadding:n.paddingTop,leftCellPadding:n.paddingLeft,bottomCellPadding:n.paddingBottom,rightCellPadding:n.paddingRight,alignment:i,bgColor:n.backgroundColor||e.bgColor,className:e.className,id:e.id,borderWidth:n.borderWidth||e.border,borderColor:n.borderColor,borderStyle:n.borderStyle,wrapText:"nowrap"!=n.whiteSpace}},_getTablePosition:function(e){var t=e.style;return"auto"==t.marginLeft&&"auto"==t.marginRight?"center":"auto"==t.marginLeft?"right":"left"},_getAlignment:function(e,t){var n=e.style,i=n.textAlign||e.align||"";if(t)return{textAlign:i};var o=n.verticalAlign||e.vAlign||"";return i&&o?{textAlign:i,verticalAlign:o}:!i&&o?{textAlign:"left",verticalAlign:o}:i&&!o?{textAlign:i,verticalAlign:"top"}:{textAlign:"",verticalAlign:""}},_getUnit:function(e){var t=(e||"").match(u);return t?t[0]:"px"},_selectedTable:function(e){var t=a.filterBy(r.nodes(e),a.htmlIndentSpace,!0);return c.findSuitable(t)[0]},_selectedCells:function(e){var t=a.filterBy(r.nodes(e),a.htmlIndentSpace,!0);return d.findSuitable(t)},_lastInCollection:function(e){return e[e.length-1]},_getNumericValue:function(e){return isNaN(e)&&"string"!=typeof e?null:e}}),g=i.Tool.extend({command:function(e){return e.insertNewTable=this.options.insertNewTable,e.tableCellWizard=!!this.options.tableCellWizard,new v(e)}}),_=g.extend({update:function(e,t){var n=!c.isFormatted(t),i=e.closest(".k-toolbar").getKendoToolBar();!0===n?i.hide(e):i.show(e)}}),b=g.extend({update:function(e,t){var n=!c.isFormatted(t),i=e.closest(".k-toolbar").getKendoToolBar();!0===n?i.hide(e):i.show(e)}});n.ui.editor.TableWizardTool=g,n.ui.editor.TableWizardCommand=v,s("tableProperties",new _({command:v,insertNewTable:!1,property:"tableProperties"})),s("tableCellProperties",new b({command:v,tableCellWizard:!0,insertNewTable:!1,property:"tableCellProperties"}))}(window.kendo.jQuery),function(e){const t="k-form-field",n="k-visibility-invisible",i=".";var o=window.kendo,r=o.htmlEncode,a={format:"0",min:0},s=["px","em"],l=["solid","dotted","dashed","double","groove","ridge","inset","outset","initial","inherit","none","hidden"],c={dataSource:[{className:"text-wrap",value:"wrap"},{className:"parameter-string",value:"nowrap"}],dataTextField:"className",dataValueField:"value",template:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t)})+r(n),valueTemplate:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t),iconClass:"k-text-wrap"})+r(n)},d={dataSource:[{className:"table-position-start",value:"left"},{className:"table-position-center",value:"center"},{className:"table-position-end",value:"right"}],dataTextField:"className",dataValueField:"value",template:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t)})+r(n),valueTemplate:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t),iconClass:"k-align-group"})+r(n)},u={dataSource:[{className:"table-align-middle-left",value:"left"},{className:"table-align-middle-center",value:"center"},{className:"table-align-middle-right",value:"right"},{className:"align-remove",value:""}],dataTextField:"className",dataValueField:"value",template:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t)})+r(n),valueTemplate:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t),iconClass:"k-align-group"})+r(n)},h={dataSource:[{className:"table-align-top-left",value:"left top"},{className:"table-align-top-center",value:"center top"},{className:"table-align-top-right",value:"right top"},{className:"table-align-middle-left",value:"left middle"},{className:"table-align-middle-center",value:"center middle"},{className:"table-align-middle-right",value:"right middle"},{className:"table-align-bottom-left",value:"left bottom"},{className:"table-align-bottom-center",value:"center bottom"},{className:"table-align-bottom-right",value:"right bottom"},{className:"align-remove",value:""}],dataTextField:"className",dataValueField:"value",template:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t)})+r(n),valueTemplate:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t),iconClass:"k-align-group"})+r(n)},p={dataSource:[{className:"table-align-top-left",value:"left top"},{className:"table-align-top-center",value:"center top"},{className:"table-align-top-right",value:"right top"},{className:"table-align-bottom-left",value:"left bottom"},{className:"table-align-bottom-center",value:"center bottom"},{className:"table-align-bottom-right",value:"right bottom"},{className:"align-remove",value:""}],dataTextField:"className",dataValueField:"value",template:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t)}),valueTemplate:({className:t,tooltip:n})=>o.ui.icon(e(`<span title="${r(n)}"></span>`),{icon:r(t),iconClass:"k-align-group"})},f=({messages:e})=>`<div class="k-editor-dialog k-editor-table-wizard-window k-action-window k-popup-edit-form"><div id="k-table-wizard-tabs" class="k-root-tabs"><ul><li class="k-active">${e.tableTab}</li><li>${e.accessibilityTab}</li></ul><div id="k-table-properties"></div><div id="k-accessibility-properties"></div></div><div class="k-actions k-actions-start k-actions-horizontal k-window-buttons">`+o.html.renderButton(`<button class="k-dialog-ok"><span class="k-button-text">${e.dialogOk}</span></button>`,{icon:"check",themeColor:"primary"})+o.html.renderButton(`<button class="k-dialog-close"><span class="k-button-text">${e.dialogCancel}</span></button>`,{icon:"cancel-outline"})+"</div></div>",m=({messages:e})=>'<div class="k-editor-dialog k-editor-table-wizard-window k-action-window k-popup-edit-form"><div id="k-cell-properties"></div><div class="k-actions k-actions-start k-actions-horizontal k-window-buttons">'+o.html.renderButton(`<button class="k-dialog-ok"><span class="k-button-text">${e.dialogOk}</span></button>`,{icon:"check",themeColor:"primary"})+o.html.renderButton(`<button class="k-dialog-close"><span class="k-button-text">${e.dialogCancel}</span></button>`,{icon:"cancel-outline"})+"</div></div>",v=o.Class.extend({init:function(e){this.options=e},_openTablePropertiesDialog:function(){var t,n=this,i=n.options,r=i.dialogOptions,a=i.table,s=i.messages,l=o.support.browser.msie;function c(e){e.preventDefault(),n.destroy(),t.destroy()}function d(e){c(e),i.closeCallback()}r.close=d,r.minWidth=700,r.width=700,r.title=s.tableProperties,r.visible=i.visible;var u=(t=e(n._dialogTemplate(s)).appendTo(document.body).kendoWindow(r).addClass("k-editor-window").closest(".k-window").toggleClass("k-rtl",i.isRtl).end().find(".k-dialog-ok").on("click",(function(e){n.collectTableDialogValues(a),c(e),n.change&&n.change(),i.closeCallback(a)})).end().find(".k-dialog-close").on("click",d).end().data("kendoWindow")).element;if(this.components={},n._initTabStripComponent(u),n._tablePropertiesForm=n._createTablePropertiesForm(t,s),n._accessibilityPropertiesForm=n._createAccessibilityPropertiesForm(t,s),t.center(),t.open(),l){var h=u.closest(".k-window").height();u.css("max-height",h)}},_openCellPropertiesDialog:function(){var t,n=this,i=n.options,r=i.dialogOptions,a=i.table,s=i.messages,l=o.support.browser.msie;function c(e){e.preventDefault(),n.destroy(),t.destroy()}function d(e){c(e),i.closeCallback()}r.close=d,r.minWidth=400,r.title=s.tableCellProperties,r.visible=i.visible;var u=(t=e(n._dialogTemplate(s,m)).appendTo(document.body).kendoWindow(r).addClass("k-editor-window").closest(".k-window").toggleClass("k-rtl",i.isRtl).end().find(".k-dialog-ok").on("click",(function(e){n.collectCellDialogValues(a),c(e),n.change&&n.change(),i.closeCallback(a)})).end().find(".k-dialog-close").on("click",d).end().data("kendoWindow")).element;if(n._cellPropertiesForm=n._createCellPropertiesForm(t,s),t.center(),t.open(),l){var h=u.closest(".k-window").height();u.css("max-height",h)}},open:function(e){e?this._openCellPropertiesDialog():this._openTablePropertiesDialog()},_initTabStripComponent:function(e){(this.components={}).tabStrip=e.find("#k-table-wizard-tabs").kendoTabStrip({animation:!1}).data("kendoTabStrip")},collectTableDialogValues:function(){var e=this,t=e.options.table;e._collectTableViewValues(t),e._collectAccessibilityViewValues(t)},collectCellDialogValues:function(){var e=this.options.table;this._collectCellViewValues(e)},_collectTableViewValues:function(e){var t=this.components.tableView,n=e.tableProperties,i=e.cellProperties=e.cellProperties||{};n.width=t.width.value(),n.widthUnit=t.widthUnit.value(),n.height=t.height.value(),n.columns=t.columns.value(),n.rows=t.rows.value(),n.heightUnit=t.heightUnit.value(),n.cellSpacing=t.cellSpacing.value(),n.topCellPadding=t.topCellPadding.value(),n.leftCellPadding=t.leftCellPadding.value(),n.bottomCellPadding=t.bottomCellPadding.value(),n.rightCellPadding=t.rightCellPadding.value(),n.alignment=t.alignment.value(),n.position=t.position.value(),n.bgColor=t.bgColor.value(),n.borderWidth=t.borderWidth.value(),n.borderColor=t.borderColor.value(),n.borderStyle=t.borderStyle.value(),n.collapseBorders=t.collapseBorders.check(),i.width||(i.selectAllCells=!0,i.width=100/e.tableProperties.columns,i.widthUnit="%")},_collectCellViewValues:function(e){var t=e.cellProperties=e.cellProperties||{},n=this.components.cellView;t.selectAllCells=n.selectAllCells.check(),t.width=n.width.value(),t.widthUnit=n.widthUnit.value(),t.height=n.height.value(),t.heightUnit=n.heightUnit.value(),t.independentCellPaddings=n.independentCellPaddings.check(),t.topCellPadding=n.topCellPadding.value(),t.leftCellPadding=n.leftCellPadding.value(),t.bottomCellPadding=n.bottomCellPadding.value(),t.rightCellPadding=n.rightCellPadding.value(),t.cellMargin=n.cellMargin.value(),t.alignment=n.alignment.value(),t.bgColor=n.bgColor.value(),t.className=n.className.value(),t.id=n.id.value(),t.borderWidth=n.borderWidth.value(),t.borderColor=n.borderColor.value(),t.borderStyle=n.borderStyle.value(),t.wrapText="wrap"==n.wrapTextValue.value(),t.width||(t.selectAllCells=!0,t.width=100/e.tableProperties.columns,t.widthUnit="%")},_collectAccessibilityViewValues:function(e){var t=e.tableProperties,n=this.components.accessibilityView;t.captionContent=n.captionContent.value(),t.captionAlignment=n.captionAlignment.value(),t.summary=n.summary.value(),t.cellsWithHeaders=n.cellsWithHeaders.value(),t.className=n.className.value(),t.id=n.id.value(),t.headerRows=n.headerRows.value(),t.headerColumns=n.headerColumns.value()},_addUnit:function(t,n){n&&-1==e.inArray(n,t)&&t.push(n)},_initNumericTextbox:function(t,n,i,o,r){var s=o[n]=t.kendoNumericTextBox(r?e.extend({},a,r):a).data("kendoNumericTextBox");n in i&&s.value(parseInt(i[n],10))},_initDropDownList:function(e,t,n,i,o){var r=i[t]=e.kendoDropDownList({dataSource:o}).data("kendoDropDownList");this._setComponentValue(r,n,t)},_initBorderStyleDropDown:function(e,t,n,i,o){var r=i[t]=e.kendoDropDownList({dataSource:o,optionLabel:this.options.messages.borderNone}).data("kendoDropDownList");this._setComponentValue(r,n,t)},_initTablePositionDropDown:function(e,t){var n=this.options.messages,i=this.components.tableView,o=d.dataSource;o[0].tooltip=n.tableAlignLeft,o[1].tooltip=n.tableAlignCenter,o[2].tooltip=n.tableAlignRight,this._initPositionDropDown(e,d,"position",t,i)},_initTableAlignmentDropDown:function(e,t){var n=this.options.messages,i=this.components.tableView,o=u.dataSource;o[0].tooltip=n.alignLeft,o[1].tooltip=n.alignCenter,o[2].tooltip=n.alignRight,o[3].tooltip=n.alignRemove,this._initAlignmentDropDown(e,u,"alignment",t,i)},_initCellAlignmentDropDown:function(e,t){var n=this.options.messages,i=this.components.cellView,o=h.dataSource;o[0].tooltip=n.alignLeftTop,o[1].tooltip=n.alignCenterTop,o[2].tooltip=n.alignRightTop,o[3].tooltip=n.alignLeftMiddle,o[4].tooltip=n.alignCenterMiddle,o[5].tooltip=n.alignRightMiddle,o[6].tooltip=n.alignLeftBottom,o[7].tooltip=n.alignCenterBottom,o[8].tooltip=n.alignRightBottom,o[9].tooltip=n.alignRemove,this._initAlignmentDropDown(e,h,"alignment",t,i)},_initAccessibilityAlignmentDropDown:function(e,t){var n=this.options.messages,i=this.components.accessibilityView,o=p.dataSource;o[0].tooltip=n.alignLeftTop,o[1].tooltip=n.alignCenterTop,o[2].tooltip=n.alignRightTop,o[3].tooltip=n.alignLeftBottom,o[4].tooltip=n.alignCenterBottom,o[5].tooltip=n.alignRightBottom,o[6].tooltip=n.alignRemove,this._initAlignmentDropDown(e,p,"captionAlignment",t,i)},_initTextWrapDropDown:function(e,t){var n=this.options.messages,i="wrapTextValue";t.wrapTextValue=t.wrapText?"wrap":"nowrap";var o=this.components.cellView,r=c.dataSource;r[0].tooltip=n.wrapText,r[1].tooltip=n.fitToCell;var a=o[i]=e.kendoDropDownList(c).data("kendoDropDownList");a.list.addClass("k-text-wrap"),this._setComponentValue(a,t,i)},_initPositionDropDown:function(e,t,n,i,o){var r=o[n]=e.kendoDropDownList(t).data("kendoDropDownList");r.list.addClass("k-position"),this._setComponentValue(r,i,n)},_initAlignmentDropDown:function(e,t,n,i,o){var r=o[n]=e.kendoDropDownList(t).data("kendoDropDownList");r.list.addClass("k-align"),this._setComponentValue(r,i,n)},_initAssociationDropDown:function(e,t,n,i,o){var r=o[t]=e.kendoDropDownList(n).data("kendoDropDownList");this._setComponentValue(r,i,t)},_setComponentValue:function(e,t,n){n in t&&e.value(t[n])},_initColorPicker:function(e,t,n,i){var o=i[t]=e.kendoColorPicker({buttons:!1,clearButton:!0}).data("kendoColorPicker");n[t]&&o.value(n[t])},_initInput:function(e,t,n,i,o){var r=i[t]=e.kendoTextBox(o||{}).data("kendoTextBox");t in n&&r.value(n[t])},_initCheckbox:function(e,t,n,i,o){var r=i[t]=e.kendoCheckBox(o||{}).data("kendoCheckBox");t in n&&r.check(n[t])},_initTextArea:function(e,t,n,i,o){var r=i[t]=e.kendoTextArea(o||{}).data("kendoTextArea");t in n&&r.value(n[t])},destroy:function(){this._destroyComponents(this.components),delete this.components},_destroyComponents:function(e){for(var t in e)e[t].destroy&&e[t].destroy(),delete e[t]},_dialogTemplate:function(e,t){return o.template(t||f)({messages:e})},_onPaddingTopChange:function(e){let t=this.components.tableView?"tableView":"cellView",n=this.components[t],i=!n.independentCellPaddings.check(),o=n.topCellPadding,r=o.value(),a=n.leftCellPadding,s=n.bottomCellPadding,l=n.rightCellPadding;i&&(a.value(r),s.value(r),l.value(r)),o._cachedPadding=r},_onPaddingCheckChange:function(e){let o=this.components.tableView?"tableView":"cellView",r=this.options.messages,a=e.sender.check(),s=this.components[o],l=s.topCellPadding,c=s.leftCellPadding,d=s.bottomCellPadding,u=s.rightCellPadding,h=l.value(),p=d.value(),f=c.value(),m=u.value();a?(isNaN(l._cachedPadding)||l.value(l._cachedPadding),c.wrapper.closest(i+t).removeClass(n),d.wrapper.closest(i+t).removeClass(n),u.wrapper.closest(i+t).removeClass(n),l.wrapper.closest(i+t).find(".k-form-label").text(r.topPadding)):(h===p&&h===f&&h===m?(c.value(h),d.value(h),u.value(h)):l.value(null),c.wrapper.closest(i+t).addClass(n),d.wrapper.closest(i+t).addClass(n),u.wrapper.closest(i+t).addClass(n),l.wrapper.closest(i+t).find(".k-form-label").text(r.cellPadding))},_onColumnsNumberChange:function(e){var t=this.components.accessibilityView.headerColumns,n=t.value(),i=e.sender.value();i<n&&t.value(i),t.max(i)},_onRowsNumberChange:function(e){var t=this.components.accessibilityView.headerRows,n=t.value(),i=e.sender.value();i<n&&t.value(i),t.max(i)},_createTablePropertiesForm:function(t,n){var i,o=this,a=o.options.table,c=t.element.find("#k-table-properties"),d=o.components.tableView={},u=a.tableProperties=a.tableProperties||{};return o._addUnit(s,u.widthUnit),o._addUnit(s,u.heightUnit),u.borderStyle=u.borderStyle||"",(i=c.kendoForm({renderButtons:!1,layout:"grid",grid:{cols:4},items:[{colSpan:2,field:"k-editor-table-columns",label:r(n.columns),editor:function(t,n){o._initNumericTextbox(e('<input type="numeric" id="k-editor-table-columns" />').appendTo(t),"columns",u,d,{min:1,value:4,change:o._onColumnsNumberChange.bind(o)})}},{colSpan:2,field:"k-editor-table-rows",label:r(n.rows),editor:function(t,n){o._initNumericTextbox(e('<input type="numeric" id="k-editor-table-rows" />').appendTo(t),"rows",u,d,{min:1,value:4,change:o._onRowsNumberChange.bind(o)})}},{colSpan:1,field:"k-editor-table-width",label:r(n.width),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-width" />').appendTo(t),"width",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-table-width-type",label:{encoded:!1,text:" "},editor:function(t,i){o._initDropDownList(e(`<input id="k-editor-table-width-type" aria-label="${n.units}" />`).appendTo(t),"widthUnit",u,d,s)}},{colSpan:1,field:"k-editor-table-height",label:r(n.height),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-height" />').appendTo(t),"height",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-table-height-type",label:{encoded:!1,text:" "},editor:function(t,i){o._initDropDownList(e(`<input id="k-editor-table-height-type" aria-label="${n.units}" />`).appendTo(t),"heightUnit",u,d,s)}},{colSpan:2,field:"k-editor-table-position",label:r(n.position),editor:function(t,n){o._initTablePositionDropDown(e('<input id="k-editor-table-position" class="k-position" />').appendTo(t),u)}},{colSpan:2,field:"k-editor-table-alignment",label:r(n.alignment),editor:function(t,n){o._initTableAlignmentDropDown(e('<input id="k-editor-table-alignment" class="k-align" />').appendTo(t),u)}},{colSpan:2,field:"k-editor-table-cell-spacing",label:r(n.cellSpacing),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cell-spacing" />').appendTo(t),"cellSpacing",u,d,{placeholder:r(n.auto)})}},{type:"group",label:"Cell Paddings",layout:"grid",colSpan:4,grid:{cols:4,gutter:20},items:[{colSpan:"full",field:"k-editor-padding-all-sides",label:"",editor:function(t,i){o._initCheckbox(e('<input id="k-editor-padding-all-sides" />').appendTo(t),"independentCellPaddings",u,d,{checked:!0,label:r(n.independentCellPaddings),change:o._onPaddingCheckChange.bind(o)})}},{colSpan:1,field:"k-editor-table-cell-padding-top",label:r(n.topPadding),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cell-padding-top" />').appendTo(t),"topCellPadding",u,d,{placeholder:r(n.auto),change:o._onPaddingTopChange.bind(o)})}},{colSpan:1,field:"k-editor-table-cell-padding-right",label:r(n.rightPadding),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cell-padding-right" />').appendTo(t),"rightCellPadding",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-table-cells-padding-bottom",label:r(n.bottomPadding),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cell-padding-bottom" />').appendTo(t),"bottomCellPadding",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-table-cell-padding-left",label:r(n.leftPadding),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cell-padding-left" />').appendTo(t),"leftCellPadding",u,d,{placeholder:r(n.auto)})}}]},{type:"group",label:"Borders",layout:"grid",colSpan:4,grid:{cols:4,gutter:10},items:[{colSpan:"full",field:"k-editor-table-bg",label:r(n.tableBackground),editor:function(t,n){o._initColorPicker(e('<input id="k-editor-table-bg" />').appendTo(t),"bgColor",u,d)}},{colSpan:1,field:"k-editor-border-width",label:r(n.borderWidth),editor:function(t,n){o._initNumericTextbox(e('<input id="k-editor-border-width" />').appendTo(t),"borderWidth",u,d)}},{colSpan:1,field:"k-editor-border-color",label:r(n.borderColor),editor:function(t,n){o._initColorPicker(e('<input id="k-editor-border-color" />').appendTo(t),"borderColor",u,d)}},{colSpan:2,field:"k-editor-border-style",label:r(n.borderStyle),editor:function(t,n){o._initBorderStyleDropDown(e('<input id="k-editor-border-style" />').appendTo(t),"borderStyle",u,d,l)}},{colSpan:"full",field:"k-editor-collapse-borders",label:"",editor:function(t,i){o._initCheckbox(e('<input id="k-editor-collapse-borders"/>').appendTo(t),"collapseBorders",u,d,{label:r(n.collapseBorders)})}}]}]}).data("kendoForm")).layoutWrapper.addClass("k-gap-x-4"),i},_createCellPropertiesForm:function(t,n){var i,o=this,a=o.options.table,c=t.element.find("#k-cell-properties"),d=(o.components=o.components||{}).cellView={},u=a.selectedCells&&a.selectedCells[0]||{borderStyle:"",wrapText:!0};return o._addUnit(s,u.widthUnit),o._addUnit(s,u.heightUnit),(i=c.kendoForm({renderButtons:!1,layout:"grid",grid:{cols:4},items:[{colSpan:"full",field:"k-editor-selectAllCells",label:"",editor:function(t,i){o._initCheckbox(e('<input id="k-editor-selectAllCells" />').appendTo(t),"selectAllCells",a.tableProperties,d,{label:r(n.selectAllCells)})}},{colSpan:1,field:"k-editor-cell-width",label:r(n.width),hint:r(n.applyToColumn),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-cell-width" />').appendTo(t),"width",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-cell-width-type",label:{encoded:!1,text:" "},editor:function(t,i){o._initDropDownList(e(`<input id="k-editor-cell-width-type" aria-label="${n.units}" />`).appendTo(t),"widthUnit",u,d,s)}},{colSpan:1,field:"k-editor-cell-height",label:r(n.height),hint:r(n.applyToRow),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-cell-height" />').appendTo(t),"height",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-cell-height-type",label:{encoded:!1,text:" "},editor:function(t,i){o._initDropDownList(e(`<input id="k-editor-cell-height-type" aria-label="${n.units}" />`).appendTo(t),"heightUnit",u,d,s)}},{colSpan:2,field:"k-editor-cell-alignment",label:r(n.alignment),editor:function(t,n){o._initCellAlignmentDropDown(e('<input id="k-editor-cell-alignment" class="k-align" />').appendTo(t),u)}},{colSpan:2,field:"k-editor-wrap-text",label:"Text control",editor:function(t,n){o._initTextWrapDropDown(e('<input id="k-editor-wrap-text" />').appendTo(t),u)}},{colSpan:"full",field:"k-editor-cell-bg",label:r(n.background),editor:function(t,n){o._initColorPicker(e('<input id="k-editor-cell-bg" />').appendTo(t),"bgColor",u,d)}},{colSpan:2,field:"k-editor-table-cell-margin",label:r(n.cellMargin),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cell-margin" />').appendTo(t),"cellMargin",u,d,{placeholder:r(n.auto)})}},{type:"group",label:"Cell Paddings",layout:"grid",colSpan:4,grid:{cols:4,gutter:20},items:[{colSpan:"full",field:"k-editor-padding-all-sides",label:"",editor:function(t,i){o._initCheckbox(e('<input id="k-editor-padding-all-sides" />').appendTo(t),"independentCellPaddings",a.tableProperties,d,{checked:!0,label:r(n.independentCellPaddings),change:o._onPaddingCheckChange.bind(o)})}},{colSpan:1,field:"k-editor-table-cells-padding-top",label:r(n.topPadding),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cells-padding-top" />').appendTo(t),"topCellPadding",u,d,{placeholder:r(n.auto),change:o._onPaddingTopChange.bind(o)})}},{colSpan:1,field:"k-editor-table-cells-padding-right",label:r(n.rightPadding),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cells-padding-right" />').appendTo(t),"rightCellPadding",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-table-cells-padding-bottom",label:r(n.bottomPadding),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cells-padding-bottom" />').appendTo(t),"bottomCellPadding",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-table-cells-padding-left",label:r(n.leftPadding),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-table-cells-padding-left" />').appendTo(t),"leftCellPadding",u,d,{placeholder:r(n.auto)})}}]},{type:"group",label:"Borders",layout:"grid",colSpan:4,grid:{cols:4,gutter:10},items:[{colSpan:1,field:"k-editor-cell-border-width",label:r(n.borderWidth),editor:function(t,i){o._initNumericTextbox(e('<input id="k-editor-cell-border-width" />').appendTo(t),"borderWidth",u,d,{placeholder:r(n.auto)})}},{colSpan:1,field:"k-editor-cell-border-color",label:r(n.borderColor),editor:function(t,i){o._initColorPicker(e('<input id="k-editor-cell-border-color" />').appendTo(t),"borderColor",u,d,{placeholder:r(n.auto)})}},{colSpan:2,field:"k-editor-cell-border-style",label:r(n.borderStyle),editor:function(t,n){o._initBorderStyleDropDown(e('<input id="k-editor-cell-border-style" />').appendTo(t),"borderStyle",u,d,l)}}]},{colSpan:"full",field:"k-editor-cell-id",label:{text:r(n.id),optional:!0},editor:function(t,n){o._initInput(e('<input id="k-editor-cell-id" />').appendTo(t),"id",u,d)}},{colSpan:"full",field:"k-editor-cell-css-class",label:{text:r(n.cssClass),optional:!0},editor:function(t,n){o._initInput(e('<input id="k-editor-cell-css-class" />').appendTo(t),"className",u,d)}}]}).data("kendoForm")).layoutWrapper.addClass("k-gap-x-4"),i},_createAccessibilityPropertiesForm:function(t,n){var i,o=this,a=o.options.table,s=t.element.find("#k-accessibility-properties"),l=o.components.accessibilityView={},c=a.tableProperties;return(i=s.kendoForm({renderButtons:!1,layout:"grid",grid:{cols:4},items:[{colSpan:"full",field:"k-editor-id",label:{text:r(n.id),optional:!0},editor:function(t,n){o._initInput(e('<input id="k-editor-id" />').appendTo(t),"id",c,l)}},{colSpan:"full",field:"k-editor-css-class",label:{text:r(n.cssClass),optional:!0},editor:function(t,n){o._initInput(e('<input id="k-editor-css-class" />').appendTo(t),"className",c,l)}},{layout:"grid",grid:{cols:4,gutter:16},colSpan:"full",type:"group",label:"Accessibility",items:[{colSpan:2,field:"k-editor-table-caption",label:{text:r(n.caption),optional:!0},editor:function(t,n){o._initInput(e('<input id="k-editor-table-caption" />').appendTo(t),"captionContent",c,l)}},{colSpan:2,field:"k-editor-accessibility-alignment",label:r(n.captionAlignment),editor:function(t,n){o._initAccessibilityAlignmentDropDown(e('<input id="k-editor-accessibility-alignment" />').appendTo(t),c)}},{colSpan:1,field:"k-editor-table-header-rows",label:r(n.headerRows),editor:function(t,n){o._initNumericTextbox(e('<input id="k-editor-table-header-rows" />').appendTo(t),"headerRows",c,l,{max:c.rows||4})}},{colSpan:1,field:"k-editor-table-header-columns",label:r(n.headerColumns),editor:function(t,n){o._initNumericTextbox(e('<input id="k-editor-table-header-columns" />').appendTo(t),"headerColumns",c,l,{max:c.columns||4})}},{colSpan:2,field:"k-editor-cells-headers",label:r(n.associateCellsWithHeaders),editor:function(t,i){var r=e(`<select id="k-editor-cells-headers">\n <option value="none">${n.associateNone}</option>\n <option value="scope">${n.associateScope}</option>\n <option value="ids">${n.associateIds}</option>\n </select>`).appendTo(t);o._initAssociationDropDown(r,"cellsWithHeaders",{valuePrimitive:!0},c,l)}},{colSpan:"full",field:"k-editor-accessibility-summary",label:{text:r(n.summary),optional:!0},editor:function(t,i){o._initTextArea(e('<textarea id="k-editor-accessibility-summary"></textarea>').appendTo(t),"summary",c,l,{rows:5,placeholder:n.tableSummaryPlaceholder})}}]}]}).data("kendoForm")).layoutWrapper.addClass("k-gap-x-4"),i}});o.ui.editor.TableWizardDialog=v}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.html.HTMLBase,i=n.extend({init:function(e,t){n.fn.init.call(this,e,t),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(t.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 o=0;o<i.actions.length;o++){var r=i.actions[o];n.actionsWrapper.append(e(`<span class='k-chip-action ${r.iconClass?r.iconClass:""}'>${t.ui.icon({icon:r.icon,size:"small"})}</span>`).attr(r.attr?r.attr:{}))}i.removable&&n.actionsWrapper.append(e(`<span class='k-chip-action k-chip-remove-action'>${t.ui.icon({icon:i.removeIcon,size:"small"})}</span>`).attr(i.removableAttr))}});e.extend(t.html,{renderChip:function(t,n){return t&&!e.isPlainObject(t)||(n=t,t=e("<span></span>")),new i(t,n).html()},HTMLChip:i}),t.cssProperties.registerPrefix("HTMLChip","k-chip-"),t.cssProperties.registerValues("HTMLChip",[{prop:"rounded",values:t.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.html.HTMLBase,i=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 n=this,i=((t=e.extend({selectable:"none"},t)).attributes||{})["aria-label"];"none"!==t.selectable?n.element.attr({"aria-multiselectable":"multiple"===t.selectable,role:"listbox","aria-label":i||n.element.attr("id")+" listbox","aria-orientation":"horizontal"}):n.element.removeAttr("role aria-label aria-multiselectable aria-orientation")}});e.extend(t.html,{renderChipList:function(t,n){return(undefined===arguments[0]||e.isPlainObject(arguments[0]))&&(n=t,t=e("<div></div>")),new i(t,n).html()},HTMLChipList:i}),t.cssProperties.registerPrefix("HTMLChipList","k-chip-list-")}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui,o=i.List,r=n.htmlEncode,a=n.html,s=e.extend({A:65},n.keys),l=n._activeElement,c=n.data.ObservableArray,u="id",h=".k-chip",p="accept",f="filter",m="rebind",v="open",g="close",_="change",b="select",y="deselect",w="aria-disabled",k="aria-readonly",x="aria-expanded",C="aria-hidden",z="aria-activedescendant",S="k-focus",T="k-selected",M="k-hover",I="k-disabled",H="k-no-click",D="disabled",E="readonly",A=".kendoMultiSelect",V="click"+A,P="keydown"+A,B="mouseenter"+A,F="mouseleave"+A,O=B+" "+F,L=/"/g,R=Array.isArray,N=["font-family","font-size","font-stretch","font-style","font-weight","letter-spacing","text-transform","line-height"],U=o.extend({init:function(t,i){var r,a=this;a.ns=A,o.fn.init.call(a,t,i),a._optionsMap={},a._customOptions={},a.options.inputMode=a.options.inputMode||a.element.attr("inputmode")||"text",a._wrapper(),a._inputValuesContainer(),a._tagList(),a._input(),a._textContainer(),a._clearButton(),a._arrowButton(),a._tabindex(a.input),t=a.element.attr("multiple","multiple").hide(),(i=a.options).placeholder||(i.placeholder=t.data("placeholder")),(r=t.attr(u))||(r=n.guid()),r&&(a._tagID=r+"_tag_active",r+="_taglist",a.tagList.attr(u,r)),a._initialOpen=!0,i.label&&this._label(),a._aria(),a._dataSource(),a._ignoreCase(),a._popup(),a._tagTemplate(),a.requireValueMapper(a.options),a._initList(),a._reset(),a._enable(),a._placeholder(),i.autoBind?a.dataSource.fetch():i.value&&a._preselect(i.value),e(a.element).parents("fieldset").is(":disabled")&&a.enable(!1),a._toggleCloseVisibility(),a._applyCssClasses(),d({widget:a,wrapper:a.wrapper,options:a.options,prefixInsertBefore:a._inputValuesContainer,suffixInsertAfter:i.clearButton?a._clear:a.element.find("k-input-values")}),a.floatingLabel&&a.floatingLabel.refresh(),n.notify(a)},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:e=>r(e),fixedGroupTemplate:e=>r(e),prefixOptions:{separator:!0},suffixOptions:{separator:!0},clearButton:!0,autoWidth:!1,popup:null,size:"medium",fillMode:"solid",rounded:"medium",label:null},events:[v,g,_,b,y,"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);o.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 n=this;if(e===t)return n._currentTag;n._currentTag&&(n._currentTag.removeClass(S).removeAttr(u),n._currentTag.find(".k-chip-action").attr(C,!0),n.input.removeAttr(z)),e&&(e.addClass(S).attr(u,n._tagID),e.find(".k-chip-action").removeAttr(C),n.input.attr(z,n._tagID)),n._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),o.fn.destroy.call(e)},_onActionSheetCreate:function(){var e=this;e.filterInput.on("keydown"+A,e._keydown.bind(e)).on("input"+A,e._search.bind(e)).on("paste"+A,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",(()=>{e.filterInput.val(e.input.val()),e.filterInput.trigger("focus")})),e.popup.bind("close",(()=>{e.input.trigger("focus")}))},_aria:function(){var e=this,t=e.ul[0].id,n="none"===this.options.filter?"none":"list",i=e.tagList.attr(u);e.input.attr({role:"combobox","aria-expanded":!1,"aria-controls":t,"aria-autocomplete":n,"aria-describedby":i}),e._ariaLabel(e._focused)},_activateItem:function(){this.popup.visible()&&o.fn._activateItem.call(this),this.currentTag(null)},_listOptions:function(t){var i=this,a=o.fn._listOptions.call(i,e.extend(t,{selectedItemChange:i._selectedItemChange.bind(i),selectable:"multiple"})),s=this.options.itemTemplate||this.options.template,l=a.itemTemplate||s||a.template;return l||(l=e=>r(n.getter(a.dataTextField)(e))),a.template=l,a},_setListValue:function(){o.fn._setListValue.call(this,this._initialValues.slice(0))},_listChange:function(e){var n=this.dataSource.flatView(),i=this._optionsMap,o=this._value;this._state===m&&(this._state="");for(var r=0;r<e.added.length;r++)if(i[o(e.added[r].dataItem)]===t){this._render(n);break}this._selectValue(e.added,e.removed)},_selectedItemChange:function(e){var t,n,i=e.items;for(n=0;n<i.length;n++)t=i[n],this.tagList.children(h).eq(t.index).children("span").first().html(this.tagTextTemplate(t.item))},_wrapperMousedown:function(t){var i=this,o="input"!==t.target.nodeName.toLowerCase(),r=e(t.target),a=r.closest(".k-input-button, .k-chip").children("[class*='-i-caret-alt-down']")[0],s=r.closest("[class*='-i-x']")[0];!o||s&&n.support.mobileOS||!t.cancelable||t.preventDefault(),s||(a&&i.popup.visible()?i.toggle(!1):(i.input[0]!==l()&&o&&i.input.trigger("focus"),1!==i.options.minLength||i.popup.visible()||i.open()))},_inputFocus:function(){this._placeholder(!1,!0),this.wrapper.addClass(S)},_inputFocusout:function(e){var t=this;t.filterInput&&e.relatedTarget===t.filterInput[0]||(clearTimeout(t._typingTimeout),t.wrapper.removeClass(S),t._placeholder(!t.listView.selectedDataItems()[0],!0),t.close(),t._state===f&&(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,n){var i,o=this,r=o._state,a=e.index(),s=o.listView,l=s.value()[a],c=o.listView.selectedDataItems()[a],d=o._customOptions[l],u=s.element[0].children;if(o.trigger(y,{dataItem:c,item:e}))o._close();else{d!==t||r!==p&&r!==f||(d=o._optionsMap[l]);var h=function(){o.currentTag(null),n&&o._change(),o._refreshTagListAria(),o._close()};d===t&&s.select().length?(o.persistTagList=!1,s.select(s.select()[a]).done(h)):((i=o.element[0].children[d])&&(i.selected=!1),s.removeAt(a),s._removedAddedIndexes&&s._removedAddedIndexes.splice(a,1),u[d]&&u[d].classList.remove("k-selected"),"single"!==o.options.tagMode?e.remove():o._updateTagListHTML(),h())}},_tagListClick:function(t){t.preventDefault(),t.stopPropagation();var n=e(t.currentTarget);n.is("[class*='-i-x-circle']")&&this._removeTag(n.closest(h),!0)},_clearValue:function(){var t=this;"single"===t.options.tagMode?t._clearSingleTagValue():t.tagList.children(h).each((function(n,i){t._removeTag(e(i),!1)})),t.input.val(""),t._search(!0),t._change(),t.focus(),t._hideClear(),t._state===f&&(t._state=p)},_clearSingleTagValue:function(){for(var e=this,t=e.dataItems(),n=e.tagList.children(h),i=e.persistTagList,o=0;o<t.length;o+=1)if(e.trigger(y,{dataItem:t[o],item:n.first()}))return void e._close();i&&(e.persistTagList=!1),e.listView.value([]),e.persistTagList=i},_focusHandler:function(){var e=this.input,t=l();e[0]===t||this.input.trigger("focus")},_editable:function(t){var n=this,i=t.disable,o=t.readonly,r=n.wrapper.off(A),a=n.tagList.off(A),s=n.input.off(A);o||i?(r.toggleClass(I,i).toggleClass(H,o),s.attr(D,i).attr(E,o).attr(w,i).attr(k,o),n.element.prop(D,i)):(r.removeClass(I).removeClass(H).on(O,n._toggleHover).on("mousedown"+A+" touchend"+A,n._wrapperMousedown.bind(n)).on(V,n._focusHandler.bind(n)),n.input.on(P,n._keydown.bind(n)).on("paste"+A,n._search.bind(n)).on("input"+A,n._search.bind(n)).on("focus"+A,n._inputFocus.bind(n)).on("focusout"+A,n._inputFocusout.bind(n)),n._clear.on(V+" touchend"+A,n._clearValue.bind(n)),s.prop(D,!1).prop(E,!1).attr(w,!1).attr(k,!1),n.element.prop(D,!1),a.on(B,h,(function(){e(this).addClass(M)})).on(F,h,(function(){e(this).removeClass(M)})).on(V+" touchend"+A,".k-chip .k-icon,.k-chip .k-svg-icon",n._tagListClick.bind(n)))},_close:function(){var e=this;e.options.autoClose?e.close():e.popup.position()},_filterSource:function(e,t){t||(t=this._retrieveData),this._retrieveData=!1,o.fn._filterSource.call(this,e,t)},close:function(){this._activeItem=null,this.input.removeAttr(z),this.popup.close()},open:function(){var t=this,n=t.input.val().toLowerCase(),i=t.listView.dataSource.filter(),o="";i&&i.filters.length>0&&(o=(i.filters[0].value||"").toString().toLowerCase()),t._request&&(t._retrieveData=!1),t._retrieveData||!t.listView.bound()||t._state===p&&n!==o?(t._open=!0,t._state=m,t.listView.skipUpdate(!0),t.persistTagList=!(t._initialOpen&&!t.listView.bound()),t._filterSource(),t._focusItem()):t._allowOpening()&&(!t._initialOpen||t.options.autoBind||t.options.virtual||!t.options.value||e.isPlainObject(t.options.value[0])||t.value(t.value()||t._initialValues),t.popup._hovered=!0,t._initialOpen=!1,t.popup.open({altTarget:t.wrapper.add(t.element).add(t.input)}),t._focusItem())},toggle:function(e){this[(e=e!==t?e:!this.popup.visible())?v: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,n=e.dataSource.flatView(),i=e.listView.skip(),o=i===t||0===i;n.length&&o&&(e.options.highlightFirst?e.listView.focusFirst():e.listView.focus(-1))},_inputValue:function(){var e=this,t=e.filterInput&&l()===e.filterInput[0]?e.filterInput.val():e.input.val();return e.options.placeholder===t&&(t=""),t},value:function(e){var n=this,i=n.listView,o=i.value().slice(),r=n.options.maxSelectedItems,a=i.bound()&&i.isFiltered();if(e===t)return o;n.persistTagList=!1,n.requireValueMapper(n.options,e),e=n._normalizeValues(e),null!==r&&e.length>r&&(e=e.slice(0,r)),a&&n._clearFilter(),i.value(e),n._old=n._valueBeforeCascade=e.slice(),a||n._fetchData(),n._toggleCloseVisibility()},_preselect:function(t,i){var o=this;R(t)||t instanceof n.data.ObservableArray||(t=[t]),(e.isPlainObject(t[0])||t[0]instanceof n.data.ObservableObject||!o.options.dataValueField)&&(o.dataSource.data(t),o.value(i||o._initialValues),o._retrieveData=!0)},_setOption:function(e,t){var n=this.element[0].children[this._optionsMap[e]];n&&(n.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,i=e.options,o=i.dataSource||{};(o=R(o)?{data:o}:o).select=t,o.fields=[{field:i.dataTextField},{field:i.dataValueField}],e.dataSource&&e._refreshHandler?e._unbindDataSource():(e._progressHandler=e._showBusy,e._endRequestHandler=e._hideBusy,e._errorHandler=function(){e._hideBusy()}),e.dataSource=n.data.DataSource.create(o).bind("progress",e._progressHandler).bind("requestEnd",e._endRequestHandler).bind("error",e._errorHandler)},_reset:function(){var t=this,n=t.element,i=n.attr("form"),o=i?e("#"+i):n.closest("form");o[0]&&(t._resetHandler=function(){setTimeout((function(){t.value(t._initialValues),t._placeholder()}))},t._form=o.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 n=this;return null===t?t=[]:t&&e.isPlainObject(t)?t=[n._value(t)]:t&&e.isPlainObject(t[0])?t=e.map(t,(function(e){return n._value(e)})):R(t)||t instanceof c?R(t)&&(t=t.slice()):t=[t],t},_change:function(){var e=this,t=e.value();(function(e,t){var n;if(null===e&&null!==t||null!==e&&null===t)return!1;if((n=e.length)!==t.length)return!1;for(;n--;)if(e[n]!==t[n])return!1;return!0})(t,e._old)||(e._old=t.slice(),e.trigger(_),e.element.trigger(_)),e.popup.position(),e._toggleCloseVisibility()},_click:function(e){var t=this,n=e.item;e.preventDefault(),t._select(n).done((function(){t._activeItem=n,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(i){var o,r=this,a=i.keyCode,l=r._currentTag,c=r.listView,d=r.input.val(),u=n.support.isRtl(r.wrapper),f=r.popup.visible(),m=0,v=!1;if(a!==s.ENTER&&(this._multipleSelection=!1),a===s.DOWN){if(i.preventDefault(),!f)return r.open(),c.focus()||c.focusFirst(),void i.stopPropagation();c.focus()?(!r._activeItem&&i.shiftKey&&(r._activeItem=c.focus(),m=-1),o=c.getElementIndex(r._getActiveItem().first()),c.focusNext(),c.focus()?i.shiftKey&&!r.options.virtual&&(this._multipleSelection=!0,r._selectRange(o,c.getElementIndex(c.focus().first())+m)):c.focusLast()):c.focusFirst(),v=!0}else if(a===s.UP)f&&(!r._activeItem&&i.shiftKey&&(r._activeItem=c.focus(),m=1),o=c.getElementIndex(r._getActiveItem().first()),c.focusPrev(),c.focus()?i.shiftKey&&!r.options.virtual&&(this._multipleSelection=!0,r._selectRange(o,c.getElementIndex(c.focus().first())+m)):r.close()),v=!0,i.preventDefault();else if(a===s.LEFT&&!u||a===s.RIGHT&&u)d||(l=l?l.prev(h):r.tagList.children(h).last())[0]&&r.currentTag(l),v=!0;else if(a===s.RIGHT&&!u||a===s.LEFT&&u)!d&&l&&(l=l.next(h),r.currentTag(l[0]?l:null)),v=!0;else if(i.ctrlKey&&!i.altKey&&a===s.A&&f&&!r.options.virtual)this._multipleSelection=!0,this._getSelectedIndices().length===c.items().length&&(r._activeItem=null),c.items().length&&r._selectRange(0,c.items().length-1),v=!0;else if(a===s.ENTER&&f){if(!c.focus())return void i.stopPropagation();if(i.preventDefault(),this._multipleSelection&&(this._multipleSelection=!1,c.focus().hasClass(T)))return r._close(),void i.stopPropagation();r._select(c.focus()).done((function(){r._change(),r._close()})),v=!0}else if(a===s.SPACEBAR&&i.ctrlKey&&f)r._activeItem&&c.focus()&&c.focus()[0]===r._activeItem[0]&&(r._activeItem=null),e(c.focus()).hasClass(T)||(r._activeItem=c.focus()),r._select(c.focus()).done((function(){r._change()})),v=!0,i.preventDefault();else if(a===s.SPACEBAR&&i.shiftKey&&f&&!r.options.virtual){var g=c.getElementIndex(r._getActiveItem()),_=c.getElementIndex(c.focus());g!==t&&_!==t&&r._selectRange(g,_),v=!0,i.preventDefault()}else if(a===s.ESC)f?i.preventDefault():(r.tagList.children(h).each((function(t,n){r._removeTag(e(n),!1)})),r._change()),r.close(),v=!0;else if(a===s.HOME)f?c.focus()?(i.ctrlKey&&i.shiftKey&&!r.options.virtual&&r._selectRange(c.getElementIndex(c.focus()[0]),0),c.focusFirst()):r.close():d||(l=r.tagList.children(h).first()[0])&&r.currentTag(e(l)),v=!0;else if(a===s.END)f?c.focus()?(i.ctrlKey&&i.shiftKey&&!r.options.virtual&&r._selectRange(c.getElementIndex(c.focus()[0]),c.element.children().length-1),c.focusLast()):r.close():d||(l=r.tagList.children(h).last()[0])&&r.currentTag(e(l)),v=!0;else if(a!==s.DELETE&&a!==s.BACKSPACE||d)if(!r.popup.visible()||a!==s.PAGEDOWN&&a!==s.PAGEUP)clearTimeout(r._typingTimeout),r._search(),v=!0;else{i.preventDefault();var b=a===s.PAGEDOWN?1:-1;c.scrollWith(b*c.screenHeight()),v=!0}else{if(r._state=p,"single"===r.options.tagMode)return r._clearSingleTagValue(),r._change(),r._close(),void i.stopPropagation();a!==s.BACKSPACE||l||(l=r.tagList.children(h).last()),l&&l[0]&&r._removeTag(l,!0),v=!0}v&&i.stopPropagation()},_placeholder:function(e,i){var o=this,r=o.input,a=l(),s=o.options.placeholder,c=r.val(),d=r[0]===a,u=c.length;d&&!o.options.autoClose&&c!==s||(u=0,c=""),e===t&&(e=!1,r[0]!==a&&(e=!o.listView.selectedDataItems()[0])),o._prev=c,r.toggleClass("k-readonly",e).val(e?s:c),d&&!i&&n.caret(r[0],u,u)},_option:function(e,i,o){var r="<option";return e!==t&&(-1!==(e+="").indexOf('"')&&(e=e.replace(L,""")),r+=' value="'+e+'"'),o&&(r+=" selected"),r+=">",i!==t&&(r+=n.htmlEncode(i)),r+"</option>"},_render:function(e){var t,n,i,o,r=this.listView.selectedDataItems(),a=this.listView.value(),s=e.length,l="";a.length!==r.length&&(r=this._buildSelectedItems(a));var c={},d={};for(o=0;o<s;o++)n=e[o],i=this._value(n),-1!==(t=this._selectedItemIndex(i,r))&&r.splice(t,1),d[i]=o,l+=this._option(i,this._text(n),-1!==t);if(r.length)for(o=0;o<r.length;o++)n=r[o],c[i=this._value(n)]=s,d[i]=s,s+=1,l+=this._option(i,this._text(n),!0);this._customOptions=c,this._optionsMap=d,this.element.html(l)},_buildSelectedItems:function(e){for(var t,n=this.options.dataValueField,i=this.options.dataTextField,o=[],r=0;r<e.length;r++)(t={})[n]=e[r],t[i]=e[r],o.push(t);return o},_selectedItemIndex:function(e,t){for(var n=this._value,i=0;i<t.length;i++)if(e===n(t[i]))return i;return-1},_search:function(e){let t=this;!0!==e?(clearTimeout(t._typingTimeout),t._typingTimeout=setTimeout((function(){t._performSearch()}),t.options.delay)):t._performSearch()},_performSearch:function(){var e=this,t=e._inputValue();e._prev!==t&&(e._prev=t,e.search(t),e._toggleCloseVisibility())},_toggleCloseVisibility:function(){this.value().length||this.input.val()&&this.input.val()!==this.options.placeholder?this._showClear():this._hideClear()},_allowOpening:function(){return this._allowSelection()&&o.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 i,o,r,a=this,s=a.dataSource.total(),l=a.tagList,c=a._value;if(this.persistTagList)return this.updatePersistTagList(e,t),void a._refreshTagListAria();if("multiple"===a.options.tagMode){for(r=t.length-1;r>-1;r--)i=t[r],l.children(h).length&&(l[0].removeChild(l[0].children[i.position]),a._setOption(c(i.dataItem),!1));for(r=0;r<e.length;r++)o=e[r],a.tagList.append(a.tagTemplate(o.dataItem)),a._setOption(c(o.dataItem),!0);n.applyStylesFromKendoAttributes(a.tagList,["background-color"])}else{for((!a._maxTotal||a._maxTotal<s)&&(a._maxTotal=s),this._updateTagListHTML(),r=t.length-1;r>-1;r--)a._setOption(c(t[r].dataItem),!1);for(r=0;r<e.length;r++)a._setOption(c(e[r].dataItem),!0)}a._refreshTagListAria(),a._refreshFloatingLabel(),a._placeholder()},_refreshTagListAria:function(){var t=this;a.renderChipList(t.tagList,e.extend({selectable:0===t.value().length?"none":"multiple"},t.options))},_updateTagListHTML:function(){var t=this,i=t.value(),o=t.dataSource.total();t.tagList.children(h).each((function(t,n){e(n).remove()})),i.length&&(t.tagList.append(t.tagTemplate({values:i,dataItems:t.dataItems(),maxTotal:t._maxTotal,currentTotal:o})),n.applyStylesFromKendoAttributes(t.tagList,["background-color"])),t._refreshTagListAria()},_select:function(t){var n=e.Deferred().resolve();if(!t)return n;var i=this,o=i.listView,r=o.dataItemByIndex(o.getElementIndex(t)),a=t.hasClass("k-selected");return i._state===m&&(i._state=""),i._allowSelection()||a?i.trigger(a?y:b,{dataItem:r,item:t})?(i._close(),n):(i.persistTagList=!1,o.select(t).done((function(){i._placeholder(),i._state===f&&(i._state=p,o.skipUpdate(!0))}))):n},_selectIndices:function(t){let n=this.listView,i=this;n.select(t).done((function(){t.forEach((function(t){var o=n.dataItemByIndex(t),r=n.element.children()[t],a=e(r).hasClass("k-selected");i.trigger(a?b:y,{dataItem:o,item:e(r)})})),i._change()}))},_selectRange:function(e,t){var n,i=this,o=this.options.maxSelectedItems,r=this._getSelectedIndices().slice(),a=[];if(r.length-1==t-e)return i._selectIndices(r);if(e<t)for(n=e;n<=t;n++)a.push(n);else for(n=e;n>=t;n--)a.push(n);for(null!==o&&a.length>o&&(a=a.slice(0,o)),n=0;n<a.length;n++){var s=a[n];-1==this._getSelectedIndices().indexOf(s)?r.push(s):r.splice(r.indexOf(s),1)}return r.length?(i.persistTagList=!1,i._selectIndices(r)):void 0},_input:function(){var t=this,n=t.element,i=n[0].accessKey,o=t._inputValuesContainer.children("input.k-input-inner");o[0]||(o=e('<input class="k-input-inner" />').appendTo(t._inputValuesContainer)),n.removeAttr("accesskey"),o.attr("data-validate","false"),o.attr("inputmode",t.options.inputMode),t._focused=t.input=o.attr({autocomplete:"off",title:n[0].title}),i&&t._focused.attr("accesskey",i)},_inputValuesContainer:function(){var t=this,n=t.wrapper.children(".k-input-values");n[0]||(n=e('<div class="k-input-values"></div>').appendTo(t.wrapper)),t._inputValuesContainer=n},_tagList:function(){var t=this,n=t.options,i=t._inputValuesContainer.children(".k-chip-list");i[0]||(i=e(a.renderChipList('<div unselectable="on" class="k-selection-multiple" />',e.extend({selectable:"none"},n))).appendTo(t._inputValuesContainer)),t.tagList=i},_tagTemplate:function(){var t,i=this,o=i.options,s=o.tagTemplate,l=o.dataSource,c="multiple"===o.tagMode,d=o.messages.singleTag;i.element[0].length&&!l&&(o.dataTextField=o.dataTextField||"text",o.dataValueField=o.dataValueField||"value"),t=c?e=>r(n.getter(o.dataTextField)(e)):({values:e})=>`${e.length} ${r(d)}`,i.tagTextTemplate=s=s?n.template(s):t,i.tagTemplate=function(t){return a.renderChip('<span unselectable="on"></span>',e.extend({},o,{fillMode:"solid",rounded:"medium",enabled:!0,themeColor:"base",text:s(t),attr:{unselectable:"on","aria-selected":!0,role:"option","aria-keyshortcuts":c?"Enter Delete":"Enter"},removable:c,removableAttr:{unselectable:"on","aria-hidden":!0,"aria-label":i.options.messages.deleteTag,title:i.options.messages.deleteTag},icon:c?"":"caret-alt-down",iconAttr:{unselectable:"on","aria-hidden":!0,"aria-label":"open"}}))}},_popup:function(){o.fn._popup.call(this),this.popup.element.addClass("k-multiselect-popup")},_clearButton:function(){o.fn._clearButton.call(this),this.options.clearButton&&this._clear.insertAfter(this._inputValuesContainer)},_arrowButton:function(){var t=r(this.options.messages.downArrow),n=e(a.renderButton('<button type="button" aria-label="'+t+'" class="k-input-button"></button>',e.extend({},this.options,{icon:"caret-alt-down",rounded:null})));this._arrow&&(this._arrow.remove(),this._arrow=null),this.options.downArrow&&(this._arrow=n.attr({tabIndex:-1}),this._arrow.appendTo(this.wrapper))},_textContainer:function(){var t=n.getComputedStyles(this.input[0],N);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(x,!1),this.ul.attr(C,!0))},_openHandler:function(e){this._adjustListWidth(),this.trigger(v)?e.preventDefault():(this.input.attr(x,!0),this.ul.attr(C,!1))}});i.plugin(U),n.cssProperties.registerPrefix("MultiSelect","k-input-"),n.cssProperties.registerValues("MultiSelect",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.ui.Widget,o=e.extend,r=n.htmlEncode,a=window.setTimeout,s="click",l="show",c="hide",d="k-notification",u=".k-notification-actions .k-icon",h="k-hiding",p="info",f="success",m="warning",v="error",g={[p]:"info-circle",[v]:"x-outline",[m]:"exclamation-circle",[f]:"check-outline"},_="top",b="left",y="bottom",w="right",k=".kendoNotification",x=t=>({typeIcon:i,content:o,closeButton:a})=>n.ui.icon(e(`<span class="k-notification-status" title="${r(i)}"></span>`),{icon:g[r(i)]||r(i)})+`<div class="k-notification-content">${t?r(o):o}</div>`,C=x(!1),z=x(!0),S={close:{template:n.ui.icon(e('<span aria-hidden="true" title="Hide"></span>'),{icon:"x"})}},T=i.extend({init:function(t,o){let r=this;i.fn.init.call(r,t,o),o&&o.button&&!o.position&&r.options.position&&(r.options.position.right=40),(o=r.options).appendTo&&e(o.appendTo).is(t)||r.element.hide(),r._compileTemplates(o.templates),r._guid="_"+n.guid(),r._isRtl=n.support.isRtl(t),r._compileStacking(o.stacking,o.position.top,o.position.left),n.notify(r)},events:[l,c],options:{name:"Notification",position:{pinned:!0,top:null,left:null,bottom:20,right:20},stacking:"default",hideOnClick:!0,button:!1,allowHideAfter:0,autoHideAfter:5e3,appendTo:null,width:null,height:null,templates:[],title:null,animation:{open:{effects:"fade:in",duration:300},close:{effects:"fade:out",duration:600,hide:!0}}},_compileTemplates:function(t){var i=this,o=n.template;i._compiled={},e.each(t,(function(t,n){i._compiled[n.type]=o(n.template||e("#"+n.templateId).html())})),i._defaultCompiled=o(C),i._safeCompiled=o(z)},_getCompiled:function(e,t){var n=t?this._safeCompiled:this._defaultCompiled;return e&&this._compiled[e]||n},_compileStacking:function(e,t,n){var i,o,r=this,a={paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},s=null!==n?b:w;switch(e){case"down":i=y+" "+s,o=_+" "+s,delete a.paddingBottom;break;case w:i=_+" "+w,o=_+" "+b,delete a.paddingRight;break;case b:i=_+" "+b,o=_+" "+w,delete a.paddingLeft;break;case"up":i=_+" "+s,o=y+" "+s,delete a.paddingTop;break;default:null!==t?(i=y+" "+s,o=_+" "+s,delete a.paddingBottom):(i=_+" "+s,o=y+" "+s,delete a.paddingTop)}r._popupOrigin=i,r._popupPosition=o,r._popupPaddings=a},_attachPopupEvents:function(e,t){var n,i=this,o=e.allowHideAfter,r=!isNaN(o)&&o>0;function l(e){e.on(s+k,(function(){i._hidePopup(t)}))}e.hideOnClick?t.bind("activate",(function(){r?a((function(){l(t.element)}),o):l(t.element)})):e.button&&(n=t.element.find(u),r?a((function(){l(n)}),o):l(n))},_showPopup:function(t,i){var r,s,l=this,c=i.autoHideAfter,d=i.position.left,p=i.position.top;s=e("."+l._guid+":not(."+h+")").last(),r=new n.ui.Popup(t,{anchor:s[0]?s:document.body,origin:l._popupOrigin,position:l._popupPosition,_resizeOnWrap:!0,animation:i.animation,copyAnchorStyles:!1,autosize:!0,modal:!0,collision:"",isRtl:l._isRtl,close:function(){l._triggerHide(this.element)},deactivate:function(e){e.sender.element.off(k),e.sender.element.find(u).off(k),e.sender.destroy()}}),l._attachPopupEvents(i,r),t.removeClass("k-group k-reset k-popup"),s[0]?r.open():(null===d&&(d=e(window).width()-t.outerWidth()-i.position.right),null===p&&(p=e(window).height()-t.outerHeight()-i.position.bottom),r.open(d,p)),t.removeClass("k-popup"),r.wrapper.addClass(l._guid).css(o({margin:0,zIndex:10050},l._popupPaddings)),i.position.pinned?(r.wrapper.css("position","fixed"),s[0]&&l._togglePin(r.wrapper,!0)):s[0]||l._togglePin(r.wrapper,!1),c>0&&a((function(){l._hidePopup(r)}),c)},_hidePopup:function(e){e.wrapper.addClass(h),e.close()},_togglePin:function(t,n){var i=e(window),o=n?-1:1;t.css({top:parseInt(t.css(_),10)+o*i.scrollTop(),left:parseInt(t.css(b),10)+o*i.scrollLeft()})},_attachStaticEvents:function(e,t){var n=this,i=e.allowHideAfter,o=!isNaN(i)&&i>0;function r(e){e.on(s+k,n._hideStatic.bind(n,t))}e.hideOnClick?o?a((function(){r(t)}),i):r(t):e.button&&(o?a((function(){r(t.find(u))}),i):r(t.find(u)))},_showStatic:function(t,i){var o=this,r=i.autoHideAfter,s=i.animation,l="up"==i.stacking||i.stacking==b?"prependTo":"appendTo";o._hideTimeouts||(o._hideTimeouts=[]),t.removeClass("k-popup").addClass(o._guid)[l](i.appendTo).hide().kendoAnimate(s.open||!1),t.css("display",""),o.getNotifications().each((function(t,s){o._attachStaticEvents(i,e(s)),r>0&&!e(s).attr(n.attr("has-hidetimeout"))&&(e(s).attr(n.attr("has-hidetimeout"),!0),o._hideTimeouts.push(a((function(){o._hideStatic(e(s))}),r)))}))},_hideStatic:function(e){e.kendoAnimate(o(this.options.animation.close||!1,{complete:function(){e.off(k).find(u).off(k),e.remove()}})),this._triggerHide(e)},_triggerHide:function(e){this.trigger(c,{element:e})},show:function(i,r,a){var s,c,u=this,h=u.options,f=e('<div role="alert" aria-live="polite" class="k-notification"></div>'),m=n.guid();return r||(r=p),f.attr("aria-label",r),null!==i&&i!==t&&""!==i&&(n.isFunction(i)&&(i=i()),c={typeIcon:r,content:"",closeButton:h.button},s=e.isPlainObject(i)?o(c,i):o(c,{content:i}),f.addClass(d+"-"+r).toggleClass(d+"-closable",h.button).attr({"data-role":"alert",title:h.title}).css({width:h.width,height:h.height}).append(u._getCompiled(r,a)(s)),u.options.button&&f.append(u.addActions("close")),f.find(".k-notification-content").attr("id",m),f.attr("aria-describedby",m),e(h.appendTo)[0]?u._showStatic(f,h):u._showPopup(f,h),u.trigger(l,{element:f})),u},showText:function(e,t){this.show(e,t,!0)},info:function(e){return this.show(e,p)},success:function(e){return this.show(e,f)},warning:function(e){return this.show(e,m)},error:function(e){return this.show(e,v)},hide:function(){var t=this,n=t.getNotifications();return t.options.appendTo?(t._hideTimeouts&&t._hideTimeouts.forEach(clearTimeout),t._hideTimeouts=[],n.each((function(n,i){t._hideStatic(e(i))}))):n.each((function(n,i){var o=e(i).data("kendoPopup");o&&t._hidePopup(o)})),t},getNotifications:function(){var t=e("."+this._guid+":not(."+h+")");return this.options.appendTo?t:t.find(">.k-child-animation-container >."+d)},setOptions:function(e){var n,o=this;i.fn.setOptions.call(o,e),n=o.options,e.templates!==t&&o._compileTemplates(n.templates),e.stacking===t&&e.position===t||o._compileStacking(n.stacking,n.position.top,n.position.left)},destroy:function(){i.fn.destroy.call(this),this.getNotifications().off(k).find(u).off(k)},addActions:function(t){var n=e('<span class="k-notification-actions"/>');return Array.isArray(t)||(t=[t]),t.forEach((function(t){e(S[t].template).wrap(`<span class="k-notification-action k-notification-${t}-action">`).parent().appendTo(n)})),n}});n.ui.plugin(T)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui,i=t.keys,o=e.extend,r=n.Widget,a=/^\d+(\.\d+)?px$/i,s=/^\d+(\.\d+)?%$/i,l=".kendoSplitter",c="expand",d="collapse",u="contentLoad",h="error",p="resizing",f="layoutChange",m="pane",v="k-focus",g="."+(S="k-"+m),_="k-scrollable",b="k-pane-static",y="k-splitter",w="k-splitbar",k="flex-basis",x="horizontal",C="vertical",z=Number.MAX_SAFE_INTEGER,S="k-pane",T="click",M="resize",I="px";function H(e){return s.test(e)}function D(e){return a.test(e)||/^\d+$/.test(e)}function E(e){return!H(e)&&!D(e)}function A(e,t){var n=parseInt(e,10);return H(e)&&(n=Math.floor(n*t/100)),n}function V(e,t){return function(n,i){var o=this.element.find(n).data(m);if(1==arguments.length)return o[e];(((this.options.panes||[]).find((e=>e.uid==o.uid))||{})[e]=i,o[e]=i,o.isFluid=E(o.size),t)&&this.element.data("kendo"+this.options.name).resize(!0)}}var P=r.extend({init:function(e,n){var o,a=this;r.fn.init.call(a,e,n),a.wrapper=a.element,a.options.orientation&&(o=a.options.orientation.toLowerCase()!=C),a.orientation=o?x:C,a._dimension=o?"width":"height",a._keys={decrease:o?i.LEFT:i.UP,increase:o?i.RIGHT:i.DOWN},a._resizeStep=10,a._marker=t.guid().substring(0,8),a.element.addClass(`${y} k-splitter-flex ${y}-${a.orientation}`),a.element.closest(S).removeClass(b).addClass("k-pane-flex"),a._initPanes(),a.resizing=new O(a),a.element.triggerHandler("init"+l)},events:[c,d,u,h,M,p,f],_addOverlays:function(){this._panes().append("<div class='k-splitter-overlay k-overlay' />")},_removeOverlays:function(){this._panes().children(".k-splitter-overlay").remove()},_attachEvents:function(){var t=this,n=t.options.orientation;t.element.children(".k-splitbar-draggable-"+n).on("keydown"+l,t._keydown.bind(t)).on("mousedown"+l,(function(e){e.currentTarget.focus({preventScroll:!0})})).on("focus"+l,(function(t){e(t.currentTarget).addClass(v)})).on("blur"+l,(function(n){e(n.currentTarget).removeClass(v),t.resizing&&t.resizing.end()})).on("mouseenter"+l,(function(){e(this).addClass("k-splitbar-"+t.orientation+"-hover")})).on("mouseleave"+l,(function(){e(this).removeClass("k-splitbar-"+t.orientation+"-hover")})).on("mousedown"+l,t._addOverlays.bind(t)).end().children(".k-splitbar").on("dblclick"+l,t._togglePane.bind(t)).children(".k-collapse-next, .k-collapse-prev").on(T+l,t._arrowClick(d)).end().children(".k-expand-next, .k-expand-prev").on(T+l,t._arrowClick(c)).end().end(),e(window).on("resize"+l+t._marker,t.resize.bind(t,!1)),e(document).on("mouseup"+l+t._marker,t._removeOverlays.bind(t))},_detachEvents:function(){var t=this;t.element.children(".k-splitbar-draggable-"+t.orientation).off(l).end().children(".k-splitbar").off("dblclick"+l).children(".k-collapse-next, .k-collapse-prev, .k-expand-next, .k-expand-prev").off(l),e(window).off(l+t._marker),e(document).off(l+t._marker)},options:{name:"Splitter",clickMoveClick:!0,orientation:x,panes:[]},destroy:function(){r.fn.destroy.call(this),this._detachEvents(),this.resizing&&this.resizing.destroy(),t.destroy(this.element),this.wrapper=this.element=null},_keydown:function(t){var n,o=this,r=t.keyCode,a=o.resizing,s=e(t.currentTarget),l=o._keys,u=r===l.increase,h=r===l.decrease;u||h?(t.ctrlKey?(n=s[h?"next":"prev"](),a&&a.isResizing()&&a.end(),n[o._dimension]()?o._triggerAction(d,s[h?"prev":"next"]()):o._triggerAction(c,n)):a&&a.move((h?-1:1)*o._resizeStep,s),t.preventDefault()):r===i.HOME?(n=s.prev(),o.collapse(n),t.preventDefault()):r===i.END?(n=s.prev(),o.expand(n),t.preventDefault()):r===i.ENTER&&a&&(a.end(),t.preventDefault(),o._togglePane(t))},_initPanes:function(){var t=this.options.panes||[],n=this;this.element.children().each((function(i,o){"script"!=o.nodeName.toLowerCase()&&(t[i]=e.extend(n._getDefaultPaneConfig(),t[i],{order:2*i}),t[i].isFluid=E(t[i].size),o.style.order=2*i,n._initPane(o,t[i]))})),this.resize()},_getDefaultPaneConfig:function(){return{scrollable:!0,resizable:!0,size:"auto",uid:t.guid()}},_updatePaneOrderStyles:function(t){e(t||this.element).children().each((function(e,t){if("script"!=t.nodeName.toLowerCase()){t.data(m).order=2*e,t.style.order=2*e}}))},_initPane:function(t,n){(n=e.extend({},this._getDefaultPaneConfig(),n)).fixedSize=n.size&&"auto"!==n.size,t=e(t).attr("role","group").attr("data-uid",n.uid).addClass(S);let i=!n.resizable&&!n.collapsible||n.fixedSize;t.css(k,n.size).data(m,n).toggleClass(b,Boolean(i)).toggleClass(_,Boolean(n.scrollable)),this.ajaxRequest(t)},ajaxRequest:function(e,n,i){var o,r=this;o=(e=r.element.find(e)).data(m),(n=n||o.contentUrl)&&(e.append("<span class='k-icon k-i-loading k-pane-loading' />"),t.isLocalUrl(n)?jQuery.ajax({url:n,data:i||{},type:"GET",dataType:"html",success:function(t){e.html(t),r.trigger(u,{pane:e[0]})},error:function(t,n){r.trigger(h,{pane:e[0],status:n,xhr:t})}}):e.removeClass(_).html("<iframe src='"+n+"' frameborder='0' class='k-content-frame'>This page requires frames in order to show content</iframe>"))},_triggerAction:function(e,t){var n=t.data(m),i=n.collapsed&&e==c||!n.collapsed&&e==d;n.collapsible&&(i&&!this.trigger(e,{pane:t[0]})&&this[e](t[0]),this.resizing.stop(),this.resizing.end())},_togglePane:function(t){var n,i=this,o=e(t.target);o.closest(".k-splitter")[0]==i.element[0]&&1===(n=o.children("span:not(.k-resize-handle)")).length&&(n.is(".k-collapse-prev")?i._triggerAction(d,o.prev()):n.is(".k-collapse-next")?i._triggerAction(d,o.next()):n.is(".k-expand-prev")?i._triggerAction(c,o.prev()):n.is(".k-expand-next")&&i._triggerAction(c,o.next()),i.resizing?.end())},_arrowClick:function(t){var n=this;return function(i){var o,r=e(i.currentTarget);r.closest(".k-splitter")[0]==n.element[0]&&(o=r.is(".k-"+t+"-prev")?r.parent().prev():r.parent().next(),n._triggerAction(t,o))}},_updatePaneOrders:function(){this._getPaneElements().forEach(((t,n)=>{var i=e(t).data(m);i&&(i.order=2*n,t.style.order=2*n)}))},_updateSplitBar:function(e,i,o,r){var a=function(e,t,i){var o=t?n.icon({icon:t,size:"xsmall"}):"";return i?"<span class='k-"+e+"'>"+o+"</span>":""},s=this.orientation,l=!1!==i.resizable&&!1!==o.resizable,c=i.collapsible,d=i.collapsed,u=o.collapsible,h=o.collapsed,p=r.attr("id");p||(p=t.guid(),r.attr("id",p));const f=t.support.isRtl(e),m=f?"caret-alt-right":"caret-alt-left",v=f?"caret-alt-left":"caret-alt-right";e.addClass("k-splitbar k-splitbar-"+s).attr("role","separator").attr("aria-valuemin","0").attr("aria-valuemax","100").attr("aria-controls",p).removeClass("k-splitbar-"+s+"-hover").toggleClass("k-splitbar-draggable-"+s,l&&!d&&!h).toggleClass("k-splitbar-static-"+s,!l&&!c&&!u).html(a("collapse-prev","caret-alt-up",c&&!d&&!h&&s==C)+a("collapse-prev",m,c&&!d&&!h&&s==x)+a("expand-prev","caret-alt-down",c&&d&&!h&&s==C)+a("expand-prev",v,c&&d&&!h&&s==x)+a("resize-handle",null,l&&s==C)+a("resize-handle",null,l&&s==x)+a("collapse-next","caret-alt-down",u&&!h&&!d&&s==C)+a("collapse-next",v,u&&!h&&!d&&s==x)+a("expand-next","caret-alt-up",u&&h&&!d&&s==C)+a("expand-next",m,u&&h&&!d&&s==x)),i.labelId?e.attr("aria-labelledby",i.labelId):i.label&&e.attr("aria-label",i.label),s==x&&e.attr("aria-orientation",C),l||c||u||e.removeAttr("tabindex")},_updateSplitBars:function(){var t=this;this.element.children(".k-splitbar").each((function(){var n=e(this),i=n.prevAll(g).first(),o=i.data(m),r=n.nextAll(g).first().data(m);n.css("order",o.order+1),r&&t._updateSplitBar(n,o,r,i)}))},_removeSplitBars:function(){this.element.children(".k-splitbar").remove()},_panes:function(){return this.element?this.element.children(g):e()},_resetAriaValueNow:function(e,t){var n,i,o;for(n=0;n<e.length;n++)o=t[n]+t[n+1]||1,i=Math.round(t[n]/o*100),e[n].setAttribute("aria-valuenow",i)},_resize:function(){var n=this,i=n.element,o=i.children(g),r=n.orientation==x,a=i.children(".k-splitbar"),s=a.length,l=r?"width":"height",c=i[l](),d=[];if(n.wrapper.addClass("k-splitter-resizing"),!n._suppressResize){0===s?(s=o.length-1,o.slice(0,s).after("<div tabindex='0' class='k-splitbar' data-marker='"+n._marker+"' />"),n._updateSplitBars(),a=i.children(".k-splitbar")):n._updateSplitBars(),a.each((function(){c-=this[r?"offsetWidth":"offsetHeight"]}));var u=0,h=e();o.each((function(){var t,n=e(this),i=n.data(m)||{};if(n.removeClass("k-collapsed"),i.collapsed)t=i.collapsedSize?A(i.collapsedSize,c):0,n.css("overflow","hidden").addClass("k-collapsed");else{if(i.isFluid||E(i.size))return h=h.add(this),void d.push(!1);t=A(i.size,c)}return u+=t,d.push(t),n.css(k,t+I),t})),c-=u;var p=h.length,v=Math.floor(c/p);h.slice(0,p-1).css(k,v+I).end().eq(p-1).css(k,c-(p-1)*v+I),d.forEach((function(e,t){!1===e&&(d[t]=v)})),n._resetAriaValueNow(a,d);var _=r?"offsetWidth":"offsetHeight";if(0===p){var b=o.filter((function(){return!(e(this).data(m)||{}).collapsed})).last();b.length&&b[l](c+b[0][_])}n._detachEvents(),n._attachEvents(),n.wrapper.removeClass("k-splitter-resizing"),t.resize(o),n.trigger(f)}},toggle:function(e,t){var n;n=(e=this.element.find(e)).data(m),(t||!0===n?.collapsible)&&(1==arguments.length&&(t=undefined!==n.collapsed&&n.collapsed),n.collapsed=!t,e.toggleClass("k-hidden",n.collapsed&&!n.collapsedSize),e.css("overflow",n.collapsed&&!n.collapsedSize?"hidden":"auto"),this.resize(!0))},collapse:function(e){this.toggle(e,!1)},expand:function(e){this.toggle(e,!0)},_addPane:function(e,t,n){const i=this;return n.length&&(i.options.panes.splice(t,0,e),i._initPane(n,e),i._removeSplitBars(),i._updatePaneOrders(),i.resize(!0)),n},append:function(t){t=t||{};var n=this,i=e("<div />").appendTo(n.element);return n._addPane(t,n.options.panes.length,i)},insertBefore:function(t,n){n=e(n),t=t||{};var i=this.wrapper.children(".k-pane").index(n),o=e("<div />").insertBefore(e(n));return this._addPane(t,i,o)},insertAfter:function(t,n){n=e(n),t=t||{};var i=this.wrapper.children(".k-pane").index(n),o=e("<div />").insertAfter(e(n));return this._addPane(t,i+1,o)},remove:function(n){var i=this;return(n=i.wrapper.find(n)).length&&(t.destroy(n),n.each((function(t,n){i.options.panes.splice(i.wrapper.children(".k-pane").index(n),1),e(n).remove()})),i._removeSplitBars(),i.options.panes.length&&i.resize(!0)),i},size:V("size",!0),min:V("min"),max:V("max"),_getPaneElement:function(e){return this._getPaneElements()[e]},_getPaneElements:function(){return Array.from(this.element.children()||[]).filter((t=>e(t).hasClass("k-pane")||e(t).hasClass("k-splitter")))},_dragSplitterBar:function(e,t){const n=this,{leftPane:i,rightPane:o}=n._getAdjacentPanes(e),r=i.computedSize+t,a=r>i.min&&r<i.max,s=n._getPaneElements().filter((e=>!e.style[k])),l=(i.size||o.size)&&s.length>1;return i.size&&o.size||l?a&&(n._resizePane(i,t),n._resizePane(o,-t)):o.size?n._resizePane(o,-t):n._resizePane(i,t),{leftPane:i,rightPane:o}},_getAdjacentPanes:function(e){const t=this,n=e,i=e+1,o=t._getPaneElement(n),r=t._getPaneElement(i),a=t._getPane(n),s=t._getPane(i),l=t._getPaneOffsetSize(n),c=t._getPaneOffsetSize(i),d=l+c,u=t._getElementClientSize(t.element,t.options.orientation),h=e=>t._calculatePixelSize(e,u),{leftPaneMaxSize:p,rightPaneMaxSize:f}=t._getAdjacentPanesMaxSize(n,i),m=h(s&&s.max),v=h(a&&a.max);return{leftPane:{index:n,computedSize:l,min:h(a&&a.min)||(m?d-m:0)||0,max:p,size:o.style[k],collapsible:a&&a.collapsible,uid:a.uid},rightPane:{index:i,computedSize:c,min:h(s&&s.min)||(v?d-v:0)||0,max:f,size:r.style[k],collapsible:s&&s.collapsible,uid:s.uid}}},_resizePane:function(e,n){const i=this,o=(r=e.computedSize+n,a=e.min,s=e.max,Math.min(s,Math.max(a,r)));var r,a,s;let l="";if(H(e.size)){l=function(e){return`${e}%`}(100*o/i._getElementClientSize(i.element,i.options.orientation))}else l=function(e){return t.parseFloat(e)+"px"}(o);e.size=l,e.isFluid=E(l),i._setPaneSize(e.index,l)},_allExpandedPanesHaveSize:function(){const e=this.options.panes.filter((e=>!e.collapsed));return!!e.length&&e.filter((e=>e.size)).length},_setPaneSize:function(t,n){const i=this,o=i._getPaneElement(t);if(!o)return;i._allExpandedPanesHaveSize()||e(o).addClass(b),o.style[k]=n;let r=e(o).data("pane");r.size=n,r.isFluid=E(n),i.trigger(p,{pane:o})},_getPaneSizes:function(e){const t=this,n=t._getElementClientSize(t.element,t.options.orientation),i=t._getPane(e);return{size:t._getPaneOffsetSize(e),min:i&&i.min?t._calculatePixelSize(i.min,n):0,max:i&&i.max?t._calculatePixelSize(i.max,n):z}},_calculatePixelSize:function(e,n){let i=t.parseFloat(e);return H(e)&&(i=n*i/100),i},_getPaneOffsetSize:function(e){const t=this,n=t._getPaneElement(e);return t._getElementOffsetSize(n,t.options.orientation)},_getElementOffsetSize:function(e,t){if(!e)return 0;const n=e.getBoundingClientRect();return t===x?n.width:n.height},_getElementClientSize:function(e,t){return this._getElementSize(e,t,"client")},_getElementSize:function(e,t,n){return e?(e=e[0],t===x?e[`${n}Width`]:e[`${n}Height`]):0},_getPane:function(e){return(this.options.panes||[])[e]},_getPaneIndex:function(e){return this.options.panes.indexOf(e)},_getAdjacentPanesMaxSize:function(e,t){const{size:n,min:i,max:o}=this._getPaneSizes(e),{size:r,min:a,max:s}=this._getPaneSizes(t),l=n+r;return{leftPaneMaxSize:Math.min(o,l-a),rightPaneMaxSize:Math.min(s,l-i)}},_getElementIndex:function(e,t){if(!e)return[].indexOf(e);let n=Array.from(e.parent().children());return t&&(n=n.filter((e=>e.matches(t)))),Array.from(n).indexOf(e[0])}});n.plugin(P);var B={sizingProperty:"height",sizingDomProperty:"offsetHeight",alternateSizingProperty:"width",positioningProperty:"top",mousePositioningProperty:"pageY"},F={sizingProperty:"width",sizingDomProperty:"offsetWidth",alternateSizingProperty:"height",positioningProperty:"left",mousePositioningProperty:"pageX"};function O(e){var n=this,i=e.orientation,r=".k-splitbar-draggable-"+i+"[data-marker="+e._marker+"]";e.options.clickMoveClick&&(r+=",.k-ghost-splitbar"),n.owner=e,n._element=e.element,n.orientation=i,o(n,i===x?F:B),n._resizable=new t.ui.Resizable(e.element,{orientation:i,handle:r,clickMoveClick:e.options.clickMoveClick,hint:n._createHint.bind(n),start:n._start.bind(n),max:n._max.bind(n),min:n._min.bind(n),invalidClass:"k-restricted-size-"+i,resize:n._resize.bind(n),resizeend:n._stop.bind(n)})}O.prototype={stop:function(){this._resizable._stop()},press:function(e){this._resizable.press(e),this.pressed=!0},move:function(e,t){if(!t.hasClass("k-splitbar-draggable-horizontal")&&!t.hasClass("k-splitbar-draggable-vertical"))return;const n=this.owner._getElementIndex(t,`.${w}`),{leftPane:i,rightPane:o}=this.owner._dragSplitterBar(n,e);this.owner.trigger(M,{leftPane:i,rightPane:o})},end:function(){this._resizable.end(),this.pressed=!1},destroy:function(){this._resizable.destroy(),this._resizable=this._element=this.owner=null},isResizing:function(){return this._resizable.resizing},_createHint:function(t){var n=this;return e("<div class='k-ghost-splitbar k-ghost-splitbar-"+n.orientation+"' />").css("z-index",99).css(n.alternateSizingProperty,t[n.alternateSizingProperty]())},_start:function(n){var i=this,o=e(n.currentTarget);const r=t.support.isRtl(i._element);let a=i.orientation===x?"offsetLeft":"offsetTop";const s=i.owner._getElementIndex(o,`.${w}`),l=i.owner._getPaneElement(s),c=i.owner._getPaneElement(s+1);let d=e(i.orientation===x&&r?c:l),u=e(i.orientation===x&&r?l:c);if(e(n.initialTarget).closest(".k-expand-next, .k-expand-prev, .k-collapse-next, .k-collapse-prev").length>0||!u.length||!d.length)n.preventDefault();else{var h=d.data(m),p=u.data(m),f=parseInt(d[0][a],10),v=parseInt(u[0][a],10)+u[0][i.sizingDomProperty]-o[0][i.sizingDomProperty],g=parseInt(i._element.css(i.sizingProperty),10),_=function(e){var t=parseInt(e,10);return(D(e)?t:g*t/100)||0};if(!h||!p)return n.preventDefault(),n.sender.draggable.clickMoveClick.cancel(),void i.owner.element.find(".k-ghost-splitbar").remove();var b=_(h.min),y=_(h.max)||v-f,k=_(p.min),C=_(p.max)||v-f;i.previousPane=d,i.nextPane=u,i._maxPosition=Math.min(v-k,f+y),i._minPosition=Math.max(f+b,v-C)}},_max:function(){return this._maxPosition},_min:function(){return this._minPosition},_resize:function(e){let n,i=this.owner,o=i.orientation,r=this.owner;const a=e.currentTarget||e.target;if(!a)return;const s=i._getElementIndex(a,`.${w}`),l=t.support.isRtl(this._element)?-1:1;n=o===x?e.x.delta*l:e.y.delta;let c=o===x?a.position().left:a.position().top,d=e.position;Math.abs(c-d)>2&&r._dragSplitterBar(s,n)},_stop:function(n){var i=e(n.currentTarget),o=this.owner;let r=t.support.isRtl(this._element);if(o._panes().children(".k-splitter-overlay").remove(),n.keyCode!==t.keys.ESC){let e=o.orientation===x?n.x.initialDelta:n.y.initialDelta,t=o.orientation===x?i.position().left:i.position().top,a=n.position,s=o.orientation===x&&r?-1:1;const l=this.owner._getElementIndex(n.currentTarget,`.${w}`);Math.abs(t-a)>2&&o._dragSplitterBar(l,e*s);const{leftPane:c,rightPane:d}=o._getAdjacentPanes(l);o.trigger(M,{leftPane:c,rightPane:d})}return!1}}}(window.kendo.jQuery);kendo;!function(e,t){var n=window.kendo,i=n.keys,o=n.html,r=n.parseDate,a=n.htmlEncode,s=n._activeElement,l=n._extractFormat,c=n.support,d=c.browser,u=n.mediaQuery,h=n.ui,p=h.Widget,f="open",m="close",v="change",g=".kendoTimePicker",_="click"+g,b="disabled",y="readonly",w="li",k="k-focus",x="k-hover",C="mouseenter"+g+" mouseleave"+g,z="mousedown"+g,S=6e4,T=864e5,M="k-selected",I="k-disabled",H="aria-selected",D="aria-expanded",E="aria-hidden",A="aria-disabled",V="aria-readonly",P="aria-activedescendant",B="id",F=Array.isArray,O=e.extend,L=Date,R=new L,N=({mainSize:e,messages:t,buttonSize:i})=>`<div><div tabindex="0" class="k-timeselector ${e}"><div class="k-time-header"><span class="k-title"></span>`+n.html.renderButton(`<button class="k-time-now" title="Select now" aria-label="Select now">${a(t.now)}</button>`,{fillMode:"flat",size:i})+'</div><div class="k-time-list-container"><span class="k-time-highlight"></span></div></div>'+U(i,t)+"</div>",U=(e,t)=>'<div class="k-time-footer k-actions k-actions-stretched k-actions-horizontal">'+n.html.renderButton(`<button class="k-time-accept" title="Set time" aria-label="Set time">${a(t.set)}</button>`,{size:e,themeColor:"primary"})+n.html.renderButton(`<button class="k-time-cancel" title="Cancel changes" aria-label="Cancel changes">${a(t.cancel)}</button>`,{size:e})+"</div>";R=new Date(R.getFullYear(),R.getMonth(),R.getDate(),0,0,0);var j=function(e){var t=this,i=e.focusTime,o=e.id;t.options=e,t._dates=[],t.bigScreenMQL=u("large"),t.smallScreenMQL=u("small"),"auto"==t.options.adaptiveMode&&t.smallScreenMQL.onChange((function(){t.popup&&n.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),i&&(t._focusTime=new L(R.getFullYear(),R.getMonth(),R.getDate(),i.getHours(),i.getMinutes(),i.getSeconds())),o&&(t._timeViewID=o+"_timeview",t._optionID=o+"_option_selected",t.ul.attr(B,t._timeViewID)),t._heightHandler=t._height.bind(t),t._popup()};function W(e){return 60*e.getHours()*S+e.getMinutes()*S+1e3*e.getSeconds()+e.getMilliseconds()}function $(e,t,n){var i,o=W(t),r=W(n);return!e||o==r||(o>(i=W(e))&&(i+=T),r<o&&(r+=T),i>=o&&i<=r)}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",i=e.extend({},this.options,{mainSize:n.getValidCssClass("k-timeselector-","size",t),buttonSize:t});this.popupContent=e(n.template(N)(i)).on(z,K),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 o=this,r=t.keyCode,a=e(t.currentTarget).find(".k-time-list-wrapper.k-focus"),s=o.list.find(".k-time-list-wrapper"),l=s.length,c=s.index(a),d=n.support.isRtl(o.wrapper),u=Z(a.find(".k-item:visible").eq(0)),h=a.find(".k-time-container.k-content.k-scrollable");a.length&&(r==i.RIGHT&&!d||r==i.LEFT&&d?c+1<l&&o._focusList(s.eq(c+1)):r==i.LEFT&&!d||r==i.RIGHT&&d?c-1>=0&&o._focusList(s.eq(c-1)):r==i.UP?(h.scrollTop(h.scrollTop()-u),t.preventDefault()):r==i.DOWN?(h.scrollTop(h.scrollTop()+u),t.preventDefault()):r===i.ENTER?o._setClickHandler(t):r===i.ESC&&o._cancelClickHandler(t))},_mouseOverHandler:function(t){this._focusList(e(t.currentTarget))},_focusList:function(e){this.list.find(".k-time-list-wrapper").removeClass(k),e.addClass(k),this.list.trigger("focus"),this._scrollTop=e.find(".k-scrollable").scrollTop()},_createClassicRenderingList:function(){var t=this,i=e('<div class="k-list '+n.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=i.find("ul").css({overflow:c.kineticScrollNeeded?"":"auto"}).on(_,w,t._click.bind(t)).on("mouseenter"+g,w,(function(){e(this).addClass(x)})).on("mouseleave"+g,w,(function(){e(this).removeClass(x)})),t.list=e("<div class='k-list-container k-list-scroller' unselectable='on'/>").append(i).on(z,K),t.template=e=>`<li tabindex="-1" role="option" class="k-list-item" unselectable="on"><span class="k-list-item-text">${e}</span></li>`},current:function(n){var i=this,o=i.options.active;if(n===t)return i._current;i._current&&(i._current.removeClass(M),i._current&&i._current.length&&(i._current[0].removeAttribute(B),i._current[0].removeAttribute(H))),n&&(n=e(n).addClass(M).attr(B,i._optionID).attr(H,!0),i.scroll(n[0])),i._current=n,o&&o(n)},_updateTitle:function(){this.list.find(".k-time-header > .k-title").html(n.toString(this._value,this.options.format,this.options.culture))},applyValue:function(e){if(e){var t,i=Q(this.options.format.toLowerCase(),"t"),o=e.getHours(),r=e.getMinutes(),a=e.getSeconds(),s=n.attr("index"),l=this.ul.find("["+s+'="1"]'),c=this.ul.find("["+s+'="2"]'),d=this.ul.find("["+s+'="3"]'),u=this.ul.find("["+s+'="4"]');i&&(o>=12?(t="PM",o>12&&(o-=12)):(t="AM",0===o&&(o=12))),this._internalScroll=!0,l.length&&this._scrollListToPosition(l,o),c.length&&this._scrollListToPosition(c,r),d.length&&this._scrollListToPosition(d,a),u.length&&this._scrollListToPosition(u,t),this._internalScroll=!1}},_scrollListToPosition:function(e,t){var n=e.find('.k-item[data-value="'+X(t)+'"]'),i=Z(n);e.scrollTop(e.find(".k-item:visible").index(n)*i)},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){for(var t,i=this,o=i.options,r=o.format,a=n.toString,s=i.template,l=e.length,c=0,d="";c<l;c++)$(t=e[c],o.min,o.max)&&(d+=s(a(t,r,o.culture)));i._html(d)},refresh:function(){var e,t,i,o,r,a=this,s=a.options,l=s.format,c=(i=new L,o=new L(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0),r=new L(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0),-1*(o.getTimezoneOffset()-r.getTimezoneOffset())),d=c<0,u=n.parseDate(a._value),h=Y(u||new Date,s.min),p=s.min,f=s.max,m=W(p),v=W(f),g=W((e=s.interval,(t=new Date(2100,0,1)).setMinutes(-e),t)),_=s.interval*S,b=n.toString,y=a.template,w=s.useValueToRender?h:new Date(+s.min),k=new L(w),x="";m==v&&g!==v||m>v&&(v+=T),s.timeView&&"scroll"===s.timeView.list?x=a._createListContent(n.date.splitDateFormat(l),s.interval):a.getDatesInRange(undefined,v,k,f,_,w).forEach((function(e){x+=y(b(e,l,s.culture))})),a._html(x)},_showAllHiddenItems:function(){for(var t,n=this.list.find(".k-time-container"),i=n.length,o=0;o<i;o++)(t=e(n[o])).find(".k-item:hidden").show(),this._updateListBottomOffset(t)},_updateListBottomOffset:function(e){var t=Z(e.find(".k-item:visible").eq(0)),n=e.outerHeight()-t;e.find(".k-scrollable-placeholder").css({height:e.find("ul").height()+n})},_updateHoursRange:function(){var t,i,o=this,r=n.attr("index"),a=this.ul.find("["+r+'="1"]'),s=this._minHours,l=this._maxHours,c=Q(this.options.format.toLowerCase(),"t"),d=this._findSelectedValue(this.ul.find("["+r+'="4"]'));a.length&&(c&&d?("AM"===d?(s<12&&(i=!0),l<12&&(t=!0)):"PM"===d&&(s>12&&(i=!0,s-=12),l>12&&(t=!0,l-=12)),a.find(".k-item").each((function(n,r){var a=+(r=e(r)).attr("data-value");o._validateMin&&i&&a<s||o._validateMax&&t&&a>l?r.hide():r.show()}))):a.find(".k-item").each((function(t,n){var i=+(n=e(n)).attr("data-value");o._validateMin&&i<s||o._validateMax&&i>l?n.hide():n.show()})),this._updateListBottomOffset(a))},_updateMinutesRange:function(){var t=this,i=n.attr("index"),o=this.ul.find("["+i+'="2"]'),r=this._minHours,a=this._maxHours,s=this._minMinutes,l=this._maxMinutes,c=+this._findSelectedValue(this.ul.find("["+i+'="1"]')),d=Q(this.options.format.toLowerCase(),"t"),u=this._findSelectedValue(this.ul.find("["+i+'="4"]'));d&&"PM"===u&&(c+=12),o.length&&(o.find(".k-item").each((function(n,i){var o=+(i=e(i)).attr("data-value");t._validateMin&&o<s&&(r&&c)===r||t._validateMax&&o>l&&(a&&c)===a?i.hide():i.show()})),this._updateListBottomOffset(o))},_updateSecondsRange:function(){var t=this,i=n.attr("index"),o=this.ul.find("["+i+'="3"]'),r=this._minSeconds,a=this._minSeconds,s=this._minMinutes,l=this._maxMinutes,c=+this._findSelectedValue(this.ul.find("["+i+'="2"]'));o.length&&(o.find(".k-item").each((function(n,i){var o=+(i=e(i)).attr("data-value");t._validateMin&&o<r&&s&&c===s||t._validateMax&&o>a&&l&&c===l?i.hide():i.show()})),this._updateListBottomOffset(o))},_updateDesignatorRange:function(){var e=this._minHours,t=this._maxHours,i=n.attr("index"),o=this.ul.find("["+i+'="4"]');o.length&&(this._validateMin&&e>=12?o.find('.k-item[data-value="AM"]').hide():o.find('.k-item[data-value="AM"]').show(),this._validateMax&&t<12?o.find('.k-item[data-value="PM"]').hide():o.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,n,i,o,r=this.ul.find(".k-time-container.k-content.k-scrollable"),a=r.length,s=0;s<a;s++)t=Z((e=r.eq(s)).find(".k-item:visible").eq(0)),i="translateY("+((n=e.outerHeight())-t)/2+"px)",o=n-t,e.find("ul").css({transform:i,"-ms-transform":i}),e.find(".k-scrollable-placeholder").css({height:e.find("ul").height()+o}),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(n.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(n.toString(this._currentlySelected,this.options.format,this.options.culture),!0),this.popup&&this.popup.close()},_listScrollHandler:function(t){var n=this,i=Z(e(t.currentTarget).find(".k-item:visible").eq(0));n._internalScroll||(n._scrollingTimeout&&clearTimeout(n._scrollingTimeout),n._scrollingTimeout=setTimeout((function(){t.currentTarget.scrollTop%i>1&&(t.currentTarget.scrollTop+=i-t.currentTarget.scrollTop%i),n._scrollTop=t.currentTarget.scrollTop,n._updateRanges(),n._updateCurrentlySelected()}),100))},_updateCurrentlySelected:function(){var e,i,o,r,a=Q(this.options.format.toLowerCase(),"t"),s=n.attr("index"),l=this.ul.find("["+s+'="1"]'),c=this.ul.find("["+s+'="2"]'),d=this.ul.find("["+s+'="3"]'),u=this.ul.find("["+s+'="4"]');this.ul.is(":visible")&&(this._currentlySelected||(this._currentlySelected=this._value?new Date(this._value):new Date),l.length&&(e=+this._findSelectedValue(l)),c.length&&(i=+this._findSelectedValue(c)),d.length&&(o=+this._findSelectedValue(d)),u.length&&(r=this._findSelectedValue(u)),a&&("PM"==r&&24==(e+=12)&&(e=12),"AM"===r&&12===e&&(e=0)),e!==t&&this._currentlySelected.setHours(e),i!==t&&this._currentlySelected.setMinutes(i),o!==t&&this._currentlySelected.setSeconds(o))},_findSelectedValue:function(e){var t,n,i=(t=e.scrollTop(),n=Z(e.find(".k-item:visible").eq(0)),Math.max(Math.round(t/n),0));return e.find(".k-item:visible").eq(i).attr("data-value")},_itemClickHandler:function(t){var n=e(t.originalEvent.currentTarget),i=n.find(".k-item:visible").index(e(t.currentTarget)),o=Z(n.find(".k-item:visible").eq(0));n.scrollTop(i*o)},getDatesInRange:function(e,t,n,i,o,r){for(var a=[];;){if(t&&(W(r)>=t||n.getDate()!=r.getDate())){e=W(r),n<r&&(e+=T),e>t&&(r=new L(+i)),W(r)>0&&a.push(new Date(r));break}if(n.getDate()!=r.getDate())break;if(a.push(new Date(r)),r.setTime(r.getTime()+o),!t&&this.options.maxSet&&!this._ignoreMaxSet)break}return a},_createListContent:function(e,t){for(var n,i,o=e.length,r="",a=0;a<o;a++)"literal"===(n=e[a]).type||"dayperiod"==n.type?r+=this._literalTemplate(n):(i=this._getValues(n,!0,t),r+=this._itemTemplate(i.values,n,this.options.messages[n.type],i.index));return r},_itemTemplate:function(e,t,i,o){var r="",a=e.length,s=n.attr("index");r+='<div class="k-time-list-wrapper" role="presentation"><span class="k-title">'+(i||t.type)+'</span><div class="k-time-list"><div class="k-time-container k-content k-scrollable" role="presentation" '+s+'="'+o+'"><ul class="k-reset">';for(var l=0;l<a;l++)r+='<li class="k-item" data-value="'+e[l]+'"><span>'+e[l]+"</span></li>";return r+='</ul><div class="k-scrollable-placeholder"></div></div></div></div>'},_getValues:function(t,n,i){var o,r,a=[],s=0,l=0,c=0;for(e.isPlainObject(i)&&(l=i[t.type]||0),"hour"===t.type?(s=t.hour12?1:0,o=1,r=t.hour12?12:23):"minute"===t.type?(o=2,r=59):"second"===t.type&&(o=3,r=59);s<=r;s++)l>0?((0===s||1===s&&l>1&&"hour"===t.type)&&a.push(n?X(c):c),s%l==0&&c+l<=r&&(c+=l,a.push(n?X(c):c))):a.push(n?X(s):s);return{values:a,index:o}},_literalTemplate:function(e){var t=" tt"===e.pattern||"aa"===e.pattern,n='<div class="k-time-separator">'+(t?":":e.pattern)+"</div>";return t&&(n+=this._itemTemplate(["AM","PM"],e,"AM/PM",4)),n},bind:function(){var e=this,t=e.options,n=t.dates;!n||!n[0]||t.timeView&&"scroll"===t.timeView.list?(e.refresh(),e.addTranslate(),e._value&&e.applyValue(e._value)):e.dataBind(n)},_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(f,t._heightHandler),t.popup.one(f,t._heightHandler),t.current(null),t.select(t._value))},scroll:function(e){e&&(e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded():function(e,t){function n(e,t){return{start:e,length:t,end:e+t}}function i(e,n){return!1===t||n.start<e.end&&e.start<n.end?Math.min(e.start,Math.max(n.start,e.end-n.length)):(e.start+e.end-n.length)/2}function o(e,t){return{x:e,y:t,translate:function(n,i){return o(e+n,t+i)}}}function r(e,t){for(;e;)t=t.translate(e.offsetLeft,e.offsetTop),e=e.offsetParent;return t}var a,s=r(e,o(0,0)),l=o(e.offsetWidth,e.offsetHeight),c=e.parentNode;for(;c instanceof HTMLElement;)a=r(c,o(c.clientLeft,c.clientTop)),c.scrollLeft=i(n(s.x-a.x,l.x),n(c.scrollLeft,c.clientWidth)),c.scrollTop=i(n(s.y-a.y,l.y),n(c.scrollTop,c.clientHeight)),s=s.translate(-c.scrollLeft,-c.scrollTop),c=c.parentNode}(e))},select:function(t){var i,o=this,r=o.options,a=o._current;t instanceof Date&&(t=n.toString(t,r.format,r.culture)),"string"==typeof t&&(t=a&&a.text()===t?a:(t=e.grep(o.ul[0].childNodes,(function(e){return(e.textContent||e.innerText)==t})))[0]?t:null),i=o._distinctSelection(t),o.current(i)},_distinctSelection:function(t){var n,i,o=this;return t&&t.length>1&&(n=W(o._value),i=e.inArray(n,o._dates),t=o.ul.children()[i]),t},setOptions:function(e){var t=this.options;e.min=r(e.min),e.max=r(e.max),this.options=O(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){let n=this,i=e(t.currentTarget),o=i.text(),r=n.options.dates,a=n.options.min,s=n.options.max;r&&r.length>0&&(a.getTime()!==s.getTime()&&(r=r.filter((e=>n._inRange(e)))),o=r[i.index()]),t.isDefaultPrevented()||(n.select(i),n.options.change(o,!0),n.close())},_inRange(e){const t=this.options.min,n=this.options.max,i=3600*e.getHours()+60*e.getMinutes()+e.getSeconds(),o=3600*t.getHours()+60*t.getMinutes()+t.getSeconds(),r=3600*n.getHours()+60*n.getMinutes()+n.getSeconds();return i>=o&&i<=r},_height:function(){var e=this,t=e.list,n=t.parent(".k-child-animation-container"),i=n.closest(".k-animation-container"),o=e.options.height,r=t.add(i),a=e.ul[0];a.children.length&&(r.add(n).show(),t.add(n).height(a.scrollHeight>o&&("auto"!=e.options.adaptiveMode||e.bigScreenMQL.mediaQueryList.matches)?o:"auto"),r.hide())},_parse:function(e){var t=this.options,n=W(t.min)!=W(R)?t.min:null,i=W(t.max)!=W(R)?t.max:null,o=this._value||n||i||R;return e instanceof L||(e=r(e,t.parseFormats,t.culture))&&(e=new L(o.getFullYear(),o.getMonth(),o.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())),e},_adjustListWidth:function(){var e,t,i=this.list,o=i[0].style.width,r=this.options.anchor,a=n._outerWidth;!i.data("width")&&o||(t=(e=window.getComputedStyle?window.getComputedStyle(r[0],null):0)?parseFloat(e.width):a(r),e&&(d.mozilla||d.msie)&&(t+=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth)),o=t-(a(i)-i.width()),i.css({fontFamily:r.css("font-family"),width:"auto"!=this.options.adaptiveMode||this.bigScreenMQL.mediaQueryList.matches?o:"100%"}).data("width",o))},_popup:function(){var e=this,t=e.list,n=e.options,i=n.anchor;if(this.options.omitPopup)t.appendTo(n.timeDiv);else if("auto"!=n.adaptiveMode||e.bigScreenMQL.mediaQueryList.matches)e.popup=new h.Popup(e.popupContent||t,O(n.popup,{anchor:i,open:n.open,close:n.close,animation:n.animation,isRtl:c.isRtl(n.anchor),activate:function(){e.options.timeView&&"scroll"===e.options.timeView.list&&(e.addTranslate(),e._updateRanges(),e._value?e.applyValue(e._value):e._updateCurrentlySelected(),e._focusList(e.list.find(".k-time-list-wrapper").eq(0)))}}));else{var o=e.popupContent||t;o.appendTo(document.body),e.popup=new h.ActionSheet(o,{adaptive:!0,focusOnActivate:!1,title:"Set time",subtitle:"00/00/00",closeButton:!0,fullscreen:e.smallScreenMQL.mediaQueryList.matches,popup:O(n.popup,{anchor:i,open:n.open,close:n.close,animation:n.animation,isRtl:c.isRtl(n.anchor)}),activate:function(){e.options.timeView&&"scroll"===e.options.timeView.list&&(e.addTranslate(),e._updateRanges(),e._value?e.applyValue(e._value):e._updateCurrentlySelected(),e._focusList(e.list.find(".k-time-list-wrapper").eq(0)))}}),e._updateRanges(),e._updateCurrentlySelected(),o.find(".k-time-footer").appendTo(o)}},move:function(t){const n=this,o=t.keyCode,r=n.ul[0],a=o===i.DOWN,s=e(t.target).is(".k-input-inner"),l="modern"===n.options.componentType,c=n.popup.visible();let d=n._current;const u=s&&l&&c;if(o===i.UP||a){if(t.altKey)return void n.toggle(a);if(u)return;d=a?d?d[0].nextSibling:r.firstChild:d?d[0].previousSibling:r.lastChild,d&&n.select(d),n.options.change(n._current.text()),t.preventDefault()}else o!==i.ENTER&&o!==i.TAB&&o!==i.ESC||(t.preventDefault(),d&&n.options.change(d.text(),!0),n.close())}},j.getMilliseconds=W,n.TimeView=j;var q=p.extend({init:function(t,i){var o=this;(i=i||{}).componentType=i.componentType||"classic",e.isPlainObject(i.interval)&&"modern"!==i.componentType&&(i.interval=30),p.fn.init.call(o,t,i),t=o.element,(i=o.options).min=r(t.attr("min"))||r(i.min),i.max=r(t.attr("max"))||r(i.max),i.inputMode=i.inputMode||t.attr("inputmode")||"text",t.attr("inputmode",i.inputMode),+i.max==+R&&+i.min==+R||(this._specifiedRange=!0),G(i),o._initialOptions=O({},i),o._wrapper(),o.options.timeView&&"scroll"===o.options.timeView.list&&(o.options.height=null),o.bigScreenMQL=u("large"),"auto"==o.options.adaptiveMode&&o.bigScreenMQL.onChange((()=>{o._createTimeViewProxy(),o._update(o.element.val())})),o._createTimeView(),o._createTimeViewProxy=o._createTimeView.bind(o),o._icon(),o._reset();try{t[0].setAttribute("type","text")}catch(e){t[0].type="text"}t.addClass("k-input-inner").attr({role:"combobox","aria-expanded":!1,"aria-controls":o.timeView._timeViewID,autocomplete:"off"}),t.is("[disabled]")||e(o.element).parents("fieldset").is(":disabled")?o.enable(!1):o.readonly(t.is("[readonly]")),o._createDateInput(),o._old=o._update(i.value||o.element.val()),o._oldText=t.val(),o._applyCssClasses(),i.label&&o._label(),o.element.removeAttr("style"),n.notify(o)},options:{name:"TimePicker",autoAdjust:!0,min:R,max:R,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,autoCorrectParts:!0},events:[f,m,v],componentTypes:{classic:{timeView:{list:"list"}},modern:{timeView:{list:"scroll"}}},setOptions:function(t){let i=this,o=i._value,r=!!t.componentType;p.fn.setOptions.call(i,t),t=i.options,e.isPlainObject(t.interval)&&"modern"!==t.componentType&&(t.interval=30),+t.max==+R&&+t.min==+R||(this._specifiedRange=!0),i._arrow.off(g),i._arrow.remove(),G(t),t.componentType&&r&&(t.timeView.list="classic"==t.componentType?"list":"scroll",i.options.height="classic"==t.componentType?200:null,i._createTimeView(),i.timeView._value=o),i.timeView.setOptions(t),i._icon(),i._editable(t),i._createDateInput(),o&&i.element.val(n.toString(o,t.format,t.culture)),t.label&&i._inputLabel?i.label.setOptions(t.label):!1===t.label?(i.label._unwrapFloating(),i._inputLabel.remove(),delete i._inputLabel):t.label&&i._label()},dataBind:function(e){F(e)&&this.timeView.dataBind(e)},_createDateInput:function(){const e=this,t=e.options,n=e.element;if(e._dateInput&&(e._dateInput.destroy(),e._dateInput=null),t.dateInput){var i=t.min,o=t.max,r=new L;W(i)==W(o)&&(i=new L(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0),o=new L(r.getFullYear(),r.getMonth(),r.getDate(),24,0,0)),e._dateInput=new h.DateInput(n,{autoAdjust:t.autoAdjust,culture:t.culture,format:t.format,min:i,max:o,value:t.value,interval:t.interval,size:t.size,fillMode:t.fillMode,rounded:t.rounded,messages:t.messages.dateInput,autoCorrectParts:t.autoCorrectParts,toggleDayPeriod:!0,inputMode:t.inputMode})}},_editable:function(e){var t=this,n=e.disable,i=e.readonly,o=t._arrow.off(g),r=t.element.off(g),a=t.wrapper.off(g);t._dateInput&&t._dateInput._unbindInput(),i||n?(a.addClass(n?I:"").removeClass(n?"":I),r.attr(b,n).attr(y,i).attr(A,n).attr(V,i)):(a.removeClass(I).on(C,t._toggleHover),r&&r.length&&(r[0].removeAttribute(b),r[0].removeAttribute(y)),r.attr(A,!1).attr(V,!1).on("keydown"+g,t._keydown.bind(t)).on("focusout"+g,t._blur.bind(t)).on("focus"+g,(function(){t.wrapper.addClass(k)})),t._dateInput&&t._dateInput._bindInput(),o.on(_,t._click.bind(t)).on(z,K))},_label:function(){var t=this,i=t.options,o=e.isPlainObject(i.label)?i.label:{content:i.label};t._dateInput&&(o.floatCheck=()=>!(t.value()||t._dateInput._hasDateInput()&&""!==t.element.val()||document.activeElement===t.element[0])&&(t.element.val(""),!0)),t.label=new n.ui.Label(null,e.extend({},o,{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;p.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 n=this;if(e===t)return n._value;n._old=n._update(e),null===n._old&&n.element.val(""),n._oldText=n.element.val(),n.label&&n.label.floatingLabel&&n.label.floatingLabel.refresh()},_blur:function(){var e=this,t=e.element.val();e._typing=!1,e.options.timeView&&"scroll"===e.options.timeView.list||e.close(),t!==e._oldText&&e._change(t),e.wrapper.removeClass(k)},_click:function(){var e=this,t=e.element;e.timeView.toggle(),c.touch||t[0]===s()||e.options.timeView&&"scroll"===e.options.timeView.list||t.trigger("focus")},_change:function(e){var t,i=this,o=i.element.val();e=i._update(e);var r=(t=!n.calendar.isEqualDate(i._old,e))&&!i._typing,a=o!==i.element.val();(r||a)&&i.element.trigger(v),t&&(i._old=e,i._oldText=i.element.val(),i.trigger(v)),i._typing=!1},_createTimeView:function(){var e,t,n=this,i=n.options,o=n.element;n.timeView&&(n.timeView.popup&&n.timeView.popup.wrapper&&n.timeView.popup.wrapper.remove(),n.timeView.destroy(),n.timeView=null),n.timeView=e=new j(O({},i,{id:o.attr(B),size:"auto"!=i.adaptiveMode||n.bigScreenMQL.mediaQueryList.matches?i.size:"large",anchor:n.wrapper,format:i.format,change:function(e,t){t?n._change(e):o.val(e),n.timeView._focusTime=null},open:function(i){n.options.timeView&&"scroll"!==n.options.timeView.list?n.timeView._adjustListWidth():n.timeView._updateTitle(),n.trigger(f)?i.preventDefault():(o.attr(D,!0),t.attr(E,!1),e.current()&&o.attr(P,e._optionID))},close:function(e){n.trigger(m)?e.preventDefault():(o.attr(D,!1),t.attr(E,!0),o[0].removeAttribute(P))},active:function(t){o&&o.length&&o[0].removeAttribute(P),t&&o.attr(P,e._optionID)},specifiedRange:n._specifiedRange,maxSet:+i.max!=+R})),t=e.ul,n._ariaLabel(t)},_icon:function(){var t,n=this,i=n.element,r=n.options;(t=i.next("button.k-input-button"))[0]||(t=e(o.renderButton('<button unselectable="on" tabindex="-1" class="k-input-button" aria-label="select"></button>',{icon:"clock",size:r.size,fillMode:r.fillMode,shape:"none",rounded:"none"})).insertAfter(i)),n._arrow=t.attr({role:"button"})},_keydown:function(e){const t=this,n=e.keyCode,o=t.timeView,r=t.element.val();o.popup.visible()||e.altKey?(o.move(e),t._dateInput&&e.stopImmediatePropagation&&"modern"!==t.options.componentType&&e.stopImmediatePropagation()):n===i.ENTER&&r!==t._oldText?t._change(r):t._typing=!0},_option:function(e,n){var i=this,o=i.options;if(n===t)return o[e];(n=i.timeView._parse(n))&&(n=new L(+n),o[e]=n,i.timeView.options[e]=n,i._dateInput&&i._dateInput[e](n),i.timeView.bind())},_toggleHover:function(t){e(t.currentTarget).toggleClass(x,"mouseenter"===t.type)},_update:function(e){var t=this,i=t.options,o=t.timeView,r=o._parse(e);return $(r,i.min,i.max)||(r=null),t._value=r,t._currentlySelected=r,t._dateInput&&r?t._dateInput.value(r||e):t.element.val(n.toString(r||e,i.format,i.culture)),o.value(r),r},_toggleMaxSet:function(e){this.timeView&&(this.timeView._ignoreMaxSet=e)},_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(){let t=this,n=t.element,i=n.attr("form"),o=i?e("#"+i):n.closest("form");o[0]&&(t._resetHandler=function(){t._toggleMaxSet(!0),t.value(n[0].defaultValue),t.max(t._initialOptions.max),t.min(t._initialOptions.min),t._toggleMaxSet(!1)},t._form=o.on("reset",t._resetHandler))}});function G(e){var t=e.parseFormats;e.format=l(e.format||n.getCulture(e.culture).calendars.standard.patterns.t),(t=F(t)?t:[t]).splice(0,0,e.format),e.parseFormats=t}function K(e){e.preventDefault()}function Y(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function Q(e,t){var n=!1;return-1!==e.indexOf(t)&&(n=!0),n}function X(e,t){for(var n=String(e);n.length<(t||2);)n="0"+n;return n}function Z(e){return e.length&&e[0].getBoundingClientRect().height}n.cssProperties.registerPrefix("TimePicker","k-input-"),n.cssProperties.registerValues("TimePicker",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),h.plugin(q)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui.Widget,i=t.ui.Popup,o=t.isFunction,r=e.isPlainObject,a=e.extend,s=e(document),l=t.isLocalUrl,c="_tb_active",d="aria-describedby",u="show",h="hide",p="error",f="contentLoad",m="requestStart",v="k-content-frame",g=({autoHide:n,callout:i,dir:o})=>`<div role="tooltip" class="k-tooltip${n?"":" k-tooltip-closable"}"><div class="k-tooltip-content"></div>`+(n?"":`<div class="k-tooltip-button">${t.ui.icon(e('<span title="Close"></span>'),{icon:"x"})}</div>`)+(i?`<div class="k-callout k-callout-${o}"></div>`:"")+"</div>",_=t.template((({content:e})=>`<iframe frameborder='0' class='${v}' src='${e.url}'>This page requires frames in order to show content</iframe>`)),b=".kendoTooltip",y={bottom:{origin:"bottom center",position:"top center"},top:{origin:"top center",position:"bottom center"},left:{origin:"center left",position:"center right",collision:"fit flip"},right:{origin:"center right",position:"center left",collision:"fit flip"},center:{position:"center center",origin:"center center"}},w={top:"bottom",bottom:"top",left:"right",right:"left",center:"center"},k={bottom:"n",top:"s",left:"e",right:"w",center:"n"},x={horizontal:{offset:"top",size:"outerHeight"},vertical:{offset:"left",size:"outerWidth"}};function C(e){for(;e.length&&!z(e);)e=e.parent()}function z(e){var n=e.data(t.ns+"title");if(n)return e.attr("title",n),e.removeData(t.ns+"title"),!0}function S(e){var n=e.attr("title");if(n)return e.data(t.ns+"title",n),e.attr("title",""),!0}function T(e){for(;e.length&&!e.is("body")&&!S(e);)e=e.parent()}var M=n.extend({init:function(e,i){var o,r=this;n.fn.init.call(r,e,i),o=r.options.position.match(/left|right/)?"horizontal":"vertical",r.dimensions=x[o],t.support.touch&&this._isShownOnMouseEnter()&&r.element.on(t.support.mousedown+b,r.options.filter,r._showOn.bind(r)),r.element.on(r.options.showOn+b,r.options.filter,r._showOn.bind(r)),"click"===r.options.showOn&&r.element.on("keydown"+b,r.options.filter,r._keydown.bind(r))},options:{name:"TooltipBase",filter:"",offset:0,showAfter:100,hideAfter:100,callout:!0,position:"bottom",showOn:"mouseenter",animation:{open:{effects:"fade:in",duration:0},close:{duration:40,hide:!0}}},destroy:function(){var e=this.popup;e&&(e.element.off(b),e.destroy()),clearTimeout(this.timeout),n.fn.destroy.call(this)},hide:function(){this.popup&&(this._shown=!1,this.popup.close())},show:function(e){e=e||this.element,this._saveTitle(e),this._show(e)},target:function(){return this.popup?this.popup.options.anchor:null},_keydown:function(n){var i=e(n.currentTarget);n.keyCode==t.keys.ENTER&&this._show(i)},_showOn:function(t){const n=this,i=e(t.currentTarget);n._isShownOnClick()&&!n._isShownOnMouseEnter()?n._show(i):n._isShownOnFocus()?(n._saveTitle(i),n._show(i)):(clearTimeout(n.timeout),n.timeout=setTimeout((function(){n._show(i)}),n.options.showAfter))},_isShownOnFocus:function(){return this.options.showOn&&this.options.showOn.match(/focus/)},_isShownOnMouseEnter:function(){return this.options.showOn&&this.options.showOn.match(/mouseenter/)},_isShownOnClick:function(){return this.options.showOn&&this.options.showOn.match(/click/)},_recalculatePopupDimensions:function(){var e=this;e.popup.wrapper.css("height",t._outerHeight(e.popup.element)+"px"),e.popup.wrapper.css("width",t._outerWidth(e.popup.element)+"px"),e.popup.position(),e._positionCallout()},_positionCallout:function(){var t=this,n=t.options.position,i=t.dimensions,o=i.offset,r=t.popup,a=r.options.anchor,s=e(a).offset(),l=e(r.element).offset(),c=k[r.flipped?w[n]:n],d=s[o]-l[o]+e(a)[i.size]()/2;t._offset(n,t.options.offset),t.arrow.removeClass("k-callout-n k-callout-s k-callout-w k-callout-e").addClass("k-callout-"+c).css(o,d)},_offset:function(e,n,i){var o=this,r="top"==e||"left"==e,a=o.popup.flipped,s=r&&a||!r&&!a?1:-1,l=r?"margin-"+e:"margin-"+w[e],c=(i||t._outerWidth(o.arrow))/2+n;o.popup.wrapper.css(l,c*s+"px")},_addDescribedBy:function(){var e=this,n=e.popup.options.anchor,i=n[0].id||e.element[0].id||t.guid(),o=[];n.attr(d)&&o.push(n.attr(d)),i&&(o.push(i+c),n.attr(d,o.join(" ")),e.popup.element.attr("id",i+c))},_removeDescribedBy:function(e){var t,n,i,o=this.popup.element.attr("id"),r=e.attr(d);r&&((t=r.split(" "))&&t.length>0&&(n=t.filter((function(e){return e!==o}))),n&&n.length>0?(i=n.join(" "),e.attr(d,i)):e.removeAttr(d))},_openPopup:function(){this.popup&&(this.popup.visible()||(this.popup._hovered=!0),this.popup._shouldCorrectWidth=!1,this.popup.open())}});t.ui.plugin(M);var I=M.extend({init:function(e,n){var i,o=this;M.fn.init.call(o,e,n),i=o.options.position.match(/left|right/)?"horizontal":"vertical",o.dimensions=x[i],o._documentKeyDownHandler=o._documentKeyDown.bind(o),(this._isShownOnMouseEnter()||this._isShownOnClick())&&o.element.on("mouseenter"+b,o.options.filter,o._mouseenter.bind(o)),this.options.autoHide&&this._isShownOnMouseEnter()&&o.element.on("mouseleave"+b,o.options.filter,o._mouseleave.bind(o)),this.options.autoHide&&this._isShownOnFocus()&&o.element.on("blur"+b,o.options.filter,o._blur.bind(o)),t.support.touch&&o.element.on(t.support.mousedown+b,o.options.filter,o._mouseenter.bind(o))},options:{name:"Tooltip",filter:"",content:function(e){return e.target.data(t.ns+"title")},showAfter:100,callout:!0,offset:0,position:"bottom",showOn:"mouseenter",autoHide:!0,width:null,height:null,animation:{open:{effects:"fade:in",duration:0},close:{duration:40,hide:!0}}},events:[u,h,f,p,m],_mouseenter:function(t){T(e(t.currentTarget))},_saveTitle:function(e){T(e)},_appendContent:function(e){var n,i=this,a=i.options.content,s=i.content,c=i.options.iframe;r(a)&&a.url?("iframe"in i.options||(c=!l(a.url)),i.trigger(m,{options:a,target:e}),c?(s.hide(),(n=s.find("."+v)[0])?n.src=a.url||n.src:s.html(_({content:a})),s.find("."+v).off("load"+b).on("load"+b,(function(){i.trigger(f),s.show()}))):(s.empty(),t.ui.progress(s,!0),i._ajaxRequest(a))):a&&o(a)?(a=a({sender:this,target:e}),s.html(a||"")):s.html(a)},_verifyContentLoaded(){var e=this,t=e.content.find("[src]"),n=t.length,i=0;0!==n?t.on("load",(function(){i++,n===i&&e._recalculatePopupDimensions()})):e._recalculatePopupDimensions()},_ajaxRequest:function(e){var n=this;jQuery.ajax(a({type:"GET",dataType:"html",cache:!1,error:function(e,i){t.ui.progress(n.content,!1),n._recalculatePopupDimensions(),n.trigger(p,{status:i,xhr:e})},success:function(e){t.ui.progress(n.content,!1),n.content.html(e),n._verifyContentLoaded(),n.trigger(f)}.bind(n)},e))},_documentKeyDown:function(e){e.keyCode===t.keys.ESC&&this.hide()},refresh:function(){var e=this.popup;e&&e.options.anchor&&this._appendContent(e.options.anchor)},_show:function(e){var t=this,n=t.target();let i=!1;t.popup||(t._initPopup(),i=!0),n&&n[0]!=e[0]&&(t.popup.close(!0),t.popup.element.kendoStop(!0,!0)),n&&n[0]==e[0]||(t._appendContent(e),t.popup.options.anchor=e),t.popup.one("deactivate",(function(){C(e),t._removeDescribedBy(e),this.element.removeAttr("id").attr("aria-hidden",!0),s.off("keydown"+b,t._documentKeyDownHandler)})),t._openPopup(),i&&(t.options.autoHide&&this._isShownOnMouseEnter()?t.popup.wrapper.on("mouseleave"+b,t._mouseleave.bind(t)):t.popup.element.on("click"+b,".k-tooltip-button",t._closeButtonClick.bind(t)),i=!1)},_initPopup:function(){var n=this,o=n.options,r=e(t.template(g)({callout:o.callout&&"center"!==o.position,dir:k[o.position],autoHide:o.autoHide}));n.popup=new i(r,a({autosize:!0,activate:function(){n._addDescribedBy(),o.callout?n._positionCallout():n._offset(n.options.position,n.options.offset),this.element.removeAttr("aria-hidden"),s.on("keydown"+b,n._documentKeyDownHandler),n.trigger(u),n.popup._hovered=undefined},close:function(){n.trigger(h)},copyAnchorStyles:!1,animation:o.animation},y[o.position])),r.css({width:o.width,height:o.height}),n.content=r.find(".k-tooltip-content"),n.arrow=r.find(".k-callout")},_closeButtonClick:function(e){e.preventDefault(),this.hide()},_mouseleave:function(t){const n=this,i=e(t.relatedTarget).closest(".k-animation-container").length>0;let o=!e(t.relatedTarget).is(n.element);n.options.filter&&(o=o?!n.element.find(t.relatedTarget).length>0:!o);const r="center"!==n.options.position||o&&!i;clearTimeout(n.timeout),r&&(n.timeout=setTimeout((function(){n._closePopup(t.currentTarget)}),n.options.hideAfter))},_blur:function(e){this._closePopup(e.currentTarget)},_closePopup:function(t){this.popup&&!this.popup._hovered?this.popup.close():C(e(t))},destroy:function(){this.element.off(b),s.off("keydown"+b,this._documentKeyDownHandler),M.fn.destroy.call(this)}});t.ui.plugin(I)}(window.kendo.jQuery);kendo;!function(){var e=window.kendo,t=e.ui.Widget,n=Math.abs,i=t.extend({init:function(n,i){var o=this;function r(e){return function(t){o._triggerTouch(e,t)}}function a(e){return function(t){o.trigger(e,{touches:t.touches,distance:t.distance,center:t.center,event:t.event})}}t.fn.init.call(o,n,i),i=o.options,n=o.element,o.wrapper=n,o.events=new e.UserEvents(n,{filter:i.filter,surface:i.surface,minHold:i.minHold,multiTouch:i.multiTouch,allowSelection:!0,fastTap:i.fastTap,press:r("touchstart"),hold:r("hold"),tap:o._tap.bind(o),gesturestart:a("gesturestart"),gesturechange:a("gesturechange"),gestureend:a("gestureend")}),i.enableSwipe?(o.events.bind("start",o._swipestart.bind(o)),o.events.bind("move",o._swipemove.bind(o))):(o.events.bind("start",o._dragstart.bind(o)),o.events.bind("move",r("drag")),o.events.bind("end",r("dragend"))),e.notify(o)},events:["touchstart","dragstart","drag","dragend","tap","doubletap","hold","swipe","gesturestart","gesturechange","gestureend"],options:{name:"Touch",surface:null,global:!1,fastTap:!1,filter:null,multiTouch:!1,enableSwipe:!1,minXDelta:30,maxYDelta:20,maxDuration:1e3,minHold:800,doubleTapTimeout:800},cancel:function(){this.events.cancel()},destroy:function(){t.fn.destroy.call(this),this.events.destroy()},_triggerTouch:function(e,t){this.trigger(e,{touch:t.touch,event:t.event})&&t.preventDefault()},_tap:function(t){var n=this,i=n.lastTap,o=t.touch;i&&o.endTime-i.endTime<n.options.doubleTapTimeout&&e.touchDelta(o,i).distance<20?(n._triggerTouch("doubletap",t),n.lastTap=null):(n._triggerTouch("tap",t),n.lastTap=o)},_dragstart:function(e){this._triggerTouch("dragstart",e)},_swipestart:function(e){2*n(e.x.velocity)>=n(e.y.velocity)&&e.sender.capture()},_swipemove:function(e){var t=this.options,i=e.touch,o=e.event.timeStamp-i.startTime,r=i.x.initialDelta>0?"right":"left";n(i.x.initialDelta)>=t.minXDelta&&n(i.y.initialDelta)<t.maxYDelta&&o<t.maxDuration&&(this.trigger("swipe",{direction:r,touch:e.touch}),i.cancel())}});e.ui.plugin(i)}(window.kendo.jQuery);kendo;!function(e){var t=window.kendo,n=t.ui,i=e.extend,o="visibility",r="k-drag-status",a=`<span class="${r}"></span>`,s="k-hover";n.HierarchicalDragAndDrop=t.Class.extend({init:function(o,r){this.element=o,this.hovered=o,this.options=i({dragstart:e.noop,drag:e.noop,drop:e.noop,dragend:e.noop},r),this._draggable=new n.Draggable(o,{ignore:"input,a:not(.k-treeview-leaf),textarea,.k-multiselect-wrap,select,button,a.k-button>.k-icon,.k-button>.k-button-text,button.k-button>.k-icon,span.k-toggle-icon,a.k-button>.k-svg-icon,button.k-button>.k-svg-icon,.k-button>.k-svg-icon>svg,.k-button>.k-svg-icon>svg>path",filter:r.filter,autoScroll:r.autoScroll,cursorOffset:{left:10,top:t.support.mobileOS?-40/t.support.zoomLevel():10},hint:this._hint.bind(this),dragstart:this.dragstart.bind(this),dragcancel:this.dragcancel.bind(this),hintDestroyed:this.dragcancel.bind(this),drag:this.drag.bind(this),dragend:this.dragend.bind(this),holdToDrag:r.holdToDrag,clickMoveClick:r.clickMoveClick})},_hint:function(e){return"<div class='k-drag-clue'>"+a+this.options.hintText(e)+"</div>"},_removeTouchHover:function(){t.support.touch&&this.hovered&&(this.hovered.find("."+s).removeClass(s),this.hovered=!1)},_hintStatus:function(e){var t=this._draggable.hint.find(`.${r}`);e?(this.status=e,n.icon(t,{icon:e})):(this.status="",t.replaceWith(a))},dragstart:function(t){this.dropHint&&this.dropHint.remove(),this.source=t.currentTarget.closest(this.options.itemSelector),this.options.dragstart(this.source)&&t.preventDefault(),this.options.reorderable?this.dropHint=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>").css(o,"hidden").appendTo(this.element):this.dropHint=e()},drag:function(n){var i,r,a,l,c,d,u,h,p,f,m,v=this.options,g=this.source,_=this.dropTarget=e(t.eventTarget(n)),b=_.closest(v.allowedContainers);b.length?g[0]==_[0]||v.contains(g[0],_[0])||n.clickMoveClick&&n.currentTarget.hasClass("k-drag-cell")&&0===_.closest(".k-drag-cell").length||n.clickMoveClick&&n.currentTarget.hasClass("k-treeview-leaf")&&0===_.closest(".k-treeview-leaf").length?m="cancel":(m="insert-middle",(i=(p=v.itemFromTarget(_)).item).length?(this._removeTouchHover(),r=t._outerHeight(i),l=p.content,v.reorderable?(c=r/(l.length>0?4:2),a=t.getOffset(i).top,d=n.y.location<a+c,u=a+r-c<n.y.location,h=l.length&&!d&&!u):(h=!0,d=!1,u=!1),this.hovered=!!h&&b,this.dropHint.css(o,h?"hidden":"visible"),this._lastHover&&this._lastHover[0]!=l[0]&&this._lastHover.removeClass(s),this._lastHover=l.toggleClass(s,h),h?m="plus":((f=i.position()).top+=d?0:r,this.dropHint.css(f)[d?"prependTo":"appendTo"](v.dropHintContainer(i)),d&&p.first&&(m="insert-top"),u&&p.last&&(m="insert-bottom"))):_[0]!=this.dropHint[0]&&(this._lastHover&&this._lastHover.removeClass(s),m=e.contains(this.element[0],b[0])?"cancel":"plus")):(m="cancel",this._removeTouchHover()),this.options.drag({originalEvent:n.originalEvent,source:g,target:_,pageY:n.y.location,pageX:n.x.location,status:m,setStatus:function(e){m=e}}),0!==m.indexOf("insert")&&this.dropHint.css(o,"hidden"),this._hintStatus(m)},dragcancel:function(){this.dropHint&&this.dropHint.remove()},dragend:function(n){var i,r,a,l,c="over",d=this.source,u=this.dropHint,h=this.dropTarget||e(t.eventTarget(n));u&&"visible"==u.css(o)?(c=this.options.dropPositionFrom(u),i=u.closest(this.options.itemSelector),l=!0):h&&((i=h.closest(this.options.itemSelector)).length||(i=h.closest(this.options.allowedContainers))),!l||i.length?(r={originalEvent:n.originalEvent,source:d[0],destination:i[0],valid:"cancel"!=this.status,setValid:function(e){this.valid=e},dropTarget:h[0],position:c},a=this.options.drop(r),u.remove(),this._removeTouchHover(),this._lastHover&&this._lastHover.removeClass(s),r.valid&&!a?(this._draggable.dropped=!0,this.options.dragend({originalEvent:n.originalEvent,source:d,destination:i,position:c})):this._draggable.dropped=r.valid):this.dragcancel()},destroy:function(){this._lastHover=this.hovered=null,this._draggable.destroy()}})}(window.kendo.jQuery);kendo;!function(e,t){var n,i,o,r,a,s=window.kendo,l=s.ui,c=s.data,d=s.htmlEncode,u=s.sanitizeLink,h=e.extend,p=s.template,f=Array.isArray,m=l.Widget,v=c.HierarchicalDataSource,g=s.keys,_=".kendoTreeView",b=".kendoTreeViewTemp",y="select",w="check",k="navigate",x="change",C="error",z="checked",S="indeterminate",T="dragstart",M="progress",I="drag",H="drop",D="dragend",E="dataBound",A="itemsLoaded",V="loadCompleted",P="requestEnd",B="click",F="undefined",O="k-hover",L="k-treeview",R=".k-treeview-item",N="k-icon",U="<span></span>",j="string",W="aria-checked",$="aria-selected",q="aria-disabled",G="aria-expanded",K="aria-activedescendant",Y="aria-busy",Q="k-disabled",X={text:"dataTextField",url:"dataUrlField",spriteCssClass:"dataSpriteCssClassField",imageUrl:"dataImageUrlField",attr:"dataAttrField",imageAttr:"dataImageAttrField",contentAttr:"dataContentAttrField",linkAttr:"dataLinkAttrField"},Z=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&typeof e.nodeName===j};const J="k-treeview-item",ee="k-image",te="k-treeview-leaf-text";function ne(e){return function(t){var n=t.children(".k-animation-container");return n.length||(n=t),n.children(e)}}function ie(e){return e.find(".k-checkbox-wrap:first input[type=checkbox]")}function oe(e){return function(t,n){var i,o=(n=n.closest(R)).parent();return o.parent().is("li")&&(i=o.parent()),this._dataSourceMove(t,o,i,(function(t,i){var o=this.dataItem(n),r=o&&n.parent().children().length!==o.parent().length?o.parent().indexOf(o):n.index();return this._insert(t.data(),i,r+e)}))}}function re(t){var n=t.children("div"),i=t.children("ul"),o=n.find(".k-treeview-toggle > span"),r=t.children("input[type=checkbox]"),l=n.children(".k-treeview-leaf");t.hasClass("k-treeview")||(n.length||(n=e("<div />").prependTo(t)),!o.length&&i.length?o=e(`<span class='k-treeview-toggle'>${U}</span>`).prependTo(n):i.length&&i.children().length||(o.parent().remove(),i.remove(),t.removeAttr(G)),r.length&&e("<span class='k-checkbox-wrap' />").appendTo(n).append(r),l.length||((l=t.children("a").eq(0).addClass("k-treeview-leaf k-link")).length||(l=e("<span class='k-treeview-leaf' />")),l.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=s.trim(n.nodeValue)),a.test(n.className)?t.insertBefore(n,t.firstChild):t.appendChild(n)}(n[0].nextSibling,l[0])))}i=ne(".k-treeview-group"),o=ne(".k-treeview-group,.k-content"),r=function(e){return e.children("div").find(".k-treeview-toggle > span:first")},a=/k-sprite/,n=s.ui.DataBoundWidget.extend({init:function(e,t){var n,i,o=this,r=t&&!!t.dataSource;f(t)&&(t={dataSource:t}),t&&typeof t.loadOnDemand==F&&f(t.dataSource)&&(t.loadOnDemand=!1),m.prototype.init.call(o,e,t),e=o.element,t=o.options,o._dataSourceUids={},i=e.is("ul")&&e||e.hasClass(L)&&e.children("ul"),(n=!r&&i.length)&&(t.dataSource.list=i),o._animation(),o._accessors(),o._templates(),e.hasClass(L)?(o.wrapper=e,o.root=e.children("ul").eq(0)):(o._wrapper(),i&&(o.root=e,o._group(o.wrapper))),o._applyCssClasses(),o._tabindex(),o.wrapper.find(">ul").attr("role","tree"),o._dataSource(n),o._attachEvents(),o._dragging(),n?o._syncHtmlAndDataSource():t.autoBind?(o._progress(!0),o.dataSource.fetch(this._attemptLoadCompleted.bind(this))):(o._progressHandler=o._requestStart.bind(o),o.dataSource.bind(M,o._progressHandler)),t.checkboxes&&t.checkboxes.checkChildren&&o.updateIndeterminate(),o.element[0].id?o._ariaId=s.format("{0}_tv_active",o.element[0].id):o._ariaId=s.guid()+"_tv_active",s.notify(o)},_attachEvents:function(){var t=this,n=".k-treeview-leaf:not(.k-selected,.k-disabled)",i="mouseenter";t._clickHandler=t._click.bind(t),t.wrapper.on(i+_,".k-treeview-leaf.k-selected",(function(e){e.preventDefault()})).on(i+_,n,(function(){e(this).addClass(O)})).on("mouseleave"+_,n,(function(){e(this).removeClass(O)})).on(B+_,n,t._clickHandler).on("dblclick"+_,".k-treeview-leaf:not(.k-disabled)",t._toggleButtonClick.bind(t)).on(B+_,`.k-treeview-toggle .${N}`,t._toggleButtonClick.bind(t)).on("keydown"+_,t,t._keydown.bind(t)).on("keypress"+_,t._keypress.bind(t)).on("focus"+_,t._focus.bind(t)).on("blur"+_,t._blur.bind(t)).on("mousedown"+_,`.k-treeview-leaf,.k-checkbox-wrap :checkbox,.k-treeview-toggle .${N}`,t._mousedown.bind(t)).on("change"+_,".k-checkbox-wrap :checkbox",t._checkboxChange.bind(t)).on("click"+_,".k-request-retry",t._retryRequest.bind(t)).on("click"+_,".k-link.k-disabled",(function(e){e.preventDefault()})).on("click"+_,(function(n){var i=e(n.target);i.is(":kendoFocusable")||i.find("input,select,textarea,button,object").is(":kendoFocusable")||t.focus()}))},_requestStart:function(){this._progress(!0)},_syncHtmlAndDataSource:function(e,t){e=e||this.root;var n,i,o,r,a,l=(t=t||this.dataSource).view(),c=s.attr("uid"),d=s.attr("expanded"),u=this.options.checkboxes,h=e.children("li");for(n=0;n<h.length;n++)r=(o=l[n]).uid,(i=h.eq(n)).attr("role","treeitem").attr(c,r).attr($,i.hasClass("k-selected")),o.expanded="true"===i.attr(d),o.hasChildren&&i.attr(G,o.expanded),u&&(a=ie(i),o.checked=a.prop(z),a.attr("id","_"+r),a.next(".k-checkbox-label").attr("for","_"+r),i.attr(W,i.checked)),this._syncHtmlAndDataSource(i.children("ul"),o.children)},_animation:function(){var e=this.options,t=e.animation,n=t.collapse&&"effects"in t.collapse,i=h({},t.expand,t.collapse);n||(i=h(i,{reverse:!0})),!1===t&&(t={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),t.collapse=h(i,{hide:!0}),e.animation=t},_dragging:function(){var t=this.options.dragAndDrop,n=this.dragging;if(t&&!n){var i=this;this.dragging=new l.HierarchicalDragAndDrop(this.element,{reorderable:!0,autoScroll:this.options.autoScroll,filter:"div:not(.k-disabled) .k-treeview-leaf",allowedContainers:".k-treeview",itemSelector:".k-treeview .k-treeview-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-treeview-leaf"),first:t.hasClass("k-treeview-top"),last:t.hasClass("k-treeview-bot")}},dropPositionFrom:function(e){return e.prevAll(".k-treeview-leaf").length>0?"after":"before"},dragstart:function(e){return i.wrapper.attr(s.attr("scrollable"),!1),i.trigger(T,{sourceNode:e[0]})},drag:function(e){i.trigger(I,{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")&&i._tempPreventNavigation(n),i.trigger(H,{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,o=e.position;function r(t){i.options.checkboxes&&i.options.checkboxes.checkChildren&&i.updateIndeterminate(),i.current(t),i.element.focus(),i.trigger(D,{originalEvent:e.originalEvent,sourceNode:t&&t[0],destinationNode:n[0],dropPosition:o})}i.wrapper.removeAttr(s.attr("scrollable")),"over"==o?i.append(t,n,r):("before"==o?t=i.insertBefore(t,n):"after"==o&&(t=i.insertAfter(t,n)),r(t))}})}else!t&&n&&(n.destroy(),this.dragging=null)},_tempPreventNavigation:function(e){e.on(B+_+b,(function(t){t.preventDefault(),e.off(B+_+b)}))},_hintText:function(e){return this.templates.dragClue({item:this.dataItem(e),treeview:this.options})},_templates:function(){let t=this,n=t.options,i=t._fieldAccessor.bind(t);n.template&&typeof n.template==j?n.template=p(n.template):n.template||(n.template=({item:e})=>{let n=i("text")(e),o=i("contentAttr")(e);return void 0!==e.encoded&&!1===e.encoded?`<span ${t.templates.contentCssAttributes(o)}>${n}</span>`:`<span ${t.templates.contentCssAttributes(o)}>${d(n)}</span>`}),t._checkboxes(),t.templates={setAttributes:function(e){return t.templates.setDefaultClasses(J,e.attr)},cssClass:function(e,t){var n="",i=t.index,o=e.length-1;return e.firstLevel&&0===i&&(n+="k-treeview-top "),n+=0===i&&i!=o?-1!=n.indexOf("k-treeview-top")?"":"k-treeview-top":i==o?"k-treeview-bot":"k-treeview-mid"},textClass:function(e,t){var n="k-treeview-leaf";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?l.icon(e,{icon:"caret-alt-"+(s.support.isRtl(t.element)?"left":"right")}):l.icon(e,{icon:"caret-alt-down"})},groupAttributes:function(e){var t="";return e.firstLevel||(t="role='group'"),t+(!0!==e.expanded?` ${s.attr("style-display")}="none"`:"")},groupCssClass:function(e){var t="k-treeview-group";return e.firstLevel&&(t+=" k-treeview-lines"),t},dragClue:e=>e.treeview.template(e),group:e=>`<ul class='${e.r.groupCssClass(e.group)}'${e.r.groupAttributes(e.group)}>`+e.renderItems(e)+"</ul>",itemContent:e=>{let n=i("imageUrl")(e.item),o=i("imageAttr")(e.item),r=i("spriteCssClass")(e.item),a="";return n&&(a+=`<img ${t.templates.imageCssAttributes(o)} alt='' src='${n}'>`),r&&(a+=`<span class='k-sprite ${r}'></span>`),a+=e.treeview.template(e),a},itemElement:t=>{let n=t.item,o=t.r,r=i("url")(n),a=r?"a":"span",s=r?' href="'+u(r)+'"':"",l=`<div class="${o.cssClass(t.group,n)}">`;return n.hasChildren&&(l+=`<span class='${o.toggleButtonClass(n)}'>`+o.toggleIcon(e(U),n)+"</span>"),t.treeview.checkboxes&&(l+="<span class='k-checkbox-wrap' role='presentation'>"+t.treeview.checkboxes.template(t)+"</span>"),l+=`<${a} ${o.linkCssAttributes(n,!!r)} ${s}>`+o.itemContent(t)+`</${a}>`,l+="</div>",l},item:e=>{var t=e.item,n=e.r,i=`<li role='treeitem'${s.attr("uid")}="${t.uid}"${n.setAttributes(t.toJSON?t.toJSON():t)} `;return e.treeview.checkboxes&&(i+=`aria-checked="${t.checked?"true":"false"}" `),i+=`aria-selected="${t.selected?"true":"false"}" `+(!1===t.enabled?'aria-disabled="true"':""),t.hasChildren&&(i+=`aria-expanded="${t.expanded?"true":"false"}" `),i+=`data-expanded="${t.expanded?"true":"false"}" >`+n.itemElement(e)+"</li>"},loading:({messages:e})=>`<div class='k-icon k-i-loading'></div> ${d(e.loading)}`,retry:({messages:e})=>`${d(e.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'>${d(e.retry)}</span></button>`,imageCssAttributes:function(e){return t.templates.setDefaultClasses(ee,e)},contentCssAttributes:function(e){return t.templates.setDefaultClasses(te,e)},linkCssAttributes:function(e,n){return t.templates.setDefaultClasses(this.textClass(e,n),i("linkAttr")(e))},setDefaultClasses:function(e,n){return(n=n&&n.toJSON?n.toJSON():n||{}).class?n.class+=" "+e:n.class=e,t.templates.stringifyAttributes(n)},stringifyAttributes:function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t+=n+'="'+e[n]+'" ');return t}}},items:function(){return this.element.find(".k-treeview-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(x,e._refreshHandler),e.dataSource.bind(C,e._errorHandler),e.dataSource.bind(A,e._loadCompletedHandler),e.dataSource.bind(P,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(V,{nodes:t._loadedNodes}),t._loadedNodes=[])},_attemptLoadCompleted:function(){var e,t,n=this,i=n.dataSource.view();if(!1===n.options.loadOnDemand){for(t=0;t<i.length;t++)if((e=i[t]).hasChildren&&(!e.children||!e.children.data()||0===e.children.data().length))return;n._loadCompletedFired=!0,n.trigger(V,{nodes:[]})}},_unbindDataSource:function(){var e=this.dataSource;e&&(e.unbind(x,this._refreshHandler),e.unbind(M,this._progressHandler),e.unbind(C,this._errorHandler),e.unbind(A,this._loadCompletedHandler),e.unbind(P,this._requestEndHandler))},_dataSource:function(e){var t=this,n=t.options.dataSource;n=f(n)?{data:n}:n,t._unbindDataSource(),n.fields||(n.fields=[{field:"text"},{field:"url"},{field:"spriteCssClass"},{field:"imageUrl"}]),t.dataSource=n=v.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:[T,I,H,D,E,V,"expand","collapse",y,x,k,w,"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,i=this.options,o=this.element;for(e in X)t=i[X[e]],n=o.attr(s.attr(e+"-field")),!t&&n&&(t=n),t||(t=e),f(t)||(t=[t]),i[X[e]]=t},_fieldAccessor:function(t){var n=this.options[X[t]],i=n.length;return function(o){return 0===i?s.getter(t)(o):e.map(n,(function(e){return function(t){return s.getter(e)(t)}}))[Math.min(o.level(),i-1)](o)}},setOptions:function(e){m.fn.setOptions.call(this,e),this._animation(),this._dragging(),this._accessors(),this._templates()},_trigger:function(e,t){return this.trigger(e,{node:t.closest(R)[0]})},_setChecked:function(e,t){if(e&&s.isFunction(e.view))for(var n=0,i=e.view();n<i.length;n++)!1!==i[n].enabled&&this._setCheckedValue(i[n],t),i[n].children&&this._setChecked(i[n].children,t)},_setCheckedValue:function(e,t){e[z]=t},_setIndeterminate:function(e){var t,n,o,r=i(e),a=!0;if(r.length&&(n=(t=ie(r.children())).length)){if(n>1){for(o=1;o<n;o++)if(t[o].checked!=t[o-1].checked||t[o].indeterminate||t[o-1].indeterminate){a=!1;break}}else a=!t[0].indeterminate;return e.attr(W,a?t[0].checked:"mixed"),ie(e).data(S,!a).prop(S,!a).prop(z,a&&t[0].checked)}},updateIndeterminate:function(e){e=e||this.wrapper;var t,n,o,r=i(e).children();if(r.length){for(t=0;t<r.length;t++)this.updateIndeterminate(r.eq(t));if(e.is(".k-treeview"))return;n=this._setIndeterminate(e),o=this.dataItem(e),n&&n.prop(z)?o.checked=!0:o&&delete o.checked}},_bubbleIndeterminate:function(e,t){if(e.length){t||this.updateIndeterminate(e);var n,i=this.parent(e);i.length&&(this._setIndeterminate(i),n=i.children("div").find(".k-checkbox-wrap input[type=checkbox]"),this._skip=!0,!1===n.prop(S)?this.dataItem(i).set(z,n.prop(z)):this.dataItem(i).set(z,!1),this._skip=!1,this._bubbleIndeterminate(i,!0))}},_checkboxChange:function(t){var n=e(t.target),i=n.prop(z),o=n.closest(R),r=this.dataItem(o);this._preventChange||(r.checked!=i&&(r.set(z,i),o.attr(W,i),this._trigger(w,o)),n.is(":focus")&&(this._trigger(k,o),this.focus()))},_toggleButtonClick:function(t){var n=e(t.currentTarget).closest(R);n.is("[aria-disabled='true']")||this.toggle(n)},_mousedown:function(t){var n=this,i=e(t.currentTarget),o=e(t.currentTarget).closest(R),r=s.support.browser;o.is("[aria-disabled='true']")||((r.msie||r.edge)&&i.is(":checkbox")&&(i.prop(S)?(n._preventChange=!1,i.prop(z,!i.prop(z)),i.trigger(x),i.on(B+_,(function(e){e.preventDefault()})),n._preventChange=!0):(i.off(B+_),n._preventChange=!1)),n._clickTarget=o,n.current(o))},_focusable:function(e){return e&&e.length&&e.is(":visible")&&!e.find(".k-treeview-leaf").first().hasClass(Q)},_focus:function(){var t=this.select(),n=this._clickTarget;s.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],i=[],o=[],r=document.documentElement;do{(n=n.parentNode).scrollHeight>n.clientHeight&&(i.push(n),o.push(n.scrollTop))}while(n!=r);for(s.focusElement(t),e=0;e<i.length;e++)i[e].scrollTop=o[e]},_blur:function(){this.current().find(".k-treeview-leaf").first().removeClass("k-focus")},_enabled:function(e){return!e.children("div").children(".k-treeview-leaf").hasClass(Q)},parent:function(t){var n,i,o=/\bk-treeview\b(?!-)/,r=/\bk-treeview-item\b/;typeof t==j&&(t=this.element.find(t)),Z(t)||(t=t[0]),i=r.test(t.className);do{t=t.parentNode,r.test(t.className)&&(i?n=t:i=!0)}while(!o.test(t.className)&&!n);return e(n)},_nextVisible:function(e){var t,n=this,o=n._expanded(e);function r(e){for(;e.length&&!e.next().length;)e=n.parent(e);return e.next().length?e.next():e}return e.length&&e.is(":visible")?o&&(t=i(e).children().first()).length||(t=r(e)):t=n.root.children().eq(0),t},_previousVisible:function(e){var t,n,o=this;if(!e.length||e.prev().length)for(n=e.length?e.prev():o.root.children().last();o._expanded(n)&&(t=i(n).children().last()).length;)n=t;else n=o.parent(e)||e;return n},scrollTo:function(e){e&&e.length>0&&e[0].scrollIntoView({block:"nearest"})},_keydown:function(n){var i,o=this,r=n.keyCode,a=o.current(),l=o._expanded(a),c=a.find(".k-checkbox-wrap").first().find(":checkbox"),d=s.support.isRtl(o.element);n.target==n.currentTarget&&(!d&&r==g.RIGHT||d&&r==g.LEFT?l?i=o._nextVisible(a):a.find(".k-treeview-leaf").first().hasClass(Q)||o.expand(a):!d&&r==g.LEFT||d&&r==g.RIGHT?l&&!a.find(".k-treeview-leaf").first().hasClass(Q)?o.collapse(a):(i=o.parent(a),o._enabled(i)||(i=t)):r==g.DOWN?i=o._nextVisible(a):r==g.UP?i=o._previousVisible(a):r==g.HOME?i=o._nextVisible(e()):r==g.END?i=o._previousVisible(e()):r!=g.ENTER||a.find(".k-treeview-leaf").first().hasClass(Q)?r==g.SPACEBAR&&c.length&&(a.find(".k-treeview-leaf").first().hasClass(Q)||(c.prop(z,!c.prop(z)).data(S,!1).prop(S,!1),o._checkboxChange({target:c})),i=a):a.find(".k-treeview-leaf").first().hasClass("k-selected")||o._trigger(y,a)||o.select(a),i&&(n.preventDefault(),a[0]!=i[0]&&(o._trigger(k,i),o.current(i),o.scrollTo(i))))},_keypress:function(e){var t,n=this,i=n.current().get(0),o=e.key;1===o.length&&(n._match||(n._match=""),n._match+=o,clearTimeout(n._matchTimer),n._matchTimer=setTimeout((function(){n._match=""}),300),(t=i&&n._matchNextByText(Array.prototype.indexOf.call(n.element.find(".k-treeview-item"),i),n._match)).length||(t=n._matchNextByText(-1,n._match)),t.get(0)&&t.get(0)!==i&&(n._trigger(k,t),n.current(t)))},_matchNextByText:function(t,n){return this.element.find(".k-treeview-leaf").filter((function(i,o){return i>t&&e(o).is(":visible")&&0===e(o).text().toLowerCase().indexOf(n)})).eq(0).closest(R)},_click:function(t){var n=e(t.currentTarget),i=o(n.closest(R)),r=n.attr("href");(r?"#"==r||r.indexOf("#"+this.element.id+"-")>=0:i.length&&!i.children().length)&&t.preventDefault(),n.hasClass(".k-selected")||this._trigger(y,n)||this.select(n)},_wrapper:function(){var e,t,n=this,i=n.element;i.is("ul")?(e=i.wrap("<div />").parent(),t=i):t=(e=i).children("ul").eq(0),n.wrapper=e.addClass("k-treeview"),n.root=t},_getSelectedNode:function(){return this.element.find(".k-selected").closest(R)},_group:function(e){var t=this,n=e.hasClass(L),i={firstLevel:n,expanded:n||t._expanded(e)},o=e.children("ul");o.addClass(t.templates.groupCssClass(i)).css("display",i.expanded?"":"none"),n||o.attr("role","group"),t._nodes(o,i)},_nodes:function(t,n){var i,o=this,r=t.children("li");n=h({length:r.length},n),r.each((function(t,r){r=e(r),i={index:t,expanded:o._expanded(r)},re(r),o._updateNodeClasses(r,n,i),o._group(r)}))},_checkboxes:function(){var t,n=this.options,i=n.checkboxes;i&&(t=(t=s.html.renderCheckBox(e("<input/>"),e.extend({},n,{rounded:"medium"}))).replace(">",""),typeof(i=h({template:({item:e})=>t+` id="_${e.uid}" aria-hidden="true" type="checkbox" tabindex="-1"`+(i.name?'name="'+i.name+'"':"")+" "+(!1===e.enabled?"disabled":"")+" "+(e.checked?"checked":"")+"/>"},n.checkboxes)).template==j&&(i.template=p(i.template)),n.checkboxes=i)},_updateNodeClasses:function(e,t,n){var i=e.children("div"),o=e.children("ul"),r=this.templates;if(!e.hasClass("k-treeview")){(n=n||{}).expanded=typeof n.expanded!=F?n.expanded:this._expanded(e),n.index=typeof n.index!=F?n.index:e.index(),n.enabled=typeof n.enabled!=F?n.enabled:!i.children(".k-treeview-leaf").hasClass("k-disabled"),(t=t||{}).firstLevel=typeof t.firstLevel!=F?t.firstLevel:e.parent().parent().hasClass(L),t.length=typeof t.length!=F?t.length:e.parent().children().length,e.addClass("k-treeview-item"),i.removeClass("k-treeview-top k-treeview-mid k-treeview-bot").addClass(r.cssClass(t,n)),i.find(".k-checkbox").removeClass("k-checkbox k-disabled").addClass(r.checkboxClass(n));var a=i.children(".k-treeview-leaf"),s=a[0]&&"a"==a[0].nodeName.toLowerCase();if(a.removeClass("k-treeview-leaf k-link k-disabled").addClass(r.textClass(n,s)),o.length||"true"==e.attr("data-hasChildren")){var l=i.find(".k-treeview-toggle"),c=l.children("span");l.removeClass("k-treeview-toggle k-disabled").addClass(r.toggleButtonClass(n)),r.toggleIcon(c,n),o.addClass("k-treeview-group")}}},_processNodes:function(t,n){for(var i=this.element.find(t),o=0;o<i.length;o++)n.call(this,o,e(i[o]).closest(R))},dataItem:function(t){var n=e(t).closest(R).attr(s.attr("uid")),i=this.dataSource;return i&&i.getByUid(n)},_dataItem:function(t){var n=e(t).closest(R).attr(s.attr("uid"));return this.dataSource&&this._dataSourceUids[n]},_insertNode:function(t,n,o,r,a){var l,c,d,u,h,p,f=this,m=i(o),v=m.children().length+1,g={firstLevel:o.hasClass(L),expanded:!a,length:v},_="",b=function(e,t){e.appendTo(t)};for(d=0;d<t.length;d++)(u=t[d]).index=n+d,_+=f._renderItem({group:g,item:u});if((c=e(_)).length){for(m.length||(m=e(f._renderGroup({group:g})),s.applyStylesFromKendoAttributes(m,["display"]),m.appendTo(o),o.attr(G,!0)),r(c,m),o.hasClass("k-treeview-item")&&(re(o),f._updateNodeClasses(o,g,{expanded:!a})),h=c.prev().first(),p=c.next().last(),f._updateNodeClasses(h,{},{expanded:"true"==h.attr(s.attr("expanded"))}),f._updateNodeClasses(p,{},{expanded:"true"==p.attr(s.attr("expanded"))}),d=0;d<t.length;d++)(u=t[d]).hasChildren&&(l=u.children.data()).length&&f._insertNode(l,u.index,c.eq(d),b,!u.expanded);return c}},_updateNodes:function(t,n){var i,r,a,c,d,u,h=this,p={treeview:h.options,item:c},f="expanded"!=n&&"checked"!=n;function m(e,t){e.is(".k-treeview-group")&&e.find(".k-treeview-item:not([aria-disabled])").attr(W,t),e.find(".k-checkbox-wrap input[type=checkbox]:not([disabled])").prop(z,t).data(S,!1).prop(S,!1)}if("selected"==n)c=t[0],(r=h.findByUid(c.uid)).find(".k-treeview-leaf").first().removeClass("k-hover").toggleClass("k-selected",c[n]).end(),c[n]&&h.current(r),r.attr($,!!c[n]);else{var v=e.map(t,(function(e){return h.findByUid(e.uid).children("div")}));for(i=0;i<t.length;i++)p.item=c=t[i],r=(a=v[i]).parent(),f&&(s.unbind&&s.unbind(a),a.children(".k-treeview-leaf").html(h.templates.itemContent(p))),n==z?(m(a,d=c[n]),r.attr(W,d),h.options.checkboxes.checkChildren&&(m(r.children(".k-treeview-group"),d),h._setChecked(c.children,d),h._bubbleIndeterminate(r))):"expanded"==n?h._toggle(r,c,c[n]):"enabled"==n&&(r.find(".k-checkbox-wrap input[type=checkbox]").prop("disabled",!c[n]),u=!o(r).is(":visible"),r.removeAttr(q),c[n]||(c.selected&&c.set("selected",!1),c.expanded&&c.set("expanded",!1),u=!0,r.attr($,!1).attr(q,!0)),h._updateNodeClasses(r,{},{enabled:c[n],expanded:!u})),a.length&&this.trigger("itemChange",{item:a,data:c,ns:l})}},_appendItems:function(e,t,n){var o=i(n).children(),r=!this._expanded(n);if(this.element===n){var a=this.dataSource.data(),s=this.dataSource.view(),l=s.length<a.length?s:a;e=l.indexOf(t[0])}else t.length&&(e=t[0].parent().indexOf(t[0]));typeof e==F&&(e=o.length),this._insertNode(t,e,n,(function(t,n){e>=o.length?t.appendTo(n):t.insertBefore(o.eq(e))}),r),this._updateNodeClasses(n,{},{expanded:!r}),r||i(n).css("display","block")},_refreshChildren:function(e,t,n){var o,r,a,s=this.options,c=s.loadOnDemand,d=s.checkboxes&&s.checkboxes.checkChildren;if(i(e).empty(),t.length)for(this._appendItems(n,t,e),r=i(e).children(),c&&d&&this._bubbleIndeterminate(r.last()),o=0;o<r.length;o++)a=r.eq(o),this.trigger("itemChange",{item:a.children("div"),data:t[o],ns:l});else re(e)},_refreshRoot:function(t){var n=this._renderGroup({items:t,group:{firstLevel:!0,expanded:!0}});if(this.root.length&&this.root[0].parentElement){var i=e(n);this.root.attr("class",i.attr("class")).html(i.html())}else this.root=this.wrapper.html(n).children("ul");for(var o=this.root.children(".k-treeview-item"),r=0;r<t.length;r++)this.trigger("itemChange",{item:o.eq(r),data:t[r],ns:l})},refresh:function(e){var n,i=e.node,o=e.action,r=e.items,a=this.wrapper,s=this.options,l=s.loadOnDemand,c=s.checkboxes&&s.checkboxes.checkChildren;if(!this._skip){for(n=0;n<r.length;n++)this._dataSourceUids[r[n].uid]=r[n];if(e.field){if(!r[0]||!r[0].level)return;return this._updateNodes(r,e.field)}if(i&&(a=this.findByUid(i.uid),this._progress(a,!1)),c&&"remove"!=o){var d=!1;for(n=0;n<r.length;n++)if("checked"in r[n]){d=!0;break}if(!d&&i&&i.checked)for(n=0;n<r.length;n++)r[n].checked=!0}if("add"==o?this._appendItems(e.index,r,a):"remove"==o?this._remove(this.findByUid(r[0].uid),!1):"itemchange"==o?this._updateNodes(r):"itemloaded"==o?this._refreshChildren(a,r,e.index):(this._refreshRoot(r),this.element.attr(Y,!1)),"remove"!=o)for(n=0;n<r.length;n++)(!l||r[n].expanded||r[n]._loaded)&&r[n].load();this.wrapper.find(">ul").attr("role","tree"),this.trigger(E,{node:i?a:t}),this.dataSource.filter()&&this.options.checkboxes.checkChildren&&this.updateIndeterminate(a)}},_error:function(t){var n=t.node&&this.findByUid(t.node.uid),i=this.templates.retry({messages:this.options.messages});n?(this._progress(n,!1),this._expanded(n,!1),r(n).replaceWith(l.icon(e(U),{icon:"arrow-rotate-cw"})),t.node.loaded(!1)):(this._progress(!1),this.dataSource.data([]),this.element.html(i))},_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,i=n._current,o=n.element;return arguments.length>0&&t&&t.length?(i&&i.find(".k-treeview-leaf").first().removeClass("k-focus"),(i=n._current=e(t,o).closest(R)).find(".k-treeview-leaf").first().addClass("k-focus"),void n._updateActiveDescendant()):(i||(i=n._nextVisible(e())),i)},_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(K),e.attr("id",t),this.root.attr(K,t)},select:function(t){var n=this,i=n.element;if(!arguments.length)return i.find(".k-selected").closest(R);t=e(t,i).closest(R),i.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(x)},_toggle:function(e,t,n){var i,r=this.options,a=o(e),s=n?"expand":"collapse";a.data("animating")||(i=t&&t.loaded(),n&&!i?(r.loadOnDemand&&this._progress(e,!0),a.remove(),t.load()):(this._updateNodeClasses(e,{},{expanded:n}),n||a.css("height",a.height()).css("height"),a.kendoStop(!0,!0).kendoAnimate(h({reset:!0},r.animation[s],{complete:function(){n&&a.css("height","")}}))))},toggle:function(t,n){t=e(t),r(t)&&(1==arguments.length&&(n=!this._expanded(t)),this._expanded(t,n))},destroy:function(){var e=this;m.fn.destroy.call(e),e.wrapper.off(_),e.wrapper.find(".k-checkbox-wrap :checkbox").off(_),e._clickHandler=null,e._unbindDataSource(),e.dragging&&e.dragging.destroy(),e._dataSourceUids={},s.destroy(e.element),e.root=e.wrapper=e.element=null},_expanded:function(e,t,n){var i,r=s.attr("expanded"),a=t,l=a?"expand":"collapse";if(e.children().hasClass("k-hidden")&&e.children().removeClass("k-hidden"),1==arguments.length)return i=this._dataItem(e),"true"===e.attr(r)||i&&i.expanded;i=this.dataItem(e),o(e).data("animating")||!n&&this._trigger(l,e)||(a?(e.attr(r,"true"),e.attr(G,"true")):(e.removeAttr(r),e.attr(G,"false")),i&&(i.set("expanded",a),a=i.expanded))},_progress:function(t,n){var i=this.element,o=this.templates.loading({messages:this.options.messages});1==arguments.length?((n=t)?i.html(o):i.empty(),this.element.attr(Y,n)):(r(t).replaceWith(e(U).toggleClass("k-i-loading",n).toggleClass("k-icon",n)),t.attr(Y,n))},text:function(e,t){var n=this.dataItem(e),i=this.options[X.text],o=n.level(),r=i.length,a=i[Math.min(o,r-1)];if(!t)return n[a];n.set(a,t)},_objectOrSelf:function(t){return e(t).closest("[data-role=treeview]").data("kendoTreeView")||this},_dataSourceMove:function(t,n,i,o){var r,a=this._objectOrSelf(i||n),s=a.dataSource,l=e.Deferred().resolve().promise();return i&&i[0]!=a.element[0]&&((r=a.dataItem(i)).loaded()||(a._progress(i,!0),l=r.load()),i!=this.root&&((s=r.children)&&s instanceof v||(r._initChildren(),r.loaded(!0),s=r.children))),t=this._toObservableData(t),o.call(a,s,t,l)},_toObservableData:function(t){var n,i,o,r=t;return((o=t)instanceof s.jQuery||window.jQuery&&o instanceof window.jQuery||Z(t))&&(n=this._objectOrSelf(t).dataSource,i=e(t).attr(s.attr("uid")),(r=n.getByUid(i))&&(r=n.remove(r))),r},_insert:function(e,t,n){t instanceof s.data.ObservableArray?t=t.toJSON():f(t)||(t=[t]);var i=e.parent();return i&&i._initChildren&&(i.hasChildren=!0,i._initChildren()),e.splice.apply(e,[n,0].concat(t)),this.findByUid(e[n].uid)},insertAfter:oe(1),insertBefore:oe(0),append:function(t,n,o){var r=this.root;if(!(n&&t instanceof jQuery&&n[0]===t[0]))return(n=n&&n.length?n:null)&&(r=i(n)),this._dataSourceMove(t,r,n,(function(t,i,r){var a,s=this;return r.done((function(){a=function(){n&&s._expanded(n,!0,!0);var e=t.data(),o=Math.max(e.length,0);return s._insert(e,i,o)}(),(o=o||e.noop)(a)})),a||null}))},_remove:function(t,n){var i,o,r,a=this;return(t=e(t,a.element)).attr("id")===a.root.attr(K)&&a.root.removeAttr(K),i=t.parent().parent(),o=t.prev(),r=t.next(),t[n?"detach":"remove"](),i.hasClass("k-treeview-item")&&(re(i),a._updateNodeClasses(i)),a._updateNodeClasses(o),a._updateNodeClasses(r),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-treeview-leaf").filter((function(n,i){return e(i).text()==t})).closest(R)},findByUid:function(t){for(var n,i=this.element.find(".k-treeview-item"),o=s.attr("uid"),r=0;r<i.length;r++)if(i[r].getAttribute(o)==t){n=i[r];break}return e(n)},expandPath:function(t,n){var i=this,o=t.slice(0),r=n||e.noop;function a(t){var n,o=e.Deferred(),r=i.dataSource.get(t),a=s.attr("expanded");return r?(n=i.findByUid(r.uid),r.loaded()?(r.set("expanded",!0),n.attr(a,!0),n.attr(G,!0),o.resolve()):(i._progress(n,!0),r.load().then((function(){r.set("expanded",!0),n.attr(a,!0),n.attr(G,!0),o.resolve()})))):o.resolve(),o.promise()}a(o[0]).then((function e(){o.shift(),o.length?a(o[0]).then(e):r.call(i)}))},_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 s.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="",i=0,o=e.items,r=o?o.length:0,a=e.group;for(a.length=r;i<r;i++)e.group=a,e.item=o[i],e.item.index=i,n+=t._renderItem(e);return n},e.r=t.templates,t.templates.group(e)}}),s.cssProperties.registerPrefix("TreeView","k-treeview-"),l.plugin(n)}(window.kendo.jQuery);kendo}));
//# sourceMappingURL=kendo.custom.min.js.map
module.exports = kendo;