Line 7: | Line 7: | ||
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ | * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ | ||
*/ | */ | ||
− | + | "use strict";!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(660)},,,,function(e,t,n){var i=n(5);n(186);var o=i.ui=n(198);o.themes=n(144),o.setTemplateEngine=n(199),o.dialog=n(200),o.notify=n(205),o.dxActionSheet=n(207),o.dxAutocomplete=n(209),o.dxBox=n(253),o.dxButton=n(202),o.dxCalendar=n(254),o.dxCheckBox=n(249),o.dxColorBox=n(261),o.dxDateBox=n(268),o.dxDeferRendering=n(280),o.dxDropDownBox=n(281),o.dxDropDownMenu=n(282),o.dxFileUploader=n(283),o.dxForm=n(286),o.dxGallery=n(298),o.dxList=n(219),o.dxLoadIndicator=n(239),o.dxLoadPanel=n(247),o.dxLookup=n(299),o.dxMap=n(300),o.dxMultiView=n(293),o.dxNavBar=n(307),o.dxNumberBox=n(264),o.dxOverlay=n(110),o.dxPopover=n(208),o.dxPopup=n(201),o.dxProgressBar=n(284),o.dxRadioGroup=n(309),o.dxRangeSlider=n(311),o.dxResizable=n(112),o.dxResponsiveBox=n(291),o.dxScrollView=n(234),o.dxSelectBox=n(318),o.dxSlider=n(312),o.dxSwitch=n(319),o.dxTabPanel=n(292),o.dxTabs=n(294),o.dxTagBox=n(320),o.dxTextArea=n(321),o.dxTextBox=n(212),o.dxTileView=n(322),o.dxToast=n(206),o.dxToolbar=n(323),o.dxTooltip=n(315),o.dxTrackBar=n(285),i.validationEngine=n(118),o.dxValidationSummary=n(296),o.dxValidationGroup=n(297),o.dxValidator=n(289),o.CollectionWidget=n(150),o.dxDropDownEditor=n(211),e.exports=o},function(e,t,n){var i=n(6);i.framework=n(92),n(145),n(93),n(177),n(179),n(180),n(181),n(182),n(76),n(166),n(183),n(111),n(165),n(104),n(77),n(184),n(185),e.exports=i},function(e,t,n){var i=window.DevExpress=window.DevExpress||{},o=i.errors=n(7);if(i._DEVEXTREME_BUNDLE_INITIALIZED)throw o.Error("E0024");i._DEVEXTREME_BUNDLE_INITIALIZED=!0,i.clientExporter=n(20),i.VERSION=n(19),i.Class=n(25),i.DOMComponent=n(43),i.registerComponent=n(57),i.devices=n(53),i.Color=n(38);var a=n(9),s=n(17).compare;if(s(a.fn.jquery,[1,10])<0)throw o.Error("E0012");var r=n(59);i.requestAnimationFrame=function(){return o.log("W0000","DevExpress.requestAnimationFrame","15.2","Use the 'DevExpress.utils.requestAnimationFrame' method instead."),r.requestAnimationFrame.apply(r,arguments)},i.cancelAnimationFrame=function(){return o.log("W0000","DevExpress.cancelAnimationFrame","15.2","Use the 'DevExpress.utils.cancelAnimationFrame' method instead."),r.cancelAnimationFrame.apply(r,arguments)},i.EventsMixin=n(51),i.utils={},i.utils.requestAnimationFrame=r.requestAnimationFrame,i.utils.cancelAnimationFrame=r.cancelAnimationFrame,i.utils.initMobileViewport=n(60).initMobileViewport,i.utils.extendFromObject=n(11).extendFromObject,i.utils.createComponents=n(62).createComponents,i.utils.triggerShownEvent=n(62).triggerShownEvent,i.utils.triggerHidingEvent=n(62).triggerHidingEvent,i.utils.resetActiveElement=n(62).resetActiveElement,i.utils.findBestMatches=n(14).findBestMatches,i.createQueue=n(63).create,i.utils.dom=n(62),i.utils.common=n(14),i.utils.date=n(64),i.utils.browser=n(23),i.utils.inflector=n(39),i.utils.resizeCallbacks=n(44).resizeCallbacks,i.utils.console=n(13),i.utils.string=n(18),i.utils.support=n(61),i.processHardwareBackButton=n(65),i.viewPort=n(55).value,i.hideTopOverlay=n(66),i.formatHelper=n(67);var l=i.config=n(15);Object.defineProperty(i,"rtlEnabled",{get:function(){return o.log("W0003","DevExpress","rtlEnabled","16.1","Use the 'DevExpress.config' method instead"),l().rtlEnabled},set:function(e){o.log("W0003","DevExpress","rtlEnabled","16.1","Use the 'DevExpress.config' method instead"),l({rtlEnabled:e})}}),Object.defineProperty(i,"designMode",{get:function(){return l().designMode},set:function(e){l({designMode:e})}}),i.animationPresets=n(68).presets,i.fx=n(69),i.TransitionExecutor=n(75).TransitionExecutor,i.AnimationPresetCollection=n(68).PresetCollection,e.exports=i.events={},i.events.click=n(76),i.events.utils=n(72),i.events.GestureEmitter=n(87),i.localization=n(89),e.exports=i},function(e,t,n){var i=n(8);e.exports=i({E0001:"Method is not implemented",E0002:"Member name collision: {0}",E0003:"A class must be instantiated using the 'new' keyword",E0004:"The NAME property of the component is not specified",E0005:"Unknown device",E0006:"Unknown endpoint key is requested",E0007:"'Invalidate' method is called outside the update transaction",E0008:"Type of the option name is not appropriate to create an action",E0009:"Component '{0}' has not been initialized for an element",E0010:"Animation configuration with the '{0}' type requires '{1}' configuration as {2}",E0011:"Unknown animation type '{0}'",E0012:"jQuery version is too old. Please upgrade jQuery to 1.10.0 or later",E0013:"KnockoutJS version is too old. Please upgrade KnockoutJS to 2.3.0 or later",E0014:"The 'release' method shouldn't be called for an unlocked Lock object",E0015:"Queued task returned an unexpected result",E0017:"Event namespace is not defined",E0018:"DevExpress.ui.DevExpressPopup widget is required",E0020:"Template engine '{0}' is not supported",E0021:"Unknown theme is set: {0}",E0022:"LINK[rel=DevExpress-theme] tags must go before DevExpress included scripts",E0023:"Template name is not specified",E0024:"DevExtreme bundle already included",E0100:"Unknown validation type is detected",E0101:"Misconfigured range validation rule is detected",E0102:"Misconfigured comparison validation rule is detected",E0110:"Unknown validation group is detected",E0120:"Adapter for a DevExpressValidator component cannot be configured",E0121:"The onCustomItemCreating action should return an item or Promise of jQuery Deferred object resolved when an item is created",E4016:"The compileSetter(expr) method is called with 'self' passed as a parameter",W0000:"'{0}' is deprecated in {1}. {2}",W0001:"{0} - '{1}' option is deprecated in {2}. {3}",W0002:"{0} - '{1}' method is deprecated in {2}. {3}",W0003:"{0} - '{1}' property is deprecated in {2}. {3}",W0004:"Timeout for theme loading is over: {0}",W0005:"'{0}' event is deprecated in {1}. {2}",W0006:"Invalid recurrence rule: '{0}'",W0007:"'{0}' Globalize culture is not defined",W0008:"Invalid view name: '{0}'",W0009:"Invalid time zone name: '{0}'",W0010:"{0} is deprecated in {1}. {2}",W0011:"Number parsing is invoked while the parser is not defined",W0012:"Date parsing is invoked while the parser is not defined",W0013:"'{0}' file is deprecated in {1}. {2}"})},function(e,t,n){var i=n(9),o=n(11).extend,a=n(13),s=n(18),r=n(19),l="http://js.devexpress.com/error/"+r.split(".").slice(0,2).join("_")+"/";e.exports=function(e,t){var n={ERROR_MESSAGES:o(t,e),Error:function(){return u(i.makeArray(arguments))},log:function(e){var t="log";/^E\d+$/.test(e)?t="error":/^W\d+$/.test(e)&&(t="warn"),a.logger[t]("log"===t?e:r(i.makeArray(arguments)))}},r=function(e){var t=e[0];return e=e.slice(1),d(t,c(t,e))},c=function(e,t){return t=[n.ERROR_MESSAGES[e]].concat(t),s.format.apply(this,t).replace(/\.*\s*?$/,"")},d=function(e,t){return s.format.apply(this,["{0} - {1}. See:\n{2}",e,t,l+e])},u=function(e){var t,n,i;return t=e[0],e=e.slice(1),n=c(t,e),i=d(t,n),o(new Error(i),{__id:t,__details:n})};return n}},function(e,t,n){var i=n(10);e.exports=i},function(e,t){e.exports=jQuery},function(e,t,n){var i=n(12).isPlainObject,o=function(e,t,n){e=e||{};for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];i in e&&!n||(e[i]=o)}return e},a=function(e){e=e||{};var t=1,n=!1;for("boolean"==typeof e&&(n=e,e=arguments[1]||{},t++);t<arguments.length;t++){var o=arguments[t];if(null!=o)for(var s in o){var r,l=e[s],c=o[s],d=!1;e!==c&&(n&&c&&(i(c)||(d=Array.isArray(c)))?(r=d?l&&Array.isArray(l)?l:[]:l&&i(l)?l:{},e[s]=a(n,r,c)):void 0!==c&&(e[s]=c))}}return e};t.extend=a,t.extendFromObject=o},function(e,t){var n=function(e){var t;for(t in e)return!1;return!0},i=function(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e),n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&Object.toString.call(n)===Object.toString.call(Object)};t.isEmptyObject=n,t.isPlainObject=i},function(e,t,n){var i=n(14).isFunction,o=function(){function e(e){o&&i(o.info)&&o.info(e)}function t(e){o&&i(o.warn)&&o.warn(e)}function n(e){o&&i(o.error)&&o.error(e)}var o=window.console;return{info:e,warn:t,error:n}}(),a=function(){function e(e,t){if(!e)throw new Error(t)}function t(t,n){e(null!==t&&void 0!==t,n)}return{assert:e,assertParam:t}}();t.logger=o,t.debug=a},function(e,t,n){var i,o=n(9),a=n(15),s=n(16),r=function(e){var t={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object Null]":"null"},n=Object.prototype.toString.call(e);return"object"==typeof e?t[n]||"object":typeof e},l=function(e){return null!==e&&void 0!==e},c=function(e){return"string"==typeof e},d=function(e){return"number"==typeof e&&isFinite(e)||!isNaN(e-parseFloat(e))},u=function(e){return"object"===r(e)},h=function(e){return"date"===r(e)},p=function(e){return"boolean"==typeof e},f=function(e){return"function"==typeof e},m=function(e){return["object","array","function"].indexOf(r(e))===-1},g=function(e){return d(e)&&e.toString().indexOf("e")!==-1},_=function(e){return null!=e&&e===e.window},v=function(e){return e instanceof Element},w=function(e,t){return l(e)?e:t},x=function(e,t){var n,i=o.Deferred(),a=t||this,s={promise:i.promise(),abort:function(){clearTimeout(n),i.rejectWith(a)}},r=function(){var t=e.call(a);t&&t.done&&f(t.done)?t.done(function(){i.resolveWith(a)}):i.resolveWith(a)};return n=(arguments[2]||setTimeout)(r,"number"==typeof t?t:0),s},y=[],b=[],C=[],k=function(e,t,n){if(i&&i!==e)return y.push(t),b.push(e),n=n||o.Deferred(),C.push(n),n;var a=i,r=C.length;i=e;var l=t();return l||(C.length>r?l=s.when.apply(o,C.slice(r)):n&&n.resolve()),i=a,n&&l&&l.done&&l.done(n.resolve).fail(n.reject),!i&&y.length&&("render"===b.shift()?I:S)(y.shift(),C.shift()),l},I=function(e,t){return k("render",e,t)},S=function(e,t){return k("update",e,t)},D=function(e){return function(){var t=this;return k("render",function(){return e.call(t)})}},T=function(e){return function(){var t=this;return k("update",function(){return e.call(t)})}},E=function(e,t,n){var i=[],a=0;return o.each(t,function(t,s){var r=0,l=n?n(s):s;o.each(e,function(e,t){var n=l[e];if(void 0!==n)return A(n,t)?void r++:(r=-1,!1)}),r<a||(r>a&&(i.length=0,a=r),i.push(s))}),i},A=function(e,t){if(Array.isArray(e)&&Array.isArray(t)){var n=!1;return o.each(e,function(e,i){if(i!==t[e])return n=!0,!1}),!n}return e===t},B=function(e){switch(typeof e){case"string":return e.split(/\s+/,2);case"object":return[e.x||e.h,e.y||e.v];case"number":return[e];default:return e}},M=function(e){switch(typeof e){case"string":return e.split(/\s+/,4);case"object":return[e.x||e.h||e.left,e.y||e.v||e.top,e.x||e.h||e.right,e.y||e.v||e.bottom];case"number":return[e];default:return e}},R=function(e){var t=c(e)?e:e.toString(),n=t.match(/[^a-zA-Z0-9_]/g);return n&&o.each(n,function(e,n){t=t.replace(n,"__"+n.charCodeAt()+"__")}),t},O=function(e){var t=e.match(/__\d+__/g);return t&&t.forEach(function(t){var n=parseInt(t.replace("__",""));e=e.replace(t,String.fromCharCode(n))}),e},P=function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!F(e[i],t[i],n+1))return!1;return!0},V=function(e,t,n){for(var i in e)if(e.hasOwnProperty(i)&&!F(e[i],t[i],n+1))return!1;for(i in t)if(!(i in e))return!1;return!0},F=function(e,t,n){if(e===t)return!0;var i=3;return n=n||0,n>=i||(u(e)&&u(t)?V(e,t,n):Array.isArray(e)&&Array.isArray(t)?P(e,t,n):!(!h(e)||!h(t))&&e.getTime()===t.getTime())},H=function(e){if(u(e)||Array.isArray(e))try{var t=JSON.stringify(e);return"{}"===t?e:t}catch(t){return e}return e},L=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},z=function(e){var t=a().serverDecimalSeparator;return l(e)&&(e=e.toString().replace(".",t)),e},N=function(){},W=function(e,t,n){for(var i,o=[],a=!n,s=0;s<e.length;s++)i=!!t(e[s],s),i===a&&o.push(e[s]);return o};t.type=r,t.isDefined=l,t.isString=c,t.isNumeric=d,t.isObject=u,t.isDate=h,t.isBoolean=p,t.isFunction=f,t.isPrimitive=m,t.isExponential=g,t.isWindow=_,t.isDomNode=v,t.ensureDefined=w,t.executeAsync=x,t.deferRender=I,t.deferRenderer=D,t.deferUpdate=S,t.deferUpdater=T,t.splitPair=B,t.splitQuad=M,t.findBestMatches=E,t.normalizeKey=R,t.denormalizeKey=O,t.equalByValue=F,t.getKeyHash=H,t.escapeRegExp=L,t.applyServerDecimalSeparator=z,t.noop=N,t.grep=W},function(e,t,n){var i=n(11),o={rtlEnabled:!1,defaultCurrency:"USD",designMode:!1,serverDecimalSeparator:".",forceIsoDateParsing:!0,wrapActionsBeforeExecute:!1};e.exports=function(){return arguments.length?void i.extend(o,arguments[0]):o}},function(e,t,n){var i=n(9),o=n(14),a=n(17).compare;t.fromPromise=function(e,t){var n=e&&o.isFunction(e.done)&&o.isFunction(e.fail);if(n)return e;var a=i.Deferred();return e.then(function(){a.resolveWith.apply(a,[t].concat([i.makeArray(arguments)]))},function(){a.rejectWith.apply(a,[t].concat([i.makeArray(arguments)]))}),a},t.when=a(i.fn.jquery,[3])<0?i.when:function(e){return 0===arguments.length?i.Deferred().resolve():1===arguments.length?e&&e.then?e:i.Deferred().resolve(e):i.when.apply(i,arguments)}},function(e,t){t.compare=function(e,t,n){function i(e){return"string"==typeof e?e.split("."):"number"==typeof e?[e]:e}e=i(e),t=i(t);var o=Math.max(e.length,t.length);isFinite(n)&&(o=Math.min(o,n));for(var a=0;a<o;a++){var s=parseInt(e[a]||0,10),r=parseInt(t[a]||0,10);if(s<r)return-1;if(s>r)return 1}return 0}},function(e,t,n){var i=n(9),o=n(14),a=function(){var e=[new RegExp("&","g"),new RegExp('"',"g"),new RegExp("'","g"),new RegExp("<","g"),new RegExp(">","g")];return function(t){return String(t).replace(e[0],"&").replace(e[1],""").replace(e[2],"'").replace(e[3],"<").replace(e[4],">")}}(),s=function(e){var t=o.splitPair(e),n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),{h:n,v:i}},r=function(e){var t=o.splitQuad(e),n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10),a=parseInt(t&&t[2],10),s=parseInt(t&&t[3],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),isFinite(a)||(a=n),isFinite(s)||(s=i),{top:i,right:a,bottom:s,left:n}},l=function(){var e,t,n,a=arguments[0],s=i.makeArray(arguments).slice(1);if(o.isFunction(a))return a.apply(this,s);for(var r=0;r<s.length;r++)t=new RegExp("\\{"+r+"\\}","gm"),n=s[r],"string"===o.type(n)&&n.indexOf("$")>=0&&(e="$".replace("$","$$").length,n=n.replace("$",1===e?"$$$$":"$$")),a=a.replace(t,n);return a},c=function(){var e=function(e){return(e+"").replace(/([\+\*\?\\\.\[\^\]\$\(\)\{\}\><\|\=\!\:])/g,"\\$1")};return function(t,n,i){return t.replace(new RegExp("("+e(n)+")","gi"),i)}}(),d=function(){var e=/\s/g;return function(t){return!t||!t.replace(e,"")}}();t.encodeHtml=a,t.pairToObject=s,t.quadToObject=r,t.format=l,t.replaceAll=c,t.isEmpty=d},function(e,t){e.exports="17.1.7"},function(e,t,n){var i=n(21).fileSaver,o=n(14).isFunction;t.export=function(e,t,n){if(e){var a=t.exportingAction,s=t.exportedAction,r=t.fileSavingAction,l={fileName:t.fileName,format:t.format,cancel:!1};o(a)&&a(l),l.cancel||n(e,t,function(e){o(s)&&s(),o(r)&&(l.data=e,r(l)),l.cancel||i.saveAs(l.fileName,t.format,e,t.proxyUrl)})}},t.fileSaver=i,t.excel={creator:n(24).ExcelCreator,getData:n(24).getData,formatConverter:n(31)},t.image={creator:n(37).imageCreator,getData:n(37).getData},t.pdf={getData:n(40).getData},t.svg={creator:n(41).svgCreator,getData:n(41).getData}},function(e,t,n){var i=n(9),o=n(22),a=n(23),s=n(14),r={EXCEL:"xlsx",CSS:"css",PNG:"png",JPEG:"jpeg",GIF:"gif",SVG:"svg",PDF:"pdf"},l=t.MIME_TYPES={CSS:"text/css",EXCEL:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",PNG:"image/png",JPEG:"image/jpeg",GIF:"image/gif",SVG:"image/svg+xml",PDF:"application/pdf"};t.fileSaver={_getDataUri:function(e,t){return"data:"+l[e]+";base64,"+t},_linkDownloader:function(e,t,n){var o=document.createElement("a"),a={download:e,href:t};return document.getElementById('mw-content-text').appendChild(o),i(o).css({display:"none"}).text("load").attr(a)[0].click(),o},_formDownloader:function(e,t,n,o,a){var s={method:"post",action:e,enctype:"multipart/form-data"},r=i("<form>").css({display:"none"}).attr(s);r.append('<input type="hidden" name="fileName" value="'+t+'" />'),r.append('<input type="hidden" name="contentType" value="'+n+'" />'),r.append('<input type="hidden" name="data" value="'+o+'" />'),r.appendTo("body"),r.submit(),r.submit()&&r.remove()},_saveByProxy:function(e,t,n,i,o){return this._formDownloader(e,t,l[n],i,o)},_winJSBlobSave:function(e,t,n){var i=new Windows.Storage.Pickers.FileSavePicker;i.suggestedStartLocation=Windows.Storage.Pickers.PickerLocationId.documentsLibrary,i.fileTypeChoices.insert(l[n],["."+r[n]]),i.suggestedFileName=t,i.pickSaveFileAsync().then(function(t){t&&t.openAsync(Windows.Storage.FileAccessMode.readWrite).then(function(t){var n=e.msDetachStream();Windows.Storage.Streams.RandomAccessStream.copyAsync(n,t).then(function(){t.flushAsync().done(function(){n.close(),t.close()})})})})},_saveBlobAs:function(e,t,n,o){if(this._blobSaved=!1,s.isDefined(navigator.msSaveOrOpenBlob))navigator.msSaveOrOpenBlob(n,e),this._blobSaved=!0;else if(s.isDefined(window.WinJS))this._winJSBlobSave(n,e,t),this._blobSaved=!0;else{var a=window.URL||window.webkitURL||window.mozURL||window.msURL||window.oURL;if(o=s.isDefined(o)?o:function(){var e=i("#dxExportLink");a.revokeObjectURL(e.attr("href")),e.remove()},s.isDefined(a))return this._linkDownloader(e,a.createObjectURL(n),o)}},saveAs:function(e,t,n,i,l){if(e+="."+r[t],s.isFunction(window.Blob))this._saveBlobAs(e,t,n);else if(s.isDefined(i)&&!s.isDefined(navigator.userAgent.match(/iPad/i)))this._saveByProxy(i,e,t,n);else{if(s.isDefined(navigator.userAgent.match(/iPad/i))||o.log("E1034"),a.msie&&parseInt(a.version)<10)return;this._linkDownloader(e,this._getDataUri(t,n),l)}}}},function(e,t,n){var i=n(8),o=n(7);e.exports=i(o.ERROR_MESSAGES,{E1001:"Module '{0}'. Controller '{1}' is already registered",E1002:"Module '{0}'. Controller '{1}' does not inherit from DevExpress.ui.dxDataGrid.Controller",E1003:"Module '{0}'. View '{1}' is already registered",E1004:"Module '{0}'. View '{1}' does not inherit from DevExpress.ui.dxDataGrid.View",E1005:"Public method '{0}' is already registered",E1006:"Public method '{0}.{1}' does not exist",E1007:"State storing cannot be provided due to the restrictions of the browser",E1010:"The template does not contain the TextBox widget",E1011:'Items cannot be deleted from the List. Implement the "remove" function in the data store',E1012:"Editing type '{0}' with the name '{1}' is unsupported",E1016:"Unexpected type of data source is provided for a lookup column",E1018:"The 'collapseAll' method cannot be called if you use a remote data source",E1019:"Search mode '{0}' is unavailable",E1020:"The type cannot be changed after initialization",E1021:"{0} '{1}' you are trying to remove does not exist",E1022:'The "markers" option is given an invalid value. Assign an array instead',E1023:'The "routes" option is given an invalid value. Assign an array instead',E1025:"This layout is too complex to render",E1026:'The "calculateCustomSummary" function is missing from a field whose "summaryType" option is set to "custom"',E1030:"Unknown ScrollView refresh strategy: '{0}'",E1031:"Unknown subscription in the Scheduler widget: '{0}'",E1032:"Unknown start date in an appointment: '{0}'",E1033:"Unknown step in the date navigator: '{0}'",E1034:"The browser does not implement an API for saving files",E1035:"The editor cannot be created because of an internal error: {0}",E1036:"Validation rules are not defined for any form item",E1037:"Invalid structure of grouped data",E1038:"The browser does not support local storages for local web pages",E1039:"A cell's position cannot be calculated",E1040:"The '{0}' key value is not unique within the data array",E1041:"The JSZip script is referenced after DevExtreme scripts",E1042:'Deferred selection cannot be performed. Set the "key" field for the data store',E1043:"Changes cannot be processed due to the incorrectly set key",E1044:"The key field specified by the keyExpr option does not match the key field specified in the data store",E1045:"Editing requires the key field to be specified in the data store",E1046:"The '{0}' key field is not found in data objects",W1001:'The "key" option cannot be modified after initialization',W1002:"An item with the key '{0}' does not exist",W1003:"A group with the key '{0}' in which you are trying to select items does not exist",W1004:"The item '{0}' you are trying to select in the group '{1}' does not exist",W1005:"Due to column data types being unspecified, data has been loaded twice in order to apply initial filter settings. To resolve this issue, specify data types for all grid columns.",W1006:"The map service returned the '{0}' error",W1007:"No item with key {0} was found in the data source, but this key was used as the parent key for item {1}",W1008:"Cannot scroll to the '{0}' date because it does not exist on the current view"})},function(e,t,n){var i=n(11).extend,o=/(webkit)[ \/]([\w.]+)/,a=/(msie) (\d{1,2}\.\d)/,s=/(trident).*rv:(\d{1,2}\.\d)/,r=/(edge)\/((\d+)?[\w\.]+)/,l=/(safari)/i,c=/(mozilla)(?:.*? rv:([\w.]+))/,d=function(e){e=e.toLowerCase();var t={},n=a.exec(e)||s.exec(e)||r.exec(e)||e.indexOf("compatible")<0&&c.exec(e)||o.exec(e)||[],i=n[1],d=n[2];return"webkit"===i&&e.indexOf("chrome")<0&&l.exec(e)&&(i="safari",t.webkit=!0,d=/Version\/([0-9.]+)/i.exec(e),d=d&&d[1]),"trident"!==i&&"edge"!==i||(i="msie"),i&&(t[i]=!0,t.version=d),t};e.exports=i({_fromUA:d},d(navigator.userAgent))},function(e,t,n){var i=n(25),o=n(14),a=n(11).extend,s=n(26).inArray,r=n(22),l=n(18),c=n(30),d=n(21),u=n(31),h='<?xml version="1.0" encoding="utf-8"?>',p='<sheetPr><outlinePr summaryBelow="0"/></sheetPr>',f="<sheetPr/>",m='<fonts count="2"><font><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="1"><fill><patternFill patternType="none"/></fill></fills><borders count="1"><border><left style="thin"><color rgb="FFD3D3D3"/></left><right style="thin"><color rgb="FFD3D3D3"/></right><top style="thin"><color rgb="FFD3D3D3"/></top><bottom style="thin"><color rgb="FFD3D3D3"/></bottom></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',g="http://schemas.openxmlformats.org",_="rels",v="xl",w="workbook.xml",x="[Content_Types].xml",y="sharedStrings.xml",b="styles.xml",C="worksheets",k="sheet1.xml",I={"boolean":"b",date:"d",number:"n",string:"s"},S=Date.UTC(1899,11,30),D=60,T=4,E=7,A=165;t.ExcelCreator=i.inherit({_getXMLTag:function(e,t,n){var i,a,s="<"+e,r=t.length;for(i=0;i<r;i++)a=t[i],s=s+" "+a.name+'="'+a.value+'"';return o.isDefined(n)?s+">"+n+"</"+e+">":s+" />"},_getCellIndex:function(e,t){var n,i="",o=26;for(this._maxIndex[0]<Number(e)&&(this._maxIndex[0]=Number(e)),this._maxIndex[1]<Number(t)&&(this._maxIndex[1]=Number(t));;){if(n=65+(t>=o?t%o:Math.ceil(t)),i=String.fromCharCode(n)+i,!(t>=o))break;t=Math.floor(t/o)-1}return i+e},_getDataType:function(e){return I[e]||"s"},_formatObjectConverter:function(e,t,n){var i={format:e,precision:t,dataType:n};return o.isObject(e)?a(i,e,{format:e.type,currency:e.currency}):i},_appendFormat:function(e,t,n){var i,o=this._formatObjectConverter(e,t,n);if(e=o.format,t=o.precision,i=o.currency,n=o.dataType,e=u.convertFormat(e,t,n,i))return s(e,this._styleFormat)===-1&&this._styleFormat.push(e),s(e,this._styleFormat)+1},_appendString:function(e){if(o.isDefined(e)&&(e=String(e),e.length))return e=l.encodeHtml(e),void 0===this._stringHash[e]&&(this._stringHash[e]=this._stringArray.length,this._stringArray.push(e)),this._stringHash[e]},_getExcelDateValue:function(e){var t,n;if(o.isDate(e))return t=Math.floor((Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())-S)/864e5),t<D&&t--,n=(3600*e.getHours()+60*e.getMinutes()+e.getSeconds())/86400,t+n},_prepareValue:function(e,t){var n=this._dataProvider,i=n.getCellValue(e,t),a=this._getDataType(n.getCellType(e,t)),s=this._styleArray[this._dataProvider.getStyleId(e,t)].formatID,r=o.isNumeric(s)?this._styleFormat[s-1]:null;switch("d"!==a||o.isDate(i)||(a="s"),a){case"s":i=this._appendString(i);break;case"d":i=this._getExcelDateValue(i,r),a="n"}return{value:i,type:a}},_getDataArray:function(){var e,t,n,i,o,a=this,s=[],r=a._dataProvider,l=r.getRowsCount(),c=r.getColumns();for(e=0;e<l;e++){for(n=[],o=c.length,t=0;t!==o;t++)i=a._prepareValue(e,t),n.push({style:r.getStyleId(e,t),value:i.value,type:i.type});!a._needSheetPr&&r.getGroupLevel(e)>0&&(a._needSheetPr=!0),s.push(n)}return s},_getBoldStyleID:function(e){for(var t=0;t<T-1;t++)if(this._styleArray[t].alignment===e)return t},_calculateWidth:function(e){return e=parseInt(e,10),(!e||e<5)&&(e=100),Math.min(255,Math.floor((e-5)/E*100+.5)/100)},_prepareStyleData:function(){var e=this,t=e._dataProvider.getStyles();e._dataProvider.getColumns().forEach(function(t){e._colsArray.push(e._calculateWidth(t.width))}),t.forEach(function(t){e._styleArray.push({bold:!!t.bold,alignment:t.alignment||"left",formatID:e._appendFormat(t.format,t.precision,t.dataType),wrapText:t.wrapText})})},_prepareCellData:function(){this._cellsArray=this._getDataArray()},_createXMLRelationships:function(e){return this._getXMLTag("Relationships",[{name:"xmlns",value:g+"/package/2006/relationships"}],e)},_createXMLRelationship:function(e,t,n){return this._getXMLTag("Relationship",[{name:"Id",value:"rId"+e},{name:"Type",value:g+"/officeDocument/2006/relationships/"+t},{name:"Target",value:n}])},_getWorkbookContent:function(){var e='<bookViews><workbookView xWindow="0" yWindow="0" windowWidth="0" windowHeight="0"/></bookViews><sheets><sheet name="Sheet" sheetId="1" r:id="rId1" /></sheets><definedNames><definedName name="_xlnm.Print_Titles" localSheetId="0">Sheet!$1:$1</definedName><definedName name="_xlnm._FilterDatabase" hidden="0" localSheetId="0">Sheet!$A$1:$F$6332</definedName></definedNames>';return h+this._getXMLTag("workbook",[{name:"xmlns:r",value:g+"/officeDocument/2006/relationships"},{name:"xmlns",value:g+"/spreadsheetml/2006/main"}],e)},_getContentTypesContent:function(){return h+'<Types xmlns="'+g+'/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="xml" ContentType="application/xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /></Types>'},_generateStylesXML:function(){var e,t=this,n=t._zip.folder(v),i=[],a="";for(e=0;e<t._styleFormat.length;e++)t._styleFormat[e]=t._getXMLTag("numFmt",[{name:"numFmtId",value:Number(e)+A},{name:"formatCode",value:t._styleFormat[e]}]);a=a+t._getXMLTag("numFmts",[{name:"count",value:t._styleFormat.length}],t._styleFormat.join(""))+m,this._styleArray.forEach(function(e){i.push(t._getXMLTag("xf",[{name:"xfId",value:0},{name:"applyAlignment",value:1},{name:"fontId",value:Number(!!e.bold)},{name:"applyNumberFormat",value:o.isDefined(e.formatID)?1:0},{name:"numFmtId",value:o.isDefined(e.formatID)?Number(e.formatID)+A-1:0}],t._getXMLTag("alignment",[{name:"vertical",value:"top"},{name:"wrapText",value:Number(!!e.wrapText)},{name:"horizontal",value:e.alignment}])))}),a+=t._getXMLTag("cellXfs",[{name:"count",value:i.length}],i.join("")),a+=t._getXMLTag("cellStyles",[{name:"count",value:1}],t._getXMLTag("cellStyle",[{name:"name",value:"Normal"},{name:"xfId",value:0},{name:"builtinId",value:0}])),a=h+t._getXMLTag("styleSheet",[{name:"xmlns",value:g+"/spreadsheetml/2006/main"}],a),n.file(b,a),t._styleArray=[]},_generateStringsXML:function(){var e,t=this._zip.folder(v),n=this._stringArray.length,i=h;for(e=0;e<n;e++)this._stringArray[e]=this._getXMLTag("si",[],this._getXMLTag("t",[],this._stringArray[e]));i+=this._getXMLTag("sst",[{name:"xmlns",value:g+"/spreadsheetml/2006/main"},{name:"count",value:this._stringArray.length},{name:"uniqueCount",value:this._stringArray.length}],this._stringArray.join("")),t.file(y,i),this._stringArray=[]},_getPaneXML:function(){var e=[{name:"activePane",value:"bottomLeft"},{name:"state",value:"frozen"}],t=this._dataProvider.getFrozenArea();return t.x||t.y?(t.x&&e.push({name:"xSplit",value:t.x}),t.y&&e.push({name:"ySplit",value:t.y}),e.push({name:"topLeftCell",value:this._getCellIndex(t.y+1,t.x)}),this._getXMLTag("pane",e)):""},_generateWorksheetXML:function(){var e,t,n,i,a,s,r=0,l=[],c=this._cellsArray.length,d=this._colsArray.length,u="1:"+d,h=this._dataProvider.getHeaderRowCount?this._dataProvider.getHeaderRowCount():1,m=[['<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">',this._needSheetPr?p:f,'<dimension ref="A1:',this._getCellIndex(this._maxIndex[0],this._maxIndex[1])+'"/><sheetViews><sheetView '+(this._rtlEnabled?'rightToLeft="1" ':"")+'tabSelected="1" workbookViewId="0">'+this._getPaneXML()+'</sheetView></sheetViews><sheetFormatPr defaultRowHeight="15" outlineLevelRow="',this._dataProvider.getRowsCount()>0?this._dataProvider.getGroupLevel(0):0,'" x14ac:dyDescent="0.25"/>'].join("")];for(e=0;e<d;e++)this._colsArray[e]=this._getXMLTag("col",[{name:"width",value:this._colsArray[e]},{name:"min",value:Number(e)+1},{name:"max",value:Number(e)+1}]);for(m.push(this._getXMLTag("cols",[],this._colsArray.join(""))+"<sheetData>"),t=0;t<c;t++){for(i=[],s=this._cellsArray[t].length,e=0;e<s;e++)t=Number(t),n=this._cellsArray[t][e],i.push(this._getXMLTag("c",[{name:"r",value:this._getCellIndex(t+1,e)},{name:"s",value:n.style},{name:"t",value:n.type}],o.isDefined(n.value)?this._getXMLTag("v",[],n.value):null));l.push(this._getXMLTag("row",[{name:"r",value:Number(t)+1},{name:"spans",value:u},{name:"outlineLevel",value:t>=h?this._dataProvider.getGroupLevel(t):0},{name:"x14ac:dyDescent",value:"0.25"}],i.join(""))),this._cellsArray[t]=null,r++>1e4&&(m.push(l.join("")),l=[],r=0)}m.push(l.join("")),l=[],a=this._getCellIndex(this._maxIndex[0],this._maxIndex[1]),m.push("</sheetData>"+(this._options.autoFilterEnabled?'<autoFilter ref="A'+this._dataProvider.getHeaderRowCount()+":"+a+'" />':"")+this._generateMergingXML()+'<ignoredErrors><ignoredError sqref="A1:'+a+'" numberStoredAsText="1" /></ignoredErrors></worksheet>'),this._zip.folder(v).folder(C).file(k,m.join("")),this._colsArray=[],this._cellsArray=[],m=[]},_generateMergingXML:function(){var e,t,n,i,a,s,r=o.isDefined(this._dataProvider.getHeaderRowCount)?this._dataProvider.getHeaderRowCount():this._dataProvider.getRowsCount(),l=this._dataProvider.getColumns().length,c=[],d=[],u="";for(i=0;i<r;i++)for(n=0;n!==l;n++)if(!o.isDefined(c[i])||!o.isDefined(c[i][n])){var h=this._dataProvider.getCellMerging(i,n);if(h.colspan||h.rowspan)for(d.push({start:this._getCellIndex(i+1,n),end:this._getCellIndex(i+1+(h.rowspan||0),n+(h.colspan||0))}),e=i;e<=i+h.rowspan;e++)for(t=n;t<=n+h.colspan;t++)o.isDefined(c[e])||(c[e]=[]),c[e][t]=!0}for(a=d.length,s=0;s<a;s++)u+=this._getXMLTag("mergeCell",[{name:"ref",value:d[s].start+":"+d[s].end}]);return u.length?this._getXMLTag("mergeCells",[{name:"count",value:a}],u):""},_generateCommonXML:function(){var e,t=h+this._createXMLRelationships(this._createXMLRelationship(1,"officeDocument","xl/"+w)),n=this._zip.folder(v),i=h;this._zip.folder("_"+_).file("."+_,t),e=this._createXMLRelationship(1,"worksheet","worksheets/"+k)+this._createXMLRelationship(2,"styles",b)+this._createXMLRelationship(3,"sharedStrings",y), | |
i+=this._createXMLRelationships(e),n.folder("_"+_).file(w+".rels",i),n.file(w,this._getWorkbookContent()),this._zip.file(x,this._getContentTypesContent())},_generateContent:function(){this._prepareStyleData(),this._prepareCellData(),this._generateWorkXML(),this._generateCommonXML()},_generateWorkXML:function(){this._generateStylesXML(),this._generateStringsXML(),this._generateWorksheetXML()},ctor:function(e,t){this._rtlEnabled=t&&!!t.rtlEnabled,this._options=t,this._maxIndex=[1,2],this._stringArray=[],this._stringHash={},this._styleArray=[],this._colsArray=[],this._cellsArray=[],this._styleFormat=[],this._needSheetPr=!1,this._dataProvider=e,o.isDefined(c)?this._zip=new c:this._zip=null},_checkZipState:function(){if(!this._zip)throw r.Error("E1041")},ready:function(){return this._dataProvider.ready()},getData:function(e){var t={type:e?"blob":"base64",compression:"DEFLATE",mimeType:d.MIME_TYPES.EXCEL};return this._checkZipState(),this._generateContent(),this._zip.generateAsync?this._zip.generateAsync(t):this._zip.generate(t)}}),t.getData=function(e,n,i){var a=new t.ExcelCreator(e,n);a._checkZipState(),a.ready().done(function(){a._zip.generateAsync?a.getData(o.isFunction(window.Blob)).then(i):i(a.getData(o.isFunction(window.Blob)))})}},function(e,t,n){var i=n(7),o=function(e,t,n){return function(){var i=this.callBase;this.callBase=e[t];try{return n.apply(this,arguments)}finally{this.callBase=i}}},a=function(e){var t=function(){};return t.prototype=e.prototype,new t},s=function(e){var t,n,i,a=this;if(!e)return a;for(n in e)i=e[n],t="function"==typeof a.prototype[n]&&"function"==typeof i,a.prototype[n]=t?o(a.parent.prototype,n,i):i;return a},r=function(){var e,t,n,i=this;for(n=0;n<arguments.length;n++){e=arguments[n],e.ctor&&i._includedCtors.push(e.ctor),e.postCtor&&i._includedPostCtors.push(e.postCtor);for(t in e)"ctor"!==t&&"postCtor"!==t&&(i.prototype[t]=e[t])}return i},l=function(e){return this.parent===e||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(e)},c=function(){throw i.Error("E0001")},d=function(){var e=Object.prototype.hasOwnProperty;return function(t,n){for(var i in t){if(!e.call(t,i))return;n[i]=t[i]}}}(),u=function(){};u.inherit=function(e){var t=function(){if(!this||this===window||"function"!=typeof this.constructor)throw i.Error("E0003");var e,t=this,n=t.ctor,o=t.constructor._includedCtors,a=t.constructor._includedPostCtors;for(e=0;e<o.length;e++)o[e].call(t);for(n&&n.apply(t,arguments),e=0;e<a.length;e++)a[e].call(t)};return t.prototype=a(this),d(this,t),t.inherit=this.inherit,t.abstract=c,t.redefine=s,t.include=r,t.subclassOf=l,t.parent=this,t._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],t._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],t.prototype.constructor=t,t.redefine(e),t},u.abstract=c,e.exports=u},function(e,t,n){var i=n(9),o=n(14),a=n(27),s=function(e){return Array.isArray(e)&&!e.length},r=function(e){return Array.isArray(e)?e:[e]},l=function(e,t){if(!Array.isArray(e)||0===e.length||!Array.isArray(t)||0===t.length)return[];var n=[];return i.each(e,function(e,i){var o=u(i,t);o!==-1&&n.push(i)}),n},c=function(e,t){if(!Array.isArray(e)||0===e.length)return[];if(!Array.isArray(t)||0===t.length)return e.slice();var n=[];return i.each(e,function(e,i){var o=u(i,t);o===-1&&n.push(i)}),n},d=function(e,t,n,s){var r={},l=0;return i.each(e,function(e,i){e=i[t],o.isDefined(e)&&(r[e]=r[e]||[],i===n?r[e].unshift(i):r[e].push(i),delete i[t])}),a.orderEach(r,function(e,n){i.each(n,function(){e>=0&&(this[t]=l++)})}),i.each(e,function(){o.isDefined(this[t])||s&&!s(this)||(this[t]=l++)}),l},u=function(e,t){if(!t)return-1;var n=Array.isArray(t)?t:t.toArray();return n.indexOf(e)};t.isEmpty=s,t.wrapToArray=r,t.intersection=l,t.removeDuplicates=c,t.normalizeIndexes=d,t.inArray=u},function(e,t,n){var i=n(9),o=n(14),a=n(12),s=n(28),r=function(){function e(){}return function(t){return e.prototype=t,new e}}(),l=function(e,t){var n,i,a=[];for(n in e)e.hasOwnProperty(n)&&a.push(n);for(a.sort(function(e,t){var n=o.isNumeric(e),i=o.isNumeric(t);return n&&i?e-t:n&&!i?-1:!n&&i?1:e<t?-1:e>t?1:0}),i=0;i<a.length;i++)n=a[i],t(n,e[n])},c=function(e,t,n,i){!i&&s.isWrapped(e[t])?s.assign(e[t],n):e[t]=n},d=function(e,t,n,s){var r,l;for(var u in t)if(r=e[u],l=t[u],e!==l){if(a.isPlainObject(l)&&!(l instanceof i.Event)){var h=n?o.isObject(r):a.isPlainObject(r);l=d(h?r:{},l,n,s)}void 0!==l&&c(e,u,l,s)}return e};t.clone=r,t.orderEach=l,t.deepExtendArraySafe=d},function(e,t,n){var i=n(13).logger,o=n(29);e.exports=o({isWrapped:function(){return!1},isWritableWrapped:function(){return!1},wrap:function(e){return e},unwrap:function(e){return e},assign:function(){i.error("Method 'assign' should not be used for not wrapped variables. Use 'isWrapped' method for ensuring.")}})},function(e,t,n){e.exports=function(e){var t=n(9),i=n(11).extend,o=n(14).isFunction,a=n(25),s=a.inherit(e),r=s,l=new r(e),c={},d=function(n,i){t.each(n,function(t){o(l[t])?!i&&e[t]||(e[t]=function(){return l[t].apply(e,arguments)}):(i&&(c[t]=e[t]),e[t]=l[t])})};return d(e,!0),e.inject=function(e){r=r.inherit(e),l=new r,d(e)},e.resetInjection=function(){i(e,c),r=s,l=new s},e}},function(e,t){e.exports=window.JSZip},function(e,t,n){var i=n(14),o=n(18),a=n(32),s=n(33),r=n(35).getLanguageId,l={quarter:"shortDate",quarterAndYear:"shortDate",minute:"longTime",millisecond:"longTime"},c=" .,:;/\\<>()-",d=1632,u={thousands:"#,##0{0},"K"",millions:"#,##0{0},,"M"",billions:"#,##0{0},,,"B"",trillions:"#,##0{0},,,,"T"",percent:"0{0}%",decimal:"#{0}",fixedpoint:"#,##0{0}",exponential:"0{0}E+00",currency:" "};n(36);var h=e.exports={_applyPrecision:function(e,t){var n,i;if(t>0){for(n="decimal"!==e?".":"",i=0;i<t;i++)n+="0";return n}return""},_getCurrencyFormat:function(e){return a.getOpenXmlCurrencyFormat(e)},_isDigit:function(e){var t=e&&e.charCodeAt(0);return e>="0"&&e<="9"||t>=d&&t<d+10},_getDifference:function(e,t,n){var i,o=0,a=this,s=[],r=function(t){return e[o]!==t[o]};for(Array.isArray(t)||(t=[t]),o=0;o<e.length;o++)if(n.indexOf(o)<0&&t.filter(r).length){do{if(i=a._isDigit(e[o]),!s.length&&!i&&a._isDigit(t[0][o]))break;s.push(o),n.unshift(o),o++}while(e[o]&&c.indexOf(e[o])<0&&i===a._isDigit(e[o]));break}return 1!==s.length||"0"!==e[n[0]-1]&&"٠"!==e[n[0]-1]||n.unshift(n[0]-1),s},_replaceCharsCore:function(e,t,n,i){var o=t[0],a=o<i.length?i[o]:o;return t.forEach(function(t,i){e=e.substr(0,a+i)+(n.length>1?n[i]:n)+e.substr(a+i+1)}),1===t.length&&(e=e.replace("0"+n,n+n),e=e.replace("٠"+n,n+n)),e},_replaceChars:function(e,t,n,i){var o,a,s;if(!this._isDigit(e[t[0]]||"0")){for(var r=Math.max(t.length<=3?3:4,n.length);t.length>r;){for(a=t.pop(),s=i[a],i[a]=-1,o=a+1;o<i.length;o++)i[o]--;e=e.substr(0,s)+e.substr(s+1)}for(a=t[t.length-1]+1,s=a<i.length?i[a]:a;t.length<r;){for(t.push(t[t.length-1]+1),o=a;o<i.length;o++)i[o]++;e=e.substr(0,s)+" "+e.substr(s)}}return e=this._replaceCharsCore(e,t,n,i)},_format:function(e,t){return Array.isArray(e)?e.map(function(e){return(s.format(e,t)||"").toString()}):(s.format(e,t)||"").toString()},_escapeChars:function(e,t,n,i){var o=t.split("").map(function(e,t){return n.indexOf(t)<0&&(c.indexOf(e)<0||"/"===e)?i[t]:-1});return e=e.split("").map(function(e,t){return o.indexOf(t)>=0?"\\"+e:e}).join(""),e=e.replace("AM\\/PM","AM/PM")},_hasArabicDigits:function(e){for(var t,n=0;n<e.length;n++)if(t=e.charCodeAt(n),t>=d&&t<d+10)return!0;return!1},_convertDateFormat:function(e){e=l[e&&e.type||e]||e;var t=this,n=[],i=t._format(new Date(2009,8,8,6,5,4),e),o=i.split("").map(function(e,t){return t}),a=i,s=[{date:new Date(2009,8,8,6,5,2),pattern:"s"},{date:new Date(2009,8,8,6,2,4),pattern:"m"},{date:new Date(2009,8,8,2,5,4),pattern:"H"},{date:new Date(2009,8,8,18,5,4),pattern:"AM/PM"},{date:new Date(2009,8,1,6,5,4),pattern:"d"},{date:[new Date(2009,8,2,6,5,4),new Date(2009,8,3,6,5,4),new Date(2009,8,4,6,5,4)],pattern:"d"},{date:new Date(2009,9,6,6,5,4),pattern:"M"},{date:new Date(1998,8,8,6,5,4),pattern:"y"}];if(a)return s.forEach(function(s){var r=t._getDifference(i,t._format(s.date,e),n);a=t._replaceChars(a,r,s.pattern,o)}),a=t._escapeChars(a,i,n,o),a=t._getLanguageInfo(i)+a},_getLanguageInfo:function(e){var t=r(),n=t?t.toString(16):"",i="";if(this._hasArabicDigits(e)){for(;n.length<3;)n="0"+n;i="[$-2010"+n+"]"}else n&&(i="[$-"+n+"]");return i},_convertNumberFormat:function(e,t,n){var i,a="currency"===e?this._getCurrencyFormat(n):u[e.toLowerCase()];return a&&(i=o.format(a,this._applyPrecision(e,t))),i},convertFormat:function(e,t,n,o){if(i.isDefined(e)){if("date"===n)return h._convertDateFormat(e);if(i.isString(e)&&u[e.toLowerCase()])return h._convertNumberFormat(e,t,o)}}}},function(e,t,n){var i=n(9),o=n(29),a=n(26).inArray,s=n(12).isPlainObject,r=n(7),l=4,c=10,d=["currency","fixedpoint","exponential","percent","decimal"],u={1:"K",2:"M",3:"B",4:"T"},h={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},p=o({numericFormats:d,defaultLargeNumberFormatPostfixes:u,_parseNumberFormatString:function(e){var t,n={};if(e&&"string"==typeof e)return t=e.split(" "),i.each(t,function(e,t){a(t,d)>-1?n.formatType=t:t in h&&(n.power=h[t])}),n.power&&!n.formatType&&(n.formatType="fixedpoint"),n.formatType?n:void 0},_calculateNumberPower:function(e,t,n,i){var o=Math.abs(e),a=0;if(o>1)for(;o&&o>=t&&(void 0===i||a<i);)a++,o/=t;else if(o>0&&o<1)for(;o<1&&(void 0===n||a>n);)a--,o*=t;return a},_getNumberByPower:function(e,t,n){for(var i=e;t>0;)i/=n,t--;for(;t<0;)i*=n,t++;return i},_formatNumber:function(e,t,n){var i,o;return"auto"===t.power&&(t.power=this._calculateNumberPower(e,1e3,0,l)),t.power&&(e=this._getNumberByPower(e,t.power,1e3)),i=this.defaultLargeNumberFormatPostfixes[t.power]||"",o=this._formatNumberCore(e,t.formatType,n),o=o.replace(/(\d|.$)(\D*)$/,"$1"+i+"$2")},_formatNumberExponential:function(e,t){var n,i=this._calculateNumberPower(e,c),o=this._getNumberByPower(e,i,c);return void 0===t.precision&&(t.precision=1),o.toFixed(t.precision||0)>=c&&(i++,o/=c),n=(i>=0?"+":"")+i.toString(),this._formatNumberCore(o,"fixedpoint",t)+"E"+n},_addZeroes:function(e,t){var n=Math.pow(10,t);e=(e*n>>>0)/n;for(var i=e.toString();i.length<t;)i="0"+i;return i},_addGroupSeparators:function(e){var t=e.toString().split(".");return t[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")+(t[1]?"."+t[1]:"")},_formatNumberCore:function(e,t,n){return"exponential"===t?this._formatNumberExponential(e,n):("decimal"!==t&&null!==n.precision&&(n.precision=n.precision||0),"percent"===t&&(e=100*e),void 0!==n.precision&&(e="decimal"===t?this._addZeroes(e,n.precision):null===n.precision?e.toPrecision():e.toFixed(n.precision)),"decimal"!==t&&(e=this._addGroupSeparators(e)),"percent"===t&&(e+="%"),e.toString())},_normalizeFormat:function(e){return e?"function"==typeof e?e:(s(e)||(e={type:e}),e.type&&(e.type=e.type.toLowerCase()),e):{}},format:function(e,t){if("number"!=typeof e)return e;if("number"==typeof t)return e;if(t=t&&t.formatter||t,"function"==typeof t)return t(e);t=this._normalizeFormat(t),t.type||(t.type="decimal");var n=this._parseNumberFormatString(t.type);return n?this._formatNumber(e,n,t):void 0},parse:function(e,t){if(e)return t&&t.parser?t.parser(e):(t&&r.log("W0011"),parseFloat(e.replace(/^\D+|,+/g,"")))}});e.exports=p},function(e,t,n){var i=n(9),o=n(32),a=n(29),s=n(14).isString,r=n(26).inArray,l=n(7);n(34);var c={shortdate:"M/d/y",shorttime:"h:mm a",longdate:"EEEE, MMMM d, y",longtime:"h:mm:ss a",monthandday:"MMMM d",monthandyear:"MMMM y",quarterandyear:"QQQ y",day:"d",year:"y",shortdateshorttime:"M/d/y, h:mm a",mediumdatemediumtime:"MMMM d, h:mm a",longdatelongtime:"EEEE, MMMM d, y, h:mm:ss a",month:"LLLL",shortyear:"yy",dayofweek:"EEEE",quarter:"QQQ",hour:"HH",minute:"mm",second:"ss",millisecond:"SSS","datetime-local":"yyyy-MM-ddTHH':'mm':'ss"},d=function(e){var t=new Date,n=e.split(" "),i=n[0].split(":"),o=Number(i[0]),a=Number(i[1]),s=Number(i[2])||0,r=/^pm$/i.test(n[1]),l=s<60&&a<60&&o>0&&o<13;return l?(r||12!==o||(o=0),r&&12!==o&&(o+=12),new Date(t.getFullYear(),t.getMonth(),t.getDate(),o,a,s)):null},u=function(e){return new Date(e.valueOf()+60*e.getTimezoneOffset()*1e3)},h=["January","February","March","April","May","June","July","August","September","October","November","December"],p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=function(e){return e.getHours()>=12?"PM":"AM"},m=function(e){return e%12||12},g=function(e,t){return o.format(e,{type:"decimal",precision:t})},_={millisecond:function(e){return g(e.getMilliseconds(e),3)},second:function(e){return g(e.getSeconds(),2)},minute:function(e){return g(e.getMinutes(),2)},h:function(e){return g(m(e.getHours()),1)},hh:function(e){return g(m(e.getHours()),2)},hour:function(e){return g(e.getHours(),2)},day:function(e){return String(e.getDate())},dayofweek:function(e){return p[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return g(e.getMonth()+1,2)},month:function(e){return h[e.getMonth()]},year:function(e){return String(e.getFullYear())},shortyear:function(e){return String(e.getFullYear()).substr(2,2)},shorttime:function(e){return _.h(e)+":"+_.minute(e)+" "+f(e)},shortdate:function(e){return[_.M(e),_.day(e),_.year(e)].join("/")},shortdateshorttime:function(e){return[_.shortdate(e),_.shorttime(e)].join(", ")},mediumdatemediumtime:function(e){return[_.monthandday(e),_.shorttime(e)].join(", ")},monthandyear:function(e){return[_.month(e),_.year(e)].join(" ")},monthandday:function(e){return[_.month(e),_.day(e)].join(" ")},longdate:function(e){return _.dayofweek(e)+", "+_.month(e)+" "+_.day(e)+", "+_.year(e)},longtime:function(e){return[_.h(e),_.minute(e),_.second(e)].join(":")+" "+f(e)},longdatelongtime:function(e){return[_.longdate(e),_.longtime(e)].join(", ")},d:function(e){return g(e.getDate(),1)},dd:function(e){return g(e.getDate(),2)},"d MMMM":function(e){return _.day(e)+" "+_.month(e)},"yyyy/M/d":function(e){return[_.year(e),_.M(e),_.day(e)].join("/")},"yyyy/MM/dd":function(e){return[_.year(e),_.MM(e),_.dd(e)].join("/")},"dd.MM.yyyy":function(e){return[_.dd(e),_.MM(e),_.year(e)].join(".")},"HH:mm":function(e){return[_.hour(e),_.minute(e)].join(":")},"HH:mm:ss":function(e){return[_["HH:mm"](e),_.second(e)].join(":")},"h:mm:ss":function(e){return[_.h(e),_.minute(e),_.second(e)].join(":")},"h:mm:ss:SSS":function(e){return[_.h(e),_.minute(e),_.second(e),_.SSS(e)].join(":")},"yyyy/MM/dd HH:mm:ss":function(e){return[_["yyyy/MM/dd"](e),_["HH:mm:ss"](e)].join(" ")},"yyyy-MM-dd hh:mm:ss.SSS a":function(e){return[[_.year(e),_.MM(e),_.dd(e)].join("-"),[_.hh(e),_.minute(e),_.second(e)].join(":")+"."+_.SSS(e),f(e)].join(" ")},"yyyy-MM-dd":function(e){return[_.year(e),_.MM(e),_.dd(e)].join("-")},yyyyMMddTHHmmss:function(e){return[_.year(e),_.MM(e),_.dd(e),"T",_.hour(e),_.minute(e),_.second(e)].join("")},"datetime-local":function(e){return _["yyyy-MM-dd"](e)+"T"+_["HH:mm:ss"](e)},"yyyy-MM-ddTHH:mm:ssZ":function(e){return _["datetime-local"](e)+"Z"},"yyyy-MM-ddTHH:mmZ":function(e){return _["yyyy-MM-dd"](e)+"T"+_.hour(e)+":"+_.minute(e)+"Z"},"dd/MM/yyyy":function(e){return[_.dd(e),_.MM(e),_.year(e)].join("/")},"yyyy MMMM d":function(e){return[_.year(e),_.month(e),_.day(e)].join(" ")},"EEEE, d":function(e){return[_.dayofweek(e),_.d(e)].join(", ")},"EEEE MM yy":function(e){return[_.dayofweek(e),_.MM(e),_.shortyear(e)].join(" ")},"d MMMM yyyy":function(e){return[_.day(e),_.month(e),_.year(e)].join(" ")},E:function(e){return y([_.dayofweek(e)],"abbreviated")[0]},EEE:function(e){return _.E(e)},"EEE hh":function(e){return[_.EEE(e),_.hh(e)].join(" ")},"ss SSS":function(e){return[_.second(e),_.SSS(e)].join(" ")},quarter:function(e){var t=e.getMonth();return t>=0&&t<3?"Q1":t>2&&t<6?"Q2":t>5&&t<9?"Q3":"Q4"},quarterandyear:function(e){return _.quarter(e)+" "+_.year(e)}},v=function(e){return"Z"!==e.slice(-1)&&(e+="Z"),u(new Date(e))},w={day:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),Number(e))},hour:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),Number(e))},minute:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),Number(e))},month:function(e){return new Date((new Date).getFullYear(),r(e,h))},monthandday:function(e){var t=e.split(" "),n=w.month(t[0]);return n.setDate(Number(t[1])),n},monthandyear:function(e){var t=e.split(" "),n=w.month(t[0]);return n.setYear(Number(t[1])),n},year:function(e){var t=new Date(new Date(0));return t.setUTCFullYear(Number(e)),u(t)},second:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),Number(e))},shortyear:function(e){var t=36,n=Number(e);return n+=n>t?1900:2e3,w.year(n)},shortdate:function(e){if(/^(0?[1-9]|1[012])\/(0?[1-9]|[12][0-9]|3[01])\/\d{1,4}/.test(e)){var t=e.split("/"),n=new Date(Number(t[2]),Number(t[0])-1,Number(t[1]));return t[2].length<3&&n.setFullYear(Number(t[2]),Number(t[0])-1,Number(t[1])),n}},longtime:function(e){return d(e)},shorttime:function(e){return d(e)},millisecond:function(e){return new Date(Number(e))},"yyyy MMMM d":function(e){var t=e.split(" ");if(3===t.length)return new Date(Number(t[0]),r(t[1],h),Number(t[2]))},"HH:mm":function(e){var t=e.split(":");return new Date(0,0,0,Number(t[0]),Number(t[1]),0,0)},"yyyy-MM-ddTHH:mm:ssZ":v,"yyyy-MM-ddTHH:mmZ":v,"datetime-local":v,mediumdatemediumtime:function(e){var t=e.split(", "),n=t[0].split(" "),i=t[1].split(" "),o=2===i.length?i.pop():void 0,a=w.month(n[0]);a.setDate(Number(n[1])),i=i[0].split(":");var s=Number(i[0]);switch(String(o).toLowerCase()){case"am":s=12===s?0:s;break;case"pm":s=12===s?12:s+12}return a.setHours(s),a.setMinutes(Number(i[1])),a}};i.each(c,function(e,t){t=t.replace(/'/g,""),_[t]=_[e],w[t]=w[e]});var x=function(e,t){return s(t)&&(e[t.toLowerCase()]||e[t.replace(/'/g,"")])},y=function(e,t){var n={abbreviated:3,"short":2,narrow:1};return i.map(e,function(e){return e.substr(0,n[t])})},b={year:["y","yy","yyyy"],day:["d","dd"],month:["M","MM","MMM","MMMM"],hours:["H","HH","h","hh","ah"],minutes:["m","mm"],seconds:["s","ss"],milliseconds:["S","SS","SSS"]},C=a({_getPatternByFormat:function(e){return c[e.toLowerCase()]},_expandPattern:function(e){return this._getPatternByFormat(e)||e},formatUsesMonthName:function(e){return this._expandPattern(e).indexOf("MMMM")!==-1},formatUsesDayName:function(e){return this._expandPattern(e).indexOf("EEEE")!==-1},getFormatParts:function(e){var t=this._getPatternByFormat(e)||e,n=[];return i.each(t.split(/\W+/),function(e,t){i.each(b,function(e,i){r(t,i)>-1&&n.push(e)})}),n},getMonthNames:function(e){return y(h,e)},getDayNames:function(e){return y(p,e)},getTimeSeparator:function(){return":"},format:function(e,t){if(e){if(!t)return e;var n;if("function"==typeof t?n=t:t.formatter?n=t.formatter:(t=t.type||t,n=x(_,t)),n)return n(e)}},parse:function(e,t){var n,i;if(e){if(!t)return new Date(e);if(t.parser)return t.parser(e);if((t.type||t.formatter)&&(t=t.type),t&&"function"!=typeof t&&(i=x(w,t)),i?n=i(e):(l.log("W0012"),n=new Date(e)),n&&!isNaN(n.getTime()))return n}},firstDayOfWeekIndex:function(){return 0}});e.exports=C},function(e,t,n){var i=n(29);e.exports=i({locale:function(){var e="en";return function(t){return t?void(e=t):e}}()})},function(e,t,n){var i=n(34).locale,o={ar:1,bg:2,ca:3,"zh-Hans":4,cs:5,da:6,de:7,el:8,en:9,es:10,fi:11,fr:12,he:13,hu:14,is:15,it:16,ja:17,ko:18,nl:19,no:20,pl:21,pt:22,rm:23,ro:24,ru:25,hr:26,sk:27,sq:28,sv:29,th:30,tr:31,ur:32,id:33,uk:34,be:35,sl:36,et:37,lv:38,lt:39,tg:40,fa:41,vi:42,hy:43,az:44,eu:45,hsb:46,mk:47,tn:50,xh:52,zu:53,af:54,ka:55,fo:56,hi:57,mt:58,se:59,ga:60,ms:62,kk:63,ky:64,sw:65,tk:66,uz:67,tt:68,bn:69,pa:70,gu:71,or:72,ta:73,te:74,kn:75,ml:76,as:77,mr:78,sa:79,mn:80,bo:81,cy:82,km:83,lo:84,gl:86,kok:87,syr:90,si:91,iu:93,am:94,tzm:95,ne:97,fy:98,ps:99,fil:100,dv:101,ha:104,yo:106,quz:107,nso:108,ba:109,lb:110,kl:111,ig:112,ii:120,arn:122,moh:124,br:126,ug:128,mi:129,oc:130,co:131,gsw:132,sah:133,qut:134,rw:135,wo:136,prs:140,gd:145,"ar-SA":1025,"bg-BG":1026,"ca-ES":1027,"zh-TW":1028,"cs-CZ":1029,"da-DK":1030,"de-DE":1031,"el-GR":1032,"en-US":1033,"fi-FI":1035,"fr-FR":1036,"he-IL":1037,"hu-HU":1038,"is-IS":1039,"it-IT":1040,"ja-JP":1041,"ko-KR":1042,"nl-NL":1043,"nb-NO":1044,"pl-PL":1045,"pt-BR":1046,"rm-CH":1047,"ro-RO":1048,"ru-RU":1049,"hr-HR":1050,"sk-SK":1051,"sq-AL":1052,"sv-SE":1053,"th-TH":1054,"tr-TR":1055,"ur-PK":1056,"id-ID":1057,"uk-UA":1058,"be-BY":1059,"sl-SI":1060,"et-EE":1061,"lv-LV":1062,"lt-LT":1063,"tg-Cyrl-TJ":1064,"fa-IR":1065,"vi-VN":1066,"hy-AM":1067,"az-Latn-AZ":1068,"eu-ES":1069,"hsb-DE":1070,"mk-MK":1071,"tn-ZA":1074,"xh-ZA":1076,"zu-ZA":1077,"af-ZA":1078,"ka-GE":1079,"fo-FO":1080,"hi-IN":1081,"mt-MT":1082,"se-NO":1083,"ms-MY":1086,"kk-KZ":1087,"ky-KG":1088,"sw-KE":1089,"tk-TM":1090,"uz-Latn-UZ":1091,"tt-RU":1092,"bn-IN":1093,"pa-IN":1094,"gu-IN":1095,"or-IN":1096,"ta-IN":1097,"te-IN":1098,"kn-IN":1099,"ml-IN":1100,"as-IN":1101,"mr-IN":1102,"sa-IN":1103,"mn-MN":1104,"bo-CN":1105,"cy-GB":1106,"km-KH":1107,"lo-LA":1108,"gl-ES":1110,"kok-IN":1111,"syr-SY":1114,"si-LK":1115,"iu-Cans-CA":1117,"am-ET":1118,"ne-NP":1121,"fy-NL":1122,"ps-AF":1123,"fil-PH":1124,"dv-MV":1125,"ha-Latn-NG":1128,"yo-NG":1130,"quz-BO":1131,"nso-ZA":1132,"ba-RU":1133,"lb-LU":1134,"kl-GL":1135,"ig-NG":1136,"ii-CN":1144,"arn-CL":1146,"moh-CA":1148,"br-FR":1150,"ug-CN":1152,"mi-NZ":1153,"oc-FR":1154,"co-FR":1155,"gsw-FR":1156,"sah-RU":1157,"qut-GT":1158,"rw-RW":1159,"wo-SN":1160,"prs-AF":1164,"gd-GB":1169,"ar-IQ":2049,"zh-CN":2052,"de-CH":2055,"en-GB":2057,"es-MX":2058,"fr-BE":2060,"it-CH":2064,"nl-BE":2067,"nn-NO":2068,"pt-PT":2070,"sr-Latn-CS":2074,"sv-FI":2077,"az-Cyrl-AZ":2092,"dsb-DE":2094,"se-SE":2107,"ga-IE":2108,"ms-BN":2110,"uz-Cyrl-UZ":2115,"bn-BD":2117,"mn-Mong-CN":2128,"iu-Latn-CA":2141,"tzm-Latn-DZ":2143,"quz-EC":2155,"ar-EG":3073,"zh-HK":3076,"de-AT":3079,"en-AU":3081,"es-ES":3082,"fr-CA":3084,"sr-Cyrl-CS":3098,"se-FI":3131,"quz-PE":3179,"ar-LY":4097,"zh-SG":4100,"de-LU":4103,"en-CA":4105,"es-GT":4106,"fr-CH":4108,"hr-BA":4122,"smj-NO":4155,"ar-DZ":5121,"zh-MO":5124,"de-LI":5127,"en-NZ":5129,"es-CR":5130,"fr-LU":5132,"bs-Latn-BA":5146,"smj-SE":5179,"ar-MA":6145,"en-IE":6153,"es-PA":6154,"fr-MC":6156,"sr-Latn-BA":6170,"sma-NO":6203,"ar-TN":7169,"en-ZA":7177,"es-DO":7178,"sr-Cyrl-BA":7194,"sma-SE":7227,"ar-OM":8193,"en-JM":8201,"es-VE":8202,"bs-Cyrl-BA":8218,"sms-FI":8251,"ar-YE":9217,"en-029":9225,"es-CO":9226,"sr-Latn-RS":9242,"smn-FI":9275,"ar-SY":10241,"en-BZ":10249,"es-PE":10250,"sr-Cyrl-RS":10266,"ar-JO":11265,"en-TT":11273,"es-AR":11274,"sr-Latn-ME":11290,"ar-LB":12289,"en-ZW":12297,"es-EC":12298,"sr-Cyrl-ME":12314,"ar-KW":13313,"en-PH":13321,"es-CL":13322,"ar-AE":14337,"es-UY":14346,"ar-BH":15361,"es-PY":15370,"ar-QA":16385,"en-IN":16393,"es-BO":16394,"en-MY":17417,"es-SV":17418,"en-SG":18441,"es-HN":18442,"es-NI":19466,"es-PR":20490,"es-US":21514,"bs-Cyrl":25626,"bs-Latn":26650,"sr-Cyrl":27674,"sr-Latn":28698,smn:28731,"az-Cyrl":29740,sms:29755,zh:30724,nn:30740,bs:30746,"az-Latn":30764,sma:30779,"uz-Cyrl":30787,"mn-Cyrl":30800,"iu-Cans":30813,"zh-Hant":31748,nb:31764,sr:31770,"tg-Cyrl":31784,dsb:31790,smj:31803,"uz-Latn":31811,"mn-Mong":31824,"iu-Latn":31837,"tzm-Latn":31839,"ha-Latn":31848};t.getLanguageId=function(){return o[i()]}},function(e,t,n){var i=n(11).extend,o=n(32);o.inject({_formatNumberCore:function(e,t,n){return"currency"===t?(n.precision=n.precision||0,this.getCurrencySymbol().symbol+this.format(e,i({},n,{type:"fixedpoint"}))):this.callBase.apply(this,arguments)},getCurrencySymbol:function(){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(){return"$#,##0{0}_);\\($#,##0{0}\\)"}})},function(e,t,n){function i(e,t,n){var i=H("<canvas>")[0];return i.width=e+(n?0:2*oe.x),i.height=t+(n?0:2*oe.y),i}function o(e,t){var n=e.toDataURL(t,ne),i=atob(n.substring(("data:"+t+";base64,").length));return i}function a(e,t,n,i,o,a,s,r){var l,c,d,u,h,p,f=(e+n)/2,m=(t+i)/2,g=Y(t-i,e-n),_=a?1:-1;g+=90*(G/180)*(s?1:-1),l=U(Q(n-e,2)+Q(i-t,2))/2,c=U(K(Q(o,2)-Q(l,2))),d=f+_*(c*Z(g)),u=m+_*(c*X(g)),h=Y(t-u,e-d),p=Y(i-u,n-d),r.arc(d,u,o,h,p,!s)}function s(e){var t,n=le(e.attributes||{}),i=e.style||{},o=ee({},n,{text:e.textContent.replace(/\s+/g," "),textAlign:"middle"===n["text-anchor"]?"center":n["text-anchor"]}),a=n.transform;return a&&(t=a.match(/translate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/),t&&(t=t[0].match(/-*\d+([.]\d+)*/g),o.translateX=te(t[0]),o.translateY=t[1]?te(t[1]):0),t=a.match(/rotate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*,*\s*-*\d+([.]\d+)*)*/),t&&(t=t[0].match(/-*\d+([.]\d+)*/g),o.rotationAngle=te(t[0]),o.rotationX=t[1]&&te(t[1]),o.rotationY=t[2]&&te(t[2]))),d(i,o),o}function r(e,t){var n=t.x,i=t.y,o=t.width,a=t.height,s=t.rx;s?(s=j(s,o/2,a/2),e.save(),e.translate(n,i),e.moveTo(o/2,0),e.arcTo(o,0,o,a,s),e.arcTo(o,a,0,a,s),e.arcTo(0,a,0,0,s),e.arcTo(0,0,s,0,s),e.lineTo(o/2,0),e.restore()):e.rect(t.x,t.y,t.width,t.height)}function l(e,t){var n=H.Deferred(),i=new Image;i.onload=function(){e.save(),e.globalAlpha=t.globalAlpha,b(e,t),C(e,t),e.drawImage(i,t.x,t.y,t.width,t.height),e.restore(),n.resolve()},i.onerror=function(){n.resolve()},P.push(n),i.setAttribute("crossOrigin","anonymous"),i.src=t["xlink:href"]}function c(e,t){var n,i,o=t.split(" "),s=0;do switch(n=te(o[s+1]),i=te(o[s+2]),o[s]){case"M":e.moveTo(n,i),s+=3;break;case"L":e.lineTo(n,i),s+=3;break;case"C":e.bezierCurveTo(n,i,te(o[s+3]),te(o[s+4]),te(o[s+5]),te(o[s+6])),s+=7;break;case"A":a(te(o[s-2]),te(o[s-1]),te(o[s+6]),te(o[s+7]),n,te(o[s+4]),te(o[s+5]),e),s+=8;break;case"Z":e.closePath(),s+=1}while(s<o.length)}function d(e,t){J(e,function(n,i){""!==e[i]&&(t[W(i)]=e[i])}),t.textDecoration=t.textDecoration||t.textDecorationLine,t.globalAlpha=t.opacity||t.globalAlpha}function u(e){var t=e&&e.match(/url\(.*\#(.*?)["']?\)/i);return t&&t[1]}function h(e,t){var n=[];t.fontSize=t.fontSize||ae,t.fontFamily||se,t.fill=t.fill||re,t.fontStyle&&n.push(t.fontStyle),t.fontWeight&&n.push(t.fontWeight),n.push(t.fontSize),n.push(t.fontFamily),e.font=n.join(" "),e.textAlign=t.textAlign,e.fillStyle=t.fill,e.globalAlpha=t.globalAlpha}function p(e,t){h(e,t),t.text&&e.fillText(t.text,t.x||0,t.y||0),T(e,t,!0),f(e,t)}function f(e,t){if(t.textDecoration&&"none"!==t.textDecoration){var n=t.x,i=e.measureText(t.text).width,o=parseInt(t.fontSize,10),a=o*ie<1?1:o*ie,s=t.y;switch(t.textDecoration){case"line-through":s-=o/3+a/2;break;case"overline":s-=o-a;break;case"underline":s+=a}e.rect(n,s,i,a),A(e,t),T(e,t)}}function m(e){O[e.attributes.id.textContent]=e.childNodes[0]}function g(e){V[e.attributes.id.textContent]=e}function _(e){e.strokeOpacity=void 0!==e["stroke-opacity"]?e["stroke-opacity"]:1,e.fillOpacity=void 0!==e["fill-opacity"]?e["fill-opacity"]:1,void 0!==e.opacity&&(e.strokeOpacity*=e.opacity,e.fillOpacity*=e.opacity)}function v(e){for(var t=e.childNodes,n=0;n<t.length;n++)if("tspan"===t[n].tagName)return!0;return!1}function w(e,t,n){for(var i,o=[],a=0,r=0;r<e.length;r++){var l=e[r];if(void 0===l.tagName)x(l,t,n);else if("tspan"===l.tagName||"text"===l.tagName){var c=s(l),d=ee({},n,c);if("tspan"===l.tagName&&v(l)){w(l.childNodes,t,d);continue}d.textAlign="start",i&&void 0===c.x||(i={elements:[],options:[],widths:[],offsets:[]},o.push(i)),void 0!==c.dy&&(a+=Number(c.dy)),i.elements.push(l),i.options.push(d),i.offsets.push(a),h(t,d),i.widths.push(t.measureText(d.text).width)}}o.forEach(function(e){var i=e.widths.reduce(function(e,t){return e+t},0),o=0,a=0;"center"===n.textAlign&&(o=i/2),"end"===n.textAlign&&(o=i),e.options.forEach(function(t,n){var i=e.widths[n];t.x=t.x-o+a,t.y+=e.offsets[n],a+=i}),e.elements.forEach(function(n,i){w(n.childNodes,t,e.options[i])})})}function x(e,t,n){var i=e.tagName,o="text"===i||"tspan"===i||void 0===i,a="image"===i,d=ee({},n,s(e));if("hidden"!==d.visibility){switch(t.save(),!a&&b(t,d),C(t,d),_(d),t.beginPath(),e.tagName){case void 0:p(t,d);break;case"text":case"tspan":w(e.childNodes,t,d);break;case"image":l(t,d);break;case"path":c(t,d.d);break;case"rect":r(t,d),t.closePath();break;case"circle":t.arc(d.cx,d.cy,d.r,0,2*G,1)}y(t,d),o||(A(t,d),T(t,d)),t.restore()}}function y(e,t){var n,i=u(t.filter);i&&(n=F&&F[i],n||(n={offsetX:0,offsetY:0,blur:0,color:"#000"}),e.shadowOffsetX=n.offsetX,e.shadowOffsetY=n.offsetY,e.shadowColor=n.color,e.shadowBlur=n.blur)}function b(e,t){e.translate(t.translateX||0,t.translateY||0),delete t.translateX,delete t.translateY,t.rotationAngle&&(e.translate(t.rotationX||0,t.rotationY||0),e.rotate(t.rotationAngle*G/180),e.translate(-(t.rotationX||0),-(t.rotationY||0)),delete t.rotationAngle,delete t.rotationX,delete t.rotationY)}function C(e,t){t["clip-path"]&&(x(O[u(t["clip-path"])],e,{}),e.clip(),delete t["clip-path"])}function k(e,t){var n=new L(e);return"rgba("+n.r+","+n.g+","+n.b+","+t+")"}function I(e){var t,n,i={};J(e.childNodes,function(e,o){var a=o.attributes;if(a.result)switch(a.result.value){case"gaussianBlurResult":a.stdDeviation&&(i.blur=te(a.stdDeviation.value));break;case"offsetResult":i.offsetX=te(a.dx.value),i.offsetY=te(a.dy.value);break;case"floodResult":t=a["flood-color"]?a["flood-color"].value:"#000",n=a["flood-opacity"]?a["flood-opacity"].value:1,i.color=k(t,n)}}),F[e.id]=i}function S(e,t,n){var i;J(e,function(e,o){switch(o.tagName&&o.tagName.toLowerCase()){case"g":i=ee({},n,s(o)),t.save(),b(t,i),C(t,i),S(o.childNodes,t,i),t.restore();break;case"defs":O={},V={},F={},S(o.childNodes,t);break;case"clippath":m(o);break;case"pattern":g(o);break;case"filter":I(o);break;default:x(o,t,n)}})}function D(e,t){var n=t["stroke-dasharray"]&&t["stroke-dasharray"].match(/(\d+)/g);n&&n.length&&e.setLineDash&&(n=H.map(n,function(e){return te(e)}),e.setLineDash(n))}function T(e,t,n){var i=t.stroke;i&&"none"!==i&&0!==t["stroke-width"]&&(D(e,t),e.lineJoin=t["stroke-linejoin"],e.lineWidth=t["stroke-width"],e.globalAlpha=t.strokeOpacity,e.strokeStyle=i,n?e.strokeText(t.text,t.x,t.y):e.stroke())}function E(e,t){var n=V[u(t)],o=s(n),a=i(o.width,o.height,!0),r=a.getContext("2d");return S(n.childNodes,r,o),e.createPattern(a,"repeat")}function A(e,t){var n=t.fill;n&&"none"!==n&&(e.fillStyle=n.search(/url/)===-1?n:E(e,n),e.globalAlpha=t.fillOpacity,e.fill())}function B(e,t,n,i){e.fillStyle=i||"#ffffff",e.fillRect(-oe.x,-oe.y,t+2*oe.x,n+2*oe.y)}function M(e,t,n,o){var a=i(t,n),s=a.getContext("2d"),r=new DOMParser,l=r.parseFromString(e,"image/svg+xml"),c=l.childNodes[0];return s.translate(oe.x,oe.y),P=[],document.getElementById('mw-content-text').appendChild(a),c.attributes.direction&&(a.dir=c.attributes.direction.textContent),B(s,t,n,o),S(c.childNodes,s,{}),document.body.removeChild(a),a}function R(e,t,n){$.apply(H,P).done(function(){var i=o(t,n);e.resolve(i)})}var O,P,V,F,H=n(9),L=n(38),z=n(14),N=n(11).extend,W=n(39).camelize,$=n(16).when,q=Math,G=q.PI,j=q.min,K=q.abs,U=q.sqrt,Q=q.pow,Y=q.atan2,Z=q.cos,X=q.sin,J=H.each,ee=N,te=Number,ne=1,ie=.05,oe={x:30,y:20},ae="10px",se="sans-serif",re="#000",le=function(e){var t,n={};return H.each(e,function(e,i){t=i.textContent,isFinite(t)&&(t=te(t)),n[i.name.toLowerCase()]=t}),n};t.imageCreator={getImageData:function(e,t){var n="image/"+t.format,i=H.Deferred(),o=t.width,a=t.height,s=t.backgroundColor;return z.isFunction(t.__parseAttributesFn)&&(le=t.__parseAttributesFn),R(i,M(e,o,a,s),n),i},getData:function(e,n){var i=this,o=t.imageCreator.getImageData(e,n),a="image/"+n.format,s=H.Deferred();return $(o).done(function(e){o=z.isFunction(window.Blob)?i._getBlob(e,a):i._getBase64(e),s.resolve(o)}),s},_getBlob:function(e,t){var n,i=new Uint8Array(e.length);for(n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return new Blob([i.buffer],{type:t})},_getBase64:function(e){return window.btoa(e)}},t.getData=function(e,n,i){t.imageCreator.getData(e,n).done(i)}},function(e,t){function n(e){this.baseColor=e;var t;e&&(t=String(e).toLowerCase().replace(/ /g,""),t=g[t]?"#"+g[t]:t,t=i(t)),t||(this.colorIsInvalid=!0),t=t||{},this.r=o(t[0]),this.g=o(t[1]),this.b=o(t[2]),this.a=o(t[3],1,1),t[4]?this.hsv={h:t[4][0],s:t[4][1],v:t[4][2]}:this.hsv=s(this.r,this.g,this.b),t[5]?this.hsl={h:t[5][0],s:t[5][1],l:t[5][2]}:this.hsl=c(this.r,this.g,this.b); | i+=this._createXMLRelationships(e),n.folder("_"+_).file(w+".rels",i),n.file(w,this._getWorkbookContent()),this._zip.file(x,this._getContentTypesContent())},_generateContent:function(){this._prepareStyleData(),this._prepareCellData(),this._generateWorkXML(),this._generateCommonXML()},_generateWorkXML:function(){this._generateStylesXML(),this._generateStringsXML(),this._generateWorksheetXML()},ctor:function(e,t){this._rtlEnabled=t&&!!t.rtlEnabled,this._options=t,this._maxIndex=[1,2],this._stringArray=[],this._stringHash={},this._styleArray=[],this._colsArray=[],this._cellsArray=[],this._styleFormat=[],this._needSheetPr=!1,this._dataProvider=e,o.isDefined(c)?this._zip=new c:this._zip=null},_checkZipState:function(){if(!this._zip)throw r.Error("E1041")},ready:function(){return this._dataProvider.ready()},getData:function(e){var t={type:e?"blob":"base64",compression:"DEFLATE",mimeType:d.MIME_TYPES.EXCEL};return this._checkZipState(),this._generateContent(),this._zip.generateAsync?this._zip.generateAsync(t):this._zip.generate(t)}}),t.getData=function(e,n,i){var a=new t.ExcelCreator(e,n);a._checkZipState(),a.ready().done(function(){a._zip.generateAsync?a.getData(o.isFunction(window.Blob)).then(i):i(a.getData(o.isFunction(window.Blob)))})}},function(e,t,n){var i=n(7),o=function(e,t,n){return function(){var i=this.callBase;this.callBase=e[t];try{return n.apply(this,arguments)}finally{this.callBase=i}}},a=function(e){var t=function(){};return t.prototype=e.prototype,new t},s=function(e){var t,n,i,a=this;if(!e)return a;for(n in e)i=e[n],t="function"==typeof a.prototype[n]&&"function"==typeof i,a.prototype[n]=t?o(a.parent.prototype,n,i):i;return a},r=function(){var e,t,n,i=this;for(n=0;n<arguments.length;n++){e=arguments[n],e.ctor&&i._includedCtors.push(e.ctor),e.postCtor&&i._includedPostCtors.push(e.postCtor);for(t in e)"ctor"!==t&&"postCtor"!==t&&(i.prototype[t]=e[t])}return i},l=function(e){return this.parent===e||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(e)},c=function(){throw i.Error("E0001")},d=function(){var e=Object.prototype.hasOwnProperty;return function(t,n){for(var i in t){if(!e.call(t,i))return;n[i]=t[i]}}}(),u=function(){};u.inherit=function(e){var t=function(){if(!this||this===window||"function"!=typeof this.constructor)throw i.Error("E0003");var e,t=this,n=t.ctor,o=t.constructor._includedCtors,a=t.constructor._includedPostCtors;for(e=0;e<o.length;e++)o[e].call(t);for(n&&n.apply(t,arguments),e=0;e<a.length;e++)a[e].call(t)};return t.prototype=a(this),d(this,t),t.inherit=this.inherit,t.abstract=c,t.redefine=s,t.include=r,t.subclassOf=l,t.parent=this,t._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],t._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],t.prototype.constructor=t,t.redefine(e),t},u.abstract=c,e.exports=u},function(e,t,n){var i=n(9),o=n(14),a=n(27),s=function(e){return Array.isArray(e)&&!e.length},r=function(e){return Array.isArray(e)?e:[e]},l=function(e,t){if(!Array.isArray(e)||0===e.length||!Array.isArray(t)||0===t.length)return[];var n=[];return i.each(e,function(e,i){var o=u(i,t);o!==-1&&n.push(i)}),n},c=function(e,t){if(!Array.isArray(e)||0===e.length)return[];if(!Array.isArray(t)||0===t.length)return e.slice();var n=[];return i.each(e,function(e,i){var o=u(i,t);o===-1&&n.push(i)}),n},d=function(e,t,n,s){var r={},l=0;return i.each(e,function(e,i){e=i[t],o.isDefined(e)&&(r[e]=r[e]||[],i===n?r[e].unshift(i):r[e].push(i),delete i[t])}),a.orderEach(r,function(e,n){i.each(n,function(){e>=0&&(this[t]=l++)})}),i.each(e,function(){o.isDefined(this[t])||s&&!s(this)||(this[t]=l++)}),l},u=function(e,t){if(!t)return-1;var n=Array.isArray(t)?t:t.toArray();return n.indexOf(e)};t.isEmpty=s,t.wrapToArray=r,t.intersection=l,t.removeDuplicates=c,t.normalizeIndexes=d,t.inArray=u},function(e,t,n){var i=n(9),o=n(14),a=n(12),s=n(28),r=function(){function e(){}return function(t){return e.prototype=t,new e}}(),l=function(e,t){var n,i,a=[];for(n in e)e.hasOwnProperty(n)&&a.push(n);for(a.sort(function(e,t){var n=o.isNumeric(e),i=o.isNumeric(t);return n&&i?e-t:n&&!i?-1:!n&&i?1:e<t?-1:e>t?1:0}),i=0;i<a.length;i++)n=a[i],t(n,e[n])},c=function(e,t,n,i){!i&&s.isWrapped(e[t])?s.assign(e[t],n):e[t]=n},d=function(e,t,n,s){var r,l;for(var u in t)if(r=e[u],l=t[u],e!==l){if(a.isPlainObject(l)&&!(l instanceof i.Event)){var h=n?o.isObject(r):a.isPlainObject(r);l=d(h?r:{},l,n,s)}void 0!==l&&c(e,u,l,s)}return e};t.clone=r,t.orderEach=l,t.deepExtendArraySafe=d},function(e,t,n){var i=n(13).logger,o=n(29);e.exports=o({isWrapped:function(){return!1},isWritableWrapped:function(){return!1},wrap:function(e){return e},unwrap:function(e){return e},assign:function(){i.error("Method 'assign' should not be used for not wrapped variables. Use 'isWrapped' method for ensuring.")}})},function(e,t,n){e.exports=function(e){var t=n(9),i=n(11).extend,o=n(14).isFunction,a=n(25),s=a.inherit(e),r=s,l=new r(e),c={},d=function(n,i){t.each(n,function(t){o(l[t])?!i&&e[t]||(e[t]=function(){return l[t].apply(e,arguments)}):(i&&(c[t]=e[t]),e[t]=l[t])})};return d(e,!0),e.inject=function(e){r=r.inherit(e),l=new r,d(e)},e.resetInjection=function(){i(e,c),r=s,l=new s},e}},function(e,t){e.exports=window.JSZip},function(e,t,n){var i=n(14),o=n(18),a=n(32),s=n(33),r=n(35).getLanguageId,l={quarter:"shortDate",quarterAndYear:"shortDate",minute:"longTime",millisecond:"longTime"},c=" .,:;/\\<>()-",d=1632,u={thousands:"#,##0{0},"K"",millions:"#,##0{0},,"M"",billions:"#,##0{0},,,"B"",trillions:"#,##0{0},,,,"T"",percent:"0{0}%",decimal:"#{0}",fixedpoint:"#,##0{0}",exponential:"0{0}E+00",currency:" "};n(36);var h=e.exports={_applyPrecision:function(e,t){var n,i;if(t>0){for(n="decimal"!==e?".":"",i=0;i<t;i++)n+="0";return n}return""},_getCurrencyFormat:function(e){return a.getOpenXmlCurrencyFormat(e)},_isDigit:function(e){var t=e&&e.charCodeAt(0);return e>="0"&&e<="9"||t>=d&&t<d+10},_getDifference:function(e,t,n){var i,o=0,a=this,s=[],r=function(t){return e[o]!==t[o]};for(Array.isArray(t)||(t=[t]),o=0;o<e.length;o++)if(n.indexOf(o)<0&&t.filter(r).length){do{if(i=a._isDigit(e[o]),!s.length&&!i&&a._isDigit(t[0][o]))break;s.push(o),n.unshift(o),o++}while(e[o]&&c.indexOf(e[o])<0&&i===a._isDigit(e[o]));break}return 1!==s.length||"0"!==e[n[0]-1]&&"٠"!==e[n[0]-1]||n.unshift(n[0]-1),s},_replaceCharsCore:function(e,t,n,i){var o=t[0],a=o<i.length?i[o]:o;return t.forEach(function(t,i){e=e.substr(0,a+i)+(n.length>1?n[i]:n)+e.substr(a+i+1)}),1===t.length&&(e=e.replace("0"+n,n+n),e=e.replace("٠"+n,n+n)),e},_replaceChars:function(e,t,n,i){var o,a,s;if(!this._isDigit(e[t[0]]||"0")){for(var r=Math.max(t.length<=3?3:4,n.length);t.length>r;){for(a=t.pop(),s=i[a],i[a]=-1,o=a+1;o<i.length;o++)i[o]--;e=e.substr(0,s)+e.substr(s+1)}for(a=t[t.length-1]+1,s=a<i.length?i[a]:a;t.length<r;){for(t.push(t[t.length-1]+1),o=a;o<i.length;o++)i[o]++;e=e.substr(0,s)+" "+e.substr(s)}}return e=this._replaceCharsCore(e,t,n,i)},_format:function(e,t){return Array.isArray(e)?e.map(function(e){return(s.format(e,t)||"").toString()}):(s.format(e,t)||"").toString()},_escapeChars:function(e,t,n,i){var o=t.split("").map(function(e,t){return n.indexOf(t)<0&&(c.indexOf(e)<0||"/"===e)?i[t]:-1});return e=e.split("").map(function(e,t){return o.indexOf(t)>=0?"\\"+e:e}).join(""),e=e.replace("AM\\/PM","AM/PM")},_hasArabicDigits:function(e){for(var t,n=0;n<e.length;n++)if(t=e.charCodeAt(n),t>=d&&t<d+10)return!0;return!1},_convertDateFormat:function(e){e=l[e&&e.type||e]||e;var t=this,n=[],i=t._format(new Date(2009,8,8,6,5,4),e),o=i.split("").map(function(e,t){return t}),a=i,s=[{date:new Date(2009,8,8,6,5,2),pattern:"s"},{date:new Date(2009,8,8,6,2,4),pattern:"m"},{date:new Date(2009,8,8,2,5,4),pattern:"H"},{date:new Date(2009,8,8,18,5,4),pattern:"AM/PM"},{date:new Date(2009,8,1,6,5,4),pattern:"d"},{date:[new Date(2009,8,2,6,5,4),new Date(2009,8,3,6,5,4),new Date(2009,8,4,6,5,4)],pattern:"d"},{date:new Date(2009,9,6,6,5,4),pattern:"M"},{date:new Date(1998,8,8,6,5,4),pattern:"y"}];if(a)return s.forEach(function(s){var r=t._getDifference(i,t._format(s.date,e),n);a=t._replaceChars(a,r,s.pattern,o)}),a=t._escapeChars(a,i,n,o),a=t._getLanguageInfo(i)+a},_getLanguageInfo:function(e){var t=r(),n=t?t.toString(16):"",i="";if(this._hasArabicDigits(e)){for(;n.length<3;)n="0"+n;i="[$-2010"+n+"]"}else n&&(i="[$-"+n+"]");return i},_convertNumberFormat:function(e,t,n){var i,a="currency"===e?this._getCurrencyFormat(n):u[e.toLowerCase()];return a&&(i=o.format(a,this._applyPrecision(e,t))),i},convertFormat:function(e,t,n,o){if(i.isDefined(e)){if("date"===n)return h._convertDateFormat(e);if(i.isString(e)&&u[e.toLowerCase()])return h._convertNumberFormat(e,t,o)}}}},function(e,t,n){var i=n(9),o=n(29),a=n(26).inArray,s=n(12).isPlainObject,r=n(7),l=4,c=10,d=["currency","fixedpoint","exponential","percent","decimal"],u={1:"K",2:"M",3:"B",4:"T"},h={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},p=o({numericFormats:d,defaultLargeNumberFormatPostfixes:u,_parseNumberFormatString:function(e){var t,n={};if(e&&"string"==typeof e)return t=e.split(" "),i.each(t,function(e,t){a(t,d)>-1?n.formatType=t:t in h&&(n.power=h[t])}),n.power&&!n.formatType&&(n.formatType="fixedpoint"),n.formatType?n:void 0},_calculateNumberPower:function(e,t,n,i){var o=Math.abs(e),a=0;if(o>1)for(;o&&o>=t&&(void 0===i||a<i);)a++,o/=t;else if(o>0&&o<1)for(;o<1&&(void 0===n||a>n);)a--,o*=t;return a},_getNumberByPower:function(e,t,n){for(var i=e;t>0;)i/=n,t--;for(;t<0;)i*=n,t++;return i},_formatNumber:function(e,t,n){var i,o;return"auto"===t.power&&(t.power=this._calculateNumberPower(e,1e3,0,l)),t.power&&(e=this._getNumberByPower(e,t.power,1e3)),i=this.defaultLargeNumberFormatPostfixes[t.power]||"",o=this._formatNumberCore(e,t.formatType,n),o=o.replace(/(\d|.$)(\D*)$/,"$1"+i+"$2")},_formatNumberExponential:function(e,t){var n,i=this._calculateNumberPower(e,c),o=this._getNumberByPower(e,i,c);return void 0===t.precision&&(t.precision=1),o.toFixed(t.precision||0)>=c&&(i++,o/=c),n=(i>=0?"+":"")+i.toString(),this._formatNumberCore(o,"fixedpoint",t)+"E"+n},_addZeroes:function(e,t){var n=Math.pow(10,t);e=(e*n>>>0)/n;for(var i=e.toString();i.length<t;)i="0"+i;return i},_addGroupSeparators:function(e){var t=e.toString().split(".");return t[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")+(t[1]?"."+t[1]:"")},_formatNumberCore:function(e,t,n){return"exponential"===t?this._formatNumberExponential(e,n):("decimal"!==t&&null!==n.precision&&(n.precision=n.precision||0),"percent"===t&&(e=100*e),void 0!==n.precision&&(e="decimal"===t?this._addZeroes(e,n.precision):null===n.precision?e.toPrecision():e.toFixed(n.precision)),"decimal"!==t&&(e=this._addGroupSeparators(e)),"percent"===t&&(e+="%"),e.toString())},_normalizeFormat:function(e){return e?"function"==typeof e?e:(s(e)||(e={type:e}),e.type&&(e.type=e.type.toLowerCase()),e):{}},format:function(e,t){if("number"!=typeof e)return e;if("number"==typeof t)return e;if(t=t&&t.formatter||t,"function"==typeof t)return t(e);t=this._normalizeFormat(t),t.type||(t.type="decimal");var n=this._parseNumberFormatString(t.type);return n?this._formatNumber(e,n,t):void 0},parse:function(e,t){if(e)return t&&t.parser?t.parser(e):(t&&r.log("W0011"),parseFloat(e.replace(/^\D+|,+/g,"")))}});e.exports=p},function(e,t,n){var i=n(9),o=n(32),a=n(29),s=n(14).isString,r=n(26).inArray,l=n(7);n(34);var c={shortdate:"M/d/y",shorttime:"h:mm a",longdate:"EEEE, MMMM d, y",longtime:"h:mm:ss a",monthandday:"MMMM d",monthandyear:"MMMM y",quarterandyear:"QQQ y",day:"d",year:"y",shortdateshorttime:"M/d/y, h:mm a",mediumdatemediumtime:"MMMM d, h:mm a",longdatelongtime:"EEEE, MMMM d, y, h:mm:ss a",month:"LLLL",shortyear:"yy",dayofweek:"EEEE",quarter:"QQQ",hour:"HH",minute:"mm",second:"ss",millisecond:"SSS","datetime-local":"yyyy-MM-ddTHH':'mm':'ss"},d=function(e){var t=new Date,n=e.split(" "),i=n[0].split(":"),o=Number(i[0]),a=Number(i[1]),s=Number(i[2])||0,r=/^pm$/i.test(n[1]),l=s<60&&a<60&&o>0&&o<13;return l?(r||12!==o||(o=0),r&&12!==o&&(o+=12),new Date(t.getFullYear(),t.getMonth(),t.getDate(),o,a,s)):null},u=function(e){return new Date(e.valueOf()+60*e.getTimezoneOffset()*1e3)},h=["January","February","March","April","May","June","July","August","September","October","November","December"],p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=function(e){return e.getHours()>=12?"PM":"AM"},m=function(e){return e%12||12},g=function(e,t){return o.format(e,{type:"decimal",precision:t})},_={millisecond:function(e){return g(e.getMilliseconds(e),3)},second:function(e){return g(e.getSeconds(),2)},minute:function(e){return g(e.getMinutes(),2)},h:function(e){return g(m(e.getHours()),1)},hh:function(e){return g(m(e.getHours()),2)},hour:function(e){return g(e.getHours(),2)},day:function(e){return String(e.getDate())},dayofweek:function(e){return p[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return g(e.getMonth()+1,2)},month:function(e){return h[e.getMonth()]},year:function(e){return String(e.getFullYear())},shortyear:function(e){return String(e.getFullYear()).substr(2,2)},shorttime:function(e){return _.h(e)+":"+_.minute(e)+" "+f(e)},shortdate:function(e){return[_.M(e),_.day(e),_.year(e)].join("/")},shortdateshorttime:function(e){return[_.shortdate(e),_.shorttime(e)].join(", ")},mediumdatemediumtime:function(e){return[_.monthandday(e),_.shorttime(e)].join(", ")},monthandyear:function(e){return[_.month(e),_.year(e)].join(" ")},monthandday:function(e){return[_.month(e),_.day(e)].join(" ")},longdate:function(e){return _.dayofweek(e)+", "+_.month(e)+" "+_.day(e)+", "+_.year(e)},longtime:function(e){return[_.h(e),_.minute(e),_.second(e)].join(":")+" "+f(e)},longdatelongtime:function(e){return[_.longdate(e),_.longtime(e)].join(", ")},d:function(e){return g(e.getDate(),1)},dd:function(e){return g(e.getDate(),2)},"d MMMM":function(e){return _.day(e)+" "+_.month(e)},"yyyy/M/d":function(e){return[_.year(e),_.M(e),_.day(e)].join("/")},"yyyy/MM/dd":function(e){return[_.year(e),_.MM(e),_.dd(e)].join("/")},"dd.MM.yyyy":function(e){return[_.dd(e),_.MM(e),_.year(e)].join(".")},"HH:mm":function(e){return[_.hour(e),_.minute(e)].join(":")},"HH:mm:ss":function(e){return[_["HH:mm"](e),_.second(e)].join(":")},"h:mm:ss":function(e){return[_.h(e),_.minute(e),_.second(e)].join(":")},"h:mm:ss:SSS":function(e){return[_.h(e),_.minute(e),_.second(e),_.SSS(e)].join(":")},"yyyy/MM/dd HH:mm:ss":function(e){return[_["yyyy/MM/dd"](e),_["HH:mm:ss"](e)].join(" ")},"yyyy-MM-dd hh:mm:ss.SSS a":function(e){return[[_.year(e),_.MM(e),_.dd(e)].join("-"),[_.hh(e),_.minute(e),_.second(e)].join(":")+"."+_.SSS(e),f(e)].join(" ")},"yyyy-MM-dd":function(e){return[_.year(e),_.MM(e),_.dd(e)].join("-")},yyyyMMddTHHmmss:function(e){return[_.year(e),_.MM(e),_.dd(e),"T",_.hour(e),_.minute(e),_.second(e)].join("")},"datetime-local":function(e){return _["yyyy-MM-dd"](e)+"T"+_["HH:mm:ss"](e)},"yyyy-MM-ddTHH:mm:ssZ":function(e){return _["datetime-local"](e)+"Z"},"yyyy-MM-ddTHH:mmZ":function(e){return _["yyyy-MM-dd"](e)+"T"+_.hour(e)+":"+_.minute(e)+"Z"},"dd/MM/yyyy":function(e){return[_.dd(e),_.MM(e),_.year(e)].join("/")},"yyyy MMMM d":function(e){return[_.year(e),_.month(e),_.day(e)].join(" ")},"EEEE, d":function(e){return[_.dayofweek(e),_.d(e)].join(", ")},"EEEE MM yy":function(e){return[_.dayofweek(e),_.MM(e),_.shortyear(e)].join(" ")},"d MMMM yyyy":function(e){return[_.day(e),_.month(e),_.year(e)].join(" ")},E:function(e){return y([_.dayofweek(e)],"abbreviated")[0]},EEE:function(e){return _.E(e)},"EEE hh":function(e){return[_.EEE(e),_.hh(e)].join(" ")},"ss SSS":function(e){return[_.second(e),_.SSS(e)].join(" ")},quarter:function(e){var t=e.getMonth();return t>=0&&t<3?"Q1":t>2&&t<6?"Q2":t>5&&t<9?"Q3":"Q4"},quarterandyear:function(e){return _.quarter(e)+" "+_.year(e)}},v=function(e){return"Z"!==e.slice(-1)&&(e+="Z"),u(new Date(e))},w={day:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),Number(e))},hour:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),Number(e))},minute:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),Number(e))},month:function(e){return new Date((new Date).getFullYear(),r(e,h))},monthandday:function(e){var t=e.split(" "),n=w.month(t[0]);return n.setDate(Number(t[1])),n},monthandyear:function(e){var t=e.split(" "),n=w.month(t[0]);return n.setYear(Number(t[1])),n},year:function(e){var t=new Date(new Date(0));return t.setUTCFullYear(Number(e)),u(t)},second:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),Number(e))},shortyear:function(e){var t=36,n=Number(e);return n+=n>t?1900:2e3,w.year(n)},shortdate:function(e){if(/^(0?[1-9]|1[012])\/(0?[1-9]|[12][0-9]|3[01])\/\d{1,4}/.test(e)){var t=e.split("/"),n=new Date(Number(t[2]),Number(t[0])-1,Number(t[1]));return t[2].length<3&&n.setFullYear(Number(t[2]),Number(t[0])-1,Number(t[1])),n}},longtime:function(e){return d(e)},shorttime:function(e){return d(e)},millisecond:function(e){return new Date(Number(e))},"yyyy MMMM d":function(e){var t=e.split(" ");if(3===t.length)return new Date(Number(t[0]),r(t[1],h),Number(t[2]))},"HH:mm":function(e){var t=e.split(":");return new Date(0,0,0,Number(t[0]),Number(t[1]),0,0)},"yyyy-MM-ddTHH:mm:ssZ":v,"yyyy-MM-ddTHH:mmZ":v,"datetime-local":v,mediumdatemediumtime:function(e){var t=e.split(", "),n=t[0].split(" "),i=t[1].split(" "),o=2===i.length?i.pop():void 0,a=w.month(n[0]);a.setDate(Number(n[1])),i=i[0].split(":");var s=Number(i[0]);switch(String(o).toLowerCase()){case"am":s=12===s?0:s;break;case"pm":s=12===s?12:s+12}return a.setHours(s),a.setMinutes(Number(i[1])),a}};i.each(c,function(e,t){t=t.replace(/'/g,""),_[t]=_[e],w[t]=w[e]});var x=function(e,t){return s(t)&&(e[t.toLowerCase()]||e[t.replace(/'/g,"")])},y=function(e,t){var n={abbreviated:3,"short":2,narrow:1};return i.map(e,function(e){return e.substr(0,n[t])})},b={year:["y","yy","yyyy"],day:["d","dd"],month:["M","MM","MMM","MMMM"],hours:["H","HH","h","hh","ah"],minutes:["m","mm"],seconds:["s","ss"],milliseconds:["S","SS","SSS"]},C=a({_getPatternByFormat:function(e){return c[e.toLowerCase()]},_expandPattern:function(e){return this._getPatternByFormat(e)||e},formatUsesMonthName:function(e){return this._expandPattern(e).indexOf("MMMM")!==-1},formatUsesDayName:function(e){return this._expandPattern(e).indexOf("EEEE")!==-1},getFormatParts:function(e){var t=this._getPatternByFormat(e)||e,n=[];return i.each(t.split(/\W+/),function(e,t){i.each(b,function(e,i){r(t,i)>-1&&n.push(e)})}),n},getMonthNames:function(e){return y(h,e)},getDayNames:function(e){return y(p,e)},getTimeSeparator:function(){return":"},format:function(e,t){if(e){if(!t)return e;var n;if("function"==typeof t?n=t:t.formatter?n=t.formatter:(t=t.type||t,n=x(_,t)),n)return n(e)}},parse:function(e,t){var n,i;if(e){if(!t)return new Date(e);if(t.parser)return t.parser(e);if((t.type||t.formatter)&&(t=t.type),t&&"function"!=typeof t&&(i=x(w,t)),i?n=i(e):(l.log("W0012"),n=new Date(e)),n&&!isNaN(n.getTime()))return n}},firstDayOfWeekIndex:function(){return 0}});e.exports=C},function(e,t,n){var i=n(29);e.exports=i({locale:function(){var e="en";return function(t){return t?void(e=t):e}}()})},function(e,t,n){var i=n(34).locale,o={ar:1,bg:2,ca:3,"zh-Hans":4,cs:5,da:6,de:7,el:8,en:9,es:10,fi:11,fr:12,he:13,hu:14,is:15,it:16,ja:17,ko:18,nl:19,no:20,pl:21,pt:22,rm:23,ro:24,ru:25,hr:26,sk:27,sq:28,sv:29,th:30,tr:31,ur:32,id:33,uk:34,be:35,sl:36,et:37,lv:38,lt:39,tg:40,fa:41,vi:42,hy:43,az:44,eu:45,hsb:46,mk:47,tn:50,xh:52,zu:53,af:54,ka:55,fo:56,hi:57,mt:58,se:59,ga:60,ms:62,kk:63,ky:64,sw:65,tk:66,uz:67,tt:68,bn:69,pa:70,gu:71,or:72,ta:73,te:74,kn:75,ml:76,as:77,mr:78,sa:79,mn:80,bo:81,cy:82,km:83,lo:84,gl:86,kok:87,syr:90,si:91,iu:93,am:94,tzm:95,ne:97,fy:98,ps:99,fil:100,dv:101,ha:104,yo:106,quz:107,nso:108,ba:109,lb:110,kl:111,ig:112,ii:120,arn:122,moh:124,br:126,ug:128,mi:129,oc:130,co:131,gsw:132,sah:133,qut:134,rw:135,wo:136,prs:140,gd:145,"ar-SA":1025,"bg-BG":1026,"ca-ES":1027,"zh-TW":1028,"cs-CZ":1029,"da-DK":1030,"de-DE":1031,"el-GR":1032,"en-US":1033,"fi-FI":1035,"fr-FR":1036,"he-IL":1037,"hu-HU":1038,"is-IS":1039,"it-IT":1040,"ja-JP":1041,"ko-KR":1042,"nl-NL":1043,"nb-NO":1044,"pl-PL":1045,"pt-BR":1046,"rm-CH":1047,"ro-RO":1048,"ru-RU":1049,"hr-HR":1050,"sk-SK":1051,"sq-AL":1052,"sv-SE":1053,"th-TH":1054,"tr-TR":1055,"ur-PK":1056,"id-ID":1057,"uk-UA":1058,"be-BY":1059,"sl-SI":1060,"et-EE":1061,"lv-LV":1062,"lt-LT":1063,"tg-Cyrl-TJ":1064,"fa-IR":1065,"vi-VN":1066,"hy-AM":1067,"az-Latn-AZ":1068,"eu-ES":1069,"hsb-DE":1070,"mk-MK":1071,"tn-ZA":1074,"xh-ZA":1076,"zu-ZA":1077,"af-ZA":1078,"ka-GE":1079,"fo-FO":1080,"hi-IN":1081,"mt-MT":1082,"se-NO":1083,"ms-MY":1086,"kk-KZ":1087,"ky-KG":1088,"sw-KE":1089,"tk-TM":1090,"uz-Latn-UZ":1091,"tt-RU":1092,"bn-IN":1093,"pa-IN":1094,"gu-IN":1095,"or-IN":1096,"ta-IN":1097,"te-IN":1098,"kn-IN":1099,"ml-IN":1100,"as-IN":1101,"mr-IN":1102,"sa-IN":1103,"mn-MN":1104,"bo-CN":1105,"cy-GB":1106,"km-KH":1107,"lo-LA":1108,"gl-ES":1110,"kok-IN":1111,"syr-SY":1114,"si-LK":1115,"iu-Cans-CA":1117,"am-ET":1118,"ne-NP":1121,"fy-NL":1122,"ps-AF":1123,"fil-PH":1124,"dv-MV":1125,"ha-Latn-NG":1128,"yo-NG":1130,"quz-BO":1131,"nso-ZA":1132,"ba-RU":1133,"lb-LU":1134,"kl-GL":1135,"ig-NG":1136,"ii-CN":1144,"arn-CL":1146,"moh-CA":1148,"br-FR":1150,"ug-CN":1152,"mi-NZ":1153,"oc-FR":1154,"co-FR":1155,"gsw-FR":1156,"sah-RU":1157,"qut-GT":1158,"rw-RW":1159,"wo-SN":1160,"prs-AF":1164,"gd-GB":1169,"ar-IQ":2049,"zh-CN":2052,"de-CH":2055,"en-GB":2057,"es-MX":2058,"fr-BE":2060,"it-CH":2064,"nl-BE":2067,"nn-NO":2068,"pt-PT":2070,"sr-Latn-CS":2074,"sv-FI":2077,"az-Cyrl-AZ":2092,"dsb-DE":2094,"se-SE":2107,"ga-IE":2108,"ms-BN":2110,"uz-Cyrl-UZ":2115,"bn-BD":2117,"mn-Mong-CN":2128,"iu-Latn-CA":2141,"tzm-Latn-DZ":2143,"quz-EC":2155,"ar-EG":3073,"zh-HK":3076,"de-AT":3079,"en-AU":3081,"es-ES":3082,"fr-CA":3084,"sr-Cyrl-CS":3098,"se-FI":3131,"quz-PE":3179,"ar-LY":4097,"zh-SG":4100,"de-LU":4103,"en-CA":4105,"es-GT":4106,"fr-CH":4108,"hr-BA":4122,"smj-NO":4155,"ar-DZ":5121,"zh-MO":5124,"de-LI":5127,"en-NZ":5129,"es-CR":5130,"fr-LU":5132,"bs-Latn-BA":5146,"smj-SE":5179,"ar-MA":6145,"en-IE":6153,"es-PA":6154,"fr-MC":6156,"sr-Latn-BA":6170,"sma-NO":6203,"ar-TN":7169,"en-ZA":7177,"es-DO":7178,"sr-Cyrl-BA":7194,"sma-SE":7227,"ar-OM":8193,"en-JM":8201,"es-VE":8202,"bs-Cyrl-BA":8218,"sms-FI":8251,"ar-YE":9217,"en-029":9225,"es-CO":9226,"sr-Latn-RS":9242,"smn-FI":9275,"ar-SY":10241,"en-BZ":10249,"es-PE":10250,"sr-Cyrl-RS":10266,"ar-JO":11265,"en-TT":11273,"es-AR":11274,"sr-Latn-ME":11290,"ar-LB":12289,"en-ZW":12297,"es-EC":12298,"sr-Cyrl-ME":12314,"ar-KW":13313,"en-PH":13321,"es-CL":13322,"ar-AE":14337,"es-UY":14346,"ar-BH":15361,"es-PY":15370,"ar-QA":16385,"en-IN":16393,"es-BO":16394,"en-MY":17417,"es-SV":17418,"en-SG":18441,"es-HN":18442,"es-NI":19466,"es-PR":20490,"es-US":21514,"bs-Cyrl":25626,"bs-Latn":26650,"sr-Cyrl":27674,"sr-Latn":28698,smn:28731,"az-Cyrl":29740,sms:29755,zh:30724,nn:30740,bs:30746,"az-Latn":30764,sma:30779,"uz-Cyrl":30787,"mn-Cyrl":30800,"iu-Cans":30813,"zh-Hant":31748,nb:31764,sr:31770,"tg-Cyrl":31784,dsb:31790,smj:31803,"uz-Latn":31811,"mn-Mong":31824,"iu-Latn":31837,"tzm-Latn":31839,"ha-Latn":31848};t.getLanguageId=function(){return o[i()]}},function(e,t,n){var i=n(11).extend,o=n(32);o.inject({_formatNumberCore:function(e,t,n){return"currency"===t?(n.precision=n.precision||0,this.getCurrencySymbol().symbol+this.format(e,i({},n,{type:"fixedpoint"}))):this.callBase.apply(this,arguments)},getCurrencySymbol:function(){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(){return"$#,##0{0}_);\\($#,##0{0}\\)"}})},function(e,t,n){function i(e,t,n){var i=H("<canvas>")[0];return i.width=e+(n?0:2*oe.x),i.height=t+(n?0:2*oe.y),i}function o(e,t){var n=e.toDataURL(t,ne),i=atob(n.substring(("data:"+t+";base64,").length));return i}function a(e,t,n,i,o,a,s,r){var l,c,d,u,h,p,f=(e+n)/2,m=(t+i)/2,g=Y(t-i,e-n),_=a?1:-1;g+=90*(G/180)*(s?1:-1),l=U(Q(n-e,2)+Q(i-t,2))/2,c=U(K(Q(o,2)-Q(l,2))),d=f+_*(c*Z(g)),u=m+_*(c*X(g)),h=Y(t-u,e-d),p=Y(i-u,n-d),r.arc(d,u,o,h,p,!s)}function s(e){var t,n=le(e.attributes||{}),i=e.style||{},o=ee({},n,{text:e.textContent.replace(/\s+/g," "),textAlign:"middle"===n["text-anchor"]?"center":n["text-anchor"]}),a=n.transform;return a&&(t=a.match(/translate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/),t&&(t=t[0].match(/-*\d+([.]\d+)*/g),o.translateX=te(t[0]),o.translateY=t[1]?te(t[1]):0),t=a.match(/rotate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*,*\s*-*\d+([.]\d+)*)*/),t&&(t=t[0].match(/-*\d+([.]\d+)*/g),o.rotationAngle=te(t[0]),o.rotationX=t[1]&&te(t[1]),o.rotationY=t[2]&&te(t[2]))),d(i,o),o}function r(e,t){var n=t.x,i=t.y,o=t.width,a=t.height,s=t.rx;s?(s=j(s,o/2,a/2),e.save(),e.translate(n,i),e.moveTo(o/2,0),e.arcTo(o,0,o,a,s),e.arcTo(o,a,0,a,s),e.arcTo(0,a,0,0,s),e.arcTo(0,0,s,0,s),e.lineTo(o/2,0),e.restore()):e.rect(t.x,t.y,t.width,t.height)}function l(e,t){var n=H.Deferred(),i=new Image;i.onload=function(){e.save(),e.globalAlpha=t.globalAlpha,b(e,t),C(e,t),e.drawImage(i,t.x,t.y,t.width,t.height),e.restore(),n.resolve()},i.onerror=function(){n.resolve()},P.push(n),i.setAttribute("crossOrigin","anonymous"),i.src=t["xlink:href"]}function c(e,t){var n,i,o=t.split(" "),s=0;do switch(n=te(o[s+1]),i=te(o[s+2]),o[s]){case"M":e.moveTo(n,i),s+=3;break;case"L":e.lineTo(n,i),s+=3;break;case"C":e.bezierCurveTo(n,i,te(o[s+3]),te(o[s+4]),te(o[s+5]),te(o[s+6])),s+=7;break;case"A":a(te(o[s-2]),te(o[s-1]),te(o[s+6]),te(o[s+7]),n,te(o[s+4]),te(o[s+5]),e),s+=8;break;case"Z":e.closePath(),s+=1}while(s<o.length)}function d(e,t){J(e,function(n,i){""!==e[i]&&(t[W(i)]=e[i])}),t.textDecoration=t.textDecoration||t.textDecorationLine,t.globalAlpha=t.opacity||t.globalAlpha}function u(e){var t=e&&e.match(/url\(.*\#(.*?)["']?\)/i);return t&&t[1]}function h(e,t){var n=[];t.fontSize=t.fontSize||ae,t.fontFamily||se,t.fill=t.fill||re,t.fontStyle&&n.push(t.fontStyle),t.fontWeight&&n.push(t.fontWeight),n.push(t.fontSize),n.push(t.fontFamily),e.font=n.join(" "),e.textAlign=t.textAlign,e.fillStyle=t.fill,e.globalAlpha=t.globalAlpha}function p(e,t){h(e,t),t.text&&e.fillText(t.text,t.x||0,t.y||0),T(e,t,!0),f(e,t)}function f(e,t){if(t.textDecoration&&"none"!==t.textDecoration){var n=t.x,i=e.measureText(t.text).width,o=parseInt(t.fontSize,10),a=o*ie<1?1:o*ie,s=t.y;switch(t.textDecoration){case"line-through":s-=o/3+a/2;break;case"overline":s-=o-a;break;case"underline":s+=a}e.rect(n,s,i,a),A(e,t),T(e,t)}}function m(e){O[e.attributes.id.textContent]=e.childNodes[0]}function g(e){V[e.attributes.id.textContent]=e}function _(e){e.strokeOpacity=void 0!==e["stroke-opacity"]?e["stroke-opacity"]:1,e.fillOpacity=void 0!==e["fill-opacity"]?e["fill-opacity"]:1,void 0!==e.opacity&&(e.strokeOpacity*=e.opacity,e.fillOpacity*=e.opacity)}function v(e){for(var t=e.childNodes,n=0;n<t.length;n++)if("tspan"===t[n].tagName)return!0;return!1}function w(e,t,n){for(var i,o=[],a=0,r=0;r<e.length;r++){var l=e[r];if(void 0===l.tagName)x(l,t,n);else if("tspan"===l.tagName||"text"===l.tagName){var c=s(l),d=ee({},n,c);if("tspan"===l.tagName&&v(l)){w(l.childNodes,t,d);continue}d.textAlign="start",i&&void 0===c.x||(i={elements:[],options:[],widths:[],offsets:[]},o.push(i)),void 0!==c.dy&&(a+=Number(c.dy)),i.elements.push(l),i.options.push(d),i.offsets.push(a),h(t,d),i.widths.push(t.measureText(d.text).width)}}o.forEach(function(e){var i=e.widths.reduce(function(e,t){return e+t},0),o=0,a=0;"center"===n.textAlign&&(o=i/2),"end"===n.textAlign&&(o=i),e.options.forEach(function(t,n){var i=e.widths[n];t.x=t.x-o+a,t.y+=e.offsets[n],a+=i}),e.elements.forEach(function(n,i){w(n.childNodes,t,e.options[i])})})}function x(e,t,n){var i=e.tagName,o="text"===i||"tspan"===i||void 0===i,a="image"===i,d=ee({},n,s(e));if("hidden"!==d.visibility){switch(t.save(),!a&&b(t,d),C(t,d),_(d),t.beginPath(),e.tagName){case void 0:p(t,d);break;case"text":case"tspan":w(e.childNodes,t,d);break;case"image":l(t,d);break;case"path":c(t,d.d);break;case"rect":r(t,d),t.closePath();break;case"circle":t.arc(d.cx,d.cy,d.r,0,2*G,1)}y(t,d),o||(A(t,d),T(t,d)),t.restore()}}function y(e,t){var n,i=u(t.filter);i&&(n=F&&F[i],n||(n={offsetX:0,offsetY:0,blur:0,color:"#000"}),e.shadowOffsetX=n.offsetX,e.shadowOffsetY=n.offsetY,e.shadowColor=n.color,e.shadowBlur=n.blur)}function b(e,t){e.translate(t.translateX||0,t.translateY||0),delete t.translateX,delete t.translateY,t.rotationAngle&&(e.translate(t.rotationX||0,t.rotationY||0),e.rotate(t.rotationAngle*G/180),e.translate(-(t.rotationX||0),-(t.rotationY||0)),delete t.rotationAngle,delete t.rotationX,delete t.rotationY)}function C(e,t){t["clip-path"]&&(x(O[u(t["clip-path"])],e,{}),e.clip(),delete t["clip-path"])}function k(e,t){var n=new L(e);return"rgba("+n.r+","+n.g+","+n.b+","+t+")"}function I(e){var t,n,i={};J(e.childNodes,function(e,o){var a=o.attributes;if(a.result)switch(a.result.value){case"gaussianBlurResult":a.stdDeviation&&(i.blur=te(a.stdDeviation.value));break;case"offsetResult":i.offsetX=te(a.dx.value),i.offsetY=te(a.dy.value);break;case"floodResult":t=a["flood-color"]?a["flood-color"].value:"#000",n=a["flood-opacity"]?a["flood-opacity"].value:1,i.color=k(t,n)}}),F[e.id]=i}function S(e,t,n){var i;J(e,function(e,o){switch(o.tagName&&o.tagName.toLowerCase()){case"g":i=ee({},n,s(o)),t.save(),b(t,i),C(t,i),S(o.childNodes,t,i),t.restore();break;case"defs":O={},V={},F={},S(o.childNodes,t);break;case"clippath":m(o);break;case"pattern":g(o);break;case"filter":I(o);break;default:x(o,t,n)}})}function D(e,t){var n=t["stroke-dasharray"]&&t["stroke-dasharray"].match(/(\d+)/g);n&&n.length&&e.setLineDash&&(n=H.map(n,function(e){return te(e)}),e.setLineDash(n))}function T(e,t,n){var i=t.stroke;i&&"none"!==i&&0!==t["stroke-width"]&&(D(e,t),e.lineJoin=t["stroke-linejoin"],e.lineWidth=t["stroke-width"],e.globalAlpha=t.strokeOpacity,e.strokeStyle=i,n?e.strokeText(t.text,t.x,t.y):e.stroke())}function E(e,t){var n=V[u(t)],o=s(n),a=i(o.width,o.height,!0),r=a.getContext("2d");return S(n.childNodes,r,o),e.createPattern(a,"repeat")}function A(e,t){var n=t.fill;n&&"none"!==n&&(e.fillStyle=n.search(/url/)===-1?n:E(e,n),e.globalAlpha=t.fillOpacity,e.fill())}function B(e,t,n,i){e.fillStyle=i||"#ffffff",e.fillRect(-oe.x,-oe.y,t+2*oe.x,n+2*oe.y)}function M(e,t,n,o){var a=i(t,n),s=a.getContext("2d"),r=new DOMParser,l=r.parseFromString(e,"image/svg+xml"),c=l.childNodes[0];return s.translate(oe.x,oe.y),P=[],document.getElementById('mw-content-text').appendChild(a),c.attributes.direction&&(a.dir=c.attributes.direction.textContent),B(s,t,n,o),S(c.childNodes,s,{}),document.body.removeChild(a),a}function R(e,t,n){$.apply(H,P).done(function(){var i=o(t,n);e.resolve(i)})}var O,P,V,F,H=n(9),L=n(38),z=n(14),N=n(11).extend,W=n(39).camelize,$=n(16).when,q=Math,G=q.PI,j=q.min,K=q.abs,U=q.sqrt,Q=q.pow,Y=q.atan2,Z=q.cos,X=q.sin,J=H.each,ee=N,te=Number,ne=1,ie=.05,oe={x:30,y:20},ae="10px",se="sans-serif",re="#000",le=function(e){var t,n={};return H.each(e,function(e,i){t=i.textContent,isFinite(t)&&(t=te(t)),n[i.name.toLowerCase()]=t}),n};t.imageCreator={getImageData:function(e,t){var n="image/"+t.format,i=H.Deferred(),o=t.width,a=t.height,s=t.backgroundColor;return z.isFunction(t.__parseAttributesFn)&&(le=t.__parseAttributesFn),R(i,M(e,o,a,s),n),i},getData:function(e,n){var i=this,o=t.imageCreator.getImageData(e,n),a="image/"+n.format,s=H.Deferred();return $(o).done(function(e){o=z.isFunction(window.Blob)?i._getBlob(e,a):i._getBase64(e),s.resolve(o)}),s},_getBlob:function(e,t){var n,i=new Uint8Array(e.length);for(n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return new Blob([i.buffer],{type:t})},_getBase64:function(e){return window.btoa(e)}},t.getData=function(e,n,i){t.imageCreator.getData(e,n).done(i)}},function(e,t){function n(e){this.baseColor=e;var t;e&&(t=String(e).toLowerCase().replace(/ /g,""),t=g[t]?"#"+g[t]:t,t=i(t)),t||(this.colorIsInvalid=!0),t=t||{},this.r=o(t[0]),this.g=o(t[1]),this.b=o(t[2]),this.a=o(t[3],1,1),t[4]?this.hsv={h:t[4][0],s:t[4][1],v:t[4][2]}:this.hsv=s(this.r,this.g,this.b),t[5]?this.hsl={h:t[5][0],s:t[5][1],l:t[5][2]}:this.hsl=c(this.r,this.g,this.b); | ||
}function i(e){if("transparent"===e)return[0,0,0,0];for(var t,n=0,i=_.length;n<i;++n)if(t=_[n].re.exec(e))return _[n].process(t);return null}function o(e,t,n){return t=t||0,n=n||255,e<0||isNaN(e)?t:e>n?n:e}function a(e,t,n){return"#"+(16777216|e<<16|t<<8|n).toString(16).slice(1)}function s(e,t,n){var i,o,a,s=Math.max(e,t,n),r=Math.min(e,t,n),l=s-r;if(a=s,o=0===s?0:1-r/s,s===r)i=0;else switch(s){case e:i=60*((t-n)/l),t<n&&(i+=360);break;case t:i=60*((n-e)/l)+120;break;case n:i=60*((e-t)/l)+240}return o*=100,a*=100/255,{h:Math.round(i),s:Math.round(o),v:Math.round(a)}}function r(e,t,n){var i,o,a,s,r,l,c,d;switch(s=Math.floor(e%360/60),a=(100-t)*n/100,r=(n-a)*(e%60/60),o=a+r,i=n-r,s){case 0:l=n,c=o,d=a;break;case 1:l=i,c=n,d=a;break;case 2:l=a,c=n,d=o;break;case 3:l=a,c=i,d=n;break;case 4:l=o,c=a,d=n;break;case 5:l=n,c=a,d=i}return[Math.round(2.55*l),Math.round(2.55*c),Math.round(2.55*d)]}function l(e,t,n,i){var o=Math.max(e,t,n);switch(o){case e:return(t-n)/i+(t<n?6:0);case t:return(n-e)/i+2;case n:return(e-t)/i+4}}function c(e,t,n){e=f(e,255),t=f(t,255),n=f(n,255);var i,o,a=Math.max(e,t,n),s=Math.min(e,t,n),r=a+s,c=r/2;if(a===s)i=o=0;else{var d=a-s;o=c>.5?d/(2-r):d/r,i=l(e,t,n,d),i/=6}return{h:v(360*i),s:v(100*o),l:v(100*c)}}function d(e,t){var n=t;return"r"===e&&(n=t+1/3),"b"===e&&(n=t-1/3),n}function u(e){return e<0&&(e+=1),e>1&&(e-=1),e}function h(e,t,n){return n=u(n),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function p(e,t,n){var i,o,a;if(e=f(e,360),t=f(t,100),n=f(n,100),0===t)i=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,r=2*n-s;i=h(r,s,d("r",e)),o=h(r,s,d("g",e)),a=h(r,s,d("b",e))}return[v(255*i),v(255*o),v(255*a)]}function f(e,t){return e=Math.min(t,Math.max(0,parseFloat(e))),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function m(e,t,n){return t=t||0,n=n||255,!(e%1!==0||e<t||e>n||"number"!=typeof e||isNaN(e))}var g={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",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"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",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"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",rebeccapurple:"663399",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",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},_=[{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:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*\.*\d+)\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])]}},{re:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/,process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^#([a-f0-9]{1})([a-f0-9]{1})([a-f0-9]{1})$/,process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/^hsv\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){var t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=r(t,n,i);return[o[0],o[1],o[2],1,[t,n,i]]}},{re:/^hsl\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){var t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=p(t,n,i);return[o[0],o[1],o[2],1,null,[t,n,i]]}}],v=Math.round;n.prototype={constructor:n,highlight:function(e){return e=e||10,this.alter(e).toHex()},darken:function(e){return e=e||10,this.alter(-e).toHex()},alter:function(e){var t=new n;return t.r=o(this.r+e),t.g=o(this.g+e),t.b=o(this.b+e),t},blend:function(e,t){var i=e instanceof n?e:new n(e),a=new n;return a.r=o(v(this.r*(1-t)+i.r*t)),a.g=o(v(this.g*(1-t)+i.g*t)),a.b=o(v(this.b*(1-t)+i.b*t)),a},toHex:function(){return a(this.r,this.g,this.b)},getPureColor:function(){var e=r(this.hsv.h,100,100);return new n("rgb("+e.join(",")+")")},isValidHex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},isValidRGB:function(e,t,n){return!!(m(e)&&m(t)&&m(n))},isValidAlpha:function(e){return!(isNaN(e)||e<0||e>1||"number"!=typeof e)},colorIsInvalid:!1},e.exports=n},function(e,t,n){var i=n(9),o=function(e){return void 0===e||null===e?"":String(e)},a=function(e){return o(e).charAt(0).toUpperCase()+e.substr(1)},s=function(e){return o(e).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},r=function(e){return i.map(s(e),function(e){return e.toLowerCase()}).join("-")},l=function(e){return r(e).replace(/-/g,"_")},c=function(e,t){return i.map(s(e),function(e,n){return e=e.toLowerCase(),(t||n>0)&&(e=a(e)),e}).join("")},d=function(e){return a(r(e).replace(/-/g," "))},u=function(e){return i.map(s(e),function(e){return a(e.toLowerCase())}).join(" ")},h=function(e){var t,n,i=[],o=!1,a=!1;for(t=0;t<e.length;t++)n=e.charAt(t),a=n===n.toUpperCase()||n in["0","1","2","3","4","5","6","7","8","9"],"_"===n||"."===n?(n=" ",a=!0):0===t?(n=n.toUpperCase(),a=!0):!o&&a&&i.length>0&&i.push(" "),i.push(n),o=a;return i.join("")};t.dasherize=r,t.camelize=c,t.humanize=d,t.titleize=u,t.underscore=l,t.captionize=h},function(e,t,n){var i=n(9),o=n(19),a=n(37).imageCreator,s=n(14).isFunction,r=n(11).extend,l=n(16).when,c="%PDF-1.3\r\n2 0 obj\r\n<</ProcSet[/PDF/ImageB/ImageC/ImageI]/XObject<</I0 5 0 R>>>>\r\nendobj\r\n4 0 obj\r\n<</Type/Pages/Kids[1 0 R]/Count 1>>\r\nendobj\r\n7 0 obj\r\n<</OpenAction[1 0 R /FitH null]/Type/Catalog/Pages 4 0 R/PageLayout/OneColumn>>\r\nendobj\r\n1 0 obj\r\n<</Type/Page/Resources 2 0 R/MediaBox[0 0 _width_ _height_]/Contents 3 0 R/Parent 4 0 R>>\r\nendobj\r\n",d="3 0 obj\r\n<</Length 52>>stream\r\n0.20 w\n0 G\nq _width_ 0 0 _height_ 0.00 0.00 cm /I0 Do Q\r\nendstream\r\nendobj\r\n",u="6 0 obj\r\n<</CreationDate _date_/Producer(DevExtreme _version_)>>\r\nendobj\r\n",h="5 0 obj\r\n<</Type/XObject/Subtype/Image/Width _width_/Height _height_/ColorSpace/DeviceRGB/BitsPerComponent 8/Filter/DCTDecode/Length _length_>>stream\r\n",p="\r\nendstream\r\nendobj\r\n",f="trailer\r\n<<\r\n/Size 8\r\n/Root 7 0 R\r\n/Info 6 0 R\r\n>>\r\nstartxref\r\n_length_\r\n%%EOF",m="xref\r\n0 8\r\n0000000000 65535 f\r\n0000000241 00000 n\r\n0000000010 00000 n\r\n_main_ 00000 n\r\n0000000089 00000 n\r\n_image_ 00000 n\r\n_info_ 00000 n\r\n0000000143 00000 n\r\n",g=60,_=40,v=function(e,t){return e.length<t?v("0"+e,t):e},w=function(e,t,n){var i=t.width+g,a=t.height+_,s=(.75*i).toFixed(2),r=(.75*a).toFixed(2),l=c.replace("_width_",s).replace("_height_",r),m=d.replace("_width_",s).replace("_height_",r),v=u.replace("_date_",n).replace("_version_",o),w=h.replace("_width_",i).replace("_height_",a).replace("_length_",e.length)+e+p,y=x(l.length,m.length,v.length),b=l+m+v+w,C=f.replace("_length_",b.length);return b+y+C},x=function(e,t,n){return m.replace("_main_",v(e+"",10)).replace("_info_",v(e+t+"",10)).replace("_image_",v(e+t+n+"",10))},y=function(){return new Date},b=function(e){for(var t=0,n=new Uint8Array(e.length);t<e.length;t++)n[t]=e.charCodeAt(t);return new Blob([n.buffer],{type:"application/pdf"})},C=function(e){return window.btoa(e)};t.getData=function(e,t,n){var o=a.getImageData(e,r({},t,{format:"jpeg"})),c=i.Deferred();c.done(n),l(o).done(function(e){var n=w(e,t,y()),i=s(window.Blob)?b(n):C(n);c.resolve(i)})}},function(e,t,n){var i=n(9),o=n(14),a=n(42).getSvgMarkup,s=n(16).when;t.svgCreator={_markup:"",_imageArray:{},_imageDeferreds:[],_getBinaryFile:function(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){n.readyState===n.DONE&&t(200===n.status&&n.response?n.response:!1)},n.open("GET",e,!0),n.responseType="arraybuffer",n.send()},_loadImages:function(){var e=this;i.each(e._imageArray,function(t){var n=new i.Deferred;e._imageDeferreds.push(n),e._getBinaryFile(t,function(i){if(!i)return delete e._imageArray[t],void n.resolve();var o,a="",s=new Uint8Array(i),r=s.byteLength;for(o=0;o<r;o++)a+=String.fromCharCode(s[o]);e._imageArray[t]="data:image/png;base64,"+btoa(a),n.resolve()})})},_parseImages:function(e){var t,n=this;"image"===e.tagName&&(t=i(e).attr("xlink:href"),n._imageArray[t]||(n._imageArray[t]="")),i.each(e.childNodes,function(e,t){n._parseImages(t)})},_prepareImages:function(e){return this._parseImages(e),this._loadImages(),s.apply(i,this._imageDeferreds)},getData:function(e,t){var n,s=this,r='<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>',l=i.Deferred(),c=new DOMParser,d=c.parseFromString(e,"image/svg+xml"),u=d.childNodes[0],h=i(u);return h.css("background-color",t.backgroundColor),n=r+a(h.get(0)),s._prepareImages(u).done(function(){i.each(s._imageArray,function(e,t){n=n.split(e).join(t)}),l.resolve(o.isFunction(window.Blob)?s._getBlob(n):s._getBase64(n))}),l},_getBlob:function(e){return new Blob([e],{type:"image/svg+xml"})},_getBase64:function(e){return window.btoa(e)}},t.getData=function(e,n,i){t.svgCreator.getData(e,n).done(i)}},function(e,t){function n(e){var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function i(e){var t=!0;return e=e.replace(/xmlns="[\s\S]*?"/gi,function(e){return t?(t=!1,e):""}),e.replace(/xmlns:NS1="[\s\S]*?"/gi,"").replace(/NS1:xmlns:xlink="([\s\S]*?)"/gi,'xmlns:xlink="$1"')}function o(e){return e.replace(/"/gi,""").replace(/&/gi,"&").replace(/'/gi,"'").replace(/</gi,"<").replace(/>/gi,">").replace(/ /gi," ").replace(/­/gi,"­")}t.getSvgMarkup=function(e){return i(o(n(e)))}},function(e,t,n){var i=n(9),o=n(11).extend,a=n(15),s=n(7),r=n(44).resizeCallbacks,l=n(14),c=n(26).inArray,d=n(45),u=n(48),h=u.abstract,p="dx-rtl",f="dx-visibility-change-handler",m="VisibilityChange",g=u.inherit({_getDefaultOptions:function(){return o(this.callBase(),{width:void 0,height:void 0,rtlEnabled:a().rtlEnabled,elementAttr:{},disabled:!1,integrationOptions:{}})},ctor:function(e,t){this._$element=i(e),d.attachInstanceToElement(this._$element,this,this._dispose),this.callBase(t)},_visibilityChanged:h,_dimensionChanged:h,_init:function(){this.callBase(),this._attachWindowResizeCallback()},_setOptionsByDevice:function(e){this.callBase([].concat(this.constructor._classCustomRules||[],e||[]))},_isInitialOptionValue:function(e){var t=this.constructor._classCustomRules&&this._convertRulesToOptions(this.constructor._classCustomRules).hasOwnProperty(e);return!t&&this.callBase(e)},_attachWindowResizeCallback:function(){if(this._isDimensionChangeSupported()){var e=this._windowResizeCallBack=this._dimensionChanged.bind(this);r.add(e)}},_isDimensionChangeSupported:function(){return this._dimensionChanged!==h},_render:function(){this._renderElementAttributes(),this._toggleRTLDirection(this.option("rtlEnabled")),this._renderVisibilityChange(),this._renderDimensions()},_renderElementAttributes:function(){var e=o({},this.option("elementAttr")),t=e.class;delete e.class,this.element().attr(e).addClass(t)},_renderVisibilityChange:function(){this._isDimensionChangeSupported()&&this._attachDimensionChangeHandlers(),this._isVisibilityChangeSupported()&&(this.element().addClass(f),this._attachVisibilityChangeHandlers())},_renderDimensions:function(){var e=this.option("width"),t=this.option("height"),n=this.element();n.outerWidth(e),n.outerHeight(t)},_attachDimensionChangeHandlers:function(){var e=this,t="dxresize."+this.NAME+m;e.element().off(t).on(t,function(){e._dimensionChanged()})},_attachVisibilityChangeHandlers:function(){var e=this,t="dxhiding."+this.NAME+m,n="dxshown."+this.NAME+m;e._isHidden=!e._isVisible(),e.element().off(t).on(t,function(){e._checkVisibilityChanged("hiding")}).off(n).on(n,function(){e._checkVisibilityChanged("shown")})},_isVisible:function(){return this.element().is(":visible")},_checkVisibilityChanged:function(e){"hiding"===e&&this._isVisible()&&!this._isHidden?(this._visibilityChanged(!1),this._isHidden=!0):"shown"===e&&this._isVisible()&&this._isHidden&&(this._isHidden=!1,this._visibilityChanged(!0))},_isVisibilityChangeSupported:function(){return this._visibilityChanged!==h},_clean:l.noop,_modelByElement:function(){var e=this.option("modelByElement")||l.noop;return e(this.element())},_invalidate:function(){if(!this._updateLockCount)throw s.Error("E0007");this._requireRefresh=!0},_refresh:function(){this._clean(),this._render()},_dispose:function(){this.callBase(),this._clean(),this._detachWindowResizeCallback()},_detachWindowResizeCallback:function(){this._isDimensionChangeSupported()&&r.remove(this._windowResizeCallBack)},_toggleRTLDirection:function(e){this.element().toggleClass(p,e)},_createComponent:function(e,t,n){var a=this;n=n||{};var s=l.grep(["rtlEnabled","disabled"],function(e){return!(e in n)}),r=a.option("nestedComponentOptions")||l.noop;a._extendConfig(n,o({integrationOptions:this.option("integrationOptions"),rtlEnabled:this.option("rtlEnabled"),disabled:this.option("disabled")},r(this)));var d;if(l.isString(t)){var u=i(e)[t](n);d=u[t]("instance")}else e&&(d=t.getInstance(e),d?d.option(n):d=new t(e,n));if(d){var h=function(e){c(e.name,s)>=0&&d.option(e.name,e.value)};a.on("optionChanged",h),d.on("disposing",function(){a.off("optionChanged",h)})}return d},_extendConfig:function(e,t){i.each(t,function(t,n){e[t]=e.hasOwnProperty(t)?e[t]:n})},_defaultActionConfig:function(){return o(this.callBase(),{context:this._modelByElement(this.element())})},_defaultActionArgs:function(){var e=this.element(),t=this._modelByElement(this.element());return o(this.callBase(),{element:e,model:t})},_optionChanged:function(e){switch(e.name){case"width":case"height":this._renderDimensions();break;case"rtlEnabled":case"elementAttr":this._invalidate();break;case"disabled":case"integrationOptions":break;default:this.callBase(e)}},endUpdate:function(){var e=!this._initializing&&!this._initialized;this.callBase.apply(this,arguments),this._updateLockCount||(e?this._render():this._requireRefresh&&(this._requireRefresh=!1,this._refresh()))},element:function(){return this._$element}});g.getInstance=function(e){return d.getInstanceByElement(i(e),this)},g.defaultOptions=function(e){this._classCustomRules=this._classCustomRules||[],this._classCustomRules.push(e)},e.exports=g},function(e,t,n){var i=n(9),o=function(){var e,t=i.Callbacks(),n=i(window),o=!1,a=t.add,s=t.remove,r=function(){return{width:n.width(),height:n.height()}},l=function(){var n=r();if(n.width!==e.width||n.height!==e.height){var i;n.width===e.width&&(i="height"),n.height===e.height&&(i="width"),e=n,setTimeout(function(){t.fire(i)})}};return e=r(),t.add=function(){var e=a.apply(t,arguments);return!o&&t.has()&&(n.on("resize",l),o=!0),e},t.remove=function(){var e=s.apply(t,arguments);return!t.has()&&o&&(n.off("resize",l),o=!1),e},t}(),a=function(e){return e<768?"xs":e<992?"sm":e<1200?"md":"lg"},s=function(e){var t=e||a;return t(i(window).width())};t.resizeCallbacks=o,t.defaultScreenFactorFunc=a,t.getCurrentScreenFactor=s},function(e,t,n){var i=n(9),o=n(46),a=n(14),s=n(47),r="dxComponents",l="dxPrivateComponent",c=new o,d=0,u=t.name=function(e,t){if(a.isDefined(t))return void c.set(e,t);if(!c.has(e)){var n=l+d++;return c.set(e,n),n}return c.get(e)};t.attachInstanceToElement=function(e,t,n){var o=i.data(e.get(0)),a=u(t.constructor);o[a]=t,n&&e.one(s,function(){n.call(t)}),o[r]||(o[r]=[]),o[r].push(a)},t.getInstanceByElement=function(e,t){var n=u(t);return i.data(e.get(0),n)}},function(e,t,n){var i=n(26).inArray,o=window.WeakMap;o||(o=function(){var e=[],t=[];this.set=function(n,o){var a=i(n,e);a===-1?(e.push(n),t.push(o)):t[a]=o},this.get=function(n){var o=i(n,e);if(o!==-1)return t[o]},this.has=function(t){var n=i(t,e);return n!==-1}}),e.exports=o},function(e,t,n){var i=n(9),o=n(10),a=o.cleanData,s=i.event.special,r="dxremove",l="dxRemoveEvent";o.cleanData=function(e){e=[].slice.call(e);for(var t=0;t<e.length;t++){var n=i(e[t]);n.prop(l)&&(n.removeProp(l),n.triggerHandler(r))}return a(e)},s[r]={noBubble:!0,setup:function(){i(this).prop(l,!0)}},e.exports=r},function(e,t,n){var i=n(9),o=n(15),a=n(11).extend,s=n(25),r=n(49),l=n(7),c=n(50),d=n(14),u=n(12),h=n(51),p=n(45),f=n(53),m=d.isFunction,g=d.noop,_={},v={},w=s.inherit({_setDeprecatedOptions:function(){this._deprecatedOptions={}},_getDeprecatedOptions:function(){return this._deprecatedOptions},_getOptionAliasesByName:function(e){return i.map(this._deprecatedOptions,function(t,n){return e===t.alias?n:void 0})},_getDefaultOptions:function(){return{onInitialized:null,onOptionChanged:null,onDisposing:null,defaultOptionsRules:null}},_setDefaultOptions:function(){this._options=this._getDefaultOptions()},_defaultOptionsRules:function(){return[]},_setOptionsByDevice:function(e){var t=this._defaultOptionsRules();Array.isArray(e)&&(t=t.concat(e));var n=this._convertRulesToOptions(t);a(!0,this._options,n);for(var i in this._optionsByReference)n.hasOwnProperty(i)&&(this._options[i]=n[i])},_convertRulesToOptions:function(e){for(var t={},n=f.current(),o=function(e,t){return t=i.makeArray(t),1===t.length&&u.isEmptyObject(t[0])||d.findBestMatches(e,t).length>0},s=0;s<e.length;s++){var r,l=e[s],c=l.device||{};r=m(c)?c(n):o(n,c),r&&a(t,l.options)}return t},_isInitialOptionValue:function(e){var t=this.option(e),n=this.initialOption(e),i=m(t)&&m(n)?t.toString()===n.toString():d.equalByValue(t,n);return i},_setOptionsByReference:function(){this._optionsByReference={}},_getOptionsByReference:function(){return this._optionsByReference},ctor:function(e){this.NAME=p.name(this.constructor),e=e||{},e.eventsStrategy&&this.setEventsStrategy(e.eventsStrategy),this._options={},this._updateLockCount=0,this._optionChangedCallbacks=e._optionChangedCallbacks||i.Callbacks(),this._disposingCallbacks=e._disposingCallbacks||i.Callbacks(),this.beginUpdate();try{this._suppressDeprecatedWarnings(),this._setOptionsByReference(),this._setDeprecatedOptions(),this._setDefaultOptions(),e&&e.onInitializing&&e.onInitializing.apply(this,[e]),this._setOptionsByDevice(e.defaultOptionsRules),this._resumeDeprecatedWarnings(),this._initOptions(e)}finally{this.endUpdate()}},_initOptions:function(e){this.option(e)},_optionValuesEqual:function(e,t,n){if(t=c.toComparable(t,!0),n=c.toComparable(n,!0),t&&n&&t.jquery&&n.jquery)return n.is(t);var i=t!==t,o=n!==n;return!(!i||!o)||(null===t||"object"!=typeof t)&&t===n},_init:function(){this._createOptionChangedAction(),this.on("disposing",function(e){this._disposingCallbacks.fireWith(this,[e])}.bind(this))},_createOptionChangedAction:function(){this._optionChangedAction=this._createActionByOption("onOptionChanged",{excludeValidators:["disabled","readOnly","designMode"]})},_createDisposingAction:function(){this._disposingAction=this._createActionByOption("onDisposing",{excludeValidators:["disabled","readOnly","designMode"]})},_optionChanged:function(e){switch(e.name){case"onDisposing":case"onInitialized":break;case"onOptionChanged":this._createOptionChangedAction();break;case"defaultOptionsRules":}},_dispose:function(){this._optionChangedCallbacks.empty(),this._createDisposingAction(),this._disposingAction(),this._disposeEvents(),this._disposed=!0},instance:function(){return this},beginUpdate:function(){this._updateLockCount++},endUpdate:function(){if(this._updateLockCount=Math.max(this._updateLockCount-1,0),!this._updateLockCount&&!this._initializing&&!this._initialized){this._initializing=!0;try{this._init()}finally{this._initializing=!1,this._updateLockCount++,this._createActionByOption("onInitialized",{excludeValidators:["disabled","readOnly","designMode"]})(),this._updateLockCount--,this._initialized=!0}}},_logWarningIfDeprecated:function(e){var t=this._deprecatedOptions[e];t&&!this._deprecatedOptionsSuppressed&&this._logDeprecatedWarning(e,t)},_logDeprecatedWarningCount:0,_logDeprecatedWarning:function(e,t){var n=t.message||"Use the '"+t.alias+"' option instead";l.log("W0001",this.NAME,e,t.since,n),++this._logDeprecatedWarningCount},_suppressDeprecatedWarnings:function(){this._deprecatedOptionsSuppressed=!0},_resumeDeprecatedWarnings:function(){this._deprecatedOptionsSuppressed=!1},_optionChanging:g,_notifyOptionChanged:function(e,t,n){var i=this;if(this._initialized)for(var o=[e].concat(i._getOptionAliasesByName(e)),s=0;s<o.length;s++){var r=o[s],l={name:r.split(/[.\[]/)[0],fullName:r,value:t,previousValue:n};i._optionChangedCallbacks.fireWith(i,[a(i._defaultActionArgs(),l)]),i._optionChangedAction(a({},l)),i._disposed||i._optionChanged(l)}},initialOption:function(e){var t,n=this._initialized;return this._initialOptions||(t=this._options,this._options={},this._initialized=!1,this._setDefaultOptions(),this._setOptionsByDevice(t.defaultOptionsRules),this._initialOptions=this._options,this._options=t,this._initialized=n),this._initialOptions[e]},_defaultActionConfig:function(){return{context:this,component:this}},_defaultActionArgs:function(){return{component:this}},_createAction:function(e,t){var n,i=this;return function(o){return arguments.length||(o={}),u.isPlainObject(o)||(o={actionValue:o}),n=n||new r(e,a(t,i._defaultActionConfig())),n.execute.call(n,a(o,i._defaultActionArgs()))}},_createActionByOption:function(e,t){var n,i,a,s=this,r=function(){if(!i){if(t=t||{},"string"!=typeof e)throw l.Error("E0008");0===e.indexOf("on")&&(i=s._getEventName(e)),a=s.option(e)}if(n||a||t.beforeExecute||t.afterExecute||s.hasEvent(i)){if(!n){var r=t.beforeExecute;t.beforeExecute=function(e){s.fireEvent(i,e.args),r&&r.apply(s,arguments)},s._suppressDeprecatedWarnings(),n=s._createAction(a,t),s._resumeDeprecatedWarnings()}if(o().wrapActionsBeforeExecute){var c=s.option("beforeActionExecute")||g;n=c(s,n,t)||n}return n.apply(s,arguments)}};if(!o().wrapActionsBeforeExecute){var c=s.option("onActionCreated")||g;r=c(s,r,t)||r}return r},_getEventName:function(e){return e.charAt(2).toLowerCase()+e.substr(3)},hasActionSubscription:function(e){return!!this.option(e)||this.hasEvent(this._getEventName(e))},isOptionDeprecated:function(e){var t=this._getDeprecatedOptions();return t.hasOwnProperty(e)},option:function(){var e=function(e,t){var n;if(t){if(!e._cachedDeprecateNames){e._cachedDeprecateNames=[];for(var i in e._deprecatedOptions)e._cachedDeprecateNames.push(i)}for(var o=0;o<e._cachedDeprecateNames.length;o++)if(e._cachedDeprecateNames[o]===t){n=e._deprecatedOptions[t];break}if(n){e._logWarningIfDeprecated(t);var a=n.alias;a&&(t=a)}}return t},t=function(e){var t=e.split(".");return t.pop(),t.join(".")},n=function(e){var t=e.split(".");return t[t.length-1]},i=function(e,t,n){var i=_[t];return i||(i=_[t]=c.compileGetter(t)),i(e,{functionsAsIs:!0,unwrapObservables:n})},o=function(e,o){delete e[o];var a=t(o),s=n(o),r=a?i(e,a,!1):e;r&&delete r[s]},a=function(e,o,a){var s,r="";do r&&(r="."+r),r=n(o)+r,o=t(o),s=o?i(e,o,!1):e;while(!s);s[r]=a},s=function(t,n,i,s){if(i){var r=e(t,i);r&&r!==i&&(a(n,r,s),o(n,i))}},r=function(e,t,n,i){if(u.isPlainObject(i))for(var o in i)r(e,t,n+"."+o,i[o]);s(e,t,n,i)},l=function(e,t,n){v[t]||(v[t]=c.compileSetter(t));var i=t.split(/[.\[]/);v[t](e._options,n,{functionsAsIs:!0,merge:!e._getOptionsByReference()[t],unwrapObservables:i.length>1&&!!e._getOptionsByReference()[i[0]]})},h=function(e,t,n){var o=i(e._options,t,!1);e._optionValuesEqual(t,o,n)||(e._initialized&&e._optionChanging(t,o,n),l(e,t,n),e._notifyOptionChanged(t,n,o))};return function(t,n){var o=this,a=t;if(arguments.length<2&&"object"!==d.type(a))return a=e(o,a),i(o._options,a);"string"==typeof a&&(t={},t[a]=n),o.beginUpdate();try{var s;for(s in t)r(o,t,s,t[s]);for(s in t)h(o,s,t[s])}finally{o.endUpdate()}}}()}).include(h);e.exports=w},function(e,t,n){var i=n(9),o=n(15),a=n(14),s=n(12),r=n(25),l=r.inherit({ctor:function(e,t){t=t||{},this._action=e,this._context=t.context||window,this._beforeExecute=t.beforeExecute,this._afterExecute=t.afterExecute,this._component=t.component,this._validatingTargetName=t.validatingTargetName;var n=this._excludeValidators={};if(t.excludeValidators)for(var i=0;i<t.excludeValidators.length;i++)n[t.excludeValidators[i]]=!0},execute:function(){var e={action:this._action,args:Array.prototype.slice.call(arguments),context:this._context,component:this._component,validatingTargetName:this._validatingTargetName,cancel:!1,handled:!1},t=this._beforeExecute,n=this._afterExecute;if(this._validateAction(e)&&(t&&t.call(this._context,e),!e.cancel)){var i=this._executeAction(e),o=e.args[0];if(!o||!o.cancel)return n&&n.call(this._context,e),i}},_validateAction:function(e){var t=this._excludeValidators,n=l.executors;for(var i in n)if(!t[i]){var o=n[i];if(o.validate&&o.validate(e),e.cancel)return!1}return!0},_executeAction:function(e){var t,n=l.executors;for(var i in n){var o=n[i];if(o.execute&&o.execute(e),e.handled){t=e.result;break}}return t}});l.executors={},l.registerExecutor=function(e,t){return s.isPlainObject(e)?void i.each(e,l.registerExecutor):void(l.executors[e]=t)},l.unregisterExecutor=function(){var e=i.makeArray(arguments);i.each(e,function(){delete l.executors[this]})},l.registerExecutor({undefined:{execute:function(e){e.action||(e.result=void 0,e.handled=!0)}},func:{execute:function(e){a.isFunction(e.action)&&(e.result=e.action.call(e.context,e.args[0]),e.handled=!0)}}});var c=function(e){return function(t){if(t.args.length){var n=t.args[0],i=n[t.validatingTargetName]||n.element;i&&e(i)&&(t.cancel=!0)}}};l.registerExecutor({designMode:{validate:function(e){o().designMode&&(e.cancel=!0)}},disabled:{validate:c(function(e){return e.is(".dx-state-disabled, .dx-state-disabled *")})},readOnly:{validate:c(function(e){return e.is(".dx-state-readonly, .dx-state-readonly *")})}}),e.exports=l},function(e,t,n){var i=n(9),o=n(7),a=n(25),s=n(27),r=n(14),l=n(12),c=n(28),d=c.unwrap,u=c.isWrapped,h=c.assign,p=function(e){return e.replace(/\[/g,".").replace(/\]/g,"")},f=function(e,t){return"this"===t?e:e[t]},m=function(e,t,n,i){if("this"===t)throw new o.Error("E4016");var a=e[t];i.unwrapObservables&&u(a)?h(a,n):e[t]=n},g=function(e){return e=e||{},e.unwrapObservables=void 0===e.unwrapObservables||e.unwrapObservables,e},_=function(e,t){return t.unwrapObservables?d(e):e},v=function(e){if(arguments.length>1&&(e=i.makeArray(arguments)),!e||"this"===e)return function(e){return e};if("string"==typeof e){e=p(e);var t=e.split(".");return function(e,n){n=g(n);for(var i=n.functionsAsIs,o=_(e,n),a=0;a<t.length&&o;a++){var s=_(o[t[a]],n);!i&&r.isFunction(s)&&(s=s.call(o)),o=s}return o}}return Array.isArray(e)?w(e):r.isFunction(e)?e:void 0},w=function(e){for(var t={},n=0,o=e.length;n<o;n++){var a=e[n];t[a]=v(a)}return function(e,n){var o;return i.each(t,function(t){var i,a,s,r,l=this(e,n);if(void 0!==l){for(i=o||(o={}),a=t.split("."),s=a.length-1,r=0;r<s;r++)i=i[a[r]]={};i[a[r]]=l}}),o}},x=function(e){e=e||"this",e=p(e);var t=e.lastIndexOf("."),n=v(e.substr(0,t)),o=e.substr(1+t);return function(e,t,a){a=g(a);var c=n(e,{functionsAsIs:a.functionsAsIs,unwrapObservables:a.unwrapObservables}),d=f(c,o);a.functionsAsIs||!r.isFunction(d)||u(d)?(d=_(d,a),!a.merge||!l.isPlainObject(t)||void 0!==d&&!l.isPlainObject(d)||t instanceof i.Event?m(c,o,t,a):(d||m(c,o,{},a),c=_(f(c,o),a),s.deepExtendArraySafe(c,t,!1,!0))):c[o](t)}},y=function(e,t){return e instanceof Date?e.getTime():e&&e instanceof a&&e.valueOf?e.valueOf():t||"string"!=typeof e?e:e.toLowerCase()};t.compileGetter=v,t.compileSetter=x,t.toComparable=y},function(e,t,n){var i=n(9),o=n(52),a=n(12).isPlainObject;e.exports={ctor:function(){this._events={},this.setEventsStrategy(new o(this))},setEventsStrategy:function(e){this._eventsStrategy=e},hasEvent:function(e){return this._eventsStrategy.hasEvent(e)},fireEvent:function(e,t){return this._eventsStrategy.fireEvent(e,t),this},on:function(e,t){return a(e)?i.each(e,function(e,t){this.on(e,t)}.bind(this)):this._eventsStrategy.on(e,t),this},off:function(e,t){return this._eventsStrategy.off(e,t),this},_disposeEvents:function(){this._eventsStrategy.dispose()}}},function(e,t,n){var i=n(9),o=n(14).isFunction,a=n(25);e.exports=a.inherit({ctor:function(e){this._events={},this._owner=e},hasEvent:function(e){var t=this._events[e];return!!t&&t.has()},fireEvent:function(e,t){var n=this._events[e];n&&n.fireWith(this._owner,t)},on:function(e,t){var n,o=this._events[e];o||(o=i.Callbacks(),this._events[e]=o),n=o.originalAdd||o.add,n.call(o,t)},off:function(e,t){var n=this._events[e];n&&(o(t)?n.remove(t):n.empty())},dispose:function(){i.each(this._events,function(){this.empty()})}})},function(e,t,n){var i=n(9),o=n(11).extend,a=n(12).isPlainObject,s=n(25),r=n(7),l=n(44).resizeCallbacks,c=n(51),d=n(54).sessionStorage,u=n(55),h=n(15),p={iPhone:"iPhone",iPhone5:"iPhone",iPhone6:"iPhone",iPhone6plus:"iPhone",iPad:"iPad",iPadMini:"iPad Mini",androidPhone:"Android Mobile",androidTablet:"Android",win8:"MSAppHost",win8Phone:"Windows Phone 8.0",msSurface:"Windows ARM Tablet PC",desktop:"desktop",win10Phone:"Windows Phone 10.0",win10:"MSAppHost/3.0"},f={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:!1,android:!1,ios:!1,win:!1,generic:!0,grade:"A",mac:!1},m={win:function(e){var t=/windows phone/i.test(e)||e.match(/WPDesktop/),n=!t&&/Windows(.*)arm(.*)Tablet PC/i.test(e),i=!t&&!n&&/msapphost/i.test(e);if(t||n||i){var o=e.match(/windows phone (\d+).(\d+)/i)||e.match(/windows nt (\d+).(\d+)/i),a=[];return o?a.push(parseInt(o[1],10),parseInt(o[2],10)):(o=e.match(/msapphost(\/(\d+).(\d+))?/i),o&&a.push(3===parseInt(o[2],10)?10:8)),{deviceType:t?"phone":n?"tablet":"desktop",platform:"win",version:a,grade:"A"}}},ios:function(e){if(/ip(hone|od|ad)/i.test(e)){var t=/ip(hone|od)/i.test(e),n=e.match(/os (\d+)_(\d+)_?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],o=480===window.screen.height,a=o?"B":"A";return{deviceType:t?"phone":"tablet",platform:"ios",version:i,grade:a}}},android:function(e){if(/android|htc_|silk/i.test(e)){var t=/mobile/i.test(e),n=e.match(/android (\d+)\.(\d+)\.?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],o=i.length>1&&(i[0]<4||4===i[0]&&i[1]<4),a=o?"B":"A";return{deviceType:t?"phone":"tablet",platform:"android",version:i,grade:a}}}},g=s.inherit({ | }function i(e){if("transparent"===e)return[0,0,0,0];for(var t,n=0,i=_.length;n<i;++n)if(t=_[n].re.exec(e))return _[n].process(t);return null}function o(e,t,n){return t=t||0,n=n||255,e<0||isNaN(e)?t:e>n?n:e}function a(e,t,n){return"#"+(16777216|e<<16|t<<8|n).toString(16).slice(1)}function s(e,t,n){var i,o,a,s=Math.max(e,t,n),r=Math.min(e,t,n),l=s-r;if(a=s,o=0===s?0:1-r/s,s===r)i=0;else switch(s){case e:i=60*((t-n)/l),t<n&&(i+=360);break;case t:i=60*((n-e)/l)+120;break;case n:i=60*((e-t)/l)+240}return o*=100,a*=100/255,{h:Math.round(i),s:Math.round(o),v:Math.round(a)}}function r(e,t,n){var i,o,a,s,r,l,c,d;switch(s=Math.floor(e%360/60),a=(100-t)*n/100,r=(n-a)*(e%60/60),o=a+r,i=n-r,s){case 0:l=n,c=o,d=a;break;case 1:l=i,c=n,d=a;break;case 2:l=a,c=n,d=o;break;case 3:l=a,c=i,d=n;break;case 4:l=o,c=a,d=n;break;case 5:l=n,c=a,d=i}return[Math.round(2.55*l),Math.round(2.55*c),Math.round(2.55*d)]}function l(e,t,n,i){var o=Math.max(e,t,n);switch(o){case e:return(t-n)/i+(t<n?6:0);case t:return(n-e)/i+2;case n:return(e-t)/i+4}}function c(e,t,n){e=f(e,255),t=f(t,255),n=f(n,255);var i,o,a=Math.max(e,t,n),s=Math.min(e,t,n),r=a+s,c=r/2;if(a===s)i=o=0;else{var d=a-s;o=c>.5?d/(2-r):d/r,i=l(e,t,n,d),i/=6}return{h:v(360*i),s:v(100*o),l:v(100*c)}}function d(e,t){var n=t;return"r"===e&&(n=t+1/3),"b"===e&&(n=t-1/3),n}function u(e){return e<0&&(e+=1),e>1&&(e-=1),e}function h(e,t,n){return n=u(n),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function p(e,t,n){var i,o,a;if(e=f(e,360),t=f(t,100),n=f(n,100),0===t)i=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,r=2*n-s;i=h(r,s,d("r",e)),o=h(r,s,d("g",e)),a=h(r,s,d("b",e))}return[v(255*i),v(255*o),v(255*a)]}function f(e,t){return e=Math.min(t,Math.max(0,parseFloat(e))),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function m(e,t,n){return t=t||0,n=n||255,!(e%1!==0||e<t||e>n||"number"!=typeof e||isNaN(e))}var g={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",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"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",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"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",rebeccapurple:"663399",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",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},_=[{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:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*\.*\d+)\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])]}},{re:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/,process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^#([a-f0-9]{1})([a-f0-9]{1})([a-f0-9]{1})$/,process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/^hsv\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){var t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=r(t,n,i);return[o[0],o[1],o[2],1,[t,n,i]]}},{re:/^hsl\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){var t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=p(t,n,i);return[o[0],o[1],o[2],1,null,[t,n,i]]}}],v=Math.round;n.prototype={constructor:n,highlight:function(e){return e=e||10,this.alter(e).toHex()},darken:function(e){return e=e||10,this.alter(-e).toHex()},alter:function(e){var t=new n;return t.r=o(this.r+e),t.g=o(this.g+e),t.b=o(this.b+e),t},blend:function(e,t){var i=e instanceof n?e:new n(e),a=new n;return a.r=o(v(this.r*(1-t)+i.r*t)),a.g=o(v(this.g*(1-t)+i.g*t)),a.b=o(v(this.b*(1-t)+i.b*t)),a},toHex:function(){return a(this.r,this.g,this.b)},getPureColor:function(){var e=r(this.hsv.h,100,100);return new n("rgb("+e.join(",")+")")},isValidHex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},isValidRGB:function(e,t,n){return!!(m(e)&&m(t)&&m(n))},isValidAlpha:function(e){return!(isNaN(e)||e<0||e>1||"number"!=typeof e)},colorIsInvalid:!1},e.exports=n},function(e,t,n){var i=n(9),o=function(e){return void 0===e||null===e?"":String(e)},a=function(e){return o(e).charAt(0).toUpperCase()+e.substr(1)},s=function(e){return o(e).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},r=function(e){return i.map(s(e),function(e){return e.toLowerCase()}).join("-")},l=function(e){return r(e).replace(/-/g,"_")},c=function(e,t){return i.map(s(e),function(e,n){return e=e.toLowerCase(),(t||n>0)&&(e=a(e)),e}).join("")},d=function(e){return a(r(e).replace(/-/g," "))},u=function(e){return i.map(s(e),function(e){return a(e.toLowerCase())}).join(" ")},h=function(e){var t,n,i=[],o=!1,a=!1;for(t=0;t<e.length;t++)n=e.charAt(t),a=n===n.toUpperCase()||n in["0","1","2","3","4","5","6","7","8","9"],"_"===n||"."===n?(n=" ",a=!0):0===t?(n=n.toUpperCase(),a=!0):!o&&a&&i.length>0&&i.push(" "),i.push(n),o=a;return i.join("")};t.dasherize=r,t.camelize=c,t.humanize=d,t.titleize=u,t.underscore=l,t.captionize=h},function(e,t,n){var i=n(9),o=n(19),a=n(37).imageCreator,s=n(14).isFunction,r=n(11).extend,l=n(16).when,c="%PDF-1.3\r\n2 0 obj\r\n<</ProcSet[/PDF/ImageB/ImageC/ImageI]/XObject<</I0 5 0 R>>>>\r\nendobj\r\n4 0 obj\r\n<</Type/Pages/Kids[1 0 R]/Count 1>>\r\nendobj\r\n7 0 obj\r\n<</OpenAction[1 0 R /FitH null]/Type/Catalog/Pages 4 0 R/PageLayout/OneColumn>>\r\nendobj\r\n1 0 obj\r\n<</Type/Page/Resources 2 0 R/MediaBox[0 0 _width_ _height_]/Contents 3 0 R/Parent 4 0 R>>\r\nendobj\r\n",d="3 0 obj\r\n<</Length 52>>stream\r\n0.20 w\n0 G\nq _width_ 0 0 _height_ 0.00 0.00 cm /I0 Do Q\r\nendstream\r\nendobj\r\n",u="6 0 obj\r\n<</CreationDate _date_/Producer(DevExtreme _version_)>>\r\nendobj\r\n",h="5 0 obj\r\n<</Type/XObject/Subtype/Image/Width _width_/Height _height_/ColorSpace/DeviceRGB/BitsPerComponent 8/Filter/DCTDecode/Length _length_>>stream\r\n",p="\r\nendstream\r\nendobj\r\n",f="trailer\r\n<<\r\n/Size 8\r\n/Root 7 0 R\r\n/Info 6 0 R\r\n>>\r\nstartxref\r\n_length_\r\n%%EOF",m="xref\r\n0 8\r\n0000000000 65535 f\r\n0000000241 00000 n\r\n0000000010 00000 n\r\n_main_ 00000 n\r\n0000000089 00000 n\r\n_image_ 00000 n\r\n_info_ 00000 n\r\n0000000143 00000 n\r\n",g=60,_=40,v=function(e,t){return e.length<t?v("0"+e,t):e},w=function(e,t,n){var i=t.width+g,a=t.height+_,s=(.75*i).toFixed(2),r=(.75*a).toFixed(2),l=c.replace("_width_",s).replace("_height_",r),m=d.replace("_width_",s).replace("_height_",r),v=u.replace("_date_",n).replace("_version_",o),w=h.replace("_width_",i).replace("_height_",a).replace("_length_",e.length)+e+p,y=x(l.length,m.length,v.length),b=l+m+v+w,C=f.replace("_length_",b.length);return b+y+C},x=function(e,t,n){return m.replace("_main_",v(e+"",10)).replace("_info_",v(e+t+"",10)).replace("_image_",v(e+t+n+"",10))},y=function(){return new Date},b=function(e){for(var t=0,n=new Uint8Array(e.length);t<e.length;t++)n[t]=e.charCodeAt(t);return new Blob([n.buffer],{type:"application/pdf"})},C=function(e){return window.btoa(e)};t.getData=function(e,t,n){var o=a.getImageData(e,r({},t,{format:"jpeg"})),c=i.Deferred();c.done(n),l(o).done(function(e){var n=w(e,t,y()),i=s(window.Blob)?b(n):C(n);c.resolve(i)})}},function(e,t,n){var i=n(9),o=n(14),a=n(42).getSvgMarkup,s=n(16).when;t.svgCreator={_markup:"",_imageArray:{},_imageDeferreds:[],_getBinaryFile:function(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){n.readyState===n.DONE&&t(200===n.status&&n.response?n.response:!1)},n.open("GET",e,!0),n.responseType="arraybuffer",n.send()},_loadImages:function(){var e=this;i.each(e._imageArray,function(t){var n=new i.Deferred;e._imageDeferreds.push(n),e._getBinaryFile(t,function(i){if(!i)return delete e._imageArray[t],void n.resolve();var o,a="",s=new Uint8Array(i),r=s.byteLength;for(o=0;o<r;o++)a+=String.fromCharCode(s[o]);e._imageArray[t]="data:image/png;base64,"+btoa(a),n.resolve()})})},_parseImages:function(e){var t,n=this;"image"===e.tagName&&(t=i(e).attr("xlink:href"),n._imageArray[t]||(n._imageArray[t]="")),i.each(e.childNodes,function(e,t){n._parseImages(t)})},_prepareImages:function(e){return this._parseImages(e),this._loadImages(),s.apply(i,this._imageDeferreds)},getData:function(e,t){var n,s=this,r='<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>',l=i.Deferred(),c=new DOMParser,d=c.parseFromString(e,"image/svg+xml"),u=d.childNodes[0],h=i(u);return h.css("background-color",t.backgroundColor),n=r+a(h.get(0)),s._prepareImages(u).done(function(){i.each(s._imageArray,function(e,t){n=n.split(e).join(t)}),l.resolve(o.isFunction(window.Blob)?s._getBlob(n):s._getBase64(n))}),l},_getBlob:function(e){return new Blob([e],{type:"image/svg+xml"})},_getBase64:function(e){return window.btoa(e)}},t.getData=function(e,n,i){t.svgCreator.getData(e,n).done(i)}},function(e,t){function n(e){var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function i(e){var t=!0;return e=e.replace(/xmlns="[\s\S]*?"/gi,function(e){return t?(t=!1,e):""}),e.replace(/xmlns:NS1="[\s\S]*?"/gi,"").replace(/NS1:xmlns:xlink="([\s\S]*?)"/gi,'xmlns:xlink="$1"')}function o(e){return e.replace(/"/gi,""").replace(/&/gi,"&").replace(/'/gi,"'").replace(/</gi,"<").replace(/>/gi,">").replace(/ /gi," ").replace(/­/gi,"­")}t.getSvgMarkup=function(e){return i(o(n(e)))}},function(e,t,n){var i=n(9),o=n(11).extend,a=n(15),s=n(7),r=n(44).resizeCallbacks,l=n(14),c=n(26).inArray,d=n(45),u=n(48),h=u.abstract,p="dx-rtl",f="dx-visibility-change-handler",m="VisibilityChange",g=u.inherit({_getDefaultOptions:function(){return o(this.callBase(),{width:void 0,height:void 0,rtlEnabled:a().rtlEnabled,elementAttr:{},disabled:!1,integrationOptions:{}})},ctor:function(e,t){this._$element=i(e),d.attachInstanceToElement(this._$element,this,this._dispose),this.callBase(t)},_visibilityChanged:h,_dimensionChanged:h,_init:function(){this.callBase(),this._attachWindowResizeCallback()},_setOptionsByDevice:function(e){this.callBase([].concat(this.constructor._classCustomRules||[],e||[]))},_isInitialOptionValue:function(e){var t=this.constructor._classCustomRules&&this._convertRulesToOptions(this.constructor._classCustomRules).hasOwnProperty(e);return!t&&this.callBase(e)},_attachWindowResizeCallback:function(){if(this._isDimensionChangeSupported()){var e=this._windowResizeCallBack=this._dimensionChanged.bind(this);r.add(e)}},_isDimensionChangeSupported:function(){return this._dimensionChanged!==h},_render:function(){this._renderElementAttributes(),this._toggleRTLDirection(this.option("rtlEnabled")),this._renderVisibilityChange(),this._renderDimensions()},_renderElementAttributes:function(){var e=o({},this.option("elementAttr")),t=e.class;delete e.class,this.element().attr(e).addClass(t)},_renderVisibilityChange:function(){this._isDimensionChangeSupported()&&this._attachDimensionChangeHandlers(),this._isVisibilityChangeSupported()&&(this.element().addClass(f),this._attachVisibilityChangeHandlers())},_renderDimensions:function(){var e=this.option("width"),t=this.option("height"),n=this.element();n.outerWidth(e),n.outerHeight(t)},_attachDimensionChangeHandlers:function(){var e=this,t="dxresize."+this.NAME+m;e.element().off(t).on(t,function(){e._dimensionChanged()})},_attachVisibilityChangeHandlers:function(){var e=this,t="dxhiding."+this.NAME+m,n="dxshown."+this.NAME+m;e._isHidden=!e._isVisible(),e.element().off(t).on(t,function(){e._checkVisibilityChanged("hiding")}).off(n).on(n,function(){e._checkVisibilityChanged("shown")})},_isVisible:function(){return this.element().is(":visible")},_checkVisibilityChanged:function(e){"hiding"===e&&this._isVisible()&&!this._isHidden?(this._visibilityChanged(!1),this._isHidden=!0):"shown"===e&&this._isVisible()&&this._isHidden&&(this._isHidden=!1,this._visibilityChanged(!0))},_isVisibilityChangeSupported:function(){return this._visibilityChanged!==h},_clean:l.noop,_modelByElement:function(){var e=this.option("modelByElement")||l.noop;return e(this.element())},_invalidate:function(){if(!this._updateLockCount)throw s.Error("E0007");this._requireRefresh=!0},_refresh:function(){this._clean(),this._render()},_dispose:function(){this.callBase(),this._clean(),this._detachWindowResizeCallback()},_detachWindowResizeCallback:function(){this._isDimensionChangeSupported()&&r.remove(this._windowResizeCallBack)},_toggleRTLDirection:function(e){this.element().toggleClass(p,e)},_createComponent:function(e,t,n){var a=this;n=n||{};var s=l.grep(["rtlEnabled","disabled"],function(e){return!(e in n)}),r=a.option("nestedComponentOptions")||l.noop;a._extendConfig(n,o({integrationOptions:this.option("integrationOptions"),rtlEnabled:this.option("rtlEnabled"),disabled:this.option("disabled")},r(this)));var d;if(l.isString(t)){var u=i(e)[t](n);d=u[t]("instance")}else e&&(d=t.getInstance(e),d?d.option(n):d=new t(e,n));if(d){var h=function(e){c(e.name,s)>=0&&d.option(e.name,e.value)};a.on("optionChanged",h),d.on("disposing",function(){a.off("optionChanged",h)})}return d},_extendConfig:function(e,t){i.each(t,function(t,n){e[t]=e.hasOwnProperty(t)?e[t]:n})},_defaultActionConfig:function(){return o(this.callBase(),{context:this._modelByElement(this.element())})},_defaultActionArgs:function(){var e=this.element(),t=this._modelByElement(this.element());return o(this.callBase(),{element:e,model:t})},_optionChanged:function(e){switch(e.name){case"width":case"height":this._renderDimensions();break;case"rtlEnabled":case"elementAttr":this._invalidate();break;case"disabled":case"integrationOptions":break;default:this.callBase(e)}},endUpdate:function(){var e=!this._initializing&&!this._initialized;this.callBase.apply(this,arguments),this._updateLockCount||(e?this._render():this._requireRefresh&&(this._requireRefresh=!1,this._refresh()))},element:function(){return this._$element}});g.getInstance=function(e){return d.getInstanceByElement(i(e),this)},g.defaultOptions=function(e){this._classCustomRules=this._classCustomRules||[],this._classCustomRules.push(e)},e.exports=g},function(e,t,n){var i=n(9),o=function(){var e,t=i.Callbacks(),n=i(window),o=!1,a=t.add,s=t.remove,r=function(){return{width:n.width(),height:n.height()}},l=function(){var n=r();if(n.width!==e.width||n.height!==e.height){var i;n.width===e.width&&(i="height"),n.height===e.height&&(i="width"),e=n,setTimeout(function(){t.fire(i)})}};return e=r(),t.add=function(){var e=a.apply(t,arguments);return!o&&t.has()&&(n.on("resize",l),o=!0),e},t.remove=function(){var e=s.apply(t,arguments);return!t.has()&&o&&(n.off("resize",l),o=!1),e},t}(),a=function(e){return e<768?"xs":e<992?"sm":e<1200?"md":"lg"},s=function(e){var t=e||a;return t(i(window).width())};t.resizeCallbacks=o,t.defaultScreenFactorFunc=a,t.getCurrentScreenFactor=s},function(e,t,n){var i=n(9),o=n(46),a=n(14),s=n(47),r="dxComponents",l="dxPrivateComponent",c=new o,d=0,u=t.name=function(e,t){if(a.isDefined(t))return void c.set(e,t);if(!c.has(e)){var n=l+d++;return c.set(e,n),n}return c.get(e)};t.attachInstanceToElement=function(e,t,n){var o=i.data(e.get(0)),a=u(t.constructor);o[a]=t,n&&e.one(s,function(){n.call(t)}),o[r]||(o[r]=[]),o[r].push(a)},t.getInstanceByElement=function(e,t){var n=u(t);return i.data(e.get(0),n)}},function(e,t,n){var i=n(26).inArray,o=window.WeakMap;o||(o=function(){var e=[],t=[];this.set=function(n,o){var a=i(n,e);a===-1?(e.push(n),t.push(o)):t[a]=o},this.get=function(n){var o=i(n,e);if(o!==-1)return t[o]},this.has=function(t){var n=i(t,e);return n!==-1}}),e.exports=o},function(e,t,n){var i=n(9),o=n(10),a=o.cleanData,s=i.event.special,r="dxremove",l="dxRemoveEvent";o.cleanData=function(e){e=[].slice.call(e);for(var t=0;t<e.length;t++){var n=i(e[t]);n.prop(l)&&(n.removeProp(l),n.triggerHandler(r))}return a(e)},s[r]={noBubble:!0,setup:function(){i(this).prop(l,!0)}},e.exports=r},function(e,t,n){var i=n(9),o=n(15),a=n(11).extend,s=n(25),r=n(49),l=n(7),c=n(50),d=n(14),u=n(12),h=n(51),p=n(45),f=n(53),m=d.isFunction,g=d.noop,_={},v={},w=s.inherit({_setDeprecatedOptions:function(){this._deprecatedOptions={}},_getDeprecatedOptions:function(){return this._deprecatedOptions},_getOptionAliasesByName:function(e){return i.map(this._deprecatedOptions,function(t,n){return e===t.alias?n:void 0})},_getDefaultOptions:function(){return{onInitialized:null,onOptionChanged:null,onDisposing:null,defaultOptionsRules:null}},_setDefaultOptions:function(){this._options=this._getDefaultOptions()},_defaultOptionsRules:function(){return[]},_setOptionsByDevice:function(e){var t=this._defaultOptionsRules();Array.isArray(e)&&(t=t.concat(e));var n=this._convertRulesToOptions(t);a(!0,this._options,n);for(var i in this._optionsByReference)n.hasOwnProperty(i)&&(this._options[i]=n[i])},_convertRulesToOptions:function(e){for(var t={},n=f.current(),o=function(e,t){return t=i.makeArray(t),1===t.length&&u.isEmptyObject(t[0])||d.findBestMatches(e,t).length>0},s=0;s<e.length;s++){var r,l=e[s],c=l.device||{};r=m(c)?c(n):o(n,c),r&&a(t,l.options)}return t},_isInitialOptionValue:function(e){var t=this.option(e),n=this.initialOption(e),i=m(t)&&m(n)?t.toString()===n.toString():d.equalByValue(t,n);return i},_setOptionsByReference:function(){this._optionsByReference={}},_getOptionsByReference:function(){return this._optionsByReference},ctor:function(e){this.NAME=p.name(this.constructor),e=e||{},e.eventsStrategy&&this.setEventsStrategy(e.eventsStrategy),this._options={},this._updateLockCount=0,this._optionChangedCallbacks=e._optionChangedCallbacks||i.Callbacks(),this._disposingCallbacks=e._disposingCallbacks||i.Callbacks(),this.beginUpdate();try{this._suppressDeprecatedWarnings(),this._setOptionsByReference(),this._setDeprecatedOptions(),this._setDefaultOptions(),e&&e.onInitializing&&e.onInitializing.apply(this,[e]),this._setOptionsByDevice(e.defaultOptionsRules),this._resumeDeprecatedWarnings(),this._initOptions(e)}finally{this.endUpdate()}},_initOptions:function(e){this.option(e)},_optionValuesEqual:function(e,t,n){if(t=c.toComparable(t,!0),n=c.toComparable(n,!0),t&&n&&t.jquery&&n.jquery)return n.is(t);var i=t!==t,o=n!==n;return!(!i||!o)||(null===t||"object"!=typeof t)&&t===n},_init:function(){this._createOptionChangedAction(),this.on("disposing",function(e){this._disposingCallbacks.fireWith(this,[e])}.bind(this))},_createOptionChangedAction:function(){this._optionChangedAction=this._createActionByOption("onOptionChanged",{excludeValidators:["disabled","readOnly","designMode"]})},_createDisposingAction:function(){this._disposingAction=this._createActionByOption("onDisposing",{excludeValidators:["disabled","readOnly","designMode"]})},_optionChanged:function(e){switch(e.name){case"onDisposing":case"onInitialized":break;case"onOptionChanged":this._createOptionChangedAction();break;case"defaultOptionsRules":}},_dispose:function(){this._optionChangedCallbacks.empty(),this._createDisposingAction(),this._disposingAction(),this._disposeEvents(),this._disposed=!0},instance:function(){return this},beginUpdate:function(){this._updateLockCount++},endUpdate:function(){if(this._updateLockCount=Math.max(this._updateLockCount-1,0),!this._updateLockCount&&!this._initializing&&!this._initialized){this._initializing=!0;try{this._init()}finally{this._initializing=!1,this._updateLockCount++,this._createActionByOption("onInitialized",{excludeValidators:["disabled","readOnly","designMode"]})(),this._updateLockCount--,this._initialized=!0}}},_logWarningIfDeprecated:function(e){var t=this._deprecatedOptions[e];t&&!this._deprecatedOptionsSuppressed&&this._logDeprecatedWarning(e,t)},_logDeprecatedWarningCount:0,_logDeprecatedWarning:function(e,t){var n=t.message||"Use the '"+t.alias+"' option instead";l.log("W0001",this.NAME,e,t.since,n),++this._logDeprecatedWarningCount},_suppressDeprecatedWarnings:function(){this._deprecatedOptionsSuppressed=!0},_resumeDeprecatedWarnings:function(){this._deprecatedOptionsSuppressed=!1},_optionChanging:g,_notifyOptionChanged:function(e,t,n){var i=this;if(this._initialized)for(var o=[e].concat(i._getOptionAliasesByName(e)),s=0;s<o.length;s++){var r=o[s],l={name:r.split(/[.\[]/)[0],fullName:r,value:t,previousValue:n};i._optionChangedCallbacks.fireWith(i,[a(i._defaultActionArgs(),l)]),i._optionChangedAction(a({},l)),i._disposed||i._optionChanged(l)}},initialOption:function(e){var t,n=this._initialized;return this._initialOptions||(t=this._options,this._options={},this._initialized=!1,this._setDefaultOptions(),this._setOptionsByDevice(t.defaultOptionsRules),this._initialOptions=this._options,this._options=t,this._initialized=n),this._initialOptions[e]},_defaultActionConfig:function(){return{context:this,component:this}},_defaultActionArgs:function(){return{component:this}},_createAction:function(e,t){var n,i=this;return function(o){return arguments.length||(o={}),u.isPlainObject(o)||(o={actionValue:o}),n=n||new r(e,a(t,i._defaultActionConfig())),n.execute.call(n,a(o,i._defaultActionArgs()))}},_createActionByOption:function(e,t){var n,i,a,s=this,r=function(){if(!i){if(t=t||{},"string"!=typeof e)throw l.Error("E0008");0===e.indexOf("on")&&(i=s._getEventName(e)),a=s.option(e)}if(n||a||t.beforeExecute||t.afterExecute||s.hasEvent(i)){if(!n){var r=t.beforeExecute;t.beforeExecute=function(e){s.fireEvent(i,e.args),r&&r.apply(s,arguments)},s._suppressDeprecatedWarnings(),n=s._createAction(a,t),s._resumeDeprecatedWarnings()}if(o().wrapActionsBeforeExecute){var c=s.option("beforeActionExecute")||g;n=c(s,n,t)||n}return n.apply(s,arguments)}};if(!o().wrapActionsBeforeExecute){var c=s.option("onActionCreated")||g;r=c(s,r,t)||r}return r},_getEventName:function(e){return e.charAt(2).toLowerCase()+e.substr(3)},hasActionSubscription:function(e){return!!this.option(e)||this.hasEvent(this._getEventName(e))},isOptionDeprecated:function(e){var t=this._getDeprecatedOptions();return t.hasOwnProperty(e)},option:function(){var e=function(e,t){var n;if(t){if(!e._cachedDeprecateNames){e._cachedDeprecateNames=[];for(var i in e._deprecatedOptions)e._cachedDeprecateNames.push(i)}for(var o=0;o<e._cachedDeprecateNames.length;o++)if(e._cachedDeprecateNames[o]===t){n=e._deprecatedOptions[t];break}if(n){e._logWarningIfDeprecated(t);var a=n.alias;a&&(t=a)}}return t},t=function(e){var t=e.split(".");return t.pop(),t.join(".")},n=function(e){var t=e.split(".");return t[t.length-1]},i=function(e,t,n){var i=_[t];return i||(i=_[t]=c.compileGetter(t)),i(e,{functionsAsIs:!0,unwrapObservables:n})},o=function(e,o){delete e[o];var a=t(o),s=n(o),r=a?i(e,a,!1):e;r&&delete r[s]},a=function(e,o,a){var s,r="";do r&&(r="."+r),r=n(o)+r,o=t(o),s=o?i(e,o,!1):e;while(!s);s[r]=a},s=function(t,n,i,s){if(i){var r=e(t,i);r&&r!==i&&(a(n,r,s),o(n,i))}},r=function(e,t,n,i){if(u.isPlainObject(i))for(var o in i)r(e,t,n+"."+o,i[o]);s(e,t,n,i)},l=function(e,t,n){v[t]||(v[t]=c.compileSetter(t));var i=t.split(/[.\[]/);v[t](e._options,n,{functionsAsIs:!0,merge:!e._getOptionsByReference()[t],unwrapObservables:i.length>1&&!!e._getOptionsByReference()[i[0]]})},h=function(e,t,n){var o=i(e._options,t,!1);e._optionValuesEqual(t,o,n)||(e._initialized&&e._optionChanging(t,o,n),l(e,t,n),e._notifyOptionChanged(t,n,o))};return function(t,n){var o=this,a=t;if(arguments.length<2&&"object"!==d.type(a))return a=e(o,a),i(o._options,a);"string"==typeof a&&(t={},t[a]=n),o.beginUpdate();try{var s;for(s in t)r(o,t,s,t[s]);for(s in t)h(o,s,t[s])}finally{o.endUpdate()}}}()}).include(h);e.exports=w},function(e,t,n){var i=n(9),o=n(15),a=n(14),s=n(12),r=n(25),l=r.inherit({ctor:function(e,t){t=t||{},this._action=e,this._context=t.context||window,this._beforeExecute=t.beforeExecute,this._afterExecute=t.afterExecute,this._component=t.component,this._validatingTargetName=t.validatingTargetName;var n=this._excludeValidators={};if(t.excludeValidators)for(var i=0;i<t.excludeValidators.length;i++)n[t.excludeValidators[i]]=!0},execute:function(){var e={action:this._action,args:Array.prototype.slice.call(arguments),context:this._context,component:this._component,validatingTargetName:this._validatingTargetName,cancel:!1,handled:!1},t=this._beforeExecute,n=this._afterExecute;if(this._validateAction(e)&&(t&&t.call(this._context,e),!e.cancel)){var i=this._executeAction(e),o=e.args[0];if(!o||!o.cancel)return n&&n.call(this._context,e),i}},_validateAction:function(e){var t=this._excludeValidators,n=l.executors;for(var i in n)if(!t[i]){var o=n[i];if(o.validate&&o.validate(e),e.cancel)return!1}return!0},_executeAction:function(e){var t,n=l.executors;for(var i in n){var o=n[i];if(o.execute&&o.execute(e),e.handled){t=e.result;break}}return t}});l.executors={},l.registerExecutor=function(e,t){return s.isPlainObject(e)?void i.each(e,l.registerExecutor):void(l.executors[e]=t)},l.unregisterExecutor=function(){var e=i.makeArray(arguments);i.each(e,function(){delete l.executors[this]})},l.registerExecutor({undefined:{execute:function(e){e.action||(e.result=void 0,e.handled=!0)}},func:{execute:function(e){a.isFunction(e.action)&&(e.result=e.action.call(e.context,e.args[0]),e.handled=!0)}}});var c=function(e){return function(t){if(t.args.length){var n=t.args[0],i=n[t.validatingTargetName]||n.element;i&&e(i)&&(t.cancel=!0)}}};l.registerExecutor({designMode:{validate:function(e){o().designMode&&(e.cancel=!0)}},disabled:{validate:c(function(e){return e.is(".dx-state-disabled, .dx-state-disabled *")})},readOnly:{validate:c(function(e){return e.is(".dx-state-readonly, .dx-state-readonly *")})}}),e.exports=l},function(e,t,n){var i=n(9),o=n(7),a=n(25),s=n(27),r=n(14),l=n(12),c=n(28),d=c.unwrap,u=c.isWrapped,h=c.assign,p=function(e){return e.replace(/\[/g,".").replace(/\]/g,"")},f=function(e,t){return"this"===t?e:e[t]},m=function(e,t,n,i){if("this"===t)throw new o.Error("E4016");var a=e[t];i.unwrapObservables&&u(a)?h(a,n):e[t]=n},g=function(e){return e=e||{},e.unwrapObservables=void 0===e.unwrapObservables||e.unwrapObservables,e},_=function(e,t){return t.unwrapObservables?d(e):e},v=function(e){if(arguments.length>1&&(e=i.makeArray(arguments)),!e||"this"===e)return function(e){return e};if("string"==typeof e){e=p(e);var t=e.split(".");return function(e,n){n=g(n);for(var i=n.functionsAsIs,o=_(e,n),a=0;a<t.length&&o;a++){var s=_(o[t[a]],n);!i&&r.isFunction(s)&&(s=s.call(o)),o=s}return o}}return Array.isArray(e)?w(e):r.isFunction(e)?e:void 0},w=function(e){for(var t={},n=0,o=e.length;n<o;n++){var a=e[n];t[a]=v(a)}return function(e,n){var o;return i.each(t,function(t){var i,a,s,r,l=this(e,n);if(void 0!==l){for(i=o||(o={}),a=t.split("."),s=a.length-1,r=0;r<s;r++)i=i[a[r]]={};i[a[r]]=l}}),o}},x=function(e){e=e||"this",e=p(e);var t=e.lastIndexOf("."),n=v(e.substr(0,t)),o=e.substr(1+t);return function(e,t,a){a=g(a);var c=n(e,{functionsAsIs:a.functionsAsIs,unwrapObservables:a.unwrapObservables}),d=f(c,o);a.functionsAsIs||!r.isFunction(d)||u(d)?(d=_(d,a),!a.merge||!l.isPlainObject(t)||void 0!==d&&!l.isPlainObject(d)||t instanceof i.Event?m(c,o,t,a):(d||m(c,o,{},a),c=_(f(c,o),a),s.deepExtendArraySafe(c,t,!1,!0))):c[o](t)}},y=function(e,t){return e instanceof Date?e.getTime():e&&e instanceof a&&e.valueOf?e.valueOf():t||"string"!=typeof e?e:e.toLowerCase()};t.compileGetter=v,t.compileSetter=x,t.toComparable=y},function(e,t,n){var i=n(9),o=n(52),a=n(12).isPlainObject;e.exports={ctor:function(){this._events={},this.setEventsStrategy(new o(this))},setEventsStrategy:function(e){this._eventsStrategy=e},hasEvent:function(e){return this._eventsStrategy.hasEvent(e)},fireEvent:function(e,t){return this._eventsStrategy.fireEvent(e,t),this},on:function(e,t){return a(e)?i.each(e,function(e,t){this.on(e,t)}.bind(this)):this._eventsStrategy.on(e,t),this},off:function(e,t){return this._eventsStrategy.off(e,t),this},_disposeEvents:function(){this._eventsStrategy.dispose()}}},function(e,t,n){var i=n(9),o=n(14).isFunction,a=n(25);e.exports=a.inherit({ctor:function(e){this._events={},this._owner=e},hasEvent:function(e){var t=this._events[e];return!!t&&t.has()},fireEvent:function(e,t){var n=this._events[e];n&&n.fireWith(this._owner,t)},on:function(e,t){var n,o=this._events[e];o||(o=i.Callbacks(),this._events[e]=o),n=o.originalAdd||o.add,n.call(o,t)},off:function(e,t){var n=this._events[e];n&&(o(t)?n.remove(t):n.empty())},dispose:function(){i.each(this._events,function(){this.empty()})}})},function(e,t,n){var i=n(9),o=n(11).extend,a=n(12).isPlainObject,s=n(25),r=n(7),l=n(44).resizeCallbacks,c=n(51),d=n(54).sessionStorage,u=n(55),h=n(15),p={iPhone:"iPhone",iPhone5:"iPhone",iPhone6:"iPhone",iPhone6plus:"iPhone",iPad:"iPad",iPadMini:"iPad Mini",androidPhone:"Android Mobile",androidTablet:"Android",win8:"MSAppHost",win8Phone:"Windows Phone 8.0",msSurface:"Windows ARM Tablet PC",desktop:"desktop",win10Phone:"Windows Phone 10.0",win10:"MSAppHost/3.0"},f={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:!1,android:!1,ios:!1,win:!1,generic:!0,grade:"A",mac:!1},m={win:function(e){var t=/windows phone/i.test(e)||e.match(/WPDesktop/),n=!t&&/Windows(.*)arm(.*)Tablet PC/i.test(e),i=!t&&!n&&/msapphost/i.test(e);if(t||n||i){var o=e.match(/windows phone (\d+).(\d+)/i)||e.match(/windows nt (\d+).(\d+)/i),a=[];return o?a.push(parseInt(o[1],10),parseInt(o[2],10)):(o=e.match(/msapphost(\/(\d+).(\d+))?/i),o&&a.push(3===parseInt(o[2],10)?10:8)),{deviceType:t?"phone":n?"tablet":"desktop",platform:"win",version:a,grade:"A"}}},ios:function(e){if(/ip(hone|od|ad)/i.test(e)){var t=/ip(hone|od)/i.test(e),n=e.match(/os (\d+)_(\d+)_?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],o=480===window.screen.height,a=o?"B":"A";return{deviceType:t?"phone":"tablet",platform:"ios",version:i,grade:a}}},android:function(e){if(/android|htc_|silk/i.test(e)){var t=/mobile/i.test(e),n=e.match(/android (\d+)\.(\d+)\.?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],o=i.length>1&&(i[0]<4||4===i[0]&&i[1]<4),a=o?"B":"A";return{deviceType:t?"phone":"tablet",platform:"android",version:i,grade:a}}}},g=s.inherit({ |
Revision as of 17:52, 31 October 2017
/*!
- DevExtreme (dx.web.js)
- Version: 17.1.7
- Build date: Fri Sep 29 2017
- Copyright (c) 2012 - 2017 Developer Express Inc. ALL RIGHTS RESERVED
- Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
- /
"use strict";!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(660)},,,,function(e,t,n){var i=n(5);n(186);var o=i.ui=n(198);o.themes=n(144),o.setTemplateEngine=n(199),o.dialog=n(200),o.notify=n(205),o.dxActionSheet=n(207),o.dxAutocomplete=n(209),o.dxBox=n(253),o.dxButton=n(202),o.dxCalendar=n(254),o.dxCheckBox=n(249),o.dxColorBox=n(261),o.dxDateBox=n(268),o.dxDeferRendering=n(280),o.dxDropDownBox=n(281),o.dxDropDownMenu=n(282),o.dxFileUploader=n(283),o.dxForm=n(286),o.dxGallery=n(298),o.dxList=n(219),o.dxLoadIndicator=n(239),o.dxLoadPanel=n(247),o.dxLookup=n(299),o.dxMap=n(300),o.dxMultiView=n(293),o.dxNavBar=n(307),o.dxNumberBox=n(264),o.dxOverlay=n(110),o.dxPopover=n(208),o.dxPopup=n(201),o.dxProgressBar=n(284),o.dxRadioGroup=n(309),o.dxRangeSlider=n(311),o.dxResizable=n(112),o.dxResponsiveBox=n(291),o.dxScrollView=n(234),o.dxSelectBox=n(318),o.dxSlider=n(312),o.dxSwitch=n(319),o.dxTabPanel=n(292),o.dxTabs=n(294),o.dxTagBox=n(320),o.dxTextArea=n(321),o.dxTextBox=n(212),o.dxTileView=n(322),o.dxToast=n(206),o.dxToolbar=n(323),o.dxTooltip=n(315),o.dxTrackBar=n(285),i.validationEngine=n(118),o.dxValidationSummary=n(296),o.dxValidationGroup=n(297),o.dxValidator=n(289),o.CollectionWidget=n(150),o.dxDropDownEditor=n(211),e.exports=o},function(e,t,n){var i=n(6);i.framework=n(92),n(145),n(93),n(177),n(179),n(180),n(181),n(182),n(76),n(166),n(183),n(111),n(165),n(104),n(77),n(184),n(185),e.exports=i},function(e,t,n){var i=window.DevExpress=window.DevExpress||{},o=i.errors=n(7);if(i._DEVEXTREME_BUNDLE_INITIALIZED)throw o.Error("E0024");i._DEVEXTREME_BUNDLE_INITIALIZED=!0,i.clientExporter=n(20),i.VERSION=n(19),i.Class=n(25),i.DOMComponent=n(43),i.registerComponent=n(57),i.devices=n(53),i.Color=n(38);var a=n(9),s=n(17).compare;if(s(a.fn.jquery,[1,10])<0)throw o.Error("E0012");var r=n(59);i.requestAnimationFrame=function(){return o.log("W0000","DevExpress.requestAnimationFrame","15.2","Use the 'DevExpress.utils.requestAnimationFrame' method instead."),r.requestAnimationFrame.apply(r,arguments)},i.cancelAnimationFrame=function(){return o.log("W0000","DevExpress.cancelAnimationFrame","15.2","Use the 'DevExpress.utils.cancelAnimationFrame' method instead."),r.cancelAnimationFrame.apply(r,arguments)},i.EventsMixin=n(51),i.utils={},i.utils.requestAnimationFrame=r.requestAnimationFrame,i.utils.cancelAnimationFrame=r.cancelAnimationFrame,i.utils.initMobileViewport=n(60).initMobileViewport,i.utils.extendFromObject=n(11).extendFromObject,i.utils.createComponents=n(62).createComponents,i.utils.triggerShownEvent=n(62).triggerShownEvent,i.utils.triggerHidingEvent=n(62).triggerHidingEvent,i.utils.resetActiveElement=n(62).resetActiveElement,i.utils.findBestMatches=n(14).findBestMatches,i.createQueue=n(63).create,i.utils.dom=n(62),i.utils.common=n(14),i.utils.date=n(64),i.utils.browser=n(23),i.utils.inflector=n(39),i.utils.resizeCallbacks=n(44).resizeCallbacks,i.utils.console=n(13),i.utils.string=n(18),i.utils.support=n(61),i.processHardwareBackButton=n(65),i.viewPort=n(55).value,i.hideTopOverlay=n(66),i.formatHelper=n(67);var l=i.config=n(15);Object.defineProperty(i,"rtlEnabled",{get:function(){return o.log("W0003","DevExpress","rtlEnabled","16.1","Use the 'DevExpress.config' method instead"),l().rtlEnabled},set:function(e){o.log("W0003","DevExpress","rtlEnabled","16.1","Use the 'DevExpress.config' method instead"),l({rtlEnabled:e})}}),Object.defineProperty(i,"designMode",{get:function(){return l().designMode},set:function(e){l({designMode:e})}}),i.animationPresets=n(68).presets,i.fx=n(69),i.TransitionExecutor=n(75).TransitionExecutor,i.AnimationPresetCollection=n(68).PresetCollection,e.exports=i.events={},i.events.click=n(76),i.events.utils=n(72),i.events.GestureEmitter=n(87),i.localization=n(89),e.exports=i},function(e,t,n){var i=n(8);e.exports=i({E0001:"Method is not implemented",E0002:"Member name collision: {0}",E0003:"A class must be instantiated using the 'new' keyword",E0004:"The NAME property of the component is not specified",E0005:"Unknown device",E0006:"Unknown endpoint key is requested",E0007:"'Invalidate' method is called outside the update transaction",E0008:"Type of the option name is not appropriate to create an action",E0009:"Component '{0}' has not been initialized for an element",E0010:"Animation configuration with the '{0}' type requires '{1}' configuration as {2}",E0011:"Unknown animation type '{0}'",E0012:"jQuery version is too old. Please upgrade jQuery to 1.10.0 or later",E0013:"KnockoutJS version is too old. Please upgrade KnockoutJS to 2.3.0 or later",E0014:"The 'release' method shouldn't be called for an unlocked Lock object",E0015:"Queued task returned an unexpected result",E0017:"Event namespace is not defined",E0018:"DevExpress.ui.DevExpressPopup widget is required",E0020:"Template engine '{0}' is not supported",E0021:"Unknown theme is set: {0}",E0022:"LINK[rel=DevExpress-theme] tags must go before DevExpress included scripts",E0023:"Template name is not specified",E0024:"DevExtreme bundle already included",E0100:"Unknown validation type is detected",E0101:"Misconfigured range validation rule is detected",E0102:"Misconfigured comparison validation rule is detected",E0110:"Unknown validation group is detected",E0120:"Adapter for a DevExpressValidator component cannot be configured",E0121:"The onCustomItemCreating action should return an item or Promise of jQuery Deferred object resolved when an item is created",E4016:"The compileSetter(expr) method is called with 'self' passed as a parameter",W0000:"'{0}' is deprecated in {1}. {2}",W0001:"{0} - '{1}' option is deprecated in {2}. {3}",W0002:"{0} - '{1}' method is deprecated in {2}. {3}",W0003:"{0} - '{1}' property is deprecated in {2}. {3}",W0004:"Timeout for theme loading is over: {0}",W0005:"'{0}' event is deprecated in {1}. {2}",W0006:"Invalid recurrence rule: '{0}'",W0007:"'{0}' Globalize culture is not defined",W0008:"Invalid view name: '{0}'",W0009:"Invalid time zone name: '{0}'",W0010:"{0} is deprecated in {1}. {2}",W0011:"Number parsing is invoked while the parser is not defined",W0012:"Date parsing is invoked while the parser is not defined",W0013:"'{0}' file is deprecated in {1}. {2}"})},function(e,t,n){var i=n(9),o=n(11).extend,a=n(13),s=n(18),r=n(19),l="http://js.devexpress.com/error/"+r.split(".").slice(0,2).join("_")+"/";e.exports=function(e,t){var n={ERROR_MESSAGES:o(t,e),Error:function(){return u(i.makeArray(arguments))},log:function(e){var t="log";/^E\d+$/.test(e)?t="error":/^W\d+$/.test(e)&&(t="warn"),a.logger[t]("log"===t?e:r(i.makeArray(arguments)))}},r=function(e){var t=e[0];return e=e.slice(1),d(t,c(t,e))},c=function(e,t){return t=[n.ERROR_MESSAGES[e]].concat(t),s.format.apply(this,t).replace(/\.*\s*?$/,"")},d=function(e,t){return s.format.apply(this,["{0} - {1}. See:\n{2}",e,t,l+e])},u=function(e){var t,n,i;return t=e[0],e=e.slice(1),n=c(t,e),i=d(t,n),o(new Error(i),{__id:t,__details:n})};return n}},function(e,t,n){var i=n(10);e.exports=i},function(e,t){e.exports=jQuery},function(e,t,n){var i=n(12).isPlainObject,o=function(e,t,n){e=e||{};for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];i in e&&!n||(e[i]=o)}return e},a=function(e){e=e||{};var t=1,n=!1;for("boolean"==typeof e&&(n=e,e=arguments[1]||{},t++);t<arguments.length;t++){var o=arguments[t];if(null!=o)for(var s in o){var r,l=e[s],c=o[s],d=!1;e!==c&&(n&&c&&(i(c)||(d=Array.isArray(c)))?(r=d?l&&Array.isArray(l)?l:[]:l&&i(l)?l:{},e[s]=a(n,r,c)):void 0!==c&&(e[s]=c))}}return e};t.extend=a,t.extendFromObject=o},function(e,t){var n=function(e){var t;for(t in e)return!1;return!0},i=function(e){if(!e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e),n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&Object.toString.call(n)===Object.toString.call(Object)};t.isEmptyObject=n,t.isPlainObject=i},function(e,t,n){var i=n(14).isFunction,o=function(){function e(e){o&&i(o.info)&&o.info(e)}function t(e){o&&i(o.warn)&&o.warn(e)}function n(e){o&&i(o.error)&&o.error(e)}var o=window.console;return{info:e,warn:t,error:n}}(),a=function(){function e(e,t){if(!e)throw new Error(t)}function t(t,n){e(null!==t&&void 0!==t,n)}return{assert:e,assertParam:t}}();t.logger=o,t.debug=a},function(e,t,n){var i,o=n(9),a=n(15),s=n(16),r=function(e){var t={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object Null]":"null"},n=Object.prototype.toString.call(e);return"object"==typeof e?t[n]||"object":typeof e},l=function(e){return null!==e&&void 0!==e},c=function(e){return"string"==typeof e},d=function(e){return"number"==typeof e&&isFinite(e)||!isNaN(e-parseFloat(e))},u=function(e){return"object"===r(e)},h=function(e){return"date"===r(e)},p=function(e){return"boolean"==typeof e},f=function(e){return"function"==typeof e},m=function(e){return["object","array","function"].indexOf(r(e))===-1},g=function(e){return d(e)&&e.toString().indexOf("e")!==-1},_=function(e){return null!=e&&e===e.window},v=function(e){return e instanceof Element},w=function(e,t){return l(e)?e:t},x=function(e,t){var n,i=o.Deferred(),a=t||this,s={promise:i.promise(),abort:function(){clearTimeout(n),i.rejectWith(a)}},r=function(){var t=e.call(a);t&&t.done&&f(t.done)?t.done(function(){i.resolveWith(a)}):i.resolveWith(a)};return n=(arguments[2]||setTimeout)(r,"number"==typeof t?t:0),s},y=[],b=[],C=[],k=function(e,t,n){if(i&&i!==e)return y.push(t),b.push(e),n=n||o.Deferred(),C.push(n),n;var a=i,r=C.length;i=e;var l=t();return l||(C.length>r?l=s.when.apply(o,C.slice(r)):n&&n.resolve()),i=a,n&&l&&l.done&&l.done(n.resolve).fail(n.reject),!i&&y.length&&("render"===b.shift()?I:S)(y.shift(),C.shift()),l},I=function(e,t){return k("render",e,t)},S=function(e,t){return k("update",e,t)},D=function(e){return function(){var t=this;return k("render",function(){return e.call(t)})}},T=function(e){return function(){var t=this;return k("update",function(){return e.call(t)})}},E=function(e,t,n){var i=[],a=0;return o.each(t,function(t,s){var r=0,l=n?n(s):s;o.each(e,function(e,t){var n=l[e];if(void 0!==n)return A(n,t)?void r++:(r=-1,!1)}),r<a||(r>a&&(i.length=0,a=r),i.push(s))}),i},A=function(e,t){if(Array.isArray(e)&&Array.isArray(t)){var n=!1;return o.each(e,function(e,i){if(i!==t[e])return n=!0,!1}),!n}return e===t},B=function(e){switch(typeof e){case"string":return e.split(/\s+/,2);case"object":return[e.x||e.h,e.y||e.v];case"number":return[e];default:return e}},M=function(e){switch(typeof e){case"string":return e.split(/\s+/,4);case"object":return[e.x||e.h||e.left,e.y||e.v||e.top,e.x||e.h||e.right,e.y||e.v||e.bottom];case"number":return[e];default:return e}},R=function(e){var t=c(e)?e:e.toString(),n=t.match(/[^a-zA-Z0-9_]/g);return n&&o.each(n,function(e,n){t=t.replace(n,"__"+n.charCodeAt()+"__")}),t},O=function(e){var t=e.match(/__\d+__/g);return t&&t.forEach(function(t){var n=parseInt(t.replace("__",""));e=e.replace(t,String.fromCharCode(n))}),e},P=function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!F(e[i],t[i],n+1))return!1;return!0},V=function(e,t,n){for(var i in e)if(e.hasOwnProperty(i)&&!F(e[i],t[i],n+1))return!1;for(i in t)if(!(i in e))return!1;return!0},F=function(e,t,n){if(e===t)return!0;var i=3;return n=n||0,n>=i||(u(e)&&u(t)?V(e,t,n):Array.isArray(e)&&Array.isArray(t)?P(e,t,n):!(!h(e)||!h(t))&&e.getTime()===t.getTime())},H=function(e){if(u(e)||Array.isArray(e))try{var t=JSON.stringify(e);return"{}"===t?e:t}catch(t){return e}return e},L=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},z=function(e){var t=a().serverDecimalSeparator;return l(e)&&(e=e.toString().replace(".",t)),e},N=function(){},W=function(e,t,n){for(var i,o=[],a=!n,s=0;s<e.length;s++)i=!!t(e[s],s),i===a&&o.push(e[s]);return o};t.type=r,t.isDefined=l,t.isString=c,t.isNumeric=d,t.isObject=u,t.isDate=h,t.isBoolean=p,t.isFunction=f,t.isPrimitive=m,t.isExponential=g,t.isWindow=_,t.isDomNode=v,t.ensureDefined=w,t.executeAsync=x,t.deferRender=I,t.deferRenderer=D,t.deferUpdate=S,t.deferUpdater=T,t.splitPair=B,t.splitQuad=M,t.findBestMatches=E,t.normalizeKey=R,t.denormalizeKey=O,t.equalByValue=F,t.getKeyHash=H,t.escapeRegExp=L,t.applyServerDecimalSeparator=z,t.noop=N,t.grep=W},function(e,t,n){var i=n(11),o={rtlEnabled:!1,defaultCurrency:"USD",designMode:!1,serverDecimalSeparator:".",forceIsoDateParsing:!0,wrapActionsBeforeExecute:!1};e.exports=function(){return arguments.length?void i.extend(o,arguments[0]):o}},function(e,t,n){var i=n(9),o=n(14),a=n(17).compare;t.fromPromise=function(e,t){var n=e&&o.isFunction(e.done)&&o.isFunction(e.fail);if(n)return e;var a=i.Deferred();return e.then(function(){a.resolveWith.apply(a,[t].concat([i.makeArray(arguments)]))},function(){a.rejectWith.apply(a,[t].concat([i.makeArray(arguments)]))}),a},t.when=a(i.fn.jquery,[3])<0?i.when:function(e){return 0===arguments.length?i.Deferred().resolve():1===arguments.length?e&&e.then?e:i.Deferred().resolve(e):i.when.apply(i,arguments)}},function(e,t){t.compare=function(e,t,n){function i(e){return"string"==typeof e?e.split("."):"number"==typeof e?[e]:e}e=i(e),t=i(t);var o=Math.max(e.length,t.length);isFinite(n)&&(o=Math.min(o,n));for(var a=0;a<o;a++){var s=parseInt(e[a]||0,10),r=parseInt(t[a]||0,10);if(s<r)return-1;if(s>r)return 1}return 0}},function(e,t,n){var i=n(9),o=n(14),a=function(){var e=[new RegExp("&","g"),new RegExp('"',"g"),new RegExp("'","g"),new RegExp("<","g"),new RegExp(">","g")];return function(t){return String(t).replace(e[0],"&").replace(e[1],""").replace(e[2],"'").replace(e[3],"<").replace(e[4],">")}}(),s=function(e){var t=o.splitPair(e),n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),{h:n,v:i}},r=function(e){var t=o.splitQuad(e),n=parseInt(t&&t[0],10),i=parseInt(t&&t[1],10),a=parseInt(t&&t[2],10),s=parseInt(t&&t[3],10);return isFinite(n)||(n=0),isFinite(i)||(i=n),isFinite(a)||(a=n),isFinite(s)||(s=i),{top:i,right:a,bottom:s,left:n}},l=function(){var e,t,n,a=arguments[0],s=i.makeArray(arguments).slice(1);if(o.isFunction(a))return a.apply(this,s);for(var r=0;r<s.length;r++)t=new RegExp("\\{"+r+"\\}","gm"),n=s[r],"string"===o.type(n)&&n.indexOf("$")>=0&&(e="$".replace("$","$$").length,n=n.replace("$",1===e?"$$$$":"$$")),a=a.replace(t,n);return a},c=function(){var e=function(e){return(e+"").replace(/([\+\*\?\\\.\[\^\]\$\(\)\{\}\><\|\=\!\:])/g,"\\$1")};return function(t,n,i){return t.replace(new RegExp("("+e(n)+")","gi"),i)}}(),d=function(){var e=/\s/g;return function(t){return!t||!t.replace(e,"")}}();t.encodeHtml=a,t.pairToObject=s,t.quadToObject=r,t.format=l,t.replaceAll=c,t.isEmpty=d},function(e,t){e.exports="17.1.7"},function(e,t,n){var i=n(21).fileSaver,o=n(14).isFunction;t.export=function(e,t,n){if(e){var a=t.exportingAction,s=t.exportedAction,r=t.fileSavingAction,l={fileName:t.fileName,format:t.format,cancel:!1};o(a)&&a(l),l.cancel||n(e,t,function(e){o(s)&&s(),o(r)&&(l.data=e,r(l)),l.cancel||i.saveAs(l.fileName,t.format,e,t.proxyUrl)})}},t.fileSaver=i,t.excel={creator:n(24).ExcelCreator,getData:n(24).getData,formatConverter:n(31)},t.image={creator:n(37).imageCreator,getData:n(37).getData},t.pdf={getData:n(40).getData},t.svg={creator:n(41).svgCreator,getData:n(41).getData}},function(e,t,n){var i=n(9),o=n(22),a=n(23),s=n(14),r={EXCEL:"xlsx",CSS:"css",PNG:"png",JPEG:"jpeg",GIF:"gif",SVG:"svg",PDF:"pdf"},l=t.MIME_TYPES={CSS:"text/css",EXCEL:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",PNG:"image/png",JPEG:"image/jpeg",GIF:"image/gif",SVG:"image/svg+xml",PDF:"application/pdf"};t.fileSaver={_getDataUri:function(e,t){return"data:"+l[e]+";base64,"+t},_linkDownloader:function(e,t,n){var o=document.createElement("a"),a={download:e,href:t};return document.getElementById('mw-content-text').appendChild(o),i(o).css({display:"none"}).text("load").attr(a)[0].click(),o},_formDownloader:function(e,t,n,o,a){var s={method:"post",action:e,enctype:"multipart/form-data"},r=i("<form>").css({display:"none"}).attr(s);r.append('<input type="hidden" name="fileName" value="'+t+'" />'),r.append('<input type="hidden" name="contentType" value="'+n+'" />'),r.append('<input type="hidden" name="data" value="'+o+'" />'),r.appendTo("body"),r.submit(),r.submit()&&r.remove()},_saveByProxy:function(e,t,n,i,o){return this._formDownloader(e,t,l[n],i,o)},_winJSBlobSave:function(e,t,n){var i=new Windows.Storage.Pickers.FileSavePicker;i.suggestedStartLocation=Windows.Storage.Pickers.PickerLocationId.documentsLibrary,i.fileTypeChoices.insert(l[n],["."+r[n]]),i.suggestedFileName=t,i.pickSaveFileAsync().then(function(t){t&&t.openAsync(Windows.Storage.FileAccessMode.readWrite).then(function(t){var n=e.msDetachStream();Windows.Storage.Streams.RandomAccessStream.copyAsync(n,t).then(function(){t.flushAsync().done(function(){n.close(),t.close()})})})})},_saveBlobAs:function(e,t,n,o){if(this._blobSaved=!1,s.isDefined(navigator.msSaveOrOpenBlob))navigator.msSaveOrOpenBlob(n,e),this._blobSaved=!0;else if(s.isDefined(window.WinJS))this._winJSBlobSave(n,e,t),this._blobSaved=!0;else{var a=window.URL||window.webkitURL||window.mozURL||window.msURL||window.oURL;if(o=s.isDefined(o)?o:function(){var e=i("#dxExportLink");a.revokeObjectURL(e.attr("href")),e.remove()},s.isDefined(a))return this._linkDownloader(e,a.createObjectURL(n),o)}},saveAs:function(e,t,n,i,l){if(e+="."+r[t],s.isFunction(window.Blob))this._saveBlobAs(e,t,n);else if(s.isDefined(i)&&!s.isDefined(navigator.userAgent.match(/iPad/i)))this._saveByProxy(i,e,t,n);else{if(s.isDefined(navigator.userAgent.match(/iPad/i))||o.log("E1034"),a.msie&&parseInt(a.version)<10)return;this._linkDownloader(e,this._getDataUri(t,n),l)}}}},function(e,t,n){var i=n(8),o=n(7);e.exports=i(o.ERROR_MESSAGES,{E1001:"Module '{0}'. Controller '{1}' is already registered",E1002:"Module '{0}'. Controller '{1}' does not inherit from DevExpress.ui.dxDataGrid.Controller",E1003:"Module '{0}'. View '{1}' is already registered",E1004:"Module '{0}'. View '{1}' does not inherit from DevExpress.ui.dxDataGrid.View",E1005:"Public method '{0}' is already registered",E1006:"Public method '{0}.{1}' does not exist",E1007:"State storing cannot be provided due to the restrictions of the browser",E1010:"The template does not contain the TextBox widget",E1011:'Items cannot be deleted from the List. Implement the "remove" function in the data store',E1012:"Editing type '{0}' with the name '{1}' is unsupported",E1016:"Unexpected type of data source is provided for a lookup column",E1018:"The 'collapseAll' method cannot be called if you use a remote data source",E1019:"Search mode '{0}' is unavailable",E1020:"The type cannot be changed after initialization",E1021:"{0} '{1}' you are trying to remove does not exist",E1022:'The "markers" option is given an invalid value. Assign an array instead',E1023:'The "routes" option is given an invalid value. Assign an array instead',E1025:"This layout is too complex to render",E1026:'The "calculateCustomSummary" function is missing from a field whose "summaryType" option is set to "custom"',E1030:"Unknown ScrollView refresh strategy: '{0}'",E1031:"Unknown subscription in the Scheduler widget: '{0}'",E1032:"Unknown start date in an appointment: '{0}'",E1033:"Unknown step in the date navigator: '{0}'",E1034:"The browser does not implement an API for saving files",E1035:"The editor cannot be created because of an internal error: {0}",E1036:"Validation rules are not defined for any form item",E1037:"Invalid structure of grouped data",E1038:"The browser does not support local storages for local web pages",E1039:"A cell's position cannot be calculated",E1040:"The '{0}' key value is not unique within the data array",E1041:"The JSZip script is referenced after DevExtreme scripts",E1042:'Deferred selection cannot be performed. Set the "key" field for the data store',E1043:"Changes cannot be processed due to the incorrectly set key",E1044:"The key field specified by the keyExpr option does not match the key field specified in the data store",E1045:"Editing requires the key field to be specified in the data store",E1046:"The '{0}' key field is not found in data objects",W1001:'The "key" option cannot be modified after initialization',W1002:"An item with the key '{0}' does not exist",W1003:"A group with the key '{0}' in which you are trying to select items does not exist",W1004:"The item '{0}' you are trying to select in the group '{1}' does not exist",W1005:"Due to column data types being unspecified, data has been loaded twice in order to apply initial filter settings. To resolve this issue, specify data types for all grid columns.",W1006:"The map service returned the '{0}' error",W1007:"No item with key {0} was found in the data source, but this key was used as the parent key for item {1}",W1008:"Cannot scroll to the '{0}' date because it does not exist on the current view"})},function(e,t,n){var i=n(11).extend,o=/(webkit)[ \/]([\w.]+)/,a=/(msie) (\d{1,2}\.\d)/,s=/(trident).*rv:(\d{1,2}\.\d)/,r=/(edge)\/((\d+)?[\w\.]+)/,l=/(safari)/i,c=/(mozilla)(?:.*? rv:([\w.]+))/,d=function(e){e=e.toLowerCase();var t={},n=a.exec(e)||s.exec(e)||r.exec(e)||e.indexOf("compatible")<0&&c.exec(e)||o.exec(e)||[],i=n[1],d=n[2];return"webkit"===i&&e.indexOf("chrome")<0&&l.exec(e)&&(i="safari",t.webkit=!0,d=/Version\/([0-9.]+)/i.exec(e),d=d&&d[1]),"trident"!==i&&"edge"!==i||(i="msie"),i&&(t[i]=!0,t.version=d),t};e.exports=i({_fromUA:d},d(navigator.userAgent))},function(e,t,n){var i=n(25),o=n(14),a=n(11).extend,s=n(26).inArray,r=n(22),l=n(18),c=n(30),d=n(21),u=n(31),h='<?xml version="1.0" encoding="utf-8"?>',p='<sheetPr><outlinePr summaryBelow="0"/></sheetPr>',f="<sheetPr/>",m='<fonts count="2"><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/><b/><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></fonts><fills count="1"><fill><patternFill patternType="none"/></fill></fills><borders count="1"><border><left style="thin"><color rgb="FFD3D3D3"/></left><right style="thin"><color rgb="FFD3D3D3"/></right><top style="thin"><color rgb="FFD3D3D3"/></top><bottom style="thin"><color rgb="FFD3D3D3"/></bottom></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',g="http://schemas.openxmlformats.org",_="rels",v="xl",w="workbook.xml",x="[Content_Types].xml",y="sharedStrings.xml",b="styles.xml",C="worksheets",k="sheet1.xml",I={"boolean":"b",date:"d",number:"n",string:"s"},S=Date.UTC(1899,11,30),D=60,T=4,E=7,A=165;t.ExcelCreator=i.inherit({_getXMLTag:function(e,t,n){var i,a,s="<"+e,r=t.length;for(i=0;i<r;i++)a=t[i],s=s+" "+a.name+'="'+a.value+'"';return o.isDefined(n)?s+">"+n+"</"+e+">":s+" />"},_getCellIndex:function(e,t){var n,i="",o=26;for(this._maxIndex[0]<Number(e)&&(this._maxIndex[0]=Number(e)),this._maxIndex[1]<Number(t)&&(this._maxIndex[1]=Number(t));;){if(n=65+(t>=o?t%o:Math.ceil(t)),i=String.fromCharCode(n)+i,!(t>=o))break;t=Math.floor(t/o)-1}return i+e},_getDataType:function(e){return I[e]||"s"},_formatObjectConverter:function(e,t,n){var i={format:e,precision:t,dataType:n};return o.isObject(e)?a(i,e,{format:e.type,currency:e.currency}):i},_appendFormat:function(e,t,n){var i,o=this._formatObjectConverter(e,t,n);if(e=o.format,t=o.precision,i=o.currency,n=o.dataType,e=u.convertFormat(e,t,n,i))return s(e,this._styleFormat)===-1&&this._styleFormat.push(e),s(e,this._styleFormat)+1},_appendString:function(e){if(o.isDefined(e)&&(e=String(e),e.length))return e=l.encodeHtml(e),void 0===this._stringHash[e]&&(this._stringHash[e]=this._stringArray.length,this._stringArray.push(e)),this._stringHash[e]},_getExcelDateValue:function(e){var t,n;if(o.isDate(e))return t=Math.floor((Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())-S)/864e5),t<D&&t--,n=(3600*e.getHours()+60*e.getMinutes()+e.getSeconds())/86400,t+n},_prepareValue:function(e,t){var n=this._dataProvider,i=n.getCellValue(e,t),a=this._getDataType(n.getCellType(e,t)),s=this._styleArray[this._dataProvider.getStyleId(e,t)].formatID,r=o.isNumeric(s)?this._styleFormat[s-1]:null;switch("d"!==a||o.isDate(i)||(a="s"),a){case"s":i=this._appendString(i);break;case"d":i=this._getExcelDateValue(i,r),a="n"}return{value:i,type:a}},_getDataArray:function(){var e,t,n,i,o,a=this,s=[],r=a._dataProvider,l=r.getRowsCount(),c=r.getColumns();for(e=0;e<l;e++){for(n=[],o=c.length,t=0;t!==o;t++)i=a._prepareValue(e,t),n.push({style:r.getStyleId(e,t),value:i.value,type:i.type});!a._needSheetPr&&r.getGroupLevel(e)>0&&(a._needSheetPr=!0),s.push(n)}return s},_getBoldStyleID:function(e){for(var t=0;t<T-1;t++)if(this._styleArray[t].alignment===e)return t},_calculateWidth:function(e){return e=parseInt(e,10),(!e||e<5)&&(e=100),Math.min(255,Math.floor((e-5)/E*100+.5)/100)},_prepareStyleData:function(){var e=this,t=e._dataProvider.getStyles();e._dataProvider.getColumns().forEach(function(t){e._colsArray.push(e._calculateWidth(t.width))}),t.forEach(function(t){e._styleArray.push({bold:!!t.bold,alignment:t.alignment||"left",formatID:e._appendFormat(t.format,t.precision,t.dataType),wrapText:t.wrapText})})},_prepareCellData:function(){this._cellsArray=this._getDataArray()},_createXMLRelationships:function(e){return this._getXMLTag("Relationships",[{name:"xmlns",value:g+"/package/2006/relationships"}],e)},_createXMLRelationship:function(e,t,n){return this._getXMLTag("Relationship",[{name:"Id",value:"rId"+e},{name:"Type",value:g+"/officeDocument/2006/relationships/"+t},{name:"Target",value:n}])},_getWorkbookContent:function(){var e='<bookViews><workbookView xWindow="0" yWindow="0" windowWidth="0" windowHeight="0"/></bookViews><sheets><sheet name="Sheet" sheetId="1" r:id="rId1" /></sheets><definedNames><definedName name="_xlnm.Print_Titles" localSheetId="0">Sheet!$1:$1</definedName><definedName name="_xlnm._FilterDatabase" hidden="0" localSheetId="0">Sheet!$A$1:$F$6332</definedName></definedNames>';return h+this._getXMLTag("workbook",[{name:"xmlns:r",value:g+"/officeDocument/2006/relationships"},{name:"xmlns",value:g+"/spreadsheetml/2006/main"}],e)},_getContentTypesContent:function(){return h+'<Types xmlns="'+g+'/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="xml" ContentType="application/xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /></Types>'},_generateStylesXML:function(){var e,t=this,n=t._zip.folder(v),i=[],a="";for(e=0;e<t._styleFormat.length;e++)t._styleFormat[e]=t._getXMLTag("numFmt",[{name:"numFmtId",value:Number(e)+A},{name:"formatCode",value:t._styleFormat[e]}]);a=a+t._getXMLTag("numFmts",[{name:"count",value:t._styleFormat.length}],t._styleFormat.join(""))+m,this._styleArray.forEach(function(e){i.push(t._getXMLTag("xf",[{name:"xfId",value:0},{name:"applyAlignment",value:1},{name:"fontId",value:Number(!!e.bold)},{name:"applyNumberFormat",value:o.isDefined(e.formatID)?1:0},{name:"numFmtId",value:o.isDefined(e.formatID)?Number(e.formatID)+A-1:0}],t._getXMLTag("alignment",[{name:"vertical",value:"top"},{name:"wrapText",value:Number(!!e.wrapText)},{name:"horizontal",value:e.alignment}])))}),a+=t._getXMLTag("cellXfs",[{name:"count",value:i.length}],i.join("")),a+=t._getXMLTag("cellStyles",[{name:"count",value:1}],t._getXMLTag("cellStyle",[{name:"name",value:"Normal"},{name:"xfId",value:0},{name:"builtinId",value:0}])),a=h+t._getXMLTag("styleSheet",[{name:"xmlns",value:g+"/spreadsheetml/2006/main"}],a),n.file(b,a),t._styleArray=[]},_generateStringsXML:function(){var e,t=this._zip.folder(v),n=this._stringArray.length,i=h;for(e=0;e<n;e++)this._stringArray[e]=this._getXMLTag("si",[],this._getXMLTag("t",[],this._stringArray[e]));i+=this._getXMLTag("sst",[{name:"xmlns",value:g+"/spreadsheetml/2006/main"},{name:"count",value:this._stringArray.length},{name:"uniqueCount",value:this._stringArray.length}],this._stringArray.join("")),t.file(y,i),this._stringArray=[]},_getPaneXML:function(){var e=[{name:"activePane",value:"bottomLeft"},{name:"state",value:"frozen"}],t=this._dataProvider.getFrozenArea();return t.x||t.y?(t.x&&e.push({name:"xSplit",value:t.x}),t.y&&e.push({name:"ySplit",value:t.y}),e.push({name:"topLeftCell",value:this._getCellIndex(t.y+1,t.x)}),this._getXMLTag("pane",e)):""},_generateWorksheetXML:function(){var e,t,n,i,a,s,r=0,l=[],c=this._cellsArray.length,d=this._colsArray.length,u="1:"+d,h=this._dataProvider.getHeaderRowCount?this._dataProvider.getHeaderRowCount():1,m=[['<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">',this._needSheetPr?p:f,'<dimension ref="A1:',this._getCellIndex(this._maxIndex[0],this._maxIndex[1])+'"/><sheetViews><sheetView '+(this._rtlEnabled?'rightToLeft="1" ':"")+'tabSelected="1" workbookViewId="0">'+this._getPaneXML()+'</sheetView></sheetViews><sheetFormatPr defaultRowHeight="15" outlineLevelRow="',this._dataProvider.getRowsCount()>0?this._dataProvider.getGroupLevel(0):0,'" x14ac:dyDescent="0.25"/>'].join("")];for(e=0;e<d;e++)this._colsArray[e]=this._getXMLTag("col",[{name:"width",value:this._colsArray[e]},{name:"min",value:Number(e)+1},{name:"max",value:Number(e)+1}]);for(m.push(this._getXMLTag("cols",[],this._colsArray.join(""))+"<sheetData>"),t=0;t<c;t++){for(i=[],s=this._cellsArray[t].length,e=0;e<s;e++)t=Number(t),n=this._cellsArray[t][e],i.push(this._getXMLTag("c",[{name:"r",value:this._getCellIndex(t+1,e)},{name:"s",value:n.style},{name:"t",value:n.type}],o.isDefined(n.value)?this._getXMLTag("v",[],n.value):null));l.push(this._getXMLTag("row",[{name:"r",value:Number(t)+1},{name:"spans",value:u},{name:"outlineLevel",value:t>=h?this._dataProvider.getGroupLevel(t):0},{name:"x14ac:dyDescent",value:"0.25"}],i.join(""))),this._cellsArray[t]=null,r++>1e4&&(m.push(l.join("")),l=[],r=0)}m.push(l.join("")),l=[],a=this._getCellIndex(this._maxIndex[0],this._maxIndex[1]),m.push("</sheetData>"+(this._options.autoFilterEnabled?'<autoFilter ref="A'+this._dataProvider.getHeaderRowCount()+":"+a+'" />':"")+this._generateMergingXML()+'<ignoredErrors><ignoredError sqref="A1:'+a+'" numberStoredAsText="1" /></ignoredErrors></worksheet>'),this._zip.folder(v).folder(C).file(k,m.join("")),this._colsArray=[],this._cellsArray=[],m=[]},_generateMergingXML:function(){var e,t,n,i,a,s,r=o.isDefined(this._dataProvider.getHeaderRowCount)?this._dataProvider.getHeaderRowCount():this._dataProvider.getRowsCount(),l=this._dataProvider.getColumns().length,c=[],d=[],u="";for(i=0;i<r;i++)for(n=0;n!==l;n++)if(!o.isDefined(c[i])||!o.isDefined(c[i][n])){var h=this._dataProvider.getCellMerging(i,n);if(h.colspan||h.rowspan)for(d.push({start:this._getCellIndex(i+1,n),end:this._getCellIndex(i+1+(h.rowspan||0),n+(h.colspan||0))}),e=i;e<=i+h.rowspan;e++)for(t=n;t<=n+h.colspan;t++)o.isDefined(c[e])||(c[e]=[]),c[e][t]=!0}for(a=d.length,s=0;s<a;s++)u+=this._getXMLTag("mergeCell",[{name:"ref",value:d[s].start+":"+d[s].end}]);return u.length?this._getXMLTag("mergeCells",[{name:"count",value:a}],u):""},_generateCommonXML:function(){var e,t=h+this._createXMLRelationships(this._createXMLRelationship(1,"officeDocument","xl/"+w)),n=this._zip.folder(v),i=h;this._zip.folder("_"+_).file("."+_,t),e=this._createXMLRelationship(1,"worksheet","worksheets/"+k)+this._createXMLRelationship(2,"styles",b)+this._createXMLRelationship(3,"sharedStrings",y), i+=this._createXMLRelationships(e),n.folder("_"+_).file(w+".rels",i),n.file(w,this._getWorkbookContent()),this._zip.file(x,this._getContentTypesContent())},_generateContent:function(){this._prepareStyleData(),this._prepareCellData(),this._generateWorkXML(),this._generateCommonXML()},_generateWorkXML:function(){this._generateStylesXML(),this._generateStringsXML(),this._generateWorksheetXML()},ctor:function(e,t){this._rtlEnabled=t&&!!t.rtlEnabled,this._options=t,this._maxIndex=[1,2],this._stringArray=[],this._stringHash={},this._styleArray=[],this._colsArray=[],this._cellsArray=[],this._styleFormat=[],this._needSheetPr=!1,this._dataProvider=e,o.isDefined(c)?this._zip=new c:this._zip=null},_checkZipState:function(){if(!this._zip)throw r.Error("E1041")},ready:function(){return this._dataProvider.ready()},getData:function(e){var t={type:e?"blob":"base64",compression:"DEFLATE",mimeType:d.MIME_TYPES.EXCEL};return this._checkZipState(),this._generateContent(),this._zip.generateAsync?this._zip.generateAsync(t):this._zip.generate(t)}}),t.getData=function(e,n,i){var a=new t.ExcelCreator(e,n);a._checkZipState(),a.ready().done(function(){a._zip.generateAsync?a.getData(o.isFunction(window.Blob)).then(i):i(a.getData(o.isFunction(window.Blob)))})}},function(e,t,n){var i=n(7),o=function(e,t,n){return function(){var i=this.callBase;this.callBase=e[t];try{return n.apply(this,arguments)}finally{this.callBase=i}}},a=function(e){var t=function(){};return t.prototype=e.prototype,new t},s=function(e){var t,n,i,a=this;if(!e)return a;for(n in e)i=e[n],t="function"==typeof a.prototype[n]&&"function"==typeof i,a.prototype[n]=t?o(a.parent.prototype,n,i):i;return a},r=function(){var e,t,n,i=this;for(n=0;n<arguments.length;n++){e=arguments[n],e.ctor&&i._includedCtors.push(e.ctor),e.postCtor&&i._includedPostCtors.push(e.postCtor);for(t in e)"ctor"!==t&&"postCtor"!==t&&(i.prototype[t]=e[t])}return i},l=function(e){return this.parent===e||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(e)},c=function(){throw i.Error("E0001")},d=function(){var e=Object.prototype.hasOwnProperty;return function(t,n){for(var i in t){if(!e.call(t,i))return;n[i]=t[i]}}}(),u=function(){};u.inherit=function(e){var t=function(){if(!this||this===window||"function"!=typeof this.constructor)throw i.Error("E0003");var e,t=this,n=t.ctor,o=t.constructor._includedCtors,a=t.constructor._includedPostCtors;for(e=0;e<o.length;e++)o[e].call(t);for(n&&n.apply(t,arguments),e=0;e<a.length;e++)a[e].call(t)};return t.prototype=a(this),d(this,t),t.inherit=this.inherit,t.abstract=c,t.redefine=s,t.include=r,t.subclassOf=l,t.parent=this,t._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],t._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],t.prototype.constructor=t,t.redefine(e),t},u.abstract=c,e.exports=u},function(e,t,n){var i=n(9),o=n(14),a=n(27),s=function(e){return Array.isArray(e)&&!e.length},r=function(e){return Array.isArray(e)?e:[e]},l=function(e,t){if(!Array.isArray(e)||0===e.length||!Array.isArray(t)||0===t.length)return[];var n=[];return i.each(e,function(e,i){var o=u(i,t);o!==-1&&n.push(i)}),n},c=function(e,t){if(!Array.isArray(e)||0===e.length)return[];if(!Array.isArray(t)||0===t.length)return e.slice();var n=[];return i.each(e,function(e,i){var o=u(i,t);o===-1&&n.push(i)}),n},d=function(e,t,n,s){var r={},l=0;return i.each(e,function(e,i){e=i[t],o.isDefined(e)&&(r[e]=r[e]||[],i===n?r[e].unshift(i):r[e].push(i),delete i[t])}),a.orderEach(r,function(e,n){i.each(n,function(){e>=0&&(this[t]=l++)})}),i.each(e,function(){o.isDefined(this[t])||s&&!s(this)||(this[t]=l++)}),l},u=function(e,t){if(!t)return-1;var n=Array.isArray(t)?t:t.toArray();return n.indexOf(e)};t.isEmpty=s,t.wrapToArray=r,t.intersection=l,t.removeDuplicates=c,t.normalizeIndexes=d,t.inArray=u},function(e,t,n){var i=n(9),o=n(14),a=n(12),s=n(28),r=function(){function e(){}return function(t){return e.prototype=t,new e}}(),l=function(e,t){var n,i,a=[];for(n in e)e.hasOwnProperty(n)&&a.push(n);for(a.sort(function(e,t){var n=o.isNumeric(e),i=o.isNumeric(t);return n&&i?e-t:n&&!i?-1:!n&&i?1:e<t?-1:e>t?1:0}),i=0;i<a.length;i++)n=a[i],t(n,e[n])},c=function(e,t,n,i){!i&&s.isWrapped(e[t])?s.assign(e[t],n):e[t]=n},d=function(e,t,n,s){var r,l;for(var u in t)if(r=e[u],l=t[u],e!==l){if(a.isPlainObject(l)&&!(l instanceof i.Event)){var h=n?o.isObject(r):a.isPlainObject(r);l=d(h?r:{},l,n,s)}void 0!==l&&c(e,u,l,s)}return e};t.clone=r,t.orderEach=l,t.deepExtendArraySafe=d},function(e,t,n){var i=n(13).logger,o=n(29);e.exports=o({isWrapped:function(){return!1},isWritableWrapped:function(){return!1},wrap:function(e){return e},unwrap:function(e){return e},assign:function(){i.error("Method 'assign' should not be used for not wrapped variables. Use 'isWrapped' method for ensuring.")}})},function(e,t,n){e.exports=function(e){var t=n(9),i=n(11).extend,o=n(14).isFunction,a=n(25),s=a.inherit(e),r=s,l=new r(e),c={},d=function(n,i){t.each(n,function(t){o(l[t])?!i&&e[t]||(e[t]=function(){return l[t].apply(e,arguments)}):(i&&(c[t]=e[t]),e[t]=l[t])})};return d(e,!0),e.inject=function(e){r=r.inherit(e),l=new r,d(e)},e.resetInjection=function(){i(e,c),r=s,l=new s},e}},function(e,t){e.exports=window.JSZip},function(e,t,n){var i=n(14),o=n(18),a=n(32),s=n(33),r=n(35).getLanguageId,l={quarter:"shortDate",quarterAndYear:"shortDate",minute:"longTime",millisecond:"longTime"},c=" .,:;/\\<>()-",d=1632,u={thousands:"#,##0{0},"K"",millions:"#,##0{0},,"M"",billions:"#,##0{0},,,"B"",trillions:"#,##0{0},,,,"T"",percent:"0{0}%",decimal:"#{0}",fixedpoint:"#,##0{0}",exponential:"0{0}E+00",currency:" "};n(36);var h=e.exports={_applyPrecision:function(e,t){var n,i;if(t>0){for(n="decimal"!==e?".":"",i=0;i<t;i++)n+="0";return n}return""},_getCurrencyFormat:function(e){return a.getOpenXmlCurrencyFormat(e)},_isDigit:function(e){var t=e&&e.charCodeAt(0);return e>="0"&&e<="9"||t>=d&&t<d+10},_getDifference:function(e,t,n){var i,o=0,a=this,s=[],r=function(t){return e[o]!==t[o]};for(Array.isArray(t)||(t=[t]),o=0;o<e.length;o++)if(n.indexOf(o)<0&&t.filter(r).length){do{if(i=a._isDigit(e[o]),!s.length&&!i&&a._isDigit(t[0][o]))break;s.push(o),n.unshift(o),o++}while(e[o]&&c.indexOf(e[o])<0&&i===a._isDigit(e[o]));break}return 1!==s.length||"0"!==e[n[0]-1]&&"٠"!==e[n[0]-1]||n.unshift(n[0]-1),s},_replaceCharsCore:function(e,t,n,i){var o=t[0],a=o<i.length?i[o]:o;return t.forEach(function(t,i){e=e.substr(0,a+i)+(n.length>1?n[i]:n)+e.substr(a+i+1)}),1===t.length&&(e=e.replace("0"+n,n+n),e=e.replace("٠"+n,n+n)),e},_replaceChars:function(e,t,n,i){var o,a,s;if(!this._isDigit(e[t[0]]||"0")){for(var r=Math.max(t.length<=3?3:4,n.length);t.length>r;){for(a=t.pop(),s=i[a],i[a]=-1,o=a+1;o<i.length;o++)i[o]--;e=e.substr(0,s)+e.substr(s+1)}for(a=t[t.length-1]+1,s=a<i.length?i[a]:a;t.length<r;){for(t.push(t[t.length-1]+1),o=a;o<i.length;o++)i[o]++;e=e.substr(0,s)+" "+e.substr(s)}}return e=this._replaceCharsCore(e,t,n,i)},_format:function(e,t){return Array.isArray(e)?e.map(function(e){return(s.format(e,t)||"").toString()}):(s.format(e,t)||"").toString()},_escapeChars:function(e,t,n,i){var o=t.split("").map(function(e,t){return n.indexOf(t)<0&&(c.indexOf(e)<0||"/"===e)?i[t]:-1});return e=e.split("").map(function(e,t){return o.indexOf(t)>=0?"\\"+e:e}).join(""),e=e.replace("AM\\/PM","AM/PM")},_hasArabicDigits:function(e){for(var t,n=0;n<e.length;n++)if(t=e.charCodeAt(n),t>=d&&t<d+10)return!0;return!1},_convertDateFormat:function(e){e=l[e&&e.type||e]||e;var t=this,n=[],i=t._format(new Date(2009,8,8,6,5,4),e),o=i.split("").map(function(e,t){return t}),a=i,s=[{date:new Date(2009,8,8,6,5,2),pattern:"s"},{date:new Date(2009,8,8,6,2,4),pattern:"m"},{date:new Date(2009,8,8,2,5,4),pattern:"H"},{date:new Date(2009,8,8,18,5,4),pattern:"AM/PM"},{date:new Date(2009,8,1,6,5,4),pattern:"d"},{date:[new Date(2009,8,2,6,5,4),new Date(2009,8,3,6,5,4),new Date(2009,8,4,6,5,4)],pattern:"d"},{date:new Date(2009,9,6,6,5,4),pattern:"M"},{date:new Date(1998,8,8,6,5,4),pattern:"y"}];if(a)return s.forEach(function(s){var r=t._getDifference(i,t._format(s.date,e),n);a=t._replaceChars(a,r,s.pattern,o)}),a=t._escapeChars(a,i,n,o),a=t._getLanguageInfo(i)+a},_getLanguageInfo:function(e){var t=r(),n=t?t.toString(16):"",i="";if(this._hasArabicDigits(e)){for(;n.length<3;)n="0"+n;i="[$-2010"+n+"]"}else n&&(i="[$-"+n+"]");return i},_convertNumberFormat:function(e,t,n){var i,a="currency"===e?this._getCurrencyFormat(n):u[e.toLowerCase()];return a&&(i=o.format(a,this._applyPrecision(e,t))),i},convertFormat:function(e,t,n,o){if(i.isDefined(e)){if("date"===n)return h._convertDateFormat(e);if(i.isString(e)&&u[e.toLowerCase()])return h._convertNumberFormat(e,t,o)}}}},function(e,t,n){var i=n(9),o=n(29),a=n(26).inArray,s=n(12).isPlainObject,r=n(7),l=4,c=10,d=["currency","fixedpoint","exponential","percent","decimal"],u={1:"K",2:"M",3:"B",4:"T"},h={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},p=o({numericFormats:d,defaultLargeNumberFormatPostfixes:u,_parseNumberFormatString:function(e){var t,n={};if(e&&"string"==typeof e)return t=e.split(" "),i.each(t,function(e,t){a(t,d)>-1?n.formatType=t:t in h&&(n.power=h[t])}),n.power&&!n.formatType&&(n.formatType="fixedpoint"),n.formatType?n:void 0},_calculateNumberPower:function(e,t,n,i){var o=Math.abs(e),a=0;if(o>1)for(;o&&o>=t&&(void 0===i||a<i);)a++,o/=t;else if(o>0&&o<1)for(;o<1&&(void 0===n||a>n);)a--,o*=t;return a},_getNumberByPower:function(e,t,n){for(var i=e;t>0;)i/=n,t--;for(;t<0;)i*=n,t++;return i},_formatNumber:function(e,t,n){var i,o;return"auto"===t.power&&(t.power=this._calculateNumberPower(e,1e3,0,l)),t.power&&(e=this._getNumberByPower(e,t.power,1e3)),i=this.defaultLargeNumberFormatPostfixes[t.power]||"",o=this._formatNumberCore(e,t.formatType,n),o=o.replace(/(\d|.$)(\D*)$/,"$1"+i+"$2")},_formatNumberExponential:function(e,t){var n,i=this._calculateNumberPower(e,c),o=this._getNumberByPower(e,i,c);return void 0===t.precision&&(t.precision=1),o.toFixed(t.precision||0)>=c&&(i++,o/=c),n=(i>=0?"+":"")+i.toString(),this._formatNumberCore(o,"fixedpoint",t)+"E"+n},_addZeroes:function(e,t){var n=Math.pow(10,t);e=(e*n>>>0)/n;for(var i=e.toString();i.length<t;)i="0"+i;return i},_addGroupSeparators:function(e){var t=e.toString().split(".");return t[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")+(t[1]?"."+t[1]:"")},_formatNumberCore:function(e,t,n){return"exponential"===t?this._formatNumberExponential(e,n):("decimal"!==t&&null!==n.precision&&(n.precision=n.precision||0),"percent"===t&&(e=100*e),void 0!==n.precision&&(e="decimal"===t?this._addZeroes(e,n.precision):null===n.precision?e.toPrecision():e.toFixed(n.precision)),"decimal"!==t&&(e=this._addGroupSeparators(e)),"percent"===t&&(e+="%"),e.toString())},_normalizeFormat:function(e){return e?"function"==typeof e?e:(s(e)||(e={type:e}),e.type&&(e.type=e.type.toLowerCase()),e):{}},format:function(e,t){if("number"!=typeof e)return e;if("number"==typeof t)return e;if(t=t&&t.formatter||t,"function"==typeof t)return t(e);t=this._normalizeFormat(t),t.type||(t.type="decimal");var n=this._parseNumberFormatString(t.type);return n?this._formatNumber(e,n,t):void 0},parse:function(e,t){if(e)return t&&t.parser?t.parser(e):(t&&r.log("W0011"),parseFloat(e.replace(/^\D+|,+/g,"")))}});e.exports=p},function(e,t,n){var i=n(9),o=n(32),a=n(29),s=n(14).isString,r=n(26).inArray,l=n(7);n(34);var c={shortdate:"M/d/y",shorttime:"h:mm a",longdate:"EEEE, MMMM d, y",longtime:"h:mm:ss a",monthandday:"MMMM d",monthandyear:"MMMM y",quarterandyear:"QQQ y",day:"d",year:"y",shortdateshorttime:"M/d/y, h:mm a",mediumdatemediumtime:"MMMM d, h:mm a",longdatelongtime:"EEEE, MMMM d, y, h:mm:ss a",month:"LLLL",shortyear:"yy",dayofweek:"EEEE",quarter:"QQQ",hour:"HH",minute:"mm",second:"ss",millisecond:"SSS","datetime-local":"yyyy-MM-ddTHH':'mm':'ss"},d=function(e){var t=new Date,n=e.split(" "),i=n[0].split(":"),o=Number(i[0]),a=Number(i[1]),s=Number(i[2])||0,r=/^pm$/i.test(n[1]),l=s<60&&a<60&&o>0&&o<13;return l?(r||12!==o||(o=0),r&&12!==o&&(o+=12),new Date(t.getFullYear(),t.getMonth(),t.getDate(),o,a,s)):null},u=function(e){return new Date(e.valueOf()+60*e.getTimezoneOffset()*1e3)},h=["January","February","March","April","May","June","July","August","September","October","November","December"],p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=function(e){return e.getHours()>=12?"PM":"AM"},m=function(e){return e%12||12},g=function(e,t){return o.format(e,{type:"decimal",precision:t})},_={millisecond:function(e){return g(e.getMilliseconds(e),3)},second:function(e){return g(e.getSeconds(),2)},minute:function(e){return g(e.getMinutes(),2)},h:function(e){return g(m(e.getHours()),1)},hh:function(e){return g(m(e.getHours()),2)},hour:function(e){return g(e.getHours(),2)},day:function(e){return String(e.getDate())},dayofweek:function(e){return p[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return g(e.getMonth()+1,2)},month:function(e){return h[e.getMonth()]},year:function(e){return String(e.getFullYear())},shortyear:function(e){return String(e.getFullYear()).substr(2,2)},shorttime:function(e){return _.h(e)+":"+_.minute(e)+" "+f(e)},shortdate:function(e){return[_.M(e),_.day(e),_.year(e)].join("/")},shortdateshorttime:function(e){return[_.shortdate(e),_.shorttime(e)].join(", ")},mediumdatemediumtime:function(e){return[_.monthandday(e),_.shorttime(e)].join(", ")},monthandyear:function(e){return[_.month(e),_.year(e)].join(" ")},monthandday:function(e){return[_.month(e),_.day(e)].join(" ")},longdate:function(e){return _.dayofweek(e)+", "+_.month(e)+" "+_.day(e)+", "+_.year(e)},longtime:function(e){return[_.h(e),_.minute(e),_.second(e)].join(":")+" "+f(e)},longdatelongtime:function(e){return[_.longdate(e),_.longtime(e)].join(", ")},d:function(e){return g(e.getDate(),1)},dd:function(e){return g(e.getDate(),2)},"d MMMM":function(e){return _.day(e)+" "+_.month(e)},"yyyy/M/d":function(e){return[_.year(e),_.M(e),_.day(e)].join("/")},"yyyy/MM/dd":function(e){return[_.year(e),_.MM(e),_.dd(e)].join("/")},"dd.MM.yyyy":function(e){return[_.dd(e),_.MM(e),_.year(e)].join(".")},"HH:mm":function(e){return[_.hour(e),_.minute(e)].join(":")},"HH:mm:ss":function(e){return[_["HH:mm"](e),_.second(e)].join(":")},"h:mm:ss":function(e){return[_.h(e),_.minute(e),_.second(e)].join(":")},"h:mm:ss:SSS":function(e){return[_.h(e),_.minute(e),_.second(e),_.SSS(e)].join(":")},"yyyy/MM/dd HH:mm:ss":function(e){return[_["yyyy/MM/dd"](e),_["HH:mm:ss"](e)].join(" ")},"yyyy-MM-dd hh:mm:ss.SSS a":function(e){return[[_.year(e),_.MM(e),_.dd(e)].join("-"),[_.hh(e),_.minute(e),_.second(e)].join(":")+"."+_.SSS(e),f(e)].join(" ")},"yyyy-MM-dd":function(e){return[_.year(e),_.MM(e),_.dd(e)].join("-")},yyyyMMddTHHmmss:function(e){return[_.year(e),_.MM(e),_.dd(e),"T",_.hour(e),_.minute(e),_.second(e)].join("")},"datetime-local":function(e){return _["yyyy-MM-dd"](e)+"T"+_["HH:mm:ss"](e)},"yyyy-MM-ddTHH:mm:ssZ":function(e){return _["datetime-local"](e)+"Z"},"yyyy-MM-ddTHH:mmZ":function(e){return _["yyyy-MM-dd"](e)+"T"+_.hour(e)+":"+_.minute(e)+"Z"},"dd/MM/yyyy":function(e){return[_.dd(e),_.MM(e),_.year(e)].join("/")},"yyyy MMMM d":function(e){return[_.year(e),_.month(e),_.day(e)].join(" ")},"EEEE, d":function(e){return[_.dayofweek(e),_.d(e)].join(", ")},"EEEE MM yy":function(e){return[_.dayofweek(e),_.MM(e),_.shortyear(e)].join(" ")},"d MMMM yyyy":function(e){return[_.day(e),_.month(e),_.year(e)].join(" ")},E:function(e){return y([_.dayofweek(e)],"abbreviated")[0]},EEE:function(e){return _.E(e)},"EEE hh":function(e){return[_.EEE(e),_.hh(e)].join(" ")},"ss SSS":function(e){return[_.second(e),_.SSS(e)].join(" ")},quarter:function(e){var t=e.getMonth();return t>=0&&t<3?"Q1":t>2&&t<6?"Q2":t>5&&t<9?"Q3":"Q4"},quarterandyear:function(e){return _.quarter(e)+" "+_.year(e)}},v=function(e){return"Z"!==e.slice(-1)&&(e+="Z"),u(new Date(e))},w={day:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),Number(e))},hour:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),Number(e))},minute:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),Number(e))},month:function(e){return new Date((new Date).getFullYear(),r(e,h))},monthandday:function(e){var t=e.split(" "),n=w.month(t[0]);return n.setDate(Number(t[1])),n},monthandyear:function(e){var t=e.split(" "),n=w.month(t[0]);return n.setYear(Number(t[1])),n},year:function(e){var t=new Date(new Date(0));return t.setUTCFullYear(Number(e)),u(t)},second:function(e){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),Number(e))},shortyear:function(e){var t=36,n=Number(e);return n+=n>t?1900:2e3,w.year(n)},shortdate:function(e){if(/^(0?[1-9]|1[012])\/(0?[1-9]|[12][0-9]|3[01])\/\d{1,4}/.test(e)){var t=e.split("/"),n=new Date(Number(t[2]),Number(t[0])-1,Number(t[1]));return t[2].length<3&&n.setFullYear(Number(t[2]),Number(t[0])-1,Number(t[1])),n}},longtime:function(e){return d(e)},shorttime:function(e){return d(e)},millisecond:function(e){return new Date(Number(e))},"yyyy MMMM d":function(e){var t=e.split(" ");if(3===t.length)return new Date(Number(t[0]),r(t[1],h),Number(t[2]))},"HH:mm":function(e){var t=e.split(":");return new Date(0,0,0,Number(t[0]),Number(t[1]),0,0)},"yyyy-MM-ddTHH:mm:ssZ":v,"yyyy-MM-ddTHH:mmZ":v,"datetime-local":v,mediumdatemediumtime:function(e){var t=e.split(", "),n=t[0].split(" "),i=t[1].split(" "),o=2===i.length?i.pop():void 0,a=w.month(n[0]);a.setDate(Number(n[1])),i=i[0].split(":");var s=Number(i[0]);switch(String(o).toLowerCase()){case"am":s=12===s?0:s;break;case"pm":s=12===s?12:s+12}return a.setHours(s),a.setMinutes(Number(i[1])),a}};i.each(c,function(e,t){t=t.replace(/'/g,""),_[t]=_[e],w[t]=w[e]});var x=function(e,t){return s(t)&&(e[t.toLowerCase()]||e[t.replace(/'/g,"")])},y=function(e,t){var n={abbreviated:3,"short":2,narrow:1};return i.map(e,function(e){return e.substr(0,n[t])})},b={year:["y","yy","yyyy"],day:["d","dd"],month:["M","MM","MMM","MMMM"],hours:["H","HH","h","hh","ah"],minutes:["m","mm"],seconds:["s","ss"],milliseconds:["S","SS","SSS"]},C=a({_getPatternByFormat:function(e){return c[e.toLowerCase()]},_expandPattern:function(e){return this._getPatternByFormat(e)||e},formatUsesMonthName:function(e){return this._expandPattern(e).indexOf("MMMM")!==-1},formatUsesDayName:function(e){return this._expandPattern(e).indexOf("EEEE")!==-1},getFormatParts:function(e){var t=this._getPatternByFormat(e)||e,n=[];return i.each(t.split(/\W+/),function(e,t){i.each(b,function(e,i){r(t,i)>-1&&n.push(e)})}),n},getMonthNames:function(e){return y(h,e)},getDayNames:function(e){return y(p,e)},getTimeSeparator:function(){return":"},format:function(e,t){if(e){if(!t)return e;var n;if("function"==typeof t?n=t:t.formatter?n=t.formatter:(t=t.type||t,n=x(_,t)),n)return n(e)}},parse:function(e,t){var n,i;if(e){if(!t)return new Date(e);if(t.parser)return t.parser(e);if((t.type||t.formatter)&&(t=t.type),t&&"function"!=typeof t&&(i=x(w,t)),i?n=i(e):(l.log("W0012"),n=new Date(e)),n&&!isNaN(n.getTime()))return n}},firstDayOfWeekIndex:function(){return 0}});e.exports=C},function(e,t,n){var i=n(29);e.exports=i({locale:function(){var e="en";return function(t){return t?void(e=t):e}}()})},function(e,t,n){var i=n(34).locale,o={ar:1,bg:2,ca:3,"zh-Hans":4,cs:5,da:6,de:7,el:8,en:9,es:10,fi:11,fr:12,he:13,hu:14,is:15,it:16,ja:17,ko:18,nl:19,no:20,pl:21,pt:22,rm:23,ro:24,ru:25,hr:26,sk:27,sq:28,sv:29,th:30,tr:31,ur:32,id:33,uk:34,be:35,sl:36,et:37,lv:38,lt:39,tg:40,fa:41,vi:42,hy:43,az:44,eu:45,hsb:46,mk:47,tn:50,xh:52,zu:53,af:54,ka:55,fo:56,hi:57,mt:58,se:59,ga:60,ms:62,kk:63,ky:64,sw:65,tk:66,uz:67,tt:68,bn:69,pa:70,gu:71,or:72,ta:73,te:74,kn:75,ml:76,as:77,mr:78,sa:79,mn:80,bo:81,cy:82,km:83,lo:84,gl:86,kok:87,syr:90,si:91,iu:93,am:94,tzm:95,ne:97,fy:98,ps:99,fil:100,dv:101,ha:104,yo:106,quz:107,nso:108,ba:109,lb:110,kl:111,ig:112,ii:120,arn:122,moh:124,br:126,ug:128,mi:129,oc:130,co:131,gsw:132,sah:133,qut:134,rw:135,wo:136,prs:140,gd:145,"ar-SA":1025,"bg-BG":1026,"ca-ES":1027,"zh-TW":1028,"cs-CZ":1029,"da-DK":1030,"de-DE":1031,"el-GR":1032,"en-US":1033,"fi-FI":1035,"fr-FR":1036,"he-IL":1037,"hu-HU":1038,"is-IS":1039,"it-IT":1040,"ja-JP":1041,"ko-KR":1042,"nl-NL":1043,"nb-NO":1044,"pl-PL":1045,"pt-BR":1046,"rm-CH":1047,"ro-RO":1048,"ru-RU":1049,"hr-HR":1050,"sk-SK":1051,"sq-AL":1052,"sv-SE":1053,"th-TH":1054,"tr-TR":1055,"ur-PK":1056,"id-ID":1057,"uk-UA":1058,"be-BY":1059,"sl-SI":1060,"et-EE":1061,"lv-LV":1062,"lt-LT":1063,"tg-Cyrl-TJ":1064,"fa-IR":1065,"vi-VN":1066,"hy-AM":1067,"az-Latn-AZ":1068,"eu-ES":1069,"hsb-DE":1070,"mk-MK":1071,"tn-ZA":1074,"xh-ZA":1076,"zu-ZA":1077,"af-ZA":1078,"ka-GE":1079,"fo-FO":1080,"hi-IN":1081,"mt-MT":1082,"se-NO":1083,"ms-MY":1086,"kk-KZ":1087,"ky-KG":1088,"sw-KE":1089,"tk-TM":1090,"uz-Latn-UZ":1091,"tt-RU":1092,"bn-IN":1093,"pa-IN":1094,"gu-IN":1095,"or-IN":1096,"ta-IN":1097,"te-IN":1098,"kn-IN":1099,"ml-IN":1100,"as-IN":1101,"mr-IN":1102,"sa-IN":1103,"mn-MN":1104,"bo-CN":1105,"cy-GB":1106,"km-KH":1107,"lo-LA":1108,"gl-ES":1110,"kok-IN":1111,"syr-SY":1114,"si-LK":1115,"iu-Cans-CA":1117,"am-ET":1118,"ne-NP":1121,"fy-NL":1122,"ps-AF":1123,"fil-PH":1124,"dv-MV":1125,"ha-Latn-NG":1128,"yo-NG":1130,"quz-BO":1131,"nso-ZA":1132,"ba-RU":1133,"lb-LU":1134,"kl-GL":1135,"ig-NG":1136,"ii-CN":1144,"arn-CL":1146,"moh-CA":1148,"br-FR":1150,"ug-CN":1152,"mi-NZ":1153,"oc-FR":1154,"co-FR":1155,"gsw-FR":1156,"sah-RU":1157,"qut-GT":1158,"rw-RW":1159,"wo-SN":1160,"prs-AF":1164,"gd-GB":1169,"ar-IQ":2049,"zh-CN":2052,"de-CH":2055,"en-GB":2057,"es-MX":2058,"fr-BE":2060,"it-CH":2064,"nl-BE":2067,"nn-NO":2068,"pt-PT":2070,"sr-Latn-CS":2074,"sv-FI":2077,"az-Cyrl-AZ":2092,"dsb-DE":2094,"se-SE":2107,"ga-IE":2108,"ms-BN":2110,"uz-Cyrl-UZ":2115,"bn-BD":2117,"mn-Mong-CN":2128,"iu-Latn-CA":2141,"tzm-Latn-DZ":2143,"quz-EC":2155,"ar-EG":3073,"zh-HK":3076,"de-AT":3079,"en-AU":3081,"es-ES":3082,"fr-CA":3084,"sr-Cyrl-CS":3098,"se-FI":3131,"quz-PE":3179,"ar-LY":4097,"zh-SG":4100,"de-LU":4103,"en-CA":4105,"es-GT":4106,"fr-CH":4108,"hr-BA":4122,"smj-NO":4155,"ar-DZ":5121,"zh-MO":5124,"de-LI":5127,"en-NZ":5129,"es-CR":5130,"fr-LU":5132,"bs-Latn-BA":5146,"smj-SE":5179,"ar-MA":6145,"en-IE":6153,"es-PA":6154,"fr-MC":6156,"sr-Latn-BA":6170,"sma-NO":6203,"ar-TN":7169,"en-ZA":7177,"es-DO":7178,"sr-Cyrl-BA":7194,"sma-SE":7227,"ar-OM":8193,"en-JM":8201,"es-VE":8202,"bs-Cyrl-BA":8218,"sms-FI":8251,"ar-YE":9217,"en-029":9225,"es-CO":9226,"sr-Latn-RS":9242,"smn-FI":9275,"ar-SY":10241,"en-BZ":10249,"es-PE":10250,"sr-Cyrl-RS":10266,"ar-JO":11265,"en-TT":11273,"es-AR":11274,"sr-Latn-ME":11290,"ar-LB":12289,"en-ZW":12297,"es-EC":12298,"sr-Cyrl-ME":12314,"ar-KW":13313,"en-PH":13321,"es-CL":13322,"ar-AE":14337,"es-UY":14346,"ar-BH":15361,"es-PY":15370,"ar-QA":16385,"en-IN":16393,"es-BO":16394,"en-MY":17417,"es-SV":17418,"en-SG":18441,"es-HN":18442,"es-NI":19466,"es-PR":20490,"es-US":21514,"bs-Cyrl":25626,"bs-Latn":26650,"sr-Cyrl":27674,"sr-Latn":28698,smn:28731,"az-Cyrl":29740,sms:29755,zh:30724,nn:30740,bs:30746,"az-Latn":30764,sma:30779,"uz-Cyrl":30787,"mn-Cyrl":30800,"iu-Cans":30813,"zh-Hant":31748,nb:31764,sr:31770,"tg-Cyrl":31784,dsb:31790,smj:31803,"uz-Latn":31811,"mn-Mong":31824,"iu-Latn":31837,"tzm-Latn":31839,"ha-Latn":31848};t.getLanguageId=function(){return o[i()]}},function(e,t,n){var i=n(11).extend,o=n(32);o.inject({_formatNumberCore:function(e,t,n){return"currency"===t?(n.precision=n.precision||0,this.getCurrencySymbol().symbol+this.format(e,i({},n,{type:"fixedpoint"}))):this.callBase.apply(this,arguments)},getCurrencySymbol:function(){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(){return"$#,##0{0}_);\\($#,##0{0}\\)"}})},function(e,t,n){function i(e,t,n){var i=H("<canvas>")[0];return i.width=e+(n?0:2*oe.x),i.height=t+(n?0:2*oe.y),i}function o(e,t){var n=e.toDataURL(t,ne),i=atob(n.substring(("data:"+t+";base64,").length));return i}function a(e,t,n,i,o,a,s,r){var l,c,d,u,h,p,f=(e+n)/2,m=(t+i)/2,g=Y(t-i,e-n),_=a?1:-1;g+=90*(G/180)*(s?1:-1),l=U(Q(n-e,2)+Q(i-t,2))/2,c=U(K(Q(o,2)-Q(l,2))),d=f+_*(c*Z(g)),u=m+_*(c*X(g)),h=Y(t-u,e-d),p=Y(i-u,n-d),r.arc(d,u,o,h,p,!s)}function s(e){var t,n=le(e.attributes||{}),i=e.style||{},o=ee({},n,{text:e.textContent.replace(/\s+/g," "),textAlign:"middle"===n["text-anchor"]?"center":n["text-anchor"]}),a=n.transform;return a&&(t=a.match(/translate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/),t&&(t=t[0].match(/-*\d+([.]\d+)*/g),o.translateX=te(t[0]),o.translateY=t[1]?te(t[1]):0),t=a.match(/rotate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*,*\s*-*\d+([.]\d+)*)*/),t&&(t=t[0].match(/-*\d+([.]\d+)*/g),o.rotationAngle=te(t[0]),o.rotationX=t[1]&&te(t[1]),o.rotationY=t[2]&&te(t[2]))),d(i,o),o}function r(e,t){var n=t.x,i=t.y,o=t.width,a=t.height,s=t.rx;s?(s=j(s,o/2,a/2),e.save(),e.translate(n,i),e.moveTo(o/2,0),e.arcTo(o,0,o,a,s),e.arcTo(o,a,0,a,s),e.arcTo(0,a,0,0,s),e.arcTo(0,0,s,0,s),e.lineTo(o/2,0),e.restore()):e.rect(t.x,t.y,t.width,t.height)}function l(e,t){var n=H.Deferred(),i=new Image;i.onload=function(){e.save(),e.globalAlpha=t.globalAlpha,b(e,t),C(e,t),e.drawImage(i,t.x,t.y,t.width,t.height),e.restore(),n.resolve()},i.onerror=function(){n.resolve()},P.push(n),i.setAttribute("crossOrigin","anonymous"),i.src=t["xlink:href"]}function c(e,t){var n,i,o=t.split(" "),s=0;do switch(n=te(o[s+1]),i=te(o[s+2]),o[s]){case"M":e.moveTo(n,i),s+=3;break;case"L":e.lineTo(n,i),s+=3;break;case"C":e.bezierCurveTo(n,i,te(o[s+3]),te(o[s+4]),te(o[s+5]),te(o[s+6])),s+=7;break;case"A":a(te(o[s-2]),te(o[s-1]),te(o[s+6]),te(o[s+7]),n,te(o[s+4]),te(o[s+5]),e),s+=8;break;case"Z":e.closePath(),s+=1}while(s<o.length)}function d(e,t){J(e,function(n,i){""!==e[i]&&(t[W(i)]=e[i])}),t.textDecoration=t.textDecoration||t.textDecorationLine,t.globalAlpha=t.opacity||t.globalAlpha}function u(e){var t=e&&e.match(/url\(.*\#(.*?)["']?\)/i);return t&&t[1]}function h(e,t){var n=[];t.fontSize=t.fontSize||ae,t.fontFamily||se,t.fill=t.fill||re,t.fontStyle&&n.push(t.fontStyle),t.fontWeight&&n.push(t.fontWeight),n.push(t.fontSize),n.push(t.fontFamily),e.font=n.join(" "),e.textAlign=t.textAlign,e.fillStyle=t.fill,e.globalAlpha=t.globalAlpha}function p(e,t){h(e,t),t.text&&e.fillText(t.text,t.x||0,t.y||0),T(e,t,!0),f(e,t)}function f(e,t){if(t.textDecoration&&"none"!==t.textDecoration){var n=t.x,i=e.measureText(t.text).width,o=parseInt(t.fontSize,10),a=o*ie<1?1:o*ie,s=t.y;switch(t.textDecoration){case"line-through":s-=o/3+a/2;break;case"overline":s-=o-a;break;case"underline":s+=a}e.rect(n,s,i,a),A(e,t),T(e,t)}}function m(e){O[e.attributes.id.textContent]=e.childNodes[0]}function g(e){V[e.attributes.id.textContent]=e}function _(e){e.strokeOpacity=void 0!==e["stroke-opacity"]?e["stroke-opacity"]:1,e.fillOpacity=void 0!==e["fill-opacity"]?e["fill-opacity"]:1,void 0!==e.opacity&&(e.strokeOpacity*=e.opacity,e.fillOpacity*=e.opacity)}function v(e){for(var t=e.childNodes,n=0;n<t.length;n++)if("tspan"===t[n].tagName)return!0;return!1}function w(e,t,n){for(var i,o=[],a=0,r=0;r<e.length;r++){var l=e[r];if(void 0===l.tagName)x(l,t,n);else if("tspan"===l.tagName||"text"===l.tagName){var c=s(l),d=ee({},n,c);if("tspan"===l.tagName&&v(l)){w(l.childNodes,t,d);continue}d.textAlign="start",i&&void 0===c.x||(i={elements:[],options:[],widths:[],offsets:[]},o.push(i)),void 0!==c.dy&&(a+=Number(c.dy)),i.elements.push(l),i.options.push(d),i.offsets.push(a),h(t,d),i.widths.push(t.measureText(d.text).width)}}o.forEach(function(e){var i=e.widths.reduce(function(e,t){return e+t},0),o=0,a=0;"center"===n.textAlign&&(o=i/2),"end"===n.textAlign&&(o=i),e.options.forEach(function(t,n){var i=e.widths[n];t.x=t.x-o+a,t.y+=e.offsets[n],a+=i}),e.elements.forEach(function(n,i){w(n.childNodes,t,e.options[i])})})}function x(e,t,n){var i=e.tagName,o="text"===i||"tspan"===i||void 0===i,a="image"===i,d=ee({},n,s(e));if("hidden"!==d.visibility){switch(t.save(),!a&&b(t,d),C(t,d),_(d),t.beginPath(),e.tagName){case void 0:p(t,d);break;case"text":case"tspan":w(e.childNodes,t,d);break;case"image":l(t,d);break;case"path":c(t,d.d);break;case"rect":r(t,d),t.closePath();break;case"circle":t.arc(d.cx,d.cy,d.r,0,2*G,1)}y(t,d),o||(A(t,d),T(t,d)),t.restore()}}function y(e,t){var n,i=u(t.filter);i&&(n=F&&F[i],n||(n={offsetX:0,offsetY:0,blur:0,color:"#000"}),e.shadowOffsetX=n.offsetX,e.shadowOffsetY=n.offsetY,e.shadowColor=n.color,e.shadowBlur=n.blur)}function b(e,t){e.translate(t.translateX||0,t.translateY||0),delete t.translateX,delete t.translateY,t.rotationAngle&&(e.translate(t.rotationX||0,t.rotationY||0),e.rotate(t.rotationAngle*G/180),e.translate(-(t.rotationX||0),-(t.rotationY||0)),delete t.rotationAngle,delete t.rotationX,delete t.rotationY)}function C(e,t){t["clip-path"]&&(x(O[u(t["clip-path"])],e,{}),e.clip(),delete t["clip-path"])}function k(e,t){var n=new L(e);return"rgba("+n.r+","+n.g+","+n.b+","+t+")"}function I(e){var t,n,i={};J(e.childNodes,function(e,o){var a=o.attributes;if(a.result)switch(a.result.value){case"gaussianBlurResult":a.stdDeviation&&(i.blur=te(a.stdDeviation.value));break;case"offsetResult":i.offsetX=te(a.dx.value),i.offsetY=te(a.dy.value);break;case"floodResult":t=a["flood-color"]?a["flood-color"].value:"#000",n=a["flood-opacity"]?a["flood-opacity"].value:1,i.color=k(t,n)}}),F[e.id]=i}function S(e,t,n){var i;J(e,function(e,o){switch(o.tagName&&o.tagName.toLowerCase()){case"g":i=ee({},n,s(o)),t.save(),b(t,i),C(t,i),S(o.childNodes,t,i),t.restore();break;case"defs":O={},V={},F={},S(o.childNodes,t);break;case"clippath":m(o);break;case"pattern":g(o);break;case"filter":I(o);break;default:x(o,t,n)}})}function D(e,t){var n=t["stroke-dasharray"]&&t["stroke-dasharray"].match(/(\d+)/g);n&&n.length&&e.setLineDash&&(n=H.map(n,function(e){return te(e)}),e.setLineDash(n))}function T(e,t,n){var i=t.stroke;i&&"none"!==i&&0!==t["stroke-width"]&&(D(e,t),e.lineJoin=t["stroke-linejoin"],e.lineWidth=t["stroke-width"],e.globalAlpha=t.strokeOpacity,e.strokeStyle=i,n?e.strokeText(t.text,t.x,t.y):e.stroke())}function E(e,t){var n=V[u(t)],o=s(n),a=i(o.width,o.height,!0),r=a.getContext("2d");return S(n.childNodes,r,o),e.createPattern(a,"repeat")}function A(e,t){var n=t.fill;n&&"none"!==n&&(e.fillStyle=n.search(/url/)===-1?n:E(e,n),e.globalAlpha=t.fillOpacity,e.fill())}function B(e,t,n,i){e.fillStyle=i||"#ffffff",e.fillRect(-oe.x,-oe.y,t+2*oe.x,n+2*oe.y)}function M(e,t,n,o){var a=i(t,n),s=a.getContext("2d"),r=new DOMParser,l=r.parseFromString(e,"image/svg+xml"),c=l.childNodes[0];return s.translate(oe.x,oe.y),P=[],document.getElementById('mw-content-text').appendChild(a),c.attributes.direction&&(a.dir=c.attributes.direction.textContent),B(s,t,n,o),S(c.childNodes,s,{}),document.body.removeChild(a),a}function R(e,t,n){$.apply(H,P).done(function(){var i=o(t,n);e.resolve(i)})}var O,P,V,F,H=n(9),L=n(38),z=n(14),N=n(11).extend,W=n(39).camelize,$=n(16).when,q=Math,G=q.PI,j=q.min,K=q.abs,U=q.sqrt,Q=q.pow,Y=q.atan2,Z=q.cos,X=q.sin,J=H.each,ee=N,te=Number,ne=1,ie=.05,oe={x:30,y:20},ae="10px",se="sans-serif",re="#000",le=function(e){var t,n={};return H.each(e,function(e,i){t=i.textContent,isFinite(t)&&(t=te(t)),n[i.name.toLowerCase()]=t}),n};t.imageCreator={getImageData:function(e,t){var n="image/"+t.format,i=H.Deferred(),o=t.width,a=t.height,s=t.backgroundColor;return z.isFunction(t.__parseAttributesFn)&&(le=t.__parseAttributesFn),R(i,M(e,o,a,s),n),i},getData:function(e,n){var i=this,o=t.imageCreator.getImageData(e,n),a="image/"+n.format,s=H.Deferred();return $(o).done(function(e){o=z.isFunction(window.Blob)?i._getBlob(e,a):i._getBase64(e),s.resolve(o)}),s},_getBlob:function(e,t){var n,i=new Uint8Array(e.length);for(n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return new Blob([i.buffer],{type:t})},_getBase64:function(e){return window.btoa(e)}},t.getData=function(e,n,i){t.imageCreator.getData(e,n).done(i)}},function(e,t){function n(e){this.baseColor=e;var t;e&&(t=String(e).toLowerCase().replace(/ /g,""),t=g[t]?"#"+g[t]:t,t=i(t)),t||(this.colorIsInvalid=!0),t=t||{},this.r=o(t[0]),this.g=o(t[1]),this.b=o(t[2]),this.a=o(t[3],1,1),t[4]?this.hsv={h:t[4][0],s:t[4][1],v:t[4][2]}:this.hsv=s(this.r,this.g,this.b),t[5]?this.hsl={h:t[5][0],s:t[5][1],l:t[5][2]}:this.hsl=c(this.r,this.g,this.b); }function i(e){if("transparent"===e)return[0,0,0,0];for(var t,n=0,i=_.length;n<i;++n)if(t=_[n].re.exec(e))return _[n].process(t);return null}function o(e,t,n){return t=t||0,n=n||255,e<0||isNaN(e)?t:e>n?n:e}function a(e,t,n){return"#"+(16777216|e<<16|t<<8|n).toString(16).slice(1)}function s(e,t,n){var i,o,a,s=Math.max(e,t,n),r=Math.min(e,t,n),l=s-r;if(a=s,o=0===s?0:1-r/s,s===r)i=0;else switch(s){case e:i=60*((t-n)/l),t<n&&(i+=360);break;case t:i=60*((n-e)/l)+120;break;case n:i=60*((e-t)/l)+240}return o*=100,a*=100/255,{h:Math.round(i),s:Math.round(o),v:Math.round(a)}}function r(e,t,n){var i,o,a,s,r,l,c,d;switch(s=Math.floor(e%360/60),a=(100-t)*n/100,r=(n-a)*(e%60/60),o=a+r,i=n-r,s){case 0:l=n,c=o,d=a;break;case 1:l=i,c=n,d=a;break;case 2:l=a,c=n,d=o;break;case 3:l=a,c=i,d=n;break;case 4:l=o,c=a,d=n;break;case 5:l=n,c=a,d=i}return[Math.round(2.55*l),Math.round(2.55*c),Math.round(2.55*d)]}function l(e,t,n,i){var o=Math.max(e,t,n);switch(o){case e:return(t-n)/i+(t<n?6:0);case t:return(n-e)/i+2;case n:return(e-t)/i+4}}function c(e,t,n){e=f(e,255),t=f(t,255),n=f(n,255);var i,o,a=Math.max(e,t,n),s=Math.min(e,t,n),r=a+s,c=r/2;if(a===s)i=o=0;else{var d=a-s;o=c>.5?d/(2-r):d/r,i=l(e,t,n,d),i/=6}return{h:v(360*i),s:v(100*o),l:v(100*c)}}function d(e,t){var n=t;return"r"===e&&(n=t+1/3),"b"===e&&(n=t-1/3),n}function u(e){return e<0&&(e+=1),e>1&&(e-=1),e}function h(e,t,n){return n=u(n),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function p(e,t,n){var i,o,a;if(e=f(e,360),t=f(t,100),n=f(n,100),0===t)i=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,r=2*n-s;i=h(r,s,d("r",e)),o=h(r,s,d("g",e)),a=h(r,s,d("b",e))}return[v(255*i),v(255*o),v(255*a)]}function f(e,t){return e=Math.min(t,Math.max(0,parseFloat(e))),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function m(e,t,n){return t=t||0,n=n||255,!(e%1!==0||e<t||e>n||"number"!=typeof e||isNaN(e))}var g={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",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"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",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"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",rebeccapurple:"663399",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",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},_=[{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:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*\.*\d+)\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])]}},{re:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/,process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^#([a-f0-9]{1})([a-f0-9]{1})([a-f0-9]{1})$/,process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/^hsv\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){var t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=r(t,n,i);return[o[0],o[1],o[2],1,[t,n,i]]}},{re:/^hsl\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){var t=parseInt(e[1],10),n=parseInt(e[2],10),i=parseInt(e[3],10),o=p(t,n,i);return[o[0],o[1],o[2],1,null,[t,n,i]]}}],v=Math.round;n.prototype={constructor:n,highlight:function(e){return e=e||10,this.alter(e).toHex()},darken:function(e){return e=e||10,this.alter(-e).toHex()},alter:function(e){var t=new n;return t.r=o(this.r+e),t.g=o(this.g+e),t.b=o(this.b+e),t},blend:function(e,t){var i=e instanceof n?e:new n(e),a=new n;return a.r=o(v(this.r*(1-t)+i.r*t)),a.g=o(v(this.g*(1-t)+i.g*t)),a.b=o(v(this.b*(1-t)+i.b*t)),a},toHex:function(){return a(this.r,this.g,this.b)},getPureColor:function(){var e=r(this.hsv.h,100,100);return new n("rgb("+e.join(",")+")")},isValidHex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},isValidRGB:function(e,t,n){return!!(m(e)&&m(t)&&m(n))},isValidAlpha:function(e){return!(isNaN(e)||e<0||e>1||"number"!=typeof e)},colorIsInvalid:!1},e.exports=n},function(e,t,n){var i=n(9),o=function(e){return void 0===e||null===e?"":String(e)},a=function(e){return o(e).charAt(0).toUpperCase()+e.substr(1)},s=function(e){return o(e).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},r=function(e){return i.map(s(e),function(e){return e.toLowerCase()}).join("-")},l=function(e){return r(e).replace(/-/g,"_")},c=function(e,t){return i.map(s(e),function(e,n){return e=e.toLowerCase(),(t||n>0)&&(e=a(e)),e}).join("")},d=function(e){return a(r(e).replace(/-/g," "))},u=function(e){return i.map(s(e),function(e){return a(e.toLowerCase())}).join(" ")},h=function(e){var t,n,i=[],o=!1,a=!1;for(t=0;t<e.length;t++)n=e.charAt(t),a=n===n.toUpperCase()||n in["0","1","2","3","4","5","6","7","8","9"],"_"===n||"."===n?(n=" ",a=!0):0===t?(n=n.toUpperCase(),a=!0):!o&&a&&i.length>0&&i.push(" "),i.push(n),o=a;return i.join("")};t.dasherize=r,t.camelize=c,t.humanize=d,t.titleize=u,t.underscore=l,t.captionize=h},function(e,t,n){var i=n(9),o=n(19),a=n(37).imageCreator,s=n(14).isFunction,r=n(11).extend,l=n(16).when,c="%PDF-1.3\r\n2 0 obj\r\n<</ProcSet[/PDF/ImageB/ImageC/ImageI]/XObject<</I0 5 0 R>>>>\r\nendobj\r\n4 0 obj\r\n<</Type/Pages/Kids[1 0 R]/Count 1>>\r\nendobj\r\n7 0 obj\r\n<</OpenAction[1 0 R /FitH null]/Type/Catalog/Pages 4 0 R/PageLayout/OneColumn>>\r\nendobj\r\n1 0 obj\r\n<</Type/Page/Resources 2 0 R/MediaBox[0 0 _width_ _height_]/Contents 3 0 R/Parent 4 0 R>>\r\nendobj\r\n",d="3 0 obj\r\n<</Length 52>>stream\r\n0.20 w\n0 G\nq _width_ 0 0 _height_ 0.00 0.00 cm /I0 Do Q\r\nendstream\r\nendobj\r\n",u="6 0 obj\r\n<</CreationDate _date_/Producer(DevExtreme _version_)>>\r\nendobj\r\n",h="5 0 obj\r\n<</Type/XObject/Subtype/Image/Width _width_/Height _height_/ColorSpace/DeviceRGB/BitsPerComponent 8/Filter/DCTDecode/Length _length_>>stream\r\n",p="\r\nendstream\r\nendobj\r\n",f="trailer\r\n<<\r\n/Size 8\r\n/Root 7 0 R\r\n/Info 6 0 R\r\n>>\r\nstartxref\r\n_length_\r\n%%EOF",m="xref\r\n0 8\r\n0000000000 65535 f\r\n0000000241 00000 n\r\n0000000010 00000 n\r\n_main_ 00000 n\r\n0000000089 00000 n\r\n_image_ 00000 n\r\n_info_ 00000 n\r\n0000000143 00000 n\r\n",g=60,_=40,v=function(e,t){return e.length<t?v("0"+e,t):e},w=function(e,t,n){var i=t.width+g,a=t.height+_,s=(.75*i).toFixed(2),r=(.75*a).toFixed(2),l=c.replace("_width_",s).replace("_height_",r),m=d.replace("_width_",s).replace("_height_",r),v=u.replace("_date_",n).replace("_version_",o),w=h.replace("_width_",i).replace("_height_",a).replace("_length_",e.length)+e+p,y=x(l.length,m.length,v.length),b=l+m+v+w,C=f.replace("_length_",b.length);return b+y+C},x=function(e,t,n){return m.replace("_main_",v(e+"",10)).replace("_info_",v(e+t+"",10)).replace("_image_",v(e+t+n+"",10))},y=function(){return new Date},b=function(e){for(var t=0,n=new Uint8Array(e.length);t<e.length;t++)n[t]=e.charCodeAt(t);return new Blob([n.buffer],{type:"application/pdf"})},C=function(e){return window.btoa(e)};t.getData=function(e,t,n){var o=a.getImageData(e,r({},t,{format:"jpeg"})),c=i.Deferred();c.done(n),l(o).done(function(e){var n=w(e,t,y()),i=s(window.Blob)?b(n):C(n);c.resolve(i)})}},function(e,t,n){var i=n(9),o=n(14),a=n(42).getSvgMarkup,s=n(16).when;t.svgCreator={_markup:"",_imageArray:{},_imageDeferreds:[],_getBinaryFile:function(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){n.readyState===n.DONE&&t(200===n.status&&n.response?n.response:!1)},n.open("GET",e,!0),n.responseType="arraybuffer",n.send()},_loadImages:function(){var e=this;i.each(e._imageArray,function(t){var n=new i.Deferred;e._imageDeferreds.push(n),e._getBinaryFile(t,function(i){if(!i)return delete e._imageArray[t],void n.resolve();var o,a="",s=new Uint8Array(i),r=s.byteLength;for(o=0;o<r;o++)a+=String.fromCharCode(s[o]);e._imageArray[t]="data:image/png;base64,"+btoa(a),n.resolve()})})},_parseImages:function(e){var t,n=this;"image"===e.tagName&&(t=i(e).attr("xlink:href"),n._imageArray[t]||(n._imageArray[t]="")),i.each(e.childNodes,function(e,t){n._parseImages(t)})},_prepareImages:function(e){return this._parseImages(e),this._loadImages(),s.apply(i,this._imageDeferreds)},getData:function(e,t){var n,s=this,r='<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>',l=i.Deferred(),c=new DOMParser,d=c.parseFromString(e,"image/svg+xml"),u=d.childNodes[0],h=i(u);return h.css("background-color",t.backgroundColor),n=r+a(h.get(0)),s._prepareImages(u).done(function(){i.each(s._imageArray,function(e,t){n=n.split(e).join(t)}),l.resolve(o.isFunction(window.Blob)?s._getBlob(n):s._getBase64(n))}),l},_getBlob:function(e){return new Blob([e],{type:"image/svg+xml"})},_getBase64:function(e){return window.btoa(e)}},t.getData=function(e,n,i){t.svgCreator.getData(e,n).done(i)}},function(e,t){function n(e){var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function i(e){var t=!0;return e=e.replace(/xmlns="[\s\S]*?"/gi,function(e){return t?(t=!1,e):""}),e.replace(/xmlns:NS1="[\s\S]*?"/gi,"").replace(/NS1:xmlns:xlink="([\s\S]*?)"/gi,'xmlns:xlink="$1"')}function o(e){return e.replace(/"/gi,""").replace(/&/gi,"&").replace(/'/gi,"'").replace(/</gi,"<").replace(/>/gi,">").replace(/ /gi," ").replace(//gi,"")}t.getSvgMarkup=function(e){return i(o(n(e)))}},function(e,t,n){var i=n(9),o=n(11).extend,a=n(15),s=n(7),r=n(44).resizeCallbacks,l=n(14),c=n(26).inArray,d=n(45),u=n(48),h=u.abstract,p="dx-rtl",f="dx-visibility-change-handler",m="VisibilityChange",g=u.inherit({_getDefaultOptions:function(){return o(this.callBase(),{width:void 0,height:void 0,rtlEnabled:a().rtlEnabled,elementAttr:{},disabled:!1,integrationOptions:{}})},ctor:function(e,t){this._$element=i(e),d.attachInstanceToElement(this._$element,this,this._dispose),this.callBase(t)},_visibilityChanged:h,_dimensionChanged:h,_init:function(){this.callBase(),this._attachWindowResizeCallback()},_setOptionsByDevice:function(e){this.callBase([].concat(this.constructor._classCustomRules||[],e||[]))},_isInitialOptionValue:function(e){var t=this.constructor._classCustomRules&&this._convertRulesToOptions(this.constructor._classCustomRules).hasOwnProperty(e);return!t&&this.callBase(e)},_attachWindowResizeCallback:function(){if(this._isDimensionChangeSupported()){var e=this._windowResizeCallBack=this._dimensionChanged.bind(this);r.add(e)}},_isDimensionChangeSupported:function(){return this._dimensionChanged!==h},_render:function(){this._renderElementAttributes(),this._toggleRTLDirection(this.option("rtlEnabled")),this._renderVisibilityChange(),this._renderDimensions()},_renderElementAttributes:function(){var e=o({},this.option("elementAttr")),t=e.class;delete e.class,this.element().attr(e).addClass(t)},_renderVisibilityChange:function(){this._isDimensionChangeSupported()&&this._attachDimensionChangeHandlers(),this._isVisibilityChangeSupported()&&(this.element().addClass(f),this._attachVisibilityChangeHandlers())},_renderDimensions:function(){var e=this.option("width"),t=this.option("height"),n=this.element();n.outerWidth(e),n.outerHeight(t)},_attachDimensionChangeHandlers:function(){var e=this,t="dxresize."+this.NAME+m;e.element().off(t).on(t,function(){e._dimensionChanged()})},_attachVisibilityChangeHandlers:function(){var e=this,t="dxhiding."+this.NAME+m,n="dxshown."+this.NAME+m;e._isHidden=!e._isVisible(),e.element().off(t).on(t,function(){e._checkVisibilityChanged("hiding")}).off(n).on(n,function(){e._checkVisibilityChanged("shown")})},_isVisible:function(){return this.element().is(":visible")},_checkVisibilityChanged:function(e){"hiding"===e&&this._isVisible()&&!this._isHidden?(this._visibilityChanged(!1),this._isHidden=!0):"shown"===e&&this._isVisible()&&this._isHidden&&(this._isHidden=!1,this._visibilityChanged(!0))},_isVisibilityChangeSupported:function(){return this._visibilityChanged!==h},_clean:l.noop,_modelByElement:function(){var e=this.option("modelByElement")||l.noop;return e(this.element())},_invalidate:function(){if(!this._updateLockCount)throw s.Error("E0007");this._requireRefresh=!0},_refresh:function(){this._clean(),this._render()},_dispose:function(){this.callBase(),this._clean(),this._detachWindowResizeCallback()},_detachWindowResizeCallback:function(){this._isDimensionChangeSupported()&&r.remove(this._windowResizeCallBack)},_toggleRTLDirection:function(e){this.element().toggleClass(p,e)},_createComponent:function(e,t,n){var a=this;n=n||{};var s=l.grep(["rtlEnabled","disabled"],function(e){return!(e in n)}),r=a.option("nestedComponentOptions")||l.noop;a._extendConfig(n,o({integrationOptions:this.option("integrationOptions"),rtlEnabled:this.option("rtlEnabled"),disabled:this.option("disabled")},r(this)));var d;if(l.isString(t)){var u=i(e)[t](n);d=u[t]("instance")}else e&&(d=t.getInstance(e),d?d.option(n):d=new t(e,n));if(d){var h=function(e){c(e.name,s)>=0&&d.option(e.name,e.value)};a.on("optionChanged",h),d.on("disposing",function(){a.off("optionChanged",h)})}return d},_extendConfig:function(e,t){i.each(t,function(t,n){e[t]=e.hasOwnProperty(t)?e[t]:n})},_defaultActionConfig:function(){return o(this.callBase(),{context:this._modelByElement(this.element())})},_defaultActionArgs:function(){var e=this.element(),t=this._modelByElement(this.element());return o(this.callBase(),{element:e,model:t})},_optionChanged:function(e){switch(e.name){case"width":case"height":this._renderDimensions();break;case"rtlEnabled":case"elementAttr":this._invalidate();break;case"disabled":case"integrationOptions":break;default:this.callBase(e)}},endUpdate:function(){var e=!this._initializing&&!this._initialized;this.callBase.apply(this,arguments),this._updateLockCount||(e?this._render():this._requireRefresh&&(this._requireRefresh=!1,this._refresh()))},element:function(){return this._$element}});g.getInstance=function(e){return d.getInstanceByElement(i(e),this)},g.defaultOptions=function(e){this._classCustomRules=this._classCustomRules||[],this._classCustomRules.push(e)},e.exports=g},function(e,t,n){var i=n(9),o=function(){var e,t=i.Callbacks(),n=i(window),o=!1,a=t.add,s=t.remove,r=function(){return{width:n.width(),height:n.height()}},l=function(){var n=r();if(n.width!==e.width||n.height!==e.height){var i;n.width===e.width&&(i="height"),n.height===e.height&&(i="width"),e=n,setTimeout(function(){t.fire(i)})}};return e=r(),t.add=function(){var e=a.apply(t,arguments);return!o&&t.has()&&(n.on("resize",l),o=!0),e},t.remove=function(){var e=s.apply(t,arguments);return!t.has()&&o&&(n.off("resize",l),o=!1),e},t}(),a=function(e){return e<768?"xs":e<992?"sm":e<1200?"md":"lg"},s=function(e){var t=e||a;return t(i(window).width())};t.resizeCallbacks=o,t.defaultScreenFactorFunc=a,t.getCurrentScreenFactor=s},function(e,t,n){var i=n(9),o=n(46),a=n(14),s=n(47),r="dxComponents",l="dxPrivateComponent",c=new o,d=0,u=t.name=function(e,t){if(a.isDefined(t))return void c.set(e,t);if(!c.has(e)){var n=l+d++;return c.set(e,n),n}return c.get(e)};t.attachInstanceToElement=function(e,t,n){var o=i.data(e.get(0)),a=u(t.constructor);o[a]=t,n&&e.one(s,function(){n.call(t)}),o[r]||(o[r]=[]),o[r].push(a)},t.getInstanceByElement=function(e,t){var n=u(t);return i.data(e.get(0),n)}},function(e,t,n){var i=n(26).inArray,o=window.WeakMap;o||(o=function(){var e=[],t=[];this.set=function(n,o){var a=i(n,e);a===-1?(e.push(n),t.push(o)):t[a]=o},this.get=function(n){var o=i(n,e);if(o!==-1)return t[o]},this.has=function(t){var n=i(t,e);return n!==-1}}),e.exports=o},function(e,t,n){var i=n(9),o=n(10),a=o.cleanData,s=i.event.special,r="dxremove",l="dxRemoveEvent";o.cleanData=function(e){e=[].slice.call(e);for(var t=0;t<e.length;t++){var n=i(e[t]);n.prop(l)&&(n.removeProp(l),n.triggerHandler(r))}return a(e)},s[r]={noBubble:!0,setup:function(){i(this).prop(l,!0)}},e.exports=r},function(e,t,n){var i=n(9),o=n(15),a=n(11).extend,s=n(25),r=n(49),l=n(7),c=n(50),d=n(14),u=n(12),h=n(51),p=n(45),f=n(53),m=d.isFunction,g=d.noop,_={},v={},w=s.inherit({_setDeprecatedOptions:function(){this._deprecatedOptions={}},_getDeprecatedOptions:function(){return this._deprecatedOptions},_getOptionAliasesByName:function(e){return i.map(this._deprecatedOptions,function(t,n){return e===t.alias?n:void 0})},_getDefaultOptions:function(){return{onInitialized:null,onOptionChanged:null,onDisposing:null,defaultOptionsRules:null}},_setDefaultOptions:function(){this._options=this._getDefaultOptions()},_defaultOptionsRules:function(){return[]},_setOptionsByDevice:function(e){var t=this._defaultOptionsRules();Array.isArray(e)&&(t=t.concat(e));var n=this._convertRulesToOptions(t);a(!0,this._options,n);for(var i in this._optionsByReference)n.hasOwnProperty(i)&&(this._options[i]=n[i])},_convertRulesToOptions:function(e){for(var t={},n=f.current(),o=function(e,t){return t=i.makeArray(t),1===t.length&&u.isEmptyObject(t[0])||d.findBestMatches(e,t).length>0},s=0;s<e.length;s++){var r,l=e[s],c=l.device||{};r=m(c)?c(n):o(n,c),r&&a(t,l.options)}return t},_isInitialOptionValue:function(e){var t=this.option(e),n=this.initialOption(e),i=m(t)&&m(n)?t.toString()===n.toString():d.equalByValue(t,n);return i},_setOptionsByReference:function(){this._optionsByReference={}},_getOptionsByReference:function(){return this._optionsByReference},ctor:function(e){this.NAME=p.name(this.constructor),e=e||{},e.eventsStrategy&&this.setEventsStrategy(e.eventsStrategy),this._options={},this._updateLockCount=0,this._optionChangedCallbacks=e._optionChangedCallbacks||i.Callbacks(),this._disposingCallbacks=e._disposingCallbacks||i.Callbacks(),this.beginUpdate();try{this._suppressDeprecatedWarnings(),this._setOptionsByReference(),this._setDeprecatedOptions(),this._setDefaultOptions(),e&&e.onInitializing&&e.onInitializing.apply(this,[e]),this._setOptionsByDevice(e.defaultOptionsRules),this._resumeDeprecatedWarnings(),this._initOptions(e)}finally{this.endUpdate()}},_initOptions:function(e){this.option(e)},_optionValuesEqual:function(e,t,n){if(t=c.toComparable(t,!0),n=c.toComparable(n,!0),t&&n&&t.jquery&&n.jquery)return n.is(t);var i=t!==t,o=n!==n;return!(!i||!o)||(null===t||"object"!=typeof t)&&t===n},_init:function(){this._createOptionChangedAction(),this.on("disposing",function(e){this._disposingCallbacks.fireWith(this,[e])}.bind(this))},_createOptionChangedAction:function(){this._optionChangedAction=this._createActionByOption("onOptionChanged",{excludeValidators:["disabled","readOnly","designMode"]})},_createDisposingAction:function(){this._disposingAction=this._createActionByOption("onDisposing",{excludeValidators:["disabled","readOnly","designMode"]})},_optionChanged:function(e){switch(e.name){case"onDisposing":case"onInitialized":break;case"onOptionChanged":this._createOptionChangedAction();break;case"defaultOptionsRules":}},_dispose:function(){this._optionChangedCallbacks.empty(),this._createDisposingAction(),this._disposingAction(),this._disposeEvents(),this._disposed=!0},instance:function(){return this},beginUpdate:function(){this._updateLockCount++},endUpdate:function(){if(this._updateLockCount=Math.max(this._updateLockCount-1,0),!this._updateLockCount&&!this._initializing&&!this._initialized){this._initializing=!0;try{this._init()}finally{this._initializing=!1,this._updateLockCount++,this._createActionByOption("onInitialized",{excludeValidators:["disabled","readOnly","designMode"]})(),this._updateLockCount--,this._initialized=!0}}},_logWarningIfDeprecated:function(e){var t=this._deprecatedOptions[e];t&&!this._deprecatedOptionsSuppressed&&this._logDeprecatedWarning(e,t)},_logDeprecatedWarningCount:0,_logDeprecatedWarning:function(e,t){var n=t.message||"Use the '"+t.alias+"' option instead";l.log("W0001",this.NAME,e,t.since,n),++this._logDeprecatedWarningCount},_suppressDeprecatedWarnings:function(){this._deprecatedOptionsSuppressed=!0},_resumeDeprecatedWarnings:function(){this._deprecatedOptionsSuppressed=!1},_optionChanging:g,_notifyOptionChanged:function(e,t,n){var i=this;if(this._initialized)for(var o=[e].concat(i._getOptionAliasesByName(e)),s=0;s<o.length;s++){var r=o[s],l={name:r.split(/[.\[]/)[0],fullName:r,value:t,previousValue:n};i._optionChangedCallbacks.fireWith(i,[a(i._defaultActionArgs(),l)]),i._optionChangedAction(a({},l)),i._disposed||i._optionChanged(l)}},initialOption:function(e){var t,n=this._initialized;return this._initialOptions||(t=this._options,this._options={},this._initialized=!1,this._setDefaultOptions(),this._setOptionsByDevice(t.defaultOptionsRules),this._initialOptions=this._options,this._options=t,this._initialized=n),this._initialOptions[e]},_defaultActionConfig:function(){return{context:this,component:this}},_defaultActionArgs:function(){return{component:this}},_createAction:function(e,t){var n,i=this;return function(o){return arguments.length||(o={}),u.isPlainObject(o)||(o={actionValue:o}),n=n||new r(e,a(t,i._defaultActionConfig())),n.execute.call(n,a(o,i._defaultActionArgs()))}},_createActionByOption:function(e,t){var n,i,a,s=this,r=function(){if(!i){if(t=t||{},"string"!=typeof e)throw l.Error("E0008");0===e.indexOf("on")&&(i=s._getEventName(e)),a=s.option(e)}if(n||a||t.beforeExecute||t.afterExecute||s.hasEvent(i)){if(!n){var r=t.beforeExecute;t.beforeExecute=function(e){s.fireEvent(i,e.args),r&&r.apply(s,arguments)},s._suppressDeprecatedWarnings(),n=s._createAction(a,t),s._resumeDeprecatedWarnings()}if(o().wrapActionsBeforeExecute){var c=s.option("beforeActionExecute")||g;n=c(s,n,t)||n}return n.apply(s,arguments)}};if(!o().wrapActionsBeforeExecute){var c=s.option("onActionCreated")||g;r=c(s,r,t)||r}return r},_getEventName:function(e){return e.charAt(2).toLowerCase()+e.substr(3)},hasActionSubscription:function(e){return!!this.option(e)||this.hasEvent(this._getEventName(e))},isOptionDeprecated:function(e){var t=this._getDeprecatedOptions();return t.hasOwnProperty(e)},option:function(){var e=function(e,t){var n;if(t){if(!e._cachedDeprecateNames){e._cachedDeprecateNames=[];for(var i in e._deprecatedOptions)e._cachedDeprecateNames.push(i)}for(var o=0;o<e._cachedDeprecateNames.length;o++)if(e._cachedDeprecateNames[o]===t){n=e._deprecatedOptions[t];break}if(n){e._logWarningIfDeprecated(t);var a=n.alias;a&&(t=a)}}return t},t=function(e){var t=e.split(".");return t.pop(),t.join(".")},n=function(e){var t=e.split(".");return t[t.length-1]},i=function(e,t,n){var i=_[t];return i||(i=_[t]=c.compileGetter(t)),i(e,{functionsAsIs:!0,unwrapObservables:n})},o=function(e,o){delete e[o];var a=t(o),s=n(o),r=a?i(e,a,!1):e;r&&delete r[s]},a=function(e,o,a){var s,r="";do r&&(r="."+r),r=n(o)+r,o=t(o),s=o?i(e,o,!1):e;while(!s);s[r]=a},s=function(t,n,i,s){if(i){var r=e(t,i);r&&r!==i&&(a(n,r,s),o(n,i))}},r=function(e,t,n,i){if(u.isPlainObject(i))for(var o in i)r(e,t,n+"."+o,i[o]);s(e,t,n,i)},l=function(e,t,n){v[t]||(v[t]=c.compileSetter(t));var i=t.split(/[.\[]/);v[t](e._options,n,{functionsAsIs:!0,merge:!e._getOptionsByReference()[t],unwrapObservables:i.length>1&&!!e._getOptionsByReference()[i[0]]})},h=function(e,t,n){var o=i(e._options,t,!1);e._optionValuesEqual(t,o,n)||(e._initialized&&e._optionChanging(t,o,n),l(e,t,n),e._notifyOptionChanged(t,n,o))};return function(t,n){var o=this,a=t;if(arguments.length<2&&"object"!==d.type(a))return a=e(o,a),i(o._options,a);"string"==typeof a&&(t={},t[a]=n),o.beginUpdate();try{var s;for(s in t)r(o,t,s,t[s]);for(s in t)h(o,s,t[s])}finally{o.endUpdate()}}}()}).include(h);e.exports=w},function(e,t,n){var i=n(9),o=n(15),a=n(14),s=n(12),r=n(25),l=r.inherit({ctor:function(e,t){t=t||{},this._action=e,this._context=t.context||window,this._beforeExecute=t.beforeExecute,this._afterExecute=t.afterExecute,this._component=t.component,this._validatingTargetName=t.validatingTargetName;var n=this._excludeValidators={};if(t.excludeValidators)for(var i=0;i<t.excludeValidators.length;i++)n[t.excludeValidators[i]]=!0},execute:function(){var e={action:this._action,args:Array.prototype.slice.call(arguments),context:this._context,component:this._component,validatingTargetName:this._validatingTargetName,cancel:!1,handled:!1},t=this._beforeExecute,n=this._afterExecute;if(this._validateAction(e)&&(t&&t.call(this._context,e),!e.cancel)){var i=this._executeAction(e),o=e.args[0];if(!o||!o.cancel)return n&&n.call(this._context,e),i}},_validateAction:function(e){var t=this._excludeValidators,n=l.executors;for(var i in n)if(!t[i]){var o=n[i];if(o.validate&&o.validate(e),e.cancel)return!1}return!0},_executeAction:function(e){var t,n=l.executors;for(var i in n){var o=n[i];if(o.execute&&o.execute(e),e.handled){t=e.result;break}}return t}});l.executors={},l.registerExecutor=function(e,t){return s.isPlainObject(e)?void i.each(e,l.registerExecutor):void(l.executors[e]=t)},l.unregisterExecutor=function(){var e=i.makeArray(arguments);i.each(e,function(){delete l.executors[this]})},l.registerExecutor({undefined:{execute:function(e){e.action||(e.result=void 0,e.handled=!0)}},func:{execute:function(e){a.isFunction(e.action)&&(e.result=e.action.call(e.context,e.args[0]),e.handled=!0)}}});var c=function(e){return function(t){if(t.args.length){var n=t.args[0],i=n[t.validatingTargetName]||n.element;i&&e(i)&&(t.cancel=!0)}}};l.registerExecutor({designMode:{validate:function(e){o().designMode&&(e.cancel=!0)}},disabled:{validate:c(function(e){return e.is(".dx-state-disabled, .dx-state-disabled *")})},readOnly:{validate:c(function(e){return e.is(".dx-state-readonly, .dx-state-readonly *")})}}),e.exports=l},function(e,t,n){var i=n(9),o=n(7),a=n(25),s=n(27),r=n(14),l=n(12),c=n(28),d=c.unwrap,u=c.isWrapped,h=c.assign,p=function(e){return e.replace(/\[/g,".").replace(/\]/g,"")},f=function(e,t){return"this"===t?e:e[t]},m=function(e,t,n,i){if("this"===t)throw new o.Error("E4016");var a=e[t];i.unwrapObservables&&u(a)?h(a,n):e[t]=n},g=function(e){return e=e||{},e.unwrapObservables=void 0===e.unwrapObservables||e.unwrapObservables,e},_=function(e,t){return t.unwrapObservables?d(e):e},v=function(e){if(arguments.length>1&&(e=i.makeArray(arguments)),!e||"this"===e)return function(e){return e};if("string"==typeof e){e=p(e);var t=e.split(".");return function(e,n){n=g(n);for(var i=n.functionsAsIs,o=_(e,n),a=0;a<t.length&&o;a++){var s=_(o[t[a]],n);!i&&r.isFunction(s)&&(s=s.call(o)),o=s}return o}}return Array.isArray(e)?w(e):r.isFunction(e)?e:void 0},w=function(e){for(var t={},n=0,o=e.length;n<o;n++){var a=e[n];t[a]=v(a)}return function(e,n){var o;return i.each(t,function(t){var i,a,s,r,l=this(e,n);if(void 0!==l){for(i=o||(o={}),a=t.split("."),s=a.length-1,r=0;r<s;r++)i=i[a[r]]={};i[a[r]]=l}}),o}},x=function(e){e=e||"this",e=p(e);var t=e.lastIndexOf("."),n=v(e.substr(0,t)),o=e.substr(1+t);return function(e,t,a){a=g(a);var c=n(e,{functionsAsIs:a.functionsAsIs,unwrapObservables:a.unwrapObservables}),d=f(c,o);a.functionsAsIs||!r.isFunction(d)||u(d)?(d=_(d,a),!a.merge||!l.isPlainObject(t)||void 0!==d&&!l.isPlainObject(d)||t instanceof i.Event?m(c,o,t,a):(d||m(c,o,{},a),c=_(f(c,o),a),s.deepExtendArraySafe(c,t,!1,!0))):c[o](t)}},y=function(e,t){return e instanceof Date?e.getTime():e&&e instanceof a&&e.valueOf?e.valueOf():t||"string"!=typeof e?e:e.toLowerCase()};t.compileGetter=v,t.compileSetter=x,t.toComparable=y},function(e,t,n){var i=n(9),o=n(52),a=n(12).isPlainObject;e.exports={ctor:function(){this._events={},this.setEventsStrategy(new o(this))},setEventsStrategy:function(e){this._eventsStrategy=e},hasEvent:function(e){return this._eventsStrategy.hasEvent(e)},fireEvent:function(e,t){return this._eventsStrategy.fireEvent(e,t),this},on:function(e,t){return a(e)?i.each(e,function(e,t){this.on(e,t)}.bind(this)):this._eventsStrategy.on(e,t),this},off:function(e,t){return this._eventsStrategy.off(e,t),this},_disposeEvents:function(){this._eventsStrategy.dispose()}}},function(e,t,n){var i=n(9),o=n(14).isFunction,a=n(25);e.exports=a.inherit({ctor:function(e){this._events={},this._owner=e},hasEvent:function(e){var t=this._events[e];return!!t&&t.has()},fireEvent:function(e,t){var n=this._events[e];n&&n.fireWith(this._owner,t)},on:function(e,t){var n,o=this._events[e];o||(o=i.Callbacks(),this._events[e]=o),n=o.originalAdd||o.add,n.call(o,t)},off:function(e,t){var n=this._events[e];n&&(o(t)?n.remove(t):n.empty())},dispose:function(){i.each(this._events,function(){this.empty()})}})},function(e,t,n){var i=n(9),o=n(11).extend,a=n(12).isPlainObject,s=n(25),r=n(7),l=n(44).resizeCallbacks,c=n(51),d=n(54).sessionStorage,u=n(55),h=n(15),p={iPhone:"iPhone",iPhone5:"iPhone",iPhone6:"iPhone",iPhone6plus:"iPhone",iPad:"iPad",iPadMini:"iPad Mini",androidPhone:"Android Mobile",androidTablet:"Android",win8:"MSAppHost",win8Phone:"Windows Phone 8.0",msSurface:"Windows ARM Tablet PC",desktop:"desktop",win10Phone:"Windows Phone 10.0",win10:"MSAppHost/3.0"},f={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:!1,android:!1,ios:!1,win:!1,generic:!0,grade:"A",mac:!1},m={win:function(e){var t=/windows phone/i.test(e)||e.match(/WPDesktop/),n=!t&&/Windows(.*)arm(.*)Tablet PC/i.test(e),i=!t&&!n&&/msapphost/i.test(e);if(t||n||i){var o=e.match(/windows phone (\d+).(\d+)/i)||e.match(/windows nt (\d+).(\d+)/i),a=[];return o?a.push(parseInt(o[1],10),parseInt(o[2],10)):(o=e.match(/msapphost(\/(\d+).(\d+))?/i),o&&a.push(3===parseInt(o[2],10)?10:8)),{deviceType:t?"phone":n?"tablet":"desktop",platform:"win",version:a,grade:"A"}}},ios:function(e){if(/ip(hone|od|ad)/i.test(e)){var t=/ip(hone|od)/i.test(e),n=e.match(/os (\d+)_(\d+)_?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],o=480===window.screen.height,a=o?"B":"A";return{deviceType:t?"phone":"tablet",platform:"ios",version:i,grade:a}}},android:function(e){if(/android|htc_|silk/i.test(e)){var t=/mobile/i.test(e),n=e.match(/android (\d+)\.(\d+)\.?(\d+)?/i),i=n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],o=i.length>1&&(i[0]<4||4===i[0]&&i[1]<4),a=o?"B":"A";return{deviceType:t?"phone":"tablet",platform:"android",version:i,grade:a}}}},g=s.inherit({
ctor:function(e){this._window=e&&e.window||window,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this.changed=i.Callbacks(),this._recalculateOrientation(),l.add(this._recalculateOrientation.bind(this))},current:function(e){if(e)return this._currentDevice=this._getDevice(e),this._forced=!0,this.changed.fire(),void("win"===this._currentDevice.platform&&8===this._currentDevice.version[0]&&r.log("W0010","the 'win8' theme","16.1","Use the 'win10' theme instead."));if(!this._currentDevice){e=void 0;try{e=this._getDeviceOrNameFromWindowScope()}catch(t){e=this._getDeviceNameFromSessionStorage()}finally{e||(e=this._getDeviceNameFromSessionStorage()),e&&(this._forced=!0)}this._currentDevice=this._getDevice(e)}return this._currentDevice},real:function(){return o({},this._realDevice)},orientation:function(){return this._currentOrientation},isForced:function(){return this._forced},isRippleEmulator:function(){return!!this._window.tinyHippos},_getCssClasses:function(e){var t=[],n=this._realDevice;return e=e||this.current(),e.deviceType&&(t.push("dx-device-"+e.deviceType),"desktop"!==e.deviceType&&t.push("dx-device-mobile")),t.push("dx-device-"+n.platform),n.version&&n.version.length&&t.push("dx-device-"+n.platform+"-"+n.version[0]),_.isSimulator()&&t.push("dx-simulator"),h().rtlEnabled&&t.push("dx-rtl"),t},attachCssClasses:function(e,t){this._deviceClasses=this._getCssClasses(t).join(" "),i(e).addClass(this._deviceClasses)},detachCssClasses:function(e){i(e).removeClass(this._deviceClasses)},isSimulator:function(){try{return this._isSimulator||this._window.top!==this._window.self&&this._window.top["dx-force-device"]||this.isRippleEmulator()}catch(e){return!1}},forceSimulator:function(){this._isSimulator=!0},_getDevice:function(e){if("genericPhone"===e&&(e={deviceType:"phone",platform:"generic",generic:!0}),a(e))return this._fromConfig(e);var t;if(e){if(t=p[e],!t)throw r.Error("E0005")}else t=navigator.userAgent;return this._fromUA(t)},_getDeviceOrNameFromWindowScope:function(){var e;return(this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"])&&(e=this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"]),e},_getDeviceNameFromSessionStorage:function(){var e=d();if(e){var t=e.getItem("dx-force-device");try{return JSON.parse(t)}catch(e){return t}}},_fromConfig:function(e){var t=o({},f,this._currentDevice,e),n={phone:"phone"===t.deviceType,tablet:"tablet"===t.deviceType,android:"android"===t.platform,ios:"ios"===t.platform,win:"win"===t.platform,generic:"generic"===t.platform};return o(t,n)},_fromUA:function(e){var t;if(i.each(m,function(n,i){return t=i(e),!t}),t)return this._fromConfig(t);var n=/(mac os)/.test(e.toLowerCase()),o=f;return o.mac=n,o},_changeOrientation:function(){var e=i(this._window),t=e.height()>e.width()?"portrait":"landscape";this._currentOrientation!==t&&(this._currentOrientation=t,this.fireEvent("orientationChanged",[{orientation:t}]))},_recalculateOrientation:function(){var e=i(this._window).width();this._currentWidth!==e&&(this._currentWidth=e,this._changeOrientation())}}).include(c),_=new g;u.changeCallback.add(function(e,t){_.detachCssClasses(t),_.attachCssClasses(e)}),_.isForced()||"win"!==_.current().platform||_.current({version:[10]}),e.exports=_},function(e,t){var n=function(){var e;try{e=window.sessionStorage}catch(e){}return e};t.sessionStorage=n},function(e,t,n){var i=n(9),o=n(56),a=i.Callbacks(),s=i(),r=function(){var e;return function(t){if(!arguments.length)return e;var n=i(t);s=n;var o=!!n.length,l=r();e=o?n:i("body"),a.fire(o?r():i(),l)}}();o(function(){r(".dx-viewport")}),t.value=r,t.changeCallback=a,t.originalViewPort=function(){return s}},function(e,t){e.exports=function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return void e();var t=function(){e(),document.removeEventListener("DOMContentLoaded",t)};document.addEventListener("DOMContentLoaded",t)}},function(e,t,n){var i=n(9),o=n(10),a=n(7),s=n(58),r=n(45),l=new s,c=function(e,t,n){n?t[e]=n:n=t,r.name(n,e),l.fire(e,n)};c.callbacks=l;var d=function(e,t){i.fn[e]=o.fn[e]=function(n){var o,s="string"==typeof n;if(s){var r=n,l=i.makeArray(arguments).slice(1);this.each(function(){var n=t.getInstance(this);if(!n)throw a.Error("E0009",e);var i=n[r],s=i.apply(n,l);void 0===o&&(o=s)})}else this.each(function(){var e=t.getInstance(this);e?e.option(n):new t(this,n)}),o=this;return o}};l.add(d),e.exports=c},function(e,t,n){var i=n(9),o=function(){var e=[],t=i.Callbacks();this.add=function(n){i.each(e,function(e,t){n.apply(n,t)}),t.add(n)},this.remove=function(e){t.remove(e)},this.fire=function(){e.push(arguments),t.fire.apply(t,arguments)}};e.exports=o},function(e,t){var n=1e3/60,i=function(e){return this.setTimeout(e,n)},o=function(e){this.clearTimeout(e)},a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,s=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame;if(a&&s&&(i=a,o=s),a&&!s){var r={};i=function(e){var t=a.call(window,function(){try{if(t in r)return;e.apply(this,arguments)}finally{delete r[t]}});return t},o=function(e){r[e]=!0}}t.requestAnimationFrame=i.bind(window),t.cancelAnimationFrame=o.bind(window)},function(e,t,n){var i=n(9),o=n(11).extend,a=n(44).resizeCallbacks,s=n(61),r=n(53),l=function(e){e=o({},e);var t=r.real(),n=e.allowZoom,l=e.allowPan,c="allowSelection"in e?e.allowSelection:"generic"===t.platform,d="meta[name=viewport]";i(d).length||i("<meta />").attr("name","viewport").appendTo("head");var u=["width=device-width"],h=[];if(n?h.push("pinch-zoom"):u.push("initial-scale=1.0","maximum-scale=1.0, user-scalable=no"),l&&h.push("pan-x","pan-y"),l||n?i("html").css("-ms-overflow-style","-ms-autohiding-scrollbar"):i("html, body").css({"-ms-content-zooming":"none","-ms-user-select":"none",overflow:"hidden"}),!c&&s.supportProp("user-select")&&i(".dx-viewport").css(s.styleProp("user-select"),"none"),i(d).attr("content",u.join()),i("html").css("-ms-touch-action",h.join(" ")||"none"),t=r.real(),!s.touch||"win"===t.platform&&10===t.version[0]||i(document).off(".dxInitMobileViewport").on("dxpointermove.dxInitMobileViewport",function(e){var t=e.pointers.length,i="touch"===e.pointerType,o=!n&&t>1,a=!l&&1===t&&!e.isScrollingEvent;i&&(o||a)&&e.preventDefault()}),t.ios){var p="file:"===document.location.protocol;p||a.add(function(){var e=i(window).width();i("body").width(e)})}t.android&&a.add(function(){setTimeout(function(){document.activeElement.scrollIntoViewIfNeeded()})})};t.initMobileViewport=l},function(e,t,n){var i=n(39),o=n(26).inArray,a=n(53),s=i.camelize,r=["","Webkit","Moz","O","Ms"],l={"":"",Webkit:"-webkit-",Moz:"-moz-",O:"-o-",ms:"-ms-"},c=document.createElement("dx").style,d={webkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MsTransitionEnd",transition:"transitionend"},u=function(e,t){e=s(e,!0);for(var n,i=0,o=r.length;i<o;i++){var a=r[i],l=a+e,c=s(l);if(n=t(c,a),void 0===n&&(n=t(l,a)),void 0!==n)break}return n},h=function(e){return u(e,function(e){if(e in c)return e})},p=function(e){return u(e,function(e,t){if(e in c)return l[t]})},f=function(e){return!!h(e)},m=function(){var e=a.real(),t=e.platform,n=e.version,i=n&&n[0]<4&&"android"===t,s=!i&&o(t,["ios","android","win"])>-1||e.mac;return s},g=function(e){if("text"===e)return!0;var t=document.createElement("input");try{return t.setAttribute("type",e),t.value="wrongValue",!t.value}catch(e){return!1}},_="ontouchstart"in window&&!("callPhantom"in window),v=!!window.navigator.pointerEnabled||!!window.navigator.msPointerEnabled,w=!!window.navigator.maxTouchPoints||!!window.navigator.msMaxTouchPoints;t.touchEvents=_,t.pointerEvents=v,t.touch=_||v&&w,t.transition=f("transition"),t.transitionEndEventName=d[h("transition")],t.animation=f("animation"),t.nativeScrolling=m(),t.styleProp=h,t.stylePropPrefix=p,t.supportProp=f,t.hasKo=!!window.ko,t.inputType=g},function(e,t,n){var i=n(9),o=n(7),a=n(26).inArray,s=n(14),r=function(){var e=document.activeElement;e&&e!==document.body&&e.blur&&e.blur()},l=function(){var e=window.getSelection();if(e&&"Caret"!==e.type)if(e.empty)e.empty();else if(e.removeAllRanges)try{e.removeAllRanges()}catch(e){}},c=function(e,t){var n=i(e),o=i(t);if(n[0]===o[0])return n[0];for(var a=n.parents(),s=o.parents(),r=Math.min(a.length,s.length),l=-r;l<0;l++)if(a.get(l)===s.get(l))return a.get(l)},d=function(e){var t=".dx-visibility-change-handler";return function(n){for(var o=i(n||"body"),a=o.filter(t).add(o.find(t)),s=0;s<a.length;s++)i(a[s]).triggerHandler(e)}},u=function(){var e=0;return function(t){return(t||"")+e++}}(),h="data-options",p=function(e){var t,n=i(e).attr(h);"{"!==i.trim(n).charAt(0)&&(n="{"+n+"}");try{t=new Function("return "+n)()}catch(e){throw o.Error("E3018",e,n)}return t},f=function(e,t){var n=[],o="["+h+"]",s=e.find(o).add(e.filter(o));return s.each(function(e,o){var s=i(o),r=p(o);for(var l in r)(!t||a(l,t)>-1)&&s[l]&&(s[l](r[l]),n.push(s[l]("instance")))}),n},m=function(e){if(!window.WinJS)return i(e);var t=i("<div />");return window.WinJS.Utilities.setInnerHTMLUnsafe(t.get(0),e),t.contents()},g=function(e){var t=s.isDefined(e)&&(e.nodeType||e.jquery)?i(e):i("this.updateSelectedItemKeyHash(e)),this._setOption("selectedItemKeys",e),this._setOption("selectedItems",t)},isItemDataSelected:function(e){var t=this.options.keyOf(e);return this.isItemKeySelected(t)},isItemKeySelected:function(e){var t=this._getKeyHash(e),n=this._indexOfSelectedItemKey(t);return n!==-1},getSelectAllState:function(e){return e?this._getVisibleSelectAllState():this._getFullSelectAllState()}})},function(e,t,n){var i=n(9),o=n(74),a=n(149);o.callbacks.add(function(e){var t=e.slice(0,2)+e.charAt(2).toUpperCase()+e.slice(3);a.directive(t,["$parse",function(n){return function(o,a,s){var r,l=i.trim(s[t]),c={};"{"===l.charAt(0)?(c=o.$eval(l),r=n(c.execute)):r=n(s[t]),a.on(e,c,function(e){o.$apply(function(){r(o,{$event:e})})})}}])})},function(e,t,n){var i=n(9),o=n(149);o.service("dxDigestCallbacks",["$rootScope",function(e){var t=i.Callbacks(),n=i.Callbacks(),o=!1;return e.$watch(function(){o||(o=!0,t.fire(),e.$$postDigest(function(){o=!1,n.fire()}))}),{begin:{add:function(e){o&&e(),t.add(e)},remove:t.remove.bind(t)},end:n}}])},function(e,t,n){var i=n(49);i.registerExecutor({ngExpression:{execute:function(e){"string"==typeof e.action&&e.context.$eval(e.action)}}})},function(e,t,n){var i=n(178),o=n(34);if(i&&i.load){var a={supplemental:{version:{_cldrVersion:"28",_unicodeVersion:"8.0.0",_number:"$Revision: 11965 $"},likelySubtags:{en:"en-Latn-US",de:"de-Latn-DE",ru:"ru-Cyrl-RU",ja:"ja-Jpan-JP"}}};i.locale()||(i.load(a),i.locale("en")),o.inject({locale:function(e){return e?void i.locale(e):i.locale().locale}})}},function(e,t){e.exports=window.Globalize},function(e,t,n){n(177);var i=n(178),o=n(90),a=n(34);if(n(178),i&&i.formatMessage){var s="en",r=i.loadMessages;i.loadMessages=function(e){o.load(e)};var l={ctor:function(){this.load(this._dictionary)},load:function(e){this.callBase(e),r(e)},getMessagesByLocales:function(){return i.cldr.get("globalize-messages")},getFormatter:function(e,t){var n=t||a.locale(),i=this._getFormatterBase(e,t);return i||(i=this._formatterByGlobalize(e,t)),i||n===s||(i=this.getFormatter(e,s)),i},_formatterByGlobalize:function(e,t){var n,o=t&&t!==a.locale()?new i(t):i;return this._messageLoaded(e,t)&&(n=o.messageFormatter(e)),n},_messageLoaded:function(e,t){var n=t?new i(t).cldr:i.locale(),o=n.get(["globalize-messages/{bundle}",e]);return void 0!==o},_loadSingle:function(e,t,n){var i={};i[n]={},i[n][e]=t,this.load(i)}};o.inject(l)}},function(e,t,n){n(177);var i=n(178),o=n(32),a=n(7);if(n(178),i&&i.formatNumber){var s={main:{en:{identity:{version:{_cldrVersion:"28",_number:"$Revision: 11972 $"},language:"en"},numbers:{defaultNumberingSystem:"latn",otherNumberingSystems:{"native":"latn"},minimumGroupingDigits:"1","symbols-numberSystem-latn":{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},"decimalFormats-numberSystem-latn":{standard:"#,##0.###","long":{decimalFormat:{"1000-count-one":"0 thousand","1000-count-other":"0 thousand","10000-count-one":"00 thousand","10000-count-other":"00 thousand","100000-count-one":"000 thousand","100000-count-other":"000 thousand","1000000-count-one":"0 million","1000000-count-other":"0 million","10000000-count-one":"00 million","10000000-count-other":"00 million","100000000-count-one":"000 million","100000000-count-other":"000 million","1000000000-count-one":"0 billion","1000000000-count-other":"0 billion","10000000000-count-one":"00 billion","10000000000-count-other":"00 billion","100000000000-count-one":"000 billion","100000000000-count-other":"000 billion","1000000000000-count-one":"0 trillion","1000000000000-count-other":"0 trillion","10000000000000-count-one":"00 trillion","10000000000000-count-other":"00 trillion","100000000000000-count-one":"000 trillion","100000000000000-count-other":"000 trillion"}},"short":{decimalFormat:{"1000-count-one":"0K","1000-count-other":"0K","10000-count-one":"00K","10000-count-other":"00K","100000-count-one":"000K","100000-count-other":"000K","1000000-count-one":"0M","1000000-count-other":"0M","10000000-count-one":"00M","10000000-count-other":"00M","100000000-count-one":"000M","100000000-count-other":"000M","1000000000-count-one":"0B","1000000000-count-other":"0B","10000000000-count-one":"00B","10000000000-count-other":"00B","100000000000-count-one":"000B","100000000000-count-other":"000B","1000000000000-count-one":"0T","1000000000000-count-other":"0T","10000000000000-count-one":"00T","10000000000000-count-other":"00T","100000000000000-count-one":"000T","100000000000000-count-other":"000T"}}},"scientificFormats-numberSystem-latn":{standard:"#E0"},"percentFormats-numberSystem-latn":{standard:"#,##0%"},"currencyFormats-numberSystem-latn":{currencySpacing:{beforeCurrency:{currencyMatch:"[:^S:]",surroundingMatch:"[:digit:]",insertBetween:" "},afterCurrency:{currencyMatch:"[:^S:]",surroundingMatch:"[:digit:]",insertBetween:" "}},standard:"¤#,##0.00",accounting:"¤#,##0.00;(¤#,##0.00)","short":{standard:{"1000-count-one":"¤0K","1000-count-other":"¤0K","10000-count-one":"¤00K","10000-count-other":"¤00K","100000-count-one":"¤000K","100000-count-other":"¤000K","1000000-count-one":"¤0M","1000000-count-other":"¤0M","10000000-count-one":"¤00M","10000000-count-other":"¤00M","100000000-count-one":"¤000M","100000000-count-other":"¤000M","1000000000-count-one":"¤0B","1000000000-count-other":"¤0B","10000000000-count-one":"¤00B","10000000000-count-other":"¤00B","100000000000-count-one":"¤000B","100000000000-count-other":"¤000B","1000000000000-count-one":"¤0T","1000000000000-count-other":"¤0T","10000000000000-count-one":"¤00T","10000000000000-count-other":"¤00T","100000000000000-count-one":"¤000T","100000000000000-count-other":"¤000T"}},"unitPattern-count-one":"{0} {1}","unitPattern-count-other":"{0} {1}"},"miscPatterns-numberSystem-latn":{atLeast:"{0}+",range:"{0}–{1}"}}}}};"en"===i.locale().locale&&(i.load(s),i.locale("en"));var r={},l=function(e){var t,n;return n="object"==typeof e?i.locale().locale+":"+JSON.stringify(e):i.locale().locale+":"+e,t=r[n],t||(t=r[n]=i.numberFormatter(e)),t},c={_formatNumberCore:function(e,t,n){return"exponential"===t?this.callBase.apply(this,arguments):l(this._normalizeFormatConfig(t,n,e))(e)},_normalizeFormatConfig:function(e,t,n){var i;return i="decimal"===e?{minimumIntegerDigits:t.precision||1,useGrouping:!1,maximumFractionDigits:0,round:n<0?"ceil":"floor"}:this._getPrecisionConfig(t.precision),"percent"===e&&(i.style="percent"),i},_getPrecisionConfig:function(e){var t;return t=null===e?{minimumFractionDigits:0,maximumFractionDigits:20}:{minimumFractionDigits:e||0,maximumFractionDigits:e||0}},format:function(e,t){return"number"!=typeof e?e:(t=this._normalizeFormat(t),t&&("function"==typeof t||t.type||t.formatter)?this.callBase.apply(this,arguments):l(t)(e))},parse:function(e,t){if(e)return t&&t.parser?t.parser(e):(t&&a.log("W0011"),i.parseNumber(e))}};o.inject(c)}},function(e,t,n){n(177),n(180),n(178);var i={supplemental:{version:{_cldrVersion:"28",_unicodeVersion:"8.0.0",_number:"$Revision: 11969 $"},timeData:{"001":{_allowed:"H h",_preferred:"H"},DE:{_allowed:"H",_preferred:"H"},JP:{_allowed:"H K h",_preferred:"H"},RU:{_allowed:"H",_preferred:"H"},US:{_allowed:"H h",_preferred:"h"}}}},o={main:{en:{identity:{version:{_cldrVersion:"28",_number:"$Revision: 11972 $"},language:"en"},dates:{calendars:{gregorian:{months:{format:{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}},"stand-alone":{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}}},days:{format:{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},"short":{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}},"stand-alone":{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},"short":{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}}},quarters:{format:{abbreviated:{1:"Q1",2:"Q2",3:"Q3",4:"Q4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1st quarter",2:"2nd quarter",3:"3rd quarter",4:"4th quarter"}},"stand-alone":{abbreviated:{1:"Q1",2:"Q2",3:"Q3",4:"Q4"},narrow:{1:"1",2:"2",3:"3",4:"4"},wide:{1:"1st quarter",2:"2nd quarter",3:"3rd quarter",4:"4th quarter"}}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{eraNames:{0:"Before Christ","0-alt-variant":"Before Common Era",1:"Anno Domini","1-alt-variant":"Common Era"},eraAbbr:{0:"BC","0-alt-variant":"BCE",1:"AD","1-alt-variant":"CE"},eraNarrow:{0:"B","0-alt-variant":"BCE",1:"A","1-alt-variant":"CE"}},dateFormats:{full:"EEEE, MMMM d, y","long":"MMMM d, y",medium:"MMM d, y","short":"M/d/yy"},timeFormats:{full:"h:mm:ss a zzzz","long":"h:mm:ss a z",medium:"h:mm:ss a","short":"h:mm a"},dateTimeFormats:{full:"{1} 'at' {0}","long":"{1} 'at' {0}",medium:"{1}, {0}","short":"{1}, {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y"},appendItems:{Day:"{0} ({2}: {1})","Day-Of-Week":"{0} {1}",Era:"{0} {1}",Hour:"{0} ({2}: {1})",Minute:"{0} ({2}: {1})",Month:"{0} ({2}: {1})",Quarter:"{0} ({2}: {1})",Second:"{0} ({2}: {1})",Timezone:"{0} {1}",Week:"{0} ({2}: {1})",Year:"{0} {1}"},intervalFormats:{intervalFormatFallback:"{0} – {1}",d:{d:"d – d"},h:{a:"h a – h a",h:"h – h a"},H:{H:"HH – HH"},hm:{a:"h:mm a – h:mm a",h:"h:mm – h:mm a",m:"h:mm – h:mm a"},Hm:{H:"HH:mm – HH:mm",m:"HH:mm – HH:mm"},hmv:{a:"h:mm a – h:mm a v",h:"h:mm – h:mm a v",m:"h:mm – h:mm a v"},Hmv:{H:"HH:mm – HH:mm v",m:"HH:mm – HH:mm v"},hv:{a:"h a – h a v",h:"h – h a v"},Hv:{H:"HH – HH v"},M:{M:"M – M"},Md:{d:"M/d – M/d",M:"M/d – M/d"},MEd:{d:"E, M/d – E, M/d",M:"E, M/d – E, M/d"},MMM:{M:"MMM – MMM"},MMMd:{d:"MMM d – d",M:"MMM d – MMM d"},MMMEd:{d:"E, MMM d – E, MMM d",M:"E, MMM d – E, MMM d"},y:{y:"y – y"},yM:{M:"M/y – M/y",y:"M/y – M/y"},yMd:{d:"M/d/y – M/d/y",M:"M/d/y – M/d/y",y:"M/d/y – M/d/y"},yMEd:{d:"E, M/d/y – E, M/d/y",M:"E, M/d/y – E, M/d/y",y:"E, M/d/y – E, M/d/y"},yMMM:{M:"MMM – MMM y",y:"MMM y – MMM y"},yMMMd:{d:"MMM d – d, y",M:"MMM d – MMM d, y",y:"MMM d, y – MMM d, y"},yMMMEd:{d:"E, MMM d – E, MMM d, y",M:"E, MMM d – E, MMM d, y",y:"E, MMM d, y – E, MMM d, y"},yMMMM:{M:"MMMM – MMMM y",y:"MMMM y – MMMM y"}}}}}}}}},a={supplemental:{version:{_cldrVersion:"28",_unicodeVersion:"8.0.0",_number:"$Revision: 11969 $"},weekData:{minDays:{"001":"1",US:"1",DE:"4"},firstDay:{"001":"mon",DE:"mon",RU:"mon",JP:"sun",US:"sun"},weekendStart:{"001":"sat"},weekendEnd:{"001":"sun"}}}},s=["skeleton","date","time","datetime","raw"],r=n(9),l=n(178),c=n(33),d=n(14).isObject,u=n(26).inArray,h=n(7);if(l&&l.formatDate){"en"===l.locale().locale&&(l.load(a,i,o),l.locale("en"));var p={},f={shortdate:{path:"dateTimeFormats/availableFormats/yMd"},shorttime:{path:"timeFormats/short"},longdate:{path:"dateFormats/full"},longtime:{path:"timeFormats/medium"},monthandday:{path:"dateTimeFormats/availableFormats/MMMMd"},monthandyear:{path:"dateTimeFormats/availableFormats/yMMMM"},quarterandyear:{path:"dateTimeFormats/availableFormats/yQQQ"},day:{path:"dateTimeFormats/availableFormats/d"},year:{path:"dateTimeFormats/availableFormats/y"},shortdateshorttime:{path:"dateTimeFormats/short",parts:["shorttime","shortdate"]},mediumdatemediumtime:{path:"dateTimeFormats/medium",parts:["shorttime","monthandday"]},longdatelongtime:{path:"dateTimeFormats/medium",parts:["longtime","longdate"]},month:{pattern:"LLLL"},shortyear:{pattern:"yy"},dayofweek:{pattern:"EEEE"},quarter:{pattern:"QQQ"},millisecond:{pattern:"SSS"},hour:{pattern:"HH"},minute:{pattern:"mm"},second:{pattern:"ss"}},m={_getPatternByFormat:function(e){var t=this,n=e.toLowerCase(),i=f[n];if("datetime-local"===n)return"yyyy-MM-ddTHH':'mm':'ss";if(i){var o=i.path&&t._getFormatStringByPath(i.path)||i.pattern;return i.parts&&r.each(i.parts,function(e,n){o=o.replace("{"+e+"}",t._getPatternByFormat(n))}),o}},_getFormatStringByPath:function(e){return l.locale().main("dates/calendars/gregorian/"+e)},getMonthNames:function(e){var t=l.locale().main("dates/calendars/gregorian/months/stand-alone/"+(e||"wide"));return r.map(t,function(e){return e})},getDayNames:function(e){var t=l.locale().main("dates/calendars/gregorian/days/stand-alone/"+(e||"wide"));return r.map(t,function(e){return e})},getTimeSeparator:function(){return l.locale().main("numbers/symbols-numberSystem-latn/timeSeparator")},format:function(e,t){if(e){if(!t)return e;var n,i;return"function"==typeof t?t(e):t.formatter?t.formatter(e):(t=t.type||t,"string"==typeof t?(i=l.locale().locale+":"+t,n=p[i],n||(t={raw:this._getPatternByFormat(t)||t},n=p[i]=l.dateFormatter(t))):n=l.dateFormatter(t),n(e))}},parse:function(e,t){if(e)return!t||"function"==typeof t||d(t)&&!this._isAcceptableFormat(t)?(t&&h.log("W0012"),l.parseDate(e)):t.parser?t.parser(e):("string"==typeof t&&(t={raw:this._getPatternByFormat(t)||t}),l.parseDate(e,t))},_isAcceptableFormat:function(e){if(e.parser)return!0;for(var t=0;t<s.length;t++)if(e.hasOwnProperty(s[t]))return!0},firstDayOfWeekIndex:function(){var e=l.locale().supplemental.weekData.firstDay();return u(e,this._getDayKeys())},_getDayKeys:function(){var e=l.locale().main("dates/calendars/gregorian/days/format/short");return r.map(e,function(e,t){return t})}};c.inject(m)}},function(e,t,n){n(177),n(180),n(36),n(178);var i={main:{en:{identity:{version:{_cldrVersion:"28",_number:"$Revision: 11972 $"},language:"en"},numbers:{currencies:{USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}}}}}},o={supplemental:{version:{_cldrVersion:"28",_unicodeVersion:"8.0.0",_number:"$Revision: 11969 $"},currencyData:{fractions:{DEFAULT:{_rounding:"0",_digits:"2"}}}}},a=n(178),s=n(15),r=n(32);if(a&&a.formatCurrency){"en"===a.locale().locale&&(a.load(i,o),a.locale("en"));var l={},c=function(e,t){var n,i;return i="object"==typeof t?a.locale().locale+":"+e+":"+JSON.stringify(t):a.locale().locale+":"+e+":"+t,n=l[i],n||(n=l[i]=a.currencyFormatter(e,t)),n},d={_formatNumberCore:function(e,t,n){if("currency"===t){var i=n&&n.currency||s().defaultCurrency;return c(i,this._normalizeFormatConfig(t,n,e))(e)}return this.callBase.apply(this,arguments)},_normalizeFormatConfig:function(e,t,n){var i=this.callBase(e,t,n);return"currency"===e&&(i.style="accounting"),i},format:function(e,t){if("number"!=typeof e)return e;if(t=this._normalizeFormat(t)){if("default"===t.currency&&(t.currency=s().defaultCurrency),"currency"===t.type)return this._formatNumber(e,this._parseNumberFormatString("currency"),t);if(!t.type&&t.currency)return c(t.currency,t)(e)}return this.callBase.apply(this,arguments)},getCurrencySymbol:function(e){return e||(e=s().defaultCurrency),a.cldr.main("numbers/currencies/"+e)},getOpenXmlCurrencyFormat:function(e){var t,n,i,o,s=this.getCurrencySymbol(e).symbol,r=a.cldr.main("numbers/currencyFormats-numberSystem-latn");if(r.accounting){for(o={".00":"{0}","'":"\\'","\\(":"\\(","\\)":"\\)"," ":"\\ ",'"':""","\\¤":s},n=r.accounting.split(";"),t=0;t<n.length;t++)for(i in o)o.hasOwnProperty(i)&&(n[t]=n[t].replace(new RegExp(i,"g"),o[i]));return 2===n.length?n[0]+"_);"+n[1]:n[0]}}};r.inject(d)}},function(e,t,n){var i=n(9),o=n(62),a=n(25),s=n(74),r=n(76),l=n(72),c="dxdblclick",d="dxDblClick",u=l.addNamespace(r.name,d),h=300,p=a.inherit({ctor:function(){this._handlerCount=0,this._forgetLastClick()},_forgetLastClick:function(){this._firstClickTarget=null,this._lastClickTimeStamp=-h},add:function(){this._handlerCount<=0&&i(document).on(u,this._clickHandler.bind(this)),this._handlerCount++},_clickHandler:function(e){var t=e.timeStamp||i.now();t-this._lastClickTimeStamp<h?(l.fireEvent({type:c,target:o.closestCommonParent(this._firstClickTarget,e.target),originalEvent:e}),this._forgetLastClick()):(this._firstClickTarget=e.target,this._lastClickTimeStamp=t)},remove:function(){this._handlerCount--,this._handlerCount<=0&&(this._forgetLastClick(),i(document).off(u))}});s(c,new p),t.name=c},function(e,t,n){var i=n(72),o=n(87),a=n(85),s="dxswipestart",r="dxswipe",l="dxswipeend",c={defaultItemSizeFunc:function(){return this.getElement().width()},getBounds:function(){return[this._maxLeftOffset,this._maxRightOffset]},calcOffsetRatio:function(e){var t=i.eventData(e);return(t.x-(this._savedEventData&&this._savedEventData.x||0))/this._itemSizeFunc().call(this,e)},isFastSwipe:function(e){var t=i.eventData(e);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(t.x-this._tickData.x)>=t.time-this._tickData.time}},d={defaultItemSizeFunc:function(){return this.getElement().height()},getBounds:function(){return[this._maxTopOffset,this._maxBottomOffset]},calcOffsetRatio:function(e){var t=i.eventData(e);return(t.y-(this._savedEventData&&this._savedEventData.y||0))/this._itemSizeFunc().call(this,e)},isFastSwipe:function(e){var t=i.eventData(e);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(t.y-this._tickData.y)>=t.time-this._tickData.time}},u={horizontal:c,vertical:d},h=o.inherit({TICK_INTERVAL:300,FAST_SWIPE_SPEED_LIMIT:10,ctor:function(e){this.callBase(e),this.direction="horizontal",this.elastic=!0},_getStrategy:function(){return u[this.direction]},_defaultItemSizeFunc:function(){return this._getStrategy().defaultItemSizeFunc.call(this)},_itemSizeFunc:function(){return this.itemSizeFunc||this._defaultItemSizeFunc},_init:function(e){this._tickData=i.eventData(e)},_start:function(e){this._savedEventData=i.eventData(e),e=this._fireEvent(s,e),e.cancel||(this._maxLeftOffset=e.maxLeftOffset,this._maxRightOffset=e.maxRightOffset,this._maxTopOffset=e.maxTopOffset,this._maxBottomOffset=e.maxBottomOffset)},_move:function(e){var t=this._getStrategy(),n=i.eventData(e),o=t.calcOffsetRatio.call(this,e);o=this._fitOffset(o,this.elastic),n.time-this._tickData.time>this.TICK_INTERVAL&&(this._tickData=n),this._fireEvent(r,e,{offset:o}),e.preventDefault()},_end:function(e){var t=this._getStrategy(),n=t.calcOffsetRatio.call(this,e),i=t.isFastSwipe.call(this,e),o=n,a=this._calcTargetOffset(n,i);o=this._fitOffset(o,this.elastic),a=this._fitOffset(a,!1),this._fireEvent(l,e,{offset:o,targetOffset:a})},_fitOffset:function(e,t){var n=this._getStrategy(),i=n.getBounds.call(this);return e<-i[0]?t?(-2*i[0]+e)/3:-i[0]:e>i[1]?t?(2*i[1]+e)/3:i[1]:e},_calcTargetOffset:function(e,t){var n;return t?(n=Math.ceil(Math.abs(e)),e<0&&(n=-n)):n=Math.round(e),n}});a({emitter:h,events:[s,r,l]}),t.swipe=r,t.start=s,t.end=l},function(e,t,n){var i=n(9),o=n(88),a=n(7),s=n(72),r=n(84),l=n(85),c="dx",d="transform",u="translate",h="zoom",p="pinch",f="rotate",m="start",g="",_="end",v=[],w=function(e,t){v.push({name:e,args:t})};w(d,{scale:!0,deltaScale:!0,rotation:!0,deltaRotation:!0,translation:!0,deltaTranslation:!0}),w(u,{translation:!0,deltaTranslation:!0}),w(h,{scale:!0,deltaScale:!0}),w(p,{scale:!0,deltaScale:!0}),w(f,{rotation:!0,deltaRotation:!0});var x=function(e,t){return{x:t.pageX-e.pageX,y:-t.pageY+e.pageY,centerX:.5*(t.pageX+e.pageX),centerY:.5*(t.pageY+e.pageY)}},y=function(e){var t=e.pointers;return x(t[0],t[1])},b=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},C=function(e,t){return b(e)/b(t)},k=function(e,t){var n=e.x*t.x+e.y*t.y,i=b(e)*b(t);if(0===i)return 0;var a=o.sign(e.x*t.y-t.x*e.y),s=Math.acos(o.fitIntoRange(n/i,-1,1));return a*s},I=function(e,t){return{x:e.centerX-t.centerX,y:e.centerY-t.centerY}},S=r.inherit({configure:function(e,t){t.indexOf(h)>-1&&a.log("W0005",t,"15.1","Use '"+t.replace(h,p)+"' event instead"),this.callBase(e)},validatePointers:function(e){return s.hasTouches(e)>1},start:function(e){this._accept(e);var t=y(e);this._startVector=t,this._prevVector=t,this._fireEventAliases(m,e)},move:function(e){var t=y(e),n=this._getEventArgs(t);this._fireEventAliases(g,e,n),this._prevVector=t},end:function(e){var t=this._getEventArgs(this._prevVector);this._fireEventAliases(_,e,t)},_getEventArgs:function(e){return{scale:C(e,this._startVector),deltaScale:C(e,this._prevVector),rotation:k(e,this._startVector),deltaRotation:k(e,this._prevVector),translation:I(e,this._startVector),deltaTranslation:I(e,this._prevVector)}},_fireEventAliases:function(e,t,n){n=n||{},i.each(v,function(o,a){var s={};i.each(a.args,function(e){e in n&&(s[e]=n[e])}),this._fireEvent(c+a.name+e,t,s)}.bind(this))}}),D=i.map(v,function(e){var t=[];return i.each([m,g,_],function(n,i){t.push(c+e.name+i)}),t});l({emitter:S,events:D}),i.each(D,function(e,n){t[n.substring(c.length)]=n})},function(e,t,n){var i=n(5),o=i.data=n(187);o.odata=n(192),e.exports=o},function(e,t,n){var i=n(6);e.exports=i.data=i.data||{},Object.defineProperty(i.data,"errorHandler",{get:function(){return n(156).errorHandler},set:function(e){n(156).errorHandler=e}}),Object.defineProperty(i.data,"_errorHandler",{get:function(){return n(156)._errorHandler},set:function(e){n(156)._errorHandler=e}}),i.data.DataSource=n(188),i.data.query=n(160),i.data.Store=n(155),i.data.ArrayStore=n(159),i.data.CustomStore=n(163),i.data.LocalStore=n(189),i.data.base64_encode=n(138).base64_encode,i.data.Guid=n(152),i.data.utils={},i.data.utils.compileGetter=n(50).compileGetter,i.data.utils.compileSetter=n(50).compileSetter,i.EndpointSelector=n(190),i.data.queryImpl=n(160).queryImpl,i.data.queryAdapters=n(162);var o=n(138);i.data.utils.normalizeBinaryCriterion=o.normalizeBinaryCriterion,i.data.utils.normalizeSortingInfo=o.normalizeSortingInfo,i.data.utils.errorMessageFromXhr=o.errorMessageFromXhr,i.data.utils.aggregators=o.aggregators,i.data.utils.keysEqual=o.keysEqual,i.data.utils.isDisjunctiveOperator=o.isDisjunctiveOperator,i.data.utils.isConjunctiveOperator=o.isConjunctiveOperator,i.data.utils.processRequestResultLock=o.processRequestResultLock,i.data.utils.toComparable=n(50).toComparable,i.data.utils.multiLevelGroup=n(157).multiLevelGroup,i.data.utils.arrangeSortingInfo=n(157).arrangeSortingInfo,i.data.utils.normalizeDataSourceOptions=n(154).normalizeDataSourceOptions},function(e,t,n){e.exports=n(154).DataSource},function(e,t,n){var i=n(9),o=n(25),a=o.abstract,s=n(156).errors,r=n(159),l=o.inherit({ctor:function(e,t){this._store=e,this._dirty=!!t.data,this.save();var n=this._immediate=t.immediate,o=Math.max(100,t.flushInterval||1e4);if(!n){var a=this.save.bind(this);setInterval(a,o),i(window).on("beforeunload",a),window.cordova&&document.addEventListener("pause",a,!1)}},notifyChanged:function(){this._dirty=!0,this._immediate&&this.save()},load:function(){this._store._array=this._loadImpl(),this._dirty=!1},save:function(){this._dirty&&(this._saveImpl(this._store._array),this._dirty=!1)},_loadImpl:a,_saveImpl:a}),c=l.inherit({ctor:function(e,t){var n=t.name;if(!n)throw s.Error("E4013");this._key="dx-data-localStore-"+n,this.callBase(e,t)},_loadImpl:function(){var e=localStorage.getItem(this._key);return e?JSON.parse(e):[]},_saveImpl:function(e){e.length?localStorage.setItem(this._key,JSON.stringify(e)):localStorage.removeItem(this._key)}}),d={dom:c},u=r.inherit({ctor:function(e){e="string"==typeof e?{name:e}:e||{},this.callBase(e),this._backend=new d[e.backend||"dom"](this,e),this._backend.load()},clear:function(){this.callBase(),this._backend.notifyChanged()},_insertImpl:function(e){var t=this._backend;return this.callBase(e).done(t.notifyChanged.bind(t))},_updateImpl:function(e,t){var n=this._backend;return this.callBase(e,t).done(n.notifyChanged.bind(n))},_removeImpl:function(e){var t=this._backend;return this.callBase(e).done(t.notifyChanged.bind(t))}},"local");e.exports=u},function(e,t,n){function i(e){return/^(localhost$|127\.)/i.test(e)}var o=n(7),a=n(191),s=window.location,r="ms-appx:"===s.protocol,l=i(s.hostname),c=function(e){this.config=e};c.prototype={urlFor:function(e){var t=this.config[e];if(!t)throw o.Error("E0006");return a.isProxyUsed()?a.formatProxyUrl(t.local):t.production&&(r&&!Debug.debuggerEnabled||!r&&!l)?t.production:t.local}},e.exports=c},function(e,t,n){var i=n(9),o=window.location,a="dxproxy.devexpress.com:8000",s=o.host===a,r={},l=function(){var e=document.createElement("a"),t=["protocol","hostname","port","pathname","search","hash"],n=function(e){return"/"!==e.charAt(0)&&(e="/"+e),e};return function(o){e.href=o;var a={};return i.each(t,function(){a[this]=e[this]}),a.pathname=n(a.pathname),a}}(),c=function(){return o.pathname.split("/")[1]};e.exports={parseUrl:l,isProxyUsed:function(){return s},formatProxyUrl:function(e){var t=l(e);if(!/^(localhost$|127\.)/i.test(t.hostname))return e;var n=a+"/"+c()+"_"+t.port;r[n]=t.hostname+":"+t.port;var i="http://"+n+t.pathname+t.search;return i},formatLocalUrl:function(e){if(e.indexOf(a)<0)return e;var t=e;for(var n in r)if(r.hasOwnProperty(n)&&e.indexOf(n)>=0){t=e.replace(n,r[n]);break}return t}}},function(e,t,n){n(187),DevExpress.data.ODataStore=n(193),DevExpress.data.ODataContext=n(197),DevExpress.data.utils=DevExpress.data.utils||{},DevExpress.data.utils.odata={},DevExpress.data.utils.odata.keyConverters=n(194).keyConverters,DevExpress.data.EdmLiteral=n(194).EdmLiteral;var i=n(194);DevExpress.data.utils.odata.serializePropName=i.serializePropName,DevExpress.data.utils.odata.serializeValue=i.serializeValue,DevExpress.data.utils.odata.serializeKey=i.serializeKey,DevExpress.data.utils.odata.sendRequest=i.sendRequest,DevExpress.data.queryAdapters=DevExpress.data.queryAdapters||{},DevExpress.data.queryAdapters.odata=n(196).odata},function(e,t,n){function i(e,t){var n={};return n[e]=t,n}function o(e,t){var n={};for(var i in e)n[i]=e[i];for(var o in t)o in n?n[o]!==t[o]&&c.log("W4001",o):n[o]=t[o];return n}var a=n(9),s=n(14),r=n(194),l=n(191),c=n(156).errors,d=n(160),u=n(155),h=n(195),p=n(16).when;n(196);var f="5d46402c-7899-4ea9-bd81-8b73c47c7683",m=u.inherit({ctor:function(e){this.callBase(e),this._extractServiceOptions(e);var t=this.key(),n=e.fieldTypes,a=e.keyType;if(a){var s="string"==typeof a;t||(t=s?f:Object.keys(a),this._legacyAnonymousKey=t),s&&(a=i(t,a)),n=o(n,a)}this._fieldTypes=n||{},2===this.version()?this._updateMethod="MERGE":this._updateMethod="PATCH"},_customLoadOptions:function(){return["expand","customQueryParams"]},_byKeyImpl:function(e,t){var n={};return t&&t.expand&&(n.$expand=a.map(a.makeArray(t.expand),r.serializePropName).join()),this._sendRequest(this._byKeyUrl(e),"GET",n)},createQuery:function(e){var t,n;if(e=e||{},n={adapter:"odata",beforeSend:this._beforeSend,errorHandler:this._errorHandler,jsonp:this._jsonp,version:this._version,withCredentials:this._withCredentials,expand:e.expand,requireTotalCount:e.requireTotalCount,deserializeDates:this._deserializeDates,fieldTypes:this._fieldTypes},t=s.isDefined(e.urlOverride)?e.urlOverride:this._url,e.customQueryParams){var i=h.escapeServiceOperationParams(e.customQueryParams,this.version());4===this.version()?t=h.formatFunctionInvocationUrl(t,i):n.params=i}return d(t,n)},_insertImpl:function(e){this._requireKey();var t=this,n=a.Deferred();return p(this._sendRequest(this._url,"POST",null,e)).done(function(i){n.resolve(e,t.keyOf(i))}).fail(n.reject),n.promise()},_updateImpl:function(e,t){var n=a.Deferred();return p(this._sendRequest(this._byKeyUrl(e),this._updateMethod,null,t)).done(function(){n.resolve(e,t)}).fail(n.reject),n.promise()},_removeImpl:function(e){var t=a.Deferred();return p(this._sendRequest(this._byKeyUrl(e),"DELETE")).done(function(){t.resolve(e)}).fail(t.reject),t.promise()},_convertKey:function(e){var t=e,n=this._fieldTypes,i=this.key()||this._legacyAnonymousKey;if(Array.isArray(i)){t={};for(var o in i){var a=i[o];t[a]=r.convertPrimitiveValue(n[a],e[a])}}else n[i]&&(t=r.convertPrimitiveValue(n[i],e));return t},_byKeyUrl:function(e,t){var n=t?l.formatLocalUrl(this._url):this._url,i=this._convertKey(e);return n+"("+encodeURIComponent(r.serializeKey(i,this._version))+")"}},"odata").include(h.SharedMethods);e.exports=m},function(e,t,n){function i(e,t,n){var i=[],o=function(e){return e<10?"0".concat(e):String(e)},a=function(){return e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()<1};return i.push(e.getFullYear()),i.push("-"),i.push(o(e.getMonth()+1)),i.push("-"),i.push(o(e.getDate())),t&&a()||(i.push("T"),i.push(o(e.getHours())),i.push(":"),i.push(o(e.getMinutes())),i.push(":"),i.push(o(e.getSeconds())),e.getMilliseconds()&&(i.push("."),i.push(e.getMilliseconds())),n||i.push("Z")),i.join("")}function o(e){var t=new Date(60*new Date(0).getTimezoneOffset()*1e3),n=e.replace("Z","").split("T"),i=/(\d{4})-(\d{2})-(\d{2})/.exec(n[0]),o=/(\d{2}):(\d{2}):(\d{2})\.?(\d{0,7})?/.exec(n[1]);return t.setFullYear(Number(i[1])),t.setMonth(Number(i[2])-1),t.setDate(Number(i[3])),Array.isArray(o)&&o.length&&(t.setHours(Number(o[1])),t.setMinutes(Number(o[2])),t.setSeconds(Number(o[3])),t.setMilliseconds(Number(String(o[4]).substr(0,3))||0)),t}function a(e){return/^(?:[a-z]+:)?\/\//i.test(e)}function s(e,t){function n(e){var t=e.indexOf("?");return t>-1?e.substr(0,t):e}var i,o=n(e).split("/"),a=t.split("/");for(o.pop();a.length;)i=a.shift(),".."===i?o.pop():o.push(i);return o.join("/")}var r=n(9),l=n(25),c=n(11).extend,d=n(14),u=n(12),h=n(152),p=d.isDefined,f=n(156).errors,m=n(138),g=/^(\{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}\}{0,1})$/,_=/^\/Date\((-?\d+)((\+|-)?(\d+)?)\)\/$/,v=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[-+]{1}\d{2}(:?)(\d{2})?)?$/,w="application/json;odata=verbose",x=function(e,t,n){function o(t){return JSON.stringify(t,function(t,n){if(!(this[t]instanceof Date))return n;switch(n=i(this[t]),e){case 2:return n.substr(0,n.length-1);case 3:case 4:return n;default:throw f.Error("E4002")}})}t=c({async:!0,method:"get",url:"",params:{},payload:null,headers:{},timeout:3e4},t),n=n||{};var a=n.beforeSend;a&&a(t);var s=(t.method||"get").toLowerCase(),l="get"===s,d=l&&n.jsonp,u=c({},t.params),h=l?u:o(t.payload),p=!l&&r.param(u),m=t.url,g=!l&&w;
return p&&(m+=(m.indexOf("?")>-1?"&":"?")+p),d&&(h.$format="json"),{url:m,data:h,dataType:d?"jsonp":"json",jsonp:d&&"$callback",type:s,async:t.async,timeout:t.timeout,headers:t.headers,contentType:g,accepts:{json:[w,"text/plain"].join()},xhrFields:{withCredentials:n.withCredentials}}},y=function(e,t,n){var i=r.Deferred(),o=x(e,t,n);return r.ajax(o).always(function(t,r){var l,c={deserializeDates:n.deserializeDates,fieldTypes:n.fieldTypes},d=k(t,r,c),u=d.error,h=d.data,p=d.nextUrl;u?u.message!==m.XHR_ERROR_UNLOAD&&i.reject(u):n.countOnly?isFinite(d.count)?i.resolve(d.count):i.reject(new f.Error("E4018")):p?(a(p)||(p=s(o.url,p)),y(e,{url:p},n).fail(i.reject).done(function(e){i.resolve(h.concat(e))})):(isFinite(d.count)&&(l={totalCount:d.count}),i.resolve(h,l))}),i.promise()},b=function(e){var t,n=e;"message"in e&&(t=e.message.value?e.message.value:e.message);for(;(n=n.innererror||n.internalexception)&&(t=n.message,!n.internalexception||t.indexOf("inner exception")!==-1););return t},C=function(e,t){if("nocontent"===t)return null;var n=200,i="Unknown error",o=e;if("success"!==t){n=e.status,i=m.errorMessageFromXhr(e,t);try{o=JSON.parse(e.responseText)}catch(e){}}var a=o&&(o.then&&o||o.error||o["odata.error"]||o["@odata.error"]);return a?(i=b(a)||i,200===n&&(n=500),a.code&&(n=Number(a.code)),c(Error(i),{httpStatus:n,errorDetails:a})):200!==n?c(Error(i),{httpStatus:n}):void 0},k=function(e,t,n){var i,o=C(e,t);return o?{error:o}:u.isPlainObject(e)?(i="d"in e&&(Array.isArray(e.d)||d.isObject(e.d))?I(e,t):S(e,t),T(i,n),i):{data:e}},I=function(e){var t=e.d;return p(t)?(t=t,p(t.results)&&(t=t.results),{data:t,nextUrl:e.d.__next,count:parseInt(e.d.__count,10)}):{error:Error("Malformed or unsupported JSON response received")}},S=function(e){var t=e;return p(t.value)&&(t=t.value),{data:t,nextUrl:e["@odata.nextLink"],count:parseInt(e["@odata.count"],10)}},D=l.inherit({ctor:function(e){this._value=e},valueOf:function(){return this._value}}),T=function(e,t){t=t||{},r.each(e,function(n,i){if(null!==i&&"object"==typeof i)"results"in i&&(e[n]=i.results),T(e[n],t);else if("string"==typeof i){var a=t.fieldTypes,s=!a||"String"!==a[n];if(s&&g.test(i)&&(e[n]=new h(i)),t.deserializeDates!==!1)if(i.match(_)){var r=new Date(Number(RegExp.$1)+60*RegExp.$2*1e3);e[n]=new Date(r.valueOf()+60*r.getTimezoneOffset()*1e3)}else v.test(i)&&(e[n]=new Date(o(e[n]).valueOf()))}})},E=function(e){return"datetime'"+i(e,!0,!0)+"'"},A=function(e){return"'"+e.replace(/'/g,"")+"'"},B=function(e){return e instanceof D?e.valueOf():e.replace(/\./g,"/")},M=function(e){return e instanceof Date?i(e,!1,!1):e instanceof h?e.valueOf():Array.isArray(e)?"["+e.map(function(e){return M(e)}).join(",")+"]":R(e)},R=function(e){return e instanceof Date?E(e):e instanceof h?"guid'"+e+"'":e instanceof D?e.valueOf():"string"==typeof e?A(e):String(e)},O=function(e,t){switch(t){case 2:case 3:return R(e);case 4:return M(e);default:throw f.Error("E4002")}},P=function(e,t){if(u.isPlainObject(e)){var n=[];return r.each(e,function(e,i){n.push(B(e)+"="+O(i,t))}),n.join()}return O(e,t)},V={String:function(e){return e+""},Int32:function(e){return Math.floor(e)},Int64:function(e){return e instanceof D?e:new D(e+"L")},Guid:function(e){return e instanceof h?e:new h(e)},Boolean:function(e){return!!e},Single:function(e){return e instanceof D?e:new D(e+"f")},Decimal:function(e){return e instanceof D?e:new D(e+"m")}},F=function(e,t){var n=V[e];if(!n)throw f.Error("E4014",e);return n(t)};t.sendRequest=y,t.serializePropName=B,t.serializeValue=O,t.serializeKey=P,t.keyConverters=V,t.convertPrimitiveValue=F,t.EdmLiteral=D},function(e,t,n){var i=n(9),o=n(18),a=n(194);n(196);var s=2,r=function(e,t){return o.format("{0}({1})",e,i.map(t||{},function(e,t){return o.format("{0}={1}",t,e)}).join(","))},l=function(e,t){if(!e)return e;var n={};return i.each(e,function(e,i){n[e]=a.serializeValue(i,t)}),n},c={_extractServiceOptions:function(e){e=e||{},this._url=String(e.url).replace(/\/+$/,""),this._beforeSend=e.beforeSend,this._jsonp=e.jsonp,this._version=e.version||s,this._withCredentials=e.withCredentials,this._deserializeDates=e.deserializeDates},_sendRequest:function(e,t,n,i){return a.sendRequest(this.version(),{url:e,method:t,params:n||{},payload:i},{beforeSend:this._beforeSend,jsonp:this._jsonp,withCredentials:this._withCredentials,deserializeDates:this._deserializeDates})},version:function(){return this._version}};t.SharedMethods=c,t.escapeServiceOperationParams=l,t.formatFunctionInvocationUrl=r},function(e,t,n){var i=n(9),o=n(14),a=n(12),s=n(11).extend,r=n(162),l=n(194),c=l.serializePropName,d=n(156).errors,u=n(138),h=o.isFunction,p=a.isPlainObject,f=o.grep,m=2,g=function(){var e,t,n=function(e){return function(t,n){return t+" "+e+" "+n}},o=function(e,t){return function(n,i){var o=[e,"("];return t?o.push(i,",",n):o.push(n,",",i),o.push(")"),o.join("")}},a={"=":n("eq"),"<>":n("ne"),">":n("gt"),">=":n("ge"),"<":n("lt"),"<=":n("le"),startswith:o("startswith"),endswith:o("endswith")},r=s({},a,{contains:o("substringof",!0),notcontains:o("not substringof",!0)}),h=s({},a,{contains:o("contains"),notcontains:o("not contains")}),p=function(n){n=u.normalizeBinaryCriterion(n);var i=n[1],o=4===e?h:r,a=o[i.toLowerCase()];if(!a)throw d.Error("E4003",i);var s=n[0],p=n[2];return t&&t[s]&&(p=l.convertPrimitiveValue(t[s],p)),a(c(s),l.serializeValue(p,e))},f=function(e){var t=e[0],n=g(e[1]);if("!"===t)return"not ("+n+")";throw d.Error("E4003",t)},m=function(e){var t,n,o=[];return i.each(e,function(e,i){if(Array.isArray(i)){if(o.length>1&&t!==n)throw new d.Error("E4019");o.push("("+g(i)+")"),t=n,n="and"}else n=u.isConjunctiveOperator(this)?"and":"or"}),o.join(" "+t+" ")},g=function(e){return Array.isArray(e[0])?m(e):u.isUnaryOperation(e)?f(e):p(e)};return function(n,i,o){return t=o,e=i,g(n)}}(),_=function(e){var t,n,o,a,r=[],d=[],u=e.expand,_=e.version||m,v=function(){return n||void 0!==o},w=function(e){for(var t=0;t<e.length;t++){if(h(e[t]))return!0;if(Array.isArray(e[t])&&w(e[t]))return!0}return!1},x=function(){var e=function(e){return/\./.test(e)},n=function(){if(t)return _<4?c(t.join()):f(t,e,!0).join()},o=function(){var n=function(){var e={};return u&&i.each(i.makeArray(u),function(){e[c(this)]=1}),t&&i.each(i.makeArray(t),function(){var t=this.split(".");t.length<2||(t.pop(),e[c(t.join("."))]=1)}),i.map(e,function(e,t){return t}).join()},o=function(){var n=function(e){var t=function(e){var n="",o=[],a=[];return i.each(e,function(e,n){Array.isArray(n)&&[].push.apply(o,n),p(n)&&a.push(e+t(n))}),(o.length||a.length)&&(n+="(",o.length&&(n+="$select="+i.map(o,c).join()),a.length&&(o.length&&(n+=";"),n+="$expand="+i.map(a,c).join()),n+=")"),n},n=[];return i.each(e,function(e,i){n.push(e+t(i))}),n.join()},o=function(e,t,n){var o=function(e,t,n){var i=n(t,e.shift(),e);i!==!1&&o(e,i,n)};i.each(e,function(e,i){o(i.split("."),t,n)})},a={};if(u||t)return u&&o(i.makeArray(u),a,function(e,t,n){return e[t]=e[t]||{},!!n.length&&e[t]}),t&&o(f(i.makeArray(t),e),a,function(e,t,n){return n.length?e[t]=e[t]||{}:(e[t]=e[t]||[],e[t].push(t),!1)}),n(a)};return _<4?n():o()},a={$select:n()||void 0,$expand:o()||void 0};return a},y=function(){var t={};if(!a){r.length&&(t.$orderby=r.join(",")),n&&(t.$skip=n),void 0!==o&&(t.$top=o);var i=x();t.$select=i.$select,t.$expand=i.$expand}if(d.length){var s=d.length<2?d[0]:d,l=e&&e.fieldTypes;t.$filter=g(s,_,l)}return a&&(t.$top=0),(e.requireTotalCount||a)&&(4!==_?t.$inlinecount="allpages":t.$count="true"),t};return{exec:function(t){return l.sendRequest(_,{url:t,params:s(y(),e&&e.params)},{beforeSend:e.beforeSend,jsonp:e.jsonp,withCredentials:e.withCredentials,countOnly:a,deserializeDates:e.deserializeDates,fieldTypes:e.fieldTypes})},multiSort:function(e){var t;if(v())return!1;for(var n=0;n<e.length;n++){var i,o=e[n][0],a=!!e[n][1];if("string"!=typeof o)return!1;i=c(o),a&&(i+=" desc"),t=t||[],t.push(i)}r=t},slice:function(e,t){return!v()&&(n=e,void(o=t))},filter:function(e){return!v()&&(Array.isArray(e)||(e=i.makeArray(arguments)),!w(e)&&(d.length&&d.push("and"),void d.push(e)))},select:function(e){return!t&&!h(e)&&(Array.isArray(e)||(e=i.makeArray(arguments)),void(t=e))},count:function(){a=!0}}};r.odata=_,t.odata=_},function(e,t,n){var i=n(9),o=n(25),a=n(11).extend,s=n(14),r=n(12),l=n(156),c=n(193),d=n(195),u=n(16).when;n(196);var h=o.inherit({ctor:function(e){var t=this;t._extractServiceOptions(e),t._errorHandler=e.errorHandler,i.each(e.entities||[],function(n,i){t[n]=new c(a({},e,{url:t._url+"/"+encodeURIComponent(i.name||n)},i))})},get:function(e,t){return this.invoke(e,t,"GET")},invoke:function(e,t,n){t=t||{},n=(n||"POST").toLowerCase();var o,a=i.Deferred(),s=this._url+"/"+encodeURIComponent(e);return 4===this.version()&&("get"===n?(s=d.formatFunctionInvocationUrl(s,d.escapeServiceOperationParams(t,this.version())),t=null):"post"===n&&(o=t,t=null)),u(this._sendRequest(s,n,d.escapeServiceOperationParams(t,this.version()),o)).done(function(t){r.isPlainObject(t)&&e in t&&(t=t[e]),a.resolve(t)}).fail([this._errorHandler,l._errorHandler,a.reject]),a.promise()},objectLink:function(e,t){var n=this[e];if(!n)throw l.errors.Error("E4015",e);return s.isDefined(t)?{__metadata:{uri:n._byKeyUrl(t,!0)}}:null}}).include(d.SharedMethods);e.exports=h},function(e,t,n){n(6),e.exports=DevExpress.ui={},DevExpress.ui.templateRendered=n(98).renderedCallbacks},function(e,t,n){e.exports=n(97).setTemplateEngine},function(e,t,n){var i=n(9),o=n(48),a=n(14).isFunction,s=n(49),r=n(62),l=n(55),c=n(11).extend,d=n(12).isPlainObject,u=n(53),h=n(144),p=n(22),f=n(90),m=n(201),g=n(15),_={text:"OK",onClick:function(){return!0}},v="dx-dialog",w=v+"-wrapper",x=v+"-root",y=v+"-content",b=v+"-message",C=v+"-buttons",k=v+"-button",I=o.inherit({ctor:function(e,t){this.callBase(t)},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{width:276}},{device:{platform:"android"},options:{lWidth:"60%",pWidth:"80%"}},{device:function(e){var t=(h.current()||"").split(".")[0];return!e.phone&&"win8"===t},options:{width:function(){return i(window).width()}}},{device:function(e){var t=(h.current()||"").split(".")[0];return e.phone&&"win8"===t},options:{position:{my:"top center",at:"top center",of:window,offset:"0 0"}}}])}});t.FakeDialogComponent=I,t.title="",t.custom=function(e){function n(){return E.show(),d.promise()}function o(e){d.resolve(e),E.hide().done(function(){E.element().remove()})}var d=i.Deferred(),h=(new I).option();e=c(h,e);var f=i("