PageSourceSearch

https://myabc.abccargo.ae/main-es2015.dc3d34cf69c0773cdd0c.js

js abccargo.ae collected 2026-10-04 03:51:08 UTC 3,337,051 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+12O":function(e,t,n){"use strict";var i=n("5qrJ"),r=n("1LL4").extend,o=n("KAnu"),s=n("zl3R"),a=n("BqN7"),l=n("ti0F"),c=n("IRs2"),u=n("IlOo"),d=n("L+Gw"),h=n("V2fm"),p=n("JZex"),f=n("CQoW"),m=n("YyLj").errors,g=n("XpgS"),_=n("e8y9"),b=n("tJvG"),v=b.when,y=b.Deferred,w=l.isString,C=l.isNumeric,x=l.isBoolean,S=l.isDefined;function k(){this._counter=-1,this._deferreds={}}function T(e){return"pending"===e.state()}function E(e,t){var n,i,o;return"string"==typeof e&&(e={paginate:!1,store:(i=e,new p({load:function(){return a.sendRequest({url:i,dataType:"json"})},loadMode:t&&t.fromUrlLoadMode}))}),void 0===e&&(e=[]),void 0===(e=Array.isArray(e)||e instanceof d?{store:e}:r({},e)).store&&(e.store=[]),n=e.store,"load"in e?(o={},s.each(["useDefaultSearch","key","load","loadMode","cacheRawData","byKey","lookup","totalCount","insert","update","remove"],(function(){o[this]=e[this],delete e[this]})),n=new p(o)):Array.isArray(n)?n=new h(n):l.isPlainObject(n)&&(n=function(e){var t=e.type;return delete e.type,d.create(t,e)}(r({},n))),e.store=n,e}function I(e){switch(e.length){case 0:return;case 1:return e[0]}return[].slice.call(e)}function D(e){return function(){var t=I(arguments);if(void 0===t)return this._storeLoadOptions[e];this._storeLoadOptions[e]=t}}function M(e,t){return e&&!Array.isArray(e)&&e.data&&(t=e,e=e.data),Array.isArray(e)||(e=[e]),{data:e,extra:t}}k.prototype.constructor=k,k.prototype.add=function(e){return this._counter+=1,this._deferreds[this._counter]=e,this._counter},k.prototype.remove=function(e){return delete this._deferreds[e]},k.prototype.cancel=function(e){return e in this._deferreds&&(this._deferreds[e].reject("canceled"),!0)},k.prototype.cancelAll=function(){for(;this._counter>-1;)this.cancel(this._counter),this._counter--};var O=i.inherit({ctor:function(e){var t=this,n=this,i=0!==(e=E(e)).pushAggregationTimeout?c.throttleChanges(this._onPush,(function(){return void 0===e.pushAggregationTimeout?5*n._changedTime:e.pushAggregationTimeout})):this._onPush;this._changedTime=0,this._onPushHandler=function(e){t._aggregationTimeoutId=i.call(t,e)},this._store=e.store,this._store.on("push",this._onPushHandler),this._storeLoadOptions=this._extractLoadOptions(e),this._mapFunc=e.map,this._postProcessFunc=e.postProcess,this._pageIndex=void 0!==e.pageIndex?e.pageIndex:0,this._pageSize=void 0!==e.pageSize?e.pageSize:20,this._loadingCount=0,this._loadQueue=this._createLoadQueue(),this._searchValue="searchValue"in e?e.searchValue:null,this._searchOperation=e.searchOperation||"contains",this._searchExpr=e.searchExpr,this._paginate=e.paginate,this._reshapeOnPush=!!S(e.reshapeOnPush)&&e.reshapeOnPush,s.each(["onChanged","onLoadError","onLoadingChanged","onCustomizeLoadResult","onCustomizeStoreLoadOptions"],(function(t,i){i in e&&n.on(i.substr(2,1).toLowerCase()+i.substr(3),e[i])})),this._operationManager=new k,this._init()},_init:function(){this._items=[],this._userData={},this._totalCount=-1,this._isLoaded=!1,S(this._paginate)||(this._paginate=!this.group()),this._isLastPage=!this._paginate},dispose:function(){this._store.off("push",this._onPushHandler),this._disposeEvents(),clearTimeout(this._aggregationTimeoutId),delete this._store,this._delayedLoadTask&&this._delayedLoadTask.abort(),this._operationManager.cancelAll(),this._disposed=!0},_extractLoadOptions:function(e){var t={},n=["sort","filter","select","group","requireTotalCount"],i=this._store._customLoadOptions();return i&&(n=n.concat(i)),s.each(n,(function(){t[this]=e[this]})),t},loadOptions:function(){return this._storeLoadOptions},items:function(){return this._items},pageIndex:function(e){if(!C(e))return this._pageIndex;this._pageIndex=e,this._isLastPage=!this._paginate},paginate:function(e){if(!x(e))return this._paginate;this._paginate!==e&&(this._paginate=e,this.pageIndex(0))},pageSize:function(e){if(!C(e))return this._pageSize;this._pageSize=e},isLastPage:function(){return this._isLastPage},sort:D("sort"),filter:function(){var e=I(arguments);if(void 0===e)return this._storeLoadOptions.filter;this._storeLoadOptions.filter=e,this.pageIndex(0)},group:D("group"),select:D("select"),requireTotalCount:function(e){if(!x(e))return this._storeLoadOptions.requireTotalCount;this._storeLoadOptions.requireTotalCount=e},searchValue:function(e){if(arguments.length<1)return this._searchValue;this._searchValue=e,this.pageIndex(0)},searchOperation:function(e){if(!w(e))return this._searchOperation;this._searchOperation=e,this.pageIndex(0)},searchExpr:function(e){var t=arguments.length;if(0===t)return this._searchExpr;t>1&&(e=[].slice.call(arguments)),this._searchExpr=e,this.pageIndex(0)},store:function(){return this._store},key:function(){return this._store&&this._store.key()},totalCount:function(){return this._totalCount},isLoaded:function(){return this._isLoaded},isLoading:function(){return this._loadingCount>0},beginLoading:function(){this._changeLoadingCount(1)},endLoading:function(){this._changeLoadingCount(-1)},_createLoadQueue:function(){return _.create()},_changeLoadingCount:function(e){var t=this.isLoading();this._loadingCount+=e;var n=this.isLoading();t^n&&this.fireEvent("loadingChanged",[n])}
1,_scheduleLoadCallbacks:function(e){var t=this;t.beginLoading(),e.always((function(){t.endLoading()}))},_scheduleFailCallbacks:function(e){var t=this;e.fail((function(){"canceled"!==arguments[0]&&t.fireEvent("loadError",arguments)}))},_fireChanged:function(e){var t=new Date;this.fireEvent("changed",e),this._changedTime=new Date-t},_scheduleChangedCallbacks:function(e){var t=this;e.done((function(){t._fireChanged()}))},loadSingle:function(e,t){var n=this,i=new y,r=this.key(),o=this._store,s=this._createStoreLoadOptions(),a=function(e){!S(e)||g.isEmpty(e)?i.reject(new m.Error("E4009")):(Array.isArray(e)||(e=[e]),i.resolve(n._applyMapFunction(e)[0]))};function l(){return o instanceof p&&!o._byKeyViaLoad()}return this._scheduleFailCallbacks(i),arguments.length<2&&(t=e,e=r),delete s.skip,delete s.group,delete s.refresh,delete s.pageIndex,delete s.searchString,(e===r||l()?o.byKey(t,s):(s.take=1,s.filter=s.filter?[s.filter,[e,t]]:[e,t],o.load(s))).fail(i.reject).done(a),i.promise()},load:function(){var e=this,t=new y;function n(){if(!e._disposed&&T(t))return e._loadFromStore(i,t)}this._scheduleLoadCallbacks(t),this._scheduleFailCallbacks(t),this._scheduleChangedCallbacks(t);var i=this._createLoadOperation(t);return this.fireEvent("customizeStoreLoadOptions",[i]),this._loadQueue.add((function(){return"number"==typeof i.delay?e._delayedLoadTask=o.executeAsync(n,i.delay):n(),t.promise()})),t.promise({operationId:i.operationId})},_onPush:function(e){var t=this;if(this._reshapeOnPush)this.load();else{this.fireEvent("changing",[{changes:e}]);var n=this.group(),i=this.items(),r=0,o=this.paginate()||n?e.filter((function(e){return"update"===e.type})):e;n&&(r=Array.isArray(n)?n.length:1),this._mapFunc&&o.forEach((function(e){"insert"===e.type&&(e.data=t._mapFunc(e.data))})),u.applyBatch(this.store(),i,o,r,!0),this._fireChanged([{changes:e}])}},_createLoadOperation:function(e){var t=this._operationManager.add(e),n=this._createStoreLoadOptions();return e.always((function(){this._operationManager.remove(t)}).bind(this)),{operationId:t,storeLoadOptions:n}},reload:function(){var e=this.store();return e instanceof p&&e.clearRawDataCache(),this._init(),this.load()},cancel:function(e){return this._operationManager.cancel(e)},cancelAll:function(){return this._operationManager.cancelAll()},_addSearchOptions:function(e){this._disposed||(this.store()._useDefaultSearch?this._addSearchFilter(e):(e.searchOperation=this._searchOperation,e.searchValue=this._searchValue,e.searchExpr=this._searchExpr))},_createStoreLoadOptions:function(){var e=r({},this._storeLoadOptions);return this._addSearchOptions(e),this._paginate&&this._pageSize&&(e.skip=this._pageIndex*this._pageSize,e.take=this._pageSize),e.userData=this._userData,e},_addSearchFilter:function(e){var t=this._searchValue,n=this._searchOperation,i=this._searchExpr,r=[];t&&(i||(i="this"),Array.isArray(i)||(i=[i]),s.each(i,(function(e,i){r.length&&r.push("or"),r.push([i,n,t])})),e.filter=e.filter?[r,e.filter]:r)},_loadFromStore:function(e,t){var n=this;function i(i,o){var s;n._disposed||T(t)&&(s=r(M(i,o),e),n.fireEvent("customizeLoadResult",[s]),v(s.data).done((function(e){s.data=e,n._processStoreLoadResult(s,t)})).fail(t.reject))}return e.data?(new y).resolve(e.data).done(i):this.store().load(e.storeLoadOptions).done(i).fail(t.reject)},_processStoreLoadResult:function(e,t){var n=this,i=e.data,r=e.extra,o=e.storeLoadOptions;function s(){return n._isLoaded=!0,n._totalCount=isFinite(r.totalCount)?r.totalCount:-1,t.resolve(i,r)}n._disposed||(i=n._applyPostProcessFunction(n._applyMapFunction(i)),l.isPlainObject(r)||(r={}),n._items=i,(!i.length||!n._paginate||n._pageSize&&i.length<n._pageSize)&&(n._isLastPage=!0),o.requireTotalCount&&!isFinite(r.totalCount)?n.store().totalCount(o).done((function(e){r.totalCount=e,s()})).fail(t.reject):s())},_applyMapFunction:function(e){return this._mapFunc?(t=this._mapFunc,function e(n,i){return Array.isArray(n)?i?function(t,n){return s.map(t,(function(t){var i={key:t.key,items:e(t.items,n-1)};return"aggregates"in t&&(i.aggregates=t.aggregates),i}))}(n,i):s.map(n,t):n}(e,(n=this.group())?c.normalizeSortingInfo(n).length:0)):e;var t,n},_applyPostProcessFunction:function(e){return this._postProcessFunc?this._postProcessFunc(e):e}}).include(f);t.DataSource=O,t.normalizeDataSourceOptions=E,t.normalizeLoadResult=M},"+20D":function(e,t,n){"use strict";var i=u(n("FKN7")),r=u(n("jeLr")),o=n("1LL4"),s=n("JDOJ"),a=n("85Zg"),l=u(n("AQWU")),c=u(n("0M3q"));
1function u(e){return e&&e.__esModule?e:{default:e}}(0,a.register)("reorder","default",l.default.inherit({_init:function(){var e=this._list;this._groupedEnabled=this._list.option("grouped"),this._lockedDrag=!1;var t=this._groupedEnabled?"> .dx-list-group > .dx-list-group-body > .dx-list-item":"> .dx-list-item";this._sortable=e._createComponent(e._scrollView.content(),c.default,(0,o.extend)({component:e,contentTemplate:null,allowReordering:!1,filter:t,container:e.$element(),dragDirection:e.option("itemDragging.group")?"both":"vertical",handle:".".concat("dx-list-reorder-handle"),dragTemplate:this._dragTemplate,onDragStart:this._dragStartHandler.bind(this),onDragChange:this._dragChangeHandler.bind(this),onReorder:this._reorderHandler.bind(this)},e.option("itemDragging")))},_dragTemplate:function(e){return(0,i.default)(e.itemElement).clone().width((0,i.default)(e.itemElement).width()).addClass("dx-list-item-ghost-reordering").addClass("dx-state-hover").toggleClass("dx-rtl",this.option("rtlEnabled"))},_dragStartHandler:function(e){this._lockedDrag&&(e.cancel=!0)},_dragChangeHandler:function(e){!this._groupedEnabled||this._sameParent(e.fromIndex,e.toIndex)||(e.cancel=!0)},_sameParent:function(e,t){var n=this._list.getItemElementByFlatIndex(e);return this._list.getItemElementByFlatIndex(t).parent().get(0)===n.parent().get(0)},_reorderHandler:function(e){var t=this._list.getItemElementByFlatIndex(e.toIndex);this._list.reorderItem((0,i.default)(e.itemElement),t)},afterBag:function(e){var t=this,n=(0,i.default)("<div>").addClass("dx-list-reorder-handle");r.default.on(n,"dxpointerdown",(function(e){t._lockedDrag=!(0,s.isMouseEvent)(e)})),r.default.on(n,"dxhold",{timeout:30},(function(e){e.cancel=!0,t._lockedDrag=!1})),e.$container.addClass("dx-list-reorder-handle-container").append(n)}}))},"+6qP":function(e,t,n){"use strict";var i,r,o,s,a,l,c,u=n("FKN7"),d=n("tUd6"),h=n("cGv3"),p=h.getWindow(),f=n("tJvG").Deferred,m=n("D8Ap"),g=n("v4HY"),_=n("xMpX").add,b=n("zl3R").each,v=n("LdFP"),y=n("CWM8"),w=n("zASt"),C=y.value,x=n("RwLY"),S=y.changeCallback;function k(){if(!h.hasWindow())return null;var e,t=u("<div>",i).addClass("dx-theme-marker").appendTo(i.documentElement);try{return(e=t.css("fontFamily"))?"dx."!==(e=e.replace(/["']/g,"")).substr(0,"dx.".length)?null:e.substr("dx.".length):null}finally{t.remove()}}function T(e){var t;function n(){a=null,w.fire(),w.empty()}a=e,E()?n():(t=Date.now(),l=setInterval((function(){var e=E(),i=!e&&Date.now()-t>15e3;i&&m.log("W0004",a),(e||i)&&(clearInterval(l),l=void 0,n())}),10))}function E(){return!a||k()===a}function I(e){var t=e?e.split("."):[],n=null;if(o){if(e in o)return e;b(o,(function(e,i){var r=e.split(".");if(!(t[0]&&r[0]!==t[0]||t[1]&&t[1]!==r[1]||t[2]&&t[2]!==r[2]))return n&&!i.isActive||(n=e),!i.isActive&&void 0}))}return n}function D(e){var t;(function(e){try{e!==i&&(o=null)}catch(t){o=null}i=e})((e=e||{}).context||d.getDocument()),i&&((t=u("link[rel=dx-theme]",i)).length&&(o={},r=u(g.createMarkupFromString("<link rel=stylesheet>"),i),t.each((function(){var e=u(this,i),t=e.attr("data-theme"),n=e.attr("href"),r="true"===e.attr("data-active");o[t]={url:n,isActive:r}})),t.last().after(r),t.remove()),s=void 0,M(e))}function M(e){if(!arguments.length)return s=s||k();R(C()),"string"==typeof(e=e||{})&&(e={theme:e});var t,n=e._autoInit,i=e.loadCallback;if((s=I(e.theme||s))&&(t=o[s]),i&&w.add(i),t)r.attr("href",o[s].url),!w.has()&&!e._forceTimeout||l?a&&(a=s):T(s);else{if(!n)throw m.Error("E0021",s);w.fire(),w.empty()}F(),O(y.originalViewPort(),s)}function O(e,t){c=function(e){var t=[],n=(e=e||M())&&e.split(".");return n&&(t.push("dx-theme-"+n[0],"dx-theme-"+n[0]+"-typography"),n.length>1&&t.push("dx-color-scheme-"+n[1]+(A(e)?"-"+n[2]:""))),t}(t).join(" "),u(e).addClass(c),function(){var t=h.hasWindow()&&p.devicePixelRatio;if(t&&!(t<2)){var n=u("<div>");n.css("border",".5px solid transparent"),u("body").append(n),1===n.outerHeight()&&(u(e).addClass("dx-hairlines"),c+=" dx-hairlines"),n.remove()}}()}function R(e){u(e).removeClass(c)}function L(e,t){return t||(t=s||k()),new RegExp(e).test(t)}function A(e){return L("material",e)}function P(e){return L("ios7",e)}function F(){P()&&m.log("W0010","The 'ios7' theme","19.1","Use the 'generic' theme instead.")}function B(e,t){var n=d.getDocument(),i=n.createElement("span");i.style.position="absolute",i.style.top="-9999px",i.style.left="-9999px",i.style.visibility="hidden",i.style.fontFamily="Arial",i.style.fontSize="250px",i.style.fontWeight=t,i.innerHTML=e,n.body.appendChild(i);var r=i.offsetWidth;i.style.fontFamily="Roboto, RobotoFallback, Arial";var o=i.offsetWidth;return i.parentNode.removeChild(i),r!==o}var H=new f;function V(){if(D({_autoInit:!0,_forceTimeout:!0}),u("link[rel=dx-theme]",i).length)throw m.Error("E0022");H.resolve()}h.hasWindow()?V():_(V),S.add((function(e,t){H.done((function(){R(t),O(e)}))})),v.changed.add((function(){D({_autoInit:!0})}
1)),t.current=M,t.ready=function(e){w.add(e)},t.init=D,t.attachCssClasses=O,t.detachCssClasses=R,t.waitForThemeLoad=T,t.isMaterial=A,t.isIos7=P,t.isGeneric=function(e){return L("generic",e)},t.isDark=function(e){return L("dark",e)},t.isWebFontLoaded=B,t.waitWebFont=function(e,t){return new x((function(n){var i=function(){clearInterval(r),clearTimeout(o),n()},r=setInterval((function(){B(e,t)&&i()}),15),o=setTimeout(i,2e3)}))},t.resetTheme=function(){r&&r.attr("href","about:blank"),s=null,a=null},e.exports.default=e.exports},"+7LX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericBarcode=void 0;var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),t}(((i=n("52Lf"))&&i.__esModule?i:{default:i}).default);t.GenericBarcode=o},"+XMB":function(e,t,n){"use strict";var i=n("ia8j"),r=n("wqBK"),o=i.inherit(r).inherit({_addWidgetPrefix:function(e){return"dx-list-"+e},_getCombinedFilter:function(){var e,t,n=this._dataSource;return n&&(t={filter:n.filter()},n._addSearchFilter(t),e=t.filter),e},_initDataSource:function(){var e=this.option("searchValue"),t=this.option("searchExpr"),n=this.option("searchMode");this.callBase(),this._dataSource&&(e&&e.length&&this._dataSource.searchValue(e),n.length&&this._dataSource.searchOperation(r.getOperationBySearchMode(n)),t&&this._dataSource.searchExpr(t))}});e.exports=o},"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"+wj7":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("2RPT"));
1function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("filterBuilder",r.default)},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/4Rl":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("NJzS"),r=n("2j0D"),o=n("JB6v"),s=n("n/pZ"),a=n("jlE0"),l=n("fLmL"),c=n("wXsw"),u=n("+7LX");t.default={CODE39:i.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.CODE128C,EAN13:o.EAN13,EAN8:o.EAN8,EAN5:o.EAN5,EAN2:o.EAN2,UPC:o.UPC,UPCE:o.UPCE,ITF14:s.ITF14,ITF:s.ITF,MSI:a.MSI,MSI10:a.MSI10,MSI11:a.MSI11,MSI1010:a.MSI1010,MSI1110:a.MSI1110,pharmacode:l.pharmacode,codabar:c.codabar,GenericBarcode:u.GenericBarcode}},"/7L9":function(e,t,n){"use strict";var i=n("IWKj");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
1:"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",E0025:"Unexpected argument type",E0100:"Unknown validation type is detected",E0101:"Misconfigured range validation rule is detected",E0102:"Misconfigured comparison validation rule is detected",E0103:"validationCallback of an asynchronous rule should return a jQuery or a native promise",E0110:"Unknown validation group is detected",E0120:"Adapter for a DevExpressValidator component cannot be configured",E0121:"The 'customItem' field of the 'onCustomItemCreating' function's parameter should contain a custom item or Promise that is resolved after the item is created.",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}",W0014:"{0} - '{1}' type is deprecated in {2}. {3}",W0015:"Instead of returning a value from the '{0}' function, write it into the '{1}' field of the function's parameter.",W0016:'The "{0}" option does not accept the "{1}" value since v.{2}. {3}.'})},"/DUC":function(e,t,n){"use strict";var i,r=(i=n("Bhoz"))&&i.__esModule?i:{default:i},o=function(e){var t=e&&r.default.convertDigits(e,!1).charCodeAt(0),n=r.default.convertDigits("0",!1).charCodeAt(0);return n<=t&&t<n+10},s=function(e,t,n){var i=e[t],r=e[t+1];if(!n){if("."===i||" "===i&&". m."===e.slice(t-1,t+3))return!0;if("-"===i&&!o(r))return!0}return" .,:;/\\<>()-[]\u060c".indexOf(i)<0&&n===o(i)},a=function(e,t){if(!o(e[t]))for(;t>0&&!o(e[t-1])&&("."===e[t-1]||" .,:;/\\<>()-[]\u060c".indexOf(e[t-1])<0);)t--;return t},l=function(e,t){return Array.isArray(e)?e.map((function(e){return(t(e)||"").toString()})):(t(e)||"").toString()},c=/[a-zA-Z]/g;t.getFormat=function(e){var t=[],n=l(new Date(2009,8,8,6,5,4),e),i=n.split("").map((function(e,t){return t})),r=n,u={},d=[{date:new Date(2009,8,8,6,5,4,100),pattern:"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,18,5,4),pattern:"H",isDigit:!0},{date:new Date(2009,8,8,2,5,4),pattern:"h",isDigit:!0},{date:new Date(2009,8,8,18,5,4),pattern:"a",isDigit:!1},{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:"E"},{date:new Date(2009,9,6,6,5,4),pattern:"M"},{date:new Date(1998,8,8,6,5,4),pattern:"y"}];if(r)return d.forEach((function(c){var d=function(e,t,n,i){var r=0,l=[],c=function(t){return e[r]!==t[r]&&(void 0===i||o(e[r])===i)};for(Array.isArray(t)||(t=[t]),r=0;r<e.length;r++)if(n.indexOf(r)<0&&t.filter(c).length){r=a(e,r);do{if(i=o(e[r]),!l.length&&!i&&o(t[0][r]))break;l.push(r),n.unshift(r),r++}while(e[r]&&s(e,r,i));break}return 1!==l.length||"0"!==e[n[0]-1]&&"\u0660"!==e[n[0]-1]||n.unshift(n[0]-1),l}(n,l(c.date,e),t,c.isDigit),h="M"!==c.pattern||u.d?c.pattern:"L";r=function(e,t,n,i){var r,s,a;if(!o(e[t[0]]||"0")){for(var l=Math.max(t.length<=3?3:4,n.length);t.length>l;){for(a=i[s=t.pop()],i[s]=-1,r=s+1;r<i.length;r++)i[r]--;e=e.substr(0,a)+e.substr(a+1)}for(a=(s=t[t.length-1]+1)<i.length?i[s]:s;t.length<l;){for(t.push(t[t.length-1]+1),r=s;r<i.length;r++)i[r]++;e=e.substr(0,a)+" "+e.substr(a)}}return function(e,t,n,i){var r=t[0],o=r<i.length?i[r]:r;return t.forEach((function(t,i){e=e.substr(0,o+i)+(n.length>1?n[i]:n)+e.substr(o+i+1)})),1===t.length&&(e=(e=e.replace("0"+n,n+n)).replace("\u0660"+n,n+n)),e}(e,t,n,i)}(r,d,h,i),u[h]=d.length})),r=function(e,t,n,i){var r=t.split("").map((function(e,t){return n.indexOf(t)<0&&(e.match(c)||"'"===e)?i[t]:-1}));return e.split("").map((function(e,t){var n=e,i=r.indexOf(t)>=0,o=t>0&&r.indexOf(t-1)>=0,s=r.indexOf(t+1)>=0;return i&&(o||(n="'"+n),s||(n+="'")),n})).join("")}(r,n,t,i),t.length?r:void 0}},"/ElL":function(e,t,n){"use strict";var i=n("FKN7"),r=n("f7cP"),o=n("imRD"),s=n("85Zg").register,a=n("AQWU"),l=n("uHSv"),c=n("XDlL");s("menu","context",a.inherit({_init:function(){var e=i("<div>").addClass("dx-list-context-menu");this._list.$element().append(e),this._menu=this._renderOverlay(e)},_renderOverlay:function(e){return this._list._createComponent(e,l,{shading:!1,deferRendering:!0,closeOnTargetScroll:!0,
1closeOnOutsideClick:function(e){return!i(e.target).closest(".dx-list-context-menu").length},animation:{show:{type:"slide",duration:300,from:{height:0,opacity:1},to:{height:(function(){return this._$menuList.outerHeight()}).bind(this),opacity:1}},hide:{type:"slide",duration:0,from:{opacity:1},to:{opacity:0}}},height:(function(){return this._$menuList?this._$menuList.outerHeight():0}).bind(this),width:(function(){return this._list.$element().outerWidth()}).bind(this),onContentReady:this._renderMenuContent.bind(this)})},_renderMenuContent:function(e){var t=e.component.$content(),n=this._menuItems().slice();this._deleteEnabled()&&n.push({text:o.format("dxListEditDecorator-delete"),action:this._deleteItem.bind(this)}),this._$menuList=i("<div>"),this._list._createComponent(this._$menuList,c,{items:n,onItemClick:this._menuItemClickHandler.bind(this),height:"auto",integrationOptions:{}}),t.addClass("dx-list-context-menucontent"),t.append(this._$menuList)},_menuItemClickHandler:function(e){this._menu.hide(),this._fireMenuAction(this._$itemWithMenu,e.itemData.action)},_deleteItem:function(){this._list.deleteItem(this._$itemWithMenu)},handleContextMenu:function(e){return this._$itemWithMenu=e,this._menu.option({position:{my:"top",at:"bottom",of:e,collision:"flip"}}),this._menu.show(),!0},dispose:function(){this._menu&&this._menu.$element().remove(),this.callBase.apply(this,arguments)}}).include(r))},"/JVm":function(e,t,n){"use strict";var i,r=(i=n("3wDN"))&&i.__esModule?i:{default:i},o=n("tJvG"),s=n("KAnu"),a=r.default.inherit({_initMarkup:function(){this._deferredItems=[],this.callBase()},_renderItemContent:function(e){var t=new o.Deferred,n=new o.Deferred;this._deferredItems[e.index]=n;var i=this.callBase.call(this,e);return n.done((function(){t.resolve(i)})),t.promise()},_createItemByTemplate:function(e,t){var n=this;return e.render({model:t.itemData,container:t.container,index:t.index,onRendered:function(){n._deferredItems[t.index].resolve()}})},_postProcessRenderItems:s.noop,_renderItemsAsync:function(){var e=this,t=new o.Deferred;return o.when.apply(this,this._deferredItems).done((function(){e._postProcessRenderItems(),t.resolve()})),t.promise()},_clean:function(){this.callBase(),this._deferredItems=[]}});e.exports=a},"/X5v":function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/XyT":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.default=function(e,t){return i({},e,t)}},"/jMu":function(e,t,n){"use strict";var i,r=(i=n("5qrJ"))&&i.__esModule?i:{default:i},o=n("yxXJ"),s=n("ti0F"),a=n("YyLj"),l=n("IRs2");function c(e,t,n,i){var r=0;if(e<t)for(;r<n.items.length;r++)c(e+1,t,n.items[r],i);e===t&&i(n)}function u(e,t){var n;if("map"in e)return e.map(t);var i=new Array(e.length);for(n in e)i[n]=t(e[n],n);return i}function d(e){var t=(0,o.compileGetter)(e.selector),n=!("skipEmptyValues"in e)||e.skipEmptyValues,i=e.aggregator;if("string"==typeof i&&!(i=l.aggregators[i]))throw a.errors.Error("E4001",e.aggregator);return{selector:t,aggregator:i,skipEmptyValues:n}}
1e.exports=r.default.inherit({ctor:function(e){this._data=e.data,this._groupLevel=e.groupLevel||0,this._totalAggregates=u(e.totalAggregates||[],d),this._groupAggregates=u(e.groupAggregates||[],d),this._totals=[]},calculate:function(){this._totalAggregates.length&&this._calculateTotals(0,{items:this._data}),this._groupAggregates.length&&this._groupLevel>0&&this._calculateGroups({items:this._data})},totalAggregates:function(){return this._totals},_aggregate:function(e,t,n){for(var i=t.items?t.items.length:0,r=0;r<e.length;r++)if(e[r].aggregator!==l.aggregators.count)for(var o=0;o<i;o++)this._accumulate(r,e[r],n,t.items[o]);else n[r]=(n[r]||0)+i},_calculateTotals:function(e,t){if(0===e&&(this._totals=this._seed(this._totalAggregates)),e===this._groupLevel)this._aggregate(this._totalAggregates,t,this._totals);else for(var n=0;n<t.items.length;n++)this._calculateTotals(e+1,t.items[n]);0===e&&(this._totals=this._finalize(this._totalAggregates,this._totals))},_calculateGroups:function(e){var t=this._groupLevel,n=t+1,i=this._seed.bind(this,this._groupAggregates),r=this._aggregate.bind(this,this._groupAggregates),o=this._finalize.bind(this,this._groupAggregates);function s(e){e.aggregates=i(n-1),n===t?r(e,e.aggregates):c(n,t,e,(function(t){r(t,e.aggregates)})),e.aggregates=o(e.aggregates)}for(;--n>0;)c(0,n,e,s)},_seed:function(e,t){return u(e,(function(e){var n=e.aggregator;return"seed"in n?(0,s.isFunction)(n.seed)?n.seed(t):n.seed:NaN}))},_accumulate:function(e,t,n,i){var r,o=t.selector(i);(!t.skipEmptyValues||(r=o)==r&&""!==r&&null!=r)&&(n[e]=n[e]!=n[e]?o:t.aggregator.step(n[e],o))},_finalize:function(e,t){return u(e,(function(e,n){var i=e.aggregator.finalize;return i?i(t[n]):t[n]}))}})},"/orT":function(e,t,n){"use strict";var i=n("T6P2");e.exports=new i},"/q2h":function(e,t,n){"use strict";var i=n("cGv3"),r=n("tUd6"),o=n("cYys"),s=n("xMpX"),a=n("heGP"),l=function(){var e,t=o(),n=t.add,l=t.remove;if(!i.hasWindow())return t;var c,u=function(){var e=i.getWindow();return{width:e.innerWidth,height:e.innerHeight}},d=function(){var n,i=u();i.width===e.width&&i.height===e.height||(i.width===e.width&&(n="height"),i.height===e.height&&(n="width"),e=i,t.fire(n))},h=a((function(){e=u()}));return t.add=function(){var e=n.apply(t,arguments);return h(),s.add((function(){!c&&t.has()&&(c=r.listen(i.getWindow(),"resize",d))})),e},t.remove=function(){var e=l.apply(t,arguments);return!t.has()&&c&&(c(),c=void 0),e},t}();e.exports=l},"/wwX":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("6miG"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("columnFixing",r.default)},0:function(e,t,n){e.exports=n("zUnb")},"09b2":function(e,t,n){"use strict";var i=n("FKN7"),r=n("wx82"),o=n("LdFP"),s=n("zl3R").each,a=n("JDOJ"),l=n("jeLr"),c=n("1LL4").extend,u=n("gpjr").focused,d=n("ti0F").isDefined,h=n("imRD"),p=n("KAnu").noop,f=n("TssP"),m=n("t2fQ"),g=n("mP+d"),_=n("yVMT"),b=n("EJAH").default,v=n("MVLB").default,y=function(){return{}},w={0:/[0-9]/,9:/[0-9\s]/,"#":/[-+0-9\s]/,L:function(e){return x(e)},l:function(e){return x(e)||S(e)},C:/\S/,c:/./,A:function(e){return x(e)||C(e)},a:function(e){return x(e)||C(e)||S(e)}},C=function(e){return/[0-9]/.test(e)},x=function(e){var t=e.charCodeAt();return 64<t&&t<91||96<t&&t<123||t>127},S=function(e){return" "===e},k=_.inherit({_getDefaultOptions:function(){return c(this.callBase(),{mask:"",maskChar:"_",maskRules:{},maskInvalidMessage:h.format("validation-mask"),useMaskedValue:!1,showMaskMode:"always"})},_supportedKeys:function(){var e=this,t={backspace:e._maskStrategy.getHandler("backspace"),del:e._maskStrategy.getHandler("del"),enter:e._changeHandler},n=e.callBase();return s(t,(function(t,i){var r=n[t];n[t]=function(t){e.option("mask")&&i.call(e,t),r&&r(t)}})),n},_getSubmitElement:function(){return this.option("mask")?this._$hiddenElement:this.callBase()},_init:function(){this.callBase(),this._initMaskStrategy()},_initMaskStrategy:function(){var e=o.real();this._maskStrategy=e.android&&e.version[0]>4?new v(this):new b(this)},_initMarkup:function(){this._renderHiddenElement(),this.callBase()},_attachMouseWheelEventHandlers:function(){if(this._onMouseWheel!==p){var e=this._input(),t=a.addNamespace(m.name,this.NAME),n=this._createAction((function(t){if(u(e)){var n=t.event;this._onMouseWheel(n),n.preventDefault(),n.stopPropagation()}}).bind(this));l.off(e,t),l.on(e,t,(function(e){n({event:e})}))}},_onMouseWheel:p,_render:function(){this.callBase(),this._renderMask(),this._attachMouseWheelEventHandlers()},_renderHiddenElement:function(){this.option("mask")&&(this._$hiddenElement=i("<input>").attr("type","hidden").appendTo(this._inputWrapper()))},_removeHiddenElement:function(){this._$hiddenElement&&this._$hiddenElement.remove()},_renderMask:function(){this.$element().removeClass("dx-texteditor-masked"),this._maskRulesChain=null,this._maskStrategy.detachEvents(),this.option("mask")&&(this.$element().addClass("dx-texteditor-masked"),this._maskStrategy.attachEvents(),this._parseMask(),this._renderMaskedValue())},_suppressCaretChanging:function(e,t){var n=r;r=y;try{e.apply(this,t)}finally{r=n}},_changeHandler:function(e){var t=this._input(),n=t.val();if(n!==this._changedValue){this._changedValue=n;var i=a.createEvent(e,{type:"change"});
1l.trigger(t,i)}},_parseMask:function(){this._maskRules=c({},w,this.option("maskRules")),this._maskRulesChain=this._parseMaskRule(0)},_parseMaskRule:function(e){var t=this.option("mask");if(e>=t.length)return new g.EmptyMaskRule;var n=t[e],i="\\"===n,r=i?new g.StubMaskRule({maskChar:t[e+1]}):this._getMaskRule(n);return r.next(this._parseMaskRule(e+1+i)),r},_getMaskRule:function(e){var t;return s(this._maskRules,(function(n,i){if(n===e)return t={pattern:n,allowedChars:i},!1})),d(t)?new g.MaskRule(c({maskChar:this.option("maskChar")},t)):new g.StubMaskRule({maskChar:e})},_renderMaskedValue:function(){if(this._maskRulesChain){var e=this.option("value")||"";this._maskRulesChain.clear(this._normalizeChainArguments());var t={length:e.length};t[this._isMaskedValueMode()?"text":"value"]=e,this._handleChain(t),this._displayMask()}},_replaceSelectedText:function(e,t,n){return void 0===n?e:e.slice(0,t.start)+n+e.slice(t.end)},_isMaskedValueMode:function(){return this.option("useMaskedValue")},_displayMask:function(e){e=e||this._caret(),this._renderValue(),this._caret(e)},_isValueEmpty:function(){return f.isEmpty(this._value)},_shouldShowMask:function(){return"onFocus"!==this.option("showMaskMode")||u(this._input())||!this._isValueEmpty()},_showMaskPlaceholder:function(){if(this._shouldShowMask()){var e=this._maskRulesChain.text();this.option("text",e),"onFocus"===this.option("showMaskMode")&&this._renderDisplayText(e)}},_renderValue:function(){if(this._maskRulesChain){var e=this._maskRulesChain.text();if(this._showMaskPlaceholder(),this._$hiddenElement){var t=this._maskRulesChain.value(),n=this._isMaskedValueMode()?e:t;this._$hiddenElement.val(f.isEmpty(t)?"":n)}}return this.callBase()},_valueChangeEventHandler:function(e){this._maskRulesChain?(this._saveValueChangeEvent(e),this.option("value",this._convertToValue().replace(/\s+$/,""))):this.callBase.apply(this,arguments)},_isControlKeyFired:function(e){return this._isControlKey(a.normalizeKeyName(e))||e.ctrlKey||e.metaKey},_handleChain:function(e){var t=this._maskRulesChain.handle(this._normalizeChainArguments(e));return this._value=this._maskRulesChain.value(),this._textValue=this._maskRulesChain.text(),t},_normalizeChainArguments:function(e){return(e=e||{}).index=0,e.fullText=this._maskRulesChain.text(),e},_convertToValue:function(e){return this._isMaskedValueMode()?this._replaceMaskCharWithEmpty(e||this._textValue||""):e||this._value||""},_replaceMaskCharWithEmpty:function(e){return e.replace(new RegExp(this.option("maskChar"),"g")," ")},_maskKeyHandler:function(e,t){var n=this;if(!this.option("readOnly")){this.setForwardDirection(),e.preventDefault(),this._handleSelection();var i=this._input().val(),r=function(){i!==n._input().val()&&n._maskStrategy.runWithoutEventProcessing((function(){return l.trigger(n._input(),"input")}))},o=t();o?o.then(r):(this.setForwardDirection(),this._adjustCaret(),this._displayMask(),this._maskRulesChain.reset(),r())}},_handleKey:function(e,t){this._direction(t||"forward"),this._adjustCaret(e),this._handleKeyChain(e),this._moveCaret()},_handleSelection:function(){if(this._hasSelection()){var e=this._caret(),t=new Array(e.end-e.start+1).join(" ");this._handleKeyChain(t)}},_handleKeyChain:function(e){var t=this._caret(),n=this.isForwardDirection()?t.start:t.start-1,i=this.isForwardDirection()?t.end:t.end-1;this._handleChain({text:e,start:n,length:n===i?1:i-n})},_tryMoveCaretBackward:function(){this.setBackwardDirection();var e=this._caret().start;return this._adjustCaret(),!e||e!==this._caret().start},_adjustCaret:function(e){var t=this._maskRulesChain.adjustedCaret(this._caret().start,this.isForwardDirection(),e);this._caret({start:t,end:t})},_moveCaret:function(){var e=this._caret().start,t=e+(this.isForwardDirection()?0:-1),n=this._maskRulesChain.isAccepted(t)?e+(this.isForwardDirection()?1:-1):e;this._caret({start:n,end:n})},_caret:function(e){var t=this._input();if(t.length)return arguments.length?void r(t,e):r(t)},_hasSelection:function(){var e=this._caret();return e.start!==e.end},_direction:function(e){if(!arguments.length)return this._typingDirection;this._typingDirection=e},setForwardDirection:function(){this._direction("forward")},setBackwardDirection:function(){this._direction("backward")},isForwardDirection:function(){return"forward"===this._direction()},_clean:function(){this._maskStrategy&&this._maskStrategy.clean(),this.callBase()},_validateMask:function(){if(this._maskRulesChain){var e=f.isEmpty(this.option("value"))||this._maskRulesChain.isValid(this._normalizeChainArguments());this.option({isValid:e,validationError:e?null:{editorSpecific:!0,message:this.option("maskInvalidMessage")}})}},_updateHiddenElement:function(){this._removeHiddenElement(),this.option("mask")&&(this._input().removeAttr("name"),this._renderHiddenElement()),this._setSubmitElementName(this.option("name"))},_updateMaskOption:function(){this._updateHiddenElement(),this._renderMask(),this._val
1idateMask()},_processEmptyMask:function(e){if(!e){var t=this.option("value");this.option({text:t,isValid:!0}),this.validationRequest.fire({value:t,editor:this}),this._renderValue()}},_optionChanged:function(e){switch(e.name){case"mask":this._updateMaskOption(),this._processEmptyMask(e.value);break;case"maskChar":case"maskRules":case"useMaskedValue":this._updateMaskOption();break;case"value":this._renderMaskedValue(),this._validateMask(),this.callBase(e),this._changedValue=this._input().val();break;case"maskInvalidMessage":break;case"showMaskMode":this.option("text",""),this._renderValue();break;default:this.callBase(e)}}});e.exports=k},"0EUg":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("bHdf");function r(){return Object(i.a)(1)}},"0M3q":function(e,t,n){"use strict";var i=d(n("FKN7")),r=d(n("D6VQ")),o=n("1LL4"),s=d(n("9nyG")),a=n("v4HY"),l=n("cGv3"),c=d(n("YQNt")),u=d(n("hMwJ"));function d(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return(0,i.default)(e).is(":visible")},p=s.default.inherit({_getDefaultOptions:function(){return(0,o.extend)(this.callBase(),{clone:!0,filter:"> *",itemOrientation:"vertical",dropFeedbackMode:"push",allowDropInsideItem:!1,allowReordering:!0,moveItemOnDrop:!1,onDragChange:null,onAdd:null,onRemove:null,onReorder:null,onPlaceholderPrepared:null,animation:{type:"slide",duration:300},fromIndex:null,toIndex:null,dropInsideItem:!1,itemPoints:null})},reset:function(){this.option({dropInsideItem:!1,toIndex:null,fromIndex:null}),this._$placeholderElement&&this._$placeholderElement.remove(),this._$placeholderElement=null,!this._isIndicateMode()&&this._$modifiedItem&&(this._$modifiedItem.css("marginBottom",this._modifiedItemMargin),this._$modifiedItem=null)},_getPrevVisibleItem:function(e,t){return e.slice(0,t).reverse().filter(h)[0]},_dragStartHandler:function(e){if(this.callBase.apply(this,arguments),!0!==e.cancel){var t=this._getSourceElement();this._updateItemPoints(),this.option("fromIndex",this._getElementIndex(t))}},_dragEnterHandler:function(){if(this.callBase.apply(this,arguments),this!==this._getSourceDraggable()&&(this._updateItemPoints(),this.option("fromIndex",-1),!this._isIndicateMode())){var e=this.option("itemPoints"),t=e[e.length-1];if(t){var n=this.$element(),r=this._getSourceElement(),o=this._isVerticalOrientation(),s=o?r.outerHeight(!0):r.outerWidth(!0),a=n.get(0)[o?"scrollHeight":"scrollWidth"],l=n.get(0)[o?"scrollTop":"scrollLeft"],c=o?"top":"left",u=t[c],d=n.offset()[c],h=d+a-l-u;if(h<s&&o){var p=this._getItems(),f=(0,i.default)(this._getPrevVisibleItem(p));this._$modifiedItem=f,this._modifiedItemMargin=f.get(0).style.marginBottom,f.css("marginBottom",s-h);var m=f.closest(".dx-sortable"),g=m.data("dxScrollable")||m.data("dxScrollView");g&&g.update()}}}},dragEnter:function(){this===this._getTargetDraggable()?this.option("toIndex",this.option("fromIndex")):this.option("toIndex",-1)},dragLeave:function(){this===this._getTargetDraggable()?this.option("toIndex",-1):this.option("toIndex",this.option("fromIndex"))},_isInsideTargetDraggable:function(e){var t=this._getTargetDraggable().$element(),n=this._getScrollable(t);if(n){var i=n.offset(),r=i.top+n.height()>=e.pageY&&i.top<=e.pageY,o=i.left+n.width()>=e.pageX&&i.left<=e.pageX;return r&&o}return!0},dragEnd:function(e){var t,n,i=this._getSourceElement(),r=this._getSourceDraggable(),o=r.NAME!==this.NAME,s=this.option("toIndex"),a=this._isInsideTargetDraggable(e.event);null!==s&&s>=0&&a&&(r!==this&&((t=this._fireAddEvent(e))||(n=this._fireRemoveEvent(e))),o&&c.default.resetPosition(i),this.option("moveItemOnDrop")&&!t&&this._moveItem(i,s,n),r===this&&this._fireReorderEvent(e))},dragMove:function(e){var t=this.option("itemPoints");if(t){for(var n,i=this._isVerticalOrientation(),r=i?"top":"left",o=i?e.pageY:e.pageX,s=this.option("rtlEnabled"),a=t.length-1;a>=0;a--){var l=t[a+1]&&(t[a][r]+t[a+1][r])/2;if(!(!i&&s?o>l:l>o)&&void 0!==l)break;n=t[a]}n&&(this._updatePlaceholderPosition(e,n),this._verticalScrollHelper.isScrolling()&&this._isIndicateMode()&&this._movePlaceholder())}},_isIndicateMode:function(){return"indicate"===this.option("dropFeedbackMode")||this.option("allowDropInsideItem")},_createPlaceholder:function(){var e;return this._isIndicateMode()&&(e=(0,i.default)("<div>").addClass(this._addWidgetPrefix("placeholder")).insertBefore(this._getSourceDraggable()._$dragElement)),this._$placeholderElement=e,e},_getItems:function(){var e=this._getItemsSelector();return this._$content().find(e).not("."+this._addWidgetPrefix("placeholder")).not("."+this._addWidgetPrefix("clone")).toArray()},_allowReordering:function(){return this._getSourceDraggable()!==this._getTargetDraggable()||this.option("allowReordering")},_isValidPoint:function(e,t,n){var i=this.option("allowDropInsideItem");return!!(n||this._allowReordering()||0===e&&i)&&(!this._isIndicateMode()||-1===t||e!==t&&(n||e!==t+1))},_getItemPoints:function(){var e,t,n,r=[],s=this.option("rtlEnabled"),a=this._isVerticalOrientation(),l=this._getItems(),c=l.filter(h),u=c.length,d=this._getDraggableElement(),p=c.indexOf(d.get(0));if(u){for(var f=0;f<=u;f++){var m=!a&&s^f===u,g=a&&f===u;f<u&&(t=(e=(0,i.default)(c[f])).offset(),n=e.outerWidth()),r.push({dropInsideItem:!1,left:t.left+(m?n:0),top:t.top+(g?r[f-1].height:0),index:f===u?l.length:l.indexOf(e.get(0)),$item:e,width:e.outerWidth(),height:e.outerHeight(),isValid:this._isValidPoint(f,p)})}if(this.option("allowDropInsideItem")){var _=r;r=[];for(var b=0;b<_.length;b++)r.push(_[b]),_[b+1]&&r.push((0,o.extend)({},_[b],{dropInsideItem:!0,top:Math.floor((_[b].top+_[b+1].top)/2),left:Math.floor((_[b].left+_[b+1].left)/2),isValid:this._isValidPoint(b,p,!0)}))}}else r.push({dropInsideItem:!1,index:0,isValid:!0});return r},_updateItemPoints:function(){this.option("itemPoints",this._getItemPoints())},_getElementIndex:function(e){return this._getItems().indexOf(e.get(0))},_getDragTemplateArgs:function(e){var t=this.callBase.apply(this,arguments);return t.model.fromIndex=this._getElementIndex(e),t},_togglePlaceholder:function(e){this._$placeholderElement&&this._$placeholderElement.toggle(e)},_isVerticalOrientation:function(){return"vertical"===this.option("itemOrientation")},_normalizeToIndex:function(e,t){var n=this._getSourceDraggable()!==this._getTargetDraggable(),i=this.option("fromIndex");return null===e?i:Math.max(n||i>=e||t?e:e-1,0)},_updatePlaceholderPosition:function(e,t){var n=this._getSourceDraggable(),i=this._normalizeToIndex(t.index,t.dropInsideItem),r=(0,o.extend)(this._getEventArgs(e),{toIndex:i,dropInsideItem:t.dropInsideItem});t.isValid&&this._getAction("onDragChange")(r),!r.cancel&&t.isValid?(this.option({dropInsideItem:t.dropInsideItem,toIndex:t.index}),this._getAction("onPlaceholderPrepared")((0,o.extend)(this._getEventArgs(e),{placeholderElement:(0,a.getPublicElement)(this._$placeholderElement),dragElement:(0,a.getPublicElement)(n._$dragElement)})),this._updateItemPoints()):t.isValid||this.option({dropInsideItem:!1,toIndex:null})},_getScrollable:function(e){var t,n=this;return e.parents().toArray().some((function(e){var r=(0,i.default)(e);if(n._horizontalScrollHelper.isScrollable(r)||n._verticalScrollHelper.isScrollable(r))return t=r,!0})),t},_makeWidthCorrection:function(e,t){if(this._$scrollable=this._getScrollable(e),this._$scrollable&&this._$scrollable.width()<t){var n=this._$scrollable.width(),i=e.offset().left-this._$scrollable.offset().left,r=n-e.outerWidth()-i;t=i>0?n-i:r>0?n-r:n}return t},_updatePlaceholderSizes:function(e,t){var n=this.option("dropInsideItem"),r=t?(0,i.default)(t):this._getSourceElement(),o=this._isVerticalOrientation(),s="",a="";e.toggleClass(this._addWidgetPrefix("placeholder-inside"),n),(o||n)&&(s=r.outerWidth()),o&&!n||(a=r.outerHeight()),s=this._makeWidthCorrection(r,s),e.css({width:s,height:a})},_moveItem:function(e,t,n){var i,r=this._getItems(),o=r[t],s=this._getSourceDraggable();n&&(e=e.clone(),s._toggleDragSourceClass(!1,e)),o||(i=r[t-1]),this._moveItemCore(e,o,i)},_moveItemCore:function(e,t,n){t||n?n?e.insertAfter((0,i.default)(n)):e.insertBefore((0,i.default)(t)):e.appendTo(this.$element())},_getDragStartArgs:function(e,t){return(0,o.extend)(this.callBase.apply(this,arguments),{fromIndex:this._getElementIndex(t)})},_getEventArgs:function(e){var t=this._getSourceDraggable(),n=this._getTargetDraggable(),i=n.option("dropInsideItem");return(0,o.extend)(this.callBase.apply(this,arguments),{fromIndex:t.option("fromIndex"),toIndex:this._normalizeToIndex(n.option("toIndex"),i),dropInsideItem:i})},_optionChanged:function(e){var t=e.name;
1switch(t){case"onDragChange":case"onPlaceholderPrepared":case"onAdd":case"onRemove":case"onReorder":this["_"+t+"Action"]=this._createActionByOption(t);break;case"itemOrientation":case"allowDropInsideItem":case"moveItemOnDrop":case"dropFeedbackMode":case"itemPoints":case"fromIndex":case"animation":case"allowReordering":break;case"dropInsideItem":this._optionChangedDropInsideItem(e);break;case"toIndex":this._optionChangedToIndex(e);break;default:this.callBase(e)}},_optionChangedDropInsideItem:function(){this._isIndicateMode()&&this._$placeholderElement&&this._movePlaceholder()},_isPositionVisible:function(e){var t,n=this.$element();if("hidden"!==n.css("overflow")?t=n.get(0):n.parents().each((function(){if("visible"!==(0,i.default)(this).css("overflow"))return t=this,!1})),t){var r=t.getBoundingClientRect(),o=this._isVerticalOrientation(),s=o?"top":"left",a=o?"bottom":"right",c=(0,l.getWindow)(),u=o?c.pageYOffset:c.pageXOffset;if(e[s]<r[s]+u||e[s]>r[a]+u)return!1}return!0},_optionChangedToIndex:function(e){var t=e.value;if(this._isIndicateMode()){var n=null!==t&&t>=0;this._togglePlaceholder(n),n&&this._movePlaceholder()}else this._moveItems(e.previousValue,e.value)},_makeLeftCorrection:function(e,t){var n=this._$scrollable;return n&&this._isVerticalOrientation()&&n.scrollLeft()>t&&(e+=n.scrollLeft()-t),e},_movePlaceholder:function(){var e=this._$placeholderElement||this._createPlaceholder(),t=this._getItems(),n=this.option("toIndex"),r=t[n],o=this._isVerticalOrientation(),s=this.option("rtlEnabled"),a=this.option("dropInsideItem"),l=null,c=0;if(this._updatePlaceholderSizes(e,r),r){var u=(0,i.default)(r);l=u.offset(),c=parseFloat(u.css("marginLeft")),o||!s||a||(l.left+=u.outerWidth(!0))}else{var d=this._getPrevVisibleItem(t,n);d&&(l=(0,i.default)(d).offset(),o?l.top+=(0,i.default)(d).outerHeight(!0):s||(l.left+=(0,i.default)(d).outerWidth(!0)))}l&&!this._isPositionVisible(l)&&(l=null),l&&(l.left=this._makeLeftCorrection(l.left,c),this._move(l,e)),e.toggle(!!l)},_getPositions:function(e,t,n,i){for(var r=[],o=0;o<e.length;o++){var s=0;null!==i&&null!==n?(-1===n?o>=i&&(s=t):-1===i?o>n&&(s=-t):n<i?o>n&&o<i&&(s=-t):n>i&&o>=i&&o<n&&(s=t),r.push(s)):r.push(s)}return r},_moveItems:function(e,t){for(var n,r,s,a=this.option("fromIndex"),l=this._isVerticalOrientation(),d=l?"top":"left",h=this._getDraggableElement(),p=l?(h.outerHeight()+h.outerHeight(!0))/2:(h.outerWidth()+h.outerWidth(!0))/2,f=this._getItems(),m=this._getPositions(f,p,a,e),g=this._getPositions(f,p,a,t),_=this.option("animation"),b=this.option("rtlEnabled"),v=0;v<f.length;v++){var y=(0,i.default)(f[v]),w=m[v],C=g[v];null===t||null===a?(u.default.stop(y),c.default.resetPosition(y)):w!==C&&(u.default.stop(y),u.default.animate(y,(0,o.extend)({},_,{to:(n={},r=d,s=!l&&b?-C:C,r in n?Object.defineProperty(n,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[r]=s,n)})))}},_toggleDragSourceClass:function(e,t){var n=t||this._$sourceElement;this.callBase.apply(this,arguments),this._isIndicateMode()||n&&n.toggleClass(this._addWidgetPrefix("source-hidden"),e)},_dispose:function(){this.reset(),this.callBase()},_fireAddEvent:function(e){var t=this._getEventArgs(e);return this._getAction("onAdd")(t),t.cancel},_fireRemoveEvent:function(e){var t=this._getSourceDraggable(),n=this._getEventArgs(e);return t._getAction("onRemove")(n),n.cancel},_fireReorderEvent:function(e){var t=this._getEventArgs(e);this._getAction("onReorder")(t)}});(0,r.default)("dxSortable",p),e.exports=p,e.exports.default=e.exports},"0Ms2":function(e,t,n){"use strict";var i=n("JDOJ"),r=n("kgAh"),o=n("Z/aR"),s=Math.abs;o({emitter:r.inherit({start:function(e){this._startEventData=i.eventData(e),this._startTimer(e)},_startTimer:function(e){var t="timeout"in this?this.timeout:750;this._holdTimer=setTimeout((function(){this._requestAccept(e),this._fireEvent("dxhold",e,{target:e.target}),this._forgetAccept()}).bind(this),t)},move:function(e){this._touchWasMoved(e)&&this._cancel(e)},_touchWasMoved:function(e){var t=i.eventDelta(this._startEventData,i.eventData(e));return s(t.x)>5||s(t.y)>5},end:function(){this._stopTimer()},_stopTimer:function(){clearTimeout(this._holdTimer)},cancel:function(){this._stopTimer()},dispose:function(){this._stopTimer()}}),bubble:!0,events:["dxhold"]}),e.exports={name:"dxhold"}},"0mo+":function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u
10f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0osO":function(e,t,n){"use strict";var i=n("5qrJ").inherit({ctor:function(e){e&&(e=String(e)),this._value=this._normalize(e||this._generate())},_normalize:function(e){for(e=e.replace(/[^a-f0-9]/gi,"").toLowerCase();e.length<32;)e+="0";return[e.substr(0,8),e.substr(8,4),e.substr(12,4),e.substr(16,4),e.substr(20,12)].join("-")},_generate:function(){for(var e="",t=0;t<32;t++)e+=Math.round(15*Math.random()).toString(16);return e},toString:function(){return this._value},valueOf:function(){return this._value},toJSON:function(){return this._value}});e.exports=i,e.exports.default=e.exports},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(n("wd/R"))},"14X2":function(e,t){},"15ve":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("5qrJ");var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._options=t,this._itemsRunTimeInfo=this._options.itemsRunTimeInfo}var t;return(t=[{key:"findInstance",value:function(){return this._itemsRunTimeInfo.findWidgetInstanceByItem(this._options.item)}},{key:"findItemContainer",value:function(){return this._itemsRunTimeInfo.findItemContainerByItem(this._options.item)}},{key:"tryExecute",value:function(){(0,i.abstract)()}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();t.default=r},"1B4V":function(e,t,n){"use strict";var i,r=n("OaJ3"),o=n("tUd6"),s=n("jeLr"),a=n("T6P2"),l=new r,c=new a,u=function(){},d=function(){},h=t.setDataStrategy=function(e){c.fire(e);var t=(i=e).cleanData;i.cleanData=function(e){u(e);var n=t.call(this,e);return d(e),n}};h({data:function(){var e=arguments[0],t=arguments[1],n=arguments[2];if(e){var i=l.get(e);return i||l.set(e,i={}),void 0===t?i:2===arguments.length?i[t]:(i[t]=n,n)}},removeData:function(e,t){if(e)if(void 0===t)l.delete(e);else{var n=l.get(e);n&&delete n[t]}},cleanData:function(e){for(var t=0;t<e.length;t++)s.off(e[t]),l.delete(e[t])}}),t.setDataStrategy=h,t.getDataStrategy=function(){return i},t.data=function(){return i.data.apply(this,arguments)},t.strategyChanging=c,t.beforeCleanData=function(e){u=e},t.afterCleanData=function(e){d=e},t.cleanData=function(e){return i.cleanData.call(this,e)},t.removeData=function(e,t){return i.removeData.call(this,e,t)},t.cleanDataRecursive=function(e,t){if(o.isElementNode(e)){var n=e.getElementsByTagName("*");i.cleanData(n),t&&i.cleanData([e])}}},"1LL4":function(e,t,n){"use strict";var i=n("ti0F").isPlainObject;t.extend=function e(t){var n=1,r=!1;for("boolean"==typeof(t=t||{})&&(r=t,t=arguments[1]||{},n++);n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var s in o){var a,l=t[s],c=o[s],u=!1;"__proto__"!==s&&t!==c&&(r&&c&&(i(c)||(u=Array.isArray(c)))?(a=u?l&&Array.isArray(l)?l:[]:l&&i(l)?l:{},t[s]=e(r,a,c)):void 0!==c&&(t[s]=c))}}return t},t.extendFromObject=function(e,t,n){for(var i in e=e||{},t)Object.prototype.hasOwnProperty.call(t,i)&&(i in e&&!n||(e[i]=t[i]));return e}},"1XBF":function(e,t,n){"use strict";e.exports=n("lPfS"),e.exports.default=e.exports},"1YLE":function(e,t,n){"use strict";var i=g(n("FKN7")),r=n("KAnu"),o=g(n("GYHJ")),s=g(n("HZnW")),a=g(n("imRD")),l=g(n("+6qP")),c=g(n("XPWh")),u=g(n("23xU")),d=g(n("LdFP")),h=g(n("IF55")),p=n("ti0F"),f=n("1LL4"),m=n("zl3R");
1function g(e){return e&&e.__esModule?e:{default:e}}var _=function(e,t){var n=[],i="select"===e.option("columnChooser.mode");return t.length&&(0,m.each)(t,(function(e,t){var r={text:t.caption,cssClass:t.cssClass,allowHiding:t.allowHiding,expanded:!0,id:t.index,disabled:!1,disableCheckBox:!1===t.allowHiding,parentId:(0,p.isDefined)(t.ownerBand)?t.ownerBand:null};i&&(r.selected=t.visible),n.push(r)})),n},b=o.default.ViewController.inherit({renderShowColumnChooserButton:function(e){var t,n=this,r=n.addWidgetPrefix("column-chooser-button"),o=n.option("columnChooser.enabled"),s=e.find("."+r);o?s.length?s.show():(t=(0,i.default)("<div>").addClass(r).appendTo(e),n._createComponent(t,c.default,{icon:"column-chooser",onClick:function(){n.getView("columnChooserView").showColumnChooser()},hint:n.option("columnChooser.title"),integrationOptions:{}})):s.hide()},getPosition:function(){var e=this.getView("rowsView");return{my:"right bottom",at:"right bottom",of:e&&e.element(),collision:"fit",offset:"-2 -2",boundaryOffset:"2 2"}}}),v=s.default.ColumnsView.inherit({_resizeCore:r.noop,_isWinDevice:function(){return!!d.default.real().win},_updateList:function(e){var t,n=this._popupContainer.$content(),i="select"===this.option("columnChooser.mode"),r=this._columnChooserList,o=this._columnsController.getChooserColumns(i);if(i&&r&&e&&"selection"===e.changeType){t=_(this,o);for(var s=0;s<t.length;s++){var a=t[s].selected,l=t[s].id;l===e.columnIndex&&(a?r.selectItem(l,a):r.unselectItem(l,a))}}else i&&r&&"full"!==e||(this._popupContainer._wrapper().toggleClass(this.addWidgetPrefix("column-chooser-mode-drag"),!i).toggleClass(this.addWidgetPrefix("column-chooser-mode-select"),i),t=_(this,o),this._renderTreeView(n,t))},_initializePopupContainer:function(){var e=this,t=e.element().addClass(e.addWidgetPrefix("column-chooser")),n=e.option("columnChooser"),r=l.default.current(),o=l.default.isGeneric(r),s=l.default.isMaterial(r),a={visible:!1,shading:!1,showCloseButton:!1,dragEnabled:!0,resizeEnabled:!0,toolbarItems:[{text:n.title,toolbar:"top",location:o||s?"before":"center"}],position:e.getController("columnChooser").getPosition(),width:n.width,height:n.height,rtlEnabled:e.option("rtlEnabled"),onHidden:function(){e._isWinDevice()&&(0,i.default)("body").removeClass(e.addWidgetPrefix("notouch-action"))},container:n.container};o||s?(0,f.extend)(a,{showCloseButton:!0}):a.toolbarItems[a.toolbarItems.length]={shortcut:"cancel"},(0,p.isDefined)(this._popupContainer)?this._popupContainer.option(a):(e._popupContainer=e._createComponent(t,h.default,a),e._popupContainer.on("optionChanged",(function(t){"visible"===t.name&&e.renderCompleted.fire()})))},_renderCore:function(e){this._popupContainer&&this._updateList(e)},_renderTreeView:function(e,t){var n=this,o=this.option("columnChooser"),s="select"===o.mode,a={items:t,dataStructure:"plain",activeStateEnabled:!0,focusStateEnabled:!0,hoverStateEnabled:!0,itemTemplate:"item",showCheckBoxesMode:"none",rootValue:null,searchEnabled:o.allowSearch,searchTimeout:o.searchTimeout,onItemRendered:function(e){if(e.itemData.disableCheckBox){var t,n=(0,i.default)(e.itemElement).closest(".dx-treeview-node");if(n.length&&(t=n.find(".dx-checkbox")).length){var r=t.data("dxCheckBox");r&&r.option("disabled",!0)}}}},l=e.find(".dx-scrollable").data("dxScrollable"),c=l&&l.scrollTop();s&&!this._columnsController.isBandColumnsUsed()&&e.addClass(this.addWidgetPrefix("column-chooser-plain")),a.onContentReady=function(e){(0,r.deferUpdate)((function(){if(c){var t=(0,i.default)(e.element).find(".dx-scrollable").data("dxScrollable");t&&t.scrollTo({y:c})}n.renderCompleted.fire()}))},this._isWinDevice()&&(a.useNativeScrolling=!1),(0,f.extend)(a,s?this._prepareSelectModeConfig():this._prepareDragModeConfig()),this._columnChooserList?(a.searchEnabled||(a.searchValue=""),this._columnChooserList.option(a)):(this._columnChooserList=this._createComponent(e,u.default,a),e.addClass(this.addWidgetPrefix("column-chooser-list")))},_prepareDragModeConfig:function(){return{noDataText:this.option("columnChooser").emptyPanelText,activeStateEnabled:!1,focusStateEnabled:!1,hoverStateEnabled:!1,itemTemplate:function(e,t,n){(0,i.default)(n).text(e.text).parent().addClass(e.cssClass).addClass("dx-column-chooser-item")}}},_prepareSelectModeConfig:function(){var e=this;
1return{selectNodesRecursive:!1,showCheckBoxesMode:"normal",onItemSelectionChanged:function(t){1!==e._columnsController.getVisibleColumns().filter((function(e){return!e.command})).length||t.itemData.selected?setTimeout((function(){e._columnsController.columnOption(t.itemData.id,"visible",t.itemData.selected)}),300):t.component.selectItem(t.itemElement)}}},_columnOptionChanged:function(e){var t=e.changeTypes,n=e.optionNames,i="select"===this.option("columnChooser.mode");this.callBase(e),i&&(n.visible&&1===n.length&&void 0!==e.columnIndex?this.render(null,{changeType:"selection",columnIndex:e.columnIndex}):(n.showInColumnChooser||n.visible||t.columns&&n.all)&&this.render(null,"full"))},optionChanged:function(e){switch(e.name){case"columnChooser":this._initializePopupContainer(),this.render(null,"full");break;default:this.callBase(e)}},getColumnElements:function(){var e,t=[],n="select"===this.option("columnChooser.mode"),r=this._columnsController.getChooserColumns(n),o=this._popupContainer&&this._popupContainer.$content(),s=o&&o.find(".dx-treeview-node");return s&&r.forEach((function(n){var i=(e=s.filter("[data-item-id = '"+n.index+"']")).length?e.children(".dx-column-chooser-item").get(0):null;t.push(i)})),(0,i.default)(t)},getName:function(){return"columnChooser"},getColumns:function(){return this._columnsController.getChooserColumns()},allowDragging:function(e,t){var n=e&&e.allowHiding&&("columnChooser"!==t||!e.visible&&this._columnsController.isParentColumnVisible(e.index));return this.isColumnChooserVisible()&&n},getBoundingRect:function(){var e=this._popupContainer&&this._popupContainer._container();if(e&&e.is(":visible")){var t=e.offset();return{left:t.left,top:t.top,right:t.left+e.outerWidth(),bottom:t.top+e.outerHeight()}}return null},showColumnChooser:function(){this._popupContainer||(this._initializePopupContainer(),this.render()),this._popupContainer.show(),this._isWinDevice()&&(0,i.default)("body").addClass(this.addWidgetPrefix("notouch-action"))},hideColumnChooser:function(){this._popupContainer&&this._popupContainer.hide()},isColumnChooserVisible:function(){var e=this._popupContainer;return e&&e.option("visible")},publicMethods:function(){return["showColumnChooser","hideColumnChooser"]}});e.exports={defaultOptions:function(){return{columnChooser:{enabled:!1,allowSearch:!1,searchTimeout:500,mode:"dragAndDrop",width:250,height:260,title:a.default.format("dxDataGrid-columnChooserTitle"),emptyPanelText:a.default.format("dxDataGrid-columnChooserEmptyText"),container:void 0}}},controllers:{columnChooser:b},views:{columnChooserView:v},extenders:{views:{headerPanel:{_getToolbarItems:function(){var e=this.callBase();return this._appendColumnChooserItem(e)},_appendColumnChooserItem:function(e){var t=this;if(t.option("columnChooser.enabled")){var n=t.option("columnChooser.title");e.push({widget:"dxButton",options:{icon:"column-chooser",onClick:function(){t.component.getView("columnChooserView").showColumnChooser()},hint:n,text:n,onInitialized:function(e){(0,i.default)(e.element).addClass(t._getToolbarButtonClass(t.addWidgetPrefix("column-chooser-button")))}},showText:"inMenu",location:"after",name:"columnChooserButton",locateInMenu:"auto",sortIndex:40})}return e},optionChanged:function(e){switch(e.name){case"columnChooser":this._invalidate(),e.handled=!0;break;default:this.callBase(e)}},isVisible:function(){var e=this.option("columnChooser.enabled");return this.callBase()||e}}},controllers:{columns:{allowMoveColumn:function(e,t,n,i){return!("select"===this.option("columnChooser.mode")&&"columnChooser"===i)&&this.callBase(e,t,n,i)}}}}}},"1f+4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(n("FKN7")),r=u(n("jeLr")),o=u(n("aNBS")),s=u(n("5uIg")),a=n("JDOJ"),l=n("T4bj"),c=n("1LL4");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t,n){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(d,e);var t,n,o,u=(n=d,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(n);if(o){var i=g(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return m(this,e)});function d(){return h(this,d),u.apply(this,arguments)}return(t=[{key:"_attachEvents",value:function(e,t){var n=this.editor,i=(0,a.addNamespace)(l.down,n.NAME),o=t.children(),c=n._createAction((function(e){return n._spinButtonsPointerDownHandler(e)}));r.default.off(t,i),r.default.on(t,i,(function(e){return c({event:e})})),s.default.getInstance(o.eq(0)).option("onChange",(function(e){return n._spinUpChangeHandler(e)})),s.default.getInstance(o.eq(1)).option("onChange",(function(e){return n._spinDownChangeHandler(e)}))}},{key:"_create",value:function(){var e=this.editor,t=(0,i.default)("<div>").addClass("dx-numberbox-spin-container"),n=(0,i.default)("<div>").appendTo(t),r=(0,i.default)("<div>").appendTo(t),o=this._getOptions();return this._addToContainer(t),e._createComponent(n,s.default,(0,c.extend)({direction:"up"},o)),e._createComponent(r,s.default,(0,c.extend)({direction:"down"},o)),this._legacyRender(e.$element(),this._isTouchFriendly(),o.visible),{instance:t,$element:t}}},{key:"_getOptions",value:function(){var e=this.editor;return{visible:this._isVisible(),disabled:e.option("disabled")}}},{key:"_isVisible",value:function(){var e=this.editor;return p(g(d.prototype),"_isVisible",this).call(this)&&e.option("showSpinButtons")}},{key:"_isTouchFriendly",value:function(){var e=this.editor;return e.option("showSpinButtons")&&e.option("useLargeSpinButtons")}},{key:"_legacyRender",value:function(e,t,n){e.toggleClass("dx-numberbox-spin-touch-friendly",t),e.toggleClass("dx-numberbox-spin",n)}},{key:"update",value:function(){if(p(g(d.prototype),"update",this).call(this)){var e=this.instance,t=this.editor.$element(),n=this._isVisible(),i=this._isTouchFriendly(),r=e.children(),o=s.default.getInstance(r.eq(0)),a=s.default.getInstance(r.eq(1)),l=this._getOptions();o.option(l),a.option(l),this._legacyRender(t,i,n)}}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(d.prototype,t),d}(o.default);t.default=_},"1ppg":function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%
1d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
1d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"23xU":function(e,t,n){"use strict";e.exports=n("Jcxk"),e.exports.default=e.exports},"27Ll":function(e,t,n){"use strict";var i=n("ti0F"),r=u(n("GYHJ")),o=u(n("uhpr")),s=u(n("D8Ap")),a=u(n("8S5z")),l=u(n("AJM7")),c=u(n("6JCj"));function u(e){return e&&e.__esModule?e:{default:e}}var d=["=","<>","<","<=",">",">=","notcontains","contains","startswith","endswith","between"];function h(e){return e.dataField||e.name}var p,f,m,g,_,b=r.default.Controller.inherit((p=function(e){return!(l.default.getGroupInterval(e)||e.headerFilter&&e.headerFilter.dataSource)},f=function(e){if((0,i.isDefined)(e.filterValue)){var t=e.selectedFilterOperation||e.defaultFilterOperation||o.default.getDefaultOperation(e);return[h(e),t,e.filterValue]}return null},m=function(e){var t,n,i=e.filterValues;return i?(p(e)&&1===e.filterValues.length&&!Array.isArray(i[0])?(t="exclude"===e.filterType?"<>":"=",n=i[0]):(t="exclude"===e.filterType?"noneof":"anyof",n=i),[h(e),t,n]):null},g=function(e,t,n){var i=function(e,t){if(!e)return{filterType:"include",filterValues:void 0};var n,i=e[1],r=e[2],o=Array.isArray(r);if(!o&&!p(t))return{filterType:"include",filterValues:void 0};switch(i){case"anyof":case"=":n="include";break;case"noneof":case"<>":n="exclude";break;default:return{filterType:"include",filterValues:void 0}}return{filterType:n,filterValues:o?r:[r]}}(n,t);e.columnOption(h(t),i)},_=function(e,t,n){var r,o=n&&n[1],s=t.filterOperations||t.defaultFilterOperations;(!s||s.indexOf(o)>=0||o===t.defaultFilterOperation)&&d.indexOf(o)>=0?(o!==t.defaultFilterOperation||(0,i.isDefined)(t.selectedFilterOperation)||(o=t.selectedFilterOperation),r={filterValue:n[2],selectedFilterOperation:o}):r={filterValue:void 0,selectedFilterOperation:void 0},e.columnOption(h(t),r)},{syncFilterValue:function(){var e=this,t=e.getController("columns"),n=t.getFilteringColumns();this._skipSyncColumnOptions=!0,n.forEach((function(n){var r=o.default.getMatchedConditions(e.option("filterValue"),h(n));if(1===r.length){var s=r[0];g(t,n,s),_(t,n,s)}else(0,i.isDefined)(n.filterValues)&&g(t,n),(0,i.isDefined)(n.filterValue)&&_(t,n)})),this._skipSyncColumnOptions=!1},_initSync:function(){var e=this.getController("columns").getColumns(),t=this.getController("data"),n=t.pageIndex();if(function(e){e.forEach((function(e){var t=h(e);if(!(0,i.isDefined)(t)&&e.allowFiltering)throw new s.default.Error("E1049",e.caption)}))}(e),!this.option("filterValue")){var r=this.getController("columns").getFilteringColumns(),o=this.getFilterValueFromColumns(r);this.option("filterValue",o)}this.syncFilterValue(),t.pageIndex(n)},init:function(){var e=this,t=this.getController("data");t.isFilterSyncActive()&&(this.getController("columns").isAllDataTypesDefined()?this._initSync():t.dataSourceChanged.add((function(){return e._initSync()})))},_getSyncFilterRow:function(e,t){var n=f(t);return(0,i.isDefined)(n)?o.default.syncFilters(e,n):o.default.removeFieldConditionsFromFilter(e,h(t))},_getSyncHeaderFilter:function(e,t){var n=m(t);return n?o.default.syncFilters(e,n):o.default.removeFieldConditionsFromFilter(e,h(t))},getFilterValueFromColumns:function(e){if(!this.getController("data").isFilterSyncActive())return null;var t=["and"];return e&&e.forEach((function(e){var n=m(e),i=f(e);n&&o.default.addItem(n,t),i&&o.default.addItem(i,t)})),o.default.getNormalizedFilter(t)},syncFilterRow:function(e,t){this.option("filterValue",this._getSyncFilterRow(this.option("filterValue"),e))},syncHeaderFilter:function(e){this.option("filterValue",this._getSyncHeaderFilter(this.option("filterValue"),e))},getCustomFilterOperations:function(){var e=this.option("filterBuilder.customOperations")||[];return[c.default.anyOf(this.component),c.default.noneOf(this.component)].concat(e)},publicMethods:function(){return["getCustomFilterOperations"]}}));e.exports={defaultOptions:function(){return{filterValue:null,filterSyncEnabled:"auto"}},controllers:{filterSync:b},extenders:{controllers:{data:{isFilterSyncActive:function(){var e=this.option("filterSyncEnabled");return"auto"===e?this.option("filterPanel.visible"):e},skipCalculateColumnFilters:function(){return(0,i.isDefined)(this.option("filterValue"))&&this.isFilterSyncActive()},_calculateAdditionalFilter:function(){if(!1===this.option("filterPanel.filterEnabled"))return this.callBase();var e=[this.callBase()],t=this.getController("columns").getFilteringColumns(),n=this.option("filterValue");if(this.isFilterSyncActive()){var i=this.getController("headerFilter").getCurrentColumn();i&&n&&(n=o.default.removeFieldConditionsFromFilter(n,h(i)))}var r=this.getController("filterSync").getCustomFilterOperations(),s=o.default.getFilterExpression(n,t,r,"filterBuilder");return s&&e.push(s),a.default.combineFilters(e)}
1,_parseColumnPropertyName:function(e){return e.match(/.*\.(.*)/)[1]},clearFilter:function(e){this.component.beginUpdate(),arguments.length>0?("filterValue"===e&&this.option("filterValue",null),this.callBase(e)):(this.option("filterValue",null),this.callBase()),this.component.endUpdate()},optionChanged:function(e){switch(e.name){case"filterValue":this._applyFilter(),this.isFilterSyncActive()&&this.getController("filterSync").syncFilterValue(),e.handled=!0;break;case"filterSyncEnabled":e.handled=!0;break;case"columns":if(this.isFilterSyncActive()){var t=this.getController("columns").getColumnByPath(e.fullName),n=this.getController("filterSync");if(t&&!n._skipSyncColumnOptions){var i=this._parseColumnPropertyName(e.fullName);n._skipSyncColumnOptions=!0,"filterType"===i?"exclude"!==e.value&&"exclude"!==e.previousValue||n.syncHeaderFilter(t):"filterValues"===i?n.syncHeaderFilter(t):["filterValue","selectedFilterOperation"].indexOf(i)>-1&&n.syncFilterRow(t,t.filterValue),n._skipSyncColumnOptions=!1}}this.callBase(e);break;default:this.callBase(e)}}}},views:{columnHeadersView:{_isHeaderFilterEmpty:function(e){return this.getController("data").isFilterSyncActive()?!o.default.filterHasField(this.option("filterValue"),h(e)):this.callBase(e)},_needUpdateFilterIndicators:function(){return!this.getController("data").isFilterSyncActive()},optionChanged:function(e){"filterValue"===e.name?this._updateHeaderFilterIndicators():this.callBase(e)}}}}}},"2BeW":function(e,t,n){"use strict";var i=h(n("FKN7")),r=n("cGv3"),o=n("KAnu"),s=h(n("Kksw")),a=h(n("8S5z")),l=n("zl3R"),c=n("tJvG"),u=h(n("YQNt")),d=h(n("XWCB"));function h(e){return e&&e.__esModule?e:{default:e}}var p,f,m,g,_=function(e){return"virtual"===e.option("scrolling.mode")},b=function(e){return"infinite"===e.option("scrolling.mode")},v=function(e){var t=e.option("scrolling.rowRenderingMode");return"virtual"===t||"standard"!==t&&void 0},y=function(e,t,n,i){for(var r=n?0:1,o=0;o<t+r;o++){var s=e[n?e.length-1-o:o];s&&!i(s,o===t)&&t++}return t},w=(p=function(e){var t=e._virtualScrollController.beginPageIndex(-1);_(e)&&(t<0||e.viewportSize()>=0&&e.getViewportItemIndex()>=0&&(t*e.pageSize()>e.getViewportItemIndex()||t*e.pageSize()+e.itemsCount()<e.getViewportItemIndex()+e.viewportSize())&&e._dataSource.isLoading()?e._isLoading||(e._isLoading=!0,e.loadingChanged.fire(!0)):e._isLoading&&(e._isLoading=!1,e.loadingChanged.fire(!1)))},f={init:function(e){var t=this;t.callBase.apply(t,arguments),t._items=[],t._isLoaded=!0,t._virtualScrollController=new s.default.VirtualScrollController(t.component,{pageSize:function(){return t.pageSize()},totalItemsCount:function(){return t.totalItemsCount()},hasKnownLastPage:function(){return t.hasKnownLastPage()},pageIndex:function(t){return e.pageIndex(t)},isLoading:function(){return e.isLoading()&&!t.isCustomLoading()},pageCount:function(){return t.pageCount()},load:function(){return e.load()},updateLoading:function(){p(t)},itemsCount:function(){return t.itemsCount(!0)},items:function(){return e.items()},viewportItems:function(e){return e&&(t._items=e),t._items},onChanged:function(e){t.changed.fire(e)},changingDuration:function(e){return t.isLoading()?300:t._renderTime||0}})},_handleLoadingChanged:function(e){var t=this;_(t)||(t._isLoading=e,t.callBase.apply(t,arguments)),t._startLoadTime=e?new Date:void 0},_handleLoadError:function(){var e=this;e._isLoading=!1,e.loadingChanged.fire(!1),e.callBase.apply(e,arguments)},_handleDataChanged:function(e){var t=this.callBase.bind(this);this._virtualScrollController.handleDataChanged(t,e)},_customizeRemoteOperations:function(e,t,n){var i=this;!i.option("legacyRendering")&&_(i)&&!n.reload&&!t&&n.skip&&i._renderTime<i.option("scrolling.renderingThreshold")&&(e.delay=void 0),i.callBase.apply(i,arguments)},items:function(){return this._items},itemsCount:function(e){return e?this.callBase():this._virtualScrollController.itemsCount()},load:function(e){return e?this.callBase(e):this._virtualScrollController.load()},isLoading:function(){return this._isLoading},isLoaded:function(){return this._dataSource.isLoaded()&&this._isLoaded}
1,resetPagesCache:function(e){e||this._virtualScrollController.reset(!0),this.callBase.apply(this,arguments)},_changeRowExpandCore:function(){var e=this.callBase.apply(this,arguments);return this.resetPagesCache(),p(this),e},reload:function(){this._dataSource.pageIndex(this.pageIndex());var e=this._virtualScrollController;if(e){var t=new c.Deferred;return this.callBase.apply(this,arguments).done((function(n){var i=e._delayDeferred;i?i.done(t.resolve).fail(t.reject):t.resolve(n)})).fail(t.reject),t}return this.callBase.apply(this,arguments)},refresh:function(e,t,n){var i=this,r=e.storeLoadOptions,o=i._dataSource;return t||n.reload?(i._virtualScrollController.reset(),o.items().length=0,i._isLoaded=!1,p(i),i._isLoaded=!0,b(i)?(i.pageIndex(0),o.pageIndex(0),r.pageIndex=0,e.pageIndex=0,r.skip=0):(o.pageIndex(i.pageIndex()),o.paginate()&&(e.pageIndex=i.pageIndex(),r.skip=i.pageIndex()*i.pageSize()))):b(i)&&r.skip&&(r.skip+=i._skipCorrection),i.callBase.apply(i,arguments)},dispose:function(){this._virtualScrollController.dispose(),this.callBase.apply(this,arguments)}},["virtualItemsCount","getContentOffset","getVirtualContentSize","setContentSize","setViewportPosition","getViewportItemIndex","setViewportItemIndex","getItemIndexByPosition","viewportSize","viewportItemSize","getItemSize","getItemSizes","pageIndex","beginPageIndex","endPageIndex","loadIfNeed"].forEach((function(e){f[e]=function(){var t=this._virtualScrollController;return t[e].apply(t,arguments)}})),f),C=(m=function(e,t){var n=e.toArray().map((function(e){return(0,i.default)(e).parent("."+t).get(0)})).filter((function(e){return e}));n.length&&(e=(0,i.default)(n));for(var r="dx-freespace-row"===t?e.length-1:e.length,o=0;o<r;o++)e.eq(o).remove()},{init:function(){var e=this,t=e.getController("data");e.callBase(),t.pageChanged.add((function(){e.scrollToPage(t.pageIndex())})),!e.option("legacyRendering")&&t.pageIndex()>0&&e.resizeCompleted.add((function n(){e.resizeCompleted.remove(n),e.scrollToPage(t.pageIndex())}))},scrollToPage:function(e){var t,n=this._dataController,i=n?n.pageSize():0;if(_(this)||b(this)){var r=n.getItemSize(),o=n.getItemSizes(),s=e*i;for(var a in t=s*r,o)a<=s&&(t+=o[a]-r)}else t=0;this.scrollTo({y:t,x:this._scrollLeft})},renderDelayedTemplates:function(e){this._updateContentPosition(!0),this.callBase.apply(this,arguments)},_renderCore:function(e){var t=this,n=new Date;t.callBase.apply(t,arguments);var i=t._dataController._dataSource;if(i&&e){var r=e.items?e.items.length:20,o=t._dataController.viewportSize()||20;i._renderTime=v(t)?(new Date-n)*o/r:new Date-n}},_getRowElements:function(e){var t=this.callBase(e);return t&&t.not(".dx-virtual-row")},_renderContent:function(e,t){var n=this,i=n._dataController.virtualItemsCount();return i&&n.option("legacyRendering")?((0,r.hasWindow)()&&t.addClass(n.addWidgetPrefix("table-content")),e.children().length?e.children().first().replaceWith(t):e.append(t),1===e.children("table").length&&(e.append(n._createTable()),n._contentHeight=0),e):n.callBase.apply(n,arguments)},_removeRowsElements:function(e,t,n){var r=this._getRowElements(e).toArray();r="append"===n?r.slice(0,t):r.slice(-t);var o=this.getController("errorHandling");r.map((function(e){var t=(0,i.default)(e);o&&o.removeErrorRow(t.next()),t.remove()}))},_restoreErrorRow:function(e){var t=this.getController("editing");t&&t.hasChanges()&&this._getRowElements(e).each((function(e,n){var r=(0,i.default)(n).data("options");if(r){var o=t.getEditDataByKey(r.key);o&&t._showErrorRow(o)}}))},_updateContent:function(e,t){var n,i=this,r=i._findContentElement(),o=t&&t.changeType;if("append"===o||"prepend"===o){var s=r.children().first(),a=i._getBodies(e);i.option("legacyRendering")||1!==a.length?a["append"===o?"appendTo":"prependTo"](s):i._getBodies(s)["append"===o?"append":"prepend"](a.children()),e.remove(),n=i._getFreeSpaceRowElements(s),m(n,"dx-freespace-row"),t.removeCount&&i._removeRowsElements(s,t.removeCount,o),i._restoreErrorRow(s)}else i.callBase.apply(i,arguments);i._updateBottomLoading()},_addVirtualRow:function(e,t,n,i){if(i){var r=this._createEmptyRow("dx-virtual-row",t,i);r=this._wrapRowIfNeed(e,r),this._appendEmptyRow(e,r,n)}},_updateContentPosition:function(e){var t=this,n=t._dataController;if(n.viewportItemSize(t._rowHeight||20),t.option("legacyRendering")||!_(t)&&!v(t))(0,o.deferUpdate)((function(){t._updateContentPositionCore()}));else{if(!e){var r=t._getRowElements(t._tableElement).toArray().map((function(e){return e.getBoundingClientRect().height}));n.setContentSize(r)}var s=n.getContentOffset("begin"),a=n.getContentOffset("end"),l=t.getTableElements(),c=l.children("tbody").children(".dx-virtual-row");m(c,"dx-virtual-row"),l.each((function(e){var n=e>0;t._isFixedTableRendering=n,t._addVirtualRow((0,i.default)(this),n,"top",s),t._addVirtualRow((0,i.default)(this),n,"bottom",a),t._isFixedTableRendering=!1})),!e&&t._updateScrollTopPosition(s)}},_updateScrollTopPosition:function(e){this._scrollTop<e&&!this._isScrollByEvent&&this._dataController.pageIndex()>0&&this.scrollTo({top:e,left:this._scrollLeft})},_updateContentPositionCore:function(){var e,t,n,i=this,r=i._rowHeight||20;if(i._dataController.virtualItemsCount()){t=i._findContentElement().children(),n=t.eq(0);var s=t.eq(1);i._contentTableHeight=n[0].offsetHeight,i._dataController.viewportItemSize(r),i._dataController.setContentSize(i._contentTableHeight),e=i._dataController.getVirtualContentSize();var a=i._dataController.getContentOffset();(0,o.deferRender)((function(){u.default.move(n,{left:0,top:a}),(i._contentHeight!==e||0===e||!i._isTableLinesDisplaysCorrect(s)||!i._isColumnElementsEqual(n.find("col"),s.find("col")))&&(i._c
1ontentHeight=e,i._renderVirtualTableContent(s,e)),i._updateScrollTopPosition(a)}))}},_isTableLinesDisplaysCorrect:function(e){return e.find(".dx-column-lines").length>0===this.option("showColumnLines")},_isColumnElementsEqual:function(e,t){var n=e.length===t.length;return n&&(0,l.each)(e,(function(e,i){if(i.style.width!==t[e].style.width)return n=!1})),n},_renderVirtualTableContent:function(e,t){for(var n=this._columnsController.getVisibleColumns(),i=this._createColGroup(n).prop("outerHTML"),r="",o=this.option("showColumnLines")?"dx-column-lines":"",s=function(e){return"<tr style='height:"+e+"px;' class='dx-freespace-row dx-row "+o+"' >"+r+"</tr>"},a=0;a<n.length;a++){var l=this._getCellClasses(n[a]),c=l.length?" class='"+l.join(" ")+"'":"";r+="<td"+c+"/>"}for(;t>25e4;)i+=s(25e4),t-=25e4;i+=s(t),e.addClass(this.addWidgetPrefix("table")),e.html(i)},_getCellClasses:function(e){var t=[],n=e.cssClass,i="expand"===e.command;return n&&t.push(n),i&&t.push(this.addWidgetPrefix("group-space")),t},_findBottomLoadPanel:function(e){var t=e||this.element(),n=t&&t.find("."+this.addWidgetPrefix("bottom-load-panel"));if(n&&n.length)return n},_updateBottomLoading:function(){var e=this.option("scrolling.mode"),t="virtual"===e,n="infinite"===e,r=!this._dataController.hasKnownLastPage()&&this._dataController.isLoaded()&&(t||n),o=this._findContentElement(),s=this._findBottomLoadPanel(o);r?s||(0,i.default)("<div>").addClass(this.addWidgetPrefix("bottom-load-panel")).append(this._createComponent((0,i.default)("<div>"),d.default).$element()).appendTo(o):s&&s.remove()},_handleScroll:function(e){var t=this;t._hasHeight&&t._rowHeight&&t._dataController.setViewportPosition(e.scrollOffset.top),t.callBase.apply(t,arguments)},_needUpdateRowHeight:function(e){var t=this;return t.callBase.apply(t,arguments)||e>0&&"infinite"===t.option("scrolling.mode")&&"virtual"!==t.option("scrolling.rowRenderingMode")},_updateRowHeight:function(){var e=this;if(e.callBase.apply(e,arguments),e._rowHeight){e._updateContentPosition();var t=e._hasHeight?e.element().outerHeight():(0,i.default)((0,r.getWindow)()).outerHeight();e._dataController.viewportSize(Math.ceil(t/e._rowHeight))}},updateFreeSpaceRowHeight:function(){var e=this.callBase.apply(this,arguments);return e&&this._updateContentPosition(),e},setLoading:function(e,t){var n=this.callBase,i=this._dataController;i.pageIndex()>0&&i.isLoaded()&&!!this._findBottomLoadPanel()&&(e=!1),n.call(this,e,t)},_resizeCore:function(){var e=this,t=e.element();e.callBase(),e.component.$element()&&!e._windowScroll&&t.closest((0,r.getWindow)().document).length&&(e._windowScroll=s.default.subscribeToExternalScrollers(t,(function(t){!e._hasHeight&&e._rowHeight&&e._dataController.setViewportPosition(t)}),e.component.$element()),e.on("disposing",(function(){e._windowScroll.dispose()}))),e.loadIfNeed()},loadIfNeed:function(){var e=this._dataController;e&&e.loadIfNeed&&e.loadIfNeed()},setColumnWidths:function(e){var t,n=this.getScrollable();this.callBase.apply(this,arguments),"virtual"===this.option("scrolling.mode")&&(t=n?n.$content():this.element(),this.callBase(e,t.children("."+this.addWidgetPrefix("content")).children(":not(."+this.addWidgetPrefix("table-content")+")")))},dispose:function(){clearTimeout(this._scrollTimeoutID),this.callBase()}});e.exports={defaultOptions:function(){return{scrolling:{timeout:300,updateTimeout:300,minTimeout:0,renderingThreshold:100,removeInvisiblePages:!0,rowPageSize:5,mode:"standard",preloadEnabled:!1,rowRenderingMode:"standard"}}},extenders:{dataSourceAdapter:w,controllers:{data:(g={_refreshDataSource:function(){var e=this.callBase.apply(this,arguments)||(new c.Deferred).resolve().promise();return e.done(this.initVirtualRows.bind(this)),e},getRowPageSize:function(){var e=this.option("scrolling.rowPageSize"),t=this.pageSize();return t&&t<e?t:e},reload:function(){var e=this,t=e._rowsScrollController||e._dataSource,n=t&&t.getItemIndexByPosition(),r=this.callBase.apply(this,arguments);return r&&r.done((function(){if(_(e)||v(e)){var t=e.getRowIndexOffset(),r=Math.floor(n)-t,o=e.component,s=o.getScrollable&&o.getScrollable(),a=e.dataSource().operationTypes().sorting;if(s&&!e.option("legacyRendering")&&!a){var l=o.getRowElement(r),
1c=l&&l[0]&&(0,i.default)(l[0]),u=c&&c.position().top;u>0&&(u=Math.round(u+c.outerHeight()*(n%1)),s.scrollTo({y:u}))}}}))},initVirtualRows:function(){var e=this,t=v(e);if("virtual"!==e.option("scrolling.mode")&&!0!==t||!1===t||e.option("legacyRendering")||!e.option("scrolling.rowPageSize"))return e._visibleItems=null,void(e._rowsScrollController=null);e._rowPageIndex=Math.ceil(e.pageIndex()*e.pageSize()/e.getRowPageSize()),e._visibleItems=[];var n=function(t){return"data"===t.rowType&&!t.isNewRow||"group"===t.rowType&&e._dataSource.isGroupItemCountable(t.data)};e._rowsScrollController=new s.default.VirtualScrollController(e.component,{pageSize:function(){return e.getRowPageSize()},totalItemsCount:function(){return _(e)?e.totalItemsCount():e._items.filter(n).length},hasKnownLastPage:function(){return!0},pageIndex:function(t){return void 0!==t&&(e._rowPageIndex=t),e._rowPageIndex},isLoading:function(){return e.isLoading()},pageCount:function(){return Math.ceil(this.totalItemsCount()/this.pageSize())||1},load:function(){e._rowsScrollController.pageIndex()>=this.pageCount()&&(e._rowPageIndex=this.pageCount()-1,e._rowsScrollController.pageIndex(e._rowPageIndex)),!e._rowsScrollController._dataSource.items().length&&this.totalItemsCount()||e._rowsScrollController.handleDataChanged((function(t){(t=t||{}).changeType=t.changeType||"refresh",t.items=t.items||e._visibleItems,e._visibleItems.forEach((function(e,t){e.rowIndex=t})),e._fireChanged(t)}))},updateLoading:function(){},itemsCount:function(){return e._rowsScrollController._dataSource.items().filter(n).length},correctCount:function(e,t,i){return y(e,t,i,n)},items:function(t){var i=e.dataSource(),r=i&&i.virtualItemsCount(),o=r?r.begin:0,s=e.getRowPageSize(),a=e._rowPageIndex*s-o,l=s,c=e._items;return a<0?[]:(a&&(a=this.correctCount(c,a),c=c.slice(a)),l&&(l=this.correctCount(c,l),c=c.slice(0,l)),t?c.filter(n):c)},viewportItems:function(t){return t&&(e._visibleItems=t),e._visibleItems},onChanged:function(){},changingDuration:function(t){var n=e.dataSource();return n.isLoading()?300:(null==n?void 0:n._renderTime)||0}},!0),e._rowsScrollController.positionChanged.add((function(){var t;null===(t=e._dataSource)||void 0===t||t.setViewportItemIndex(e._rowsScrollController.getViewportItemIndex())})),e.isLoaded()&&e._rowsScrollController.load()},_updateItemsCore:function(e){var t=this,n=this.getRowIndexDelta();this.callBase.apply(this,arguments);var i=this._rowsScrollController;if(i){var r=this._visibleItems,o="refresh"===e.changeType||e.isLiveUpdate;if("append"===e.changeType&&e.items&&!e.items.length)return;o||"append"===e.changeType||"prepend"===e.changeType?(e.cancel=!0,o&&i.reset(!0),i.load()):("update"===e.changeType?e.rowIndices.forEach((function(t,n){var i=e.changeTypes[n],o=e.items[n];"update"===i?r[t]=o:"insert"===i?r.splice(t,0,o):"remove"===i&&r.splice(t,1)})):(r.forEach((function(e,i){r[i]=t._items[i+n]||r[i]})),e.items=r),r.forEach((function(e,t){e.rowIndex=t})))}},_applyChange:function(e){var t=this,n=e.items,i=e.changeType,r=e.removeCount;switch(r&&(r=y(t._items,r,"prepend"===i,(function(e,n){return"data"===e.rowType&&!e.isNewRow||"group"===e.rowType&&(t._dataSource.isGroupItemCountable(e.data)||n)})),e.removeCount=r),i){case"prepend":t._items.unshift.apply(t._items,n),r&&t._items.splice(-r);break;case"append":t._items.push.apply(t._items,n),r&&t._items.splice(0,r);break;default:t.callBase(e)}},items:function(e){return e?this._items:this._visibleItems||this._items},getRowIndexDelta:function(){var e=this._visibleItems,t=0;return e&&e[0]&&(t=this._items.indexOf(e[0])),t<0?0:t},getRowIndexOffset:function(){var e=0,t=this.dataSource(),n=this._rowsScrollController;return n?e=n.beginPageIndex()*n._dataSource.pageSize():"virtual"===this.option("scrolling.mode")&&t&&(e=t.beginPageIndex()*t.pageSize()),e},viewportSize:function(){var e=this._rowsScrollController;e&&e.viewportSize.apply(e,arguments);var t=this._dataSource;return t&&t.viewportSize.apply(t,arguments)},viewportItemSize:function(){var e=this._rowsScrollController;e&&e.viewportItemSize.apply(e,arguments);var t=this._dataSource;return t&&t.viewportItemSize.apply(t,arguments)}
1,setViewportPosition:function(){var e=this._rowsScrollController,t=this._dataSource;e?e.setViewportPosition.apply(e,arguments):null==t||t.setViewportPosition.apply(t,arguments)},setContentSize:function(e){var t=this._rowsScrollController;t&&t.setContentSize(e);var n=this._dataSource;return n&&n.setContentSize(e)},loadIfNeed:function(){var e=this._rowsScrollController;e&&e.loadIfNeed();var t=this._dataSource;return t&&t.loadIfNeed()},getItemSize:function(){var e=this._rowsScrollController;if(e)return e.getItemSize.apply(e,arguments);var t=this._dataSource;return t&&t.getItemSize.apply(t,arguments)},getItemSizes:function(){var e=this._rowsScrollController;if(e)return e.getItemSizes.apply(e,arguments);var t=this._dataSource;return t&&t.getItemSizes.apply(t,arguments)},getContentOffset:function(){var e=this._rowsScrollController;if(e)return e.getContentOffset.apply(e,arguments);var t=this._dataSource;return t&&t.getContentOffset.apply(t,arguments)},dispose:function(){var e=this._rowsScrollController;e&&e.dispose(),this.callBase.apply(this,arguments)}},a.default.proxyMethod(g,"virtualItemsCount"),a.default.proxyMethod(g,"getVirtualContentSize"),a.default.proxyMethod(g,"setViewportItemIndex"),g),resizing:{resize:function(){var e,t=this,n=t.callBase;if(t.option("legacyRendering")||!_(t)&&!v(t))e=n.apply(t);else{clearTimeout(t._resizeTimeout);var i=new Date-t._lastTime,r=t.option("scrolling.updateTimeout");t._lastTime&&i<r?(e=new c.Deferred,t._resizeTimeout=setTimeout((function(){n.apply(t).done(e.resolve).fail(e.reject),t._lastTime=new Date}),r),t._lastTime=new Date):(e=n.apply(t),t._dataController.isLoaded()&&(t._lastTime=new Date))}return e},dispose:function(){this.callBase.apply(this,arguments),clearTimeout(this._resizeTimeout)}}},views:{rowsView:C}}}},"2Fn2":function(e,t,n){"use strict";var i=o(n("1LL4")),r=o(n("/7L9"));function o(e){return e&&e.__esModule?e:{default:e}}var s={rtlEnabled:!1,defaultCurrency:"USD",oDataFilterToLower:!0,serverDecimalSeparator:".",decimalSeparator:".",thousandsSeparator:",",forceIsoDateParsing:!0,wrapActionsBeforeExecute:!0,useLegacyStoreResult:!1,useJQuery:void 0,editorStylingMode:void 0,useLegacyVisibleIndex:!1,floatingActionButtonConfig:{icon:"add",closeIcon:"close",label:"",position:{at:"right bottom",my:"right bottom",offset:{x:-16,y:-16}},maxSpeedDialActionCount:5,shading:!1,direction:"auto"},optionsParser:function(e){"{"!==e.trim().charAt(0)&&(e="{"+e+"}");try{return new Function("return "+e)()}catch(t){throw r.default.Error("E3018",t,e)}}},a=["decimalSeparator","thousandsSeparator"],l=function(){if(!arguments.length)return s;var e=arguments.length<=0?void 0:arguments[0];a.forEach((function(t){if(e[t]){var n="Now, the ".concat(t," is selected based on the specified locale.");r.default.log("W0003","config",t,"19.2",n)}})),i.default.extend(s,e)};"undefined"!=typeof DevExpress&&DevExpress.config&&l(DevExpress.config),e.exports=l,e.exports.default=e.exports},"2Ji4":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={securityFunctionService:"/adminservice/securityfunction",userService:"/adminservice/erp/customer",shipTypeService:"/adminservice/erp/shiptype",branchService:"/adminservice/erp/branch",countyService:"/adminservice/erp/county",countryService:"/adminservice/erp/country",stateService:"/adminservice/erp/state",regionService:"/adminservice/erp/region",itemCategoryService:"/adminservice/erp/itemcategory",rateRequestService:"/adminservice/erp/rateRequest",rateService:"/adminservice/erp/rateSettings",otpService:"/adminservice/erp/agent",ticketService:"/adminservice/erp/ticket",salesReturnService:"/adminservice/erp/salesreturn",invoiceBookingService:"/adminservice/erp/invoiceBooking",invoiceService:"/adminservice/erp/invoice",cbmService:"/adminservice/erp/cbmCalculator",feedbackService:"/adminservice/erp/feedback",manualTrackingService:"/adminservice/erp/manualTracking",airWayService:"/adminservice/erp/airway",awbManualTrackingService:"/adminservice/erp/awbmanualtracking",cityService:"/adminservice/erp/county/CountyByCountryId/customerapp/",getpriceService:"/adminservice/erp/ratCalculator"}},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2RPT":function(e,t,n){"use strict";var i=d(n("FKN7")),r=d(n("GYHJ")),o=n("1LL4"),s=d(n("d+kW")),a=d(n("imRD")),l=d(n("NnyS")),c=d(n("IF55")),u=n("Yt8F");
1function d(e){return e&&e.__esModule?e:{default:e}}var h=r.default.View.inherit({_renderCore:function(){this._updatePopupOptions()},_updatePopupOptions:function(){this.option("filterBuilderPopup.visible")?this._initPopup():this._filterBuilderPopup&&this._filterBuilderPopup.hide()},_disposePopup:function(){this._filterBuilderPopup&&(this._filterBuilderPopup.dispose(),this._filterBuilderPopup=void 0),this._filterBuilder&&(this._filterBuilder.dispose(),this._filterBuilder=void 0)},_initPopup:function(){var e=this;e._disposePopup(),e._filterBuilderPopup=e._createComponent(e.element(),c.default,(0,o.extend)({title:a.default.format("dxDataGrid-filterBuilderPopupTitle"),contentTemplate:function(t){return e._getPopupContentTemplate(t)},onOptionChanged:function(t){"visible"===t.name&&e.option("filterBuilderPopup.visible",t.value)},toolbarItems:e._getPopupToolbarItems()},e.option("filterBuilderPopup"),{onHidden:function(t){(0,u.restoreFocus)(e),e._disposePopup()}}))},_getPopupContentTemplate:function(e){var t=(0,i.default)(e),n=(0,i.default)("<div>").appendTo((0,i.default)(e));this._filterBuilder=this._createComponent(n,s.default,(0,o.extend)({value:this.option("filterValue"),fields:this.getController("columns").getFilteringColumns()},this.option("filterBuilder"),{customOperations:this.getController("filterSync").getCustomFilterOperations()})),this._createComponent(t,l.default,{direction:"both"})},_getPopupToolbarItems:function(){var e=this;return[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:a.default.format("OK"),onClick:function(t){var n=e._filterBuilder.option("value");e.option("filterValue",n),e._filterBuilderPopup.hide()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:a.default.format("Cancel"),onClick:function(t){e._filterBuilderPopup.hide()}}}]},optionChanged:function(e){switch(e.name){case"filterBuilder":case"filterBuilderPopup":this._invalidate(),e.handled=!0;break;default:this.callBase(e)}}});e.exports={defaultOptions:function(){return{filterBuilder:{groupOperationDescriptions:{and:a.default.format("dxFilterBuilder-and"),or:a.default.format("dxFilterBuilder-or"),notAnd:a.default.format("dxFilterBuilder-notAnd"),notOr:a.default.format("dxFilterBuilder-notOr")},filterOperationDescriptions:{between:a.default.format("dxFilterBuilder-filterOperationBetween"),equal:a.default.format("dxFilterBuilder-filterOperationEquals"),notEqual:a.default.format("dxFilterBuilder-filterOperationNotEquals"),lessThan:a.default.format("dxFilterBuilder-filterOperationLess"),lessThanOrEqual:a.default.format("dxFilterBuilder-filterOperationLessOrEquals"),greaterThan:a.default.format("dxFilterBuilder-filterOperationGreater"),greaterThanOrEqual:a.default.format("dxFilterBuilder-filterOperationGreaterOrEquals"),startsWith:a.default.format("dxFilterBuilder-filterOperationStartsWith"),contains:a.default.format("dxFilterBuilder-filterOperationContains"),notContains:a.default.format("dxFilterBuilder-filterOperationNotContains"),endsWith:a.default.format("dxFilterBuilder-filterOperationEndsWith"),isBlank:a.default.format("dxFilterBuilder-filterOperationIsBlank"),isNotBlank:a.default.format("dxFilterBuilder-filterOperationIsNotBlank")}},filterBuilderPopup:{}}},views:{filterBuilderView:h}}},"2S0u":function(e,t,n){"use strict";var i=n("FKN7"),r=n("Lci2"),o=n("Y18R"),s=n("5u+F"),a=n("zl3R").each,l=n("1LL4").extend,c=n("LI0J"),u=n("D6VQ"),d=n("dYUP"),h=r.inherit({_valueOption:function(){var e=this.option("value"),t=new Date(e);return!e||isNaN(t)?this._getDefaultDate():t},_getDefaultDate:function(){var e=new Date;return"date"===this.option("type")?new Date(e.getFullYear(),e.getMonth(),e.getDate()):e},_getDefaultOptions:function(){return l(this.callBase(),{minDate:c.MIN_DATEVIEW_DEFAULT_DATE,maxDate:c.MAX_DATEVIEW_DEFAULT_DATE,type:"date",value:new Date,applyCompactClass:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"desktop"!==e.deviceType},options:{applyCompactClass:!0}}])},_render:function(){this.callBase(),this.$element().addClass("dx-dateview"),this._toggleFormatClasses(this.option("type")),this._toggleCompactClass()},_toggleFormatClasses:function(e,t){this.$element().addClass("dx-dateview-"+e),t&&this.$element().removeClass("dx-dateview-"+t)},_toggleCompactClass:function(){this.$element().toggleClass("dx-dateview-compact",this.option("applyCompactClass"))},_wrapper:function(){return this._$wrapper},_renderContentImpl:function(){this._$wrapper=i("<div>").addClass("dx-dateview-wrapper"),this._renderRollers(),this._$wrapper.appendTo(this.$element())},_renderRollers:function(){this._$rollersContainer||(this._$rollersContainer=i("<div>").addClass("dx-dateview-rollers")),this._$rollersContainer.empty(),this._createRollerConfigs(),this._rollers={};var e=this;a(e._rollerConfigs,(function(t){var n=i("<div>").appendTo(e._$rollersContainer).addClass("dx-dateviewroller-"+e._rollerConfigs[t].type);e._rollers[e._rollerConfigs[t].type]=e._createComponent(n,o,{items:e._rollerConfigs[t].displayItems,selectedIndex:e._rollerConfigs[t].selectedIndex,showScrollbar:!1,onStart:function(n){var i=n.component;i._toggleActive(!0),e._setActiveRoller(e._rollerConfigs[t],i.option("selectedIndex"))},onEnd:function(e){e.component._toggleActive(!1)},onClick:function(n){var i=n.component;i._toggleActive(!0),e._setActiveRoller(e._rollerConfigs[t],i.option("selectedIndex")),e._setRollerState(e._rollerConfigs[t],i.option("selectedIndex")),i._toggleActive(!1)},onSelectedIndexChanged:function(n){e._setRollerState(e._rollerConfigs[t],n.c
1omponent.option("selectedIndex"))}})})),e._$rollersContainer.appendTo(e._wrapper())},_createRollerConfigs:function(e){var t=this;e=e||t.option("type"),t._rollerConfigs={},d.getFormatParts(c.FORMATS_MAP[e]).forEach((function(e){t._createRollerConfig(e)}))},_createRollerConfig:function(e){for(var t=c.DATE_COMPONENTS_INFO[e],n=this._calculateRollerConfigValueRange(e),i=n.startValue,r=n.endValue,o=t.formatter,s=this._getCurrentDate(),a={type:e,setValue:t.setter,valueItems:[],displayItems:[],getIndex:function(e){return e[t.getter]()-i}},l=i;l<=r;l++)a.valueItems.push(l),a.displayItems.push(o(l,s));a.selectedIndex=a.getIndex(s),this._rollerConfigs[e]=a},_setActiveRoller:function(e){var t=e&&this._rollers[e.type];a(this._rollers,(function(){this.toggleActiveState(this===t)}))},_updateRollersPosition:function(){var e=this;a(this._rollers,(function(t){var n=e._rollerConfigs[t].getIndex(e._getCurrentDate());this.option("selectedIndex",n)}))},_setRollerState:function(e,t){if(t!==e.selectedIndex){var n=e.valueItems[t],i=e.setValue,r=new Date(this._getCurrentDate()),o=r.getDate(),a=this.option("minDate"),l=this.option("maxDate");"month"===e.type?o=Math.min(o,c.getMaxMonthDay(r.getFullYear(),n)):"year"===e.type&&(o=Math.min(o,c.getMaxMonthDay(n,r.getMonth()))),r.setDate(o),r[i](n);var u=s.normalizeDate(r,a,l);r=c.mergeDates(u,r,"time"),r=s.normalizeDate(r,a,l),this.option("value",r),e.selectedIndex=t}"year"===e.type&&this._refreshRollers(),"month"===e.type&&(this._refreshRoller("day"),this._refreshRoller("hours"))},_refreshRoller:function(e){var t=this._rollers[e];if(t){this._createRollerConfig(e);var n=this._rollerConfigs[e];"day"!==e&&n.displayItems.toString()===t.option("items").toString()||t.option({items:n.displayItems,selectedIndex:n.selectedIndex})}},_getCurrentDate:function(){var e=this._valueOption(),t=this.option("minDate"),n=this.option("maxDate");return s.normalizeDate(e,t,n)},_calculateRollerConfigValueRange:function(e){var t=this._getCurrentDate(),n=this.option("minDate"),i=this.option("maxDate"),r=s.sameYear(t,n),o=r&&t.getMonth()===n.getMonth(),a=s.sameYear(t,i),l=a&&t.getMonth()===i.getMonth(),u=o&&t.getDate()===n.getDate(),d=l&&t.getDate()===i.getDate(),h=c.DATE_COMPONENTS_INFO[e],p=h.startValue,f=h.endValue;return"year"===e&&(p=n.getFullYear(),f=i.getFullYear()),"month"===e&&(r&&(p=n.getMonth()),a&&(f=i.getMonth())),"day"===e&&(f=c.getMaxMonthDay(t.getFullYear(),t.getMonth()),r&&o&&(p=n.getDate()),a&&l&&(f=i.getDate())),"hours"===e&&(p=u?n.getHours():p,f=d?i.getHours():f),{startValue:p,endValue:f}},_refreshRollers:function(){this._refreshRoller("month"),this._refreshRoller("day"),this._refreshRoller("hours")},_optionChanged:function(e){switch(e.name){case"minDate":case"maxDate":case"type":this._renderRollers(),this._toggleFormatClasses(e.value,e.previousValue);break;case"visible":this.callBase(e),e.value&&this._renderRollers();break;case"value":this.option("value",this._valueOption()),this._refreshRollers(),this._updateRollersPosition();break;default:this.callBase(e)}},_clean:function(){this.callBase(),delete this._$rollersContainer},_dispose:function(){clearTimeout(this._deferredRenderDayTimeout),clearTimeout(this._deferredRenderMonthTimeout),this.callBase()}});u("dxDateView",h),e.exports=h},"2XS1":function(e,t,n){"use strict";var i=n("rA4u"),r=n("YyLj"),o=n("zl3R").each,s=n("ti0F").isFunction,a=n("tJvG").Deferred,l=n("Nxdf");e.exports=function e(t,n,c){c=c||[],n=n||{};var u=function(e,t){return{name:e,args:t}},d=function(e){var d,h,p,f,m,g,_,b=new a,v=function(e){var t=n.errorHandler;t&&t(e),r._errorHandler(e),b.reject(e)};function y(e){switch(e.name){case"sortBy":return m=[e.args],!0;case"thenBy":if(!m)throw r.errors.Error("E4004");return m.push(e.args),!0}return!1}try{s(d=n.adapter)||(d=i[d]),h=d(n),p=[].concat(c).concat(e);var w=h.optimize;for(w&&w(p);p.length;){if(!y(f=p[0])){if(m){p.unshift(u("multiSort",[m])),m=null;continue}if("enumerate"!==String(f.name)&&(!h[f.name]||!1===h[f.name].apply(h,f.args)))break}p.shift()}_=[],(g=p[0])&&"multiSort"===g.name&&(p.shift(),o(g.args[0],(function(){_.push(u(_.length?"thenBy":"sortBy",this))}))),p=_.concat(p),h.exec(t).done((function(e,t){if(p.length){var i=l(e,{errorHandler:n.errorHandler});o(p,(function(){i=i[this.name].apply(i,this.args)})),i.done(b.resolve).fail(b.reject)}else b.resolve(e,t)})).fail(v)}catch(C){v(C)}return b.promise()},h={};return o(["sortBy","thenBy","filter","slice","select","groupBy"],(function(){var i=String(this);h[i]=function(){return e(t,n,c.concat(u(i,arguments)))}})),o(["count","min","max","sum","avg","aggregate","enumerate"],(function(){var e=String(this);h[e]=function(){return d.call(this,u(e,arguments))}})),h}},"2aEG":function(e,t,n){"use strict";var i=f(n("FKN7")),r=f(n("wL+b")),o=n("ti0F"),s=f(n("GC31")),a=n("zl3R"),l=n("1LL4"),c=f(n("tUd6")),u=f(n("v4HY")),d=f(n("cGv3")),h=n("xZEH"),p=n("tJvG");
1function f(e){return e&&e.__esModule?e:{default:e}}var m=d.default.getWindow(),g=Math,_=g.PI,b=g.min,v=g.abs,y=g.sqrt,w=g.pow,C=g.atan2,x=g.cos,S=g.sin,k=Number;function T(e,t,n){var r=(0,i.default)("<canvas>")[0];return r.width=e+2*n,r.height=t+2*n,r.hidden=!0,r}function E(e,t,n,i,r,o,s,a){var l=(e+n)/2,c=(t+i)/2,u=C(t-i,e-n),d=o?1:-1;u+=_/180*90*(s?1:-1);var h=y(w(n-e,2)+w(i-t,2))/2,p=y(v(w(r,2)-w(h,2))),f=l+d*(p*x(u)),m=c+d*(p*S(u)),g=C(t-m,e-f),b=C(i-m,n-f);a.arc(f,m,r,g,b,!s)}function I(e,t){var n,i=V(e.attributes||{}),r=(0,l.extend)({},i,{text:e.textContent.replace(/\s+/g," "),textAlign:"middle"===i["text-anchor"]?"center":i["text-anchor"]}),s=i.transform;return s&&((n=s.match(/translate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/))&&(n=n[0].match(/-*\d+([.]\d+)*/g),r.translateX=k(n[0]),r.translateY=n[1]?k(n[1]):0),(n=s.match(/rotate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*,*\s*-*\d+([.]\d+)*)*/))&&(n=n[0].match(/-*\d+([.]\d+)*/g),r.rotationAngle=k(n[0]),r.rotationX=n[1]&&k(n[1]),r.rotationY=n[2]&&k(n[2])),(n=s.match(/scale\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/))&&(n=n[0].match(/-*\d+([.]\d+)*/g),r.scaleX=k(n[0]),r.scaleY=n.length>1?k(n[1]):r.scaleX)),function(e,t,n){var i,r=e.style||{};for(i in r)""!==r[i]&&(t[(0,h.camelize)(i)]=r[i]);n&&c.default.isElementNode(e)&&(r=m.getComputedStyle(e),["fill","stroke","stroke-width","font-family","font-size","font-style","font-weight"].forEach((function(e){e in r&&""!==r[e]&&(t[(0,h.camelize)(e)]=r[e])})),["opacity","fill-opacity","stroke-opacity"].forEach((function(e){e in r&&""!==r[e]&&"1"!==r[e]&&(t[e]=k(r[e]))}))),t.textDecoration=t.textDecoration||t.textDecorationLine,t.globalAlpha=(0,o.isDefined)(t.opacity)?t.opacity:t.globalAlpha}(e,r,t),r}function D(e){var t=e&&e.match(/url\(.*#(.*?)["']?\)/i);return t&&t[1]}function M(e,t){var n=[];t.fontSize=t.fontSize||"10px",t.fill=t.fill||"#000",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 O(e){for(var t=e.childNodes,n=0;n<t.length;n++)if("tspan"===t[n].tagName)return!0;return!1}function R(e,t,n,i){var r=e.tagName,o="text"===r||"tspan"===r||void 0===r,s="image"===r,a=(0,l.extend)({},n,I(e,i.rootAppended));if("hidden"!==a.visibility&&!a["hidden-for-export"]){var c;switch(t.save(),!s&&A(t,a),P(t,a,i),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)}(a),t.beginPath(),e.tagName){case void 0:!function(e,t,n){M(e,t),L(e,t,n
1),t.text&&e.fillText(t.text,t.x||0,t.y||0),B(e,t,!0),function(e,t,n){if(t.textDecoration&&"none"!==t.textDecoration){var i=t.x,r=e.measureText(t.text).width,o=parseInt(t.fontSize,10),s=.05*o<1?1:.05*o,a=t.y;switch(t.textDecoration){case"line-through":a-=o/3+s/2;break;case"overline":a-=o-s;break;case"underline":a+=s}e.rect(i,a,r,s),H(e,t,n),B(e,t)}}(e,t,n)}(t,a,i);break;case"text":case"tspan":!function e(t,n,i,r){for(var o,s=[],a=0,c=0;c<t.length;c++){var u=t[c];if(void 0===u.tagName)R(u,n,i,r);else if("tspan"===u.tagName||"text"===u.tagName){var d=I(u,r.rootAppended),h=(0,l.extend)({},i,d);if("tspan"===u.tagName&&O(u)){e(u.childNodes,n,h,r);continue}h.textAlign="start",o&&void 0===d.x||s.push(o={elements:[],options:[],widths:[],offsets:[]}),void 0!==d.y&&(a=0),void 0!==d.dy&&(a+=parseFloat(d.dy)),o.elements.push(u),o.options.push(h),o.offsets.push(a),M(n,h),o.widths.push(n.measureText(h.text).width)}}s.forEach((function(t){var o=t.widths.reduce((function(e,t){return e+t}),0),s=0,a=0;"center"===i.textAlign&&(s=o/2),"end"===i.textAlign&&(s=o),t.options.forEach((function(e,n){var i=t.widths[n];e.x=e.x-s+a,e.y+=t.offsets[n],a+=i})),t.elements.forEach((function(i,o){e(i.childNodes,n,t.options[o],r)}))}))}(e.childNodes,t,a,i);break;case"image":c=function(e,t,n){var i=new p.Deferred,r=new m.Image;return r.onload=function(){e.save(),e.globalAlpha=t.globalAlpha,A(e,t),P(e,t,n),e.drawImage(r,t.x,t.y,t.width,t.height),e.restore(),i.resolve()},r.onerror=function(){i.resolve()},r.setAttribute("crossOrigin","anonymous"),r.src=t.href||t["xlink:href"],i}(t,a,i);break;case"path":!function(e,t){var n,i,r=t.replace(/,/g," ").split(/([A-Z])/i).filter((function(e){return""!==e.trim()})),o=0;do{var s=(r[o+1]||"").trim().split(" ");switch(r[o]){case"M":e.moveTo(k(s[0]),k(s[1])),o+=2;break;case"L":for(var a=0;a<s.length/2;a++)e.lineTo(k(s[2*a]),k(s[2*a+1]));o+=2;break;case"C":e.bezierCurveTo(k(s[0]),k(s[1]),k(s[2]),k(s[3]),k(s[4]),k(s[5])),o+=2;break;case"a":n=r[o-1].trim().split(" "),E(k(n[(i=n.length-1)-1]),k(n[i]),k(n[i-1])+k(s[5]),k(n[i])+k(s[6]),k(s[0]),k(s[3]),k(s[4]),e),o+=2;break;case"A":n=r[o-1].trim().split(" "),E(k(n[(i=n.length-1)-1]),k(n[i]),k(s[5]),k(s[6]),k(s[0]),k(s[3]),k(s[4]),e),o+=2;break;case"Z":e.closePath(),o+=1;break;default:o++}}while(o<r.length)}(t,a.d);break;case"rect":!function(e,t){var n=t.x,i=t.y,r=t.width,o=t.height,s=t.rx;s?(s=b(s,r/2,o/2),e.save(),e.translate(n,i),e.moveTo(r/2,0),e.arcTo(r,0,r,o,s),e.arcTo(r,o,0,o,s),e.arcTo(0,o,0,0,s),e.arcTo(0,0,s,0,s),e.lineTo(r/2,0),e.restore()):e.rect(n,i,r,o)}(t,a),t.closePath();break;case"circle":t.arc(a.cx,a.cy,a.r,0,2*_,1)}return o||(L(t,a,i),H(t,a,i),B(t,a)),function(e,t,n,i){var r=n.gradients;if(0!==r.length){var o=D(t.fill);if(o&&r[o]){var s=i.getBBox(),a=e.createLinearGradient(s.x,0,s.x+s.width,0);r[o].forEach((function(e){var t=parseInt(e.offset.replace(/%/,""));a.addColorStop(t/100,e.stopColor)})),e.globalAlpha=t.opacity,e.fillStyle=a,e.fill()}}}(t,a,i,e),t.restore(),c}}function L(e,t,n){var i,r=D(t.filter);r&&((i=n.filters[r])||(i={offsetX:0,offsetY:0,blur:0,color:"#000"}),e.shadowOffsetX=i.offsetX,e.shadowOffsetY=i.offsetY,e.shadowColor=i.color,e.shadowBlur=i.blur)}function A(e,t){e.translate(t.translateX||0,t.translateY||0),t.translateX=void 0,t.translateY=void 0,t.rotationAngle&&(e.translate(t.rotationX||0,t.rotationY||0),e.rotate(t.rotationAngle*_/180),e.translate(-(t.rotationX||0),-(t.rotationY||0)),t.rotationAngle=void 0,t.rotationX=void 0,t.rotationY=void 0),isFinite(t.scaleX)&&(e.scale(t.scaleX,t.scaleY),t.scaleX=void 0,t.scaleY=void 0)}function P(e,t,n){t["clip-path"]&&(R(n.clipPaths[D(t["clip-path"])],e,{},n),e.clip(),t["clip-path"]=void 0)}function F(e,t,n,i){return function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new p.Deferred;if(0===t.length)return i.resolve();var r=n(t[0]);function s(){e(Array.prototype.slice.call(t,1),n,i)}return(0,o.isPromise)(r)?r.then(s):s(),i}(e,(function(e){switch(e.tagName&&e.tagName.toLowerCase()){case"g":case"svg":var s=(0,l.extend)({},n,I(e,i.rootAppended));t.save(),A(t,s),P(t,s,i);
1var c=function(){t.restore()},u=F(e.childNodes,t,s,i);return(0,o.isPromise)(u)?u.then(c):c(),u;case"defs":return F(e.childNodes,t,{},i);case"clippath":i.clipPaths[e.attributes.id.textContent]=e.childNodes[0];break;case"pattern":i.patterns[e.attributes.id.textContent]=e;break;case"filter":i.filters[e.id]=function(e){var t={};return(0,a.each)(e.childNodes,(function(e,n){var i,o,s=n.attributes;if(s.result)switch(s.result.value){case"gaussianBlurResult":t.blur=k(s.stdDeviation.value);break;case"offsetResult":t.offsetX=k(s.dx.value),t.offsetY=k(s.dy.value);break;case"floodResult":t.color=(i=s["flood-opacity"]?s["flood-opacity"].value:1,"rgba("+(o=new r.default(s["flood-color"]?s["flood-color"].value:"#000")).r+","+o.g+","+o.b+","+i+")")}})),t}(e);break;case"lineargradient":i.gradients[e.attributes.id.textContent]=function(e){var t=[];return(0,a.each)(e.childNodes,(function(e,n){var i=n.attributes;t.push({offset:i.offset.value,stopColor:i["stop-color"].value})})),t}(e);break;default:return R(e,t,n,i)}}))}function B(e,t,n){var i=t.stroke;i&&"none"!==i&&0!==t["stroke-width"]&&(function(e,t){var n=t["stroke-dasharray"]&&t["stroke-dasharray"].match(/(\d+)/g);n&&n.length&&(n=(0,a.map)(n,(function(e){return k(e)})),e.setLineDash(n))}(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(),e.globalAlpha=1)}function H(e,t,n){var i=t.fill;
1if(i&&"none"!==i){if(-1===i.search(/url/))e.fillStyle=i;else{var r=n.patterns[D(i)];if(!r)return;e.fillStyle=function(e,t,n){var i=I(t,n.rootAppended),r=T(i.width,i.height,0),o=r.getContext("2d");return F(t.childNodes,o,i,n),e.createPattern(r,"repeat")}(e,r,n)}e.globalAlpha=t.fillOpacity,e.fill(),e.globalAlpha=1}}var V=function(e){var t,n={};return(0,a.each)(e,(function(e,i){t=i.textContent,isFinite(t)&&(t=k(t)),n[i.name.toLowerCase()]=t})),n};function N(e,t,n,i,r){e.fillStyle=i||"#ffffff",e.fillRect(-r,-r,t+2*r,n+2*r)}function z(){var e=c.default.createElement("div");return e.style.left="-9999px",e.style.position="absolute",e}function j(e,t,n){return F(e.childNodes,t.getContext("2d"),{},{clipPaths:{},patterns:{},filters:{},gradients:{},rootAppended:n})}t.imageCreator={getImageData:function(e,t){var n="image/"+t.format,i=t.width,r=t.height,a=t.backgroundColor;return(0,o.isFunction)(t.__parseAttributesFn)&&(V=t.__parseAttributesFn),function(e,t,n,i,r){var o,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:j,l=T(t,n,r),d=l.getContext("2d"),h=s.default.getSvgElement(e),f=c.default.isElementNode(e);return d.translate(r,r),c.default.getBody().appendChild(l),f||((o=z()).appendChild(h),c.default.getBody().appendChild(o)),h.attributes.direction&&(l.dir=h.attributes.direction.textContent),N(d,t,n,i,r),(0,p.fromPromise)(a(h,l,f&&u.default.contains(c.default.getBody(),e))).then((function(){return l})).always((function(){o&&c.default.getBody().removeChild(o),c.default.getBody().removeChild(l)}))}(e,i,r,a,t.margin,t.svgToCanvas).then((function(e){return function(e,t){var n=e.toDataURL(t,1);return m.atob(n.substring(("data:"+t+";base64,").length))}(e,n)}))},getData:function(e,n){var i=this;return t.imageCreator.getImageData(e,n).then((function(e){var t="image/"+n.format;return(0,o.isFunction)(m.Blob)&&!n.forceProxy?i._getBlob(e,t):i._getBase64(e)}))},_getBlob:function(e,t){for(var n=new Uint8Array(e.length),i=0;i<e.length;i++)n[i]=e.charCodeAt(i);return new m.Blob([n.buffer],{type:t})},_getBase64:function(e){return m.btoa(e)}},t.getData=function(e,n){return t.imageCreator.getData(e,n)},t.testFormats=function(e){var t=T(100,100,0);return e.reduce((function(e,n){var i=("image/"+n).toLowerCase();return-1!==t.toDataURL(i).indexOf(i)?e.supported.push(n):e.unsupported.push(n),e}),{supported:[],unsupported:[]})}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2j0D":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CODE128C=t.CODE128B=t.CODE128A=t.CODE128=void 0;var i=a(n("byS7")),r=a(n("6Mm9")),o=a(n("cLAh")),s=a(n("7T9X"));
1function a(e){return e&&e.__esModule?e:{default:e}}t.CODE128=i.default,t.CODE128A=r.default,t.CODE128B=o.default,t.CODE128C=s.default},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3+zk":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("Dwac"));function o(e){return e&&e.__esModule?e:{default:e}}t.RowsView=r.default.views.rowsView,i.default.registerModule("rows",r.default)},"3As9":function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("LdFP"),s=n("1LL4").extend,a=n("yUp2"),l=n("D6VQ"),c=n("Lci2"),u=n("JDOJ"),d=n("XCcL"),h=c.inherit({_supportedKeys:function(){return s(this.callBase(),{space:function(e){e.preventDefault(),this._clickAction({event:e})}})},_getDefaultOptions:function(){return s(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,value:!1,useInkRipple:!1})},_canValueBeChangedByClick:function(){return!0},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===o.real().deviceType&&!o.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this.$element().addClass("dx-radiobutton")},_initMarkup:function(){this.callBase(),this._renderIcon(),this.option("useInkRipple")&&this._renderInkRipple(),this._renderCheckedState(this.option("value")),this._renderClick(),this.setAria("role","radio")},_renderInkRipple:function(){this._inkRipple=a.render({waveSizeCoefficient:3.3,useHoldAnimation:!1,wavesNumber:2,isCentered:!0})},_renderInkWave:function(e,t,n,i){if(this._inkRipple){var r={element:e,event:t,wave:i};n?this._inkRipple.showWave(r):this._inkRipple.hideWave(r)}},_updateFocusState:function(e,t){this.callBase.apply(this,arguments),this._renderInkWave(this._$icon,e,t,0)},_toggleActiveState:function(e,t,n){this.callBase.apply(this,arguments),this._renderInkWave(this._$icon,n,t,1)},_renderIcon:function(){this._$icon=i("<div>").addClass("dx-radiobutton-icon"),i("<div>").addClass("dx-radiobutton-icon-dot").appendTo(this._$icon),this.$element().append(this._$icon)},_renderCheckedState:function(e){this.$element().toggleClass("dx-radiobutton-checked",e).find(".dx-radiobutton-icon").toggleClass("dx-radiobutton-icon-checked",e),this.setAria("checked",e)},_renderClick:function(){var e=u.addNamespace(d.name,this.NAME);this._clickAction=this._createAction((function(e){this._clickHandler(e.event)}).bind(this)),r.off(this.$element(),e),r.on(this.$element(),e,(function(e){this._clickAction({event:e})}).bind(this))},_clickHandler:function(e){this._saveValueChangeEvent(e),this.option("value",!0)},_optionChanged:function(e){switch(e.name){case"useInkRipple":this._invalidate();break;case"value":this._renderCheckedState(e.value),this.callBase(e);break;default:this.callBase(e)}},_clean:function(){delete this._inkRipple,this.callBase()}});l("dxRadioButton",h),e.exports=h},"3E0/":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("D0XW"),r=n("mlxB"),o=n("7o/Q"),s=n("WMd4");function a(e,t=i.a){const n=Object(r.a)(e)?+e-t.now():Math.abs(e);return e=>e.lift(new l(n,t))}
1class l{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new c(e,this.delay,this.scheduler))}}class c extends o.a{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,r=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(c.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new u(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(s.a.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()}}class u{constructor(e,t){this.time=e,this.notification=t}}},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>
1=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3HbM":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("H/Lu"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("virtualColumns",r.default)},"3IPI":function(e,t,n){"use strict";var i=n("2Fn2"),r=n("S3Ua").getFormatter,o=n("Y0yK"),s=n("ti0F"),a=s.isString,l=s.isDate,c=s.isNumeric,u=/^(\d{4,})(-)?(\d{2})(-)?(\d{2})(?:T(\d{2})(:)?(\d{2})?(:)?(\d{2}(?:\.(\d{1,3})\d*)?)?)?(Z|([+-])(\d{2})(:)?(\d{2})?)?$/,d=/^(\d{2}):(\d{2})(:(\d{2}))?$/,h=["","yyyy","","MM","","dd","THH","","mm","","ss",".SSS"],p=function(e,t){var n,i;return a(e)&&!t&&(n=f(e)),n||(i=!l(e)&&Date.parse(e),n=c(i)?new Date(i):e),n},f=function(e){var t=e.match(u),n=function(e){return+e||0};if(!t)return(t=e.match(d))?new Date(0,0,0,n(t[1]),n(t[2]),n(t[4])):void 0;var i=t[1],r=--t[3],o=t[5],s=0,a=0;s=n(t[14]),a=n(t[16]),"-"===t[13]&&(s=-s,a=-a);var l,c=n(t[6])-s,h=n(t[8])-a,p=n(t[10]),f=n(l=(l=t[11])||"")*Math.pow(10,3-l.length);return t[12]?new Date(Date.UTC(i,r,o,c,h,p,f)):new Date(i,r,o,c,h,p,f)};e.exports={dateParser:p,deserializeDate:function(e){return"number"==typeof e?new Date(e):p(e,!i().forceIsoDateParsing)},serializeDate:function(e,t){return t?l(e)?"number"===t?e&&e.valueOf?e.valueOf():null:r(t,o)(e):null:e},getDateSerializationFormat:function(e){return"number"==typeof e?"number":a(e)?(i().forceIsoDateParsing&&(t=function(e,t){var n=e.match(u),i="";if(!n)return(n=e.match(d))?n[3]?"HH:mm:ss":"HH:mm":void 0;for(var r=1;r<h.length;r++)n[r]&&(i+=h[r]||n[r]);return"Z"===n[12]&&(i+="'Z'"),n[14]&&(i+=n[15]?"xxx":n[16]?"xx":"x"),i}(e)),t||(e.indexOf(":")>=0?"yyyy/MM/dd HH:mm:ss":"yyyy/MM/dd")):e?null:void 0;var t}}},"3JVz":function(e,t,n){"use strict";var i=n("cGv3").getWindow(),r=n("eWCF");e.exports=r({getXhr:function(){return new i.XMLHttpRequest}})},"3KJX":function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(e,n){i(this,t);var o=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return o.name="InvalidInputException",o.symbology=e,o.input=n,o.message='"'+o.input+'" is not a valid input for '+o.symbology,o}return o(t,Error),t}(),a=function(e){function t(){i(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.name="InvalidElementException",e.message="Not supported type to render on",e}return o(t,Error),t}(),l=function(e){function t(){i(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.name="NoElementException",e.message="No element to render on.",e}return o(t,Error),t}();t.InvalidInputException=s,t.InvalidElementException=a,t.NoElementException=l},"3N8a":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("quSY");class r extends i.a{constructor(e,t){super()}schedule(e,t=0){return this}}class o extends r{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);
1this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3NFn":function(e,t,n){"use strict";var i=c(n("TssP")),r=c(n("Bhoz")),o=c(n("dYUP")),s=n("ti0F"),a=n("/DUC"),l=n("p/U6");function c(e){return e&&e.__esModule?e:{default:e}}n("Niae");var u={thousands:"#,##0{0},&quot;K&quot;",millions:"#,##0{0},,&quot;M&quot;",billions:"#,##0{0},,,&quot;B&quot;",trillions:"#,##0{0},,,,&quot;T&quot;",percent:"0{0}%",decimal:"#{0}",fixedpoint:"#,##0{0}",exponential:"0{0}E+00",currency:" "},d=/a+/g,h=/E/g,p=/dE+/g,f=/L/g,m=/h/g,g=/\//g,_=/\[/g,b=/]/g,v=/./g,y=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""},_hasArabicDigits:function(e){for(var t,n=0;n<e.length;n++)if((t=e.charCodeAt(n))>=1632&&t<1642)return!0;return!1},_convertDateFormatToOpenXml:function(e){return e.replace(g,"\\/").split("'").map((function(e,t){return t%2==0?e.replace(d,"AM/PM").replace(p,"d").replace(h,"d").replace(f,"M").replace(m,"H").replace(_,"\\[").replace(b,"\\]"):e?e.replace(v,"\\$&"):"'"})).join("")},_convertDateFormat:function(e){var t=(o.default.format(new Date(2009,8,8,6,5,4),e)||"").toString(),n=(0,a.getFormat)((function(t){return o.default.format(t,e)}));return n&&(n=this._convertDateFormatToOpenXml(n),n=this._getLanguageInfo(t)+n),n},_getLanguageInfo:function(e){var t=(0,l.getLanguageId)(),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 o,s;return(s="currency"===e?r.default.getOpenXmlCurrencyFormat(n):u[e.toLowerCase()])&&(o=i.default.format(s,this._applyPrecision(e,t))),o},convertFormat:function(e,t,n,i){if((0,s.isDefined)(e)){if("date"===n)return y._convertDateFormat(e);if((0,s.isString)(e)&&u[e.toLowerCase()])return y._convertNumberFormat(e,t,i)}}}},"3Nus":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("27Ll"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("filterSync",r.default)},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return Fe})),n.d(t,"d",(function(){return de})),n.d(t,"e",(function(){return ve})),n.d(t,"f",(function(){return Ie})),n.d(t,"g",(function(){return he})),n.d(t,"h",(function(){return we})),n.d(t,"i",(function(){return Be})),n.d(t,"j",(function(){return Re})),n.d(t,"k",(function(){return Me})),n.d(t,"l",(function(){return d})),n.d(t,"m",(function(){return x})),n.d(t,"n",(function(){return S})),n.d(t,"o",(function(){return Ae})),n.d(t,"p",(function(){return z})),n.d(t,"q",(function(){return He})),n.d(t,"r",(function(){return D})),n.d(t,"s",(function(){return ge}));var i=n("fXoL"),r=n("ofXK"),o=n("HDdC"),s=n("DH7j"),a=n("lJxs"),l=n("XoHu"),c=n("Cfvw");function u(e,t){return new o.a(n=>{const i=e.length;if(0===i)return void n.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a<i;a++){const l=Object(c.a)(e[a]);let u=!1;n.add(l.subscribe({next:e=>{u||(u=!0,s++),r[a]=e},error:e=>n.error(e),complete:()=>{o++,o!==i&&u||(s===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}const d=new i.q("NgValueAccessor"),h={provide:d,useExisting:Object(i.S)(()=>p),multi:!0};let p=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.D),i.Lb(i.l))},e.\u0275dir=i.Gb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&i.ac("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[i.yb([h])]}),e})();const f={provide:d,useExisting:Object(i.S)(()=>g),multi:!0},m=new i.q("CompositionEventMode");let g=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(r.v)()?Object(r.v)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.D),i.Lb(i.l),i.Lb(m,8))},e.\u0275dir=i.Gb({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&i.ac("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[i.yb([f])]}),e})(),_=(()=>{class e{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Gb({type:e}),e})(),b=(()=>{class e extends _{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return v(t||e)},e.\u0275dir=i.Gb({type:e,features:[i.wb]}),e})();const v=i.Tb(b);function y(){throw new Error("unimplemented")}class w extends _{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return y()}get asyncValidator(){return y()}}class C{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let x=(()=>{class e extends C{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(w,2))},e.\u0275dir=i.Gb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.Db("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[i.wb]}),e})(),S=(()=>{class e extends C{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(b,2))},e.\u0275dir=i.Gb({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.Db("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[i.wb]}),e})();function k(e){return null==e||0===e.length}const T=new i.q("NgValidators"),E=new i.q("NgAsyncValidators"),I=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class D{static min(e){return t=>{if(k(t.value)||k(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(k(t.value)||k(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return k(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return k(e.value)||I.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(k(t.value))return null;const n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}static maxLength(e){return t=>{const n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}
1static pattern(e){if(!e)return D.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(k(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(M);return 0==t.length?null:function(e){return R(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(M);return 0==t.length?null:function(e){return function(...e){if(1===e.length){const t=e[0];if(Object(s.a)(t))return u(t,null);if(Object(l.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return u(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return u(e=1===e.length&&Object(s.a)(e[0])?e[0]:e,null).pipe(Object(a.a)(e=>t(...e)))}return u(e,null)}(function(e,t){return t.map(t=>t(e))}(e,t).map(O)).pipe(Object(a.a)(R))}}}function M(e){return null!=e}function O(e){const t=Object(i.qb)(e)?Object(c.a)(e):e;if(!Object(i.pb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function R(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function L(e){return e.validate?t=>e.validate(t):e}function A(e){return e.validate?t=>e.validate(t):e}const P={provide:d,useExisting:Object(i.S)(()=>F),multi:!0};let F=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.D),i.Lb(i.l))},e.\u0275dir=i.Gb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.ac("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.yb([P])]}),e})();const B={provide:d,useExisting:Object(i.S)(()=>V),multi:!0};let H=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),V=(()=>{class e{constructor(e,t,n,i){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(w),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.D),i.Lb(i.l),i.Lb(H),i.Lb(i.r))},e.\u0275dir=i.Gb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i.ac("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.yb([B])]}),e})();const N={provide:d,useExisting:Object(i.S)(()=>z),multi:!0};let z=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.D),i.Lb(i.l))},e.\u0275dir=i.Gb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i.ac("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.yb([N])]}),e})();const j='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',Y='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });';class W{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\
1n\n      Example:\n\n      ${j}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        ${Y}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        \n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       ${j}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      ${Y}`)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')}static disabledAttrWarning(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}static ngModelWarning(e){console.warn(`\n    It looks like you're using ngModel on the same form field as ${e}. \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/${"formControl"
1===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n    `)}}const Q={provide:d,useExisting:Object(i.S)(()=>$),multi:!0};let $=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=i.rb}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.D),i.Lb(i.l))},e.\u0275dir=i.Gb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&i.ac("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.yb([Q])]}),e})();const G={provide:d,useExisting:Object(i.S)(()=>K),multi:!0};let K=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=i.rb}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const i=e.item(t),r=this._getOptionValue(i.value);n.push(r)}}else{const e=t.options;for(let t=0;t<e.length;t++){const i=e.item(t);if(i.selected){const e=this._getOptionValue(i.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.D),i.Lb(i.l))},e.\u0275dir=i.Gb({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&i.ac("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.yb([G])]}),e})();function U(e,t){return[...t.path,e]}function q(e,t){e||ee(t,"Cannot find control with"),t.valueAccessor||ee(t,"No value accessor for form control with"),e.validator=D.compose([e.validator,t.validator]),e.asyncValidator=D.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&J(e,t)})}(e,t),function(e,t){e.registerOnChange((e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&J(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}
1),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function J(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function X(e,t){null==e&&ee(t,"Cannot find control with"),e.validator=D.compose([e.validator,t.validator]),e.asyncValidator=D.composeAsync([e.asyncValidator,t.asyncValidator])}function Z(e){return ee(e,"There is no FormControl instance attached to form control element with")}function ee(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function te(e){return null!=e?D.compose(e.map(L)):null}function ne(e){return null!=e?D.composeAsync(e.map(A)):null}function ie(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object(i.rb)(t,n.currentValue)}const re=[p,z,F,$,K,V];function oe(e,t){if(!t)return null;Array.isArray(t)||ee(e,"Value accessor was not provided as an array for form control with");let n=void 0,i=void 0,r=void 0;return t.forEach(t=>{var o;t.constructor===g?n=t:(o=t,re.some(e=>o.constructor===e)?(i&&ee(e,"More than one built-in value accessor matches form control with"),i=t):(r&&ee(e,"More than one custom value accessor matches form control with"),r=t))}),r||i||n||(ee(e,"No valid value accessor for form control with"),null)}function se(e,t,n,r){Object(i.T)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(W.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function ae(e){const t=ce(e)?e.validators:e;return Array.isArray(t)?te(t):t||null}function le(e,t){const n=ce(t)?t.asyncValidators:e;return Array.isArray(n)?ne(n):n||null}function ce(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ue{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this.validator=ae(e)}setAsyncValidators(e){this.asyncValidator=le(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}
vendor: 8,412 bytes, line 1
1markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING";const t=O(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let i=e;return t.forEach(e=>{i=i instanceof he?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof pe&&i.at(e)||null}),i}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new i.n,this.statusChanges=new i.n}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ce(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class de extends ue{constructor(e=null,t,n){super(ae(t),le(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class he extends ue{constructor(e,t,n){super(ae(t),le(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof de?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){let t=!1;return this._forEachChild((n,i)=>{t=t||this.contains(i)&&e(n)}),t}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class pe extends ue{constructor(e,t,n){super(ae(t),le(n,t)),this.controls=e,this._initOb
1servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof de?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}let fe=(()=>{class e extends b{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return U(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return te(this._validators)}get asyncValidator(){return ne(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return me(t||e)},e.\u0275dir=i.Gb({type:e,features:[i.wb]}),e})();const me=i.Tb(fe);let ge=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Gb({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const _e=new i.q("NgModelWithFormControlWarning"),be={provide:w,useExisting:Object(i.S)(()=>ve)};let ve=(()=>{class e extends w{constructor(e,t,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.n,this._ngModelWarningSent=!1,this._rawValidators=e||[],this._rawAsyncValidators=t||[],this.valueAccessor=oe(this,n)}set isDisabled(e){W.disabledAttrWarning()}ngOnChanges(t){this._isControlChanged(t)&&(q(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),ie(t,this.viewModel)&&(se("formControl",e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return te(this._rawValidators)}get asyncValidator(){return ne(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(T,10),i.Lb(E,10),i.Lb(d,10),i.Lb(_e,8))},e.\u0275dir=i.Gb({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.yb([be]),i.wb,i.xb]}),e._ngModelWarningSentOnce=!1,e})();const ye={provide:b,useExisting:Object(i.S)(()=>we)};let we=(()=>
1{class e extends b{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.n}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return q(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){!function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);X(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);X(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,t=this.directives,this.form._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){t.valueAccessor.registerOnChange(()=>Z(t)),t.valueAccessor.registerOnTouched(()=>Z(t)),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&q(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=te(this._validators);this.form.validator=D.compose([this.form.validator,e]);const t=ne(this._asyncValidators);this.form.asyncValidator=D.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||W.missingFormException()}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(T,10),i.Lb(E,10))},e.\u0275dir=i.Gb({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.ac("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.yb([ye]),i.wb,i.xb]}),e})();const Ce={provide:b,useExisting:Object(i.S)(()=>xe)};let xe=(()=>{class e extends fe{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){Te(this._parent)&&W.groupParentException()}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(b,13),i.Lb(T,10),i.Lb(E,10))},e.\u0275dir=i.Gb({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i.yb([Ce]),i.wb]}),e})();const Se={provide:b,useExisting:Object(i.S)(()=>ke)};let ke=(()=>{class e extends b{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return U(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return te(this._validators)}get asyncValidator(){return ne(this._asyncValidators)}_checkParentType(){Te(this._parent)&&W.arrayParentException()}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(b,13),i.Lb(T,10),i.Lb(E,10))},e.\u0275dir=i.Gb({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i.yb([Se]),i.wb]}),e})();function Te(e){return!(e instanceof xe||e instanceof we||e instanceof ke)}const Ee={provide:w,useExisting:Object(i.S)(()=>Ie)};let Ie=(()=>{class e extends w{constructor(e,t,n,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new i.n,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=oe(this,r)}set isDisabled(e){W.disabledAttrWarning()}ngOnChanges(t){this._added||this._setUpControl(),ie(t,this.viewModel)&&(se("formControlName",e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return U(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return te(this._rawValidators)}get asyncValidator(){return ne(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof xe)&&this._parent instanceof fe?W.ngModelGroupException():this._parent instanceof xe||this._parent instanceof we||this._parent instanceof ke||W.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(b,13),i.Lb(T,10),i.Lb(E,10),i.Lb(d,10),i.Lb(_e,8))},e.\u0275dir=i.Gb({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.yb([Ee]),i.wb,i.xb]}),e._ngModelWarningSentOnce=!1,e})();const De={provide:T,useExisting:Object(i.S)(()=>Me),multi:!0};let Me=(()=>{class e{ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}
1validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=D.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Gb({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.Ab("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[i.yb([De]),i.xb]}),e})();const Oe={provide:T,useExisting:Object(i.S)(()=>Re),multi:!0};let Re=(()=>{class e{ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=D.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Gb({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.Ab("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.yb([Oe]),i.xb]}),e})();const Le={provide:T,useExisting:Object(i.S)(()=>Ae),multi:!0};let Ae=(()=>{class e{ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=D.pattern(this.pattern)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Gb({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.Ab("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[i.yb([Le]),i.xb]}),e})(),Pe=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)}}),e})(),Fe=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let i=null,r=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new he(n,{asyncValidators:r,updateOn:o,validators:i})}control(e,t,n){return new de(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new pe(i,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof de||e instanceof he||e instanceof pe?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),Be=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:[H],imports:[Pe]}),e})(),He=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:_e,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:[Fe,H],imports:[Pe]}),e})()},"3RoI":function(e,t,n){"use strict";var i=n("ti0F"),r=n("XDlg"),o=function(){function e(){}return function(t){return e.prototype=t,new e}}(),s=function(e,t,n,i){!i&&r.isWrapped(e[t])?r.assign(e[t],n):e[t]=n};t.clone=o,t.orderEach=function(e,t){var n,r,o=[];for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.push(n);for(o.sort((function(e,t){var n=i.isNumeric(e),r=i.isNumeric(t);return n&&r?e-t:n&&!r?-1:!n&&r?1:e<t?-1:e>t?1:0})),r=0;r<o.length;r++)t(n=o[r],e[n])},t.deepExtendArraySafe=function e(t,n,r,o){var a,l;for(var c in n)a=t[c],l=n[c],"__proto__"!==c&&t!==l&&(i.isPlainObject(l)&&(l=e((r?i.isObject(a):i.isPlainObject(a))?a:{},l,r,o)),void 0!==l&&a!==l&&s(t,c,l,o));return t}},"3WbO":function(e,t,n){"use strict";var i,r=n("1LL4"),o=n("zl3R"),s=n("BWGd"),a=n("Ec/t"),l=n("fZgB"),c=(i=n("D8Ap"))&&i.__esModule?i:{default:i},u=n("YyLj"),d=n("tJvG");t.GroupingHelper=a.GroupingHelper.inherit(function(){var e=function(e,t,n){return e.foreachGroups((function(e,n){if(e.isExpanded)return t(e,n)}),!0,!1,n,n)},t=function e(t,n,i,r,o,s,a){var l;if(r.items=r.items||[],r.paths=r.paths||[],r.count=r.count||0,r.last
1Count=r.lastCount||0,i)for(var c=0;c<n.length;c++){var u=n[c];if(void 0!==u.items){if(o.push(u.key),s)l=!0;else{var d=t.findGroupInfo(o);l=d&&d.isExpanded}l?u.items?e(t,u.items,i-1,r,o,s,a):1!==i||!u.count||s&&!a||(r.items.push(u),r.paths.push(o.slice(0)),r.count+=r.lastCount,r.lastCount=u.count):(u.collapsedItems=u.items,u.items=null),o.pop()}}},n=function(e,t,n,i,r){var o,s=e.findGroupInfo(i);s?(n?s.count=t.count>0?t.count:t.items&&t.items.length||0:t.count=s.count||t.count,s.offset=r):(n&&(o=t.count>0?t.count:t.items.length),e.addGroupInfo({isExpanded:e._isGroupExpanded(i.length-1),path:i.slice(0),offset:r,count:o||0}))},i=function e(t,i,r,o,s,a,l){var c=(i.group?i.group.length:0)===o,u=0,d=0;if(s=s||0,a=a||[],i.remoteOperations.paging&&!l&&(u=0===s?i.skip||0:i.skips[s-1]||0),s>=o)return r.length;for(var h=0;h<r.length;h++){var p=r[h];if(p){if(a.push(p.key),!p.count&&!p.items||void 0===p.items)return-1;n(t,p,c,a,u+h);var f=p.items?e(t,i,p.items,o,s+1,a,h):p.count||-1;if(f<0)return-1;d+=f,a.pop()}}return d},h=function(e,t){return e&&e.length&&e[t]&&!!e[t].isExpanded},p=function(e,t,n){for(var i,r=n,o=0;o<e.length;o++)i=e[o].offset+1,o>0&&(i+=e[o-1].childrenTotalCount,t&&(i+=f(r,t,i,o-1)*o)),r+=i;return r},f=function(e,t,n,i){if(i=i||0,t>1&&n>0){var r=e-Math.floor(e/t)*t||t;return(r+=n-i-2)<0&&(r+=t),Math.floor(r/(t-i-1))}return 0};function m(e,t,n,i){var r=t.items[i],o=e.skips&&e.skips[n],s=e.takes&&e.takes[n],a=i===t.items.length-1,l=0===i,c=r.count>s+(l&&o||0);l&&void 0!==o&&(r.isContinuation=!0),a&&void 0!==s&&c&&(r.isContinuationOnNextPage=!0)}function g(e){return!Array.isArray(e)}function _(e){g(e.data)||(e.data=new d.Deferred)}var b=function(e,t){var n=new d.Deferred,i=!(!t.group||!t.group.length),o=(0,r.extend)({skip:0,take:1,requireGroupCount:i,requireTotalCount:!i},t,{group:i?t.group:null});return e.load(o).done((function(e,t){var r=t&&(i?t.groupCount:t.totalCount);isFinite(r)?n.resolve(r):n.reject(u.errors.Error(i?"E4022":"E4021"))})).fail(n.reject.bind(n)),n};return{updateTotalItemsCount:function(t){var n=0,i=t.extra&&t.extra.totalCount||0,r=t.extra&&t.extra.groupCount||0,o=this._dataSource.pageSize(),s=this._isVirtualPaging();e(this,(function(e){e.childrenTotalCount=0})),e(this,(function(e,t){var i=p(t,s?0:o,n),r=e.count+e.childrenTotalCount;s||(r+=f(i,o,r,t.length-1)),t[t.length-2]?t[t.length-2].childrenTotalCount+=r:n+=r})),this.callBase(n-i+r)},_isGroupExpanded:function(e){var t=this._dataSource.group();return h(t,e)},_updatePagingOptions:function(t,n){var i=this._isVirtualPaging(),r=this._dataSource.pageSize(),o=[],s=[],a=0,l=0;t.take&&(e(this,(function(e){e.childrenTotalCount=0,e.skipChildrenTotalCount=0})),e(this,(function(e,c){var u,d=0,h=0,m=p(c,i?0:r,l),g=0,_=0,b=e.count+e.childrenTotalCount,v=b;n&&n(e,m);var y=t.skip-m;m<=t.skip+t.take&&b&&(u=t.take,i||(b+=(g=f(m,r,b,c.length-1))*c.length,v+=g,r&&y>=0&&(d=c.length,h=c.length-1,_=Math.floor(y/r))),y>=0?(m+b>t.skip&&o.unshift(y-_*d-e.skipChildrenTotalCount),m+b>=t.skip+u&&s.unshift(u-d-e.childrenTotalCount+e.skipChildrenTotalCount)):m+b>=t.skip+u&&s.unshift(u+y-e.childrenTotalCount)),m<=t.skip&&(c[c.length-2]?c[c.length-2].skipChildrenTotalCount+=Math.min(v,y+1-_*h):a+=Math.min(v,y+1)),m<=t.skip+u&&(b=Math.min(v,y+u-(_+1)*h),c[c.length-2]?c[c.length-2].childrenTotalCount+=b:l+=b)})),t.skip-=a,t.take-=l-a),t.skips=o,t.takes=s},changeRowExpand:function(e){var t=this.findGroupInfo(e),n=this._dataSource,i=n.remoteOperations().groupPaging,r=(0,s.normalizeSortingInfo)(n.group());return t?(t.isExpanded=!t.isExpanded,i&&t.isExpanded&&e.length<r.length?b(n,{filter:(0,l.createGroupFilter)(e,{filter:n.lastLoadOptions().filter,group:n.group()}),group:[r[e.length]],select:n.select()}).done((function(e){t.count=e})):(new d.Deferred).resolve()):(new d.Deferred).reject()},handleDataLoading:function(e){var t=e.storeLoadOptions,n=(0,s.normalizeSortingInfo)(t.group||e.loadOptions.group);if(!e.isCustomLoading&&n.length){if(e.remoteOperations.grouping){var i=this._dataSource.remoteOperations().paging;t.group=(0,s.normalizeSortingInfo)(t.group),t.group.forEach((function(e,n){e.isExpanded=!(i&&n===t.group.length-1)}))}e.group=e.group||n,e.remoteOperations.paging?(e.skip=t.skip,e.take=t.take,t.requireGroupCount=!0,t.group=n.slice(0,1),this._updatePagingOptions(e),t.skip=e.ski
1p,t.take=e.take):this.foreachGroups((function(e){e.count=0}))}},handleDataLoadedCore:function(e,n){var a,h=(0,s.normalizeSortingInfo)(e.storeLoadOptions.group||e.loadOptions.group).length,p=e.group?e.group.length:0,f={};if(e.isCustomLoading)n(e),t(this,e.data,h,f,[],e.isCustomLoading,e.storeLoadOptions.isLoadingAll);else{if((a=i(this,e,e.data,h))<0)return void(e.data=(new d.Deferred).reject(c.default.Error("E1037")));if(e.remoteOperations.paging||h&&e.extra&&e.loadOptions.requireTotalCount&&(e.extra.totalCount=a,e.extra.groupCount=e.data.length),p&&e.storeLoadOptions.requireGroupCount&&!isFinite(e.extra.groupCount))return void(e.data=(new d.Deferred).reject(u.errors.Error("E4022")));this.updateTotalItemsCount(e),e.remoteOperations.paging||this._updatePagingOptions(e),n(e),e.remoteOperations.paging||this._processPaging(e,h)}!function e(n,a,c,u,h,p){a.isCustomLoading||(t(n,p,c,u={},[]),function(e,t,n){var i=n-1,r=e.group?e.group.length:0;t.skip=e.skips&&e.skips[i],e.takes&&void 0!==e.takes[i]&&(t.take=r===n&&t.count?t.count-(t.skip||0):0,t.take+=e.takes[i])}(a,u,c)),u.paths.length&&(a.group?a.group.length:0)-c>0?(_(a),function(t,n,r,s,a,c){var u=n.group||[],h=u[a+1],p=[];(0,o.each)(r.paths,(function(e){var i={requireTotalCount:!1,requireGroupCount:!0,group:[h],groupSummary:n.storeLoadOptions.groupSummary,filter:(0,l.createGroupFilter)(r.paths[e],{filter:n.storeLoadOptions.filter,group:u}),select:n.storeLoadOptions.select};0===e&&(i.skip=r.skip||0),e===r.paths.length-1&&(i.take=r.take);var o=0===i.take?[]:t._dataSource.loadFromStore(i);(0,d.when)(o).done((function(t){var i=r.items[e];m(n,r,a,e),i.items=t})),p.push(o)})),d.when.apply(null,p).done((function(){i(t,n,c,s+1),e(t,n,s+1,r,a+1,c)}))}(n,a,u,c,h,p)):u.paths.length&&a.storeLoadOptions.group?(_(a),function(e,t,n,i){var a=[],c=t.group||[];(0,o.each)(n.paths,(function(e,n){a.push((0,l.createGroupFilter)(n,{group:t.isCustomLoading?t.storeLoadOptions.group:c}))}));var u=t.storeLoadOptions.filter;t.storeLoadOptions.isLoadingAll||(u=(0,s.combineFilters)([u,(0,s.combineFilters)(a,"or")]));var h=(0,r.extend)({},t.storeLoadOptions,{requireTotalCount:!1,requireGroupCount:!1,group:null,sort:c.concat((0,s.normalizeSortingInfo)(t.storeLoadOptions.sort||[])),filter:u}),p=e._dataSource.isLastLevelGroupItemsPagingLocal();p||(h.skip=n.skip,h.take=n.take),(0,d.when)(0===n.take?[]:e._dataSource.loadFromStore(h)).done((function(r,s){p&&(r=e._dataSource.sortLastLevelGroupItems(r,c,n.paths),r=n.skip?r.slice(n.skip):r,r=n.take?r.slice(0,n.take):r),(0,o.each)(n.items,(function(e,i){var o=r.splice(0,i.count-(0===e&&n.skip||0));m(t,n,c.length-1,e),i.items=o})),t.data.resolve(i)})).fail(t.data.reject)}(n,a,u,p)):g(a.data)&&a.data.resolve(p)}(this,e,h,f,0,e.data)},_processSkips:function(e,t,n){if(n){var i=e[0],r=t[0],o=i&&i.items;void 0!==r&&(i.isContinuation=!0,o&&(i.items=o.slice(r),this._processSkips(i.items,t.slice(1),n-1)))}},_processTakes:function(e,t,n,i,r){if(i&&e){r=r||[];var o=e[e.length-1],s=o&&o.items,a=n[0];o&&(void 0!==a&&(o.count-(o.isContinuation&&t[0]||0)||s.length)>a&&(o.isContinuationOnNextPage=!0,r.forEach((function(e){e.isContinuationOnNextPage=!0})),s&&(s=s.slice(0,a),o.items=s)),r.push(o),this._processTakes(s,t.slice(1),n.slice(1),i-1,r))}},_processPaging:function(e,t){this._processSkips(e.data,e.skips,t),this._processTakes(e.data,e.skips,e.takes,t)},isLastLevelGroupItemsPagingLocal:function(){return!1},sortLastLevelGroupItems:function(e){return e},refresh:function(t,n,i){var r,o,c=this,u=c._dataSource,p=t.storeLoadOptions,f=t.group||t.storeLoadOptions.group,m=(0,s.normalizeSortingInfo)(c._group);function g(e,t){t.length===o+1&&(e.isExpanded=r)}for(o=0;o<m.length;o++)r=h(f,o),h(c._group,o)!==r&&c.foreachGroups(g);if(c.callBase.apply(this,arguments),f&&t.remoteOperations.paging&&(n||i.reload))return e(c,(function(e){var n=b(u,{filter:(0,l.createGroupFilter)(e.path,{filter:p.filter,group:f}),group:f.slice(e.path.length),select:p.select}),i=b(u,{filter:(0,a.createOffsetFilter)(e.path,{filter:p.filter,group:f}),group:f.slice(e.path.length-1,e.path.length),select:p.select});return(0,d.when)(i,n).done((function(n,i){n=parseInt(n.length?n[0]:n),i=parseInt(i.length?i[0]:i),e.offset=n,e.count!==i&&(e.count=i,c.updateTotalItemsCount(t))}))}),!0)}}}())},"3XJ7":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),r=n("lUod"),o=n("WyaX");class s{constructor(e,t,n){this.nodes=e,this.viewRef=t,this.componentRef=n}}
1class a{constructor(e,t,n,r,o,s,a,l){this._viewContainerRef=e,this._renderer=t,this._elementRef=n,this._injector=r,this._componentFactoryResolver=o,this._ngZone=s,this._applicationRef=a,this._posService=l,this.onBeforeShow=new i.n,this.onShown=new i.n,this.onBeforeHide=new i.n,this.onHidden=new i.n,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(e){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(e),this}to(e){return this.container=e||this.container,this}position(e){return this.attachment=e.attachment||this.attachment,this._elementRef=e.target||this._elementRef,this}provide(e){return this._providers.push(e),this}show(e={}){if(this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(e.content,e.context,e.initialState);const t=i.r.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(t,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,e),this.container instanceof i.l&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const e=this._componentRef.location.nativeElement;return e.parentNode.removeChild(e),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(e){this.triggers=e.triggers||this.triggers,this._listenOpts.outsideClick=e.outsideClick,this._listenOpts.outsideEsc=e.outsideEsc,e.target=e.target||this._elementRef.nativeElement;const t=this._listenOpts.hide=()=>e.hide?e.hide():void this.hide(),n=this._listenOpts.show=t=>{e.show?e.show(t):this.show(t),t()};return this._unregisterListenersFn=Object(r.e)(this._renderer,{target:e.target,triggers:e.triggers,show:n,hide:t,toggle:e=>{this.isShown?t():n(e)}}),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=null)}attachInline(e,t){return this._inlineViewRef=e.createEmbeddedView(t),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const e=this._componentRef.location.nativeElement;setTimeout(()=>{this._globalListener=Object(r.h)(this._renderer,{targets:[e,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide()})})}if(this._listenOpts.outsideEsc){const e=this._componentRef.location.nativeElement;this._globalListener=Object(r.g)(this._renderer,{targets:[e,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide()})}}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)}_getContentRef(e,t,n){if(!e)return new s([]);if(e instanceof i.K){if(this._viewContainerRef){const n=this._viewContainerRef.createEmbeddedView(e,t);return n.markForCheck(),new s([n.rootNodes],n)}const n=e.createEmbeddedView({});return this._applicationRef.attachView(n),new s([n.rootNodes],n)}if("function"==typeof e){const t=this._componentFactoryResolver.resolve
1ComponentFactory(e),r=i.r.create({providers:this._providers,parent:this._injector}),o=t.create(r);return Object.assign(o.instance,n),this._applicationRef.attachView(o.hostView),new s([[o.location.nativeElement]],o.hostView,o)}return new s([[this._renderer.createText(`${e}`)]])}}let l=(()=>{class e{constructor(e,t,n,i,r){this._componentFactoryResolver=e,this._ngZone=t,this._injector=n,this._posService=i,this._applicationRef=r}createLoader(e,t,n){return new a(t,n,e,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(i.j),i.Wb(i.z),i.Wb(i.r),i.Wb(o.a),i.Wb(i.g))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})()},"3akY":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(n("FKN7")),r=u(n("aNBS")),o=u(n("XPWh")),s=n("1LL4"),a=u(n("jeLr")),l=u(n("plrq")),c=u(n("XCcL"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t,n){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(d,e);var t,n,r,u=(n=d,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(n);if(r){var i=g(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return m(this,e)});function d(){return h(this,d),u.apply(this,arguments)}return(t=[{key:"_attachEvents",value:function(e,t){var n=this.editor;a.default.on(t,l.default.start,(function(){n.$element().addClass("dx-custom-button-hovered")})),a.default.on(t,l.default.end,(function(){n.$element().removeClass("dx-custom-button-hovered")})),a.default.on(t,c.default.name,(function(e){e.stopPropagation()}))}},{key:"_create",value:function(){var e=this.editor,t=(0,i.default)("<div>");return this._addToContainer(t),{$element:t,instance:e._createComponent(t,o.default,(0,s.extend)({},this.options,{disabled:this._isDisabled(),integrationOptions:{skipTemplates:["content"]}}))}}},{key:"update",value:function(){var e=p(g(d.prototype),"update",this).call(this);return this.instance&&this.instance.option("disabled",this._isDisabled()),e}},{key:"_isVisible",value:function(){return this.editor.option("visible")}},{key:"_isDisabled",value:function(){return void 0!==this.options.disabled?this.instance?this.instance.option("disabled"):this.options.disabled:this.editor.option("readOnly")}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(d.prototype,t),d}(r.default);t.default=_},"3dSS":function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("czNW"),s=n("LdFP"),a=n("5qrJ"),l=n("GBv4"),c=n("JDOJ"),u=n("0Ms2"),d=c.addNamespace("contextmenu","dxContexMenu"),h=c.addNamespace(u.name,"dxContexMenu");l("dxcontextmenu",new(a.inherit({setup:function(e){var t=i(e);r.on(t,d,this._contextMenuHandler.bind(this)),(o.touch||s.isSimulator())&&r.on(t,h,this._holdHandler.bind(this))},_holdHandler:function(e){c.isMouseEvent(e)&&!s.isSimulator()||this._fireContextMenu(e)},_contextMenuHandler:function(e){this._fireContextMenu(e)},_fireContextMenu:function(e){return c.fireEvent({type:"dxcontextmenu",originalEvent:e})},teardown:function(e){r.off(e,".dxContexMenu")}}))),t.name="dxcontextmenu"},"3gJo":function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("LdFP"),s=n("m6TM"),a=n("heGP"),l=n("v4HY"),c=n("xMpX").add,u=n("z7z0"),d=n("KAnu").noop,h=n("ti0F").isDefined,p=n("JDOJ"),f=n("kgAh"),m=u.sign,g=Math.abs,_=10,b=a((function(){var e="desktop"===o.real().deviceType;if(!s.styleProp("pointer-events")||!e)return d;var t=i("<div>").addClass("dx-gesture-cover").css("pointerEvents","none");return r.subscribeGlobal(t,"dxmousewheel",(function(e){e.preventDefault()})),c((function(){t.appendTo("body")})),function(e,n){t.css("pointerEvents",e?"all":"none"),e&&t.css("cursor",n)}})),v=f.inherit({gesture:!0,configure:function(e){this.getElement().css("msTouchAction",e.immediate?"pinch-zoom":""),this.callBase(e)},allowInterruptionByMouseWheel:function(){return 2!==this._stage},getDirection:function(){return this.direction},_cancel:function(){this.callBase.apply(this,arguments),this._toggleGestureCover(!1),this._stage=0},start:function(e){e._needSkipEvent||p.needSkipEvent(e)?this._cancel(e):(this._startEvent=p.createEvent(e),this._startEventData=p.eventData(e),this._stage=1,this._init(e),this._setupImmediateTimer())},_setupImmediateTimer:function(){clearTimeout(this._immediateTimer),this._immediateAccepted=!1,this.immediate&&(this._immediateTimer=setTimeout((function(){this._immediateAccepted=!0}).bind(this),180))},move:function(e){if(1===this._stage&&this._directionConfirmed(e)){
1if(this._stage=2,this._resetActiveElement(),this._toggleGestureCover(!0),this._clearSelection(e),this._adjustStartEvent(e),this._start(this._startEvent),0===this._stage)return;this._requestAccept(e),this._move(e),this._forgetAccept()}else 2===this._stage&&(this._clearSelection(e),this._move(e))},_directionConfirmed:function(e){var t=this._getTouchBoundary(e),n=p.eventDelta(this._startEventData,p.eventData(e)),i=g(n.x),r=g(n.y),o=this._validateMove(t,i,r),s=this._validateMove(t,r,i),a=this.getDirection(e);return"both"===a&&(o||s)||"horizontal"===a&&o||"vertical"===a&&s||this._immediateAccepted},_validateMove:function(e,t,n){return t&&t>=e&&(!this.immediate||t>=n)},_getTouchBoundary:function(e){return this.immediate||p.isDxMouseWheelEvent(e)?0:_},_adjustStartEvent:function(e){var t=this._getTouchBoundary(e),n=p.eventDelta(this._startEventData,p.eventData(e));this._startEvent.pageX+=m(n.x)*t,this._startEvent.pageY+=m(n.y)*t},_resetActiveElement:function(){"ios"===o.real().platform&&this.getElement().find(":focus").length&&l.resetActiveElement()},_toggleGestureCover:function(e){this._toggleGestureCoverImpl(e)},_toggleGestureCoverImpl:function(e){2===this._stage&&function(e,t){b()(e,t)}(e,this.getElement().css("cursor"))},_clearSelection:function(e){p.isDxMouseWheelEvent(e)||p.isTouchEvent(e)||l.clearSelection()},end:function(e){this._toggleGestureCover(!1),2===this._stage?this._end(e):1===this._stage&&this._stop(e),this._stage=0},dispose:function(){clearTimeout(this._immediateTimer),this.callBase.apply(this,arguments),this._toggleGestureCover(!1)},_init:d,_start:d,_move:d,_stop:d,_end:d});v.initialTouchBoundary=_,v.touchBoundary=function(e){if(!h(e))return _;_=e},e.exports=v},"3wDN":function(e,t,n){"use strict";var i=g(n("FKN7")),r=g(n("jeLr")),o=g(n("RfF9")),s=g(n("D8Ap")),a=n("1LL4"),l=n("zl3R"),c=n("KAnu"),u=n("ti0F"),d=g(n("Uhe+")),h=n("yxXJ"),p=n("+12O"),f=g(n("YB1V")),m=n("tJvG");function g(e){return e&&e.__esModule?e:{default:e}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var b=function(e){return-1!==e},v=o.default.inherit({_setOptionsByReference:function(){this.callBase(),(0,a.extend)(this._optionsByReference,{selectedItem:!0})},_getDefaultOptions:function(){return(0,a.extend)(this.callBase(),{selectionMode:"none",selectionRequired:!1,selectionByClick:!0,selectedItems:[],selectedItemKeys:[],maxFilterLengthInRequest:1500,keyExpr:null,selectedIndex:-1,selectedItem:null,onSelectionChanged:null,onItemReordered:null,onItemDeleting:null,onItemDeleted:null})},ctor:function(e,t){this._userOptions=t||{},this.callBase(e,t)},_init:function(){this._initEditStrategy(),this.callBase(),this._initKeyGetter(),this._initSelectionModule(),"multi"===this.option("selectionMode")&&this._showDeprecatedSelectionMode()},_initKeyGetter:function(){this._keyGetter=(0,h.compileGetter)(this.option("keyExpr"))},_getKeysByItems:function(e){return this._editStrategy.getKeysByItems(e)},_getItemsByKeys:function(e,t){return this._editStrategy.getItemsByKeys(e,t)},_getKeyByIndex:function(e){return this._editStrategy.getKeyByIndex(e)},_getIndexByKey:function(e){return this._editStrategy.getIndexByKey(e)},_getIndexByItemData:function(e){return this._editStrategy.getIndexByItemData(e)},_isKeySpecified:function(){return!(!this._dataSource||!this._dataSource.key())},_getCombinedFilter:function(){return this._dataSource&&this._dataSource.filter()},key:function(){return this.option("keyExpr")?this.option("keyExpr"):this._dataSource&&this._dataSource.key()},keyOf:function(e){var t=e,n=this._dataSource&&this._dataSource.store();return this.option("keyExpr")?t=this._keyGetter(e):n&&(t=n.keyOf(e)),t},_nullValueSelectionSupported:function(){return!1},_initSelectionModule:function(){var e=this,t=e._editStrategy.itemsGetter;this._selection=new f.default({allowNullValue:this._nullValueSelectionSupported(),mode:this.option("selectionMode"),maxFilterLengthInRequest:this.option("maxFilterLengthInRequest"),equalByReference:!this._isKeySpecified(),onSelectionChanged:function(t){(t.addedItemKeys.length||t.removedItemKeys.length)&&(e.option("selectedItems",e._getItemsByKeys(t.selectedItemKeys,t.selectedItems)),e._updateSelectedItems(t))}
1,filter:e._getCombinedFilter.bind(e),totalCount:function(){var t=e.option("items"),n=e._dataSource;return n&&n.totalCount()>=0?n.totalCount():t.length},key:e.key.bind(e),keyOf:e.keyOf.bind(e),load:function(t){if(e._dataSource){var n=e._dataSource.loadOptions();t.customQueryParams=n.customQueryParams,t.userData=e._dataSource._userData}var i=e._dataSource&&e._dataSource.store();return i?i.load(t).done((function(t){if(!e._disposed){var n=(0,p.normalizeLoadResult)(t).data;e._dataSource._applyMapFunction(n)}})):(new m.Deferred).resolve(this.plainItems())},dataFields:function(){return e._dataSource&&e._dataSource.select()},plainItems:t.bind(e._editStrategy)})},_initEditStrategy:function(){this._editStrategy=new(0,d.default)(this)},_getSelectedItemIndices:function(e){var t=this,n=[];return e=e||this._selection.getSelectedItemKeys(),t._editStrategy.beginCache(),(0,l.each)(e,(function(e,i){var r=t._getIndexByKey(i);b(r)&&n.push(r)})),t._editStrategy.endCache(),n},_initMarkup:function(){var e=this;this._rendering=!0,this._dataSource&&this._dataSource.isLoading()||this._syncSelectionOptions().done((function(){return e._normalizeSelectedItems()})),this.callBase()},_render:function(){this.callBase(),this._rendering=!1},_fireContentReadyAction:function(){this._rendering=!1,this._rendered=!0,this.callBase.apply(this,arguments)},_syncSelectionOptions:function(e){var t,n,i,r;switch(e=e||this._chooseSelectOption()){case"selectedIndex":t=this._editStrategy.getItemDataByIndex(this.option("selectedIndex")),(0,u.isDefined)(t)?(this._setOptionSilent("selectedItems",[t]),this._setOptionSilent("selectedItem",t),this._setOptionSilent("selectedItemKeys",this._editStrategy.getKeysByItems([t]))):(this._setOptionSilent("selectedItems",[]),this._setOptionSilent("selectedItemKeys",[]),this._setOptionSilent("selectedItem",null));break;case"selectedItems":if(r=this.option("selectedItems")||[],n=this._editStrategy.getIndexByItemData(r[0]),this.option("selectionRequired")&&!b(n))return this._syncSelectionOptions("selectedIndex");this._setOptionSilent("selectedItem",r[0]),this._setOptionSilent("selectedIndex",n),this._setOptionSilent("selectedItemKeys",this._editStrategy.getKeysByItems(r));break;case"selectedItem":if(t=this.option("selectedItem"),n=this._editStrategy.getIndexByItemData(t),this.option("selectionRequired")&&!b(n))return this._syncSelectionOptions("selectedIndex");(0,u.isDefined)(t)?(this._setOptionSilent("selectedItems",[t]),this._setOptionSilent("selectedIndex",n),this._setOptionSilent("selectedItemKeys",this._editStrategy.getKeysByItems([t]))):(this._setOptionSilent("selectedItems",[]),this._setOptionSilent("selectedItemKeys",[]),this._setOptionSilent("selectedIndex",-1));break;case"selectedItemKeys":if(i=this.option("selectedItemKeys"),this.option("selectionRequired")){var o=this._getIndexByKey(i[0]);if(!b(o))return this._syncSelectionOptions("selectedIndex")}return this._selection.setSelection(i)}return(new m.Deferred).resolve().promise()},_chooseSelectOption:function(){var e="selectedIndex",t=(function(e){var t=this.option(e);return(0,u.isDefined)(t)&&t.length||e in this._userOptions}).bind(this);return t("selectedItems")?e="selectedItems":t("selectedItem")?e="selectedItem":t("selectedItemKeys")&&(e="selectedItemKeys"),e},_compareKeys:function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0},_normalizeSelectedItems:function(){if("none"===this.option("selectionMode"))this._setOptionSilent("selectedItems",[]),this._syncSelectionOptions("selectedItems");else if("single"===this.option("selectionMode")){var e=this.option("selectedItems");if(e.length>1||!e.length&&this.option("selectionRequired")&&this.option("items")&&this.option("items").length){var t=this._selection.getSelectedItems(),n=void 0===e[0]?t[0]:e[0];return void 0===n&&(n=this._editStrategy.itemsGetter()[0]),this.option("grouped")&&n&&n.items&&(n.items=[n.items[0]]),this._selection.setSelection(this._getKeysByItems([n])),this._setOptionSilent("selectedItems",[n]),this._syncSelectionOptions("selectedItems")}this._selection.setSelection(this._getKeysByItems(e))}else{var i=this._getKeysByItems(this.option("selectedItems")),r=this._selection.getSelectedItemKeys();this._compareKeys(r,i)||this._selection.setSelection(i)}return(new m.Deferred).resolve().promise()},_itemClickHandler:function(e){this._createAction((function(e){this._itemSelectHandler(e.event)}).bind(this),{validatingTargetName:"itemElement"})({itemElement:(0,i.default)(e.currentTarget),event:e}),this.callBase.apply(this,arguments)},_itemSelectHandler:function(e){this.option("selectionByClick")&&(this.isItemSelected(e.currentTarget)?this.unselectItem(e.currentTarget):this.selectItem(e.currentTarget))},_selectedItemElement:function(e){return this._itemElements().eq(e)},_postprocessRenderItem:function(e){if("none"!==this.option("selectionMode")){var t=(0,i.default)(e.itemElement),n=this._editStrategy.getNormalizedIndex(t),r=this._isItemSelected(n);this._processSelectableItem(t,r)}},_processSelectableItem:function(e,t){e.toggleClass(this._selectedItemClass(),t),this._setAriaSelected(e,String(t))},_updateSelectedItems:function(e){var t=this,n=e.addedItemKeys,i=e.removedItemKeys;if(t._rendered&&(n.length||i.length)){var r=t._selectionChangePromise;if(!t._rendering){var o,s=[],a=[];t._editStrategy.beginCache();for(var l=0;l<n.length;l++)o=t._getIndexByKey(n[l]),s.push(o),t._addSelection(o);for(var c=0;c<i.length;c++)o=t._getIndexByKey(i[c]),a.push(o),t._removeSelection(o);t._editStrategy.endCache(),t._updateSelection(s,a)}(0,m.when)(r).done((function(){t._fireSelectionChangeEvent(e.addedItems,e.removedItems)}))}},_fireSelectionChangeEvent:function(e,t){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]}
1)({addedItems:e,removedItems:t})},_updateSelection:c.noop,_setAriaSelected:function(e,t){this.setAria("selected",t,e)},_removeSelection:function(e){var t=this._editStrategy.getItemElement(e);b(e)&&(this._processSelectableItem(t,!1),r.default.triggerHandler(t,"stateChanged",!1))},_showDeprecatedSelectionMode:function(){s.default.log("W0001",this.NAME,"selectionMode: 'multi'","16.1","Use selectionMode: 'multiple' instead"),this.option("selectionMode","multiple")},_addSelection:function(e){var t=this._editStrategy.getItemElement(e);b(e)&&(this._processSelectableItem(t,!0),r.default.triggerHandler(t,"stateChanged",!0))},_isItemSelected:function(e){var t=this._getKeyByIndex(e);return this._selection.isItemSelected(t)},_optionChanged:function(e){var t=this;switch(e.name){case"selectionMode":"multi"===e.value?this._showDeprecatedSelectionMode():this._invalidate();break;case"dataSource":(!e.value||Array.isArray(e.value)&&!e.value.length)&&this.option("selectedItemKeys",[]),this.callBase(e);break;case"selectedIndex":case"selectedItem":case"selectedItems":case"selectedItemKeys":this._syncSelectionOptions(e.name).done((function(){return t._normalizeSelectedItems()}));break;case"keyExpr":this._initKeyGetter();break;case"selectionRequired":this._normalizeSelectedItems();break;case"selectionByClick":case"onSelectionChanged":case"onItemDeleting":case"onItemDeleted":case"onItemReordered":case"maxFilterLengthInRequest":break;default:this.callBase(e)}},_clearSelectedItems:function(){this._setOptionSilent("selectedItems",[]),this._syncSelectionOptions("selectedItems")},_waitDeletingPrepare:function(e){if(e.data("dxItemDeleting"))return(new m.Deferred).resolve().promise();e.data("dxItemDeleting",!0);var t=new m.Deferred,n={cancel:!1},i=this._itemEventHandler(e,"onItemDeleting",n,{excludeValidators:["disabled","readOnly"]});return(0,m.when)(i).always((function(r){var o=!i,s=!o&&"resolved"===i.state(),a=!!arguments.length,l=o||s&&!a||s&&r;(0,m.when)((0,m.fromPromise)(n.cancel)).always((function(){e.data("dxItemDeleting",!1)})).done((function(e){l&&!e?t.resolve():t.reject()})).fail(t.reject)}).bind(this)),t.promise()},_deleteItemFromDS:function(e){if(!this._dataSource)return(new m.Deferred).resolve().promise();var t=new m.Deferred,n=this.option("disabled"),i=this._dataSource.store();if(this.option("disabled",!0),!i.remove)throw s.default.Error("E1011");return i.remove(i.keyOf(this._getItemData(e))).done((function(e){void 0!==e?t.resolve():t.reject()})).fail((function(){t.reject()})),t.always((function(){this.option("disabled",n)}).bind(this)),t},_tryRefreshLastPage:function(){var e=new m.Deferred;return this._isLastPage()||this.option("grouped")?e.resolve():this._refreshLastPage().done((function(){e.resolve()})),e.promise()},_refreshLastPage:function(){return this._expectLastItemLoading(),this._dataSource.load()},_updateSelectionAfterDelete:function(e){var t=this._getKeyByIndex(e);this._selection.deselect([t])},_updateIndicesAfterIndex:function(e){for(var t=this._itemElements(),n=e+1;n<t.length;n++)(0,i.default)(t[n]).data(this._itemIndexKey(),n-1)},_simulateOptionChange:function(e){var t=this.option(e);t instanceof p.DataSource||this._optionChangedAction({name:e,fullName:e,value:t})},isItemSelected:function(e){return this._isItemSelected(this._editStrategy.getNormalizedIndex(e))},selectItem:function(e){if("none"!==this.option("selectionMode")){var t=this._editStrategy.getNormalizedIndex(e);if(b(t)){var n=this._getKeyByIndex(t);if(!this._selection.isItemSelected(n))if("single"===this.option("selectionMode"))this._selection.setSelection([n]);else{var i=this.option("selectedItemKeys")||[];this._selection.setSelection([].concat(function(e){if(Array.isArray(e))return _(e)}(r=i)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return _(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,void 0):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[n]))}}}var r},unselectItem:function(e){var t=this._editStrategy.getNormalizedIndex(e);if(b(t)){var n=this._selection.getSelectedItemKeys();if(!(this.option("selectionRequired")&&n.length<=1)){var i=this._getKeyByIndex(t);this._selection.isItemSelected(i)&&this._selection.deselect([i])}}},_deleteItemElementByIndex:function(e){this._updateSelectionAfterDelete(e),this._updateIndicesAfterIndex(e),this._editStrategy.deleteItemAtIndex(e)},_afterItemElementDeleted:function(e,t){this._simulateOptionChange(this._dataSource?"dataSource":"items"),this._itemEventHandler(e,"onItemDeleted",t,{beforeE
1xecute:function(){e.remove()},excludeValidators:["disabled","readOnly"]}),this._renderEmptyMessage()},deleteItem:function(e){var t=this,n=new m.Deferred,i=this._editStrategy.getItemElement(e),r=this._editStrategy.getNormalizedIndex(e),o=this._itemResponseWaitClass();return b(r)?this._waitDeletingPrepare(i).done((function(){i.addClass(o);var e=t._extendActionArgs(i);t._deleteItemFromDS(i).done((function(){t._deleteItemElementByIndex(r),t._afterItemElementDeleted(i,e),t._tryRefreshLastPage().done((function(){n.resolveWith(t)}))})).fail((function(){i.removeClass(o),n.rejectWith(t)}))})).fail((function(){n.rejectWith(t)})):n.rejectWith(t),n.promise()},reorderItem:function(e,t){var n=new m.Deferred,i=this,r=this._editStrategy,o=r.getItemElement(e),s=r.getItemElement(t),a=r.getNormalizedIndex(e),l=r.getNormalizedIndex(t),c=this._dataSource?"dataSource":"items";return b(a)&&b(l)&&a!==l?n.resolveWith(this):n.rejectWith(this),n.promise().done((function(){s[r.itemPlacementFunc(a,l)](o),r.moveItemAtIndexToIndex(a,l),this._updateIndicesAfterIndex(a),i.option("selectedItems",i._getItemsByKeys(i._selection.getSelectedItemKeys(),i._selection.getSelectedItems())),"items"===c&&i._simulateOptionChange(c),i._itemEventHandler(o,"onItemReordered",{fromIndex:r.getIndex(a),toIndex:r.getIndex(l)},{excludeValidators:["disabled","readOnly"]})}))}});e.exports=v},"3xIi":function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("5qrJ"),s=n("TssP"),a=n("D6VQ"),l=n("KAnu"),c=n("zl3R").each,u=n("ti0F"),d=n("1LL4").extend,h=n("XCcL"),p=n("T4bj"),f=n("imRD"),m=n("zBVi"),g=n("PB16"),_=n("cap0"),b=n("JDOJ"),v=n("Yt8F"),y=o.inherit({ctor:function(e,t){this.index=t,this._$page=i("<div>").text(e).addClass("dx-page")},value:function(e){if(!u.isDefined(e)){var t=this._$page.text();return u.isNumeric(t)?parseInt(t):t}this._$page.text(e)},element:function(){return this._$page},select:function(e){this._$page.toggleClass("dx-selection",e)},render:function(e,t){t?this._$page.prependTo(e):this._$page.appendTo(e)}}),w=m.inherit({_getDefaultOptions:function(){return d(this.callBase(),{visible:!0,pagesNavigatorVisible:"auto",pageIndex:1,maxPagesCount:10,pageCount:10,totalCount:0,pageSize:5,showPageSizes:!0,pageSizes:[5,10],hasKnownLastPage:!0,showNavigationButtons:!1,showInfo:!1,infoText:f.getFormatter("dxPager-infoText"),pagesCountText:f.getFormatter("dxPager-pagesCountText"),rtlEnabled:!1,lightModeEnabled:!1,pageIndexChanged:l.noop,pageSizeChanged:l.noop})},_toggleVisibility:function(e){var t=this.$element();t&&t.css("display",e?"":"none")},_getPages:function(e,t){var n,i,r=[],o=!this.option("hasKnownLastPage");if(t>0||o)if(t<=this.option("maxPagesCount")){for(i=1;i<=t;i++)r.push(new y(i,i-1));o&&r.push(new y(">",i-1))}else{for(r.push(new y(1,0)),n=e?e.value()-e.index:1,i=1;i<=4;i++)r.push(new y(n+i,i));r.push(new y(t,5)),o&&r.push(new y(">",5))}return r},_getPageByValue:function(e){var t,n;for(n=0;n<this._pages.length;n++)if((t=this._pages[n]).value()===e)return t},_processSelectedPage:function(e,t,n){var i=!1;this._pages&&(c(this._pages,(function(e,n){t===n.value()&&(i=!0)})),i||(this.selectedPage=null)),u.isDefined(this.selectedPage)?t===n&&n>e&&5!==this.selectedPage.index&&(this.selectedPage.index=5):t>4&&t<n&&(this.selectedPage=new y(t,n-4<t?4-(n-t)+1:2))},_selectPageByValue:function(e){var t,n,i,r=this._getPageByValue(e),o=this._pages,s=o.length;if(u.isDefined(r)){var a=this._pages[r.index-1];if((n=this._pages[r.index+1])&&">"===n.value()&&(i=n,n=void 0,s--,o.pop()),this.selectedPage&&this.selectedPage.select(!1),r.select(!0),this.selectedPage=r,n&&n.value()-e>1)if(0!==r.index)for(a.value(e+1),this._pages.splice(r.index,1),this._pages.splice(r.index-1,0,r),this._pages[r.index].index=r.index,r.index=r.index-1,t=r.index-1;t>0;t--)this._pages[t].value(this._pages[t+1].value()-1);else for(t=0;t<s-1;t++)this._pages[t].value(t+1);if(a&&e-a.value()>1)if(r.index!==s-1)for(n.value(e-1),this._pages.splice(r.index,1),this._pages.splice(r.index+1,0,r),this._pages[r.index].index=r.index,r.index=r.index+1,t=r.index+1;t<s-1;t++)this._pages[t].value(this._pages[t-1].value()+1);else for(t=1;t<=s-2;
1t++)this._pages[s-1-t].value(this._pages[s-1].value()-t);i&&o.push(i)}},_updatePagesTabIndices:function(){var e=this,t=this.selectedPage._$page;r.on(t,"focus",(function n(){var o=i(e.element()).find("[role=button]:not(.dx-button-disable)");c(o,(function(e,t){return i(t).attr("tabindex",0)})),r.off(t,"focus",n)}))},_nextPage:function(e){var t=this.option("pageIndex"),n=this.option("pageCount");u.isDefined(t)&&(t="next"===e?++t:--t)>0&&t<=n&&this.option("pageIndex",t)},_wrapClickAction:function(e){var t=this;return function(n){if("dxpointerup"===n.type)t._pointerUpHappened=!0;else if(t._pointerUpHappened)return void(t._pointerUpHappened=!1);e({event:n})}},_renderPages:function(e){var t,n,o=this,s=e.length,a=o._createAction((function(e){var t=i(e.event.target).text(),n=">"===t?o.option("pageCount")+1:Number(t);o.option("pageIndex",n)}));s>1&&(o._pageClickHandler=this._wrapClickAction(a),r.on(o._$pagesChooser,b.addNamespace([p.up,h.name],o.Name+"Pages"),".dx-page",o._pageClickHandler),v.registerKeyboardAction("pager",o,o._$pagesChooser,".dx-page",a));for(var l=0;l<s;l++)(n=e[l]).render(o._$pagesChooser,o.option("rtlEnabled")),o.setAria({role:"button",label:"Page "+n.value()},n.element()),v.setTabIndex(o,n.element()),e[l+1]&&e[l+1].value()-n.value()>1&&(t=i("<div>").text(". . .").addClass("dx-separator"),o.option("rtlEnabled")?t.prependTo(o._$pagesChooser):t.appendTo(o._$pagesChooser))},_calculateLightPagesWidth:function(e,t){return Number(e.css("minWidth").replace("px",""))+10*t.toString().length},_renderLightPages:function(){var e=this,t=this.option("pageCount"),n=this.option("pageIndex"),o=e._createAction((function(){e.option("pageIndex",t)})),s=this.option("pagesCountText"),a=i("<div>").addClass("dx-light-pages").appendTo(this._$pagesChooser),l=i("<div>").addClass("dx-page-index").appendTo(a);e._pageIndexEditor=e._createComponent(l,_,{value:n,min:1,max:t,width:e._calculateLightPagesWidth(l,t),onValueChanged:function(t){e.option("pageIndex",t.value)}}),i("<span>").text(s).addClass("dx-info-text dx-info").appendTo(a);var c=i("<span>").addClass("dx-pages-count").text(t);r.on(c,b.addNamespace(h.name,e.Name+"PagesCount"),(function(e){o({event:e})})),v.registerKeyboardAction("pager",e,c,void 0,o),c.appendTo(a),e.setAria({role:"button",label:"Navigates to the last page"},c)},_renderPagesChooser:function(){var e=this.option("lightModeEnabled"),t=this.option("pagesNavigatorVisible"),n=this.$element();this._$pagesChooser&&this._$pagesChooser.remove(),t&&(this._pages&&0===this._pages.length?this.selectedPage=null:(this._$pagesChooser=i("<div>").addClass("dx-pages").appendTo(n),"auto"===t&&this._$pagesChooser.css("visibility",1===this.option("pageCount")?"hidden":""),e||this._renderInfo(),this._renderNavigateButton("prev"),e?this._renderLightPages():this._renderPages(this._pages),this._renderNavigateButton("next"),this._updatePagesChooserWidth()))},_renderPageSizes:function(){var e,t,n,o=this,s=o.option("pageSizes"),a=s&&s.length,l=o.option("pageSize"),c=o._createAction((function(e){t=parseInt(i(e.event.target).text()),o.option("pageSize",t)}));for(r.on(o._$pagesSizeChooser,b.addNamespace(h.name,o.Name+"PageSize"),".dx-page-size",(function(e){c({event:e})})),v.registerKeyboardAction("pager",o,o._$pagesSizeChooser,".dx-page-size",c),e=0;e<a;e++)n=i("<div>").text(s[e]).addClass("dx-page-size"),o.setAria({role:"button",label:"Display "+s[e]+" items on page"},n),v.setTabIndex(o,n),l===s[e]&&n.addClass("dx-selection"),o._$pagesSizeChooser.append(n)},_calculateLightPageSizesWidth:function(e){return Number(this._$pagesSizeChooser.css("minWidth").replace("px",""))+10*Math.max.apply(Math,e).toString().length},_renderLightPageSizes:function(){var e=this,t=e.option("pageSizes"),n=i("<div>").appendTo(e._$pagesSizeChooser);e._pageSizeEditor=e._createComponent(n,g,{dataSource:t,value:e.option("pageSize"),onSelectionChanged:function(t){e.option("pageSize",t.selectedItem)},width:e._calculateLightPageSizesWidth(t)})},_renderPagesSizeChooser:function(){var e=this.option("pageSizes"),t=this.option("showPageSizes"),n=e&&e.length,r=this.$element();this._$pagesSizeChooser&&this._$pagesSizeChooser.remove(),t&&n&&(this._$pagesSizeChooser=i("<div>").addClass("dx-page-sizes").appendTo(r),this.option("lightModeEnabled")?this._renderLightPageSizes():this._renderPageSizes(),this._pagesSizeChooserWidth=this._$pagesSizeChooser.width())},_renderInfo:function(){var e=this.option("infoText");this.option("showInfo")&&u.isDefined(e)&&(this._$info=i("<div>").css("display",this._isInfoHide?"none":"").addClass("dx-info").text(s.format(e,this.selectedPage&&this.selectedPage.value(),this.option("pageCount"),this.option("totalCount"))).appendTo(this._$pagesChooser),this._isInfoHide||(this._infoWidth=this._$info.outerWidth(!0)))},_renderNavigateButton:function(e){var t,n=this,o=n._createAction((function(){n._nextPage(e)}));(n.option("showNavigationButtons")||n.option("lightModeEnabled"))&&(t=i("<div>").addClass("dx-navigate-button"),r.on(t,b.addNamespace([p.up,h.name],n.Name+"Pages"),n._wrapClickAction(o)),v.registerKeyboardAction("pager",n,t,void 0,o),n.setAria({role:"button",label:"prev"===e?"Previous page":" Next page"},t),v.setTabIndex(n,t),n.option("rtlEnabled")?(t.addClass("prev"===e?"dx-next-button":"dx-prev-button"),t.prependTo(this._$pagesChooser)):(t.addClass("prev"===e?"dx-prev-button":"dx-next-button"),t.appendTo(this._$pagesChooser)))},_renderContentImpl:function(){this.$element().toggleClass("dx-light-mode",this.option("lightModeEnabled")),this._toggleVisibility(this.option("visible")),this._updatePageSizes(!0),this._updatePages(!0),v.restoreFocus(this)},_initMarkup:function(){var e=this.$element();e.addClass("dx-pager");var t=i("<div>").addClass("dx-page");this._$pagesChooser=i("<div>").addClass("dx-pages").append(t).appendTo(e)},_render:function(){this.option().lightModeEnabled=!1,this.callBase(),this._updateLightMode()},_updatePageSizes:function(e){var t=this.option("lightModeEnabled"),n=this.option("pageSize"),i=this.option("pageSizes");t&&this._pageSizeEditor&&this._pageSizeEditor.option({value:n,dataSource:i,width:this._calculateLightPageSizesWidth(i)}),t&&!e||this._renderPagesSizeChooser()},_updatePages:function(e){var t=this.option("pageCount"),n=this.option("pageIndex"),i=this.option("lightModeEnabled");i?this._pageIndexEditor&&this._pageIndexEditor.option({value:n,width:this._calculateLightPagesWidth(this._pageIndexEditor.$element(),t)}
1):(this._processSelectedPage(this.option("maxPagesCount"),n,t),this._pages=this._getPages(this.selectedPage,t),this._selectPageByValue(n)),i&&!e||this._renderPagesChooser(),this._updateButtonsState(n)},_isPageIndexInvalid:function(e,t){var n="next"===e,i=this.option("rtlEnabled");return i&&n||!i&&!n?t<=1:t>=this.option("pageCount")},_updateButtonsState:function(e){var t=this.$element().find(".dx-next-button"),n=this.$element().find(".dx-prev-button");t.toggleClass("dx-button-disable",this._isPageIndexInvalid("next",e)),n.toggleClass("dx-button-disable",this._isPageIndexInvalid("prev",e))},_optionChanged:function(e){switch(e.name){case"visible":this._toggleVisibility(e.value);break;case"pageIndex":var t=this.option("pageIndexChanged");t&&t(e.value),this._updatePages();break;case"maxPagesCount":case"pageCount":case"totalCount":case"hasKnownLastPage":case"pagesNavigatorVisible":case"showNavigationButtons":this._updatePages();break;case"pageSize":var n=this.option("pageSizeChanged");n&&n(e.value),this._updatePageSizes();break;case"pageSizes":this._updatePageSizes();break;case"lightModeEnabled":this._renderContentImpl(),!e.value&&this._updateLightMode();break;default:this._invalidate()}},_clean:function(){this._$pagesChooser&&(r.off(this._$pagesChooser,b.addNamespace([p.up,h.name],this.Name+"Pages"),".dx-page",this._pageClickHandler),v.registerKeyboardAction("pager",this,this._$pagesChooser,".dx-page",this._pageKeyDownHandler)),this.callBase()},_getMinPagerWidth:function(){return(u.isDefined(this._pagesChooserWidth)?this._pagesChooserWidth:0)+(u.isDefined(this._pagesSizeChooserWidth)?this._pagesSizeChooserWidth:0)},_updatePagesChooserWidth:l.deferUpdater((function(){var e=this._pages&&this._pages.length>0?this._pages[this._pages.length-1]._$page.width():0;this._pagesChooserWidth=this._$pagesChooser.width()+e})),_updateLightMode:l.deferUpdater((function(){var e=this,t=this.$element().width(),n=u.isDefined(this._infoWidth)?this._infoWidth:0;l.deferRender((function(){e._isInfoHide&&t>e._getMinPagerWidth()+n&&(e._$info.show(),e._updatePagesChooserWidth(),e._isInfoHide=!1),!e._isInfoHide&&t>e._getMinPagerWidth()-n&&t<e._getMinPagerWidth()&&(e._$info.hide(),e._updatePagesChooserWidth(),e._isInfoHide=!0),l.deferUpdate((function(){l.deferRender((function(){e.option("lightModeEnabled")&&t>e._previousWidth?e.option("lightModeEnabled",!1):t<e._getMinPagerWidth()&&e.option("lightModeEnabled",!0),e._previousWidth=t}))}))}))})),_dimensionChanged:function(){this._updateLightMode()},getHeight:function(){return this.option("visible")?this.$element().outerHeight():0}});e.exports=w,a("dxPager",w)},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4Ip1":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("r8WS"));function o(e){return e&&e.__esModule?e:{default:e}}t.HeaderPanel=r.default.views.headerPanel,i.default.registerModule("headerPanel",r.default)},"4MV3":function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%
1d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4Oz5":function(e,t,n){"use strict";var i=n("Q7sy"),r=n("KAnu"),o=n("ti0F"),s=r.getKeyHash,a=n("5qrJ"),l=n("tJvG").Deferred;e.exports=a.inherit({ctor:function(e){this.options=e,this._setOption("disabledItemKeys",[]),this._clearItemKeys()},_clearItemKeys:function(){this._setOption("addedItemKeys",[]),this._setOption("removedItemKeys",[]),this._setOption("removedItems",[]),this._setOption("addedItems",[])},validate:r.noop,_setOption:function(e,t){this.options[e]=t},onSelectionChanged:function(){var e=this.options.addedItemKeys,t=this.options.removedItemKeys,n=this.options.addedItems,i=this.options.removedItems,o=this.options.selectedItems,s=this.options.selectedItemKeys,a=this.options.onSelectionChanged||r.noop;this._clearItemKeys(),a({selectedItems:o,selectedItemKeys:s,addedItemKeys:e,removedItemKeys:t,addedItems:n,removedItems:i})},equalKeys:function(e,t){return this.options.equalByReference&&o.isObject(e)&&o.isObject(t)?e===t:r.equalByValue(e,t)},getSelectableItems:function(e){return e.filter((function(e){return!e.disabled}))},_clearSelection:function(e,t,n,i){return e=e||[],e=Array.isArray(e)?e:[e],this.validate(),this.selectedItemKeys(e,t,n,i)},_loadFilteredData:function(e,t,n,r){var s=encodeURI(JSON.stringify(e)).length,a=this.options.maxFilterLengthInRequest&&s>this.options.maxFilterLengthInRequest,c=new l,u={filter:a?void 0:e,select:a?this.options.dataFields():n||this.options.dataFields()};return e&&0===e.length?c.resolve([]):this.options.load(u).done((function(n){var s=o.isPlainObject(n)?n.data:n;t&&!r?s=s.filter(t):a&&(s=i(s).filter(e).toArray()),c.resolve(s)})).fail(c.reject.bind(c)),c},updateSelectedItemKeyHash:function(e){for(var t=0;t<e.length;t++){var n=s(e[t]);o.isObject(n)||(this.options.keyHashIndices[n]=this.options.keyHashIndices[n]||[],this.options.keyHashIndices[n].push(t))}},_isAnyItemSelected:function(e){for(var t=0;t<e.length;t++)if(this.options.isItemSelected(e[t]))return;return!1},_getFullSelectAllState:function(){var e=this.options.plainItems(),t=this.options.filter(),n=this.options.selectedItems;t&&(n=i(n).filter(t).toArray());var r=n.length;return r?r>=this.options.totalCount()-this.options.disabledItemKeys.length||void 0:this._isAnyItemSelected(e)},_getVisibleSelectAllState:function(){for(var e=this.getSelectableItems(this.options.plainItems()),t=!1,n=!1,i=0;i<e.length;i++){var r=e[i],o=this.options.getItemData(r),s=this.options.keyOf(o);this.options.isSelectableItem(r)&&(this.isItemKeySelected(s)?t=!0:n=!0)}return!!t&&(!n||void 0)}})},"4dOw":function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"4lf7":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("uy2t"));
1function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("selection",r.default)},"4xE8":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("ultK"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("filterPanel",r.default)},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("ZUHj"),r=n("l7GE"),o=n("51Dv"),s=n("lJxs"),a=n("Cfvw");function l(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(l((n,i)=>Object(a.a)(e(n,i)).pipe(Object(s.a)((e,r)=>t(n,e,i,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new c(e,n)))}class c{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}class u extends r.a{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new o.a(this,t,n),s=this.destination;s.add(r);const a=Object(i.a)(this,e,void 0,void 0,r);a!==r&&s.add(a)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,i,r){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");class r extends i.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"52Lf":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.text=n.text||t,this.options=n}},"5eHb":function(e,t,n){"use strict";n.d(t,"a",(function(){return D})),n.d(t,"b",(function(){return k}));var i=n("fXoL"),r=n("R0Ic"),o=n("XNiG"),s=n("jhN1"),a=n("ofXK");const l=["toast-component",""];function c(e,t){if(1&e){const e=i.Sb();i.Rb(0,"button",5),i.ac("click",(function(){return i.wc(e),i.ec().remove()})),i.Rb(1,"span",6),i.Ec(2,"\xd7"),i.Qb(),i.Qb()}}function u(e,t){if(1&e&&(i.Pb(0),i.Ec(1),i.Ob()),2&e){const e=i.ec(2);i.zb(1),i.Gc("[",e.duplicatesCount+1,"]")}}function d(e,t){if(1&e&&(i.Rb(0,"div"),i.Ec(1),i.Cc(2,u,2,1,"ng-container",4),i.Qb()),2&e){const e=i.ec();i.Bb(e.options.titleClass),i.Ab("aria-label",e.title),i.zb(1),i.Gc(" ",e.title," "),i.zb(1),i.kc("ngIf",e.duplicatesCount)}}function h(e,t){if(1&e&&i.Mb(0,"div",7),2&e){const e=i.ec();i.Bb(e.options.messageClass),i.kc("innerHTML",e.message,i.xc)}}function p(e,t){if(1&e&&(i.Rb(0,"div",8),i.Ec(1),i.Qb()),2&e){const e=i.ec();i.Bb(e.options.messageClass),i.Ab("aria-label",e.message),i.zb(1),i.Gc(" ",e.message," ")}}function f(e,t){if(1&e&&(i.Rb(0,"div"),i.Mb(1,"div",9),i.Qb()),2&e){const e=i.ec();i.zb(1),i.Bc("width",e.width+"%")}}class m{constructor(e,t,n,i,r,s){this.toastId=e,this.config=t,this.message=n,this.title=i,this.toastType=r,this.toastRef=s,this._onTap=new o.a,this._onAction=new o.a,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}}const g={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},_=new i.q("ToastConfig");class b{constructor(e,t){this.component=e,this.injector=t}attach(e,t){return this._attachedHost=e,e.attach(this,t)}detach(){const e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class v extends class{attach(e,t){return this._attachedPortal=e,this.attachComponentPortal(e,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}}{constructor(e,t,n){super(),this._hostDomElement=e,this._componentFactoryResolver=t,this._appRef=n}attachComponentPortal(e,t){const n=this._componentFactoryResolver.resolve
1ComponentFactory(e.component);let i;return i=n.create(e.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let y=(()=>{let e=class{constructor(e){this._document=e}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._document.createElement("div");e.classList.add("overlay-container"),this._document.body.appendChild(e),this._containerElement=e}};return e.\u0275fac=function(t){return new(t||e)(i.Wb(a.c))},e.\u0275prov=Object(i.Hb)({factory:function(){return new e(Object(i.Wb)(a.c))},token:e,providedIn:"root"}),e})();class w{constructor(e){this._portalHost=e}attach(e,t=!0){return this._portalHost.attach(e,t)}detach(){return this._portalHost.detach()}}let C=(()=>{let e=class{constructor(e,t,n,i){this._overlayContainer=e,this._componentFactoryResolver=t,this._appRef=n,this._document=i,this._paneElements=new Map}create(e,t){return this._createOverlayRef(this.getPaneElement(e,t))}getPaneElement(e="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[e]||(this._paneElements.get(t)[e]=this._createPaneElement(e,t)),this._paneElements.get(t)[e]}_createPaneElement(e,t){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(e),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(e){return new v(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new w(this._createPortalHost(e))}};return e.\u0275fac=function(t){return new(t||e)(i.Wb(y),i.Wb(i.j),i.Wb(i.g),i.Wb(a.c))},e.\u0275prov=Object(i.Hb)({factory:function(){return new e(Object(i.Wb)(y),Object(i.Wb)(i.j),Object(i.Wb)(i.g),Object(i.Wb)(a.c))},token:e,providedIn:"root"}),e})();class x{constructor(e){this._overlayRef=e,this.duplicatesCount=0,this._afterClosed=new o.a,this._activate=new o.a,this._manualClose=new o.a,this._resetTimeout=new o.a,this._countDuplicate=new o.a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,t){e&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class S{constructor(e,t){this._toastPackage=e,this._parentInjector=t}get(e,t,n){return e===m?this._toastPackage:this._parentInjector.get(e,t,n)}}let k=(()=>{let e=class{constructor(e,t,n,i,r){this.overlay=t,this._injector=n,this.sanitizer=i,this.ngZone=r,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},e.default),e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},e.default.iconClasses),e.config.iconClasses))}show(e,t,n={},i=""){return this._preBuildNotification(i,e,t,this.applyConfig(n))}success(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",e,t,this.applyConfig(n))}error(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",e,t,this.applyConfig(n))}info(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",e,t,this.applyConfig(n))}warning(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",e,t,this.applyConfig(n))}clear(e){for(const t of this.toasts)if(void 0!==e){if(t.toastId===e)return void t.toastRef.manualClose()}else t.toastRef.manualClose()}remove(e){const t=this._findToast(e);if(!t)return!1;if(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const e=this.toasts[this.currentlyActive].toastRef;e.isInactive()||(this.currentlyActive=this.currentlyActive+1,e.activate())}return!0}findDuplicate(e,t,n){for(const i of this.toasts)if(i.message===e)return i.toastRef.onDuplicate(t,n),i;return null}applyConfig(e={}){return Object.assign(Object.assign({},this.toastrConfig),e)}_findToast(e){for(let t=0;t<this.toasts.length;t++)if(this.toasts[t].toastId===e)return{index:t,activeToast:this.toasts[t]};return null}_preBuildNotification(e,t,n,i){return i.onActivateTick?this.ngZone.run(()=>this._buildNotification(e,t,n,i)):this._buildNotification(e,t,n,i)}_buildNotification(e,t,n,r){if(!r.toastComponent)throw new Error("toastComponent required");const o=this.findDuplicate(t,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if(t&&this.toastrConfig.preventDuplicates&&null!==o)return o;this.previousToastMessage=t;let s=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(s=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const a=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let l=t;t&&r.enableHtml&&(l=this.sanitizer.sanitize(i.H.HTML,t));const c=new x(a),u=new m(this.index,r,l,n,e,c),d=new S(u,this._injector),h=new b(r.toastComponent,d),p=a.attach(h,this.toastrConfig.newestOnTop);c.componentInstance=p.instance;const f={toastId:this.index,message:t||"",toastRef:c,onShown:c.afterActivate(),onHidden:c.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:p};return s||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{f.toastRef.activate()})),this.toasts.push(f),f}}
1;return e.\u0275fac=function(t){return new(t||e)(i.Wb(_),i.Wb(C),i.Wb(i.r),i.Wb(s.c),i.Wb(i.z))},e.\u0275prov=Object(i.Hb)({factory:function(){return new e(Object(i.Wb)(_),Object(i.Wb)(C),Object(i.Wb)(i.o),Object(i.Wb)(s.c),Object(i.Wb)(i.z))},token:e,providedIn:"root"}),e})(),T=(()=>{let e=class{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state.value&&(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),t)):this.timeout=setTimeout(()=>e(),t)}outsideInterval(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),t)):this.intervalId=setInterval(()=>e(),t)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}};return e.\u0275fac=function(t){return new(t||e)(i.Lb(k),i.Lb(m),i.Lb(i.z))},e.\u0275cmp=i.Fb({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,t){1&e&&i.ac("click",(function(){return t.tapToast()}))("mouseenter",(function(){return t.stickAround()}))("mouseleave",(function(){return t.delayedHideToast()})),2&e&&(i.Ic("@flyInOut",t.state),i.Bb(t.toastClasses),i.Bc("display",t.displayStyle))},attrs:l,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(e,t){1&e&&(i.Cc(0,c,3,0,"button",0),i.Cc(1,d,3,5,"div",1),i.Cc(2,h,1,3,"div",2),i.Cc(3,p,2,4,"div",3),i.Cc(4,f,2,2,"div",4)),2&e&&(i.kc("ngIf",t.options.closeButton),i.zb(1),i.kc("ngIf",t.title),i.zb(1),i.kc("ngIf",t.message&&t.options.enableHtml),i.zb(1),i.kc("ngIf",t.message&&!t.options.enableHtml),i.zb(1),i.kc("ngIf",t.options.progressBar))},directives:[a.l],encapsulation:2,data:{animation:[Object(r.m)("flyInOut",[Object(r.j)("inactive",Object(r.k)({opacity:0}
1)),Object(r.j)("active",Object(r.k)({opacity:1})),Object(r.j)("removed",Object(r.k)({opacity:0})),Object(r.l)("inactive => active",Object(r.e)("{{ easeTime }}ms {{ easing }}")),Object(r.l)("active => removed",Object(r.e)("{{ easeTime }}ms {{ easing }}"))])]}}),e})();var E;const I=Object.assign(Object.assign({},g),{toastComponent:T});let D=(()=>{let e=E=class{static forRoot(e={}){return{ngModule:E,providers:[{provide:_,useValue:{default:I,config:e}}]}}};return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},imports:[[a.b]]}),e})()},"5qrJ":function(e,t,n){"use strict";var i,r=n("/7L9"),o=n("ti0F"),s=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,n;if(!e)return this;for(t in e)n=e[t],this.prototype[t]="function"==typeof this.prototype[t]&&"function"==typeof n?s(this.parent.prototype,t,n):n;return this},l=function(){var e,t,n,i=this,r=Object.prototype.hasOwnProperty.bind(i),o=!r("_includedCtors")&&!r("_includedPostCtors");for(o&&(i._includedCtors=i._includedCtors.slice(0),i._includedPostCtors=i._includedPostCtors.slice(0)),n=0;n<arguments.length;n++)for(t in(e=arguments[n]).ctor&&i._includedCtors.push(e.ctor),e.postCtor&&i._includedPostCtors.push(e.postCtor),e)"ctor"!==t&&"postCtor"!==t&&(i.prototype[t]=e[t]);return i},c=function(e){if(!Object.prototype.hasOwnProperty.bind(this)("parent")&&this.parent){var t=Object.getPrototypeOf(this);return t===e||t.subclassOf(e)}return this.parent===e||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(e)},u=function(){throw r.Error("E0001")},d=(i=Object.prototype.hasOwnProperty,function(e,t){for(var n in e){if(!i.call(e,n))return;t[n]=e[n]}}),h=function(){};h.inherit=function(e){var t,n=function(){if(!this||o.isWindow(this)||"function"!=typeof this.constructor)throw r.Error("E0003");var e,t=this,n=t.ctor,i=t.constructor._includedCtors,s=t.constructor._includedPostCtors;for(e=0;e<i.length;e++)i[e].call(t);for(n&&n.apply(t,arguments),e=0;e<s.length;e++)s[e].call(t)};return n.prototype=((t=function(){}).prototype=this.prototype,new t),d(this,n),n.inherit=this.inherit,n.abstract=u,n.redefine=a,n.include=l,n.subclassOf=c,n.parent=this,n._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],n._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],n.prototype.constructor=n,n.redefine(e),n},h.abstract=u,e.exports=h},"5u+F":function(e,t,n){"use strict";var i=n("ti0F"),r=n("z7z0").adjust,o=n("zl3R").each,s=n("xZEH").camelize,a=i.isObject,l=i.isString,c=i.isDate,u=i.isDefined,d=["millisecond","second","minute","hour","day","week","month","quarter","year"],h=function e(t){switch(t){case"millisecond":return 1;case"second":return 1e3*e("millisecond");case"minute":return 60*e("second");case"hour":return 60*e("minute");case"day":return 24*e("hour");case"week":return 7*e("day");case"month":return 30*e("day");case"quarter":return 3*e("month");case"year":return 365*e("day");default:return 0}},p=function(e){for(var t=["millisecond","second","minute","hour","day","month","year"],n={},i=t.length-1;i>=0;i--){var r=t[i],o=Math.floor(e/h(r));o>0&&(n[r+"s"]=o,e-=f(r,o))}return n},f=function(e,t){return h(e)*t},m=function(e){var t=-1;return l(e)?e:a(e)?(o(e,(function(e,n){for(var i=0;i<d.length;i++)n&&(e===d[i]+"s"||e===d[i])&&t<i&&(t=i)})),d[t]):""},g={millisecond:"millisecond",second:"longtime",minute:"shorttime",hour:"shorttime",day:"day",week:"day",month:"month",quarter:"quarter",year:"year"},_=function(e){return Math.floor(e/3)},b=function(e){return 3*_(e)};function v(e,t,n){var r=new Date(e.getTime()),o=l(t)?C(t.toLowerCase()):i.isNumeric(t)?p(t):t;return o.years&&r.setFullYear(r.getFullYear()+o.years*n),o.quarters&&r.setMonth(r.getMonth()+3*o.quarters*n),o.months&&r.setMonth(r.getMonth()+o.months*n),o.weeks&&r.setDate(r.getDate()+7*o.weeks*n),o.days&&r.setDate(r.getDate()+o.days*n),o.hours&&r.setTime(r.getTime()+36e5*o.hours*n),o.minutes&&r.setTime(r.getTime()+6e4*o.minutes*n),o.seconds&&r.setTime(r.getTime()+1e3*o.seconds*n),o.milliseconds&&r.setTime(r.getTime()+o.milliseconds*n),r}var y=function(e,t,n){var i=n?-1:1;return c(e)?v(e,t,i):r(e+t*i,t)},w=function(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()},C=function(e){var t={};switch(e){case"year":t.years=1;break;case"month":t.months=1;break;case"quarter":t.months=3;break;case"week":t.weeks=1;break;case"day":t.days=1;break;case"hour":t.hours=1;break;case"minute":t.minutes=1;break;case"second":t.seconds=1;break;case"millisecond":t.milliseconds=1}return t},x=function(e,t){return S(e,t)&&e.getMonth()===t.getMonth()},S=function(e,t){return e&&t&&e.getFullYear()===t.getFullYear()},k=function(e){return e&&e.getFullYear()-e.getFullYear()%100},T=function(e){return e&&e.getFullYear()-e.getFullYear()%10},E=function(e,t){var n=(e.getDay()-t+7)%7,i=new Date(e);return i.setDate(e.getDate()-n),i},I=function(e,t,n){var i=e;return u(e)?(u(t)&&e<t&&(i=t),u(n)&&e>n&&(i=n),i):e},D=function(e,t){if(u(e)){var n=t.getHours()-e.getHours();if(0!==n){var i=1===n||-23===n?-1:1,r=new Date(t.getTime()+36e5*i);(i>0||r.getDate()===t.getDate())&&t.setTime(r.getTime())}}},M=function(e,t){return 60*(t.getTimezoneOffset()-e.getTimezoneOffset())*1e3},O={dateUnitIntervals:d,convertMillisecondsToDateUnits:p,dateToMilliseconds:function(e){var t=0;return a(e)&&o(e,(function(e,n){t+=f(e.substr(0,e.length-1),n)})),l(e)&&(t=f(e,1)),t},getNextDateUnit:function(e,t){switch(m(e)){case"millisecond":return"second";case"second":return"minute";case"minute":return"hour";case"hour":return"day";case"day":return t?"week":"month";case"week":return"month";case"month":return"quarter";case"quarter":case"year":return"year";default:return 0}},convertDateUnitToMilliseconds:f,getDateUnitInterval:m,getDateFormatByTickInterval:function(e){return g[m(e)]||""},getDatesDifferences:function(e,t){var n=0,i={year:e.getFullYear()!==t.getFullYear(),month:e.getMonth()!==t.getMonth(),day:e.getDate()!==t.getDate(),hour:e.getHours()!==t.getHours(),minute:e.getMinutes()!==t.getMinutes(),second:e.getSeconds()!==t.getSeconds(),millisecond:e.getMilliseconds()!==t.getMilliseconds()};
1return o(i,(function(e,t){t&&n++})),0===n&&0!==M(e,t)&&(i.hour=!0,n++),i.count=n,i},correctDateWithUnitBeginning:function(e,t,n,i){e=new Date(e.getTime());var r=new Date(e.getTime()),o=m(t);switch(o){case"second":e=new Date(1e3*Math.floor(r.getTime()/1e3));break;case"minute":e=new Date(6e4*Math.floor(r.getTime()/6e4));break;case"hour":e=new Date(36e5*Math.floor(r.getTime()/36e5));break;case"year":e.setMonth(0);case"month":e.setDate(1);case"day":e.setHours(0,0,0,0);break;case"week":(e=E(e,i||0)).setHours(0,0,0,0);break;case"quarter":var s=b(e.getMonth()),a=e.getMonth();e.setDate(1),e.setHours(0,0,0,0),a!==s&&e.setMonth(s)}return n&&"hour"!==o&&"minute"!==o&&"second"!==o&&D(r,e),e},trimTime:function(e){return O.correctDateWithUnitBeginning(e,"day")},setToDayEnd:function(e){var t=O.trimTime(e);return t.setDate(t.getDate()+1),new Date(t.getTime()-1)},roundDateByStartDayHour:function(e,t){var n=this.dateTimeFromDecimal(t),i=new Date(e);return(e.getHours()===n.hours&&e.getMinutes()<n.minutes||e.getHours()<n.hours)&&i.setHours(n.hours,n.minutes,0,0),i},dateTimeFromDecimal:function(e){return{hours:Math.floor(e),minutes:e%1*60}},addDateInterval:v,addInterval:y,getSequenceByInterval:function(e,t,n){var i,r=[];for(r.push(c(e)?new Date(e.getTime()):e),i=e;i<t;)i=y(i,n),r.push(i);return r},getDateIntervalByString:C,sameDate:function(e,t){return x(e,t)&&e.getDate()===t.getDate()},sameMonthAndYear:x,sameMonth:x,sameYear:S,sameDecade:function(e,t){if(u(e)&&u(t)){var n=e.getFullYear()-e.getFullYear()%10,i=t.getFullYear()-t.getFullYear()%10;return e&&t&&n===i}},sameCentury:function(e,t){if(u(e)&&u(t)){var n=e.getFullYear()-e.getFullYear()%100,i=t.getFullYear()-t.getFullYear()%100;return e&&t&&n===i}},sameView:function(e,t,n){return O[s("same "+e)](t,n)},getDifferenceInMonth:function(e){var t=1;return"year"===e&&(t=12),"decade"===e&&(t=120),"century"===e&&(t=1200),t},getDifferenceInMonthForCells:function(e){var t=1;return"decade"===e&&(t=12),"century"===e&&(t=120),t},getFirstYearInDecade:T,getFirstDecadeInCentury:k,getShortDateFormat:function(){return"yyyy/MM/dd"},getViewFirstCellDate:function(e,t){return"month"===e?new Date(t.getFullYear(),t.getMonth(),1):"year"===e?new Date(t.getFullYear(),0,t.getDate()):"decade"===e?new Date(T(t),t.getMonth(),t.getDate()):"century"===e?new Date(k(t),t.getMonth(),t.getDate()):void 0},getViewLastCellDate:function(e,t){return"month"===e?new Date(t.getFullYear(),t.getMonth(),w(t)):"year"===e?new Date(t.getFullYear(),11,t.getDate()):"decade"===e?new Date(T(t)+9,t.getMonth(),t.getDate()):"century"===e?new Date(k(t)+90,t.getMonth(),t.getDate()):void 0},getViewDown:function(e){switch(e){case"century":return"decade";case"decade":return"year";case"year":return"month"}},getViewUp:function(e){switch(e){case"month":return"year";case"year":return"decade";case"decade":return"century"}},getLastMonthDay:w,getLastMonthDate:function(e){if(u(e))return new Date(e.getFullYear(),e.getMonth()+1,0)},getFirstMonthDate:function(e){if(u(e))return new Date(e.getFullYear(),e.getMonth(),1)},getFirstWeekDate:E,normalizeDateByWeek:function(e,t){var n=O.getDatesInterval(e,t,"day"),i=new Date(e);return n>=6&&(i=new Date(i.setDate(i.getDate()+7))),i},getQuarter:_,getFirstQuarterMonth:b,dateInRange:function(e,t,n,i){return"date"===i&&(t=t&&O.correctDateWithUnitBeginning(t,"day"),n=n&&O.correctDateWithUnitBeginning(n,"day"),e=e&&O.correctDateWithUnitBeginning(e,"day")),I(e,t,n)===e},roundToHour:function(e){return e.setHours(e.getHours()+1),e.setMinutes(0),e},normalizeDate:I,getViewMinBoundaryDate:function(e,t){var n=new Date(t.getFullYear(),t.getMonth(),1);return"month"===e||(n.setMonth(0),"year"===e||("decade"===e&&n.setFullYear(T(t)),"century"===e&&n.setFullYear(k(t)))),n},getViewMaxBoundaryDate:function(e,t){var n=new Date(t);return n.setDate(w(t)),"month"===e||(n.setMonth(11),n.setDate(w(n)),"year"===e||("decade"===e&&n.setFullYear(T(t)+9),"century"===e&&n.setFullYear(k(t)+99))),n},fixTimezoneGap:D,getTimezonesDifference:M,makeDate:function(e){return new Date(e)},getDatesInterval:function(e,t,n){var i=t.getTime()-e.getTime(),r=h(n)||1;return Math.floor(i/r)},getDatesOfInterval:function(e,t,n){var i=[],r=new Date(e.getTime());for(e.getTime()===t.getTime()&&i.push(new Date(e.getTime()));r<t;)i.push(new Date(r.getTime())),r=this.addInterval(r,n);return i}};e.exports=O},"5uIg":function(e,t,n){"use strict";var i=n("FKN7"),r=n("tUd6"),o=n("jeLr"),s=n("zBVi"),a=n("1LL4").extend,l=n("JDOJ"),c=n("T4bj"),u=n("hMAE"),d=n("0Ms2"),h=n("tJvG").Deferred,p=l.addNamespace(c.up,"dxNumberBox"),f=l.addNamespace(c.cancel,"dxNumberBox"),m=s.inherit({_getDefaultOptions:function(){return a(this.callBase(),{direction:"up",onChange:null,activeStateEnabled:!0,hoverStateEnabled:!0})},_initMarkup:function(){this.callBase();var e="dx-numberbox-spin-"+this.option("direction");this.$element().addClass("dx-numberbox-spin-button").addClass(e),this._spinIcon=i("<div>").addClass(e+"-icon").appendTo(this.$element())},_render:function(){this.callBase();var e=l.addNamespace(c.down,this.NAME),t=this.$element();o.off(t,e),o.on(t,e,this._spinDownHandler.bind(this)),this._spinChangeHandler=this._createActionByOption("onChange")},_spinDownHandler:function(e){e.preventDefault(),this._clearTimer(),o.on(this.$element(),d.name,(function(){this._feedBackDeferred=new h,u.lock(this._feedBackDeferred),this._spinChangeHandler({event:e}),this._holdTimer=setInterval(this._spinChangeHandler,100,{event:e})}).bind(this));var t=r.getDocument();o.on(t,p,this._clearTimer.bind(this)),o.on(t,f,this._clearTimer.bind(this)),this._spinChangeHandler({event:e})},_dispose:function(){this._clearTimer(),this.callBase()},_clearTimer:function(){o.off(this.$element(),d.name);var e=r.getDocument();o.off(e,p),o.off(e,f),this._feedBackDeferred&&this._feedBackDeferred.resolve(),this._holdTimer&&clearInterval(this._holdTimer)},_optionChanged:function(e){switch(e.name){case"onChange":case"direction":this._invalidate();break;default:this.callBase(e)}}});e.exports=m},"5wU3":function(e,t,n){"use strict";var i=n("FKN7"),r=n("f6AH"),o=n("1LL4").extend,s=n("tJvG").Deferred,a=n("CWM8"),l=null,c=null,u=function(){l&&(c(),l=null)};t.show=function(e){return u(),function(e){var t=(e=o({position:"top"},e)).content;delete e.content;var n=i("<div>
1").html(t).appendTo(a.value());c=function(){n.remove()},l=new r(n,e)}(e),l.show()},t.hide=function(){return l?l.hide().done(u).promise():(new s).resolve()}},"5x2u":function(e,t,n){"use strict";var i=_(n("FKN7")),r=_(n("5qrJ")),o=n("ti0F"),s=n("1LL4"),a=n("XgSC"),l=_(n("XpgS")),c=_(n("BWGd")),u=_(n("d+p3")),d=n("JUkI"),h=_(n("imRD")),p=_(n("XPWh")),f=_(n("I0Qj")),m=_(n("zrYi")),g=n("tJvG");function _(e){return e&&e.__esModule?e:{default:e}}t.DataProvider=r.default.inherit({_getGroupValue:function(e){var t=e.key,n=e.data,i=e.rowType,r=e.groupIndex,o=e.summaryCells,s=this._options.groupColumns[r],a=c.default.getDisplayValue(s,s.deserializeValue?s.deserializeValue(t[r]):t[r],n,i),l=s.caption+": "+c.default.formatValue(a,s);return o&&o[0]&&o[0].length&&(l+=" "+c.default.getGroupRowSummaryText(o[0],this._options.summaryTexts)),l},_correctCellIndex:function(e){return e},_initOptions:function(){var e=this._exportController,t=e._columnsController.getGroupColumns(),n=e.option("export.excelWrapTextEnabled");this._options={columns:e._getColumns(this._initialColumnWidthsByColumnIndex),groupColumns:t,items:this._selectedRowsOnly||e._selectionOnly?e._getSelectedItems():e._getAllItems(),getVisibleIndex:e._columnsController.getVisibleIndex.bind(e._columnsController),isHeadersVisible:e.option("showColumnHeaders"),summaryTexts:e.option("summary.texts"),customizeExportData:e.option("customizeExportData"),rtlEnabled:e.option("rtlEnabled"),wrapTextEnabled:(0,o.isDefined)(n)?n:!!e.option("wordWrapEnabled"),customizeExcelCell:e.option("export.customizeExcelCell")}},hasCustomizeExcelCell:function(){return(0,o.isDefined)(this._options.customizeExcelCell)},customizeExcelCell:function(e,t){this._options.customizeExcelCell&&(e.gridCell=t,(0,o.isDefined)(this._exportController)&&(0,o.isDefined)(this._exportController.component)&&(e.component=this._exportController.component),this._options.customizeExcelCell(e))},ctor:function(e,t,n){this._exportController=e,this._initialColumnWidthsByColumnIndex=t,this._selectedRowsOnly=n},getStyles:function(){var e=this._options.wrapTextEnabled,t=["center","left","right"].map((function(e){return{bold:!0,alignment:e,wrapText:!0}}));return this.getColumns().forEach((function(n){t.push({alignment:n.alignment||"left",format:n.format,wrapText:e,dataType:n.dataType})})),t.push({bold:!0,wrapText:!1,alignment:(0,a.getDefaultAlignment)(this._options.rtlEnabled)}),t},_getTotalCellStyleId:function(e){var t=this.getColumns()[e]&&this.getColumns()[e].alignment||"right";return["center","left","right"].indexOf(t)},getStyleId:function(e,t){return e<this.getHeaderRowCount()?0:this.isTotalCell(e-this.getHeaderRowCount(),t)?this._getTotalCellStyleId(t):this.isGroupRow(e-this.getHeaderRowCount())?3+this.getColumns().length:t+3},getColumns:function(e){var t=this._options.columns;return e?t:t[t.length-1]},getRowsCount:function(){return this._options.items.length+this.getHeaderRowCount()},getHeaderRowCount:function(){return this.isHeadersVisible()?this._options.columns.length-1:0},isGroupRow:function(e){return e<this._options.items.length&&"group"===this._options.items[e].rowType},getGroupLevel:function(e){var t=this._options.items[e-this.getHeaderRowCount()],n=t&&t.groupIndex;return t&&"totalFooter"===t.rowType?0:(0,o.isDefined)(n)?n:this._options.groupColumns.length},getCellType:function(e,t){var n=this.getColumns();if(e<this.getHeaderRowCount())return"string";if(e-=this.getHeaderRowCount(),t<n.length){var i=this._options.items.length&&this._options.items[e],r=n[t];return i&&"data"===i.rowType&&isFinite(i.values[this._correctCellIndex(t)])&&!(0,o.isDefined)(r.customizeText)?(0,o.isDefined)(r.lookup)?r.lookup.dataType:r.dataType:"string"}},ready:function(){var e=this;e._initOptions();var t=this._options;return(0,g.when)(t.items).done((function(n){t.customizeExportData&&t.customizeExportData(e.getColumns(e.getHeaderRowCount()>1),n),t.items=n})).fail((function(){t.items=[]}))},_convertFromGridGroupSummaryItems:function(e){var t;return(0,o.isDefined)(e)&&e.length>0&&(t=e.map((function(e){return{value:e.value,name:e.name}}))),t},getCellData:function(e,t,n){var i,r,s={cellSourceData:{},value:r},a=this.getColumns(),l=this._correctCellIndex(t);if(e<this.getHeaderRowCount())i=this.getColumns(!0)[e][t],s.cellSourceData.rowType="header",s.cellSourceData.column=i&&i.gridColumn,s.value=i&&i.caption;else{e-=this.getHeaderRowCount();var u=this._options.items.length&&this._options.items[e];if(u){var d=u.values;switch(s.cellSourceData.rowType=u.rowType,s.cellSourceData.column=a[t]&&a[t].gridColumn,u.rowType){case"groupFooter":case"totalFooter":l<d.length&&((0,o.isDefined)(r=d[l])?(s.cellSourceData.value=r.value,s.cellSourceData.totalSummaryItemName=r.name,s.value=c.default.getSummaryText(r,this._options.summaryTexts)):s.
1cellSourceData.value=void 0);break;case"group":if(s.cellSourceData.groupIndex=u.groupIndex,t<1)s.cellSourceData.column=this._options.groupColumns[u.groupIndex],s.cellSourceData.value=u.key[u.groupIndex],s.cellSourceData.groupSummaryItems=this._convertFromGridGroupSummaryItems(u.summaryCells[0]),s.value=this._getGroupValue(u);else{var h=u.values[l];if(Array.isArray(h)){s.cellSourceData.groupSummaryItems=this._convertFromGridGroupSummaryItems(h),r="";for(var p=0;p<h.length;p++)r+=(p>0?n?"\n":" \n ":"")+c.default.getSummaryText(h[p],this._options.summaryTexts);s.value=r}else s.cellSourceData.value=void 0}break;default:if(i=a[t]){var f=d[l],m=c.default.getDisplayValue(i,f,u.data,u.rowType);s.value=!isFinite(m)||(0,o.isDefined)(i.customizeText)?n&&(0,o.isDefined)(i.customizeText)&&i.customizeText===this._exportController._columnsController.getCustomizeTextByDataType("boolean")?m:c.default.formatValue(m,i):m,s.cellSourceData.value=f}s.cellSourceData.data=u.data}}}return s},isHeadersVisible:function(){return this._options.isHeadersVisible},isTotalCell:function(e,t){var n=this._options.items[e],i=this._correctCellIndex(t);return n&&"groupFooter"===n.rowType||"totalFooter"===n.rowType||n.summaryCells&&n.summaryCells[i]&&n.summaryCells[i].length>0&&n.summaryCells[i][0].alignByColumn},getCellMerging:function(e,t){var n=this._options.columns,i=n[e]&&n[e][t];return i?{colspan:(i.exportColspan||1)-1,rowspan:(i.rowspan||1)-1}:{colspan:0,rowspan:0}},getFrozenArea:function(){return{x:0,y:this.getHeaderRowCount()}}}),t.ExportController=c.default.ViewController.inherit({}).include(u.default).inherit({_getEmptyCell:function(){return{caption:"",colspan:1,rowspan:1}},_updateColumnWidth:function(e,t){e.width=t},_getColumns:function(e){var t,n,i=[],r=this._columnsController,a=r.getRowCount();for(t=0;t<=a;t++){var l=[];n=r.getVisibleColumns(t,!0);var c=void 0;if(t===a)if(this._updateLockCount)c=e;else{var u=this._getColumnWidths(this._headersView,this._rowsView);if(u&&u.length){c={};for(var d=0;d<n.length;d++)c[n[d].index]=u[d]}}for(var h=0;h<n.length;h++){var p=(0,s.extend)({},n[h],{dataType:"datetime"===n[h].dataType?"date":n[h].dataType,gridColumn:n[h]});if(this._needColumnExporting(p)){var f=this._calculateExportColspan(p);(0,o.isDefined)(f)&&(p.exportColspan=f),c&&this._updateColumnWidth(p,c[p.index]),l.push(p)}}i.push(l)}return n=i[a],(i=this._prepareItems(i.slice(0,-1))).push(n),i},_calculateExportColspan:function(e){var t=this;if(e.isBand){var n=this._columnsController.getChildrenByBandColumn(e.index,!0);if((0,o.isDefined)(n))return n.reduce((function(e,n){return t._needColumnExporting(n)?e+(t._calculateExportColspan(n)||1):e}),0)}},_needColumnExporting:function(e){return!e.command&&(e.allowExporting||void 0===e.allowExporting)},_getFooterSummaryItems:function(e,t){var n=[],i=1,r=0;do{for(var o=[],s=0;s<e.length;s++){var a=e[s],l=a.length;i<l&&(i=l),o.push(a[r])}n.push({values:o,rowType:t?"totalFooter":"groupFooter"})}while(r++<i-1);return n},_hasSummaryGroupFooters:function(){var e=this.option("summary.groupItems");if((0,o.isDefined)(e))for(var t=0;t<e.length;t++)if(e[t].showInGroupFooter)return!0;return!1},_getItemsWithSummaryGroupFooters:function(e){for(var t=[],n=[],i=[],r=0;r<e.length;r++){var o=e[r];"groupFooter"===o.rowType?(i=this._getFooterSummaryItems(o.summaryCells),t=t.concat(n,i),n=[]):n.push(o)}return t.length?t:n},_updateGroupValuesWithSummaryByColumn:function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n],r=i.summaryCells;if("group"===i.rowType&&r&&r.length>1){for(var o=i.values.length,s=1;s<r.length;s++)for(var a=0;a<r[s].length;a++){var c=r[s][a];
1c&&c.alignByColumn&&(Array.isArray(t[s-o])||(t[s-o]=[]),t[s-o].push(c))}t.length>0&&(l.default.merge(i.values,t),t=[])}}},_processUnExportedItems:function(e){for(var t,n,i=this._columnsController.getVisibleColumns(null,!0),r=this._columnsController.getGroupColumns(),o=0;o<e.length;o++){var s=e[o];t=[],n=[];for(var a=0;a<i.length;a++)this._needColumnExporting(i[a])&&(s.values&&t.push("group"!==s.rowType||t.length?s.values[a]:s.key[s.groupIndex]),s.summaryCells&&n.push("group"!==s.rowType||n.length?s.summaryCells[a]:s.summaryCells[a-r.length+s.groupIndex]));t.length&&(s.values=t),n.length&&(s.summaryCells=n)}},_getAllItems:function(e){var t,n=this,i=new g.Deferred,r=this.getController("data"),s=r.footerItems(),a=s.length&&s[0],l=n.option("summary.totalItems");return(0,g.when)(e).done((function(e){r.loadAll(e).done((function(e,s){n._updateGroupValuesWithSummaryByColumn(e),n._hasSummaryGroupFooters()&&(e=n._getItemsWithSummaryGroupFooters(e)),t=a&&a.summaryCells,(0,o.isDefined)(s)&&l&&(t=r._getSummaryCells(l,s));var c=a&&n._getFooterSummaryItems(t,!0);c&&(e=e.concat(c)),n._processUnExportedItems(e),i.resolve(e)})).fail(i.reject)})).fail(i.reject),i},_getSelectedItems:function(){var e=this.getController("selection").getSelectedRowsData();return this._getAllItems(e)},_getColumnWidths:function(e,t){return e&&e.isVisible()?e.getColumnWidths():t.getColumnWidths()},init:function(){this._columnsController=this.getController("columns"),this._rowsView=this.getView("rowsView"),this._headersView=this.getView("columnHeadersView"),this.createAction("onExporting",{excludeValidators:["disabled","readOnly"]}),this.createAction("onExported",{excludeValidators:["disabled","readOnly"]}),this.createAction("onFileSaving",{excludeValidators:["disabled","readOnly"]})},callbackNames:function(){return["selectionOnlyChanged"]},getExportFormat:function(){return["EXCEL"]},getDataProvider:function(e){var n,i=this._getColumnWidths(this._headersView,this._rowsView);if(i&&i.length){n={};for(var r=this._columnsController.getVisibleColumns(this._columnsController.getRowCount(),!0),o=0;o<r.length;o++)n[r[o].index]=i[o]}return new t.DataProvider(this,n,e)},exportToExcel:function(e){this._selectionOnly=e,(0,d.export)(this.component.getDataProvider(),{fileName:this.option("export.fileName"),proxyUrl:this.option("export.proxyUrl"),format:"EXCEL",autoFilterEnabled:!!this.option("export.excelFilterEnabled"),rtlEnabled:this.option("rtlEnabled"),ignoreErrors:this.option("export.ignoreExcelErrors"),exportingAction:this.getAction("onExporting"),exportedAction:this.getAction("onExported"),fileSavingAction:this.getAction("onFileSaving")},d.excel.getData)},publicMethods:function(){return["getDataProvider","getExportFormat","exportToExcel"]},selectionOnly:function(e){if(!(0,o.isDefined)(e))return this._isSelectedRows;this._isSelectedRows=e,this.selectionOnlyChanged.fire()}}),c.default.registerModule("export",{defaultOptions:function(){return{export:{enabled:!1,fileName:"DataGrid",excelFilterEnabled:!1,excelWrapTextEnabled:void 0,proxyUrl:void 0,allowExportSelectedData:!1,ignoreExcelErrors:!0,texts:{exportTo:h.default.format("dxDataGrid-exportTo"),exportAll:h.default.format("dxDataGrid-exportAll"),exportSelectedRows:h.default.format("dxDataGrid-exportSelectedRows")}}}},controllers:{export:t.ExportController},extenders:{controllers:{editing:{callbackNames:function(){var e=this.callBase();return(0,o.isDefined)(e)?e.push("editingChanged"):["editingChanged"]},_updateEditButtons:function(){this.callBase(),this.editingChanged.fire(this.hasChanges())}}},views:{headerPanel:{_getToolbarItems:function(){var e=this.callBase();return this._appendExportItems(e)},_appendExportItems:function(e){var t=this,n=t.option("export");if(n.enabled){var r=[];r.push(n.allowExportSelectedData?{template:function(e,n,r){var o=(0,i.default)(r);t._renderButton(e,o),t._renderExportMenu(o)},menuItemTemplate:function(e,n,r){t._renderList(e,(0,i.default)(r))},name:"exportButton",allowExportSelected:!0,location:"after",locateInMenu:"auto",sortIndex:30}:{template:function(e,n,r){t._renderButton(e,(0,i.default)(r))},menuItemTemplate:function(e,n,r){t._renderButton(e,(0,i.default)(r),!0)},name:"exportButton",location:"after",locateInMenu:"auto",sortIndex:30}),e=e.concat(r),t._correctItemsPosition(e)}return e},_renderButton:function(e,t,n){var r=this._getButtonOptions(e.allowExportSelected),o=this._getButtonContainer().addClass("dx-datagrid-export-button").appendTo(t);if(n){var s=(0,i.default)("<div>").addClass("dx-toolbar-item-auto-hide");t.wrapInner(s).parent().addClass("dx-toolbar-menu-action dx-toolbar-menu-button dx-toolbar-hidden-button"),r.text=r.hint}this._createComponent(o,p.default,r)},_renderList:function(e,t){var n=this,r=n.option("export.texts"),o=[{template:function(e,t,r){n._renderFakeButton(e,(0,i.default)(r),"xl
1sxfile")},text:r.exportAll},{template:function(e,t,r){n._renderFakeButton(e,(0,i.default)(r),"exportselected")},text:r.exportSelectedRows,exportSelected:!0}];n._createComponent(t,f.default,{items:o,onItemClick:function(e){n._exportController.exportToExcel(e.itemData.exportSelected)},scrollingEnabled:!1})},_renderFakeButton:function(e,t,n){var r=(0,i.default)("<div>").addClass("dx-icon dx-icon-"+n),o=(0,i.default)("<span>").addClass("dx-button-text").text(e.text),s=(0,i.default)("<div>").addClass("dx-button-content").append(r).append(o),a=(0,i.default)("<div>").addClass("dx-button dx-button-has-text dx-button-has-icon dx-datagrid-toolbar-button").append(s),l=(0,i.default)("<div>").addClass("dx-toolbar-item-auto-hide").append(a);t.append(l).parent().addClass("dx-toolbar-menu-custom dx-toolbar-hidden-button")},_correctItemsPosition:function(e){e.sort((function(e,t){return e.sortIndex-t.sortIndex}))},_renderExportMenu:function(e){var t=this,n=e.find(".dx-button"),r=t.option("export.texts"),o=[{text:r.exportAll,icon:"xlsxfile"},{text:r.exportSelectedRows,exportSelected:!0,icon:"exportselected"}],s=(0,i.default)("<div>").appendTo(e);t._contextMenu=t._createComponent(s,m.default,{showEvent:"dxclick",items:o,cssClass:"dx-datagrid-export-menu",onItemClick:function(e){t._exportController.exportToExcel(e.itemData.exportSelected)},target:n,position:{at:"left bottom",my:"left top",offset:"0 3",collision:"fit",boundary:t._$parent,boundaryOffset:"1 1"}})},_isExportButtonVisible:function(){return this.option("export.enabled")},_getButtonOptions:function(e){var t=this,n=t.option("export.texts");return e?{hint:n.exportTo,icon:"export-to"}:{hint:n.exportAll,icon:"export-excel-button",onClick:function(){t._exportController.exportToExcel()}}},optionChanged:function(e){this.callBase(e),"export"===e.name&&(e.handled=!0,this._invalidate())},init:function(){var e=this;this.callBase(),this._exportController=this.getController("export"),this._editingController=this.getController("editing"),this._editingController.editingChanged.add((function(t){e.setToolbarItemDisabled("exportButton",t)}))},isVisible:function(){return this.callBase()||this._isExportButtonVisible()}}}}})},"6+QB":function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"66GJ":function(e,t,n){"use strict";var i=n("ti0F").isFunction,r=/cubic-bezier\((\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\)/,o={linear:"cubic-bezier(0, 0, 1, 1)",swing:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",ease:"cubic-bezier(0.25, 0.1, 0.25, 1)","ease-in":"cubic-bezier(0.42, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.58, 1)","ease-in-out":"cubic-bezier(0.42, 0, 0.58, 1)"},s={};t.setEasing=function(e){s=e},t.getEasing=function(e){return s[e]},t.convertTransitionTimingFuncToEasing=function(e){var t,n=(e=o[e]||e).match(r);n||(n=o[t="linear"].match(r)),n=n.slice(1,5);for(var a=0;a<n.length;a++)n[a]=parseFloat(n[a]);var l=t||"cubicbezier_"+n.join("_").replace(/\./g,"p");return i(s[l])||(s[l]=function(e,t,i,r,o){return r*(u=1-(l=3*(s=n[0]))-(c=3*(n[2]-s)-l),p=1-(d=3*(a=n[1]))-(h=3*(n[3]-a)-d),f=function(e){return e*(l+e*(c+e*u))},m=function(e){return l+e*(2*c+3*e*u)},function(e){return function(e){return e*(d+e*(h+e*p))}(function(e){for(var t,n=e,i=0;i<14&&(t=f(n)-e,!(Math.abs(t)<.001));)n-=t/m(n),i++;return n}(e))})(t/o)+i;var s,a,l,c,u,d,h,p,f,m}),l}},"6B0Y":function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u
117a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6CN0":function(e,t,n){"use strict";var i=n("FKN7"),r=n("CWM8");e.exports={getSwatchContainer:function(e){var t=i(e).closest('[class^="'.concat("dx-swatch-",'"], [class*=" ').concat("dx-swatch-",'"]')),n=r.value();if(!t.length)return n;var o=new RegExp("(\\s|^)(".concat("dx-swatch-",".*?)(\\s|$)")),s=t[0].className.match(o)[2],a=n.children("."+s);return a.length||(a=i("<div>").addClass(s).appendTo(n)),a}}},"6F5R":function(e,t,n){"use strict";var i=m(n("FKN7")),r=m(n("D6VQ")),o=m(n("KAnu")),s=m(n("ti0F")),a=n("zl3R"),l=n("1LL4"),c=n("ccQb"),u=m(n("uHaw")),d=m(n("zBVi")),h=n("BWGd"),p=m(h),f=m(n("+6qP"));function m(e){return e&&e.__esModule?e:{default:e}}n("oVzw"),n("NbX6"),n("C7sP"),n("rwQK"),n("3+zk"),n("PcbC"),n("uN9D"),n("pP7y"),n("4Ip1"),p.default.registerModulesOrder(["stateStoring","columns","selection","editorFactory","columnChooser","grouping","editing","masterDetail","validating","adaptivity","data","virtualScrolling","columnHeaders","filterRow","headerPanel","headerFilter","sorting","search","rows","pager","columnsResizingReordering","contextMenu","keyboardNavigation","errorHandling","summary","columnFixing","export","gridView"]);var g=d.default.inherit({_activeStateUnit:".dx-row",_getDefaultOptions:function(){var e=this.callBase();return(0,a.each)(p.default.modules,(function(){s.default.isFunction(this.defaultOptions)&&(0,l.extend)(!0,e,this.defaultOptions())})),e},_setDeprecatedOptions:function(){this.callBase(),(0,l.extend)(this._deprecatedOptions,{useKeyboard:{since:"19.2",alias:"keyboardNavigation.enabled"}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{showRowLines:!0}},{device:function(){return f.default.isMaterial()},options:{showRowLines:!0,showColumnLines:!1,headerFilter:{height:315},editing:{useIcons:!0}}},{device:function(){return u.default.webkit},options:{loadingTimeout:30,loadPanel:{animation:{show:{easing:"cubic-bezier(1, 0, 1, 0)",duration:500,from:{opacity:0}
1,to:{opacity:1}}}}}},{device:function(e){return"desktop"!==e.deviceType},options:{grouping:{expandMode:"rowClick"}}}])},_init:function(){this.callBase(),p.default.processModules(this,p.default),(0,h.callModuleItemsMethod)(this,"init")},_clean:o.default.noop,_optionChanged:function(e){(0,h.callModuleItemsMethod)(this,"optionChanged",[e]),e.handled||this.callBase(e)},_dimensionChanged:function(){this.updateDimensions(!0)},_visibilityChanged:function(e){e&&this.updateDimensions()},_initMarkup:function(){this.callBase.apply(this,arguments),this.getView("gridView").render(this.$element())},_renderContentImpl:function(){this.getView("gridView").update()},_renderContent:function(){var e=this;o.default.deferRender((function(){e._renderContentImpl()}))},_getTemplate:function(e){var t=e;return s.default.isString(t)&&"#"===t[0]&&(t=(0,i.default)(e),c.logger.warn("Specifying grid templates with the jQuery selector name is now deprecated. Use the DOM Node or the jQuery object that references this selector instead.")),this.callBase(t)},_dispose:function(){this.callBase(),(0,h.callModuleItemsMethod)(this,"dispose")},isReady:function(){return this.getController("data").isReady()},beginUpdate:function(){this.callBase(),(0,h.callModuleItemsMethod)(this,"beginUpdate")},endUpdate:function(){(0,h.callModuleItemsMethod)(this,"endUpdate"),this.callBase()},getController:function(e){return this._controllers[e]},getView:function(e){return this._views[e]},focus:function(e){this.getController("keyboardNavigation").focus(e)}});g.registerModule=p.default.registerModule.bind(p.default),(0,r.default)("dxDataGrid",g),e.exports=g},"6JCj":function(e,t,n){"use strict";var i=n("JyGs"),r=n("FKN7"),o=n("imRD"),s=n("1LL4").extend,a=n("+12O"),l=n("tJvG"),c=n("uhpr");function u(e){var t=function(e,t){return t?t+"/"+e:e},n=e&&e.getController("headerFilter");return{dataTypes:["string","date","datetime","number","boolean","object"],calculateFilterExpression:function(e,t){var n=[],i=e.length-1;return e&&e.forEach((function(e,r){if(c.isCondition(e)||c.isGroup(e)){var o=c.getFilterExpression(e,[t],[],"headerFilter");n.push(o)}else n.push(c.getFilterExpression([t.dataField,"=",e],[t],[],"headerFilter"));r!==i&&n.push("or")})),1===n.length&&(n=n[0]),n},editorTemplate:function(t,o){var a=r("<div>").addClass("dx-filterbuilder-item-value-text").appendTo(o),l=s(!0,{},e.columnOption(t.field.dataField));return(0,i.renderValueText)(a,t.text&&t.text.split("|")),l.filterType="include",l.filterValues=t.value?t.value.slice():[],n.showHeaderFilterMenuBase({columnElement:a,column:l,apply:function(){t.setValue(this.filterValues),n.hideHeaderFilterMenu(),t.closeEditor()},onHidden:function(){t.closeEditor()},isFilterBuilder:!0}),o},customizeText:function(i){var r=i.value,o=e.columnOption(i.field.dataField),c=o&&o.headerFilter,u=o&&o.lookup;if(c&&c.dataSource||u&&u.dataSource){o=s({},o,{filterType:"include",filterValues:[r]});var d=n.getDataSource(o);d.paginate=!1,(!c||!c.dataSource)&&u.items&&(d.store=u.items);var h=new a.DataSource(d),p=new l.Deferred,f=h.store().key();return f&&h.filter([f,"=",i.value]),h.load().done((function(e){p.resolve(function e(n,i){var r=[];return n.forEach((function(n){if(n.items){var o=e(n.items,t(n.text,i));r=r.concat(o)}n.selected&&r.push(t(n.text,i))})),r}(e)[0])})),p}return n.getHeaderItemText(r,o,0,e.option("headerFilter"))}}}t.anyOf=function(e){return s(u(e),{name:"anyof",icon:"selectall",caption:o.format("dxFilterBuilder-filterOperationAnyOf")})},t.noneOf=function(e){var t=u(e);return s({},t,{calculateFilterExpression:function(e,n){var i=t.calculateFilterExpression(e,n);return i&&0!==i.length?"!"===i[0]?i:["!",i]:null},name:"noneof",icon:"unselectall",caption:o.format("dxFilterBuilder-filterOperationNoneOf")})}},"6LKm":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.checksum=a;var r=o(n("VyaE"));
1function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{11}$/)&&(e+=a(e));var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.displayValue=n.displayValue,i.fontSize=n.fontSize>10*n.width?10*n.width:n.fontSize,i.guardHeight=n.height+i.fontSize/2+n.textMargin,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==a(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=(0,r.default)(this.data.substr(0,6),"LLLLLL"),e+="01010",e+=(0,r.default)(this.data.substr(6,6),"RRRRRR"),{data:e+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101"+(0,r.default)(this.data[0],"L"),options:{height:this.guardHeight}}),e.push({data:(0,r.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),e.push({data:"01010",options:{height:this.guardHeight}}),e.push({data:(0,r.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),e.push({data:(0,r.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),e}}]),t}(o(n("52Lf")).default);function a(e){var t,n=0;for(t=1;t<11;t+=2)n+=parseInt(e[t]);for(t=0;t<11;t+=2)n+=3*parseInt(e[t]);return(10-n%10)%10}t.default=s},"6MIN":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ti0F"),r=l(n("OZWN")),o=l(n("hUrc")),s=l(n("kOkc")),a=l(n("GMo6"));function l(e){return e&&e.__esModule?e:{default:e}}var c={tryCreateTag:function(e,t){var n=null;if((0,i.isDefined)(e)){var r;r="number"==typeof e.numberFormat?e.numberFormat:t.registerNumberFormat(e.numberFormat);var a=e.fill;(0,i.isDefined)(a)||(a=s.default.tryCreateFillFromSimpleFormat(e)),n={numberFormatId:r,alignment:o.default.tryCreateTag(e.alignment),fontId:t.registerFont(e.font),fillId:t.registerFill(a)},c.isEmpty(n)&&(n=null)}return n},copy:function(e){var t;return null===e?t=null:(0,i.isDefined)(e)&&(t={},void 0!==e.numberFormat&&(t.numberFormat=e.numberFormat),void 0!==e.fill?t.fill=s.default.copy(e.fill):s.default.copySimpleFormat(e,t),void 0!==e.alignment&&(t.alignment=o.default.copy(e.alignment)),void 0!==e.font&&(t.font=a.default.copy(e.font))),t},areEqual:function(e,t){return c.isEmpty(e)&&c.isEmpty(t)||(0,i.isDefined)(e)&&(0,i.isDefined)(t)&&e.fontId===t.fontId&&e.numberFormatId===t.numberFormatId&&e.fillId===t.fillId&&o.default.areEqual(e.alignment,t.alignment)},isEmpty:function(e){return!(0,i.isDefined)(e)||!(0,i.isDefined)(e.fontId)&&!(0,i.isDefined)(e.numberFormatId)&&!(0,i.isDefined)(e.fillId)&&o.default.isEmpty(e.alignment)},toXml:function(e){var t,n=o.default.isEmpty(e.alignment);return(0,i.isDefined)(e.numberFormatId)&&(t=e.numberFormatId>0?1:0),r.default.toXml("xf",{xfId:0,applyAlignment:n?null:1,fontId:e.fontId,applyNumberFormat:t,fillId:e.fillId,numFmtId:e.numberFormatId},n?null:o.default.toXml(e.alignment))}};t.default=c},"6MUB":function(e,t,n){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var o=encodeURIComponent(i(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return o+encodeURIComponent(i(e))})).join(t):o+encodeURIComponent(i(e[r]))})).join(t):r?encodeURIComponent(i(r))+n+encodeURIComponent(i(e)):""}},"6Mm9":function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n("SyMb"))&&i.__esModule?i:{default:i},s=n("8I5R"),a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,s.A_START_CHAR+e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return new RegExp("^"+s.A_CHARS+"+$").test(this.data)}}]),t}(o.default);t.default=a},"6jZs":function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("KAnu").noop,s=n("XCcL"),a=n("imRD"),l=n("YQNt"),c=n("JDOJ"),u=n("hMAE"),d=n("f7cP"),h=n("85Zg").register,p=n("DDHz"),f=n("hMwJ"),m=n("+6qP"),g=n("Bw5F"),_=c.addNamespace(s.name,"dxListEditDecorator"),b=c.addNamespace(u.active,"dxListEditDecorator");h("menu","slide",p.inherit({_shouldHandleSwipe:!0,_init:function(){this.callBase.apply(this,arguments),this._$buttonsContainer=i("<div>").addClass("dx-list-slide-menu-buttons-container"),r.on(this._$buttonsContainer,b,o),this._$buttons=i("<div>").addClass("dx-list-slide-menu-buttons").appendTo(this._$buttonsContainer),this._renderMenu(),this._renderDeleteButton()},_renderMenu:function(){if(this._menuEnabled()){var e=this._menuItems();if(1===e.length){var t=e[0];this._renderMenuButton(t.text,(function(e){e.stopPropagation(),this._fireAction(t)}).bind(this))}else{var n=i("<div>").addClass("dx-list-slide-menu");this._menu=this._list._createComponent(n,g,{showTitle:!1,items:e,onItemClick:(function(e){this._fireAction(e.itemData)}).bind(this),integrationOptions:{}}),n.appendTo(this._list.$element());var r=this._renderMenuButton(a.format("dxListEditDecorator-more"),(function(e){e.stopPropagation(),this._menu.show()}).bind(this));this._menu.option("target",r)}}},_renderMenuButton:function(e,t){var n=i("<div>").addClass("dx-list-slide-menu-button").addClass("dx-list-slide-menu-button-menu").text(e);return this._$buttons.append(n),r.on(n,_,t),n},_renderDeleteButton:function(){if(this._deleteEnabled()){var e=i("<div>").addClass("dx-list-slide-menu-button").addClass("dx-list-slide-menu-button-delete").text(m.isMaterial()?"":a.format("dxListEditDecorator-delete"));r.on(e,_,(function(e){e.stopPropagation(),this._deleteItem()}).bind(this)),this._$buttons.append(e)}},_fireAction:function(e){this._fireMenuAction(i(this._cachedNode),e.action),this._cancelDeleteReadyItem()},modifyElement:function(e){this.callBase.apply(this,arguments);var t=e.$itemElement;t.addClass("dx-list-slide-menu-wrapper");var n=i("<div>").addClass("dx-list-slide-menu-content");t.wrapInner(n)},_getDeleteButtonContainer:function(){return this._$buttonsContainer},handleClick:function(e,t){return!!i(t.target).closest(".dx-list-slide-menu-content").length&&this.callBase.apply(this,arguments)},_swipeStartHandler:function(e){this._enablePositioning(e),this._cacheItemData(e),this._setPositions(this._getPositions(0))},_swipeUpdateHandler:function(e,t){var n=this._isRtlEnabled()?-1:1,i=this._isReadyToDelete(e);if(this._getCurrentPositions().content!==this._getStartPositions().content||i||!(t.offset*n>0)){var r=this._cachedItemWidth*t.offset,o=i?-this._cachedButtonWidth*n:0,s=(r+o)*n<0?Math.abs((r+o)/this._cachedButtonWidth):0;return this._setPositions(this._getPositions(s)),!0}t.cancel=!0},_getStartPositions:function(){var e=this._isRtlEnabled();return{content:0,buttonsContainer:e?-this._cachedButtonWidth:this._cachedItemWidth,buttons:-this._cachedButtonWidth*(e?-1:1)}},_getPositions:function(e){var t=this._isRtlEnabled()?-1:1,n=this._getStartPositions();return{content:n.content-e*this._cachedButtonWidth*t,buttonsContainer:n.buttonsContainer-Math.min(e,1)*this._cachedButtonWidth*t,buttons:n.buttons+Math.min(e,1)*this._cachedButtonWidth*t}},_getCurrentPositions:function(){return{content:l.locate(this._$cachedContent).left,buttonsContainer:l.locate(this._$buttonsContainer).left,buttons:l.locate(this._$buttons).left}},_setPositions:function(e){l.move(this._$cachedContent,{left:e.content}
1),l.move(this._$buttonsContainer,{left:e.buttonsContainer}),l.move(this._$buttons,{left:e.buttons})},_cacheItemData:function(e){e[0]!==this._cachedNode&&(this._$cachedContent=e.find(".dx-list-slide-menu-content"),this._cachedItemWidth=e.outerWidth(),this._cachedButtonWidth=this._cachedButtonWidth||this._$buttons.outerWidth(),this._$buttonsContainer.width(this._cachedButtonWidth),this._$cachedContent.length&&(this._cachedNode=e[0]))},_minButtonContainerLeftOffset:function(){return this._cachedItemWidth-this._cachedButtonWidth},_swipeEndHandler:function(e,t){this._cacheItemData(e);var n=this._isRtlEnabled()?1:-1,i=this._cachedItemWidth*t.offset,r=!this._isReadyToDelete(e)&&i*n>.2*this._cachedButtonWidth;return this._toggleDeleteReady(e,t.targetOffset===n&&r),!0},_enablePositioning:function(e){f.stop(this._$cachedContent,!0),this.callBase.apply(this,arguments),this._$buttonsContainer.appendTo(e)},_disablePositioning:function(){this.callBase.apply(this,arguments),this._$buttonsContainer.detach()},_animatePrepareDeleteReady:function(){return this._animateToPositions(this._getPositions(1))},_animateForgetDeleteReady:function(e){return this._cacheItemData(e),this._animateToPositions(this._getPositions(0))},_animateToPositions:function(e){var t=this,n=this._getCurrentPositions(),i=Math.min(Math.abs(n.content-e.content)/this._cachedButtonWidth,1);return f.animate(this._$cachedContent,{from:n,to:e,easing:"cubic-bezier(0.075, 0.82, 0.165, 1)",duration:400*i,strategy:"frame",draw:function(e){t._setPositions(e)}})},dispose:function(){this._menu&&this._menu.$element().remove(),this._$buttonsContainer&&this._$buttonsContainer.remove(),this.callBase.apply(this,arguments)}}).include(d))},"6mLu":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("tYcD"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("adaptivity",r.default)},"6miG":function(e,t,n){"use strict";var i=p(n("FKN7")),r=p(n("jeLr")),o=p(n("t2fQ")),s=p(n("imRD")),a=p(n("8S5z")),l=n("ti0F"),c=n("1LL4"),u=n("zl3R"),d=p(n("uHaw")),h=p(n("YQNt"));function p(e){return e&&e.__esModule?e:{default:e}}var f,m=function(e){var t=-1;return(0,u.each)(e,(function(e,n){if("transparent"===n.command)return t=e,!1})),t},g=function(e,t,n){var i=0;if(e&&t&&n)for(var r=0;r<e.length;r++)"transparent"===e[r].command?i+=e[r].colspan:(t[i]<n[r]&&(t[i]=n[r]),i++);return t},_={init:function(){this.callBase(),this._isFixedTableRendering=!1,this._isFixedColumns=!1},_createCol:function(e){return this.callBase(e).toggleClass("dx-col-fixed",!(!this._isFixedTableRendering||!(e.fixed||e.command&&"transparent"!==e.command)))},_correctColumnIndicesForFixedColumns:function(e,t){var n=m(e),i=e[n].colspan,r=t&&t.columnIndices;r&&(t.columnIndices=r.map((function(e){if(e)return e.map((function(e){return e<n?e:e>=n+i?e-i+1:-1})).filter((function(e){return e>=0}))})))},_renderTable:function(e){var t,n=this.getFixedColumns();this._isFixedColumns=!!n.length;var i=this.callBase(e);if(this._isFixedColumns){this._isFixedTableRendering=!0;var r=e&&e.change,o=r&&r.columnIndices;this._correctColumnIndicesForFixedColumns(n,r),t=this._createTable(n),this._renderRows(t,(0,c.extend)({},e,{columns:n})),this._updateContent(t,r),o&&(r.columnIndices=o),this._isFixedTableRendering=!1}else this._fixedTableElement&&this._fixedTableElement.parent().remove(),this._fixedTableElement=null;return i},_renderRow:function(e,t){var n,i=t.row.cells;if(this.callBase.apply(this,arguments),this._isFixedTableRendering&&i&&i.length){n=0;var r=t.row.cells||[];i=i.slice(),t.row.cells=i;for(var o=0;o<r.length;o++)r[o].column&&"transparent"===r[o].column.command?n=(r[o].column.colspan||1)-1:i[o+n]=r[o]}},_createCell:function(e){var t,n,i,r=this,o=e.column,s=o&&o.command,l=e.rowType,c=r.callBase.apply(r,arguments);(r._isFixedTableRendering||"filter"===l)&&(n=(t=r.getFixedColumns())[(i=m(t))-1]),r._isFixedTableRendering?"transparent"===s&&(c.addClass("dx-pointer-events-none").toggleClass("dx-first-cell",0===i||n&&"expand"===n.command).toggleClass("dx-last-cell",t.length&&i===t.length-1),"freeSpace"!==l&&a.default.setEmptyText(c)):"filter"===l&&c.toggleClass("dx-first-cell",e.columnIndex===i);var u=r.option("rowAlternationEnabled")&&e.isAltRow;return d.default.mozilla&&e.column.fixed&&"group"!==e.rowType&&!u&&c.addClass("dx-col-fixed"),c},_wrapTableInScrollContainer:function(){var e=this.callBase.apply(this,arguments);return this._isFixedTableRendering&&e.addClass(this.addWidgetPrefix("content-fixed")+" dx-pointer-events-target"),e},_renderCellContent:function(e,t){var n,i=t.column,r=this._isFixedTableRendering,o="group"===t.rowType&&(0,l.isDefined)(i.groupIndex);if(r&&o&&!i.command&&!i.groupCellTemplate&&e.css("pointerEvents","none"),!r&&this._isFixedColumns){if(n=i.fixed||i.command&&!1!==i.fixed,o&&(n=!1,t.row.summaryCells&&t.row.summaryCells.length)){var s=this._columnsController.getVisibleColumns(),a=this._getAlignByColumnCellCount?this._getAlignByColumnCellCount(i.colspan,{columns:s,row:t.row,isFixed:!0}):0;if(a>0){var c=m(this._columnsController.getFixedColumns());n=s.length-a<c}}if(n){if(this.option("legacyRendering")||i.command&&"buttons"!==i.type||"group"===t.rowType)return void e.html("&nbsp;").addClass(i.cssClass);e.addClass("dx-hidden-cell")}}"transparent"!==i.command&&this.callBase(e,t)},_getCellElementsCore:function(e){var t=this,n=t.callBase(e),i=n.parent().hasClass("dx-group-row"),r="columnHeadersView"===t.name?e:void 0;if(t._fixedTableElement&&n){var o=t.getFixedColumns(r),s=t._getRowElements(t._fixedTableElement).eq(e).children("td");
1(0,u.each)(s,(function(e,a){if(i)n[e]&&"hidden"!==a.style.visibility&&(n[e]=a);else{var l=o[e];if(l)if("transparent"===l.command)s.eq(e).hasClass("dx-master-detail-cell")&&(n[e]=a||n[e]);else{var c=t._columnsController.getVisibleIndex(l.index,r);n[c]=a||n[c]}}}))}return n},getColumnWidths:function(){var e,t=this.callBase(),n=this.getFixedColumns();return this._fixedTableElement&&t.length&&(e=this.callBase(this._fixedTableElement)),g(n,t,e)},_getTableElement:function(){return this._isFixedTableRendering?this._fixedTableElement:this.callBase()},_setTableElement:function(e){this._isFixedTableRendering?this._fixedTableElement=e.addClass("dx-pointer-events-none"):this.callBase(e)},getColumns:function(e,t){return t=t||this._getTableElement(),this._isFixedTableRendering||t&&t.closest("table").parent("."+this.addWidgetPrefix("content-fixed")).length?this.getFixedColumns(e):this.callBase(e,t)},getRowIndex:function(e){var t=this._fixedTableElement;return t&&t.find(e).length?this._getRowElements(t).index(e):this.callBase(e)},getTableElements:function(){var e=this.callBase.apply(this,arguments);return this._fixedTableElement&&(e=(0,i.default)([e.get(0),this._fixedTableElement.get(0)])),e},getFixedColumns:function(e){return this._columnsController.getFixedColumns(e)},getFixedColumnsOffset:function(){var e,t={left:0,right:0};if(this._fixedTableElement){var n=(e=this.getTransparentColumnElement()).position();t={left:n.left,right:this.element().outerWidth(!0)-(e.outerWidth(!0)+n.left)}}return t},getTransparentColumnElement:function(){return this._fixedTableElement&&this._fixedTableElement.find(".dx-pointer-events-none").first()},getFixedTableElement:function(){return this._fixedTableElement},isFixedColumns:function(){return this._isFixedColumns},_resizeCore:function(){this.callBase(),this.synchronizeRows()},setColumnWidths:function(e){var t,n=this._columnsController.getVisibleColumns(),i=e.widths,r=i&&i.length&&(0,l.isDefined)(n[0].visibleWidth),o=e.optionNames,s=o&&o.width,a=!1;if(this.callBase.apply(this,arguments),this._fixedTableElement){if(this.option("legacyRendering"))a=i&&i.length&&!this.isScrollbarVisible(!0);else{var u=i&&i.some((function(e){return"auto"===e}));a=u&&(!r||!this.isScrollbarVisible(!0))}a&&(t=n),this.callBase((0,c.extend)({},e,{$tableElement:this._fixedTableElement,columns:t,fixed:!0}))}(r||s&&this.option("wordWrapEnabled"))&&this.synchronizeRows()},_createColGroup:function(e){if(!this.option("legacyRendering")&&this._isFixedTableRendering&&!this.option("columnAutoWidth")){var t=this._columnsController.getVisibleColumns();t.filter((function(e){return!e.width})).length&&(e=t)}return this.callBase(e)},_getClientHeight:function(e){var t=e.getBoundingClientRect&&e.getBoundingClientRect();return t&&t.height?t.height:e.clientHeight},synchronizeRows:function(){var e,t,n,i,r=[],o=[];if(this._isFixedColumns&&this._tableElement&&this._fixedTableElement){var s=this._getClientHeight(this._tableElement.get(0)),a=this._getClientHeight(this._fixedTableElement.get(0));if(t=this._getRowElements(this._tableElement),n=this._getRowElements(this._fixedTableElement),i=this._findContentElement(),s!==a){for(i&&i.css("height",s),t.css("height",""),n.css("height",""),e=0;e<t.length;e++)r.push(this._getClientHeight(t.get(e))),o.push(this._getClientHeight(n.get(e)));for(e=0;e<t.length;e++){var l=r[e],c=o[e];l>c?n.eq(e).css("height",l):l<c&&t.eq(e).css("height",c)}i&&i.css("height","")}}},setScrollerSpacing:function(e){var t=this.option("rtlEnabled");this.callBase(e),this.element().children("."+this.addWidgetPrefix("content-fixed")).css({paddingLeft:t?e:"",paddingRight:t?"":e})}},b=(0,c.extend)({},_,{_getRowVisibleColumns:function(e){return this._isFixedTableRendering?this.getFixedColumns(e):this.callBase(e)},getContextMenuItems:function(e){var t=this,n=e.column,i=t.option("columnFixing"),r=t.callBase(e);if(e.row&&"header"===e.row.rowType&&n&&n.allowFixing){var o=function(e){switch(e.itemData.value){case"none":t._columnsController.columnOption(n.index,"fixed",!1);break;case"left":t._columnsController.columnOption(n.index,{fixed:!0,fixedPosition:"left"});break;case"right":t._columnsController.columnOption(n.index,{fixed:!0,fixedPosition:"right"})}};(r=r||[]).push({text:i.texts.fix,beginGroup:!0,items:[{text:i.texts.leftPosition,value:"left",disabled:n.fixed&&(!n.fixedPosition||"left"===n.fixedPosition),onItemClick:o},{text:i.texts.rightPosition,value:"right",disabled:n.fixed&&"right"===n.fixedPosition,onItemClick:o}]},{text:i.texts.unfix,value:"none",disabled:!n.fixed,onItemClick:o})}return r},getFixedColumnElements:function(e){if((0,l.isDefined)(e))return this._fixedTableElement&&this._getRowElements(this._fixedTableElement).eq(e).children();var t=this.getColumnElements(),n=this.getTransparentColumnElement();if(t&&n&&n.length){var i=m(this.getFixedColumns());t.splice(i,n.get(0).colSpan,n.get(0))}return t},getColumnWidths:function(){var e,t=this.callBase(),n=this.getFixedColumnElements(),i=this.getFixedColumns();return this._fixedTableElement&&(e=n&&n.length?this._getWidths(n):this.callBase(this._fixedTableElement)),g(i,t,e)}}),v=(0,c.extend)({}
1,_,{_detachHoverEvents:function(){this._fixedTableElement&&r.default.off(this._fixedTableElement,"mouseover mouseout",".dx-data-row"),this._tableElement&&r.default.off(this._tableElement,"mouseover mouseout",".dx-data-row")},_attachHoverEvents:function(){var e=this,t=function(t){r.default.on(t,"mouseover mouseout",".dx-data-row",e.createAction((function(t){var n=t.event,r=e.getRowIndex((0,i.default)(n.target).closest(".dx-row")),o="mouseover"===n.type;r>=0&&(e._tableElement&&e._getRowElements(e._tableElement).eq(r).toggleClass("dx-state-hover",o),e._fixedTableElement&&e._getRowElements(e._fixedTableElement).eq(r).toggleClass("dx-state-hover",o))})))};e._fixedTableElement&&e._tableElement&&(t(e._fixedTableElement),t(e._tableElement))},_findContentElement:function(){var e,t,n=this,s=n.addWidgetPrefix("content"),a=n.element(),l=d.default.mozilla?60:0;if(a&&n._isFixedTableRendering){e=a.children("."+s);var c=n.getScrollable();return!e.length&&c&&(e=(0,i.default)("<div>").addClass(s),r.default.on(e,"scroll",(function(e){clearTimeout(n._fixedScrollTimeout),n._fixedScrollTimeout=setTimeout((function(){t=(0,i.default)(e.target).scrollTop(),c.scrollTo({y:t})}),l)})),r.default.on(e,o.default.name,(function(e){if(c&&(t=c.scrollTop(),c.scrollTo({y:t-e.delta}),c.scrollTop()>0&&c.scrollTop()+c.clientHeight()<c.scrollHeight()+n.getScrollbarWidth()))return!1})),e.appendTo(a)),e}return n.callBase()},_updateScrollable:function(){this.callBase();var e=this.getScrollable(),t=e&&e.scrollOffset().top;this._updateFixedTablePosition(t)},_renderContent:function(e,t){return this._isFixedTableRendering?e.empty().addClass(this.addWidgetPrefix("content")+" "+this.addWidgetPrefix("content-fixed")+" dx-pointer-events-target").append(t):this.callBase(e,t)},_getGroupCellOptions:function(e){return this.callBase(this._isFixedTableRendering?(0,c.extend)({},e,{columns:this._columnsController.getVisibleColumns()}):e)},_renderGroupedCells:function(e,t){return this.callBase(e,(0,c.extend)({},t,{columns:this._columnsController.getVisibleColumns()}))},_renderGroupSummaryCells:function(e,t){this.callBase(e,this._isFixedTableRendering?(0,c.extend)({},t,{columns:this._columnsController.getVisibleColumns()}):t)},_hasAlignByColumnSummaryItems:function(e,t){var n=this.callBase.apply(this,arguments),i=t.columns[e];return t.isFixed?i.fixed&&(n||"right"===i.fixedPosition):n&&!i.fixed},_renderGroupSummaryCellsCore:function(e,t,n,i){var r;if(this._isFixedTableRendering){t.isFixed=!0,r=this._getAlignByColumnCellCount(n,t),t.isFixed=!1;var o=t.columns.length-r;t=(0,c.extend)({},t,{columns:this.getFixedColumns()});var s=m(t.columns);o<s?(r-=t.columns[s].colspan-1||0,n-=t.columns[s].colspan-1||0):i>0&&e.css("visibility","hidden"),i=r}this.callBase(e,t,n,i)},_getSummaryCellIndex:function(e,t){if(this._isFixedTableRendering){var n=m(t);return e>n&&(e+=t[n].colspan-1),e}return this.callBase.apply(this,arguments)},_renderCore:function(e){this._detachHoverEvents(),this.callBase(e);var t=this._isFixedColumns;this.element().toggleClass("dx-fixed-columns",t),this.option("hoverStateEnabled")&&t&&this._attachHoverEvents()},setRowsOpacity:function(e,t){this.callBase(e,t);var n=this._getRowElements(this._fixedTableElement);this._setRowsOpacityCore(n,this.getFixedColumns(),e,t)},optionChanged:function(e){this.callBase(e),"hoverStateEnabled"===e.name&&this._isFixedColumns&&(e.value?this._attachHoverEvents():this._detachHoverEvents())},getCellIndex:function(e){var t=this._fixedTableElement,n=0;if(t&&e.is("td")&&e.closest(t).length){var i=this.getFixedColumns();return(0,u.each)(i,(function(t,i){if(t===e[0].cellIndex)return!1;i.colspan?n+=i.colspan:n++})),n}return this.callBase.apply(this,arguments)},_updateFixedTablePosition:function(e,t){if(this._fixedTableElement&&this._tableElement){var n,i=this.getController("editorFactory");this._fixedTableElement.parent().scrollTop(e),t&&(n=i.focus())&&i.focus(n)}},setScrollerSpacing:function(e,t){var n={marginBottom:0},i=this.element().children("."+this.addWidgetPrefix("content-fixed"));i.length&&this._fixedTableElement&&(i.css(n),this._fixedTableElement.css(n),n[this.option("rtlEnabled")?"marginLeft":"marginRight"]=e,n.marginBottom=t,(this._scrollable&&this._scrollable.option("useNative")?i:this._fixedTableElement).css(n))},_getElasticScrollTop:function(e){var t=0,n=this.getScrollbarWidth(!0);if(e.scrollOffset.top<0)t=-e.scrollOffset.top;else if(e.reachedBottom){var i=this._findContentElement(),r=e.component._container();
1t=Math.max(i.height()+n-r.height(),0)-e.scrollOffset.top}return t},_applyElasticScrolling:function(e){if(this._fixedTableElement){var t=this._getElasticScrollTop(e);0!==Math.ceil(t)?h.default.move(this._fixedTableElement,{top:t}):this._fixedTableElement.css("transform","")}},_handleScroll:function(e){this._updateFixedTablePosition(e.scrollOffset.top,!0),this._applyElasticScrolling(e),this.callBase(e)},_updateContentPosition:function(e){this.callBase.apply(this,arguments),e||this._updateFixedTablePosition(this._scrollTop)},_afterRowPrepared:function(e){this._isFixedTableRendering||this.callBase(e)},_scrollToElement:function(e){this.callBase(e,this.getFixedColumnsOffset())},dispose:function(){this.callBase.apply(this,arguments),clearTimeout(this._fixedScrollTimeout)}});e.exports={defaultOptions:function(){return{columnFixing:{enabled:!1,texts:{fix:s.default.format("dxDataGrid-columnFixingFix"),unfix:s.default.format("dxDataGrid-columnFixingUnfix"),leftPosition:s.default.format("dxDataGrid-columnFixingLeftPosition"),rightPosition:s.default.format("dxDataGrid-columnFixingRightPosition")}}}},extenders:{views:{columnHeadersView:b,rowsView:v,footerView:_},controllers:(f=function(e,t,n){var i=m(t),r=e.length-t.length;return(0,u.each)(n,(function(e,t){t.index>i&&(t.columnIndex+=r,t.index+=r)})),n},{draggingHeader:{_generatePointsByColumns:function(e){var t=e.columns,n=e.targetDraggingPanel;if(n&&"headers"===n.getName()&&n.isFixedColumns()&&e.sourceColumn.fixed){e.rowIndex||(e.columnElements=n.getFixedColumnElements(0)),e.columns=n.getFixedColumns(e.rowIndex);var i=this.callBase(e);return f(t,e.columns,i),i}return this.callBase(e)},_pointCreated:function(e,t,n,i){var r=this.callBase.apply(this,arguments),o=this._columnHeadersView.getTransparentColumnElement();if(!r&&"headers"===n&&o&&o.length){var s=o.get(0).getBoundingClientRect();return i&&i.fixed?"right"===i.fixedPosition?e.x<s.right:e.x>s.left:e.x<s.left||e.x>s.right}return r}},columnsResizer:{_generatePointsByColumns:function(){var e=this,t=e._columnsController,n=t&&e._columnsController.getVisibleColumns(),i=t&&e._columnsController.getFixedColumns(),r=e._columnHeadersView.getFixedColumnElements(),o=[];e.callBase(),r&&r.length>0&&(o=a.default.getPointsByColumns(r,(function(t){return e._pointCreated(t,r.length,i)})),e._pointsByFixedColumns=f(n,i,o))},_pointCreated:function(e,t,n){var i="widget"===this.option("columnResizingMode");if(e.index>0&&e.index<t){var r=n[e.columnIndex-1]||{},o=n[e.columnIndex]||{};if(r.fixed||o.fixed)return e.columnIndex-=1,!((r.allowResizing||"transparent"===r.command)&&(i||o.allowResizing||"transparent"===o.command))}return this.callBase.apply(this,arguments)},_getTargetPoint:function(e,t,n){var i=this._columnHeadersView.getTransparentColumnElement();if(i&&i.length){var r=i.get(0).getBoundingClientRect();if(t<=r.left||t>=r.right)return this.callBase(this._pointsByFixedColumns,t,n)}return this.callBase(e,t,n)}}})}}},"6t9p":function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return D})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return L})),n.d(t,"f",(function(){return A})),n.d(t,"g",(function(){return U})),n.d(t,"h",(function(){return _})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return xe})),n.d(t,"k",(function(){return Se})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return F})),n.d(t,"n",(function(){return Ee})),n.d(t,"o",(function(){return h})),n.d(t,"p",(function(){return a})),n.d(t,"q",(function(){return l})),n.d(t,"r",(function(){return c})),n.d(t,"s",(function(){return C})),n.d(t,"t",(function(){return x})),n.d(t,"u",(function(){return S})),n.d(t,"v",(function(){return k})),n.d(t,"w",(function(){return T})),n.d(t,"x",(function(){return O})),n.d(t,"y",(function(){return R})),n.d(t,"z",(function(){return P})),n.d(t,"A",(function(){return B})),n.d(t,"B",(function(){return H})),n.d(t,"C",(function(){return V})),n.d(t,"D",(function(){return z})),n.d(t,"E",(function(){return N})),n.d(t,"F",(function(){return j})),n.d(t,"G",(function(){return Y})),n.d(t,"H",(function(){return W})),n.d(t,"I",(function(){return Q})),n.d(t,"J",(function(){return $})),n.d(t,"K",(function(){return G})),n.d(t,"L",(function(){return K})),n.d(t,"M",(function(){return q})),n.d(t,"N",(function(){return J})),n.d(t,"O",(function(){return X})),n.d(t,"P",(function(){return Z})),n.d(t,"Q",(function(){return ee})),n.d(t,"R",(function(){return te})),n.d(t,"S",(function(){return ne})),n.d(t,"T",(function(){return ie})),n.d(t,"U",(function(){return re})),n.d(t,"V",(function(){return oe})),n.d(t,"W",(function(){return se})),n.d(t,"X",(function(){return ae})),n.d(t,"Y",(function(){return le})),n.d(t,"Z",(function(){return ce})),n.d(t,"ab",(function(){return ue})),n.d(t,"bb",(function(){return de})),n.d(t,"cb",(function(){return he})),n.d(t,"db",(function(){return pe})),n.d(t,"eb",(function(){return fe})),n.d(t,"fb",(function(){return me})),n.d(t,"gb",(function(){return ge})),n.d(t,"hb",(function(){return _e})),n.d(t,"ib",(function(){return be})),n.d(t,"jb",(function(){return ve})),n.d(t,"kb",(function(){return ye})),n.d(t,"lb",(function(){return we})),n.d(t,"mb",(function(){return Ce})),n.d(t,"nb",(function(){return ke})),n.d(t,"ob",(function(){return Te})),n.d(t,"pb",(function(){return Ie})),n.d(t,"qb",(function(){return De})),n.d(t,"rb",(function(){return Me})),n.d(t,"sb",(function(){return Oe}));var i=n("PVOt"),r=n("ofXK"),o=(n("14X2"),n("fXoL"));const s=["*"];let a=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),l=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),c=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})();class u extends i.a{get disabled(){return this._getOption("disabled")}set disabled(e){this._setOption("disabled",e)}get html(){return this._getOption("html")}set html(e){this._setOption("html",e)}get icon(){return this._getOption("icon")}set icon(e){this._setOption("icon",e)}get template(){return this._getOption("template")}set template(e){this._setOption("template",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}get title(){return this._getOption("title")}set title(e){this._setOption("title",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get onClick(){return this._getOption("onClick")}set onClick(e){this._setOption("onClick",e)}get type(){return this._getOption("type")}set type(e){this._setOption("type",e)}get baseSize(){return this._getOption("baseSize")}set baseSize(e){this._setOption("baseSize",e)}get box(){return this._getOption("box")}set box(e){this._setOption("box",e)}get ratio(){return this._getOption("ratio")}set ratio(e){this._setOption("ratio",e)}get shrink(){return this._getOption("shrink")}set shrink(e){this._setOption("shrink",e)}get hint(){return this._getOption("hint")}set hint(e){this._setOption("hint",e)}get beginGroup(){return this._getOption("beginGroup")}set beginGroup(e){this._setOption("beginGroup",e)}get closeMenuOnClick(){return this._getOption("closeMenuOnClick")}set closeMenuOnClick(e){this._setOption("closeMenuOnClick",e)}get items(){return this._getOption("items")}set items(e){this._setOption("items",e)}get selectable(){return this._getOption("selectable")}set selectable(e){this._setOption("selectable",e)}get selected(){return this._getOption("selected")}set selected(e){this._setOption("selected",e)}
1get colSpan(){return this._getOption("colSpan")}set colSpan(e){this._setOption("colSpan",e)}get cssClass(){return this._getOption("cssClass")}set cssClass(e){this._setOption("cssClass",e)}get dataField(){return this._getOption("dataField")}set dataField(e){this._setOption("dataField",e)}get editorOptions(){return this._getOption("editorOptions")}set editorOptions(e){this._setOption("editorOptions",e)}get editorType(){return this._getOption("editorType")}set editorType(e){this._setOption("editorType",e)}get helpText(){return this._getOption("helpText")}set helpText(e){this._setOption("helpText",e)}get isRequired(){return this._getOption("isRequired")}set isRequired(e){this._setOption("isRequired",e)}get itemType(){return this._getOption("itemType")}set itemType(e){this._setOption("itemType",e)}get label(){return this._getOption("label")}set label(e){this._setOption("label",e)}get name(){return this._getOption("name")}set name(e){this._setOption("name",e)}get validationRules(){return this._getOption("validationRules")}set validationRules(e){this._setOption("validationRules",e)}get visibleIndex(){return this._getOption("visibleIndex")}set visibleIndex(e){this._setOption("visibleIndex",e)}get alignItemLabels(){return this._getOption("alignItemLabels")}set alignItemLabels(e){this._setOption("alignItemLabels",e)}get caption(){return this._getOption("caption")}set caption(e){this._setOption("caption",e)}get colCount(){return this._getOption("colCount")}set colCount(e){this._setOption("colCount",e)}get colCountByScreen(){return this._getOption("colCountByScreen")}set colCountByScreen(e){this._setOption("colCountByScreen",e)}get tabPanelOptions(){return this._getOption("tabPanelOptions")}set tabPanelOptions(e){this._setOption("tabPanelOptions",e)}get tabs(){return this._getOption("tabs")}set tabs(e){this._setOption("tabs",e)}get badge(){return this._getOption("badge")}set badge(e){this._setOption("badge",e)}get tabTemplate(){return this._getOption("tabTemplate")}set tabTemplate(e){this._setOption("tabTemplate",e)}get alignment(){return this._getOption("alignment")}set alignment(e){this._setOption("alignment",e)}get buttonOptions(){return this._getOption("buttonOptions")}set buttonOptions(e){this._setOption("buttonOptions",e)}get horizontalAlignment(){return this._getOption("horizontalAlignment")}set horizontalAlignment(e){this._setOption("horizontalAlignment",e)}get verticalAlignment(){return this._getOption("verticalAlignment")}set verticalAlignment(e){this._setOption("verticalAlignment",e)}get height(){return this._getOption("height")}set height(e){this._setOption("height",e)}get width(){return this._getOption("width")}set width(e){this._setOption("width",e)}get locateInMenu(){return this._getOption("locateInMenu")}set locateInMenu(e){this._setOption("locateInMenu",e)}get location(){return this._getOption("location")}set location(e){this._setOption("location",e)}get menuItemTemplate(){return this._getOption("menuItemTemplate")}set menuItemTemplate(e){this._setOption("menuItemTemplate",e)}get options(){return this._getOption("options")}set options(e){this._setOption("options",e)}get showText(){return this._getOption("showText")}set showText(e){this._setOption("showText",e)}get widget(){return this._getOption("widget")}set widget(e){this._setOption("widget",e)}get imageAlt(){return this._getOption("imageAlt")}set imageAlt(e){this._setOption("imageAlt",e)}get imageSrc(){return this._getOption("imageSrc")}set imageSrc(e){this._setOption("imageSrc",e)}get formatName(){return this._getOption("formatName")}set formatName(e){this._setOption("formatName",e)}get formatValues(){return this._getOption("formatValues")}set formatValues(e){this._setOption("formatValues",e)}get key(){return this._getOption("key")}set key(e){this._setOption("key",e)}get showChevron(){return this._getOption("showChevron")}set showChevron(e){this._setOption("showChevron",e)}get menuTemplate(){return this._getOption("menuTemplate")}set menuTemplate(e){this._setOption("menuTemplate",e)}get heightRatio(){return this._getOption("heightRatio")}set heightRatio(e){this._setOption("heightRatio",e)}get widthRatio(){return this._getOption("widthRatio")}set widthRatio(e){this._setOption("widthRatio",e)}get expanded(){return this._getOption("expanded")}set expanded(e){this._setOption("expanded",e)}get hasItems(){return this._getOption("hasItems")}set hasItems(e){this._setOption("hasItems",e)}get parentId(){return this._getOption("parentId")}set parentId(e){this._setOption("parentId",e)}}let d=(()=>{let e=class extends i.a{constructor(e,t){super(),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get message(){return this._getOption("message")}set message(e){this._setOption("message",e)}get trim(){return this._getOption("trim")}set trim(e){this._setOption("trim",e)}get type(){return this._getOption("type")}set type(e){this._setOption("type",e)}get ignoreEmptyValue(){return this._getOption("ignoreEmptyValue")}set ignoreEmptyValue(e){this._setOption("ignoreEmptyValue",e)}get max(){return this._getOption("max")}set max(e){this._setOption("max",e)}get min(){return this._getOption("min")}set min(e){this._setOption("min",e)}get reevaluate(){return this._getOption("reevaluate")}set reevaluate(e){this._setOption("reevaluate",e)}get validationCallback(){return this._getOption("validationCallback")}set validationCallback(e){this._setOption("validationCallback",e)}
1get comparisonTarget(){return this._getOption("comparisonTarget")}set comparisonTarget(e){this._setOption("comparisonTarget",e)}get comparisonType(){return this._getOption("comparisonType")}set comparisonType(e){this._setOption("comparisonType",e)}get pattern(){return this._getOption("pattern")}set pattern(e){this._setOption("pattern",e)}get _optionPath(){return"validationRules"}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxi-validation-rule"]],inputs:{message:"message",trim:"trim",type:"type",ignoreEmptyValue:"ignoreEmptyValue",max:"max",min:"min",reevaluate:"reevaluate",validationCallback:"validationCallback",comparisonTarget:"comparisonTarget",comparisonType:"comparisonType",pattern:"pattern"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),h=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),p=(()=>{let e=class extends i.a{constructor(e,t,n,i,r,o){super(),this.renderer=n,this.document=i,this.element=o,e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this)),r.setHost(this)}get alignItemLabels(){return this._getOption("alignItemLabels")}set alignItemLabels(e){this._setOption("alignItemLabels",e)}get badge(){return this._getOption("badge")}set badge(e){this._setOption("badge",e)}get colCount(){return this._getOption("colCount")}set colCount(e){this._setOption("colCount",e)}get colCountByScreen(){return this._getOption("colCountByScreen")}set colCountByScreen(e){this._setOption("colCountByScreen",e)}get disabled(){return this._getOption("disabled")}set disabled(e){this._setOption("disabled",e)}get icon(){return this._getOption("icon")}set icon(e){this._setOption("icon",e)}get items(){return this._getOption("items")}set items(e){this._setOption("items",e)}get tabTemplate(){return this._getOption("tabTemplate")}set tabTemplate(e){this._setOption("tabTemplate",e)}get template(){return this._getOption("template")}set template(e){this._setOption("template",e)}get title(){return this._getOption("title")}set title(e){this._setOption("title",e)}get _optionPath(){return"tabs"}get itemsChildren(){return this._getOption("items")}set itemsChildren(e){this.setChildren("items",e)}setTemplate(e){this.template=e}ngAfterViewInit(){Object(i.k)(this,this.element,this.renderer,this.document)}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1),o.Lb(o.D),o.Lb(r.c),o.Lb(i.e,1),o.Lb(o.l))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxi-tab"]],contentQueries:function(e,t,n){var i;1&e&&o.Eb(n,_,!1),2&e&&o.tc(i=o.bc())&&(t.itemsChildren=i)},inputs:{alignItemLabels:"alignItemLabels",badge:"badge",colCount:"colCount",colCountByScreen:"colCountByScreen",disabled:"disabled",icon:"icon",items:"items",tabTemplate:"tabTemplate",template:"template",title:"title"},features:[o.yb([i.i,i.e]),o.wb],ngContentSelectors:s,decls:1,vars:0,template:function(e,t){1&e&&(o.jc(),o.ic(0))},styles:["[_nghost-%COMP%] { display: block; }"]}),e})(),f=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),m=(()=>{let e=class extends i.a{constructor(e,t){super(),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get lat(){return this._getOption("lat")}set lat(e){this._setOption("lat",e)}get lng(){return this._getOption("lng")}set lng(e){this._setOption("lng",e)}get col(){return this._getOption("col")}set col(e){this._setOption("col",e)}get colspan(){return this._getOption("colspan")}set colspan(e){this._setOption("colspan",e)}get row(){return this._getOption("row")}set row(e){this._setOption("row",e)}get rowspan(){return this._getOption("rowspan")}set rowspan(e){this._setOption("rowspan",e)}get screen(){return this._getOption("screen")}set screen(e){this._setOption("screen",e)}get _optionPath(){return"location"}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxi-location"]],inputs:{lat:"lat",lng:"lng",col:"col",colspan:"colspan",row:"row",rowspan:"rowspan",
1screen:"screen"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})();var g;let _=(()=>{let e=g=class extends u{constructor(e,t,n,i,r,o){super(),this.renderer=n,this.document=i,this.element=o,e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this)),r.setHost(this)}get _optionPath(){return"items"}get itemsChildren(){return this._getOption("items")}set itemsChildren(e){this.setChildren("items",e)}get validationRulesChildren(){return this._getOption("validationRules")}set validationRulesChildren(e){this.setChildren("validationRules",e)}get tabsChildren(){return this._getOption("tabs")}set tabsChildren(e){this.setChildren("tabs",e)}get locationChildren(){return this._getOption("location")}set locationChildren(e){this.setChildren("location",e)}setTemplate(e){this.template=e}ngAfterViewInit(){Object(i.k)(this,this.element,this.renderer,this.document)}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1),o.Lb(o.D),o.Lb(r.c),o.Lb(i.e,1),o.Lb(o.l))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxi-item"]],contentQueries:function(e,t,n){var i;1&e&&(o.Eb(n,g,!1),o.Eb(n,d,!1),o.Eb(n,p,!1),o.Eb(n,m,!1)),2&e&&(o.tc(i=o.bc())&&(t.itemsChildren=i),o.tc(i=o.bc())&&(t.validationRulesChildren=i),o.tc(i=o.bc())&&(t.tabsChildren=i),o.tc(i=o.bc())&&(t.locationChildren=i))},inputs:{disabled:"disabled",html:"html",icon:"icon",template:"template",text:"text",title:"title",visible:"visible",onClick:"onClick",type:"type",baseSize:"baseSize",box:"box",ratio:"ratio",shrink:"shrink",hint:"hint",beginGroup:"beginGroup",closeMenuOnClick:"closeMenuOnClick",items:"items",selectable:"selectable",selected:"selected",colSpan:"colSpan",cssClass:"cssClass",dataField:"dataField",editorOptions:"editorOptions",editorType:"editorType",helpText:"helpText",isRequired:"isRequired",itemType:"itemType",label:"label",name:"name",validationRules:"validationRules",visibleIndex:"visibleIndex",alignItemLabels:"alignItemLabels",caption:"caption",colCount:"colCount",colCountByScreen:"colCountByScreen",tabPanelOptions:"tabPanelOptions",tabs:"tabs",badge:"badge",tabTemplate:"tabTemplate",alignment:"alignment",buttonOptions:"buttonOptions",horizontalAlignment:"horizontalAlignment",verticalAlignment:"verticalAlignment",height:"height",width:"width",locateInMenu:"locateInMenu",location:"location",menuItemTemplate:"menuItemTemplate",options:"options",showText:"showText",widget:"widget",imageAlt:"imageAlt",imageSrc:"imageSrc",formatName:"formatName",formatValues:"formatValues",key:"key",showChevron:"showChevron",menuTemplate:"menuTemplate",heightRatio:"heightRatio",widthRatio:"widthRatio",expanded:"expanded",hasItems:"hasItems",parentId:"parentId"},features:[o.yb([i.i,i.e]),o.wb],ngContentSelectors:s,decls:1,vars:0,template:function(e,t){1&e&&(o.jc(),o.ic(0))},styles:["[_nghost-%COMP%] { display: block; }"]}),e})(),b=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})();class v extends i.a{get location(){return this._getOption("location")}set location(e){this._setOption("location",e)}get name(){return this._getOption("name")}set name(e){this._setOption("name",e)}get options(){return this._getOption("options")}set options(e){this._setOption("options",e)}get cssClass(){return this._getOption("cssClass")}set cssClass(e){this._setOption("cssClass",e)}get hint(){return this._getOption("hint")}set hint(e){this._setOption("hint",e)}get icon(){return this._getOption("icon")}set icon(e){this._setOption("icon",e)}get onClick(){return this._getOption("onClick")}set onClick(e){this._setOption("onClick",e)}get template(){return this._getOption("template")}set template(e){this._setOption("template",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}}let y=(()=>{let e=class extends v{constructor(e,t){super(),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get _optionPath(){return"buttons"}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxi-button"]],inputs:{location:"location",name:"name",options:"options",cssClass:"cssClass",hint:"hint",icon:"icon",onClick:"onClick",template:"template",text:"text",visible:"visible"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),w=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),C=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),x=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),S=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),k=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),T=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})();class E extends i.a{get alignment(){return this._getOption("alignment")}set alignment(e){this._setOption("alignment",e)}get allowEditing(){return this._getOption("allowEditing")}set allowEditing(e){this._setOption("allowEditing",e)}get allowExporting(){return this._getOption("allowExporting")}set allowExporting(e){this._setOption("allowExporting",e)}get allowFiltering(){return this._getOption("allowFiltering")}set allowFiltering(e){this._setOption("allowFiltering",e)}get allowFixing(){return this._getOption("allowFixing")}set allowFixing(e){this._setOption("allowFixing",e)}get allowGrouping(){return this._getOption("allowGrouping")}set allowGrouping(e){this._setOption("allowGrouping",e)}get allowHeaderFiltering(){return this._getOption("allowHeaderFiltering")}set allowHeaderFiltering(e){this._setOption("allowHeaderFiltering",e)}get allowHiding(){return this._getOption("allowHiding")}set allowHiding(e){this._setOption("allowHiding",e)}get allowReordering(){return this._getOption("allowReordering")}set allowReordering(e){this._setOption("allowReordering",e)}get allowResizing(){return this._getOption("allowResizing")}set allowResizing(e){this._setOption("allowResizing",e)}get allowSearch(){return this._getOption("allowSearch")}set allowSearch(e){this._setOption("allowSearch",e)}get allowSorting(){return this._getOption("allowSorting")}set allowSorting(e){this._setOption("allowSorting",e)}get autoExpandGroup(){return this._getOption("autoExpandGroup")}set autoExpandGroup(e){this._setOption("autoExpandGroup",e)}get buttons(){return this._getOption("buttons")}set buttons(e){this._setOption("buttons",e)}get calculateCellValue(){return this._getOption("calculateCellValue")}set calculateCellValue(e){this._setOption("calculateCellValue",e)}get calculateDisplayValue(){return this._getOption("calculateDisplayValue")}set calculateDisplayValue(e){this._setOption("calculateDisplayValue",e)}get calculateFilterExpression(){return this._getOption("calculateFilterExpression")}set calculateFilterExpression(e){this._setOption("calculateFilterExpression",e)}get calculateGroupValue(){return this._getOption("calculateGroupValue")}set calculateGroupValue(e){this._setOption("calculateGroupValue",e)}get calculateSortValue(){return this._getOption("calculateSortValue")}set calculateSortValue(e){this._setOption("calculateSortValue",e)}get caption(){return this._getOption("caption")}set caption(e){this._setOption("caption",e)}get cellTemplate(){return this._getOption("cellTemplate")}set cellTemplate(e){this._setOption("cellTemplate",e)}
1get columns(){return this._getOption("columns")}set columns(e){this._setOption("columns",e)}get cssClass(){return this._getOption("cssClass")}set cssClass(e){this._setOption("cssClass",e)}get customizeText(){return this._getOption("customizeText")}set customizeText(e){this._setOption("customizeText",e)}get dataField(){return this._getOption("dataField")}set dataField(e){this._setOption("dataField",e)}get dataType(){return this._getOption("dataType")}set dataType(e){this._setOption("dataType",e)}get editCellTemplate(){return this._getOption("editCellTemplate")}set editCellTemplate(e){this._setOption("editCellTemplate",e)}get editorOptions(){return this._getOption("editorOptions")}set editorOptions(e){this._setOption("editorOptions",e)}get encodeHtml(){return this._getOption("encodeHtml")}set encodeHtml(e){this._setOption("encodeHtml",e)}get falseText(){return this._getOption("falseText")}set falseText(e){this._setOption("falseText",e)}get filterOperations(){return this._getOption("filterOperations")}set filterOperations(e){this._setOption("filterOperations",e)}get filterType(){return this._getOption("filterType")}set filterType(e){this._setOption("filterType",e)}get filterValue(){return this._getOption("filterValue")}set filterValue(e){this._setOption("filterValue",e)}get filterValues(){return this._getOption("filterValues")}set filterValues(e){this._setOption("filterValues",e)}get fixed(){return this._getOption("fixed")}set fixed(e){this._setOption("fixed",e)}get fixedPosition(){return this._getOption("fixedPosition")}set fixedPosition(e){this._setOption("fixedPosition",e)}get format(){return this._getOption("format")}set format(e){this._setOption("format",e)}get formItem(){return this._getOption("formItem")}set formItem(e){this._setOption("formItem",e)}get groupCellTemplate(){return this._getOption("groupCellTemplate")}set groupCellTemplate(e){this._setOption("groupCellTemplate",e)}get groupIndex(){return this._getOption("groupIndex")}set groupIndex(e){this._setOption("groupIndex",e)}get headerCellTemplate(){return this._getOption("headerCellTemplate")}set headerCellTemplate(e){this._setOption("headerCellTemplate",e)}get headerFilter(){return this._getOption("headerFilter")}set headerFilter(e){this._setOption("headerFilter",e)}get hidingPriority(){return this._getOption("hidingPriority")}set hidingPriority(e){this._setOption("hidingPriority",e)}get isBand(){return this._getOption("isBand")}set isBand(e){this._setOption("isBand",e)}get lookup(){return this._getOption("lookup")}set lookup(e){this._setOption("lookup",e)}get minWidth(){return this._getOption("minWidth")}set minWidth(e){this._setOption("minWidth",e)}get name(){return this._getOption("name")}set name(e){this._setOption("name",e)}get ownerBand(){return this._getOption("ownerBand")}set ownerBand(e){this._setOption("ownerBand",e)}get renderAsync(){return this._getOption("renderAsync")}set renderAsync(e){this._setOption("renderAsync",e)}get selectedFilterOperation(){return this._getOption("selectedFilterOperation")}set selectedFilterOperation(e){this._setOption("selectedFilterOperation",e)}get setCellValue(){return this._getOption("setCellValue")}set setCellValue(e){this._setOption("setCellValue",e)}get showEditorAlways(){return this._getOption("showEditorAlways")}set showEditorAlways(e){this._setOption("showEditorAlways",e)}get showInColumnChooser(){return this._getOption("showInColumnChooser")}set showInColumnChooser(e){this._setOption("showInColumnChooser",e)}get showWhenGrouped(){return this._getOption("showWhenGrouped")}set showWhenGrouped(e){this._setOption("showWhenGrouped",e)}get sortIndex(){return this._getOption("sortIndex")}set sortIndex(e){this._setOption("sortIndex",e)}get sortingMethod(){return this._getOption("sortingMethod")}set sortingMethod(e){this._setOption("sortingMethod",e)}get sortOrder(){return this._getOption("sortOrder")}set sortOrder(e){this._setOption("sortOrder",e)}get trueText(){return this._getOption("trueText")}set trueText(e){this._setOption("trueText",e)}get type(){return this._getOption("type")}set type(e){this._setOption("type",e)}get validationRules(){return this._getOption("validationRules")}set validationRules(e){this._setOption("validationRules",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get visibleIndex(){return this._getOption("visibleIndex")}set visibleIndex(e){this._setOption("visibleIndex",e)}get width(){return this._getOption("width")}set width(e){this._setOption("width",e)}}var I;let D=(()=>
1{let e=I=class extends E{constructor(e,t){super(),this._createEventEmitters([{emit:"filterValueChange"},{emit:"filterValuesChange"},{emit:"groupIndexChange"},{emit:"selectedFilterOperationChange"},{emit:"sortIndexChange"},{emit:"sortOrderChange"},{emit:"visibleChange"},{emit:"visibleIndexChange"}]),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get _optionPath(){return"columns"}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(e){this.setChildren("buttons",e)}get columnsChildren(){return this._getOption("columns")}set columnsChildren(e){this.setChildren("columns",e)}get validationRulesChildren(){return this._getOption("validationRules")}set validationRulesChildren(e){this.setChildren("validationRules",e)}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxi-column"]],contentQueries:function(e,t,n){var i;1&e&&(o.Eb(n,y,!1),o.Eb(n,I,!1),o.Eb(n,d,!1)),2&e&&(o.tc(i=o.bc())&&(t.buttonsChildren=i),o.tc(i=o.bc())&&(t.columnsChildren=i),o.tc(i=o.bc())&&(t.validationRulesChildren=i))},inputs:{alignment:"alignment",allowEditing:"allowEditing",allowExporting:"allowExporting",allowFiltering:"allowFiltering",allowFixing:"allowFixing",allowGrouping:"allowGrouping",allowHeaderFiltering:"allowHeaderFiltering",allowHiding:"allowHiding",allowReordering:"allowReordering",allowResizing:"allowResizing",allowSearch:"allowSearch",allowSorting:"allowSorting",autoExpandGroup:"autoExpandGroup",buttons:"buttons",calculateCellValue:"calculateCellValue",calculateDisplayValue:"calculateDisplayValue",calculateFilterExpression:"calculateFilterExpression",calculateGroupValue:"calculateGroupValue",calculateSortValue:"calculateSortValue",caption:"caption",cellTemplate:"cellTemplate",columns:"columns",cssClass:"cssClass",customizeText:"customizeText",dataField:"dataField",dataType:"dataType",editCellTemplate:"editCellTemplate",editorOptions:"editorOptions",encodeHtml:"encodeHtml",falseText:"falseText",filterOperations:"filterOperations",filterType:"filterType",filterValue:"filterValue",filterValues:"filterValues",fixed:"fixed",fixedPosition:"fixedPosition",format:"format",formItem:"formItem",groupCellTemplate:"groupCellTemplate",groupIndex:"groupIndex",headerCellTemplate:"headerCellTemplate",headerFilter:"headerFilter",hidingPriority:"hidingPriority",isBand:"isBand",lookup:"lookup",minWidth:"minWidth",name:"name",ownerBand:"ownerBand",renderAsync:"renderAsync",selectedFilterOperation:"selectedFilterOperation",setCellValue:"setCellValue",showEditorAlways:"showEditorAlways",showInColumnChooser:"showInColumnChooser",showWhenGrouped:"showWhenGrouped",sortIndex:"sortIndex",sortingMethod:"sortingMethod",sortOrder:"sortOrder",trueText:"trueText",type:"type",validationRules:"validationRules",visible:"visible",visibleIndex:"visibleIndex",width:"width"},outputs:{filterValueChange:"filterValueChange",filterValuesChange:"filterValuesChange",groupIndexChange:"groupIndexChange",selectedFilterOperationChange:"selectedFilterOperationChange",sortIndexChange:"sortIndexChange",sortOrderChange:"sortOrderChange",visibleChange:"visibleChange",visibleIndexChange:"visibleIndexChange"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),M=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),O=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),R=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),L=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),A=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),P=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),F=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),B=(()=>{let e=class extends i.h{constructor(e,t){super(),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get allowAdding(){return this._getOption("allowAdding")}set allowAdding(e){this._setOption("allowAdding",e)}get allowDeleting(){return this._getOption("allowDeleting")}set allowDeleting(e){this._setOption("allowDeleting",e)}get allowUpdating(){return this._getOption("allowUpdating")}set allowUpdating(e){this._setOption("allowUpdating",e)}get form(){return this._getOption("form")}set form(e){this._setOption("form",e)}get mode(){return this._getOption("mode")}set mode(e){this._setOption("mode",e)}get popup(){return this._getOption("popup")}set popup(e){this._setOption("popup",e)}get refreshMode(){return this._getOption("refreshMode")}set refreshMode(e){this._setOption("refreshMode",e)}get selectTextOnEditStart(){return this._getOption("selectTextOnEditStart")}set selectTextOnEditStart(e){this._setOption("selectTextOnEditStart",e)}get startEditAction(){return this._getOption("startEditAction")}set startEditAction(e){this._setOption("startEditAction",e)}get texts(){return this._getOption("texts")}set texts(e){this._setOption("texts",e)}get useIcons(){return this._getOption("useIcons")}set useIcons(e){this._setOption("useIcons",e)}get allowDependencyAdding(){return this._getOption("allowDependencyAdding")}set allowDependencyAdding(e){this._setOption("allowDependencyAdding",e)}get allowDependencyDeleting(){return this._getOption("allowDependencyDeleting")}set allowDependencyDeleting(e){this._setOption("allowDependencyDeleting",e)}get allowDependencyUpdating(){return this._getOption("allowDependencyUpdating")}set allowDependencyUpdating(e){this._setOption("allowDependencyUpdating",e)}
1get allowResourceAdding(){return this._getOption("allowResourceAdding")}set allowResourceAdding(e){this._setOption("allowResourceAdding",e)}get allowResourceDeleting(){return this._getOption("allowResourceDeleting")}set allowResourceDeleting(e){this._setOption("allowResourceDeleting",e)}get allowResourceUpdating(){return this._getOption("allowResourceUpdating")}set allowResourceUpdating(e){this._setOption("allowResourceUpdating",e)}get allowTaskAdding(){return this._getOption("allowTaskAdding")}set allowTaskAdding(e){this._setOption("allowTaskAdding",e)}get allowTaskDeleting(){return this._getOption("allowTaskDeleting")}set allowTaskDeleting(e){this._setOption("allowTaskDeleting",e)}get allowTaskUpdating(){return this._getOption("allowTaskUpdating")}set allowTaskUpdating(e){this._setOption("allowTaskUpdating",e)}get enabled(){return this._getOption("enabled")}set enabled(e){this._setOption("enabled",e)}get allowDragging(){return this._getOption("allowDragging")}set allowDragging(e){this._setOption("allowDragging",e)}get allowResizing(){return this._getOption("allowResizing")}set allowResizing(e){this._setOption("allowResizing",e)}get _optionPath(){return"editing"}ngOnInit(){this._addRecreatedComponent()}ngOnDestroy(){this._addRemovedOption(this._getOptionPath())}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxo-editing"]],inputs:{allowAdding:"allowAdding",allowDeleting:"allowDeleting",allowUpdating:"allowUpdating",form:"form",mode:"mode",popup:"popup",refreshMode:"refreshMode",selectTextOnEditStart:"selectTextOnEditStart",startEditAction:"startEditAction",texts:"texts",useIcons:"useIcons",allowDependencyAdding:"allowDependencyAdding",allowDependencyDeleting:"allowDependencyDeleting",allowDependencyUpdating:"allowDependencyUpdating",allowResourceAdding:"allowResourceAdding",allowResourceDeleting:"allowResourceDeleting",allowResourceUpdating:"allowResourceUpdating",allowTaskAdding:"allowTaskAdding",allowTaskDeleting:"allowTaskDeleting",allowTaskUpdating:"allowTaskUpdating",enabled:"enabled",allowDragging:"allowDragging",allowResizing:"allowResizing"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),H=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),V=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),N=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),z=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),j=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),Y=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),W=(()=>{let e=class extends i.h{constructor(e,t){super(),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get applyFilter(){return this._getOption("applyFilter")}set applyFilter(e){this._setOption("applyFilter",e)}get applyFilterText(){return this._getOption("applyFilterText")}set applyFilterText(e){this._setOption("applyFilterText",e)}get betweenEndText(){return this._getOption("betweenEndText")}set betweenEndText(e){this._setOption("betweenEndText",e)}get betweenStartText(){return this._getOption("betweenStartText")}set betweenStartText(e){this._setOption("betweenStartText",e)}get operationDescriptions(){return this._getOption("operationDescriptions")}set operationDescriptions(e){this._setOption("operationDescriptions",e)}get resetOperationText(){return this._getOption("resetOperationText")}set resetOperationText(e){this._setOption("resetOperationText",e)}get showAllText(){return this._getOption("showAllText")}set showAllText(e){this._setOption("showAllText",e)}get showOperationChooser(){return this._getOption("showOperationChooser")}
1set showOperationChooser(e){this._setOption("showOperationChooser",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get _optionPath(){return"filterRow"}ngOnInit(){this._addRecreatedComponent()}ngOnDestroy(){this._addRemovedOption(this._getOptionPath())}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxo-filter-row"]],inputs:{applyFilter:"applyFilter",applyFilterText:"applyFilterText",betweenEndText:"betweenEndText",betweenStartText:"betweenStartText",operationDescriptions:"operationDescriptions",resetOperationText:"resetOperationText",showAllText:"showAllText",showOperationChooser:"showOperationChooser",visible:"visible"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),Q=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),$=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),G=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),K=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),U=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),q=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),J=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),X=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),Z=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ee=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),te=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ne=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ie=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),re=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),oe=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),se=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ae=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),le=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ce=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ue=(()=>{let e=class extends i.h{constructor(e,t){super(),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get allowedPageSizes(){return this._getOption("allowedPageSizes")}set allowedPageSizes(e){this._setOption("allowedPageSizes",e)}get infoText(){return this._getOption("infoText")}set infoText(e){this._setOption("infoText",e)}get showInfo(){return this._getOption("showInfo")}set showInfo(e){this._setOption("showInfo",e)}get showNavigationButtons(){return this._getOption("showNavigationButtons")}set showNavigationButtons(e){this._setOption("showNavigationButtons",e)}get showPageSizeSelector(){return this._getOption("showPageSizeSelector")}set showPageSizeSelector(e){this._setOption("showPageSizeSelector",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get _optionPath(){return"pager"}ngOnInit(){this._addRecreatedComponent()}ngOnDestroy(){this._addRemovedOption(this._getOptionPath())}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxo-pager"]],inputs:{allowedPageSizes:"allowedPageSizes",infoText:"infoText",showInfo:"showInfo",showNavigationButtons:"showNavigationButtons",showPageSizeSelector:"showPageSizeSelector",visible:"visible"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),de=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),he=(()=>{let e=class extends i.h{constructor(e,t){super(),this._createEventEmitters([{emit:"pageIndexChange"},{emit:"pageSizeChange"}]),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get enabled(){return this._getOption("enabled")}set enabled(e){this._setOption("enabled",e)}get pageIndex(){return this._getOption("pageIndex")}set pageIndex(e){this._setOption("pageIndex",e)}get pageSize(){return this._getOption("pageSize")}set pageSize(e){this._setOption("pageSize",e)}get _optionPath(){return"paging"}
1ngOnInit(){this._addRecreatedComponent()}ngOnDestroy(){this._addRemovedOption(this._getOptionPath())}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxo-paging"]],inputs:{enabled:"enabled",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),pe=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),fe=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),me=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ge=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),_e=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),be=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ve=(()=>{let e=class extends i.h{constructor(e,t){super(),this._createEventEmitters([{emit:"textChange"}]),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get highlightCaseSensitive(){return this._getOption("highlightCaseSensitive")}set highlightCaseSensitive(e){this._setOption("highlightCaseSensitive",e)}get highlightSearchText(){return this._getOption("highlightSearchText")}set highlightSearchText(e){this._setOption("highlightSearchText",e)}get placeholder(){return this._getOption("placeholder")}set placeholder(e){this._setOption("placeholder",e)}get searchVisibleColumnsOnly(){return this._getOption("searchVisibleColumnsOnly")}set searchVisibleColumnsOnly(e){this._setOption("searchVisibleColumnsOnly",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get width(){return this._getOption("width")}set width(e){this._setOption("width",e)}get _optionPath(){return"searchPanel"}ngOnInit(){this._addRecreatedComponent()}ngOnDestroy(){this._addRemovedOption(this._getOptionPath())}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxo-search-panel"]],inputs:{highlightCaseSensitive:"highlightCaseSensitive",highlightSearchText:"highlightSearchText",placeholder:"placeholder",searchVisibleColumnsOnly:"searchVisibleColumnsOnly",text:"text",visible:"visible",width:"width"},outputs:{textChange:"textChange"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),ye=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),we=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),Ce=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),xe=(()=>{let e=class extends i.a{constructor(e,t){super(),e.setNestedOption(this),t.setHost(this,this._fullOptionPath.bind(this))}get groupColumn(){return this._getOption("groupColumn")}set groupColumn(e){this._setOption("groupColumn",e)}get sortOrder(){return this._getOption("sortOrder")}set sortOrder(e){this._setOption("sortOrder",e)}get summaryItem(){return this._getOption("summaryItem")}set summaryItem(e){this._setOption("summaryItem",e)}get _optionPath(){return"sortByGroupSummaryInfo"}};return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.i,5),o.Lb(i.i,1))},e.\u0275cmp=o.Fb({type:e,selectors:[["dxi-sort-by-group-summary-info"]],inputs:{groupColumn:"groupColumn",sortOrder:"sortOrder",summaryItem:"summaryItem"},features:[o.yb([i.i]),o.wb],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),Se=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ke=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),Te=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),Ee=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),Ie=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),De=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),Me=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),Oe=(()=>{let e=class{};return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})()},"7Bb+":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("CEub"));
1function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("pager",r.default)},"7BjC":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Ncy":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("l29I"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("validating",r.default)},"7OmB":function(e,t,n){"use strict";var i=g(n("FKN7")),r=g(n("jeLr")),o=n("ti0F"),s=n("1LL4"),a=n("JDOJ"),l=g(n("zl3R")),c=g(n("GYHJ")),u=g(n("8S5z")),d=g(n("imRD")),h=g(n("Lci2")),p=g(n("uHSv")),f=g(n("q43h")),m=n("Yt8F");function g(e){return e&&e.__esModule?e:{default:e}}var _={"=":"filter-operation-equals","<>":"filter-operation-not-equals","<":"filter-operation-less","<=":"filter-operation-less-equal",">":"filter-operation-greater",">=":"filter-operation-greater-equal",default:"filter-operation-default",notcontains:"filter-operation-not-contains",contains:"filter-operation-contains",startswith:"filter-operation-starts-with",endswith:"filter-operation-ends-with",between:"filter-operation-between"},b={"=":"equal","<>":"notEqual","<":"lessThan","<=":"lessThanOrEqual",">":"greaterThan",">=":"greaterThanOrEqual",startswith:"startsWith",contains:"contains",notcontains:"notContains",endswith:"endsWith",between:"between"},v=["date","datetime","number"];function y(e){return"onClick"===e.option("filterRow.applyFilter")}var w,C,x,S,k,T,E=(w=function(e){var t=e&&e.children(),n=t&&t.data("dxComponents"),i=n&&n.length&&t.data(n[0]);if(i instanceof h.default)return i},C=function(e,t){var n="",i="",r=x(e,t),s=u.default.getFormatOptionsByColumn(t,"filterRow");return Array.isArray(r)?(n=u.default.formatValue(r[0],s),""!==(i=u.default.formatValue(r[1],s)
1)&&(n+=" - "+i)):(0,o.isDefined)(r)&&(n=u.default.formatValue(r,s)),n},x=function(e,t){if(t)return y(e)&&void 0!==t.bufferedFilterValue?t.bufferedFilterValue:t.filterValue},S=function(e,t){if(t)return y(e)&&void 0!==t.bufferedSelectedFilterOperation?t.bufferedSelectedFilterOperation:t.selectedFilterOperation},k=function(e,t,n){var i=e._columnsController.columnOption(t),r=x(e,i),o=n.closest("."+e.addWidgetPrefix("filter-range-overlay")).length,s=n.hasClass(e.addWidgetPrefix("filter-range-start"));return r&&Array.isArray(r)&&"between"===S(e,i)?s?r[0]:r[1]:!o&&function(e,t){return!(t&&v.indexOf(t.dataType)>=0&&Array.isArray(e))&&void 0!==e}(r,i)?r:null},T=function(e,t){var n=""===t.value?null:t.value,i=t.container,r=e._columnsController.columnOption(t.column.index),s=k(e,r.index,i);((0,o.isDefined)(s)||(0,o.isDefined)(n))&&(e._applyFilterViewController.setHighLight(i,s!==n),e._columnsController.columnOption(r.index,y(e)?"bufferedFilterValue":"filterValue",function(e,t,n,i){if("between"===S(e,n)){var r=x(e,n);return i.hasClass(e.addWidgetPrefix("filter-range-start"))?[t,Array.isArray(r)?r[1]:void 0]:[Array.isArray(r)?r[0]:r,t]}return t}(e,n,r,i),t.notFireEvent))},{_updateEditorValue:function(e,t){var n=w(t);n&&n.option("value",k(this,e.index,t))},_columnOptionChanged:function(e){var t,n,r,o,s=e.optionNames;if(u.default.checkChanges(s,["filterValue","bufferedFilterValue","selectedFilterOperation","bufferedSelectedFilterOperation"])&&void 0!==e.columnIndex){var a=this._columnsController.getVisibleIndex(e.columnIndex),l=this._columnsController.columnOption(e.columnIndex);if(n=(t=this._getCellElement(this.element().find("."+this.addWidgetPrefix("filter-row")).index(),a)||(0,i.default)()).find(".dx-editor-container").first(),s.filterValue||s.bufferedFilterValue){this._updateEditorValue(l,n);var c=t.find("."+this.addWidgetPrefix("filter-range-overlay")).data("dxOverlay");c&&(r=c.$content().find(".dx-editor-container"),this._updateEditorValue(l,r.first()),this._updateEditorValue(l,r.last())),c&&c.option("visible")||this._updateFilterRangeContent(t,C(this,l))}(s.selectedFilterOperation||s.bufferedSelectedFilterOperation)&&a>=0&&l&&(o=t.find(".dx-menu")).length&&(this._updateFilterOperationChooser(o,l,n),"between"===S(this,l)?this._renderFilterRangeContent(t,l):n.find(".dx-filter-range-content").length&&(this._renderEditor(n,this._getEditorOptions(n,l)),this._hideFilterRange()))}else this.callBase(e)},_renderCore:function(){this._filterRangeOverlayInstance=null,this.callBase.apply(this,arguments)},_resizeCore:function(){this.callBase.apply(this,arguments),this._filterRangeOverlayInstance&&this._filterRangeOverlayInstance.repaint()},isFilterRowVisible:function(){return this._isElementVisible(this.option("filterRow"))},isVisible:function(){return this.callBase()||this.isFilterRowVisible()},init:function(){this.callBase(),this._applyFilterViewController=this.getController("applyFilter")},_initFilterRangeOverlay:function(e,t){var n=this,o={},s=e.find(".dx-editor-container"),l=(0,i.default)("<div>").addClass(n.addWidgetPrefix("filter-range-overlay")).appendTo(e);return n._createComponent(l,p.default,{height:"auto",shading:!1,showTitle:!1,focusStateEnabled:!1,closeOnTargetScroll:!1,closeOnOutsideClick:!0,animation:!1,position:{my:"top",at:"top",of:s.length&&s||e,offset:"0 -1"},contentTemplate:function(s){var l,c=(0,i.default)("<div>").addClass("dx-editor-container "+n.addWidgetPrefix("filter-range-start")).appendTo(s);return t=n._columnsController.columnOption(t.index),(l=n._getEditorOptions(c,t)).sharedData=o,n._renderEditor(c,l),r.default.on(c.find("input:not([type='hidden'])"),"keydown",(function(t){var i=e.find("[tabindex]").not(t.target).first();"tab"===(0,a.normalizeKeyName)(t)&&t.shiftKey&&(t.preventDefault(),n._hideFilterRange(),i.length||(i=e.prev().find("[tabindex]").last()),r.default.trigger(i,"focus"))})),c=(0,i.default)("<div>").addClass("dx-editor-container "+n.addWidgetPrefix("filter-range-end")).appendTo(s),(l=n._getEditorOptions(c,t)).sharedData=o,n._renderEditor(c,l),r.default.on(c.find("input:not([type='hidden'])"),"keydown",(function(t){"tab"!==(0,a.normalizeKeyName)(t)||t.shiftKey||(t.preventDefault(),n._hideFilterRange(),r.default.trigger(e.next().find("[tabindex]").first(),"focus"))})),(0,i.default)(s).addClass(n.getWidgetContainerClass())},onShown:function(e){var t=e.component.$content().find(".dx-editor-container").first();
1r.default.trigger(t.find("input:not([type='hidden'])"),"focus")},onHidden:function(){t=n._columnsController.columnOption(t.index),e.find(".dx-menu").parent().addClass("dx-editor-with-menu"),"between"===S(n,t)&&(n._updateFilterRangeContent(e,C(n,t)),n.component.updateDimensions())}})},_updateFilterRangeOverlay:function(e){var t=this._filterRangeOverlayInstance;t&&t.option(e)},_showFilterRange:function(e,t){var n=e.children("."+this.addWidgetPrefix("filter-range-overlay")),i=n.length&&n.data("dxOverlay");!i&&t&&(i=this._initFilterRangeOverlay(e,t)),i.option("visible")||(this._filterRangeOverlayInstance&&this._filterRangeOverlayInstance.hide(),this._filterRangeOverlayInstance=i,this._updateFilterRangeOverlay({width:e.outerWidth(!0)+1}),this._filterRangeOverlayInstance&&this._filterRangeOverlayInstance.show())},_hideFilterRange:function(){var e=this._filterRangeOverlayInstance;e&&e.hide()},getFilterRangeOverlayInstance:function(){return this._filterRangeOverlayInstance},_createRow:function(e){var t=this,n=this.callBase(e);return"filter"===e.rowType&&(n.addClass(this.addWidgetPrefix("filter-row")),this.option("useLegacyKeyboardNavigation")||r.default.on(n,"keydown",(function(e){return(0,m.selectView)("filterRow",t,e)}))),n},_getRows:function(){var e=this.callBase();return this.isFilterRowVisible()&&e.push({rowType:"filter"}),e},_renderFilterCell:function(e,t){var n=t.column,r=(0,i.default)(e);this.component.option("showColumnHeaders")&&this.setAria("describedby",n.headerId,r),this.setAria("label",d.default.format("dxDataGrid-ariaFilterCell"),r),r.addClass("dx-editor-cell");var o=(0,i.default)("<div>").appendTo(r),s=(0,i.default)("<div>").addClass("dx-editor-container").appendTo(o);if("between"===S(this,n))this._renderFilterRangeContent(r,n);else{var a=this._getEditorOptions(s,n);this._renderEditor(s,a)}n.alignment&&r.find("input:not([type='hidden'])").first().css("textAlign",n.alignment),n.filterOperations&&n.filterOperations.length&&this._renderFilterOperationChooser(o,n,s)},_renderCellContent:function(e,t){var n=this,i=t.column;if("filter"===t.rowType)if(i.command)e.html("&nbsp;");else if(i.allowFiltering)return void n.renderTemplate(e,n._renderFilterCell.bind(n),t).done((function(){n._updateCell(e,t)}));n.callBase(e,t)},_getEditorOptions:function(e,t){var n=this,i={editorOptions:{inputAttr:n._getFilterInputAccessibilityAttributes(t)}},r=(0,s.extend)(i,t,{value:k(n,t.index,e),parentType:"filterRow",showAllText:n.option("filterRow.showAllText"),updateValueTimeout:"onClick"===n.option("filterRow.applyFilter")?0:700,width:null,setValue:function(i,r){T(n,{column:t,value:i,container:e,notFireEvent:r})}});return"between"===S(n,t)&&(r.placeholder=e.hasClass(n.addWidgetPrefix("filter-range-start"))?n.option("filterRow.betweenStartText"):n.option("filterRow.betweenEndText")),r},_getFilterInputAccessibilityAttributes:function(e){var t=d.default.format("dxDataGrid-ariaFilterCell");return this.component.option("showColumnHeaders")?{"aria-label":t,"aria-describedby":e.headerId}:{"aria-label":t}},_renderEditor:function(e,t){return e.empty(),this.getController("editorFactory").createEditor((0,i.default)("<div>").appendTo(e),t)},_renderFilterRangeContent:function(e,t){var n=this,o=e.find(".dx-editor-container").first();o.empty();var s=(0,i.default)("<div>").addClass("dx-filter-range-content").attr("tabindex",this.option("tabIndex"));r.default.on(s,"focusin",(function(){n._showFilterRange(e,t)})),s.appendTo(o),n._updateFilterRangeContent(e,C(n,t))},_updateFilterRangeContent:function(e,t){var n=e.find(".dx-filter-range-content");n.length&&(""===t?n.html("&nbsp;"):n.text(t))},_updateFilterOperationChooser:function(e,t,n){var i,o=this,s=function(){var t=f.default.getInstance(e);t&&t.option("focusedElement",null),i&&o._focusEditor(n)};o._createComponent(e,f.default,{integrationOptions:{},activeStateEnabled:!1,selectionMode:"single",cssClass:o.getWidgetContainerClass()+" dx-cell-focus-disabled dx-filter-menu",showFirstSubmenuMode:"onHover",hideSubmenuOnMouseLeave:!0,items:[{disabled:!t.filterOperations||!t.filterOperations.length,icon:_[S(o,t)||"default"],selectable:!1,items:o._getFilterOperationMenuItems(t)}],onItemClick:function(e){var i=e.itemData.name,r=S(o,t),s=!1,a=y(o),l={};if(!(e.itemData.items||i&&i===r)){if(i?(l[a?"bufferedSelectedFilterOperation":"selectedFilterOperation"]=i,"between"!==i&&"between"!==r||(s="between"===i,l[a?"bufferedFilterValue":"filterValue"]=null)):(l[a?"bufferedFilterValue":"filterValue"]=null,l[a?"bufferedSelectedFilterOperation":"selectedFilterOperation"]=t.defaultSelectedFilterOperation||null),o._columnsController.columnOption(t.index,l),o._applyFilterViewController.setHighLight(n,!0),!i){var c=w(n);c&&"dxDateBox"===c.NAME&&!c.option("isValid")&&(c.reset(),c.option("isValid",!0))}s?o._showFilterRange(n.closest(".dx-editor-cell"),t):o._focusEditor(n)}},onSubmenuShown:function(){i=o._isEditorFocused(n),o.getController("editorFactory").loseFocus()},onSubmenuHiding:function(){r.default.trigger(e,"blur"),s()},onContentReady:function(t){r.default.on(e,"blur",(function(){var e=t.component;e._hideSubmenu(e._visibleSubmenu),s()}))},rtlEnabled:o.option("rtlEnabled")})},_isEditorFocused:function(e){return e.hasClass("dx-focused")||e.parents(".dx-focused").length},_focusEditor:function(e){this.getController("editorFactory").focus(e),r.default.trigger(e.find("input:not([type='hidden'])"),"focu
1s")},_renderFilterOperationChooser:function(e,t,n){var r;this.option("filterRow.showOperationChooser")&&(e.addClass("dx-editor-with-menu"),r=(0,i.default)("<div>").prependTo(e),this._updateFilterOperationChooser(r,t,n))},_getFilterOperationMenuItems:function(e){var t=this,n=[{}],i=t.option("filterRow"),r=i&&i.operationDescriptions||{};if(e.filterOperations&&e.filterOperations.length){var s=e.filterOperations.filter((function(e){return(0,o.isDefined)(b[e])}));(n=l.default.map(s,(function(n){var i=b[n];return{name:n,selected:(S(t,e)||e.defaultFilterOperation)===n,text:r[i],icon:_[n]}}))).push({name:null,text:i&&i.resetOperationText,icon:_.default})}return n},optionChanged:function(e){switch(e.name){case"filterRow":case"showColumnLines":this._invalidate(!0,!0),e.handled=!0;break;default:this.callBase(e)}}}),I={skipCalculateColumnFilters:function(){return!1},_calculateAdditionalFilter:function(){if(this.skipCalculateColumnFilters())return this.callBase();var e=[this.callBase()],t=this._columnsController.getVisibleColumns(null,!0);return l.default.each(t,(function(){if(this.allowFiltering&&this.calculateFilterExpression&&(0,o.isDefined)(this.filterValue)){var t=this.createFilterExpression(this.filterValue,this.selectedFilterOperation||this.defaultFilterOperation,"filterRow");e.push(t)}})),u.default.combineFilters(e)}};t.ApplyFilterViewController=c.default.ViewController.inherit({_getHeaderPanel:function(){return this._headerPanel||(this._headerPanel=this.getView("headerPanel")),this._headerPanel},setHighLight:function(e,t){y(this)&&(e&&e.toggleClass("dx-highlight-outline",t)&&e.closest(".dx-editor-cell").toggleClass("dx-filter-modified",t),this._getHeaderPanel().enableApplyButton(t))},applyFilter:function(){var e=this.getController("columns"),t=e.getColumns();e.beginUpdate();for(var n=0;n<t.length;n++){var i=t[n];void 0!==i.bufferedFilterValue&&(e.columnOption(n,"filterValue",i.bufferedFilterValue),i.bufferedFilterValue=void 0),void 0!==i.bufferedSelectedFilterOperation&&(e.columnOption(n,"selectedFilterOperation",i.bufferedSelectedFilterOperation),i.bufferedSelectedFilterOperation=void 0)}e.endUpdate(),this.removeHighLights()},removeHighLights:function(){if(y(this)){var e=this.getView("columnHeadersView").element();e.find("."+this.addWidgetPrefix("filter-row")+" .dx-highlight-outline").removeClass("dx-highlight-outline"),e.find("."+this.addWidgetPrefix("filter-row")+" .dx-filter-modified").removeClass("dx-filter-modified"),this._getHeaderPanel().enableApplyButton(!1)}}}),e.exports={defaultOptions:function(){return{filterRow:{visible:!1,showOperationChooser:!0,showAllText:d.default.format("dxDataGrid-filterRowShowAllText"),resetOperationText:d.default.format("dxDataGrid-filterRowResetOperationText"),applyFilter:"auto",applyFilterText:d.default.format("dxDataGrid-applyFilterText"),operationDescriptions:{equal:d.default.format("dxDataGrid-filterRowOperationEquals"),notEqual:d.default.format("dxDataGrid-filterRowOperationNotEquals"),lessThan:d.default.format("dxDataGrid-filterRowOperationLess"),lessThanOrEqual:d.default.format("dxDataGrid-filterRowOperationLessOrEquals"),greaterThan:d.default.format("dxDataGrid-filterRowOperationGreater"),greaterThanOrEqual:d.default.format("dxDataGrid-filterRowOperationGreaterOrEquals"),startsWith:d.default.format("dxDataGrid-filterRowOperationStartsWith"),contains:d.default.format("dxDataGrid-filterRowOperationContains"),notContains:d.default.format("dxDataGrid-filterRowOperationNotContains"),endsWith:d.default.format("dxDataGrid-filterRowOperationEndsWith"),between:d.default.format("dxDataGrid-filterRowOperationBetween"),isBlank:d.default.format("dxFilterBuilder-filterOperationIsBlank"),isNotBlank:d.default.format("dxFilterBuilder-filterOperationIsNotBlank")},betweenStartText:d.default.format("dxDataGrid-filterRowOperationBetweenStartText"),betweenEndText:d.default.format("dxDataGrid-filterRowOperationBetweenEndText")}}},controllers:{applyFilter:t.ApplyFilterViewController},extenders:{controllers:{data:I,columnsResizer:{_startResizing:function(){var e=this;if(e.callBase.apply(e,arguments),e.isResizing()){var t=e._columnHeadersView.getFilterRangeOverlayInstance();if(t){var n=t.$element().closest("td").index();n!==e._targetPoint.columnIndex&&n!==e._targetPoint.columnIndex+1||t.$content().hide()}}},_endResizing:function(){var e,t=this;if(t.isResizing()){var n=t._columnHeadersView.getFilterRangeOverlayInstance();n&&(e=n.$element().closest("td"),t._columnHeadersView._updateFilterRangeOverlay({width:e.outerWidth(!0)+1}),n.$content().show())}t.callBase.apply(t,arguments)}}},views:{columnHeadersView:E,headerPanel:{_getToolbarItems:function(){var e=this.callBase();return this._prepareFilterItem(e).concat(e)},_prepareFilterItem:function(){var e=this,t=[];if(e._isShowApplyFilterButton()){var n=e.option("filterRow.applyFilterText"),r=!e._columnsController.getColumns().filter((function(e){return void 0!==e.bufferedFilterValue})).length;t.push({widget:"dxButton",options:{icon:"apply-filter",disabled:r,onClick:function(){e._applyFilterViewController.applyFilter()},hint:n,text:n,onInitialized:function(t){(0,i.default)(t.element).addClass(e._getToolbarButtonClass("dx-apply-button"))}},showText:"inMenu",name:"applyFilterButton",location:"after",locateInMenu:"auto",sortIndex:10})}return t},_isShowApplyFilterButton:function(){var e=this.option("filterRow");return e&&e.visible&&"onClick"===e.applyFilter},init:function(){this.callBase(),this._dataController=this.getController("data"),this._applyFilterViewController=this.getController("applyFilter")},enableApplyButton:function(e){this.setToolbarItemDisabled("applyFilterButton",!e)},isVisible:function(){return this.callBase()||this._isShowApplyFilterButton()},optionChanged:function(e){"filterRow"===e.name?(this._invalidate(),e.handled=!0):this.callBase(e)}}}}}},"7T9X":function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n("SyMb"))&&i.__esModule?i:{default:i},s=n("8I5R"),a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,s.C_START_CHAR+e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return new RegExp("^"+s.C_CHARS+"+$").test(this.data)}}]),t}(o.default);t.default=a},"7Wk1":function(e,t,n){"use strict";var i=n("D6VQ"),r=n("09b2");i("dxTextEditor",r),e.exports=r},"7aV9":function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7j00":function(e,t,n){"use strict";var i=n("jeLr"),r=n("v4HY"),o=n("tUd6"),s=n("5qrJ"),a=n("GBv4"),l=n("XCcL"),c=n("JDOJ"),u=c.addNamespace(l.name,"dxDblClick");a("dxdblclick",new(s.inherit({ctor:function(){this._handlerCount=0,this._forgetLastClick()},_forgetLastClick:function(){this._firstClickTarget=null,this._lastClickTimeStamp=-300},add:function(){this._handlerCount<=0&&i.on(o.getDocument(),u,this._clickHandler.bind(this)),this._handlerCount++},_clickHandler:function(e){var t=e.timeStamp||Date.now();t-this._lastClickTimeStamp<300?(c.fireEvent({type:"dxdblclick",target:r.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.off(o.getDocument(),u))}}))),t.name="dxdblclick"},"7mnO":function(e,t,n){"use strict";var i=n("FKN7"),r=n("1LL4").extend;function o(e,t){var n=i("<div>").addClass("dx-filterbuilder-range-start"),o=i("<div>").addClass("dx-filterbuilder-range-end"),s=e.value||[],a=function(e){return e&&e.length>0?e[0]:null},l=function(e){return e&&2===e.length?e[1]:null};t.append(n),t.append(i("<span>").addClass("dx-filterbuilder-range-separator").text("\u2013")),t.append(o),t.addClass("dx-filterbuilder-range"),this._editorFactory.createEditor.call(this,n,r({},e.field,e,{value:a(s),parentType:"filterBuilder",setValue:function(t){s=[t,l(s)],e.setValue(s)}})),this._editorFactory.createEditor.call(this,o,r({},e.field,e,{value:l(s),parentType:"filterBuilder",setValue:function(t){s=[a(s),t],e.setValue(s)}}))}t.getConfig=function(e){return{name:"between",caption:e,icon:"range",valueSeparator:"\u2013",dataTypes:["number","date","datetime"],editorTemplate:o}}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("n6bG"),r=n("gRHU"),o=n("quSY"),s=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends o.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!e){this.destination=r.a;break}if("object"==typeof e){e instanceof c?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[s.a](){return this}
1static create(e,t,n){const i=new c(e,t,n);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends c{constructor(e,t,n,o){let s;super(),this._parentSubscriber=e;let a=this;Object(i.a)(t)?s=t:t&&(s=t.next,n=t.error,o=t.complete,t!==r.a&&(a=Object.create(t),Object(i.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(l.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(l.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"8/+R":function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"}
1,relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0}
1,meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"85Zg":function(e,t,n){"use strict";var i=n("1LL4").extend;t.registry={},t.register=function(e,n,r){var o=t.registry,s={};s[e]=o[e]?o[e]:{},s[e][n]=r,o=i(o,s)}},"8I5R":function(e,t,n){"use strict";var i;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=t.SET_A=0,s=t.SET_B=1,a=t.SET_C=2,l=(t.SHIFT=98,t.START_A=103),c=t.START_B=104,u=t.START_C=105;t.MODULO=103,t.STOP=106,t.FNC1=207,t.SET_BY_CODE=(r(i={},l,o),r(i,c,s),r(i,u,a),i),t.SWAP={101:o,100:s,99:a},t.A_START_CHAR=String.fromCharCode(208),t.B_START_CHAR=String.fromCharCode(209),t.C_START_CHAR=String.fromCharCode(210),t.A_CHARS="[\0-_\xc8-\xcf]",t.B_CHARS="[ -\x7f\xc8-\xcf]",t.C_CHARS="(\xcf*[0-9]{2}\xcf*)",t.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]},"8K0q":function(e,t,n){"use strict";var i=n("KAnu"),r=n("ti0F"),o=r.isDefined,s=i.getKeyHash,a=n("Q7sy"),l=n("tJvG"),c=n("BAgR").SelectionFilterCreator,u=l.when,d=l.Deferred,h=n("D8Ap"),p=n("4Oz5");e.exports=p.inherit({ctor:function(e){this.callBase(e),this._initSelectedItemKeyHash()},_initSelectedItemKeyHash:function(){this._setOption("keyHashIndices",this.options.equalByReference?null:{})},getSelectedItemKeys:function(){return this.options.selectedItemKeys.slice(0)},getSelectedItems:function(){return this.options.selectedItems.slice(0)},_preserveSelectionUpdate:function(e,t){var n,i,r,o=this.options.keyOf;if(o){var s=t&&e.length>1&&!this.options.equalByReference;for(s&&(n={}),r=0;r<e.length;r++){var a=e[r],l=o(a);t?(i=this.removeSelectedItem(l,n),n&&i>=0&&(n[i]=!0)):this.addSelectedItem(l,a)}s&&this._batchRemoveSelectedItems(n)}},_batchRemoveSelectedItems:function(e){var t=this.options.selectedItemKeys.slice(0),n=this.options.selectedItems.slice(0);this.options.selectedItemKeys.length=0,this.options.selectedItems.length=0;for(var i=0;i<t.length;i++)e[i]||(this.options.selectedItemKeys.push(t[i]),this.options.selectedItems.push(n[i]));this._initSelectedItemKeyHash(),this.updateSelectedItemKeyHash(this.options.selectedItemKeys)},_loadSelectedItemsCore:function(e,t,n){var i=new d,r=this.options.key();if(!e.length&&!n)return i.resolve([]),i;var o=this.options.filter();if(n&&t&&!o)return i.resolve(this.getSelectedItems()),i;var s=new c(e,n),l=s.getCombinedFilter(r,o),u=[];t&&(u=l?a(this.options.selectedItems).filter(l).toArray():this.options.selectedItems.slice(0));var h=u.length?u:this.options.plainItems(!0).filter(this.options.isSelectableItem).map(this.options.getItemData),p=s.getLocalFilter(this.options.keyOf,this.equalKeys.bind(this),this.options.equalByReference,r);
1return h=h.filter(p),u.length||!n&&h.length===e.length?i.resolve(h):i=this._loadFilteredData(l,p,null,n),i},_replaceSelectionUpdate:function(e){var t=[],n=this.options.keyOf;if(n){for(var i=0;i<e.length;i++){var r=n(e[i]);t.push(r)}this.setSelectedItems(t,e)}},_warnOnIncorrectKeys:function(e){for(var t=this.options.allowNullValue,n=0;n<e.length;n++){var i=e[n];t&&null===i||this.isItemKeySelected(i)||h.log("W1002",i)}},_loadSelectedItems:function(e,t,n){var i=this,r=new d;return u(i._lastLoadDeferred).always((function(){i._loadSelectedItemsCore(e,t,n).done(r.resolve).fail(r.reject)})),i._lastLoadDeferred=r,r},selectedItemKeys:function(e,t,n,i){var r=this,o=r._loadSelectedItems(e,n,i);return o.done((function(e){t?r._preserveSelectionUpdate(e,n):r._replaceSelectionUpdate(e),r.onSelectionChanged()})),o},addSelectedItem:function(e,t){if(o(t)&&t.disabled)-1===this.options.disabledItemKeys.indexOf(e)&&this.options.disabledItemKeys.push(e);else{var n=this._getKeyHash(e);-1===this._indexOfSelectedItemKey(n)&&(!r.isObject(n)&&this.options.keyHashIndices&&(this.options.keyHashIndices[n]=[this.options.selectedItemKeys.length]),this.options.selectedItemKeys.push(e),this.options.addedItemKeys.push(e),this.options.addedItems.push(t),this.options.selectedItems.push(t))}},_getSelectedIndexByKey:function(e,t){for(var n=this.options.selectedItemKeys,i=0;i<n.length;i++)if((!t||!t[i])&&this.equalKeys(n[i],e))return i;return-1},_getSelectedIndexByHash:function(e,t){var n=this.options.keyHashIndices[e];return n&&n.length>1&&t&&(n=n.filter((function(e){return!t[e]}))),n&&n[0]>=0?n[0]:-1},_indexOfSelectedItemKey:function(e,t){return this.options.equalByReference?this.options.selectedItemKeys.indexOf(e):r.isObject(e)?this._getSelectedIndexByKey(e,t):this._getSelectedIndexByHash(e,t)},_shiftSelectedKeyIndices:function(e){for(var t=e;t<this.options.selectedItemKeys.length;t++){var n=s(this.options.selectedItemKeys[t]),i=this.options.keyHashIndices[n];if(i)for(var r=0;r<i.length;r++)i[r]>e&&i[r]--}},removeSelectedItem:function(e,t){var n=this._getKeyHash(e),i=!!t,o=this._indexOfSelectedItemKey(n,t);if(o<0)return o;if(this.options.removedItemKeys.push(e),this.options.removedItems.push(this.options.selectedItems[o]),i)return o;if(this.options.selectedItemKeys.splice(o,1),this.options.selectedItems.splice(o,1),r.isObject(n)||!this.options.keyHashIndices)return o;var s=this.options.keyHashIndices[n];return s?(s.shift(),s.length||delete this.options.keyHashIndices[n],this._shiftSelectedKeyIndices(o),o):o},_updateAddedItemKeys:function(e,t){for(var n=0;n<e.length;n++)this.isItemKeySelected(e[n])||(this.options.addedItemKeys.push(e[n]),this.options.addedItems.push(t[n]))},_updateRemovedItemKeys:function(e,t,n){for(var i=0;i<t.length;i++)this.isItemKeySelected(t[i])||(this.options.removedItemKeys.push(t[i]),this.options.removedItems.push(n[i]))},_getKeyHash:function(e){return this.options.equalByReference?e:s(e)},setSelectedItems:function(e,t){this._updateAddedItemKeys(e,t);var n=this.options.selectedItemKeys,i=this.options.selectedItems;this.options.equalByReference||(this._initSelectedItemKeyHash(),this.updateSelectedItemKeyHash(e)),this._setOption("selectedItemKeys",e),this._setOption("selectedItems",t),this._updateRemovedItemKeys(e,n,i)},isItemDataSelected:function(e){var t=this.options.keyOf(e);return this.isItemKeySelected(t)},isItemKeySelected:function(e){var t=this._getKeyHash(e);return-1!==this._indexOfSelectedItemKey(t)},getSelectAllState:function(e){return e?this._getVisibleSelectAllState():this._getFullSelectAllState()}})},"8Qh0":function(e,t,n){"use strict";var i=n("FKN7"),r=n("5qrJ"),o=n("zl3R").each,s=n("Cc4C"),a=r.inherit({ctor:function(e,t,n){this._$element=e,this._options=t,this._rawData=n,s.attachInstanceToElement(e,this,this._dispose),this._render()},_render:function(){var e=i("<div>").addClass("dx-item-content-placeholder");this._$element.append(e),this._watchers=[],this._renderWatchers()},_renderWatchers:function(){this._startWatcher("disabled",this._renderDisabled.bind(this)),this._startWatcher("visible",this._renderVisible.bind(this))},_startWatcher:function(e,t){var n=this._rawData,i=this._options.fieldGetter(e),r=function(e,t,n){var i,r=function(e){i!==e&&(n(e,i),i=e)};return{dispose:e(t,r),force:function(){r(t())}}}(this._options.watchMethod(),(function(){return i(n)}),(function(e,n){this._dirty=!0,t(e,n)}).bind(this));this._watchers.push(r)},setDataField:function(){if(this._dirty=!1,o(this._watchers,(function(e,t){t.force()})),this._dirty)return!0},_renderDisabled:function(e,t){this._$element.toggleClass("dx-state-disabled",!!e),this._updateOwnerFocus(e)},_updateOwnerFocus:function(e){var t=this._options.owner;t&&e&&t._resetItemFocus(this._$element)},_renderVisible:function(e,t){this._$element.toggleClass("dx-state-invisible",void 0!==e&&!e)},_dispose:function(){o(this._watchers,(function(e,t){t.dispose()}))}});a.getInstance=function(e){return s.getInstanceByElement(e,this)},e.exports=a},"8S5z":function(e,t,n){"use strict";var i=b(n("FKN7")),r=n("ti0F"),o=n("tJvG"),s=n("AJM7"),a=n("TssP"),l=n("zl3R"),c=n("1LL4"),u=n("yxXJ"),d=n("KAnu"),h=b(n("PbkZ")),p=n("IRs2"),f=b(n("D859")),m=n("3RoI"),g=n("cGv3"),_=b(n("jeLr"));
1function b(e){return e&&e.__esModule?e:{default:e}}var v,y,w,C,x={year:function(e){return e&&e.getFullYear()},month:function(e){return e&&e.getMonth()+1},day:function(e){return e&&e.getDate()},quarter:function(e){return e&&Math.floor(e.getMonth()/3)+1},hour:function(e){return e&&e.getHours()},minute:function(e){return e&&e.getMinutes()},second:function(e){return e&&e.getSeconds()}};e.exports=(v=function(){var e=arguments[1],t=this.calculateCellValue(e);if(!(0,r.isDefined)(t))return null;if(y(this.dataType)){var n=arguments[0];return x[n](t)}if("number"===this.dataType){var i=arguments[0];return Math.floor(Number(t)/i)*i}},{renderNoDataText:function(e){if(e=e||this.element()){var t=this.addWidgetPrefix("nodata"),n=e.find("."+t).last(),r=this._dataController.isEmpty(),o=this._dataController.isLoading();n.length||(n=(0,i.default)("<span>").addClass(t).appendTo(e)),r&&!o?n.removeClass("dx-hidden").text(this._getNoDataText()):n.addClass("dx-hidden")}},renderLoadPanel:function(e,t,n){var r;this._loadPanel&&this._loadPanel.$element().remove(),(r=this.option("loadPanel"))&&("auto"===r.enabled?!n:r.enabled)?(r=(0,c.extend)({shading:!1,message:r.text,position:function(){var t=(0,i.default)((0,g.getWindow)());return e.height()>t.height()?{of:t,boundary:e,collision:"fit"}:{of:e}},container:t},r),this._loadPanel=this._createComponent((0,i.default)("<div>").appendTo(t),h.default,r)):this._loadPanel=null},getIndexByKey:function(e,t,n){var i=-1;if(void 0!==e&&Array.isArray(t)){n=arguments.length<=2?"key":n;for(var o=0;o<t.length;o++){var s=(0,r.isDefined)(n)?t[o][n]:t[o];if((0,d.equalByValue)(e,s)){i=o;break}}}return i},combineFilters:function(e,t){var n=[];t=t||"and";for(var i=0;i<e.length;i++)e[i]&&(n.length&&n.push(t),n.push(e[i]));if(1===n.length&&(n=n[0]),n.length)return n},checkChanges:function(e,t){for(var n=0,i=0;i<t.length;i++)e[t[i]]&&n++;return e.length&&e.length===n},equalFilterParameters:function(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;for(var i=0;i<t.length;i++)if(!e.exports.equalFilterParameters(t[i],n[i]))return!1;return!0}return(0,r.isFunction)(t)&&t.columnIndex>=0&&(0,r.isFunction)(n)&&n.columnIndex>=0?t.columnIndex===n.columnIndex&&(0,u.toComparable)(t.filterValue)===(0,u.toComparable)(n.filterValue):(0,u.toComparable)(t)==(0,u.toComparable)(n)},proxyMethod:function(e,t,n){e[t]||(e[t]=function(){var e=this._dataSource;return e?e[t].apply(e,arguments):n})},formatValue:function(e,t){var n=f.default.format(e,t.format)||e&&e.toString()||"",i={value:e,valueText:t.getDisplayFormat?t.getDisplayFormat(n):n,target:t.target||"row",groupInterval:t.groupInterval};return t.customizeText?t.customizeText.call(t,i):i.valueText},getFormatOptionsByColumn:function(e,t){return{format:e.format,getDisplayFormat:e.getDisplayFormat,customizeText:e.customizeText,target:t,trueText:e.trueText,falseText:e.falseText}},getDisplayValue:function(e,t,n,i){return e.displayValueMap&&void 0!==e.displayValueMap[t]?e.displayValueMap[t]:e.calculateDisplayValue&&n&&"group"!==i?e.calculateDisplayValue(n):!e.lookup||"group"===i&&(e.calculateGroupValue||e.calculateDisplayValue)?t:e.lookup.calculateCellValue(t)},getGroupRowSummaryText:function(t,n){for(var i="(",r=0;r<t.length;r++)i+=(r>0?", ":"")+e.exports.getSummaryText(t[r],n);return i+")"},getSummaryText:function(e,t){var n=e.displayFormat||e.columnCaption&&t[e.summaryType+"OtherColumn"]||t[e.summaryType];return this.formatValue(e.value,{format:e.valueFormat,getDisplayFormat:function(t){return n?(0,a.format)(n,t,e.columnCaption):t},customizeText:e.customizeText})},normalizeSortingInfo:function(e){for(var t=(0,p.normalizeSortingInfo)(e=e||[]),n=0;n<e.length;n++)e&&e[n]&&void 0!==e[n].isExpanded&&(t[n].isExpanded=e[n].isExpanded),e&&e[n]&&void 0!==e[n].groupInterval&&(t[n].groupInterval=e[n].groupInterval);return t},getFormatByDataType:function(e){switch(e){case"date":return"shortDate";case"datetime":return"shortDateShortTime"}},getHeaderFilterGroupParameters:function(e,t){var n=[],i=e.dataField||e.name,r=(0,s.getGroupInterval)(e);return r?((0,l.each)(r,(function(o,s){n.push(t?{selector:i,groupInterval:s,isExpanded:o<r.length-1}:v.bind(e,s))})),n):(t?n=[{selector:i,isExpanded:!1}]:(n=function(t){var n=e.calculateCellValue(t);return void 0!==n&&""!==n||(n=null),n},e.sortingMethod&&(n=[{selector:n,compare:e.sortingMethod.bind(e)}])),n)},equalSortParameters:function(t,n,i){if(t=e.exports.normalizeSortingInfo(t),n=e.exports.normalizeSortingInfo(n),Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;for(var o=0;o<t.length;o++)if(a=n[o].selector,!((0,r.isFunction)(s=t[o].selector)&&(0,r.isFunction)(a)&&s.originalCallback&&a.originalCallback?s.originalCallback===a.originalCallback&&s.c
1olumnIndex===a.columnIndex:s===a)||t[o].desc!==n[o].desc||t[o].groupInterval!==n[o].groupInterval||!i&&Boolean(t[o].isExpanded)!==Boolean(n[o].isExpanded))return!1;return!0}return(!t||!t.length)==(!n||!n.length);var s,a},getPointsByColumns:function(e,t,n,i){for(var r,o,s,a=e.length,l=!1,c=i||0,u=[],d=0;d<=a;d++){d<a&&(o=(r=e.eq(d)).offset(),s="rtl"===r.css("direction"));var h={index:c,x:o?o.left+(!n&&s^d===a?r[0].getBoundingClientRect().width:0):0,y:o?o.top+(n&&d===a?r[0].getBoundingClientRect().height:0):0,columnIndex:c};if(!n&&d>0){var p=e.eq(d-1).offset();p.top<h.y&&(h.y=p.top)}t&&(l=t(h)),l||u.push(h),c++}return u},createObjectWithChanges:function(e,t){var n=e?Object.create(Object.getPrototypeOf(e)):{},i=(0,c.extendFromObject)({},e);return(0,m.deepExtendArraySafe)(n,i,!0,!0),(0,m.deepExtendArraySafe)(n,t,!0,!0)},getExpandCellTemplate:function(){return{allowRenderToDetachedContainer:!0,render:function(e,t){var n=(0,i.default)(e);if(!(0,r.isDefined)(t.value)||t.data&&t.data.isContinuation||t.row.isNewRow)w(n);else{var o=t.component.getView("rowsView");n.addClass("dx-datagrid-expand").addClass("dx-selection-disabled"),(0,i.default)("<div>").addClass(t.value?"dx-datagrid-group-opened":"dx-datagrid-group-closed").appendTo(n),o.setAria("label",o.localize(t.value?"dxDataGrid-ariaCollapse":"dxDataGrid-ariaExpand"),n)}}}},setEmptyText:w=function(e){e.get(0).textContent="\xa0"},isDateType:y=function(e){return"date"===e||"datetime"===e},getSelectionRange:function(e){try{if(e)return{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}catch(t){}return{}},setSelectionRange:function(e,t){try{e&&e.setSelectionRange&&e.setSelectionRange(t.selectionStart,t.selectionEnd)}catch(n){}},focusAndSelectElement:function(e,t){_.default.trigger(t,"focus");var n=e.option("editing.selectTextOnEditStart"),i=e.getController("keyboardNavigation"),r=i&&i._isFastEditingStarted();if(n&&!r&&t.is(".dx-texteditor-input")){var s=C(t.closest(".dx-texteditor"));(0,o.when)(s&&s._loadItemDeferred).done((function(){t.get(0).select()}))}},getWidgetInstance:C=function(e){var t=e.data&&e.data(),n=t&&t.dxComponents,i=n&&n[0];return i&&t[i]},getLastResizableColumnIndex:function(e,t){for(var n=e.some((function(e){return e&&!e.command&&!e.fixed&&!1!==e.allowResizing})),i=e.length-1;e[i];i--){var r=e[i];if(!(r.command||r.fixed||"adaptiveHidden"===(t&&t[i])||n&&!1===r.allowResizing))break}return i},isElementInCurrentGrid:function(e,t){return!(!t||!t.length)&&t.closest("."+e.getWidgetContainerClass()).parent().is(e.component.$element())}})},"8VXM":function(e,t,n){"use strict";var i=n("XpgS").merge,r=n("tUd6"),o=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,s={default:{tagsCount:0,startTags:"",endTags:""},thead:{tagsCount:1,startTags:"<table>",endTags:"</table>"},td:{tagsCount:3,startTags:"<table><tbody><tr>",endTags:"</tr></tbody></table>"},col:{tagsCount:2,startTags:"<table><colgroup>",endTags:"</colgroup></table>"},tr:{tagsCount:2,startTags:"<table><tbody>",endTags:"</tbody></table>"}};s.tbody=s.colgroup=s.caption=s.tfoot=s.thead,s.th=s.td,t.parseHTML=function(e){if("string"!=typeof e)return null;var t=r.createDocumentFragment().appendChild(r.createElement("div")),n=o.exec(e),a=n&&n[1].toLowerCase(),l=s[a]||s.default;t.innerHTML=l.startTags+e+l.endTags;for(var c=0;c<l.tagsCount;c++)t=t.lastChild;return i([],t.childNodes)},t.isTablePart=function(e){var t=o.exec(e);return t&&t[1]in s}},"8kKR":function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n("FKN7"),o=n("cGv3").getWindow(),s=n("jeLr"),a=n("0osO"),l=n("D6VQ"),c=n("KAnu"),u=n("ti0F"),d=n("1LL4").extend,h=n("XpgS").inArray,p=n("9Lc9"),f=n("I0Qj"),m=n("D8Ap"),g=n("JDOJ"),_=n("LdFP"),b=n("Q7sy"),v=n("zl3R").each,y=n("e5PH"),w=n("imRD"),C=n("lBBa").ChildDefaultTemplate,x=n("tJvG").Deferred,S=n("B4+F").default,k=["startswith","contains","endwith","notcontains"],T=p.inherit({_supportedKeys:function(){var e=this.callBase();return d({},e,{tab:function(t){if(this._allowSelectItemByTab()){this._saveValueChangeEvent(t);var n=r(this._list.option("focusedElement"));n.length&&this._setSelectedElement(n)}e.tab.apply(this,arguments)}
1,space:c.noop,home:c.noop,end:c.noop})},_allowSelectItemByTab:function(){return this.option("opened")&&"instantly"===this.option("applyValueMode")},_setSelectedElement:function(e){var t=this._valueGetter(this._list._getItemData(e));this._setValue(t)},_setValue:function(e){this.option("value",e)},_getDefaultOptions:function(){return d(this.callBase(),d(y._dataExpressionDefaultOptions(),{displayValue:void 0,searchEnabled:!1,searchMode:"contains",searchTimeout:500,minSearchLength:0,searchExpr:null,valueChangeEvent:"input change keyup",selectedItem:null,noDataText:w.format("dxCollectionWidget-noDataText"),onSelectionChanged:null,onItemClick:c.noop,showDataBeforeSearch:!1,grouped:!1,groupTemplate:"group",popupPosition:{my:"left top",at:"left bottom",offset:{h:0,v:0},collision:"flip"},wrapItemText:!1,popupWidthExtension:0}))},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{popupPosition:{offset:{v:-1}}}},{device:{platform:"generic"},options:{buttonsLocation:"bottom center"}}])},_setOptionsByReference:function(){this.callBase(),d(this._optionsByReference,{value:!0,selectedItem:!0,displayValue:!0})},_init:function(){this.callBase(),this._initDataExpressions(),this._initActions(),this._setListDataSource(),this._validateSearchMode(),this._clearSelectedItem(),this._initItems()},_initItems:function(){var e=this.option().items;e&&!e.length&&this._dataSource&&(this.option().items=this._dataSource.items())},_initActions:function(){this._initContentReadyAction(),this._initSelectionChangedAction(),this._initItemClickAction()},_initContentReadyAction:function(){this._contentReadyAction=this._createActionByOption("onContentReady",{excludeValidators:["disabled","readOnly"]})},_initSelectionChangedAction:function(){this._selectionChangedAction=this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})},_initItemClickAction:function(){this._itemClickAction=this._createActionByOption("onItemClick")},_initTemplates:function(){this.callBase(),this._defaultTemplates.item=new C("item")},_saveFocusOnWidget:function(e){this._list&&this._list.initialOption("focusStateEnabled")&&this._focusInput()},_fitIntoRange:function(e,t,n){return e>n?t:e<t?n:e},_items:function(){var e=this._getPlainItems(!this._list&&this._dataSource.items());return new b(e).filter("disabled","<>",!0).toArray()},_calcNextItem:function(e){var t=this._items();return t[this._fitIntoRange(this._getSelectedIndex()+e,0,t.length-1)]},_getSelectedIndex:function(){var e=this._items(),t=this.option("selectedItem"),n=-1;return v(e,(function(e,i){if(this._isValueEquals(i,t))return n=e,!1}).bind(this)),n},_createPopup:function(){this.callBase(),this._updateCustomBoundaryContainer(),this._popup._wrapper().addClass(this._popupWrapperClass());var e=this._popup.$content();s.off(e,"mouseup"),s.on(e,"mouseup",this._saveFocusOnWidget.bind(this))},_updateCustomBoundaryContainer:function(){var e=this.option("dropDownOptions.container"),t=e&&r(e);if(t&&t.length&&!u.isWindow(t.get(0))){var n=[].slice.call(t.parents());n.unshift(t.get(0)),v(n,(function(e,t){return t!==r("body").get(0)&&("hidden"===o.getComputedStyle(t).overflowY?(this._$customBoundaryContainer=r(t),!1):void 0)}).bind(this))}},_popupWrapperClass:function(){return"dx-dropdownlist-popup-wrapper"},_renderInputValue:function(){var e=this._getCurrentValue();return this._loadInputValue(e,this._setSelectedItem.bind(this)).always(this.callBase.bind(this,e))},_loadInputValue:function(e,t){return this._loadItem(e).always(t)},_getItemFromPlain:function(e,t){var n,r;return t&&"object"!==i(e)&&(t.itemByValue||(t.itemByValue={},(n=this._getPlainItems()).forEach((function(e){t.itemByValue[this._valueGetter(e)]=e}),this)),r=t.itemByValue[e]),r||(n=this._getPlainItems(),r=c.grep(n,(function(t){return this._isValueEquals(this._valueGetter(t),e)}).bind(this))[0]),r},_loadItem:function(e,t){var n=this._getItemFromPlain(e,t);return void 0!==n?(new x).resolve(n).promise():this._loadValue(e)},_getPlainItems:function(e){var t=[];e=e||this.option("items")||this._dataSource.items()||[];for(var n=0;n<e.length;n++)e[n]&&e[n].items?t=t.concat(e[n].items):t.push(e[n]);return t},_setSelectedItem:function(e){var t=this._displayValue(e);this.option("selectedItem",c.ensureDefined(e,null)),this.option("displayValue",t)},_displayValue:function(e){return this._displayGetter(e)},_refreshSelected:function(){var e={};this._listItemElements().each((function(t,n){var i=r(n),o=this._valueGetter(i.data("dxListItemData"));this._isSelectedValue(o,e)?this._list.selectItem(i):this._list.unselectItem(i)}).bind(this))},_popupShownHandler:function(){this.callBase(),this._setFocusPolicy()},_setFocusPolicy:function(){this.option("focusStateEnabled")&&this._list&&this._list.option("focusedElement",null)},_isSelectedValue:function(e){return this._isValueEquals(e,this.option("value"))},_validateSearchMode:function(){var e=this.option("searchMode"),t=e.toLowerCase();if(h(t,k)<0)throw m.Error("E1019",e)},_clearSelectedItem:function(){this.option("selectedItem",null)},_processDataSourceChanging:function(){this._setListDataSource(),this._renderInputValue().fail((function(){this._isCustomValueAllowed()||this._clearSelectedItem()}).bind(this))},_isCustomValueAllowed:function(){return this.option("displayCustomValue")},reset:function(){this.callBase(),this._clearFilter(),this._clearSelectedItem()},_listItemElements:function(){return this._$list?this._$list.find(".dx-list-item"):r()},_popupConfig:function(){var e=this;return d(this.callBase(),{templatesRenderAsynchronously:!1,width:this.option("width"),onShowing:function(){e.$element().addClass("dx-skip-gesture-event")},onHidden:function(){e.$element().removeClass("dx-skip-gesture-event")},height:"auto",autoResizeEnabled:!1,maxHeight:this._getMaxHeight.bind(this)})},_renderPopupContent:function(){this.callBase(),this._renderList()},_attachChildKeyboardEvents:function(){this._canListHaveFocus()||(this._childKeyboardProcessor=this._keyboardProcessor.attachChildProcessor(),this._setListOption("_keyboardProcessor",this._childKeyboardProcessor))},_fireContentReadyAction:c.noop,_setAriaTargetForList:function(){this._list._getAriaTarget=this._getAriaTarget.bind(this)},_renderList:function(){this._listId="dx-"+(new a)._value;var e=this._$list=r("<div>").attr("id",this._listId).appendTo(this._popup.$content());this._list=this._createComponent(e,f,this._listConfig()),this._refreshList(),this._setAriaTargetForList(
1),this._list.option("_listAttributes",{role:"combobox"}),this._renderPreventBlur(this._$list)},_renderPreventBlur:function(e){var t=g.addNamespace("mousedown","dxDropDownList");s.off(e,t),s.on(e,t,(function(e){e.preventDefault()}).bind(this))},_renderOpenedState:function(){this.callBase();var e=this.option("opened")||void 0;this.setAria({activedescendant:e&&this._list.getFocusedItemId(),controls:e&&this._listId})},_setDefaultAria:function(){this.setAria({haspopup:"listbox",autocomplete:"list"})},_refreshList:function(){this._list&&this._shouldRefreshDataSource()&&this._setListDataSource()},_shouldRefreshDataSource:function(){return!!this._list.option("dataSource")!==this._needPassDataSourceToList()},_isDesktopDevice:function(){return"desktop"===_.real().deviceType},_listConfig:function(){var e={selectionMode:"single",_templates:this.option("_templates"),templateProvider:this.option("templateProvider"),noDataText:this.option("noDataText"),grouped:this.option("grouped"),wrapItemText:this.option("wrapItemText"),onContentReady:this._listContentReadyHandler.bind(this),itemTemplate:this.option("itemTemplate"),indicateLoading:!1,keyExpr:this._getCollectionKeyExpr(),displayExpr:this._displayGetterExpr(),groupTemplate:this.option("groupTemplate"),onItemClick:this._listItemClickAction.bind(this),dataSource:this._getDataSource(),_keyboardProcessor:this._childKeyboardProcessor,hoverStateEnabled:!!this._isDesktopDevice()&&this.option("hoverStateEnabled"),focusStateEnabled:!!this._isDesktopDevice()&&this.option("focusStateEnabled")};return this._canListHaveFocus()||(e.tabIndex=null,e._keyboardProcessor=this._childKeyboardProcessor),e},_canListHaveFocus:function(){return!1},_getDataSource:function(){return this._needPassDataSourceToList()?this._dataSource:null},_dataSourceOptions:function(){return{paginate:!1}},_getGroupedOption:function(){return this.option("grouped")},_dataSourceFromUrlLoadMode:function(){return"raw"},_listContentReadyHandler:function(){this._list=this._list||this._$list.dxList("instance"),this.option("deferRendering")||this._refreshSelected(),this._dimensionChanged(),this._contentReadyAction()},_setListOption:function(e,t){this._setWidgetOption("_list",arguments)},_listItemClickAction:function(e){this._listItemClickHandler(e),this._itemClickAction(e)},_listItemClickHandler:c.noop,_setListDataSource:function(){this._list&&(this._setListOption("dataSource",this._getDataSource()),this._needPassDataSourceToList()||this._setListOption("items",[]))},_needPassDataSourceToList:function(){return this.option("showDataBeforeSearch")||this._isMinSearchLengthExceeded()},_isMinSearchLengthExceeded:function(){return this._searchValue().toString().length>=this.option("minSearchLength")},_needClearFilter:function(){return!this._canKeepDataSource()&&this._needPassDataSourceToList()},_canKeepDataSource:function(){var e,t=this._isMinSearchLengthExceeded();return(null===(e=this._dataSource)||void 0===e?void 0:e.isLoaded())&&this.option("showDataBeforeSearch")&&this.option("minSearchLength")&&!t&&!this._isLastMinSearchLengthExceeded},_searchValue:function(){return this._input().val()||""},_getSearchEvent:function(){return g.addNamespace("input",this.NAME+"Search")},_getSetFocusPolicyEvent:function(){return g.addNamespace("input",this.NAME+"FocusPolicy")},_renderEvents:function(){this.callBase(),s.on(this._input(),this._getSetFocusPolicyEvent(),this._setFocusPolicy.bind(this)),this._shouldRenderSearchEvent()&&s.on(this._input(),this._getSearchEvent(),this._searchHandler.bind(this))},_shouldRenderSearchEvent:function(){return this.option("searchEnabled")},_refreshEvents:function(){s.off(this._input(),this._getSearchEvent()),s.off(this._input(),this._getSetFocusPolicyEvent()),this.callBase()},_searchHandler:function(){if(this._isMinSearchLengthExceeded()){var e=this.option("searchTimeout");e?(this._clearSearchTimer(),this._searchTimer=setTimeout(this._searchDataSource.bind(this),e)):this._searchDataSource()}else this._searchCanceled()},_searchCanceled:function(){this._clearSearchTimer(),this._needClearFilter()&&this._filterDataSource(null),this._refreshList()},_searchDataSource:function(){this._filterDataSource(this._searchValue())},_filterDataSource:function(e){this._clearSearchTimer();var t=this._dataSource;t&&(t.searchExpr(this.option("searchExpr")||this._displayGetterExpr()),t.searchOperation(this.option("searchMode")),t.searchValue(e),t.load().done(this._dataSourceFiltered.bind(this,e)))},_clearFilter:function(){var e=this._dataSource;e&&e.searchValue()&&e.searchValue(null)},_dataSourceFiltered:function(){this._isLastMinSearchLengthExceeded=this._isMinSearchLengthExceeded(),this._refreshList(),this._refreshPopupVisibility()},_shouldOpenPopup:function(){return this._hasItemsToShow()},_refreshPopupVisibility:function(){if(!this.option("readOnly")&&this._searchValue()){var e=this._shouldOpenPopup();e&&!this._isFocused()||(this.option("opened",e),e&&this._dimensionChanged())}},_dataSourceChangedHandler:function(e){0===this._dataSource.pageIndex()?this.option().items=e:this.option().items=this.option().items.concat(e)},_hasItemsToShow:function(){var e=(this._dataSource&&this._dataSource.items()||[]).length;return!(!this._needPassDataSourceToList()||!e)},_clearSearchTimer:function(){clearTimeout(this._searchTimer),delete this._searchTimer},_popupShowingHandler:function(){this._dimensionChanged()},_dimensionChanged:function(){this._popup&&this._updatePopupDimensions()},_updatePopupDimensions:function(){this._updatePopupWidth(),this._updatePopupHeight()}
1,_updatePopupWidth:function(){this._setPopupOption("width",this.$element().outerWidth()+this.option("popupWidthExtension"))},_needPopupRepaint:function(){if(!this._dataSource)return!1;var e=this._dataSource.pageIndex(),t=u.isDefined(this._pageIndex)&&e<=this._pageIndex;return this._pageIndex=e,t},_updatePopupHeight:function(){this._needPopupRepaint()&&this._popup.repaint(),this._list&&this._list.updateDimensions()},_getMaxHeight:function(){var e=this.$element(),t=this._$customBoundaryContainer,n=e.offset().top-(t?t.offset().top:0),i=r(o).outerHeight(),s=t?Math.min(t.outerHeight(),i):i,a=Math.max(n,s-n-e.outerHeight());return Math.min(.5*s,a)},_clean:function(){this._list&&delete this._list,delete this._isLastMinSearchLengthExceeded,this.callBase()},_dispose:function(){this._clearSearchTimer(),this.callBase()},_setCollectionWidgetOption:function(){this._setListOption.apply(this,arguments)},_setSubmitValue:function(){var e=this.option("value"),t=this._shouldUseDisplayValue(e)?this._displayGetter(e):e;this._getSubmitElement().val(t)},_shouldUseDisplayValue:function(e){return"this"===this.option("valueExpr")&&u.isObject(e)},_optionChanged:function(e){switch(this._dataExpressionOptionChanged(e),e.name){case"hoverStateEnabled":case"focusStateEnabled":this._isDesktopDevice()&&this._setListOption(e.name,e.value),this.callBase(e);break;case"items":this.option("dataSource")||this._processDataSourceChanging();break;case"dataSource":this._processDataSourceChanging();break;case"valueExpr":this._renderValue(),this._setListOption("keyExpr",this._getCollectionKeyExpr());break;case"displayExpr":this._renderValue(),this._setListOption("displayExpr",this._displayGetterExpr());break;case"searchMode":this._validateSearchMode();break;case"minSearchLength":this._refreshList();break;case"searchEnabled":case"showDataBeforeSearch":case"searchExpr":this._invalidate();break;case"onContentReady":this._initContentReadyAction();break;case"onSelectionChanged":this._initSelectionChangedAction();break;case"onItemClick":this._initItemClickAction();break;case"grouped":case"groupTemplate":case"wrapItemText":case"noDataText":this._setListOption(e.name);break;case"displayValue":this.option("text",e.value);break;case"itemTemplate":case"searchTimeout":case"popupWidthExtension":break;case"selectedItem":e.previousValue!==e.value&&this._selectionChangedAction({selectedItem:e.value});break;default:this.callBase(e)}}}).include(y,S);l("dxDropDownList",T),e.exports=T},"8mBD":function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"8wSl":function(e,t,n){"use strict";var i=n("z7z0").fitIntoRange,r=n("KAnu").escapeRegExp,o=n("Bhoz"),s=function(e,t){var n=t.split(";"),i=o.getSign(e,t);n[1]=n[1]||"-"+n[0],t=(t=n[i<0?1:0]).replace(/'([^']*)'/g,(function(e){return e.split("").map((function(){return" "})).join("").substr(2)}));var r=/^[^#0.,]*/.exec(t)[0].length,s=/[^#0.,]*$/.exec(t)[0].length;return{start:r,end:e.length-s}},a=function(e,t){var n=o.getDecimalSeparator(),i=new RegExp("[^0-9"+r(n)+"]","g");return t.slice(0,e).replace(i,"").length},l=function(e){return e.split("").reverse().join("")},c=function(e,t){if(!e)return-1;for(var n=/[0-9]/g,i=1,r=null,o=n.exec(t);o;){if(r=o.index,!e||i>=e)return r;i++,o=n.exec(t)}return null===r?t.length:r},u=function(e,t){return void 0===e.start&&(e={start:e,end:e}),{start:e.start+t,end:e.end+t}},d=function(e,t,n){e=u(e,0);var r=s(t,n);return{start:i(e.start,r.start,r.end),end:i(e.end,r.start,r.end)}};t.getCaretBoundaries=s,t.isCaretInBoundaries=function(e,t,n){e=u(e,0);
1var i=d(e,t,n);return e.start>=i.start&&e.end<=i.end},t.getCaretWithOffset=u,t.getCaretInBoundaries=d,t.getCaretAfterFormat=function(e,t,n,i){n=u(n,0);var r=o.getDecimalSeparator(),s=function(e){return 1===e.length&&!!e.match(/^[,.][0-9]*$/g)}(e),h=s?0:e.indexOf(r),p=t.indexOf(r),f=e.split(s?e[h]:r),m=t.split(r);if(-1!==h&&n.start>h){var g=a(n.start-h-1,f[1]),_=m[1]?p+1+c(g,m[1])+1:t.length;return d(_,t,i)}var b=a(f[0].length-n.start,l(f[0])),v=c(b,l(m[0]));return d(m[0].length-(v+1),t,i)},t.getCaretOffset=function(e,t,n){var i=s(e,n);return s(t,n).start-i.start}},"91Oz":function(e,t,n){"use strict";e.exports={en:{Yes:"Yes",No:"No",Cancel:"Cancel",Clear:"Clear",Done:"Done",Loading:"Loading...",Select:"Select...",Search:"Search",Back:"Back",OK:"OK","dxCollectionWidget-noDataText":"No data to display","dxDropDownEditor-selectLabel":"Select","validation-required":"Required","validation-required-formatted":"{0} is required","validation-numeric":"Value must be a number","validation-numeric-formatted":"{0} must be a number","validation-range":"Value is out of range","validation-range-formatted":"{0} is out of range","validation-stringLength":"The length of the value is not correct","validation-stringLength-formatted":"The length of {0} is not correct","validation-custom":"Value is invalid","validation-custom-formatted":"{0}
1 is invalid","validation-async":"Value is invalid","validation-async-formatted":"{0} is invalid","validation-compare":"Values do not match","validation-compare-formatted":"{0} does not match","validation-pattern":"Value does not match pattern","validation-pattern-formatted":"{0} does not match pattern","validation-email":"Email is invalid","validation-email-formatted":"{0} is invalid","validation-mask":"Value is invalid","dxLookup-searchPlaceholder":"Minimum character number: {0}","dxList-pullingDownText":"Pull down to refresh...","dxList-pulledDownText":"Release to refresh...","dxList-refreshingText":"Refreshing...","dxList-pageLoadingText":"Loading...","dxList-nextButtonText":"More","dxList-selectAll":"Select All","dxListEditDecorator-delete":"Delete","dxListEditDecorator-more":"More","dxScrollView-pullingDownText":"Pull down to refresh...","dxScrollView-pulledDownText":"Release to refresh...","dxScrollView-refreshingText":"Refreshing...","dxScrollView-reachBottomText":"Loading...","dxDateBox-simulatedDataPickerTitleTime":"Select time","dxDateBox-simulatedDataPickerTitleDate":"Select date","dxDateBox-simulatedDataPickerTitleDateTime":"Select date and time","dxDateBox-validation-datetime":"Value must be a date or time","dxFileUploader-selectFile":"Select file","dxFileUploader-dropFile":"or Drop file here","dxFileUploader-bytes":"bytes","dxFileUploader-kb":"kb","dxFileUploader-Mb":"Mb","dxFileUploader-Gb":"Gb","dxFileUploader-upload":"Upload","dxFileUploader-uploaded":"Uploaded","dxFileUploader-readyToUpload":"Ready to upload","dxFileUploader-uploadFailedMessage":"Upload failed","dxFileUploader-invalidFileExtension":"File type is not allowed","dxFileUploader-invalidMaxFileSize":"File is too large","dxFileUploader-invalidMinFileSize":"File is too small","dxRangeSlider-ariaFrom":"From","dxRangeSlider-ariaTill":"Till","dxSwitch-switchedOnText":"ON","dxSwitch-switchedOffText":"OFF","dxForm-optionalMark":"optional","dxForm-requiredMessage":"{0} is required","dxNumberBox-invalidValueMessage":"Value must be a number","dxNumberBox-noDataText":"No data","dxDataGrid-columnChooserTitle":"Column Chooser","dxDataGrid-columnChooserEmptyText":"Drag a column here to hide it","dxDataGrid-groupContinuesMessage":"Continues on the next page","dxDataGrid-groupContinuedMessage":"Continued from the previous page","dxDataGrid-groupHeaderText":"Group by This Column","dxDataGrid-ungroupHeaderText":"Ungroup","dxDataGrid-ungroupAllText":"Ungroup All","dxDataGrid-editingEditRow":"Edit","dxDataGrid-editingSaveRowChanges":"Save","dxDataGrid-editingCancelRowChanges":"Cancel","dxDataGrid-editingDeleteRow":"Delete","dxDataGrid-editingUndeleteRow":"Undelete","dxDataGrid-editingConfirmDeleteMessage":"Are you sure you want to delete this record?","dxDataGrid-validationCancelChanges":"Cancel changes","dxDataGrid-groupPanelEmptyText":"Drag a column header here to group by that column","dxDataGrid-noDataText":"No data","dxDataGrid-searchPanelPlaceholder":"Search...","dxDataGrid-filterRowShowAllText":"(All)","dxDataGrid-filterRowResetOperationText":"Reset","dxDataGrid-filterRowOperationEquals":"Equals","dxDataGrid-filterRowOperationNotEquals":"Does not equal","dxDataGrid-filterRowOperationLess":"Less than","dxDataGrid-filterRowOperationLessOrEquals":"Less than or equal to","dxDataGrid-filterRowOperationGreater":"Greater than","dxDataGrid-filterRowOperationGreaterOrEquals":"Greater than or equal to","dxDataGrid-filterRowOperationStartsWith":"Starts with","dxDataGrid-filterRowOperationContains":"Contains","dxDataGrid-filterRowOperationNotContains":"Does not contain","dxDataGrid-filterRowOperationEndsWith":"Ends with","dxDataGrid-filterRowOperationBetween":"Between","dxDataGrid-filterRowOperationBetweenStartText":"Start","dxDataGrid-filterRowOperationBetweenEndText":"End","dxDataGrid-applyFilterText":"Apply filter","dxDataGrid-trueText":"true","dxDataGrid-falseText":"false","dxDataGrid-sortingAscendingText":"Sort Ascending","dxDataGrid-sortingDescendingText":"Sort Descending","dxDataGrid-sortingClearText":"Clear Sorting","dxDataGrid-editingSaveAllChanges":"Save changes","dxDataGrid-editingCancelAllChanges":"Discard changes","dxDataGrid-editingAddRow":"Add a row","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Min of {1} is {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Max of {1} is {0}","dxDataGrid-summaryAvg":"Avg: {0}","dxDataGrid-summaryAvgOtherColumn":"Avg of {1} is {0}","dxDataGrid-summarySum":"Sum: {0}","dxDataGrid-summarySumOtherColumn":"Sum of {1} is {0}","dxDataGrid-summaryCount":"Count: {0}","dxDataGrid-columnFixingFix":"Fix","dxDataGrid-columnFixingUnfix":"Unfix","dxDataGrid-columnFixingLeftPosition":"To the left","dxDataGrid-columnFixingRightPosition":"To the right","dxDataGrid-exportTo":"Export","dxDataGrid-exportToExcel":"Export to Excel file","dxDataGrid-exporting":"Exporting...","dxDataGrid-excelFormat":"Excel file","dxDataGrid-selectedRows":"Selected rows","dxDataGrid-exportSelectedRows":"Export selected rows","dxDataGrid-exportAll":"Export all data","dxDataGrid-headerFilterEmptyValue":"(Blanks)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Cancel","dxDataGrid-ariaColumn":"Column","dxDataGrid-ariaValue":"Value","dxDataGrid-ariaFilterCell":"Filter cell","dxDataGrid-ariaCollapse":"Collapse","dxDataGrid-ariaExpand":"Expand","dxDataGrid-ariaDataGrid":"Data grid","dxDataGrid-ariaSearchInGrid":"Search in data grid","dxDataGrid-ariaSelectAll":"Select all","dxDataGrid-ariaSelectRow":"Select row","dxDataGrid-filterBuilderPopupTitle":"Filter Builder","dxDataGrid-filterPanelCreateFilter":"Create Filter","dxDataGrid-filterPanelClearFilter":"Clear","dxDataGrid-filterPanelFilterEnabledHint":"Enable the filter","dxTreeList-ariaTreeList":"Tree list","dxTreeList-editingAddRowToNode":"Add","dxPager-infoText":"Page {0} of {1} ({2}
1 items)","dxPager-pagesCountText":"of","dxPivotGrid-grandTotal":"Grand Total","dxPivotGrid-total":"{0} Total","dxPivotGrid-fieldChooserTitle":"Field Chooser","dxPivotGrid-showFieldChooser":"Show Field Chooser","dxPivotGrid-expandAll":"Expand All","dxPivotGrid-collapseAll":"Collapse All","dxPivotGrid-sortColumnBySummary":'Sort "{0}" by This Column',"dxPivotGrid-sortRowBySummary":'Sort "{0}" by This Row',"dxPivotGrid-removeAllSorting":"Remove All Sorting","dxPivotGrid-dataNotAvailable":"N/A","dxPivotGrid-rowFields":"Row Fields","dxPivotGrid-columnFields":"Column Fields","dxPivotGrid-dataFields":"Data Fields","dxPivotGrid-filterFields":"Filter Fields","dxPivotGrid-allFields":"All Fields","dxPivotGrid-columnFieldArea":"Drop Column Fields Here","dxPivotGrid-dataFieldArea":"Drop Data Fields Here","dxPivotGrid-rowFieldArea":"Drop Row Fields Here","dxPivotGrid-filterFieldArea":"Drop Filter Fields Here","dxScheduler-editorLabelTitle":"Subject","dxScheduler-editorLabelStartDate":"Start Date","dxScheduler-editorLabelEndDate":"End Date","dxScheduler-editorLabelDescription":"Description","dxScheduler-editorLabelRecurrence":"Repeat","dxScheduler-openAppointment":"Open appointment","dxScheduler-recurrenceNever":"Never","dxScheduler-recurrenceDaily":"Daily","dxScheduler-recurrenceWeekly":"Weekly","dxScheduler-recurrenceMonthly":"Monthly","dxScheduler-recurrenceYearly":"Yearly","dxScheduler-recurrenceRepeatEvery":"Repeat Every","dxScheduler-recurrenceRepeatOn":"Repeat On","dxScheduler-recurrenceEnd":"End repeat","dxScheduler-recurrenceAfter":"After","dxScheduler-recurrenceOn":"On","dxScheduler-recurrenceRepeatDaily":"day(s)","dxScheduler-recurrenceRepeatWeekly":"week(s)","dxScheduler-recurrenceRepeatMonthly":"month(s)","dxScheduler-recurrenceRepeatYearly":"year(s)","dxScheduler-switcherDay":"Day","dxScheduler-switcherWeek":"Week","dxScheduler-switcherWorkWeek":"Work Week","dxScheduler-switcherMonth":"Month","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"Timeline Day","dxScheduler-switcherTimelineWeek":"Timeline Week","dxScheduler-switcherTimelineWorkWeek":"Timeline Work Week","dxScheduler-switcherTimelineMonth":"Timeline Month","dxScheduler-recurrenceRepeatOnDate":"on date","dxScheduler-recurrenceRepeatCount":"occurrence(s)","dxScheduler-allDay":"All day","dxScheduler-confirmRecurrenceEditMessage":"Do you want to edit only this appointment or the whole series?","dxScheduler-confirmRecurrenceDeleteMessage":"Do you want to delete only this appointment or the whole series?","dxScheduler-confirmRecurrenceEditSeries":"Edit series","dxScheduler-confirmRecurrenceDeleteSeries":"Delete series","dxScheduler-confirmRecurrenceEditOccurrence":"Edit appointment","dxScheduler-confirmRecurrenceDeleteOccurrence":"Delete appointment","dxScheduler-noTimezoneTitle":"No timezone","dxScheduler-moreAppointments":"{0} more","dxCalendar-todayButtonText":"Today","dxCalendar-ariaWidgetName":"Calendar","dxColorView-ariaRed":"Red","dxColorView-ariaGreen":"Green","dxColorView-ariaBlue":"Blue","dxColorView-ariaAlpha":"Transparency","dxColorView-ariaHex":"Color code","dxTagBox-selected":"{0} selected","dxTagBox-allSelected":"All selected ({0})","dxTagBox-moreSelected":"{0} more","vizExport-printingButtonText":"Print","vizExport-titleMenuText":"Exporting/Printing","vizExport-exportButtonText":"{0} file","dxFilterBuilder-and":"And","dxFilterBuilder-or":"Or","dxFilterBuilder-notAnd":"Not And","dxFilterBuilder-notOr":"Not Or","dxFilterBuilder-addCondition":"Add Condition","dxFilterBuilder-addGroup":"Add Group","dxFilterBuilder-enterValueText":"<enter a value>","dxFilterBuilder-filterOperationEquals":"Equals","dxFilterBuilder-filterOperationNotEquals":"Does not equal","dxFilterBuilder-filterOperationLess":"Is less than","dxFilterBuilder-filterOperationLessOrEquals":"Is less than or equal to","dxFilterBuilder-filterOperationGreater":"Is greater than","dxFilterBuilder-filterOperationGreaterOrEquals":"Is greater than or equal to","dxFilterBuilder-filterOperationStartsWith":"Starts with","dxFilterBuilder-filterOperationContains":"Contains","dxFilterBuilder-filterOperationNotContains":"Does not contain","dxFilterBuilder-filterOperationEndsWith":"Ends with","dxFilterBuilder-filterOperationIsBlank":"Is blank","dxFilterBuilder-filterOperationIsNotBlank":"Is not blank","dxFilterBuilder-filterOperationBetween":"Is between","dxFilterBuilder-filterOperationAnyOf":"Is any of","dxFilterBuilder-filterOperationNoneOf":"Is none of","dxHtmlEditor-dialogColorCaption":"Change Font Color","dxHtmlEditor-dialogBackgroun
1dCaption":"Change Background Color","dxHtmlEditor-dialogLinkCaption":"Add Link","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Text","dxHtmlEditor-dialogLinkTargetField":"Open link in new window","dxHtmlEditor-dialogImageCaption":"Add Image","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Alternate text","dxHtmlEditor-dialogImageWidthField":"Width (px)","dxHtmlEditor-dialogImageHeightField":"Height (px)","dxHtmlEditor-heading":"Heading","dxHtmlEditor-normalText":"Normal text","dxFileManager-newDirectoryName":"Untitled directory","dxFileManager-rootDirectoryName":"Files","dxFileManager-errorNoAccess":"Access denied. The operation cannot be completed.","dxFileManager-errorDirectoryExistsFormat":"Directory '{0}' already exists.","dxFileManager-errorFileExistsFormat":"File '{0}' already exists.","dxFileManager-errorFileNotFoundFormat":"File '{0}' not found.","dxFileManager-errorDirectoryNotFoundFormat":"Directory '{0}' not found.","dxFileManager-errorWrongFileExtension":"File extension is not allowed.","dxFileManager-errorMaxFileSizeExceeded":"File size exceeds the maximum allowed size.","dxFileManager-errorInvalidSymbols":"This name contains invalid characters.","dxFileManager-errorDefault":"Unspecified error.","dxFileManager-commandCreate":"New directory","dxFileManager-commandRename":"Rename","dxFileManager-commandMove":"Move","dxFileManager-commandCopy":"Copy","dxFileManager-commandDelete":"Delete","dxFileManager-commandDownload":"Download","dxFileManager-commandUpload":"Upload files","dxFileManager-commandRefresh":"Refresh","dxFileManager-commandThumbnails":"Thumbnails View","dxFileManager-commandDetails":"Details View","dxFileManager-commandClear":"Clear selection","dxFileManager-dialogDirectoryChooserTitle":"Select Destination Directory","dxFileManager-dialogDirectoryChooserButtonText":"Select","dxFileManager-dialogRenameItemTitle":"Rename","dxFileManager-dialogRenameItemButtonText":"Save","dxFileManager-dialogCreateDirectoryTitle":"New directory","dxFileManager-dialogCreateDirectoryButtonText":"Create","dxFileManager-editingCreateSingleItemProcessingMessage":"Creating a directory inside {0}","dxFileManager-editingCreateSingleItemSuccessMessage":"Created a directory inside {0}","dxFileManager-editingCreateSingleItemErrorMessage":"Directory wasn't created","dxFileManager-editingCreateCommonErrorMessage":"Directory wasn't created","dxFileManager-editingRenameSingleItemProcessingMessage":"Renaming an item inside {0}","dxFileManager-editingRenameSingleItemSuccessMessage":"Renamed an item inside {0}","dxFileManager-editingRenameSingleItemErrorMessage":"Item wasn't renamed","dxFileManager-editingRenameCommonErrorMessage":"Item wasn't renamed","dxFileManager-editingDeleteSingleItemProcessingMessage":"Deleting an item from {0}","dxFileManager-editingDeleteMultipleItemsProcessingMessage":"Deleting {0} items from {1}","dxFileManager-editingDeleteSingleItemSuccessMessage":"Deleted an item from {0}","dxFileManager-editingDeleteMultipleItemsSuccessMessage":"Deleted {0} items from {1}","dxFileManager-editingDeleteSingleItemErrorMessage":"Item wasn't deleted","dxFileManager-editingDeleteMultipleItemsErrorMessage":"{0} items weren't deleted","dxFileManager-editingDeleteCommonErrorMessage":"Some items weren't deleted","dxFileManager-editingMoveSingleItemProcessingMessage":"Moving an item to {0}","dxFileManager-editingMoveMultipleItemsProcessingMessage":"Moving {0} items to {1}","dxFileManager-editingMoveSingleItemSuccessMessage":"Moved an item to {0}","dxFileManager-editingMoveMultipleItemsSuccessMessage":"Moved {0} items to {1}","dxFileManager-editingMoveSingleItemErrorMessage":"Item wasn't moved","dxFileManager-editingMoveMultipleItemsErrorMessage":"{0} items weren't moved","dxFileManager-editingMoveCommonErrorMessage":"Some items weren't moved","dxFileManager-editingCopySingleItemProcessingMessage":"Copying an item to {0}","dxFileManager-editingCopyMultipleItemsProcessingMessage":"Copying {0} items to {1}","dxFileManager-editingCopySingleItemSuccessMessage":"Copied an item to {0}","dxFileManager-editingCopyMultipleItemsSuccessMessage":"Copied {0} items to {1}","dxFileManager-editingCopySingleItemErrorMessage":"Item wasn't copied","dxFileManager-editingCopyMultipleItemsErrorMessage":"{0} items weren't copied","dxFileManager-editingCopyCommonErrorMessage":"Some items weren't copied","dxFileManager-editingUploadSingleItemProcessingMessage":"Uploading an item to {0}","dxFileManager-editingUploadMultipleItemsProcessingMessage":"Uploading {0} items to {1}","dxFileManager-editingUploadSingleItemSuccessMessage":"Uploaded an item to {0}","dxFileManager-editingUploadMultipleItemsSuccessMessage":"Uploaded {0} items to {1}","dxFileManager-editingUploadSingleItemErrorMessage":"Item wasn't uploaded","dxFileManager-editingUploadMultipleItemsErrorMessage":"{0} items weren't uploaded","dxFileManager-editingUploadCanceledMessage":"Canceled","dxFileManager-listDetailsColumnCaptionName":"Name","dxFileManager-listDetailsColumnCaptionDateModified":"Date Modified","dxFileManager-listDetailsColumnCaptionFileSize":"File Size","dxFileManager-listThumbnailsTooltipTextSize":"Size","dxFileManager-listThumbnailsTooltipTextDateModified":"Date Modified","dxFileManager-notificationProgressPanelTitle":"Progress","dxFileManager-notificationProgressPanelEmptyListText":"No operations","dxFileManager-notificationProgressPanelOperationCanceled":"Canceled","dxDiagram-categoryGeneral":"General","dxDiagram-categoryFlowchart":"Flowchart","dxDiagram-categoryOrgChart":"Organizational Chart","dxDiagram-categoryContainers":"Containers","dxDiagram-categoryCustom":"Custom","dxDiagram-commandPro
1perties":"Properties","dxDiagram-commandExport":"Export","dxDiagram-commandExportToSvg":"Export to SVG","dxDiagram-commandExportToPng":"Export to PNG","dxDiagram-commandExportToJpg":"Export to JPEG","dxDiagram-commandUndo":"Undo","dxDiagram-commandRedo":"Redo","dxDiagram-commandFontName":"Font Name","dxDiagram-commandFontSize":"Font Size","dxDiagram-commandBold":"Bold","dxDiagram-commandItalic":"Italic","dxDiagram-commandUnderline":"Underline","dxDiagram-commandTextColor":"Text Color","dxDiagram-commandLineColor":"Line Color","dxDiagram-commandFillColor":"Fill Color","dxDiagram-commandAlignLeft":"Align Left","dxDiagram-commandAlignCenter":"Align Center","dxDiagram-commandAlignRight":"Align Right","dxDiagram-commandConnectorLineType":"Connector Line Type","dxDiagram-commandConnectorLineStraight":"Straight","dxDiagram-commandConnectorLineOrthogonal":"Orthogonal","dxDiagram-commandConnectorLineStart":"Connector Line Start","dxDiagram-commandConnectorLineEnd":"Connector Line End","dxDiagram-commandConnectorLineNone":"None","dxDiagram-commandConnectorLineArrow":"Arrow","dxDiagram-commandAutoLayout":"Auto Layout","dxDiagram-commandAutoLayoutTree":"Tree","dxDiagram-commandAutoLayoutLayered":"Layered","dxDiagram-commandAutoLayoutHorizontal":"Horizontal","dxDiagram-commandAutoLayoutVertical":"Vertical","dxDiagram-commandFullscreen":"Full Screen","dxDiagram-commandUnits":"Units","dxDiagram-commandPageSize":"Page Size","dxDiagram-commandPageOrientation":"Page Orientation","dxDiagram-commandPageOrientationLandscape":"Landscape","dxDiagram-commandPageOrientationPortrait":"Portrait","dxDiagram-commandPageColor":"Page Color","dxDiagram-commandShowGrid":"Show Grid","dxDiagram-commandSnapToGrid":"Snap to Grid","dxDiagram-commandGridSize":"Grid Size","dxDiagram-commandZoomLevel":"Zoom Level","dxDiagram-commandAutoZoom":"Auto Zoom","dxDiagram-commandSimpleView":"Simple View","dxDiagram-commandCut":"Cut","dxDiagram-commandCopy":"Copy","dxDiagram-commandPaste":"Paste","dxDiagram-commandSelectAll":"Select All","dxDiagram-commandDelete":"Delete","dxDiagram-commandBringToFront":"Bring to Front","dxDiagram-commandSendToBack":"Send to Back","dxDiagram-commandLock":"Lock","dxDiagram-commandUnlock":"Unlock","dxDiagram-commandInsertShapeImage":"Insert Image...","dxDiagram-commandEditShapeImage":"Change Image...","dxDiagram-commandDeleteShapeImage":"Delete Image","dxDiagram-unitIn":"in","dxDiagram-unitCm":"cm","dxDiagram-unitPx":"px","dxDiagram-dialogButtonOK":"OK","dxDiagram-dialogButtonCancel":"Cancel","dxDiagram-dialogInsertShapeImageTitle":"Insert Image","dxDiagram-dialogEditShapeImageTitle":"Change Image","dxDiagram-dialogEditShapeImageSelectButton":"Select image","dxDiagram-dialogEditShapeImageLabelText":"or drop file here"}}},"9Lc9":function(e,t,n){"use strict";var i=k(n("FKN7")),r=k(n("UwWO")),o=k(n("jeLr")),s=k(n("0osO")),a=k(n("D6VQ")),l=n("KAnu"),c=n("gpjr"),u=n("zl3R"),d=n("ti0F"),h=n("1LL4"),p=n("v4HY"),f=k(n("D8Ap")),m=n("vlix"),g=n("XgSC"),_=k(n("zTUP")),b=n("imRD"),v=n("JDOJ"),y=k(n("ynD9")),w=k(n("XCcL")),C=k(n("LdFP")),x=n("eBB/"),S=k(n("IF55"));function k(e){return e&&e.__esModule?e:{default:e}}var T="ios"===C.default.current().platform,E=y.default.inherit({_supportedKeys:function(){return(0,h.extend)({},this.callBase(),{tab:function(e){if(this.option("opened"))if("instantly"!==this.option("applyValueMode")){var t=e.shiftKey?this._getLastPopupElement():this._getFirstPopupElement();t&&o.default.trigger(t,"focus"),e.preventDefault()}else this.close()},escape:function(e){return this.option("opened")&&e.preventDefault(),this.close(),!0},upArrow:function(e){return e.preventDefault(),e.stopPropagation(),!e.altKey||(this.close(),!1)},downArrow:function(e){return e.preventDefault(),e.stopPropagation(),!e.altKey||(this._validatedOpening(),!1)},enter:function(e){return this.option("opened")&&(e.preventDefault(),this._valueChangeEventHandler(e)),!0}})},_getDefaultButtons:function(){return this.callBase().concat([{name:"dropDown",Ctor:_.default}])},_getDefaultOptions:function(){return(0,h.extend)(this.callBase(),{value:null,onOpened:null,onClosed:null,opened:!1,acceptCustomValue:!0,applyValueMode:"instantly",deferRendering:!0,activeStateEnabled:!0,dropDownButtonTemplate:"dropDownButton",fieldTemplate:null,openOnFieldClick:!1,showDropDownButton:!0,buttons:void 0,dropDownOptions:{},popupPosition:this._getDefaultPopupPosition(),onPopupInitialized:null,applyButtonText:(0,b.format)("OK"),cancelButtonText:(0,b.format)("Cancel"),buttonsLocation:"default",showPopupTitle:!1,useHiddenSubmitElement:!1})},_getDefaultPopupPosition:function(e){var t=(0,g.getDefaultAlignment)(e);return{offset:{h:0,v:-1},my:t+" top",at:t+" bottom",collision:"flip flip"}},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"generic"===e.platform},options:{popupPosition:{offset:{v:0}}}}])},_inputWrapper:function(){return this.$element().find(".dx-dropdowneditor-input-wrapper")},_init:function(){this.callBase(),this._initVisibilityActions(),this._initPopupInitializedAction(),this._updatePopupPosition(this.option("rtlEnabled")),this._initInnerOptionCache("dropDownOptions")},_updatePopupPosition:function(e){var t=this._getDefaultPopupPosition(e),n=t.my,i=t.at,r=this.option("popupPosition");this.option("popupPosition",(0,h.extend)({},r,{my:n,at:i}))},_initVisibilityActions:function(){this._openAction=this._createActionByOption("onOpened",{excludeValidators:["disabled","readOnly"]}
1),this._closeAction=this._createActionByOption("onClosed",{excludeValidators:["disabled","readOnly"]})},_initPopupInitializedAction:function(){this._popupInitializedAction=this._createActionByOption("onPopupInitialized",{excludeValidators:["disabled","readOnly"]})},_initMarkup:function(){this._renderSubmitElement(),this.callBase(),this.$element().addClass("dx-dropdowneditor"),this.setAria("role","combobox")},_render:function(){this.callBase(),this._renderOpenHandler(),this._attachFocusOutHandler(),this._renderOpenedState()},_renderContentImpl:function(){this.option("deferRendering")||this._createPopup()},_renderInput:function(){this.callBase(),this.$element().wrapInner((0,i.default)("<div>").addClass("dx-dropdowneditor-input-wrapper")),this._$container=this.$element().children().eq(0),this._setDefaultAria()},_setDefaultAria:function(){this.setAria({haspopup:"true",autocomplete:"list"})},_readOnlyPropValue:function(){return!this.option("acceptCustomValue")||this.callBase()},_cleanFocusState:function(){this.callBase(),this.option("fieldTemplate")&&this._detachFocusEvents()},_getFieldTemplate:function(){return this.option("fieldTemplate")&&this._getTemplateByOption("fieldTemplate")},_renderMask:function(){this.option("fieldTemplate")||this.callBase()},_renderField:function(){var e=this._getFieldTemplate();e&&this._renderTemplatedField(e,this._fieldRenderData())},_renderPlaceholder:function(){this._getFieldTemplate()||this.callBase()},_renderValue:function(){this.option("useHiddenSubmitElement")&&this._setSubmitValue(),this.callBase().always(this._renderField.bind(this))},_renderTemplatedField:function(e,t){var n=this,r=(0,c.focused)(this._input()),s=this._$container;this._disposeKeyboardProcessor();var a=this._$beforeButtonsContainer&&this._$beforeButtonsContainer[0].parentNode,l=this._$afterButtonsContainer&&this._$afterButtonsContainer[0].parentNode;a&&a.removeChild(this._$beforeButtonsContainer[0]),l&&l.removeChild(this._$afterButtonsContainer[0]),this._detachFocusEvents(),s.empty();var u=(0,i.default)("<div>").addClass("dx-dropdowneditor-field-template-wrapper").appendTo(s);e.render({model:t,container:(0,p.getPublicElement)(u),onRendered:function(){var e=n._input();if(!e.length)throw f.default.Error("E1010");n._refreshEvents(),n._refreshValueChangeEvent(),n._renderFocusState(),r&&o.default.trigger(e,"focus")}}),s.prepend(this._$beforeButtonsContainer),s.append(this._$afterButtonsContainer)},_fieldRenderData:function(){return this.option("value")},_initTemplates:function(){this.callBase(),this._defaultTemplates.dropDownButton=new x.FunctionTemplate((function(e){var t=(0,i.default)("<div>").addClass("dx-dropdowneditor-icon");(0,i.default)(e.container).append(t)}))},_renderOpenHandler:function(){var e=this._inputWrapper(),t=(0,v.addNamespace)(w.default.name,this.NAME),n=this.option("openOnFieldClick");o.default.off(e,t),o.default.on(e,t,this._getInputClickHandler(n)),this.$element().toggleClass("dx-dropdowneditor-field-clickable",n),n&&(this._openOnFieldClickAction=this._createAction(this._openHandler.bind(this)))},_attachFocusOutHandler:function(){var e=this;T&&(this._detachFocusOutEvents(),o.default.on(this._inputWrapper(),(0,v.addNamespace)("focusout",this.NAME),(function(t){var n=t.relatedTarget,r=e.content?(0,i.default)(e.content()).closest(".dx-dropdowneditor-overlay"):e._$popup;n&&e.option("opened")&&0===(0,i.default)(n).closest(".dx-dropdowneditor-overlay",r).length&&e.close()})))},_detachFocusOutEvents:function(){T&&o.default.off(this._inputWrapper(),(0,v.addNamespace)("focusout",this.NAME))},_getInputClickHandler:function(e){var t=this;return e?function(e){t._executeOpenAction(e)}:function(e){t._focusInput()}},_openHandler:function(){this._toggleOpenState()},_executeOpenAction:function(e){this._openOnFieldClickAction({event:e})},_keyboardEventBindingTarget:function(){return this._input()},_focusInput:function(){return!this.option("disabled")&&(this.option("focusStateEnabled")&&!(0,c.focused)(this._input())&&o.default.trigger(this._input(),"focus"),!0)},_toggleOpenState:function(e){this._focusInput()&&(this.option("readOnly")||(e=arguments.length?e:!this.option("opened"),this.option("opened",e)))},_renderOpenedState:function(){var e=this.option("opened");e&&this._createPopup(),this.$element().toggleClass("dx-dropdowneditor-active",e),this._setPo
1pupOption("visible",e),this.setAria({expanded:e}),this.setAria("owns",e?this._popupContentId:void 0,this.$element())},_createPopup:function(){this._$popup||(this._$popup=(0,i.default)("<div>").addClass("dx-dropdowneditor-overlay").addClass(this.option("customOverlayCssClass")).appendTo(this.$element()),this._renderPopup(),this._renderPopupContent())},_renderPopupContent:l.noop,_renderPopup:function(){this._popup=this._createComponent(this._$popup,S.default,(0,h.extend)(this._popupConfig(),this._getInnerOptionsCache("dropDownOptions"))),this._popup.on({showing:this._popupShowingHandler.bind(this),shown:this._popupShownHandler.bind(this),hiding:this._popupHidingHandler.bind(this),hidden:this._popupHiddenHandler.bind(this)}),this._popup.option("onContentReady",this._contentReadyHandler.bind(this)),this._contentReadyHandler(),this._setPopupContentId(this._popup.$content()),this._bindInnerWidgetOptions(this._popup,"dropDownOptions")},_setPopupContentId:function(e){this._popupContentId="dx-"+new s.default,this.setAria("id",this._popupContentId,e)},_contentReadyHandler:l.noop,_popupConfig:function(){return{onInitialized:this._popupInitializedHandler(),position:(0,h.extend)(this.option("popupPosition"),{of:this.$element()}),showTitle:this.option("showPopupTitle"),width:"auto",height:"auto",shading:!1,closeOnTargetScroll:!0,closeOnOutsideClick:this._closeOutsideDropDownHandler.bind(this),animation:{show:{type:"fade",duration:0,from:0,to:1},hide:{type:"fade",duration:400,from:1,to:0}},deferRendering:!1,focusStateEnabled:!1,showCloseButton:!1,toolbarItems:this._getPopupToolbarItems(),onPositioned:this._popupPositionedHandler.bind(this),fullScreen:!1,contentTemplate:null}},_popupInitializedHandler:function(){var e=this;if(this.option("onPopupInitialized"))return function(t){e._popupInitializedAction({popup:t.component})}},_popupPositionedHandler:function(e){e.position&&this._popup.overlayContent().toggleClass("dx-dropdowneditor-overlay-flipped",e.position.v.flip)},_popupShowingHandler:l.noop,_popupHidingHandler:function(){this.option("opened",!1)},_popupShownHandler:function(){this._openAction(),this._$validationMessage&&this._$validationMessage.dxOverlay("option","position",this._getValidationMessagePosition())},_popupHiddenHandler:function(){this._closeAction(),this._$validationMessage&&this._$validationMessage.dxOverlay("option","position",this._getValidationMessagePosition())},_getValidationMessagePosition:function(){var e="below";if(this._popup&&this._popup.option("visible")){var t=(0,m.setup)(this.$element()).top,n=(0,m.setup)(this._popup.$content()).top;e=t+this.option("popupPosition").offset.v>n?"below":"above"}return this.callBase(e)},_closeOutsideDropDownHandler:function(e){var t=(0,i.default)(e.target),n=this.getButton("dropDown"),r=n&&n.$element(),o=!!t.closest(this.$element()).length,s=!!t.closest(r).length;return!o&&!s},_clean:function(){delete this._openOnFieldClickAction,this._$popup&&(this._$popup.remove(),delete this._$popup,delete this._popup),this.callBase()},_setPopupOption:function(e,t){this._setWidgetOption("_popup",arguments)},_validatedOpening:function(){this.option("readOnly")||this._toggleOpenState(!0)},_getPopupToolbarItems:function(){return"useButtons"===this.option("applyValueMode")?this._popupToolbarItemsConfig():[]},_getFirstPopupElement:function(){return this._popup._wrapper().find(".dx-popup-done.dx-button")},_getLastPopupElement:function(){return this._popup._wrapper().find(".dx-popup-cancel.dx-button")},_popupElementTabHandler:function(e){var t=(0,i.default)(e.currentTarget);(e.shiftKey&&t.is(this._getFirstPopupElement())||!e.shiftKey&&t.is(this._getLastPopupElement()))&&(o.default.trigger(this._input(),"focus"),e.preventDefault())},_popupElementEscHandler:function(){o.default.trigger(this._input(),"focus"),this.close()},_popupButtonInitializedHandler:function(e){e.component.registerKeyHandler("tab",this._popupElementTabHandler.bind(this)),e.component.registerKeyHandler("escape",this._popupElementEscHandler.bind(this))},_popupToolbarItemsConfig:function(){var e=[{shortcut:"done",options:{onClick:this._applyButtonHandler.bind(this),text:this.option("applyButtonText"),onInitialized:this._popupButtonInitializedHandler.bind(this)}},{shortcut:"cancel",options:{onClick:this._cancelButtonHandler.bind(this),text:this.option("cancelButtonText"),onInitialized:this._popupButtonInitializedHandler.bind(this)}}];return this._applyButtonsLocation(e)},_applyButtonsLocation:function(e){var t=this.option("buttonsLocation"),n=e;if("default"!==t){var i=(0,l.splitPair)(t);
1(0,u.each)(n,(function(e,t){(0,h.extend)(t,{toolbar:i[0],location:i[1]})}))}return n},_applyButtonHandler:function(){this.close(),this.option("focusStateEnabled")&&this.focus()},_cancelButtonHandler:function(){this.close(),this.option("focusStateEnabled")&&this.focus()},_updatePopupWidth:l.noop,_popupOptionChanged:function(e){var t=this._getOptionsFromContainer(e);this._setPopupOption(t),-1!==Object.keys(t).indexOf("width")&&void 0===t.width&&this._updatePopupWidth()},_renderSubmitElement:function(){this.option("useHiddenSubmitElement")&&(this._$submitElement=(0,i.default)("<input>").attr("type","hidden").appendTo(this.$element()))},_setSubmitValue:function(){this._getSubmitElement().val(this.option("value"))},_getSubmitElement:function(){return this.option("useHiddenSubmitElement")?this._$submitElement:this.callBase()},_dispose:function(){this._detachFocusOutEvents(),this.callBase()},_optionChanged:function(e){switch(e.name){case"opened":this._renderOpenedState();break;case"onOpened":case"onClosed":this._initVisibilityActions();break;case"onPopupInitialized":this._initPopupInitializedAction();break;case"fieldTemplate":(0,d.isDefined)(e.value)?this._renderField():this._invalidate();break;case"acceptCustomValue":case"openOnFieldClick":this._invalidate();break;case"dropDownButtonTemplate":case"showDropDownButton":this._updateButtons(["dropDown"]);break;case"dropDownOptions":this._popupOptionChanged(e),this._cacheInnerOptions("dropDownOptions",e.value);break;case"popupPosition":case"deferRendering":break;case"applyValueMode":case"applyButtonText":case"cancelButtonText":case"buttonsLocation":this._setPopupOption("toolbarItems",this._getPopupToolbarItems());break;case"showPopupTitle":this._setPopupOption("showTitle",e.value);break;case"useHiddenSubmitElement":this._$submitElement&&(this._$submitElement.remove(),this._$submitElement=void 0),this._renderSubmitElement();break;case"rtlEnabled":this._updatePopupPosition(e.value),this.callBase(e);break;default:this.callBase(e)}},open:function(){this.option("opened",!0)},close:function(){this.option("opened",!1)},field:function(){return(0,p.getPublicElement)(this._input())},content:function(){return this._popup?this._popup.content():null}}).include(r.default);(0,a.default)("dxDropDownEditor",E),e.exports=E,e.exports.default=e.exports},"9OaD":function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return c}));var i=n("fXoL"),r=n("3Pt+"),o=n("ofXK");function s(e,t){if(1&e){const e=i.Sb();i.Rb(0,"input",3),i.ac("keydown",(function(t){return i.wc(e),i.ec(2).onKeyDown(t)}))("keyup",(function(n){i.wc(e);const r=t.index;return i.ec(2).onKeyUp(n,r)})),i.Qb()}if(2&e){const e=t.$implicit,n=t.index,r=i.ec(2);i.Cb("otp-input ",r.config.inputClass,""),i.nc("id","otp_",n,"_",r.componentKey,""),i.kc("pattern",r.config.allowNumbersOnly?"\\d*":"")("type",r.inputType)("placeholder",(null==r.config?null:r.config.placeholder)||"")("disabledNumberOnly",!r.config.allowNumbersOnly)("ngStyle",r.config.inputStyles)("formControl",r.otpForm.controls[e])}}function a(e,t){if(1&e&&(i.Rb(0,"div",1),i.Cc(1,s,1,11,"input",2),i.fc(2,"keys"),i.Qb()),2&e){const e=i.ec();i.Cb("wrapper ",e.config.containerClass,""),i.mc("id","c_",e.componentKey,""),i.kc("ngStyle",e.config.containerStyles),i.zb(1),i.kc("ngForOf",i.gc(2,6,null==e.otpForm?null:e.otpForm.controls))}}let l=(()=>{class e{transform(e){return Object.keys(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Kb({name:"keys",type:e,pure:!0}),e})(),c=(()=>{class e{constructor(e){this.keysPipe=e,this.config={length:4},this.onInputChange=new i.n,this.inputControls=new Array(this.config.length),this.componentKey=Math.random().toString(36).substring(2)+(new Date).getTime().toString(36)}ngOnInit(){this.otpForm=new r.g({});for(let e=0;e<this.config.length;e++)this.otpForm.addControl(this.getControlName(e),new r.d);this.inputType=this.getInputType()}ngAfterViewInit(){if(!this.config.disableAutoFocus){const e=document.getElementById(`c_${this.componentKey}`);if(e){e.addEventListener("paste",e=>this.handlePaste(e));const t=e.getElementsByClassName("otp-input")[0];
1t&&t.focus&&t.focus()}}}getControlName(e){return`ctrl_${e}`}ifLeftArrow(e){return this.ifKeyCode(e,37)}ifRightArrow(e){return this.ifKeyCode(e,39)}ifBackspaceOrDelete(e){return"Backspace"===e.key||"Delete"===e.key||this.ifKeyCode(e,8)||this.ifKeyCode(e,46)}ifKeyCode(e,t){return(e.keyCode||e.charCode)==t}onKeyDown(e){if(this.ifKeyCode(e,32))return!1}onKeyUp(e,t){const n=this.appendKey(`otp_${t+1}`),i=this.appendKey(`otp_${t-1}`);if(this.ifRightArrow(e))this.setSelected(n);else{if(!this.ifLeftArrow(e))return this.ifBackspaceOrDelete(e)&&!e.target.value?(this.setSelected(i),void this.rebuildValue()):void(e.target.value&&(this.ifValidEntry(e)&&this.setSelected(n),this.rebuildValue()));this.setSelected(i)}}appendKey(e){return`${e}_${this.componentKey}`}setSelected(e){this.focusTo(e);const t=document.getElementById(e);t&&t.setSelectionRange&&setTimeout(()=>{t.setSelectionRange(0,1)},0)}ifValidEntry(e){const t=String.fromCharCode(e.keyCode);return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)||/[a-zA-Z0-9-_]/.test(t)||this.config.allowKeyCodes&&this.config.allowKeyCodes.includes(e.keyCode)||e.keyCode>=96&&e.keyCode<=105}focusTo(e){const t=document.getElementById(e);t&&t.focus()}setValue(e){if(!this.config.allowNumbersOnly||!isNaN(e))if(this.otpForm.reset(),e){if(e=e.toString().replace(/\s/g,""),Array.from(e).forEach((e,t)=>{this.otpForm.get(this.getControlName(t))&&this.otpForm.get(this.getControlName(t)).setValue(e)}),!this.config.disableAutoFocus){const n=document.getElementById(`c_${this.componentKey}`);var t=e.length<this.config.length?e.length:this.config.length-1;let i=n.getElementsByClassName("otp-input")[t];i&&i.focus&&i.focus()}this.rebuildValue()}else this.rebuildValue()}rebuildValue(){let e="";this.keysPipe.transform(this.otpForm.controls).forEach(t=>{this.otpForm.controls[t].value&&(e+=this.otpForm.controls[t].value)}),this.onInputChange.emit(e)}getInputType(){return this.config.isPasswordInput?"password":this.config.allowNumbersOnly?"tel":"text"}handlePaste(e){let t=e.clipboardData||window.clipboardData;if(t)var n=t.getData("Text");e.stopPropagation(),e.preventDefault(),n&&this.setValue(n)}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(l))},e.\u0275cmp=i.Fb({type:e,selectors:[["ng-otp-input"]],inputs:{config:"config"},outputs:{onInputChange:"onInputChange"},decls:1,vars:1,consts:[[3,"class","id","ngStyle",4,"ngIf"],[3,"id","ngStyle"],["numberOnly","","maxlength","1","autocomplete","off",3,"pattern","type","placeholder","disabledNumberOnly","ngStyle","class","formControl","id","keydown","keyup",4,"ngFor","ngForOf"],["numberOnly","","maxlength","1","autocomplete","off",3,"pattern","type","placeholder","disabledNumberOnly","ngStyle","formControl","id","keydown","keyup"]],template:function(e,t){1&e&&i.Cc(0,a,3,8,"div",0),2&e&&i.kc("ngIf",null==t.otpForm?null:t.otpForm.controls)},directives:function(){return[o.l,o.m,o.k,r.b,u,r.j,r.o,r.m,r.e]},pipes:function(){return[l]},styles:[".otp-input[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:4px;border:1px solid #c5c5c5;text-align:center;font-size:32px}.wrapper[_ngcontent-%COMP%]   .otp-input[_ngcontent-%COMP%]:not(:last-child){margin-right:8px}@media screen and (max-width:767px){.otp-input[_ngcontent-%COMP%]{width:40px;font-size:24px;height:40px}}@media screen and (max-width:420px){.otp-input[_ngcontent-%COMP%]{width:30px;font-size:18px;height:30px}}"]}),e})(),u=(()=>{class e{constructor(e,t){this._elRef=e,this._renderer=t}ngOnInit(){this.disabledNumberOnly||this._renderer.setAttribute(this._elRef.nativeElement,"onkeypress","return (event.charCode >= 48 && event.charCode <= 57) || event.charCode == 0")}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.l),i.Lb(i.D))},e.\u0275dir=i.Gb({type:e,selectors:[["","numberOnly",""]],inputs:{disabledNumberOnly:"disabledNumberOnly"}}),e})(),d=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:[l],imports:[[o.b,r.i,r.q]]}),e})()},"9nyG":function(e,t,n){"use strict";var i,r,o=n("FKN7"),s=n("cGv3").getWindow(),a=n("jeLr"),l=n("TssP"),c=n("D6VQ"),u=n("YQNt"),d=n("hn2h"),h=n("uHaw"),p=n("xZEH").dasherize,f=n("1LL4").extend,m=n("tPCu"),g=n("v4HY").getPublicElement,_=n("JDOJ"),b=n("T4bj"),v=n("KrLa"),y=n("vlix"),w=n("ti0F"),C=n("KAnu").noop,x=n("CWM8"),S=n("KAnu"),k=n("RG5Y").EmptyTemplate,T=n("tJvG"),E=T.when,I=T.fromPromise,D="dxDraggable",M=_.addNamespace(v.start,D),O=_.addNamespace(v.move,D),R=_.addNamespace(v.end,D),L=_.addNamespace(v.enter,D),A=_.addNamespace(v.leave,D),P=_.addNamespace(b.down,D),F=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._preventScroll=!0,this._component=n,"vertical"===t?(this._scrollValue="scrollTop",this._overFlowAttr="overflowY",this._sizeAttr="height",this._scrollSizeProp="scrollHeight",this._limitProps={start:"top",end:"bottom"}):(this._scrollValue="scrollLeft",this._overFlowAttr="overflowX",this._sizeAttr="width",this._scrollSizeProp="scrollWidth",this._limitProps={start:"left",end:"right"})}var t;return(t=[{key:"updateScrollable",value:function(e,t){var n=this;
1e.some((function(e){return n._trySetScrollable(e,t)}))||(n._$scrollable=null,n._scrollSpeed=0)}},{key:"isScrolling",value:function(){return!!this._scrollSpeed}},{key:"isScrollable",value:function(e){return("auto"===e.css(this._overFlowAttr)||e.hasClass("dx-scrollable-container"))&&e.prop(this._scrollSizeProp)>e[this._sizeAttr]()}},{key:"_trySetScrollable",value:function(e,t){var n,i=o(e),r=this._component.option("scrollSensitivity"),s=this.isScrollable(i);return s&&(r>(n=this._calculateDistanceToBorders(i,t))[this._limitProps.start]?this._preventScroll||(this._scrollSpeed=-this._calculateScrollSpeed(n[this._limitProps.start]),this._$scrollable=i):r>n[this._limitProps.end]?this._preventScroll||(this._scrollSpeed=this._calculateScrollSpeed(n[this._limitProps.end]),this._$scrollable=i):(s=!1,this._preventScroll=!1)),s}},{key:"_calculateDistanceToBorders",value:function(e,t){var n,i=e.get(0);return i?(n=i.getBoundingClientRect(),{left:t.x-n.left,top:t.y-n.top,right:n.right-t.x,bottom:n.bottom-t.y}):{}}},{key:"_calculateScrollSpeed",value:function(e){var t=this._component,n=t.option("scrollSensitivity"),i=t.option("scrollSpeed");return Math.ceil(Math.pow((n-e)/n,2)*i)}},{key:"scrollByStep",value:function(){var e;if(this._$scrollable&&this._scrollSpeed){if(this._$scrollable.hasClass("dx-scrollable-container")){var t=this._$scrollable.closest(".dx-scrollable"),n=t.data("dxScrollable")||t.data("dxScrollView");n&&((e=n.scrollOffset())[this._limitProps.start]+=this._scrollSpeed,n.scrollTo(e))}else e=this._$scrollable[this._scrollValue]()+this._scrollSpeed,this._$scrollable[this._scrollValue](e);var i=this._component._dragMoveArgs;i&&this._component._dragMoveHandler(i)}}},{key:"reset",value:function(){this._$scrollable=null,this._scrollSpeed=0,this._preventScroll=!0}},{key:"isOutsideScrollable",value:function(e,t){var n=this._component;if(!n._$scrollable||!e.closest(n._$scrollable).length)return!1;var i=n._$scrollable.get(0).getBoundingClientRect(),r=i[this._limitProps.start],o="width"===this._sizeAttr?t.pageX:t.pageY;return o<r||o>r+i[this._sizeAttr]}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}(),B=d.inherit({ctor:function(e){this.callBase(),this._strategy=e},_step:function(){var e=this._strategy._horizontalScrollHelper,t=this._strategy._verticalScrollHelper;e&&e.scrollByStep(),t&&t.scrollByStep()}}),H=m.inherit({reset:C,dragMove:C,dragEnter:C,dragLeave:C,dragEnd:function(e){this._getSourceDraggable()._fireRemoveEvent(e)},_fireRemoveEvent:C,_getDefaultOptions:function(){return f(this.callBase(),{onDragStart:null,onDragMove:null,onDragEnd:null,onDrop:null,immediate:!0,dragDirection:"both",boundary:void 0,boundOffset:0,allowMoveByClick:!1,itemData:null,container:void 0,dragTemplate:void 0,contentTemplate:"content",handle:"",filter:"",clone:!1,autoScroll:!0,scrollSpeed:30,scrollSensitivity:60,group:void 0,data:void 0})},_setOptionsByReference:function(){this.callBase.apply(this,arguments),f(this._optionsByReference,{component:!0,group:!0,itemData:!0,data:!0})},_init:function(){this.callBase(),this._attachEventHandlers(),this._scrollAnimator=new B(this),this._horizontalScrollHelper=new F("horizontal",this),this._verticalScrollHelper=new F("vertical",this)},_normalizeCursorOffset:function(e){return w.isObject(e)&&(e={h:e.x,v:e.y}),{left:(e=S.splitPair(e).map((function(e){return parseFloat(e)})))[0],top:1===e.length?e[0]:e[1]}},_getNormalizedCursorOffset:function(e,t){return w.isFunction(e)&&(e=e.call(this,t)),this._normalizeCursorOffset(e)},_calculateElementOffset:function(e){var t,n,i=e.event,r=o(e.itemElement),s=o(e.dragElement),a=this._dragElementIsCloned(),l=this.option("cursorOffset"),c={left:0,top:0},d=this._initialLocate=u.locate(s);return(a||e.initialOffset||l)&&(t=e.initialOffset||r.offset(),l&&(c=this._getNormalizedCursorOffset(l,e),isFinite(c.left)&&(t.left=i.pageX),isFinite(c.top)&&(t.top=i.pageY)),n=s.offset(),t.top-=n.top+(c.top||0)-d.top,t.left-=n.left+(c.left||0)-d.left),t},_initPosition:function(e){var t=o(e.dragElement),n=this._calculateElementOffset(e);n&&this._move(n,t),this._startPosition=u.locate(t)},_startAnimator:function(){this._scrollAnimator.inProgress()||this._scrollAnimator.start()},_stopAnimator:function(){this._scrollAnimator.stop()},_addWidgetPrefix:function(e){return p(this.NAME)+(e?"-"+e:"")},_getItemsSelector:function(){return this.option("filter")||""},_$content:function(){var e=this.$element(),t=e.children(".dx-template-wrapper");return t.length?t:e},_attachEventHandlers:function(){var e=this;if(!this.option("disabled")){var t=this._$content(),n=this._getItemsSelector(),i=this.option("allowMoveByClick"),r={direction:this.option("dragDirection"),immediate:this.option("immediate"),checkDropTarget:function(t,n){var i=e.option("group"),r=e._getSourceDraggable().option("group");return!e._verticalScrollHelper.isOutsideScrollable(t,n)&&!e._horizontalScrollHelper.isOutsideScrollable(t,n)&&r&&r===i}};i&&(t=this._getArea(),a.on(t,P,r,this._pointerDownHandler.bind(this))),">"===n[0]&&(n=n.slice(1)),a.on(t,M,n,r,this._dragStartHandler.bind(this)),a.on(t,O,r,this._dragMoveHandler.bind(this)),a.on(t,R,r,this._dragEndHandler.bind(this)),a.on(t,L,r,this._dragEnterHandler.bind(this)),a.on(t,A,r,this._dragLeaveHandler.bind(this))}},_dragElementIsCloned:function(){return this._$dragElement&&this._$dragElement.hasClass(this._addWidgetPrefix("clone"))},_getDragTemplateArgs:function(e,t){return{container:g(t),model:{itemData:this.option("itemData"),itemElement:g(e)}}},_createDragElement:function(e){var t=e,n=this.option("clone"),i=this._getContainer(),r=this.option("dragTemplate");return r?(r=this._getTemplate(r),t=o("<div>").appendTo(i),r.render(this._getDragTemplateArgs(e,t))):n&&(t=o("<div>").appendTo(i),e.clone().css({width:e.css("width"),height:e.css("height")}).appendTo(t)),t.toggleClass(this._addWidgetPrefix("clone"),t.get(0)!==e.get(0)).toggleClass("dx-rtl",this.option("rtlEnabled"))},_resetDragElement:function(){this._dragElementIsCloned()?this._$dragElement.remove():this._toggleDraggingClass(!1),this._$dragElement=null},_resetSourceElement:function(){this._toggleDragSourceClass(!1),this._$sourceElement=null},_detachEventHandlers:function(){a.off(this._$content(),"."+D),a.off(this._getArea(),"."+D)},_move:function(e,t){u.move(t||this._$dragElement,e)},_getDraggableElement:function(e){var t=this._getSourceElement();if(t)return t;if(this.option("allowMoveByClick"))return this.$element();var n=o(e&&e.target),i=this._getItemsSelector();if(">"===i[0]){var r=this._$content().find(i);r.is(n)||(n=n.closest(r))}return n},_getSourceElement:function(){return this._getSourceDraggable()._$sourceElement},_pointerDownHandler:function(e){if(!_.needSkipEvent(e)){var t={},n=this.$element(),i=this.option("dragDirection");"horizontal"!==i&&"both"!==i||(t.left=e.pageX-n.offset().left+u.locate(n).left-n.width()/2),"vertical"!==i&&"both"!==i||(t.top=e.pageY-n.offset().top+u.locate(n).top-n.height()/2),this._move(t,n),this._getAction("onDragMove")(this._getEventArgs(e))}},_isValidElement:function(e,t){var n=this.option("handle"),i=o(e.originalEvent&&e.originalEvent.target);return!(n&&!i.closest(n).length||!t.length||t.is(".dx-state-disabled, .dx-state-disabled *"))},_dragStartHandler:function(e){var t=this._getDraggableElement(e);
1if(!this._$sourceElement)if(this._isValidElement(e,t)){var n=this._getDragStartArgs(e,t);if(this._getAction("onDragStart")(n),n.cancel)e.cancel=!0;else{this.option("itemData",n.itemData),this._setSourceDraggable(),this._$sourceElement=t;var i=t.offset(),r=this._$dragElement=this._createDragElement(t);this._toggleDraggingClass(!0),this._toggleDragSourceClass(!0);var o="fixed"===r.css("position");this._initPosition(f({},n,{dragElement:r.get(0),initialOffset:o&&i}));var s=this._getArea(),a=this._getAreaOffset(s),l=this._getBoundOffset(),c=s.outerWidth(),u=s.outerHeight(),d=r.width(),h=r.height(),p=r.offset().left-a.left,m=r.offset().top-a.top;s.length&&(e.maxLeftOffset=p-l.left,e.maxRightOffset=c-p-d-l.right,e.maxTopOffset=m-l.top,e.maxBottomOffset=u-m-h-l.bottom),this.option("autoScroll")&&this._startAnimator()}}else e.cancel=!0},_getAreaOffset:function(e){return e&&y.offset(e)||{left:0,top:0}},_toggleDraggingClass:function(e){this._$dragElement&&this._$dragElement.toggleClass(this._addWidgetPrefix("dragging"),e)},_toggleDragSourceClass:function(e,t){var n=t||this._$sourceElement;n&&n.toggleClass(this._addWidgetPrefix("source"),e)},_getBoundOffset:function(){var e=this.option("boundOffset");return w.isFunction(e)&&(e=e.call(this)),l.quadToObject(e)},_getArea:function(){var e=this.option("boundary");return w.isFunction(e)&&(e=e.call(this)),o(e)},_getContainer:function(){var e=this.option("container");
1return void 0===e&&(e=x.value()),o(e)},_dragMoveHandler:function(e){if(this._dragMoveArgs=e,this._$dragElement){var t=e.offset,n=this._startPosition;this._move({left:n.left+t.x,top:n.top+t.y}),this._updateScrollable(e);var i=this._getEventArgs(e);this._getAction("onDragMove")(i),!0!==i.cancel&&this._getTargetDraggable().dragMove(e)}else e.cancel=!0},_updateScrollable:function(e){if(this.option("autoScroll")){var t=o(s),n={x:e.pageX-t.scrollLeft(),y:e.pageY-t.scrollTop()},i=this.getElementsFromPoint(n);this._verticalScrollHelper.updateScrollable(i,n),this._horizontalScrollHelper.updateScrollable(i,n)}},getElementsFromPoint:function(e,t){var n=(t||this._$dragElement.get(0)).ownerDocument;if(h.msie){var i=n.msElementsFromPoint(e.x,e.y);return i?Array.prototype.slice.call(i):[]}return n.elementsFromPoint(e.x,e.y)},_defaultActionArgs:function(){var e=this.callBase.apply(this,arguments),t=this.option("component");return t&&(e.component=t,e.element=t.element()),e},_getEventArgs:function(e){var t=this._getSourceDraggable(),n=this._getTargetDraggable();return{event:e,itemData:t.option("itemData"),itemElement:g(t._$sourceElement),fromComponent:t.option("component")||t,toComponent:n.option("component")||n,fromData:t.option("data"),toData:n.option("data")}},_getDragStartArgs:function(e,t){var n=this._getEventArgs(e);return{event:n.event,itemData:n.itemData,itemElement:t,fromData:n.fromData}},_revertItemToInitialPosition:function(){!this._dragElementIsCloned()&&this._move(this._initialLocate,this._$sourceElement)},_dragEndHandler:function(e){var t=this,n=this._getEventArgs(e),i=this._getEventArgs(e),r=this._getTargetDraggable(),o=!0;try{this._getAction("onDragEnd")(n)}finally{E(I(n.cancel)).done((function(e){e||(r!==t&&r._getAction("onDrop")(i),i.cancel||(r.dragEnd(n),o=!1))})).always((function(){o&&t._revertItemToInitialPosition(),t.reset(),r.reset(),t._stopAnimator(),t._horizontalScrollHelper.reset(),t._verticalScrollHelper.reset(),t._resetDragElement(),t._resetSourceElement(),t._resetTargetDraggable(),t._resetSourceDraggable()}))}},_isTargetOverAnotherDraggable:function(e){var t=this,n=this._getSourceDraggable();if(this===n)return!1;if(!n._dragElementIsCloned())return!0;var i=n.$element();return this.getElementsFromPoint({x:e.pageX,y:e.pageY},e.target).filter((function(e){return o(e).hasClass(t._addWidgetPrefix())}))[0]!==i.get(0)},_dragEnterHandler:function(e){this._isTargetOverAnotherDraggable(e)&&this._setTargetDraggable(),this._getSourceDraggable().dragEnter(e)},_dragLeaveHandler:function(e){this._resetTargetDraggable(),this!==this._getSourceDraggable()&&this.reset(),this._getSourceDraggable().dragLeave(e)},_getAction:function(e){return this["_"+e+"Action"]||this._createActionByOption(e)},_getAnonymousTemplateName:function(){return"content"},_initTemplates:function(){this.option("contentTemplate")&&(this.callBase.apply(this,arguments),this._defaultTemplates.content=new k)},_render:function(){this.callBase(),this.$element().addClass(this._addWidgetPrefix());var e=this._getAnonymousTemplateName()===this.option("contentTemplate"),t=this._getTemplateByOption("contentTemplate");t&&o(t.render({container:this.element(),transclude:e}))},_optionChanged:function(e){var t=e.name;switch(t){case"onDragStart":case"onDragMove":case"onDragEnd":case"onDrop":this["_"+t+"Action"]=this._createActionByOption(t);break;case"dragTemplate":case"contentTemplate":case"container":case"clone":break;case"allowMoveByClick":case"dragDirection":case"disabled":case"boundary":case"filter":case"immediate":this._resetDragElement(),this._detachEventHandlers(),this._attachEventHandlers();break;case"autoScroll":this._verticalScrollHelper.reset(),this._horizontalScrollHelper.reset();break;case"scrollSensitivity":case"scrollSpeed":case"boundOffset":case"handle":case"group":case"data":case"itemData":break;default:this.callBase(e)}},_getTargetDraggable:function(){return i||this},_getSourceDraggable:function(){return r||this},_setTargetDraggable:function(){var e=this.option("group"),t=this._getSourceDraggable();e&&e===t.option("group")&&(i=this)},_setSourceDraggable:function(){r=this},_resetSourceDraggable:function(){r=null},_resetTargetDraggable:function(){i=null},_dispose:function(){this.callBase(),this._detachEventHandlers(),this._resetDragElement(),this._resetTargetDraggable(),this._resetSourceDraggable(),this._$sourceElement=null,this._stopAnimator()}});c(D,H),e.exports=H,e.exports.default=e.exports},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9rRi":function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},"A8u/":function(e,t,n){"use strict";var i,r=a(n("eWCF")),o=a(n("qOm7")),s=a(n("VEhS"));
1function a(e){return e&&e.__esModule?e:{default:e}}e.exports=(0,r.default)({locale:(i="en",function(e){if(!e)return i;i=e}),getValueByClosestLocale:function(e){for(var t,n=this.locale(),i=e(n);!i&&!t;)(n=(0,s.default)(o.default,n))?i=e(n):t=!0;return void 0===i&&"en"!==n?e("en"):i}})},AJM7:function(e,t,n){"use strict";var i,r,o,s,a,l=n("ti0F"),c=n("XpgS").inArray,u=n("zl3R"),d=["year","month","day"],h=["year","month","day","hour","minute"];e.exports=(i=function(e,t){var n=e.dataField||e.selector;return"search"===t&&(n=e.displayField||e.calculateDisplayValue||n),n},r=function(e){return"date"===e||"datetime"===e},o=function(e,t){var n,o,s,a,c=i(this,t);if(Array.isArray(e)&&l.isDefined(e[0])&&l.isDefined(e[1]))return o=[c,">=",e[0]],s=[c,"<=",e[1]],r(this.dataType)&&(a=e[1]).getHours()+a.getMinutes()+a.getSeconds()+a.getMilliseconds()<1&&(n=new Date(e[1].getTime()),"date"===this.dataType&&n.setDate(e[1].getDate()+1),s=[c,"<",n]),[o,"and",s]},s=function(t,n,r){var o,s,a,c,d=l.isDate(c=t)?[c.getFullYear(),c.getMonth(),c.getDate(),c.getHours(),c.getMinutes(),c.getSeconds()]:u.map((""+c).split("/"),(function(e,t){return 1===t?Number(e)-1:Number(e)})),h=i(this,r);switch("headerFilter"===r?a=e.exports.getGroupInterval(this)[d.length-1]:"datetime"===this.dataType&&(a="minute"),a){case"year":o=new Date(d[0],0,1),s=new Date(d[0]+1,0,1);break;case"month":o=new Date(d[0],d[1],1),s=new Date(d[0],d[1]+1,1);break;case"quarter":o=new Date(d[0],3*d[1],1),s=new Date(d[0],3*d[1]+3,1);break;case"hour":o=new Date(d[0],d[1],d[2],d[3]),s=new Date(d[0],d[1],d[2],d[3]+1);break;case"minute":o=new Date(d[0],d[1],d[2],d[3],d[4]),s=new Date(d[0],d[1],d[2],d[3],d[4]+1);break;case"second":o=new Date(d[0],d[1],d[2],d[3],d[4],d[5]),s=new Date(d[0],d[1],d[2],d[3],d[4],d[5]+1);break;default:o=new Date(d[0],d[1],d[2]),s=new Date(d[0],d[1],d[2]+1)}switch(n){case"<":return[h,"<",o];case"<=":return[h,"<",s];case">":return[h,">=",s];case">=":return[h,">=",o];case"<>":return[[h,"<",o],"or",[h,">=",s]];default:return[[h,">=",o],"and",[h,"<",s]]}},a=function(t,n,r){var o=i(this,r),s=e.exports.getGroupInterval(this);if("headerFilter"===r&&s&&l.isDefined(t)){var a=(""+t).split("/"),c=Number(a[a.length-1]);return[[o,">=",c],"and",[o,"<",c+s[a.length-1]]]}return[o,n||"=",t]},{defaultCalculateFilterExpression:function(e,t,n){var c=this,u=i(c,n),d=c.calculateDisplayValue&&"search"===n,h=d&&c.lookup&&c.lookup.dataType||c.dataType,p=null;if("headerFilter"!==n&&"filterBuilder"!==n||null!==e)if("string"!==h||c.lookup&&!d){if("between"===t)return o.apply(c,[e,n]);if(r(h)&&l.isDefined(e))return s.apply(c,arguments);if("number"===h)return a.apply(c,arguments);"object"!==h&&(p=[u,t||"=",e])}else p=[u,t||"contains",e];else p=[u,t||"=",null],"string"===h&&(p=[p,"="===t?"or":"and",[u,t||"=",""]]);return p},getGroupInterval:function(e){var t,n=[],i=["year","month","day","hour","minute","second"],o=e.headerFilter&&e.headerFilter.groupInterval,s="quarter"===o?"month":o;return r(e.dataType)&&null!==o?(n="datetime"===e.dataType?h:d,(t=c(s,i))>=0?((n=i.slice(0,t)).push(o),n):n):l.isDefined(o)?Array.isArray(o)?o:[o]:void 0}})},AQ68:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AQA1:function(e,t,n){"use strict";var i=m(n("FKN7")),r=m(n("+6qP")),o=m(n("KAnu")),s=n("ti0F"),a=m(n("D6VQ")),l=n("XpgS"),c=n("1LL4"),u=n("zl3R"),d=m(n("/JVm")),h=m(n("RwLY")),p=n("b1t7"),f=m(n("hMwJ"));
1function m(e){return e&&e.__esModule?e:{default:e}}var g=d.default.inherit({compactMode:!1,ctor:function(e,t){this._userOptions=t||{},this.callBase(e,t)},_getSynchronizableOptionsForCreateComponent:function(){return this.callBase().filter((function(e){return"disabled"!==e}))},_initTemplates:function(){this.callBase();var e=new p.BindableTemplate((function(e,t,n){(0,s.isPlainObject)(t)?(t.text&&e.text(t.text).wrapInner("<div>"),t.html&&e.html(t.html),"dxButton"===t.widget&&(this.option("useFlatButtons")&&(t.options=t.options||{},t.options.stylingMode=t.options.stylingMode||"text"),this.option("useDefaultButtons")&&(t.options=t.options||{},t.options.type=t.options.type||"default"))):e.text(String(t)),this._getTemplate("dx-polymorph-widget").render({container:e,model:n,parent:this})}).bind(this),["text","html","widget","options"],this.option("integrationOptions.watchMethod"));this._defaultTemplates.item=e,this._defaultTemplates.menuItem=e},_getDefaultOptions:function(){return(0,c.extend)(this.callBase(),{renderAs:"topToolbar",grouped:!1,useFlatButtons:!1,useDefaultButtons:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return r.default.isMaterial()},options:{useFlatButtons:!0}}])},_itemContainer:function(){return this._$toolbarItemsContainer.find([".dx-toolbar-before",".dx-toolbar-center",".dx-toolbar-after"].join(","))},_itemClass:function(){return"dx-toolbar-item"},_itemDataKey:function(){return"dxToolbarItemDataKey"},_buttonClass:function(){return"dx-toolbar-button"},_dimensionChanged:function(){this._arrangeItems(),this._applyCompactMode()},_initMarkup:function(){this._renderToolbar(),this._renderSections(),this.callBase(),this.setAria("role","toolbar")},_waitParentAnimationFinished:function(){var e=this,t=this.$element();return new h.default((function(n){!function r(){clearTimeout(e._waitParentAnimationTimeout),e._waitParentAnimationTimeout=setTimeout((function(){return e=!0,t.parents().each((function(t,n){if(f.default.isAnimating((0,i.default)(n)))return e=!1,!1})),e&&n(),e||r();var e}),15)}()}))},_render:function(){this.callBase(),this._renderItemsAsync(),r.default.isMaterial()&&h.default.all([this._waitParentAnimationFinished(),this._checkWebFontForLabelsLoaded()]).then(this._dimensionChanged.bind(this))},_postProcessRenderItems:function(){this._arrangeItems()},_renderToolbar:function(){this.$element().addClass("dx-toolbar").toggleClass("dx-toolbar-bottom","bottomToolbar"===this.option("renderAs")),this._$toolbarItemsContainer=(0,i.default)("<div>").addClass("dx-toolbar-items-container").appendTo(this.$element())},_renderSections:function(){var e=this._$toolbarItemsContainer,t=this;(0,u.each)(["before","center","after"],(function(){var n="dx-toolbar-"+this,r=e.find("."+n);r.length||(t["_$"+this+"Section"]=r=(0,i.default)("<div>").addClass(n).appendTo(e))}))},_checkWebFontForLabelsLoaded:function(){var e=this.$element().find(".dx-toolbar-label"),t=[];return e.each((function(e,n){var o=(0,i.default)(n).text(),s=(0,i.default)(n).css("fontWeight");t.push(r.default.waitWebFont(o,s))})),h.default.all(t)},_arrangeItems:function(e){e=e||this.$element().width(),this._$centerSection.css({margin:"0 auto",float:"none"});var t=this._$beforeSection.get(0).getBoundingClientRect(),n=this._$afterSection.get(0).getBoundingClientRect();this._alignCenterSection(t,n,e);var r=this._$toolbarItemsContainer.find(".dx-toolbar-label").eq(0),o=r.parent();if(r.length){var s=t.width?t.width:r.position().left,a=o.hasClass("dx-toolbar-before")?0:s,l=o.hasClass("dx-toolbar-after")?0:n.width,c=0;o.children().not(".dx-toolbar-label").each((function(){c+=(0,i.default)(this).outerWidth()}));var u=Math.max(e-c-a-l,0);if(o.hasClass("dx-toolbar-before"))this._alignSection(this._$beforeSection,u);else{var d=r.outerWidth()-r.width();r.css("maxWidth",u-d)}}},_alignCenterSection:function(e,t,n){this._alignSection(this._$centerSection,n-e.width-t.width);var i=this.option("rtlEnabled"),r=i?t:e,o=i?e:t,s=this._$centerSection.get(0).getBoundingClientRect();(r.right>s.left||s.right>o.left)&&this._$centerSection.css({marginLeft:r.width,marginRight:o.width,float:r.width>o.width?"none":"right"})},_alignSection:function(e,t){var n=e.find(".dx-toolbar-label").toArray();t-=this._getCurrentLabelsPaddings(n);var i=this._getCurrentLabelsWidth(n),r=Math.abs(i-t);t<i?(n=n.reverse(),this._alignSectionLabels(n,r,!1)):this._alignSectionLabels(n,r,!0)},_alignSectionLabels:function(e,t,n){for(var r=function(e){return e.getBoundingClientRect().width},o=0;o<e.length;o++){var s=(0,i.default)(e[o]),a=Math.ceil(r(e[o]));n&&s.css("maxWidth","inherit");var l=Math.ceil(n?r(e[o]):a);if(!(l<t)){s.css("maxWidth",n?a+t:a-t);break}t-=l,s.css("maxWidth",n?l:0)}},_applyCompactMode:function(){var e=this.$element();e.removeClass("dx-toolbar-compact"),this.option("compactMode")&&this._getSummaryItemsWidth(this.itemElements(),!0)>e.width()&&e.addClass("dx-toolbar-compact")},_getCurrentLabelsWidth:function(e){var t=0;return e.forEach((function(e,n){t+=(0,i.default)(e).outerWidth()})),t},_getCurrentLabelsPaddings:function(e){var t=0;return e.forEach((function(e,n){t+=(0,i.default)(e).outerWidth()-(0,i.default)(e).width()})),t},_renderItem:function(e,t,n,i){var r=!(!t.text&&!t.html),o=this.callBase(e,t,n||this["_$"+(t.location||"center")+"Section"],i);return o.toggleClass(this._buttonClass(),!r).toggleClass("dx-toolbar-label",r).addClass(t.cssClass),o},_renderGroupedItems:function(){var e=this;
1(0,u.each)(this.option("items"),(function(t,n){var r=n.items,o=(0,i.default)("<div>").addClass("dx-toolbar-group"),s=n.location||"center";r&&r.length&&((0,u.each)(r,(function(t,n){e._renderItem(t,n,o,null)})),e._$toolbarItemsContainer.find(".dx-toolbar-"+s).append(o))}))},_renderItems:function(e){this.option("grouped")&&e.length&&e[0].items?this._renderGroupedItems():this.callBase(e)},_getToolbarItems:function(){return this.option("items")||[]},_renderContentImpl:function(){var e=this._getToolbarItems();this.$element().toggleClass("dx-toolbar-mini",0===e.length),this._renderItems(this._renderedItemsCount?e.slice(this._renderedItemsCount):e),this._applyCompactMode()},_renderEmptyMessage:o.default.noop,_clean:function(){this._$toolbarItemsContainer.children().empty(),this.$element().empty()},_visibilityChanged:function(e){e&&this._arrangeItems()},_isVisible:function(){return this.$element().width()>0&&this.$element().height()>0},_getIndexByItem:function(e){return(0,l.inArray)(e,this._getToolbarItems())},_itemOptionChanged:function(e,t,n){this.callBase.apply(this,[e,t,n]),this._arrangeItems()},_optionChanged:function(e){var t=e.name;switch(t){case"width":this.callBase.apply(this,arguments),this._dimensionChanged();break;case"renderAs":case"useFlatButtons":case"useDefaultButtons":this._invalidate();break;case"compactMode":this._applyCompactMode();break;case"grouped":break;default:this.callBase.apply(this,arguments)}},_dispose:function(){this.callBase(),clearTimeout(this._waitParentAnimationTimeout)}});(0,a.default)("dxToolbarBase",g),e.exports=g},AQWU:function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("KAnu").noop,s=n("5qrJ"),a=n("XWek"),l=n("JDOJ"),c=l.addNamespace(a.start,"dxListEditDecorator"),u=l.addNamespace(a.swipe,"dxListEditDecorator"),d=l.addNamespace(a.end,"dxListEditDecorator"),h=s.inherit({ctor:function(e){this._list=e,this._init()},_init:o,_shouldHandleSwipe:!1,_attachSwipeEvent:function(e){var t={itemSizeFunc:(function(){return this._clearSwipeCache&&(this._itemWidthCache=this._list.$element().width(),this._clearSwipeCache=!1),this._itemWidthCache}).bind(this)};r.on(e.$itemElement,c,t,this._itemSwipeStartHandler.bind(this)),r.on(e.$itemElement,u,this._itemSwipeUpdateHandler.bind(this)),r.on(e.$itemElement,d,this._itemSwipeEndHandler.bind(this))},_itemSwipeStartHandler:function(e){var t=i(e.currentTarget);t.is(".dx-state-disabled, .dx-state-disabled *")?e.cancel=!0:(clearTimeout(this._list._inkRippleTimer),this._swipeStartHandler(t,e))},_itemSwipeUpdateHandler:function(e){var t=i(e.currentTarget);this._swipeUpdateHandler(t,e)},_itemSwipeEndHandler:function(e){var t=i(e.currentTarget);this._swipeEndHandler(t,e),this._clearSwipeCache=!0},beforeBag:o,afterBag:o,_commonOptions:function(){return{activeStateEnabled:this._list.option("activeStateEnabled"),hoverStateEnabled:this._list.option("hoverStateEnabled"),focusStateEnabled:this._list.option("focusStateEnabled")}},modifyElement:function(e){this._shouldHandleSwipe&&(this._attachSwipeEvent(e),this._clearSwipeCache=!0)},afterRender:o,handleClick:o,handleKeyboardEvents:o,handleEnterPressing:o,handleContextMenu:o,_swipeStartHandler:o,_swipeUpdateHandler:o,_swipeEndHandler:o,visibilityChange:o,getExcludedSelectors:o,dispose:o});e.exports=h},"Ait/":function(e,t,n){"use strict";var i=f(n("FKN7")),r=f(n("tUd6")),o=f(n("jeLr")),s=f(n("xMpX")),a=f(n("YQNt")),l=f(n("zBVi")),c=f(n("JDOJ")),u=f(n("KAnu")),d=n("ti0F"),h=n("1LL4"),p=f(n("T4bj"));function f(e){return e&&e.__esModule?e:{default:e}}var m="".concat("dx-scrollable-scrollbar","-active"),g=l.default.inherit({_getDefaultOptions:function(){return(0,h.extend)(this.callBase(),{direction:null,visible:!1,activeStateEnabled:!1,visibilityMode:"onScroll",containerSize:0,contentSize:0,expandable:!0,scaleRatio:1})},_init:function(){this.callBase(),this._isHovered=!1},_initMarkup:function(){this._renderThumb(),this.callBase()},_render:function(){this.callBase(),this._renderDirection(),this._update(),this._attachPointerDownHandler(),this.option("hoverStateEnabled",this._isHoverMode()),this.$element().toggleClass("dx-scrollbar-hoverable",this.option("hoverStateEnabled"))},_renderThumb:function(){this._$thumb=(0,i.default)("<div>").addClass("dx-scrollable-scroll"),(0,i.default)("<div>").addClass("dx-scrollable-scroll-content").appendTo(this._$thumb),this.$element().addClass("dx-scrollable-scrollbar").append(this._$thumb)},isThumb:function(e){return!!this.$element().find(e).length},_isHoverMode:function(){var e=this.option("visibilityMode");return("onHover"===e||"always"===e)&&this.option("expandable")},_renderDirection:function(){var e=this.option("direction");this.$element().addClass("dx-scrollbar-"+e),this._dimension="horizontal"===e?"width":"height",this._prop="horizontal"===e?"left"
1:"top"},_attachPointerDownHandler:function(){o.default.on(this._$thumb,c.default.addNamespace(p.default.down,"dxScrollbar"),this.feedbackOn.bind(this))},feedbackOn:function(){this.$element().addClass(m),_=this},feedbackOff:function(){this.$element().removeClass(m),_=null},cursorEnter:function(){this._isHovered=!0,this._needScrollbar()&&this.option("visible",!0)},cursorLeave:function(){this._isHovered=!1,this.option("visible",!1)},_renderDimensions:function(){this._$thumb.css({width:this.option("width"),height:this.option("height")})},_toggleVisibility:function(e){"onScroll"===this.option("visibilityMode")&&this._$thumb.css("opacity"),e=this._adjustVisibility(e),this.option().visible=e,this._$thumb.toggleClass("dx-state-invisible",!e)},_adjustVisibility:function(e){if(this._baseContainerToContentRatio&&!this._needScrollbar())return!1;switch(this.option("visibilityMode")){case"onScroll":break;case"onHover":e=e||!!this._isHovered;break;case"never":e=!1;break;case"always":e=!0}return e},moveTo:function(e){if(!this._isHidden()){(0,d.isPlainObject)(e)&&(e=e[this._prop]||0);var t={};t[this._prop]=this._calculateScrollBarPosition(e),a.default.move(this._$thumb,t)}},_calculateScrollBarPosition:function(e){return-e*this._thumbRatio},_update:function(){var e=Math.round(this.option("containerSize")),t=Math.round(this.option("contentSize")),n=Math.round(this.option("baseContainerSize")),i=Math.round(this.option("baseContentSize"));isNaN(n)&&(n=e,i=t),this._baseContainerToContentRatio=i?n/i:n,this._realContainerToContentRatio=t?e/t:e;var r=Math.round(Math.max(Math.round(e*this._realContainerToContentRatio),15));this._thumbRatio=(e-r)/(this.option("scaleRatio")*(t-e)),this.option(this._dimension,r/this.option("scaleRatio")),this.$element().css("display",this._needScrollbar()?"":"none")},_isHidden:function(){return"never"===this.option("visibilityMode")},_needScrollbar:function(){return!this._isHidden()&&this._baseContainerToContentRatio<1},containerToContentRatio:function(){return this._realContainerToContentRatio},_normalizeSize:function(e){return(0,d.isPlainObject)(e)?e[this._dimension]||0:e},_clean:function(){this.callBase(),this===_&&(_=null),o.default.off(this._$thumb,".dxScrollbar")},_optionChanged:function(e){if(!this._isHidden())switch(e.name){case"containerSize":case"contentSize":this.option()[e.name]=this._normalizeSize(e.value),this._update();break;case"baseContentSize":case"baseContainerSize":this._update();break;case"visibilityMode":case"direction":this._invalidate();break;case"scaleRatio":this._update();break;default:this.callBase.apply(this,arguments)}},update:u.default.deferRenderer((function(){this._adjustVisibility()&&this.option("visible",!0)}))}),_=null;s.default.add((function(){o.default.subscribeGlobal(r.default.getDocument(),c.default.addNamespace(p.default.up,"dxScrollbar"),(function(){_&&_.feedbackOff()}))})),e.exports=g},Atjq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderDateParts=t.getDatePartIndexByPosition=void 0;var i=n("FwfD"),r=n("1LL4"),o=n("z7z0"),s=n("KAnu"),a=function(e){return e.getMonth()+1},l=function(e,t){var n=e.getDate(),i=h("M",e),r=(0,o.fitIntoRange)(parseInt(t),i.min,i.max);e.setMonth(r-1,1);var s=h("dM",e),a=(0,o.fitIntoRange)(n,s.min,s.max);e.setDate(a)},c={a:function(e){return e.getHours()<12?0:1},E:"getDay",y:"getFullYear",M:a,L:a,d:"getDate",H:"getHours",h:"getHours",m:"getMinutes",s:"getSeconds",S:"getMilliseconds"},u=(0,r.extend)({},(0,i.getPatternSetters)(),{a:function(e,t){var n=e.getHours();n>=12!=!!parseInt(t)&&e.setHours((n+12)%24)},d:function(e,t){t>h("dM",e).max&&e.setMonth(e.getMonth()+1),e.setDate(t)},h:function(e,t){var n=e.getHours()>=12;e.setHours(+t%12+(n?12:0))},M:l,L:l,E:function(e,t){t<0||e.setDate(e.getDate()-e.getDay()+parseInt(t))},y:function(e,t){var n=e.getFullYear(),i=String(t).length,r=String(h("y",e).max).length,o=parseInt(String(n).substr(0,r-i)+t);e.setFullYear(o)}}),d=function(e){return c[e]||function(){return e}},h=function(e,t,n){var i={y:{min:0,max:9999},M:{min:1,max:12},L:{min:1,max:12},d:{min:1,max:31},dM:{min:1,max:new Date(t.getFullYear(),t.getMonth()+1,0).getDate()},E:{min:0,max:6},H:{min:0,max:23},h:{min:0,max:23},m:{min:0,max:59},s:{min:0,max:59},S:{min:0,max:999},a:{min:0,max:1}};return i[n||e]||i.getAmPm};t.getDatePartIndexByPosition=function(e,t){for(var n=0;n<e.length;n++)if(!e[n].isStub&&e[n].caret.end>=t)return n;return null},t.renderDateParts=function(e,t){for(var n=t.regexp.exec(e),i=0,r=0,o=[],a=1;a<n.length;a++){r=(i=r)+n[a].length;var l=t.patterns[a-1].replace(/^'|'$/g,""),c=d(l[0]);o.push({index:a-1,isStub:l===n[a],caret:{start:i,end:r},pattern:l,text:n[a],limits:h.bind(void 0,l[0]),setter:u[l[0]]||s.noop,getter:c})}return o}},AvvY:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%
1d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},AytR:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i={production:!0,environmentName:"prod",apiUrl:"https://myabc.abccargo.ae:6203",identityUrl:"https://myabc.abccargo.ae:6200",baseUrl:"https://myabc.abccargo.ae"}},"B4+F":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ti0F");t.default={_getSpecificDataSourceOption:function(){var e=this.option("dataSource"),t=!1,n={};return this._getGroupedOption()&&function(e){return Array.isArray(e)&&e.every((function(e){return 2===Object.keys(e).length&&"key"in e&&"items"in e&&Array.isArray(e.items)}))}(e)&&(n=e.reduce((function(e,n){var r=n.items.map((function(e){return(0,i.isObject)(e)||(e={text:e},t=!0),"key"in e||(e.key=n.key),e}));return e.concat(r)}),[]),e={store:{type:"array",data:n},group:{selector:"key",keepInitialKeyOrder:!0}},t&&(e.searchExpr="text")),e}}},B55N:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",
1yy:"%d\u5e74"}})}(n("wd/R"))},"B9+t":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n("PHz1"))&&i.__esModule?i:{default:i},s=function(e){var t=e.substr(0,13).split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t,n){return e+t*(3-n%2*2)}),0);return 10*Math.ceil(t/10)-t},a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{13}$/)&&(e+=s(e)),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===s(this.data)}}]),t}(o.default);t.default=a},BAgR:function(e,t,n){"use strict";var i=n("KAnu").getKeyHash,r=n("KAnu").equalByValue,o=n("ti0F");t.SelectionFilterCreator=function(e,t){var n;this.getLocalFilter=function(e,t,n,i){return s.bind(this,t=void 0===t?r:t,e,n,i)},this.getExpr=function(n){var i;if(n)return e.forEach((function(e,r){var s;i=i||[],r>0&&i.push(t?"and":"or"),s=o.isString(n)?a(n,e):l(n,e),i.push(s)})),i&&1===i.length&&(i=i[0]),i},this.getCombinedFilter=function(e,n){var i=this.getExpr(e),r=i;return t&&n&&(i?((r=[]).push(i),r.push(n)):r=n),r};var s=function(r,s,a,l,c){var u,d,h=s(c);if(!a&&(u=i(h),!o.isObject(u)))return function(e){if(!n){n={};for(var t=0;t<e.length;t++)n[i(e[t])]=!0}return n}(function(e,t,n){return Array.isArray(n)?e.map((function(e){return t(e)})):e}(e,s,l))[u]?!t:!!t;for(d=0;d<e.length;d++)if(r(e[d],h))return!t;return!!t},a=function(e,n){if(void 0!==n)return[e,t?"<>":"=",n]},l=function(e,n){for(var i=[],r=0,o=e.length;r<o;r++){var s=e[r],l=a(s,n&&n[s]);if(!l)break;r>0&&i.push(t?"or":"and"),i.push(l)}return i}}},BVg3:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var o=e+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?o+(n||r?"sek\xfandur":"sek\xfandum"):o+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?o+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?o+"m\xedn\xfata":o+"m\xedn\xfatu";case"hh":return t(e)?o+(n||r?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(r?"daga":"d\xf6gum"):n?o+"dagur":o+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?o+"m\xe1nu\xf0ir":o+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?o+"m\xe1nu\xf0ur":o+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return t(e)?o+(n||r?"\xe1r":"\xe1rum"):o+(n||r?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BWGd:function(e,t,n){"use strict";var i=n("1LL4"),r=s(n("8S5z")),o=s(n("GYHJ"));
1function s(e){return e&&e.__esModule?e:{default:e}}(0,i.extend)(t,o.default,r.default,{modules:[]})},Bhoz:function(e,t,n){"use strict";var i=f(n("eWCF")),r=n("XpgS"),o=n("KAnu"),s=n("zl3R"),a=n("ti0F"),l=f(n("YNCv")),c=f(n("2Fn2")),u=f(n("/7L9")),d=n("UQCf"),h=f(n("Niae")),p=f(n("LPGq"));function f(e){return e&&e.__esModule?e:{default:e}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var g="undefined"!=typeof Intl,_=["currency","fixedpoint","exponential","percent","decimal"],b={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},v=(0,i.default)({engine:function(){return"base"},numericFormats:_,defaultLargeNumberFormatPostfixes:{1:"K",2:"M",3:"B",4:"T"},_parseNumberFormatString:function(e){var t={};if(e&&"string"==typeof e){var n=e.toLowerCase().split(" ");return(0,s.each)(n,(function(e,n){(0,r.inArray)(n,_)>-1?t.formatType=n:n in b&&(t.power=b[n])})),t.power&&!t.formatType&&(t.formatType="fixedpoint"),t.formatType?t:void 0}},_calculateNumberPower:function(e,t,n,i){var r=Math.abs(e),o=0;if(r>1)for(;r&&r>=t&&(void 0===i||o<i);)o++,r/=t;else if(r>0&&r<1)for(;r<1&&(void 0===n||o>n);)o--,r*=t;return o},_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){"auto"===t.power&&(t.power=this._calculateNumberPower(e,1e3,0,4)),t.power&&(e=this._getNumberByPower(e,t.power,1e3));var i=this.defaultLargeNumberFormatPostfixes[t.power]||"";return this._formatNumberCore(e,t.formatType,n).replace(/(\d|.$)(\D*)$/,"$1"+i+"$2")},_formatNumberExponential:function(e,t){var n=this._calculateNumberPower(e,10),i=this._getNumberByPower(e,n,10);void 0===t.precision&&(t.precision=1),i.toFixed(t.precision||0)>=10&&(n++,i/=10);var r=(n>=0?"+":"")+n.toString();return this._formatNumberCore(i,"fixedpoint",t)+"E"+r},_addZeroes:function(e,t){for(var n=Math.pow(10,t),i=e<0?"-":"",r=(e=(Math.abs(e)*n>>>0)/n).toString();r.length<t;)r="0"+r;return i+r},_addGroupSeparators:function(e){var t=e.toString().split(".");return t[0].replace(/\B(?=(\d{3})+(?!\d))/g,(0,c.default)().thousandsSeparator)+(t[1]?(0,c.default)().decimalSeparator+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),void 0!==n.precision&&(e="decimal"===t?this._addZeroes(e,n.precision):null===n.precision?e.toPrecision():(0,d.toFixed)(e,n.precision)),e="decimal"!==t?this._addGroupSeparators(e):e.toString().replace(".",(0,c.default)().decimalSeparator),"percent"===t&&(e+="%"),e)},_normalizeFormat:function(e){return e?("function"==typeof e||(0,a.isPlainObject)(e)||(e={type:e}),e):{}},_getSeparators:function(){return{decimalSeparator:this.getDecimalSeparator(),thousandsSeparator:this.getThousandsSeparator()}},getThousandsSeparator:function(){return this.format(1e4,"fixedPoint")[2]},getDecimalSeparator:function(){return this.format(1.2,{type:"fixedPoint",precision:1})[1]},convertDigits:function(e,t){var n=this.format(90,"decimal");if("string"!=typeof e||"0"===n[1])return e;var i=t?n[1]:"0",r=t?"0":n[1],o=new RegExp("["+i+"-"+(t?n[0]:"9")+"]","g");return e.replace(o,(function(e){return String.fromCharCode(e.charCodeAt(0)+(r.charCodeAt(0)-i.charCodeAt(0)))}))},getSign:function(e,t){if("-"===e.replace(/[^0-9-]/g,"").charAt(0))return-1;if(!t)return 1;var n=this._getSeparators(),i=new RegExp("[0-9"+(0,o.escapeRegExp)(n.decimalSeparator+n.thousandsSeparator)+"]+","g"),r=this.format(-1,t).replace(i,"1");return e.replace(i,"1")===r?-1:1},format:function(e,t){if("number"!=typeof e)return e;if("number"==typeof t)return e;if("function"==typeof(t=t&&t.formatter||t))return t(e);(t=this._normalizeFormat(t)).type||(t.type="decimal");var n=this._parseNumberFormatString(t.type);return n?this._formatNumber(e,n,t):this.convertDigits(l.default.getFormatter(t.type,this._getSeparators())(e))},parse:function(e,t){if(e){if(t&&t.parser)return t.parser(e);e=this.convertDigits(e,!0),t&&"string"!=typeof t&&u.default.log("W0011");var n=this.getDecimalSeparator(),i=new RegExp("[^0-9"+(0,o.escapeRegExp)(n)+"]","g"),r=e.replace(i,"").replace(n,".").replace(/\.$/g,"");return"."===r||""===r?null:this._calcSignificantDigits(r)>15?NaN:+r*this.getSign(e,t)}},_calcSignificantDigits:function(e){var t,n=(2,function(e){if(Array.isArray(e))return e}(t=e.split("."))||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),2!==n.length);i=!0);}catch(l){r=!0,o=l}finally{try{i||null==a.return||a.return()}finally{if(r)throw o}}return n}}(t)||function(e,t){if(e){if("string"==typeof e)return m(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,2):void 0}}
1(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=n[0],r=n[1],o=function(e){for(var t=-1,n=0;n<e.length;n++)if("0"!==e[n]){t=n;break}return t>-1?e.length-t:0},s=0;return i&&(s+=o(i.split(""))),r&&(s+=o(r.split("").reverse())),s}});v.inject(h.default),g&&v.inject(p.default),e.exports=v},Bm0k:function(e,t,n){"use strict";var i=a(n("FKN7")),r=n("1LL4"),o=a(n("0M3q")),s=n("8S5z");function a(e){return e&&e.__esModule?e:{default:e}}e.exports={defaultOptions:function(){return{rowDragging:{showDragIcons:!0,dropFeedbackMode:"indicate",allowReordering:!1,allowDropInsideItem:!1}}},extenders:{views:{rowsView:{init:function(){this.callBase.apply(this,arguments),this._updateHandleColumn()},_allowReordering:function(){var e=this.option("rowDragging");return!(!e||!(e.allowReordering||e.allowDropInsideItem||e.group))},_updateHandleColumn:function(){var e=this.option("rowDragging"),t=this._allowReordering(),n=this._columnsController,i=t&&e.showDragIcons;n&&n.addCommandColumn({type:"drag",command:"drag",visibleIndex:-2,alignment:"center",cssClass:"dx-command-drag",width:"auto",cellTemplate:this._getHandleTemplate(),visible:i}),n.columnOption("type:drag","visible",i)},_renderContent:function(){var e=this,t=this.option("rowDragging"),n=this._allowReordering(),i=e.callBase.apply(e,arguments);return n&&i.length&&(e._sortable=e._createComponent(i,o.default,(0,r.extend)({component:e.component,contentTemplate:null,filter:"> table > tbody > .dx-row:not(.dx-freespace-row):not(.dx-virtual-row)",dragTemplate:e._getDraggableRowTemplate(),handle:t.showDragIcons&&".".concat("dx-command-drag"),dropFeedbackMode:"indicate"},t,{onDragStart:function(e){var n=e.component.getVisibleRows()[e.fromIndex];e.itemData=n&&n.data,e.cancel=!(n&&"data"===n.rowType);var i=t.onDragStart;i&&i(e)}})),i.toggleClass("dx-sortable-without-handle",!t.showDragIcons)),i},_getDraggableGridOptions:function(e){var t=this.option(),n=this.getColumns(),r=(0,i.default)(this.getRowElement(e.rowIndex));return{dataSource:[{id:1,parentId:0}],showBorders:!0,showColumnHeaders:!1,scrolling:{useNative:!1,showScrollbar:!1},pager:{visible:!1},loadingTimeout:void 0,columnFixing:t.columnFixing,columnAutoWidth:t.columnAutoWidth,showColumnLines:t.showColumnLines,columns:n.map((function(e){return{width:e.width||e.visibleWidth,fixed:e.fixed,fixedPosition:e.fixedPosition}})),onRowPrepared:function(e){var t=e.component.getView("rowsView");(0,i.default)(e.rowElement).replaceWith(r.eq(t._isFixedTableRendering?1:0).clone())}}},_getDraggableRowTemplate:function(){var e=this;return function(t){var n=e.component.$element(),r=(0,i.default)("<div>").width(n.width()),o=e._dataController.items(),s=e._getDraggableGridOptions(o&&o[t.fromIndex]);return e._createComponent(r,e.component.NAME,s),r.find(".dx-gridbase-container").children(":not(.".concat(e.addWidgetPrefix("rowsview"),")")).hide(),r}},_getHandleTemplate:function(){var e=this;return function(t,n){if("data"===n.rowType)return(0,i.default)(t).addClass("dx-cell-focus-disabled"),(0,i.default)("<span>").addClass(e.addWidgetPrefix("drag-icon"));(0,s.setEmptyText)((0,i.default)(t))}},optionChanged:function(e){"rowDragging"===e.name&&(this._updateHandleColumn(),this._invalidate(!0,!0),e.handled=!0),this.callBase.apply(this,arguments)}}}}}},BqN7:function(e,t,n){"use strict";var i=n("tJvG").Deferred,r=n("tUd6"),o=n("3JVz"),s=n("cGv3"),a=s.getWindow(),l=n("1LL4").extendFromObject,c=n("ti0F").isDefined,u=n("RwLY"),d=n("eWCF"),h=function(e){var t=r.createElement("script");for(var n in e)t[n]=e[n];return t},p=function(e){e.parentNode.removeChild(e)},f=function(e){return r.getHead().appendChild(e)},m=function(e){var t=h({text:e});f(t),p(t)},g=function(e){return(e.method||"GET").toUpperCase()};e.exports=d({sendRequest:function(e){var t,n=o.getXhr(),d=new i,_=d.promise(),b=!c(e.async)||e.async,v=e.dataType,y=e.timeout||0;e.crossDomain=function(e){if(!s.hasWindow())return!0;var t=!1,n=r.createElement("a"),i=r.createElement("a");n.href=a.location.href;try{i.href=e,i.href=i.href,t=n.protocol+"//"+n.host!=i.protocol+"//"+i.host}catch(o){t=!0}return t}(e.url);var w="jsonp"===v||"script"===v;void 0===e.cache&&(e.cache=!w);
1var C=function(e){if("jsonp"===e.dataType){var t=Math.random().toString().replace(/\D/g,""),n=e.jsonpCallback||"dxCallback"+Date.now()+"_"+t,i=e.jsonp||"callback";return e.data=e.data||{},e.data[i]=n,n}}(e),x=function(e){var t=e.headers||{};return t["Content-Type"]=t["Content-Type"]||function(e){var t;return e.data&&!e.upload&&"GET"!==g(e)&&(t="application/x-www-form-urlencoded;charset=utf-8"),e.contentType||t}(e),t.Accept=t.Accept||function(e){var t=e.dataType||"*",n="text/javascript, application/javascript, application/ecmascript, application/x-ecmascript",i={"*":"*/*",text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript",jsonp:n,script:n};return l(i,e.accepts,!0),i[t]?i[t]+("*"!==t?", */*; q=0.01":""):i["*"]}(e),e.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t}(e),S=function(e,t){var n=e.data,i="string"==typeof n,r=e.url||a.location.href;return i||e.cache||((n=n||{})._=Date.now()),n&&!e.upload&&(i||(n=function(e){var t=[];for(var n in e){var i=e[n];
1void 0!==i&&(null===i&&(i=""),t.push(encodeURIComponent(n)+"="+encodeURIComponent(i)))}return t.join("&")}(n)),"GET"===g(e)?(""!==n&&(r+=(r.indexOf("?")>-1?"&":"?")+n),n=null):t["Content-Type"]&&t["Content-Type"].indexOf("application/x-www-form-urlencoded")>-1&&(n=n.replace(/%20/g,"+"))),{url:r,parameters:n}}(e,x),k=S.url,T=S.parameters;if(C&&(a[C]=function(e){d.resolve(e,"success",n)}),e.crossDomain&&w)return function(e){var t=h({src:e});return new u((function(e,n){var i={load:e,error:n},o=function(e){i[e.type](),p(t)};for(var s in i)r.listen(t,s,o);f(t)}))}(k).then((function(){"jsonp"!==v&&d.resolve(null,"success",n)}),(function(){d.reject(n,"error")})),_;if(e.crossDomain&&!("withCredentials"in n))return d.reject(n,"error"),_;if(n.open(g(e),k,b,e.username,e.password),b&&(n.timeout=y,t=function(e,t){return e&&setTimeout((function(){t.customStatus="timeout",t.abort()}),e)}(y,n)),n.onreadystatechange=function(e){var i;4===n.readyState&&(clearTimeout(t),200<=(i=n.status)&&i<300?function(e){return 204!==e}(n.status)?function(t,n,i){var r=function(e){return e.responseType&&"text"!==e.responseType||"string"!=typeof e.responseText?e.response:e.responseText}(n);switch(i){case"jsonp":m(r);break;case"script":m(r),t.resolve(r,"success",n);break;case"json":try{t.resolve(JSON.parse(r),"success",n)}catch(e){t.reject(n,"parsererror",e)}break;default:t.resolve(r,"success",n)}}(d,n,v):d.resolve(null,"nocontent",n):d.reject(n,n.customStatus||"error"))},e.upload&&(n.upload.onprogress=e.upload.onprogress,n.upload.onloadstart=e.upload.onloadstart,n.upload.onabort=e.upload.onabort),e.xhrFields)for(var E in e.xhrFields)n[E]=e.xhrFields[E];for(var I in"arraybuffer"===e.responseType&&(n.responseType=e.responseType),x)Object.prototype.hasOwnProperty.call(x,I)&&c(x[I])&&n.setRequestHeader(I,x[I]);return e.beforeSend&&e.beforeSend(n),n.send(T),_.abort=function(){n.abort()},_}})},Bso4:function(e,t,n){"use strict";var i,r=n("wZ/z"),o=n("um7L"),s=n("1LL4").extend,a={dxpointerdown:"pointerdown",dxpointermove:"pointermove",dxpointerup:"pointerup",dxpointercancel:"pointercancel",dxpointerover:"pointerover",dxpointerout:"pointerout",dxpointerenter:"pointerenter",dxpointerleave:"pointerleave"},l=!1,c=function(){l||(i=new o(a,(function(e,t){return e.pointerId===t.pointerId}),(function(e){e.isPrimary&&i.reset()})),l=!0)},u=r.inherit({ctor:function(){this.callBase.apply(this,arguments),c()},_fireEvent:function(e){return this.callBase(s({pointers:i.pointers(),pointerId:e.originalEvent.pointerId},e))}});u.map=a,u.resetObserver=function(){i.reset()},e.exports=u},Bw5F:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3").getWindow(),o=n("KAnu").noop,s=n("imRD"),a=n("D6VQ"),l=n("1LL4").extend,c=n("XPWh"),u=n("3wDN"),d=n("IF55"),h=n("wjBO"),p=n("b1t7").BindableTemplate,f=n("tJvG").Deferred,m=u.inherit({_getDefaultOptions:function(){return l(this.callBase(),{usePopover:!1,target:null,title:"",showTitle:!0,showCancelButton:!0,cancelText:s.format("Cancel"),onCancelClick:null,visible:!1,noDataText:"",focusStateEnabled:!1,selectionByClick:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios",tablet:!0},options:{usePopover:!0}}])},_initTemplates:function(){this.callBase(),this._defaultTemplates.item=new p((function(e,t){var n=new c(i("<div>"),l({onClick:t&&t.click},t));e.append(n.$element())}),["disabled","icon","text","type","onClick","click"],this.option("integrationOptions.watchMethod"))},_itemContainer:function(){return this._$itemContainer},_itemClass:function(){return"dx-actionsheet-item"},_itemDataKey:function(){return"dxActionSheetItemData"},_toggleVisibility:o,_renderDimensions:o,_initMarkup:function(){this.callBase(),this.$element().addClass("dx-actionsheet"),this._createItemContainer()},_render:function(){this._renderPopup()},_createItemContainer:function(){this._$itemContainer=i("<div>").addClass("dx-actionsheet-container"),this._renderDisabled()},_renderDisabled:function(){this._$itemContainer.toggleClass("dx-state-disabled",this.option("disabled"))},_renderPopup:function(){this._$popup=i("<div>").appendTo(this.$element()),this._isPopoverMode()?this._createPopover():this._createPopup(),this._renderPopupTitle(),this._mapPopupOption("visible")},_mapPopupOption:function(e){this._popup&&this._popup.option(e,this.option(e))},_isPopoverMode:function(){return this.option("usePopover")&&this.option("target")},_renderPopupTitle:function(){this._mapPopupOption("showTitle"),this._popup&&this._popup._wrapper().toggleClass("dx-actionsheet-without-title",!this.option("showTitle"))},_clean:function(){this._$popup&&this._$popup.remove(),this.callBase()},_overlayConfig:function(){return{onInitialized:(function(e){this._popup=e.component}).bind(this),disabled:!1,showTitle:!0,title:this.option("title"),deferRendering:!r.angular,onContentReady:this._popupContentReadyAction.bind(this),onHidden:this.hide.bind(this)}},_createPopover:function(){this._createComponent(this._$popup,h,l(this._overlayConfig(),{width:this.option("width")||200,height:this.option("height")||"auto",target:this.option("target")})),this._popup._wrapper().addClass("dx-actionsheet-popover-wrapper")},_createPopup:function(){this._createComponent(this._$popup,d,l(this._overlayConfig(),{dragEnabled:!1,width:this.option("width")||"100%",height:this.option("height")||"auto",showCloseButton:!1,position:{my:"bottom",at:"bottom",of:r},animation:{show:{type:"slide",duration:400,from:{position:{my:"top",at:"bottom",of:r}},to:{position:{my:"bottom",at:"bottom",of:r}}},hide:{type:"slide",duration:400,from:{position:{my:"bottom",at:"bottom",of:r}},to:{position:{my:"top",at:"bottom",of:r}}}}})),this._popup._wrapper().addClass("dx-actionsheet-popup-wrapper")},_popupContentReadyAction:function(){this._popup.$content().append(this._$itemContainer),this._attachClickEvent(),this._attachHoldEvent(),this._prepareContent(),this._renderContent(),this._renderCancelButton()},_renderCancelButton:function(){if(!this._isPopoverMode()&&(this._$cancelButton&&this._$cancelButton.remove(),this.option("showCancelButton"))){var e=this._createActionByOption("onCancelClick")||o,t=this;this._$cancelButton=i("<div>").addClass("dx-actionsheet-cancel").appendTo(this._popup&&this._popup.$content()),this._createComponent(this._$cancelButton,c,{disabled:!1,text:this.option("cancelText"),onClick:function(n){var i={event:n,cancel:!1};e(i),i.cancel||t.hide()},integrationOptions:{}})}},_attachItemClickEvent:o,_itemClickHandler:function(e){this.callBase(e),i(e.target).is(".dx-state-disabled, .dx-state-disabled *")||this.hide()},_itemHoldHandler:function(e){this.callBase(e),i(e.target).is(".dx-state-disabled, .dx-state-disabled *")||this.hide()},_optionChanged:function(e){switch(e.name){case"width":case"height":case"visible":case"title":this._mapPopupOption(e.name);break;case"disabled":this._renderDisabled();break;case"showTitle":this._renderPopupTitle();break;case"showCancelButton":case"onCancelClick":case"cancelText":this._renderCancelButton();break;case"target":case"usePopover":case"items":this._invalidate();break;default:this.callBase(e)}},toggle:function(e){var t=this,n=new f;return t._popup.toggle(e).done((function(){t.option("visible",e),n.resolveWith(t)})),n.promise()},show:function(){return this.toggle(!0)},hide:function(){return this.toggle(!1)}});a("dxActionSheet",m),e.exports=m,e.exports.default=e.exports},ByF4:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},C4zk:function(e,t,n){"use strict";var i=b(n("FKN7")),r=n("KAnu"),o=n("ti0F"),s=n("zl3R"),a=n("1LL4"),l=n("yxXJ"),c=b(n("D8Ap")),u=b(n("BWGd")),d=b(n("imRD")),h=b(n("K4No")),p=b(n("HZnW")),f=b(n("/jMu")),m=b(n("Q7sy")),g=n("IEE5"),_=n("IRs2");
1function b(e){return e&&e.__esModule?e:{default:e}}var v=function(e,t){var n=(0,i.default)(e),r=t.column,o=t.summaryItems,s=[];if(!r.command&&o){for(var a=0;a<o.length;a++){var l=o[a];s.push((0,i.default)("<div>").css("textAlign",l.alignment||r.alignment).addClass("dx-datagrid-summary-item").addClass("dx-datagrid-text-content").addClass(l.cssClass).toggleClass("dx-datagrid-group-text-content","group"===t.rowType).text(u.default.getSummaryText(l,t.summaryTexts)))}n.append(s)}},y=function(e,t){var n=e.option("summary.texts")||{};return{totalItem:t.row,summaryItems:t.row.summaryCells[t.columnIndex],summaryTexts:n}},w=function(e){return e.summary||e.aggregates||[]},C=function(e){return e.option("summary.recalculateWhileEditing")};t.FooterView=p.default.ColumnsView.inherit({_getRows:function(){return this._dataController.footerItems()},_getCellOptions:function(e){return(0,a.extend)(this.callBase(e),y(this,e))},_renderCellContent:function(e,t){v(e,t),this.callBase(e,t)},_renderCore:function(e){var t=this._dataController.footerItems()[0];e&&e.columnIndices||this.element().empty().addClass("dx-datagrid-total-footer").toggleClass("dx-datagrid-nowrap",!this.option("wordWrapEnabled")),t&&t.summaryCells&&t.summaryCells.length&&this._updateContent(this._renderTable({change:e}),e)},_updateContent:function(e,t){if(!t||"update"!==t.changeType||!t.columnIndices)return this.callBase.apply(this,arguments);var n=this._getTableElement().find(".dx-row"),i=e.find(".dx-row");this._updateCells(n,i,t.columnIndices[0])},_rowClick:function(e){var t=this._dataController.footerItems()[e.rowIndex]||{};this.executeAction("onRowClick",(0,a.extend)({},e,t))},_columnOptionChanged:function(e){var t=e.optionNames;e.changeTypes.grouping||(t.width||t.visibleWidth)&&this.callBase(e)},_handleDataChanged:function(e){var t=e.changeType;"update"===e.changeType&&e.repaintChangesOnly?e.totalColumnIndices?e.totalColumnIndices.length&&this.render(null,{changeType:"update",columnIndices:[e.totalColumnIndices]}):this.render():"refresh"!==t&&"append"!==t&&"prepend"!==t||this.render()},getHeight:function(){return this.getElementHeight()},isVisible:function(){return!!this._dataController.footerItems().length}});var x,S,k=(x=function(e,t,n,i){var r;if(C(e)){var o=e.getController("editing");if(o){var s=o.getInsertedData();s.length&&(n=function e(t,n,i){return i?e(t,n.map((function(e){return{items:[e]}}),i-1)):t.concat(n)}(n,s,i));var l=o.getRemovedData();l.length&&(n=function e(t,n,i){return i?t.map((function(t){var r={},o=e(t.items||[],n,i-1);return Object.defineProperty(r,"aggregates",{get:function(){return t.aggregates},set:function(e){t.aggregates=e}}),(0,a.extend)(r,t,{items:o})})):t.filter((function(e){return n.indexOf(e)<0}))}(n,l,i))}}return t&&(r=new f.default({totalAggregates:t.totalAggregates,groupAggregates:t.groupAggregates,data:n,groupLevel:i})).calculate(),r?r.totalAggregates():[]},S=function(e,t,n){var i=n&&n.sortByGroups&&n.sortByGroups();return i&&i.length?function e(t,n,i){if(!t||!n.length)return t;var r,o=i[0];return n[0]&&o&&o.length&&(r=(0,m.default)(t),(0,s.each)(o,(function(e){r=0===e?r.sortBy(this.selector,this.desc):r.thenBy(this.selector,this.desc)})),r.enumerate().done((function(e){t=e}))),n=n.slice(1),i=i.slice(1),n.length&&i.length&&(0,s.each)(t,(function(){this.items=e(this.items,n,i)})),t}(e,t,i):e},{_customizeRemoteOperations:function(e){var t=this.summary();t&&(e.remoteOperations.summary?e.isCustomLoading&&!e.storeLoadOptions.isLoadingAll||(e.storeLoadOptions.group&&(e.remoteOperations.grouping?e.storeLoadOptions.groupSummary=t.groupAggregates:t.groupAggregates.length&&(e.remoteOperations.paging=!1)),e.storeLoadOptions.totalSummary=t.totalAggregates):(t.totalAggregates.length||t.groupAggregates.length&&e.storeLoadOptions.group)&&(e.remoteOperations.paging=!1)),this.callBase.apply(this,arguments);var n=e.cachedPagesData.extra;n&&n.summary&&!e.isCustomLoading&&(e.storeLoadOptions.totalSummary=void 0)},_handleDataLoadedCore:function(e){var t,n=(0,_.normalizeSortingInfo)(e.storeLoadOptions.group||e.loadOptions.group||[]),i=e.remoteOperations||{},r=this.summaryGetter()(i);e.isCustomLoading&&!e.storeLoadOptions.isLoadingAll||(i.summary?!i.paging&&n.length&&r&&(i.grouping||x(this,{groupAggregates:r.groupAggregates},e.data,n.length),e.data=S(e.data,n,r)):i.paging||(t=x(this,r,e.data,n.length),e.data=S(e.data,n,r),e.extra=(0,o.isPlainObject)(e.extra)?e.extra:{},e.extra.summary=t)),e.isCustomLoading||(this._totalAggregates=e.extra&&e.extra.summary||this._totalAggregates),this.callBase(e)}});h.default.extend({init:function(){this.callBase.apply(this,arguments),this._totalAggregates=[],this._summaryGetter=r.noop},summaryGetter:function(e){if(!arguments.length)return this._summaryGetter;(0,o.isFunction)(e)&&(this._summaryGetter=e)},summary:function(e){if(!arguments.length)return this._summaryGetter();this._summaryGetter=function(){return e}},totalAggregates:function(){return this._totalAggregates},isLastLevelGroupItemsPagingLocal:function(){var e=this.summary(),t=e&&e.sortByGroups();return t&&t.length},sortLastLevelGroupItems:function(e,t,n){var i=(0,g.multiLevelGroup)((0,m.default)(e),t).toArray(),r=[];
1return n.forEach((function(e){!function e(t,n,i,r){r=r||[];for(var o=0;o<t.length;o++)r.push(t[o].key),1===n?i(r,t[o].items):e(t[o].items,n-1,i,r),r.pop()}(i,t.length,(function(t,n){e.toString()===t.toString()&&(r=r.concat(n))}))})),r}}),h.default.extend(k),t.renderSummaryCell=v,u.default.registerModule("summary",{defaultOptions:function(){return{summary:{groupItems:void 0,totalItems:void 0,calculateCustomSummary:void 0,skipEmptyValues:!0,recalculateWhileEditing:!1,texts:{sum:d.default.getFormatter("dxDataGrid-summarySum"),sumOtherColumn:d.default.getFormatter("dxDataGrid-summarySumOtherColumn"),min:d.default.getFormatter("dxDataGrid-summaryMin"),minOtherColumn:d.default.getFormatter("dxDataGrid-summaryMinOtherColumn"),max:d.default.getFormatter("dxDataGrid-summaryMax"),maxOtherColumn:d.default.getFormatter("dxDataGrid-summaryMaxOtherColumn"),avg:d.default.getFormatter("dxDataGrid-summaryAvg"),avgOtherColumn:d.default.getFormatter("dxDataGrid-summaryAvgOtherColumn"),count:d.default.getFormatter("dxDataGrid-summaryCount")}},sortByGroupSummaryInfo:void 0}},views:{footerView:t.FooterView},extenders:{controllers:{data:{_isDataColumn:function(e){return e&&(!(0,o.isDefined)(e.groupIndex)||e.showWhenGrouped)},_isGroupFooterVisible:function(){for(var e=this.option("summary.groupItems")||[],t=0;t<e.length;t++){var n=e[t],i=this._columnsController.columnOption(n.showInColumn||n.column);if(n.showInGroupFooter&&this._isDataColumn(i))return!0}return!1},_processGroupItems:function(e,t,n){var i=n&&n.data,r=this.callBase.apply(this,arguments);return n&&(void 0===n.isGroupFooterVisible&&(n.isGroupFooterVisible=this._isGroupFooterVisible()),i&&i.items&&n.isGroupFooterVisible&&(n.collectContinuationItems||!i.isContinuationOnNextPage)&&r.push({rowType:"groupFooter",key:n.path.slice(),data:i,groupIndex:n.path.length-1,values:[]})),r},_processGroupItem:function(e,t){var n=this;if(t.summaryGroupItems||(t.summaryGroupItems=n.option("summary.groupItems")||[]),"group"===e.rowType){var i=-1,r=-1;(0,s.each)(t.visibleColumns,(function(n){e.groupIndex===this.groupIndex&&(i=this.index),n>0&&"expand"===t.visibleColumns[n-1].command&&"expand"!==this.command&&(r=this.index)})),e.summaryCells=this._calculateSummaryCells(t.summaryGroupItems,w(e.data),t.visibleColumns,(function(e,t){return e.showInGroupFooter?-1:e.alignByColumn&&t&&!(0,o.isDefined)(t.groupIndex)&&t.index!==r?t.index:i}))}return"groupFooter"===e.rowType&&(e.summaryCells=this._calculateSummaryCells(t.summaryGroupItems,w(e.data),t.visibleColumns,(function(e,t){return e.showInGroupFooter&&n._isDataColumn(t)?t.index:-1}))),e},_calculateSummaryCells:function(e,t,n,i){var r=this,l=[],c={};return(0,s.each)(e,(function(e,n){var s=r._columnsController.columnOption(n.column),l=n.showInColumn&&r._columnsController.columnOption(n.showInColumn)||s,d=i(n,l);if(d>=0){c[d]||(c[d]=[]);var h,p=t[e];p==p&&((0,o.isDefined)(n.valueFormat)?h=n.valueFormat:"count"!==n.summaryType&&(h=u.default.getFormatByDataType(s&&s.dataType)),c[d].push((0,a.extend)({},n,{value:(0,o.isString)(p)&&s&&s.deserializeValue?s.deserializeValue(p):p,valueFormat:h,columnCaption:s&&s.index!==d?s.caption:void 0})))}})),(0,o.isEmptyObject)(c)||(0,s.each)(n,(function(){l.push(c[this.index]||[])})),l},_getSummaryCells:function(e,t){var n=this;return n._calculateSummaryCells(e,t,n._columnsController.getVisibleColumns(),(function(e,t){return n._isDataColumn(t)?t.index:-1}))},_updateItemsCore:function(e){var t,n=this._dataSource,i=this._footerItems,r=i&&i[0]&&i[0].summaryCells,o=this.option("summary.totalItems");if(this._footerItems=[],n&&o&&o.length){var s=n.totalAggregates();t=this._getSummaryCells(o,s),e&&e.repaintChangesOnly&&r&&(e.totalColumnIndices=t.map((function(e,t){return JSON.stringify(e)!==JSON.stringify(r[t])?t:-1})).filter((function(e){return e>=0}))),t.length&&this._footerItems.push({rowType:"totalFooter",summaryCells:t})}this.callBase(e)},_prepareUnsavedDataSelector:function(e){if(C(this)){var t=this.getController("editing");if(t)return function(n){return n=t.getUpdatedData(n),e(n)}}return e},_prepareAggregateSelector:function(e,t){return e=this._prepareUnsavedDataSelector(e),"avg"===t||"sum"===t?function(t){var n=e(t);return(0,o.isDefined)(n)?Number(n):n}:e},_getAggregates:function(e,t){var n=this,i=n.getController("columns"),r=n.option("summary.calculateCustomSummary"),a=n.option("summary.skipEmptyValues");return(0,s.map)(e||[],(function(e){var s,u=i.columnOption(e.column),d=u&&u.calculateCellValue?u.calculateCellValue.bind(u):(0,l.compileGetter)(u?u.dataField:e.column),h=e.summaryType||"count",p=(0,o.isDefined)(e.skipEmptyValues)?e.skipEmptyValues:a;if(t)return{selector:e.column,summaryType:h};if(s=n._prepareAggregateSelector(d,h),"custom"===h){r||(c.default.log("E1026"),r=function(){});var f={component:n.component,name:e.name};r(f),f.summaryProcess="calculate",h={seed:function(e){return f.summaryProcess="start",f.totalValue=void 0,f.groupIndex=e,delete f.value,r(f),f.totalValue},step:function(e,t){return f.summaryProcess="calculate",f.totalValue=e,f.value=t,r(f),f.totalValue},finalize:function(e){return f.summaryProcess="finalize",f.totalValue=e,delete f.value,r(f),f.totalValue}}}return{selector:s,aggregator:h,skipEmptyValues:p}}))},_addSortInfo:function(e,t,n,i){if(t){var r=t.groupIndex;i=i||t.sortOrder,(0,o.isDefined)(r)&&(e[r]=e[r]||[],e[r].push({selector:n,desc:"desc"===i}))}},_findSummaryItem:function(e,t){var n=-1;return(0,o.isDefined)(t)&&(0,s.each)(e||[],(function(e){if(this.name===t||e===t||this.summaryType===t||this.column===t||(r=this.column,((i=this.summaryType)&&r&&i+"_"+r)===t))return n=e,!1;var i,r})),n},_getSummarySortByGroups:function(e,t){var n=this,i=n._columnsController,r=i.getGroupColumns(),a=[];if(t&&t.length)return(0,s.each)(e||[],(function(){var e=this.sortOrder,l=this.groupColumn,c=n._findSummaryItem(t,this.summaryItem);if(!(c<0)){var u=function(e){return w(e)[c]};(0,o.isDefined)(l)?(l=i.columnOption(l),n._addSortInfo(a,l,u,e)):(0,s.each)(r,(function(t,i){n._addSortInfo(a,i,u,e)}))}})),a},_createDataSourceAdapterCore:function(e,t){var n=this,i=this.callBase(e,t);return i.summaryGetter((function(e){return n._getSummaryOptions(e||t)})),i},_getSummaryOptions:function(e){var t=this,n=t.option("summary.groupItems"),i=t.option("summary.totalItems"),r=t.option("sortByGroupSummaryInfo"),o=t._getAggregates(n,e&&e.grouping&&e.summary),s=t._getAggregates(i,e&&e.summary);if(o.length||s.length)return{groupAggregates:o,totalAggregates:s,sortByGroups:function(){return t._get
1SummarySortByGroups(r,n)}}},publicMethods:function(){var e=this.callBase();return e.push("getTotalSummaryValue"),e},getTotalSummaryValue:function(e){var t=this._findSummaryItem(this.option("summary.totalItems"),e),n=this._dataSource.totalAggregates();if(n.length&&t>-1)return n[t]},optionChanged:function(e){"summary"!==e.name&&"sortByGroupSummaryInfo"!==e.name||(e.name="dataSource"),this.callBase(e)},init:function(){this._footerItems=[],this.callBase()},footerItems:function(){return this._footerItems}},editing:{_refreshSummary:function(){C(this)&&!this.isSaving()&&this._dataController.refresh({load:!0,changesOnly:!0})},_addEditData:function(e){var t=this.callBase.apply(this,arguments);return e.type&&this._refreshSummary(),t},_removeEditDataItem:function(){var e=this.callBase.apply(this,arguments);return this._refreshSummary(),e},cancelEditData:function(){var e=this.callBase.apply(this,arguments);return this._refreshSummary(),e}}},views:{rowsView:{_createRow:function(e){var t=this.callBase(e);return e&&t.addClass("groupFooter"===e.rowType?"dx-datagrid-group-footer":""),t},_renderCells:function(e,t){this.callBase.apply(this,arguments),"group"===t.row.rowType&&t.row.summaryCells&&t.row.summaryCells.length&&this._renderGroupSummaryCells(e,t)},_hasAlignByColumnSummaryItems:function(e,t){return!(0,o.isDefined)(t.columns[e].groupIndex)&&t.row.summaryCells[e].length},_getAlignByColumnCellCount:function(e,t){for(var n=0,i=1;i<e;i++)n=this._hasAlignByColumnSummaryItems(t.row.summaryCells.length-i,t)?i:n;return n},_renderGroupSummaryCells:function(e,t){var n=e.children().last(),i=Number(n.attr("colSpan"))||1,r=this._getAlignByColumnCellCount(i,t);this._renderGroupSummaryCellsCore(n,t,i,r)},_renderGroupSummaryCellsCore:function(e,t,n,i){if(i>0){e.attr("colSpan",n-i);for(var r=0;r<i;r++){var o=t.columns.length-i+r;this._renderCell(e.parent(),(0,a.extend)({column:t.columns[o],columnIndex:this._getSummaryCellIndex(o,t.columns)},t))}}},_getSummaryCellIndex:function(e){return e},_getCellTemplate:function(e){return!e.column.command&&!(0,o.isDefined)(e.column.groupIndex)&&e.summaryItems&&e.summaryItems.length?v:this.callBase(e)},_getCellOptions:function(e){var t=this.callBase(e);return e.row.summaryCells?(0,a.extend)(t,y(this,e)):t}}}}})},C7sP:function(e,t,n){"use strict";var i=a(n("BWGd")),r=a(n("D8Ap")),o=a(n("K4No")),s=a(n("yui9"));function a(e){return e&&e.__esModule?e:{default:e}}t.DataController=s.default.controllers.data.inherit({_getDataSourceAdapter:function(){return o.default},_getSpecificDataSourceOption:function(){var e=this.option("dataSource");return e&&!Array.isArray(e)&&this.option("keyExpr")&&r.default.log("W1011"),this.callBase()}}),i.default.registerModule("data",{defaultOptions:s.default.defaultOptions,controllers:{data:t.DataController}})},CBR9:function(e,t,n){"use strict";var i,r=(i=n("FKN7"))&&i.__esModule?i:{default:i},o=function(e){return!(!e||"string"!=typeof e)&&(/^\s*<svg[^>]*>(.|\r\n|\r|\n)*?<\/svg>\s*$/i.test(e)?"svg":/data:.*base64|\.|[^<\s]\//.test(e)?"image":/^[\w-_]+$/.test(e)?"dxIcon":!!/^\s?([\w-_]\s?)+$/.test(e)&&"fontIcon")};t.getImageSourceType=o,t.getImageContainer=function(e){switch(o(e)){case"image":return(0,r.default)("<img>").attr("src",e).addClass("dx-icon");case"fontIcon":return(0,r.default)("<i>").addClass("".concat("dx-icon"," ").concat(e));case"dxIcon":return(0,r.default)("<i>").addClass("".concat("dx-icon"," ").concat("dx-icon","-").concat(e));case"svg":return(0,r.default)("<i>").addClass("".concat("dx-icon"," ").concat("dx-svg-icon")).append(e);default:return null}}},CCnk:function(e,t,n){"use strict";var i=C(n("FKN7")),r=C(n("jeLr")),o=C(n("LdFP")),s=C(n("D6VQ")),a=C(n("XPWh")),l=C(n("yUp2")),c=n("JDOJ"),u=n("1LL4"),d=n("ti0F"),h=C(n("T4bj")),p=n("zl3R"),f=C(n("alGs")),m=C(n("+6qP")),g=C(n("0Ms2")),_=C(n("ZA3g")),b=C(n("a/39")),v=n("CBR9"),y=n("b1t7"),w=n("tJvG");function C(e){return e&&e.__esModule?e:{default:e}}var x=b.default.inherit({_activeStateUnit:".dx-tab",_getDefaultOptions:function(){return(0,u.extend)(this.callBase(),{hoverStateEnabled:!0,showNavButtons:!0,scrollByContent:!0,scrollingEnabled:!0,selectionMode:"single",activeStateEnabled:!0,selectionRequired:!1,selectOnFocus:!0,loopItemFocus:!1,useInkRipple:!1,badgeExpr:function(e){return e?e.badge:void 0}})},_defaultOptionsRules:function(){var e=m.default.current();return this.callBase().concat([{device:function(){return"desktop"!==o.default.real().deviceType},options:{showNavButtons:!1}},{device:{deviceType:"desktop"},options:{scrollByContent:!1}},{device:function(){return"desktop"===o.default.real().deviceType&&!o.default.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return m.default.isMaterial(e)},options:{useInkRipple:!0,selectOnFocus:!1}}])},_init:function(){this.callBase(),this.setAria("role","tablist"),this.$element().addClass("dx-tabs"),this._renderWrapper(),this._renderMultiple(),this._feedbackHideTimeout=100},_initTemplates:function(){this.callBase(),this._defaultTemplates.item=new y.BindableTemplate((function(e,t){(0,d.isPlainObject)(t)?this._prepareDefaultItemTemplate(t,e):e.text(String(t));var n=(0,v.getImageContainer)(t.icon);n&&n.prependTo(e),e.wrapInner((0,i.default)("<span>").addClass("dx-tab-text"))}).bind(this),["text","html","icon"],this.option("integrationOptions.watchMethod"))},_createItemByTemplate:function(e,t){var n=this,i=t.itemData,r=t.container,o=t.index;return this._deferredTemplates[o]=new w.Deferred,e.render({model:i,container:r,index:o,onRendered:function(){return n._deferredTemplates[o].resolve()}})},_itemClass:function(){return"dx-tab"},_selectedItemClass:function(){return"dx-tab-selected"},_itemDataKey:function(){return"dxTabData"},_initMarkup:function(){this._deferredTemplates=[],this.callBase(),this.setAria("role","tab",this.itemElements()),this.option("useInkRipple")&&this._renderInkRipple(),this.$element().addClass("dx-overflow-hidden")},_render:function(){this.callBase(),this._deferRenderScrolling()},_deferRenderScrolling:function(){var e=this;w.when.apply(this,this._deferredTemplates).done((function(){return e._renderScrolling()}))},_renderScrolling:function(){this.$element().removeClass(["dx-tabs-stretched","dx-tabs-expanded","dx-overflow-hidden"].join(" ")),this.option("scrollingEnabled")&&this._isItemsWidthExceeded()&&(this._scrollable||(this._renderScrollable(),this._renderNavButtons()),this._scrollable.update(
1),this._updateNavButtonsVisibility(),this.option("rtlEnabled")&&this._scrollable.scrollTo({left:this._scrollable.scrollWidth()-this._scrollable.clientWidth()}),this._scrollToItem(this.option("selectedItem"))),this.option("scrollingEnabled")&&this._isItemsWidthExceeded()||(this._cleanScrolling(),this._needStretchItems()&&!this._isItemsWidthExceeded()&&this.$element().addClass("dx-tabs-stretched"),this.$element().removeClass("dx-tabs-nav-buttons").addClass("dx-tabs-expanded"))},_isItemsWidthExceeded:function(){return this._getSummaryItemsWidth(this._getVisibleItems(),!0)-1>this.$element().width()},_needStretchItems:function(){var e=this._getVisibleItems(),t=this.$element().width(),n=[];return(0,p.each)(e,(function(e,t){n.push((0,i.default)(t).outerWidth(!0))})),Math.max.apply(null,n)>t/e.length},_cleanNavButtons:function(){this._leftButton&&this._rightButton&&(this._leftButton.$element().remove(),this._rightButton.$element().remove(),this._leftButton=null,this._rightButton=null)},_cleanScrolling:function(){this._scrollable&&(this._$wrapper.appendTo(this.$element()),this._scrollable.$element().remove(),this._scrollable=null,this._cleanNavButtons())},_renderInkRipple:function(){this._inkRipple=l.default.render()},_toggleActiveState:function(e,t,n){if(this.callBase.apply(this,arguments),this._inkRipple){var i={element:e,event:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}},_renderMultiple:function(){"multiple"===this.option("selectionMode")&&this.option("selectOnFocus",!1)},_renderWrapper:function(){this._$wrapper=(0,i.default)("<div>").addClass("dx-tabs-wrapper"),this.$element().append(this._$wrapper)},_itemContainer:function(){return this._$wrapper},_renderScrollable:function(){var e=this.$element().wrapInner((0,i.default)("<div>").addClass("dx-tabs-scrollable")).children();this._scrollable=this._createComponent(e,_.default,{direction:"horizontal",showScrollbar:!1,useKeyboard:!1,useNative:!1,scrollByContent:this.option("scrollByContent"),onScroll:this._updateNavButtonsVisibility.bind(this)}),this.$element().append(this._scrollable.$element())},_scrollToItem:function(e){if(this._scrollable){var t=this._editStrategy.getItemElement(e);this._scrollable.scrollToElement(t)}},_renderNavButtons:function(){if(this.$element().toggleClass("dx-tabs-nav-buttons",this.option("showNavButtons")),this.option("showNavButtons")){var e=this.option("rtlEnabled");this._leftButton=this._createNavButton(-30,e?"chevronnext":"chevronprev");var t=this._leftButton.$element();t.addClass("dx-tabs-nav-button-left"),this.$element().prepend(t),this._rightButton=this._createNavButton(30,e?"chevronprev":"chevronnext");var n=this._rightButton.$element();n.addClass("dx-tabs-nav-button-right"),this.$element().append(n)}},_updateNavButtonsVisibility:function(){this._leftButton&&this._leftButton.option("disabled",this._scrollable.scrollLeft()<=0),this._rightButton&&this._rightButton.option("disabled",this._scrollable.scrollLeft()>=Math.round(this._scrollable.scrollWidth()-this._scrollable.clientWidth()))},_updateScrollPosition:function(e,t){this._scrollable.update(),this._scrollable.scrollBy(e/t)},_createNavButton:function(e,t){var n=this,o=n._createAction((function(){n._holdInterval=setInterval((function(){n._updateScrollPosition(e,5)}),5)})),s=(0,c.addNamespace)(g.default.name,"dxNavButton"),l=(0,c.addNamespace)(h.default.up,"dxNavButton"),u=(0,c.addNamespace)(h.default.out,"dxNavButton"),d=this._createComponent((0,i.default)("<div>").addClass("dx-tabs-nav-button"),a.default,{focusStateEnabled:!1,icon:t,onClick:function(){n._updateScrollPosition(e,1)},integrationOptions:{}}),p=d.$element();return r.default.on(p,s,{timeout:300},(function(e){o({event:e})}).bind(this)),r.default.on(p,l,(function(){n._clearInterval()})),r.default.on(p,u,(function(){n._clearInterval()})),d},_clearInterval:function(){this._holdInterval&&clearInterval(this._holdInterval)},_updateSelection:function(e){this._scrollable&&this._scrollable.scrollToElement(this.itemElements().eq(e[0]),{left:1,right:1})},_visibilityChanged:function(e){e&&this._dimensionChanged()},_dimensionChanged:function(){this._renderScrolling()},_itemSelectHandler:function(e){"single"===this.option("selectionMode")&&this.isItemSelected(e.currentTarget)||this.callBase(e)},_clean:function(){this._deferredTemplates=[],this._cleanScrolling(),this.callBase()},_optionChanged:function(e){switch(e.name){case"useInkRipple":case"scrollingEnabled":case"showNavButtons":this._invalidate();break;case"scrollByContent":this._scrollable&&this._scrollable.option(e.name,e.value);break;case"width":this.callBase(e),this._dimensionChanged();break;case"selectionMode":this._renderMultiple(),this.callBase(e);break;case"badgeExpr":this._invalidate();break;default:this.callBase(e)}},_afterItemElementInserted:function(){this.callBase(),this._deferRenderScrolling()},_afterItemElementDeleted:function(e,t){this.callBase(e,t),this._renderScrolling()}});
1x.ItemClass=f.default,(0,s.default)("dxTabs",x),e.exports=x,e.exports.getTabsExpandedClass="dx-tabs-expanded",e.exports.default=e.exports},CEub:function(e,t,n){"use strict";var i=l(n("GYHJ")),r=l(n("3xIi")),o=n("XpgS"),s=n("ti0F"),a=n("cGv3");function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return 1+(parseInt(e.pageIndex())||0)},u=i.default.View.inherit({init:function(){var e=this,t=e.getController("data");e._isVisible=!1,t.changed.add((function(n){if(n&&n.repaintChangesOnly){var i=e._getPager();i?i.option({pageIndex:c(t),pageSize:t.pageSize(),pageCount:t.pageCount(),totalCount:t.totalCount(),hasKnownLastPage:t.hasKnownLastPage()}):e.render()}else(!n||"update"!==n.changeType&&"updateSelection"!==n.changeType)&&e.render()}))},_getPager:function(){var e=this.element();return e&&e.data("dxPager")},_renderCore:function(){var e=this.element().addClass(this.addWidgetPrefix("pager")),t=this.option("pager")||{},n=this.getController("data"),i=this.getController("keyboardNavigation"),o={maxPagesCount:10,pageIndex:c(n),pageCount:n.pageCount(),pageSize:n.pageSize(),showPageSizes:t.showPageSizeSelector,showInfo:t.showInfo,pagesNavigatorVisible:t.visible,showNavigationButtons:t.showNavigationButtons,pageSizes:this.getPageSizes(),totalCount:n.totalCount(),hasKnownLastPage:n.hasKnownLastPage(),pageIndexChanged:function(e){n.pageIndex()!==e-1&&setTimeout((function(){n.pageIndex(e-1)}))},pageSizeChanged:function(e){setTimeout((function(){n.pageSize(e)}))},onKeyDown:function(e){return i&&i.executeAction("onKeyDown",e)},useLegacyKeyboardNavigation:this.option("useLegacyKeyboardNavigation"),useKeyboard:this.option("keyboardNavigation.enabled")};(0,s.isDefined)(t.infoText)&&(o.infoText=t.infoText),this._createComponent(e,r.default,o)},getPageSizes:function(){var e=this.getController("data"),t=this.option("pager"),n=t&&t.allowedPageSizes,i=e.pageSize();return(0,s.isDefined)(this._pageSizes)&&-1!==(0,o.inArray)(i,this._pageSizes)||(this._pageSizes=[],t&&(Array.isArray(n)?this._pageSizes=n:n&&i>1&&(this._pageSizes=[Math.floor(i/2),i,2*i]))),this._pageSizes},isVisible:function(){var e=this.getController("data"),t=this.option("pager"),n=t&&t.visible,i=this.option("scrolling");return!!this._isVisible||("auto"===n&&(n=(!i||"virtual"!==i.mode&&"infinite"!==i.mode)&&(e.pageCount()>1||e.isLoaded()&&!e.hasKnownLastPage())),this._isVisible=n,n)},getHeight:function(){return this.getElementHeight()},optionChanged:function(e){var t=e.name,n="pager"===t,i="paging"===t,r="dataSource"===t,o="scrolling"===t,s=this.getController("data");if(n||i||o||r){if(e.handled=!0,s.skipProcessingPagingChange(e.fullName))return;(n||i)&&(this._pageSizes=null),(n||i||o)&&(this._isVisible=!1),r||(this._invalidate(),(0,a.hasWindow)()&&n&&this.component&&this.component.resize())}}});e.exports={defaultOptions:function(){return{pager:{visible:"auto",showPageSizeSelector:!1,allowedPageSizes:"auto"}}},views:{pagerView:u}}},CQoW:function(e,t,n){"use strict";var i=n("DLVy"),r=n("zl3R").each,o=n("ti0F").isPlainObject;e.exports={ctor:function(){this._events={},this.setEventsStrategy(new i(this))},setEventsStrategy:function(e){"function"==typeof e&&(e=e(this)),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 o(e)?r(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()}}},CWM8:function(e,t,n){"use strict";var i,r=n("FKN7"),o=n("xMpX").add,s=n("cYys")(),a=r(),l=function(e){if(!arguments.length)return i;var t=r(e);a=t;var n=!!t.length,o=l();i=n?t:r("body"),s.fire(n?l():r(),o)};o((function(){l(".dx-viewport")})),t.value=l,t.changeCallback=s,t.originalViewPort=function(){return a}},Cc4C:function(e,t,n){"use strict";var i=n("1B4V"),r=n("jeLr"),o=n("OaJ3"),s=n("ti0F").isDefined,a=n("fGF2"),l=new o,c=0,u=t.name=function(e,t){if(!s(t)){if(!l.has(e)){var n="dxPrivateComponent"+c++;return l.set(e,n),n}return l.get(e)}l.set(e,t)};t.attachInstanceToElement=function(e,t,n){var o=i.data(e.get(0)),s=u(t.constructor);o[s]=t,n&&r.one(e,a,(function(){n.call(t)})),o.dxComponents||(o.dxComponents=[]),o.dxComponents.push(s)},t.getInstanceByElement=function(e,t){var n=u(t);return i.data(e.get(0),n)}},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("HDdC"),r=n("SeVD"),o=n("quSY"),s=n("kJWO"),a=n("jZKg"),l=n("Lhse"),c=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.a]}(e))return function(e,t){return new i.a(n=>{const i=new o.a;return i.add(t.schedule(()=>{const r=e[s.a]();i.add(r.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(Object(c.a)(e))return function(e,t){return new i.a(n=>{const i=new o.a;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(Object(u.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[l.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new o.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=e[l.a](),i.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())})))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}
1(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(n("wd/R"))},CxY0:function(e,t,n){"use strict";var i=n("nYho"),r=n("Nehr");function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=v,t.resolve=function(e,t){return v(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?v(e,!1,!0).resolveObject(t):t},t.format=function(e){return r.isString(e)&&(e=v(e)),e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;
1var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n("r8II");function v(e,t,n){if(e&&r.isObject(e)&&e instanceof o)return e;var i=new o;return i.parse(e,t,n),i}o.prototype.parse=function(e,t,n){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(a);c[0]=c[0].replace(/\\/g,"/");var v=e=c.join(a);if(v=v.trim(),!n&&1===e.split("#").length){var y=l.exec(v);if(y)return this.path=v,this.href=v,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=s.exec(v);if(w){var C=(w=w[0]).toLowerCase();this.protocol=C,v=v.substr(w.length)}if(n||w||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===v.substr(0,2);!x||w&&g[w]||(v=v.substr(2),this.slashes=!0)}if(!g[w]&&(x||w&&!_[w])){for(var S,k,T=-1,E=0;E<h.length;E++)-1!==(I=v.indexOf(h[E]))&&(-1===T||I<T)&&(T=I);for(-1!==(k=-1===T?v.lastIndexOf("@"):v.lastIndexOf("@",T))&&(S=v.slice(0,k),v=v.slice(k+1),this.auth=decodeURIComponent(S)),T=-1,E=0;E<d.length;E++){var I;-1!==(I=v.indexOf(d[E]))&&(-1===T||I<T)&&(T=I)}-1===T&&(T=v.length),this.host=v.slice(0,T),v=v.slice(T),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var M=this.hostname.split(/\./),O=(E=0,M.length);E<O;E++){var R=M[E];if(R&&!R.match(p)){for(var L="",A=0,P=R.length;A<P;A++)R.charCodeAt(A)>127?L+="x":L+=R[A];if(!L.match(p)){var F=M.slice(0,E),B=M.slice(E+1),H=R.match(f);H&&(F.push(H[1]),B.unshift(H[2])),B.length&&(v="/"+B.join(".")+v),this.hostname=F.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),D||(this.hostname=i.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!m[C])for(E=0,O=u.length;E<O;E++){var V=u[E];if(-1!==v.indexOf(V)){var N=encodeURIComponent(V);N===V&&(N=escape(V)),v=v.split(V).join(N)}}var z=v.indexOf("#");-1!==z&&(this.hash=v.substr(z),v=v.slice(0,z));var j=v.indexOf("?");return-1!==j?(this.search=v.substr(j),this.query=v.substr(j+1),t&&(this.query=b.parse(this.query)),v=v.slice(0,j)):t&&(this.search="",this.query={}),v&&(this.pathname=v),_[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",i=this.hash||"",o=!1,s="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(s=b.stringify(this.query));var a=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||_[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+i},o.prototype.resolve=function(e){return this.resolveObject(v(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(r.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,i=Object.keys(this),s=0;s<i.length;s++){var a=i[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return _[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!_[e.protocol]){for(var d=Object.keys(e),h=0;h<d.length;h++){var p=d[h];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}return n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,(n.pathname||n.search)&&(n.path=(n.pathname||"")+(n.search||"")),n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=b||m||n.host&&e.pathname,y=v,w=n.pathname&&n.pathname.split("/")||[],C=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!_[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),v=v&&(""===f[0]||""===w[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,w=f;else if(f.length)w||(w=[]),w.pop(),w=w.concat(f),n.search=e.search,n.query=e.query;else if(!r.isNullOrUndefined(e.search))return C&&(n.hostname=n.host=w.shift(),(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),n.search=e.search,n.query=e.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var x=w.slice(-1)[0],S=(n.host||e.host||w.length>1)&&("."===x||".."===x)||""===x,k=0,T=w.length;T>=0;T--)"."===(x=w[T])?w.splice(T,1):".."===x?(w.splice(T,1),k++):k&&(w.splice(T,1),k--);if(!v&&!y)for(;k--;k)w.unshift("..");!v||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),S&&"/"!==w.join("/").substr(-1)&&w.push("");var E,I=""===w[0]||w[0]&&"/"===w[0].charAt(0);return C&&(n.hostname=n.host=I?"":w.length?w.shift():"",(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),(v=v||n.host&&w.length)&&!I&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"D/JM":function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},D6VQ:function(e,t,n){"use strict";var i=n("FKN7"),r=n("/orT"),o=n("/7L9"),s=n("Cc4C");r.add((function(e,t){i.fn[e]=function(n){var i,r="string"==typeof n;if(r){var s=n,a=[].slice.call(arguments).slice(1);this.each((function(){var n=t.getInstance(this);if(!n)throw o.Error("E0009",e);var r=n[s].apply(n,a);void 0===i&&(i=r)}))}else this.each((function(){var e=t.getInstance(this);e?e.option(n):new t(this,n)})),i=this;return i}})),e.exports=function(e,t,n){n?t[e]=n:n=t,s.name(n,e),r.fire(e,n)},e.exports.default=e.exports},D859:function(e,t,n){"use strict";var i=n("ti0F"),r=n("5u+F"),o=n("Bhoz"),s=n("dYUP"),a=n("eWCF");n("Niae"),e.exports=a({format:function(e,t){var n=i.isString(t)&&""!==t||i.isPlainObject(t)||i.isFunction(t),r=i.isNumeric(e)||i.isDate(e);return n&&r?i.isFunction(t)?t(e):(i.isString(t)&&(t={type:t}),i.isNumeric(e)?o.format(e,t):i.isDate(e)?s.format(e,t):void 0):i.isDefined(e)?e.toString():""},getTimeFormat:function(e){return e?"longtime":"shorttime"},_normalizeFormat:function(e){return Array.isArray(e)?1===e.length?e[0]:function(t){return e.map((function(e){return s.format(t,e)})).join(" ")}:e},getDateFormatByDifferences:function(e,t){var n=[],i=t&&e.millisecond&&!(e.year||e.month||e.day);return i?n.push((function(e){return e.getSeconds()+e.getMilliseconds()/1e3+"s"})):e.millisecond&&n.push("millisecond"),(e.hour||e.minute||!i&&e.second)&&n.unshift(this.getTimeFormat(e.second)),e.year&&e.month&&e.day?t&&"month"===t?"monthandyear":(n.unshift("shortdate"),this._normalizeFormat(n)):e.year&&e.month?"monthandyear":e.year&&e.quarter?"quarterandyear":e.year?"year":e.quarter?"quarter":e.month&&e.day?(n.unshift(t?function(e){return s.getMonthNames("abbreviated")[e.getMonth()]+" "+s.format(e,"day")}:"monthandday"),this._normalizeFormat(n)):e.month?"month":e.day?(n.unshift(t?"day":function(e){return s.format(e,"dayofweek")+", "+s.format(e,"day")}),this._normalizeFormat(n)):this._normalizeFormat(n)},getDateFormatByTicks:function(e){var t;if(e.length>1){t=r.getDatesDifferences(e[0],e[1]);for(var n=1;n<e.length-1;n++){var i=r.getDatesDifferences(e[n],e[n+1]);t.count<i.count&&(t=i)}}else t={year:!0,month:!0,day:!0,hour:e[0].getHours()>0,minute:e[0].getMinutes()>0,second:e[0].getSeconds()>0,millisecond:e[0].getMilliseconds()>0};return this.getDateFormatByDifferences(t)},getDateFormatByTickInterval:function(e,t,n){var o,s=function(e,t,n){switch(t){case"year":case"quarter":e.month=n;case"month":e.day=n;case"week":case"day":e.hour=n;case"hour":e.minute=n;case"minute":e.second=n;case"second":e.millisecond=n}};n=i.isString(n)?n.toLowerCase():n;var a,l,c,u=r.getDatesDifferences(e,t);return e!==t&&(a=u,l=e>t?t:e,!(c=e>t?e:t).getMilliseconds()&&c.getSeconds()?c.getSeconds()-l.getSeconds()==1&&(a.millisecond=!0,a.second=!1):!c.getSeconds()&&c.getMinutes()?c.getMinutes()-l.getMinutes()==1&&(a.second=!0,a.minute=!1):!c.getMinutes()&&c.getHours()?c.getHours()-l.getHours()==1&&(a.minute=!0,a.hour=!1):!c.getHours()&&c.getDate()>1?c.getDate()-l.getDate()==1&&(a.hour=!0,a.day=!1):1===c.getDate()&&c.getMonth()?c.getMonth()-l.getMonth()==1&&(a.day=!0,a.month=!1):!c.getMonth()&&c.getFullYear()&&c.getFullYear()-l.getFullYear()==1&&(a.month=!0,a.year=!1)),s(u,r.getDateUnitInterval(u),!0),s(u,o=r.getDateUnitInterval(n||"second"),!1),u[{week:"day"}[o]||o]=!0,this.getDateFormatByDifferences(u)}})},D8Ap:function(e,t,n){"use strict";var i=n("IWKj"),r=n("/7L9");e.exports=i(r.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}
1'. 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}",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 '{0}' script is referenced after the DevExtreme scripts or not referenced at all",E1042:"{0} requires the key field to be specified",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",E1047:'The "{0}" field is not found in the fields array',E1048:'The "{0}" operation is not found in the filterOperations array',E1049:"Column '{0}': filtering is allowed but the 'dataField' or 'name' option is not specified",E1050:"The validationRules option does not apply to third-party editors defined in the editCellTemplate",E1051:'HtmlEditor\'s valueType is "{0}", but the {0} converter was not imported.',E1052:'{0} should have the "dataSource" option specified',E1053:'The "buttons" option accepts an array that contains only objects or string values',E1054:"All text editor buttons must have names",E1055:'One or several text editor buttons have invalid or non-unique "name" values',E1056:'The {0} widget does not support buttons of the "{1}" type',E1057:'The {0} widget does not support asynchronous validation rules in the "{1}" edit mode',E1058:'The "startDayHour" must be earlier than the "endDayHour"',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 following error: '{0}'",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",W1009:"Searching works only if data is specified using the dataSource option",W1010:"The capability to select all items works with source data of plain structure only",W1011:'The "keyExpr" option is not applied when dataSource is not an array',W1012:"The '{0}' key field is not found in data objects",W1013:'The "message" field in the dialog component was renamed to "messageHtml". Change your co
1de correspondingly. In addition, if you used HTML code in the message, make sure that it is secure',W1014:"The Floating Action Button exceeds the recommended speed dial action count. If you need to display more speed dial actions, increase the maxSpeedDialActionCount option value in the global config.",W1015:'The "cellDuration" should divide the range from the "startDayHour" to the "endDayHour" into even intervals'})},DDHz:function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("KAnu").noop,s=n("AQWU"),a=s.abstract,l=n("JDOJ"),c=n("T4bj"),u=n("hMAE"),d=l.addNamespace(c.down,"dxListEditDecorator"),h=l.addNamespace(u.active,"dxListEditDecorator"),p=s.inherit({_init:function(){this._$topShield=i("<div>").addClass("dx-list-switchable-delete-top-shield"),this._$bottomShield=i("<div>").addClass("dx-list-switchable-delete-bottom-shield"),this._$itemContentShield=i("<div>").addClass("dx-list-switchable-delete-item-content-shield"),r.on(this._$topShield,d,this._cancelDeleteReadyItem.bind(this)),r.on(this._$bottomShield,d,this._cancelDeleteReadyItem.bind(this)),this._list.$element().append(this._$topShield.toggle(!1)).append(this._$bottomShield.toggle(!1))},handleClick:function(){return this._cancelDeleteReadyItem()},_cancelDeleteReadyItem:function(){return!!this._$readyToDeleteItem&&(this._cancelDelete(this._$readyToDeleteItem),!0)},_cancelDelete:function(e){this._toggleDeleteReady(e,!1)},_toggleDeleteReady:function(e,t){void 0===t&&(t=!this._isReadyToDelete(e)),this._toggleShields(e,t),this._toggleScrolling(t),this._cacheReadyToDeleteItem(e,t),this._animateToggleDelete(e,t)},_isReadyToDelete:function(e){return e.hasClass("dx-list-switchable-delete-ready")},_toggleShields:function(e,t){this._list.$element().toggleClass("dx-list-switchable-menu-shield-positioning",t),this._$topShield.toggle(t),this._$bottomShield.toggle(t),t&&this._updateShieldsHeight(e),this._toggleContentShield(e,t)},_updateShieldsHeight:function(e){var t=this._list.$element(),n=t.offset().top,i=t.outerHeight(),r=e.offset().top-n,o=i-e.outerHeight()-r;this._$topShield.height(Math.max(r,0)),this._$bottomShield.height(Math.max(o,0))},_toggleContentShield:function(e,t){t?e.find(".dx-list-item-content").first().append(this._$itemContentShield):this._$itemContentShield.detach()},_toggleScrolling:function(e){var t=this._list.$element().dxScrollView("instance");e?t.on("start",this._cancelScrolling):t.off("start",this._cancelScrolling)},_cancelScrolling:function(e){e.event.cancel=!0},_cacheReadyToDeleteItem:function(e,t){t?this._$readyToDeleteItem=e:delete this._$readyToDeleteItem},_animateToggleDelete:function(e,t){t?(this._enablePositioning(e),this._prepareDeleteReady(e),this._animatePrepareDeleteReady(e),r.off(e,c.up)):(this._forgetDeleteReady(e),this._animateForgetDeleteReady(e).done(this._disablePositioning.bind(this,e)))},_enablePositioning:function(e){e.addClass("dx-list-switchable-menu-item-shield-positioning"),r.on(e,h,o),r.one(e,c.up,this._disablePositioning.bind(this,e))},_disablePositioning:function(e){e.removeClass("dx-list-switchable-menu-item-shield-positioning"),r.off(e,h)},_prepareDeleteReady:function(e){e.addClass("dx-list-switchable-delete-ready")},_forgetDeleteReady:function(e){e.removeClass("dx-list-switchable-delete-ready")},_animatePrepareDeleteReady:a,_animateForgetDeleteReady:a,_getDeleteButtonContainer:function(e){return(e=e||this._$readyToDeleteItem).children(".dx-list-switchable-delete-button-container")},_deleteItem:function(e){this._getDeleteButtonContainer(e=e||this._$readyToDeleteItem).detach(),e.is(".dx-state-disabled, .dx-state-disabled *")||this._list.deleteItem(e).always(this._cancelDelete.bind(this,e))},_isRtlEnabled:function(){return this._list.option("rtlEnabled")},dispose:function(){this._$topShield&&this._$topShield.remove(),this._$bottomShield&&this._$bottomShield.remove(),this.callBase.apply(this,arguments)}});e.exports=p},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},DHwc:function(e,t,n){"use strict";var i=C(n("FKN7")),r=C(n("tUd6")),o=C(n("jeLr")),s=C(n("0osO")),a=C(n("D6VQ")),l=n("KAnu"),c=n("ti0F"),u=n("v4HY"),d=n("zl3R"),h=n("XpgS"),p=n("1LL4"),f=n("cGv3"),m=C(n("hMwJ")),g=n("vlix"),_=C(n("LdFP")),b=n("JDOJ"),v=C(n("uHSv")),y=C(n("iTdP")),w=n("tJvG");
1function C(e){return e&&e.__esModule?e:{default:e}}function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t,n){return(k="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=I(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=["onShowing","onShown","onSubmenuCreated","onHiding","onHidden","onPositioning","onLeftFirstItem","onLeftLastItem","onCloseRootSubmenu","onExpandLastSubmenu"],M=["up","down","first","last"],O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(C,e);var t,n,a,y=(n=C,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=I(n);if(a){var i=I(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return E(this,e)});function C(){return S(this,C),y.apply(this,arguments)}return(t=[{key:"getShowEvent",value:function(e){var t=null;return(0,c.isObject)(e)?null!==e.name&&(t=e.name||"dxcontextmenu"):t=e,t}},{key:"getShowDelay",value:function(e){return(0,c.isObject)(e)&&e.delay}},{key:"_getDefaultOptions",value:function(){return(0,p.extend)(k(I(C.prototype),"_getDefaultOptions",this).call(this),{showEvent:"dxcontextmenu",closeOnOutsideClick:!0,position:{at:"top left",my:"top left"},onShowing:null,onShown:null,onSubmenuCreated:null,onHiding:null,onHidden:null,onPositioning:null,submenuDirection:"auto",visible:!1,target:void 0,onLeftFirstItem:null,onLeftLastItem:null,onCloseRootSubmenu:null,onExpandLastSubmenu:null})}},{key:"_defaultOptionsRules",value:function(){return k(I(C.prototype),"_defaultOptionsRules",this).call(this).concat([{device:function(){return!(0,f.hasWindow)()},options:{animation:null}}])}},{key:"_initActions",value:function(){var e=this;this._actions={},(0,d.each)(D,(function(t,n){e._actions[n]=e._createActionByOption(n)||l.noop}))}},{key:"_setOptionsByReference",value:function(){k(I(C.prototype),"_setOptionsByReference",this).call(this),(0,p.extend)(this._optionsByReference,{animation:!0,selectedItem:!0})}},{key:"_focusInHandler",value:function(){}},{key:"_itemContainer",value:function(){return this._overlay?this._overlay.$content():(0,i.default)()}},{key:"_eventBindingTarget",value:function(){return this._itemContainer()}},{key:"itemsContainer",value:function(){return this._overlay?this._overlay.$content():void 0}},{key:"_supportedKeys",value:function(){var e=this;return(0,p.extend)(k(I(C.prototype),"_supportedKeys",this).call(this),{space:function(){var t=(0,i.default)(e.option("focusedElement"));e.hide(),t.length&&e._isSelectionEnabled()&&e.selectItem(t[0])},esc:this.hide})}},{key:"_getActiveItem",value:function(){var e=this._getAvailableItems(),t=e.filter(".".concat("dx-state-focused")),n=e.filter(".".concat("dx-state-hover"));return n.closest(".".concat("dx-menu-items-container")).find(".".concat("dx-menu-item")).index(t)>=0?t:n.length?n:k(I(C.prototype),"_getActiveItem",this).call(this)}},{key:"_moveFocus",value:function(e){var t,n=this._getItemsByLocation(e),r=this._getActiveItem(!0),o=this.itemsContainer().find(".".concat("dx-state-hover")),s=!(!(0,i.default)(this.option("focusedElement")).length&&!o.length);switch(e){case"up":t=s?this._prevItem(n):r,r.is(n.first())&&this._actions.onLeftFirstItem(r);break;case"down":t=s?this._nextItem(n):r,r.is(n.last())&&this._actions.onLeftLastItem(r);break;case"right":t=this.option("rtlEnabled")?this._hideSubmenuHandler():this._expandSubmenuHandler(n,e);break;case"left":t=this.option("rtlEnabled")?this._expandSubmenuHandler(n,e):this._hideSubmenuHandler();break;case"first":t=n.first();break;case"last":t=n.last();break;default:return k(I(C.prototype),"_moveFocus",this).call(this,e)}0!==t.length&&this.option("focusedElement",(0,u.getPublicElement)(t))}},{key:"_getItemsByLocation",value:function(e){var t,n=this._getActiveItem(!0);return(0,h.inArray)(e,M)>=0&&(t=n.closest(".".concat("dx-menu-items-container")).children().children()),this._getAvailableItems(t)}},{key:"_getAriaTarget",value:function(){return this.$element()}},{key:"_refreshActiveDescendant",value:function(){if((0,c.isDefined)(this._overlay)){var e=this._overlay.$content();k(I(C.prototype),"_refreshActiveDescendant",this).call(this,e)}}},{key:"_hideSubmenuHandler",value:function(){var e=this._getActiveItem(!0),t=e.parents(".".concat("dx-menu-item-expanded")).first();return t.length?(this._hideSubmenusOnSameLevel(t),this._hideSubmenu(e.closest(".".concat("dx-submenu"))),t):(this._actions.onCloseRootSubmenu(e),e)}},{key:"_expandSubmenuHandler",value:function(e,t){var n=this._getActiveItem(!0),i=this._getItemData(n),r=this._dataAdapter.getNodeByItem(i),o=this._hasSubmenu(r),s=n.children(".".concat("dx-submenu"));
1return o&&!n.hasClass("dx-state-disabled")?(s.length&&"hidden"!==s.css("visibility")||this._showSubmenu(n),this._nextItem(this._getItemsByLocation(t))):(this._actions.onExpandLastSubmenu(n),n)}},{key:"_clean",value:function(){this._overlay&&(this._overlay.$element().remove(),this._overlay=null),this._detachShowContextMenuEvents(this._getTarget()),k(I(C.prototype),"_clean",this).call(this)}},{key:"_initMarkup",value:function(){this.$element().addClass("dx-has-context-menu"),k(I(C.prototype),"_initMarkup",this).call(this)}},{key:"_render",value:function(){k(I(C.prototype),"_render",this).call(this),this._renderVisibility(this.option("visible")),this._addWidgetClass()}},{key:"_renderContentImpl",value:function(){this._detachShowContextMenuEvents(this._getTarget()),this._attachShowContextMenuEvents()}},{key:"_attachKeyboardEvents",value:function(){!this._keyboardProcessor&&this._focusTarget().length&&k(I(C.prototype),"_attachKeyboardEvents",this).call(this)}},{key:"_renderContextMenuOverlay",value:function(){if(!this._overlay){var e=this._getOverlayOptions();this._overlay=this._createComponent((0,i.default)("<div>").appendTo(this._$element),v.default,e);var t=this._overlay.$content();t.addClass("dx-context-menu"),this._addCustomCssClass(t),this._addPlatformDependentClass(t),this._attachContextMenuEvent()}}},{key:"_itemContextMenuHandler",value:function(e){k(I(C.prototype),"_itemContextMenuHandler",this).call(this,e),e.stopPropagation()}},{key:"_addPlatformDependentClass",value:function(e){_.default.current().phone&&e.addClass("dx-menu-phone-overlay")}},{key:"_detachShowContextMenuEvents",value:function(e){var t=this.getShowEvent(this.option("showEvent"));if(t){var n=(0,b.addNamespace)(t,this.NAME);this._showContextMenuEventHandler?o.default.off(r.default.getDocument(),n,e,this._showContextMenuEventHandler):o.default.off((0,i.default)(e),n)}}},{key:"_attachShowContextMenuEvents",value:function(){var e=this,t=this._getTarget(),n=this.getShowEvent(this.option("showEvent"));if(n){var s=(0,b.addNamespace)(n,this.NAME),a=this._createAction((function(t){var n=e.getShowDelay(e.option("showEvent"));n?setTimeout((function(){return e._show(t.event)}),n):e._show(t.event)}),{validatingTargetName:"target"}),l=function(e){return a({event:e,target:(0,i.default)(e.currentTarget)})};a=this._createAction(a),(0,c.isRenderer)(t)||t.nodeType||(0,c.isWindow)(t)?(this._showContextMenuEventHandler=void 0,o.default.on(t,s,l)):(this._showContextMenuEventHandler=l,o.default.on(r.default.getDocument(),s,t,this._showContextMenuEventHandler))}}},{key:"_hoverEndHandler",value:function(e){k(I(C.prototype),"_hoverEndHandler",this).call(this,e),e.stopPropagation()}},{key:"_renderDimensions",value:function(){}},{key:"_renderContainer",value:function(e,t){var n=t||this._itemContainer();(e=(0,i.default)("<div>")).appendTo(n).addClass("dx-submenu").css("visibility",t?"hidden":"visible");var r=k(I(C.prototype),"_renderContainer",this).call(this,e);return t?r:this.option("width")?r.css("minWidth",this.option("width")):this.option("height")?r.css("minHeight",this.option("height")):r}},{key:"_renderSubmenuItems",value:function(e,t){this._renderItems(this._getChildNodes(e),t),this._actions.onSubmenuCreated({itemElement:(0,u.getPublicElement)(t),itemData:e.internalFields.item,submenuElement:(0,u.getPublicElement)(t.children(".".concat("dx-submenu")))})}},{key:"_getOverlayOptions",value:function(){var e=this.option("position");return{focusStateEnabled:this.option("focusStateEnabled"),animation:this.option("animation"),innerOverlay:!0,closeOnOutsideClick:this._closeOnOutsideClickHandler.bind(this),propagateOutsideClick:!0,closeOnTargetScroll:!0,deferRendering:!1,position:{at:e.at,my:e.my,of:this._getTarget(),collision:"flipfit"},shading:!1,showTitle:!1,height:"auto",width:"auto",onShown:this._overlayShownActionHandler.bind(this),onHiding:this._overlayHidingActionHandler.bind(this),onHidden:this._overlayHiddenActionHandler.bind(this)}}},{key:"_overlayShownActionHandler",value:function(e){this._actions.onShown(e)}},{key:"_overlayHidingActionHandler",value:function(e){this._actions.onHiding(e),e.cancel||(this._hideAllShownSubmenus(),this._setOptionSilent("visible",!1))}},{key:"_overlayHiddenActionHandler",value:function(e){this._actions.onHidden(e)}},{key:"_closeOnOutsideClickHandler",value:function(e){var t=this.option("closeOnOutsideClick");if((0,c.isFunction)(t))return t(e);if(!t)return!1;if(r.default.isDocument(e.target))return!0;var n=this._getActiveItemsContainer(e.target),i=this._getItemsContainers(),o=this._searchActiveItem(e.target),s=this.$element().parents(".".concat("dx-menu-item")),a=o[0]===s[0]&&o.length&&s.length;return!(this._isIncludeOverlay(n,i)&&o.length)&&!a||("onClick"===this._getShowSubmenuMode()&&this._hideAllShownChildSubmenus(o),!1)}},{key:"_getActiveItemsContainer",value:function(e){return(0,i.default)(e).closest(".".concat("dx-menu-items-container"))}},{key:"_getItemsContainers",value:function(){return this._overlay._$content.find(".".concat("dx-menu-items-container"))}},{key:"_searchActiveItem",value:function(e){return(0,i.default)(e).closest(".".concat("dx-menu-item")).eq(0)}},{key:"_isIncludeOverlay",value:function(e,t){var n=!1;return(0,d.each)(t,(function(t,i){e.is(i)&&!n&&(n=!0)})),n}},{key:"_hideAllShownChildSubmenus",value:function(e){var t=this,n=e.find(".".concat("dx-submenu")),i=(0,p.extend)([],this._shownSubmenus);n.length>0&&(0,d.each)(i,(function(n,i){var r=t._searchActiveItem(i.context).parent();r.parent().is(e.parent().parent())&&!r.is(e.parent())&&t._hideSubmenu(i)}))}},{key:"_showSubmenu",value:function(e){var t=this._dataAdapter.getNodeByItem(this._getItemData(e));if(this._hideSubmenusOnSameLevel(e),this._hasSubmenu(t)){var n=e.children(".".concat("dx-submenu")),i=n.length;k(I(C.prototype),"_showSubmenu",this).call(this,e),i||this._renderSubmenuItems(t,e),this._isSubmenuVisible(n)||this._drawSubmenu(e)}}},{key:"_hideSubmenusOnSameLevel",value:function(e){var t=e.parent(".".concat("dx-menu-item-wrapper")).siblings().find(".".concat("dx-menu-item-expanded"));t.length&&(t.removeClass("dx-menu-item-expanded"),this._hideSubmenu(t.find(".".concat("dx-submenu"))))}},{key:"_hideSubmenuGroup",value:function(e){this._isSubmenuVisible(e)&&this._hideSubmenuCore(e)}},{key:"_isSubmenuVisible",value:function(e){return"visible"===e.css("visibility")}},{key:"_drawSubmenu",value:function(e){var t=this.option("animation")?this.option("animation").show:{},n=e.children(".".concat("dx-submenu")),i=this._getSubmenuPosition(e);this._overlay&&this._overlay.option("visible")&&((0,c.isDefined)(this._shownSubmenus)||(this._shownSubmenus=[]),(0,h.inArray)(n,this._shownSubmenus)&&this._shownSubmenus.push(n),t&&m.default.stop(n),(0,g.setup)(n,i),t&&((0,c.isPlainObject)(t.to)&&(t.to.position=i),this._animate(n,t)),n.css("visibility","visible"))}},{key:"_animate",value:function(e,t){m.default.animate(e,t)}},{key:"_getSubmenuPosition",value:function(e){var t=this.option("submenuDirection").toLowerCase(),n={collision:"flip",of:e.parent(".".concat("dx-menu-item-wrapper")),offset:{h:0,v:-1}};switch(t){case"left":n.at="left top",n.my="right top";break;case"right":n.at="right top",n.my="left top";break;default:this.option("rtlEnabled")?(n.at="left top",n.my="right top"):(n.at="right top",n.my="left top")}return n}},{key:"_updateSubmenuVisibilityOnClick",value:function(e){if(e.args.length){var t=e.args[0].itemData,n=this._dataAdapter.getNodeByItem(t);if(n){var r=(0,i.default)(e.args[0].itemElement),o=r.find(".".concat("dx-submenu"));if(this._hasSubmenu(n)&&!o.length&&(this._renderSubmenuItems(n,r),o=r.find(".".concat("dx-submenu"))),(r.context!==o.context||"visible"!==o.css("visibility"))&&t&&!t.disabled&&(!t||!1!==t.closeMenuOnClick))if(this._updateSelectedItemOnClick(e),0===o.length){var s=(0,i.default)(r.parents(".".concat("dx-submenu"))[0]);this._hideSubmenu(s),!e.canceled&&this._overlay&&this._overlay.option("visible")&&this.option("visible",!1)}else this._shownSubmenus&&this._shownSubmenus.length>0&&this._shownSubmenus[0].is(o)&&this._hideSubmenu(o),this._showSubmenu(r)}}}},{key:"_hideSubmenu",value:function(e){var t=this,n=(0,p.extend)([],this._shownSubmenus);(0,d.each)(n,(function(n,i){(e.is(i)||(0,u.contains)(e[0],i[0]))&&(i.parent().removeClass("dx-menu-item-expanded"),t._hideSubmenuCore(i))}))}},{key:"_hideSubmenuCore",value:function(e){var t=(0,h.inArray)(e,this._shownSubmenus),n=this.option("animation")?this.option("animation").hide:null;t>=0&&this._shownSubmenus.splice(t,1),this._stopAnimate(e),n&&this._animate(e,n),e.css("visibility","hidden")}},{key:"_stopAnimate",value:function(e){m.default.stop(e,!0)}},{key:"_hideAllShownSubmenus",value:function(){var e=this,t=(0,p.extend)([],this._shownSubmenus);this._overlay.$content().find(".".concat("dx-menu-item-expanded")).removeClass("dx-menu-item-expanded"),(0,d.each)(t,(function(t,n){e._hideSubmenu(n)}))}},{key:"_visibilityChanged",value:function(e){e&&this._renderContentImpl()}},{key:"_optionChanged",value:function(e){if((0,h.inArray)(e.name,D)>-1)this._initActions();else switch(e.name){case"visible":this._renderVisibility(e.value);break;case"showEvent":case"position":case"submenuDirection":this._invalidate();break;
1case"target":e.previousValue&&this._detachShowContextMenuEvents(e.previousValue),this._invalidate();break;case"closeOnOutsideClick":break;default:k(I(C.prototype),"_optionChanged",this).call(this,e)}}},{key:"_renderVisibility",value:function(e){return e?this._show():this._hide()}},{key:"_toggleVisibility",value:function(){}},{key:"_show",value:function(e){var t={jQEvent:e},n=(new w.Deferred).reject().promise();if(this._actions.onShowing(t),t.cancel)return n;var i=this._positionContextMenu(e);return i&&(this._overlay||(this._renderContextMenuOverlay(),this._overlay.$content().addClass(this._widgetClass()),this._renderFocusState(),this._attachHoverEvents(),this._attachClickEvent(),this._renderItems(this._dataAdapter.getRootNodes())),this._setOptionSilent("visible",!0),this._overlay.option("position",i),n=this._overlay.show(),e&&e.stopPropagation(),this._setAriaAttributes()),n}},{key:"_setAriaAttributes",value:function(){this._overlayContentId="dx-".concat(new s.default),this.setAria("owns",this._overlayContentId),this.setAria({id:this._overlayContentId,role:"menu"},this._overlay.$content())}},{key:"_cleanAriaAttributes",value:function(){this._overlay&&this.setAria("id",null,this._overlay.$content()),this.setAria("owns",void 0)}},{key:"_getTarget",value:function(){return this.option("target")||this.option("position").of||(0,i.default)(r.default.getDocument())}},{key:"_getContextMenuPosition",value:function(){return(0,p.extend)({},this.option("position"),{of:this._getTarget()})}},{key:"_positionContextMenu",value:function(e){var t=this._getContextMenuPosition(),n=this._isInitialOptionValue("position"),i=this._createActionByOption("onPositioning",r);e&&e.preventDefault&&n&&(t.of=e);var r={position:t,event:e};return i(r),r.cancel?t=null:r.event&&(r.event.cancel=!0,e.preventDefault()),t}},{key:"_refresh",value:function(){if((0,f.hasWindow)())if(this._overlay){var e=this._overlay.option("position");k(I(C.prototype),"_refresh",this).call(this),this._overlay&&this._overlay.option("position",e)}else k(I(C.prototype),"_refresh",this).call(this);else k(I(C.prototype),"_refresh",this).call(this)}},{key:"_hide",value:function(){var e;return this._overlay&&(e=this._overlay.hide(),this._setOptionSilent("visible",!1)),this._cleanAriaAttributes(),this.option("focusedElement",null),e||(new w.Deferred).reject().promise()}},{key:"toggle",value:function(e){var t=this.option("visible");return this._renderVisibility(e=void 0===e?!t:e)}},{key:"show",value:function(){return this.toggle(!0)}},{key:"hide",value:function(){return this.toggle(!1)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(C.prototype,t),C}(y.default);(0,a.default)("dxContextMenu",O),e.exports=O},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0}
1,meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},DLVy:function(e,t,n){"use strict";var i=n("cYys"),r=n("ti0F").isFunction,o=n("zl3R").each,s=n("5qrJ");e.exports=s.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=this._events[e];n||(n=i(),this._events[e]=n),(n.originalAdd||n.add).call(n,t)},off:function(e,t){var n=this._events[e];n&&(r(t)?n.remove(t):n.empty())},dispose:function(){o(this._events,(function(){this.empty()}))}})},Dkky:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},Dwac:function(e,t,n){"use strict";var i,r=w(n("FKN7")),o=n("cGv3"),s=w(n("jeLr")),a=n("KAnu"),l=w(n("m6TM")),c=n("ti0F"),u=n("zl3R"),d=n("1LL4"),h=n("TssP"),p=n("XgSC"),f=n("yxXJ"),m=n("8S5z"),g=w(n("HZnW")),_=w(n("ZA3g")),b=w(n("fGF2")),v=w(n("imRD")),y=w(n("uHaw"));
1function w(e){return e&&e.__esModule?e:{default:e}}e.exports={defaultOptions:function(){return{hoverStateEnabled:!1,scrolling:{useNative:"auto"},loadPanel:{enabled:"auto",text:v.default.format("Loading"),width:200,height:90,showIndicator:!0,indicatorSrc:"",showPane:!0},rowTemplate:null,columnAutoWidth:!1,noDataText:v.default.format("dxDataGrid-noDataText"),wordWrapEnabled:!1,showColumnLines:!0,showRowLines:!1,rowAlternationEnabled:!1,activeStateEnabled:!1,twoWayBindingEnabled:!0}},views:{rowsView:g.default.ColumnsView.inherit((i=function(e,t){var n=(0,h.isEmpty)(t.text)&&"data"===t.rowType,i=t.text,r=e.get(0);n?(0,m.setEmptyText)(e):t.column.encodeHtml?r.textContent=i:r.innerHTML=i},{_getDefaultTemplate:function(e){switch(e.command){case"empty":return function(e){e.html("&nbsp;")};default:return i}},_getDefaultGroupTemplate:function(e){var t=this.option("summary.texts");return function(n,i){var r=i.data,o=i.column.caption+": "+i.text,s=n.get(0);i.summaryItems&&i.summaryItems.length&&(o+=" "+(0,m.getGroupRowSummaryText)(i.summaryItems,t)),r&&(i.groupContinuedMessage&&i.groupContinuesMessage?o+=" ("+i.groupContinuedMessage+". "+i.groupContinuesMessage+")":i.groupContinuesMessage?o+=" ("+i.groupContinuesMessage+")":i.groupContinuedMessage&&(o+=" ("+i.groupContinuedMessage+")")),n.addClass("dx-group-cell"),e.encodeHtml?s.textContent=o:s.innerHTML=o}},_update:function(){},_getCellTemplate:function(e){var t=e.column;return"group"!==e.rowType||!(0,c.isDefined)(t.groupIndex)||t.showWhenGrouped||t.command?("data"===e.rowType||t.command)&&t.cellTemplate?t.cellTemplate:{allowRenderToDetachedContainer:!0,render:this._getDefaultTemplate(t)}:t.groupCellTemplate||{allowRenderToDetachedContainer:!0,render:this._getDefaultGroupTemplate(t)}},_createRow:function(e){var t=this.callBase(e);if(e){var n="group"===e.rowType,i="data"===e.rowType;if(i&&t.addClass("dx-data-row"),i&&this.option("showRowLines")&&t.addClass("dx-row-lines"),this.option("showColumnLines")&&t.addClass("dx-column-lines"),!1===e.visible&&t.hide(),n){t.addClass("dx-group-row");var r=e.isExpanded;this.setAria("role","row",t),this.setAria("expanded",(0,c.isDefined)(r)&&r.toString(),t)}}return t},_rowPrepared:function(e,t,n){var i=this;"data"===t.rowType&&(this.option("rowAlternationEnabled")&&(this._isAltRow(n)&&e.addClass("dx-row-alt"),t.watch&&t.watch((function(){return i._isAltRow(n)}),(function(t){e.toggleClass("dx-row-alt",t)}))),this._setAriaRowIndex(t,e),t.watch&&t.watch((function(){return t.rowIndex}),(function(){return i._setAriaRowIndex(t,e)}))),this.callBase.apply(this,arguments)},_setAriaRowIndex:function(e,t){var n=this.component,i="standard"===n.option("scrolling.mode")&&"virtual"!==n.option("scrolling.rowRenderingMode"),r=e.rowIndex+1;i?r=n.pageIndex()*n.pageSize()+r:r+=this._dataController.getRowIndexOffset(),this.setAria("rowindex",r,t)},_afterRowPrepared:function(e){var t=this,n=e.args[0],i=this._dataController,r=i.getVisibleRows()[n.rowIndex],o=this.option("integrationOptions.watchMethod");if(n.data&&"data"===n.rowType&&!n.isNewRow&&this.option("twoWayBindingEnabled")&&o&&r){var a=o((function(){return i.generateDataValues(n.data,n.columns)}),(function(){i.repaintRows([r.rowIndex],t.option("repaintChangesOnly"))}),{deep:!0,skipImmediate:!0});s.default.on(n.rowElement,b.default,a)}},_renderScrollable:function(e){var t=this.element();if(t.children().length||t.append("<div>"),!e&&this._loadPanel||this._renderLoadPanel(t,t.parent(),this._dataController.isLocalStore()),(e||!this.getScrollable())&&this._dataController.isLoaded()){for(var n=this.getColumns(),i=!0,r=0;r<n.length;r++)if(!n[r].width&&!n[r].minWidth){i=!1;break}(this.option("columnAutoWidth")||this._hasHeight||i||this._columnsController._isColumnFixing())&&this._renderScrollableCore(t)}},_handleScroll:function(e){this._isScrollByEvent=!!e.event,this._scrollTop=e.scrollOffset.top,this._scrollLeft=e.scrollOffset.left,this.scrollChanged.fire(e.scrollOffset,this.name)},_renderScrollableCore:function(e){var t=this._createScrollableOptions(),n=this._handleScroll.bind(this);t.onScroll=n,t.onStop=n,this._scrollable=this._createComponent(e,_.default,t),this._scrollableContainer=this._scrollable&&this._scrollable._$container},_renderLoadPanel:m.renderLoadPanel,_renderContent:function(e,t){return e.empty().append(t),this._findContentElement()},_updateContent:function(e,t){var n=this,i=n._getTableElement(),r=n._findContentElement(),o=t&&t.changeType,s=[],a=this.option("highlightChanges"),l=this.addWidgetPrefix("row-inserted-animation");
1switch(o){case"update":(0,u.each)(t.rowIndices,(function(r,o){var u=n._getRowElements(e).eq(r),d=t.changeTypes&&t.changeTypes[r],h=t.items&&t.items[r];s.push((function(){var e=n._getRowElements(),s=e.eq(o);switch(d){case"update":if(h){var p=t.columnIndices&&t.columnIndices[r];(0,c.isDefined)(h.visible)&&h.visible!==s.is(":visible")?s.toggle(h.visible):p?n._updateCells(s,u,p):s.replaceWith(u)}break;case"insert":e.length?s.length?u.insertBefore(s):u.insertAfter(e.last()):u.prependTo(i.children("tbody")),a&&t.isLiveUpdate&&u.addClass(l);break;case"remove":s.remove()}}))})),(0,u.each)(s,(function(){this()})),e.remove();break;default:n._setTableElement(e),r.addClass(n.addWidgetPrefix("content")),n._renderContent(r,e)}},_createEmptyRow:function(e,t,n){var i,r=this._createRow(),o=t?this.getFixedColumns():this.getColumns();r.addClass(e).toggleClass("dx-column-lines",this.option("showColumnLines"));for(var s=0;s<o.length;s++)i=this._createCell({column:o[s],rowType:"freeSpace",columnIndex:s,columns:o}),(0,c.isNumeric)(n)&&i.css("height",n),r.append(i);return this.setAria("role","presentation",r),r},_appendEmptyRow:function(e,t,n){var i=this._getBodies(e),r=!i.length||t.is("tbody"),o=r?e:i;if("top"===n){if(o.first().prepend(t),r){var s=o.children("colgroup");o.prepend(s)}}else o.last().append(t)},_renderFreeSpaceRow:function(e){var t=this._createEmptyRow("dx-freespace-row");t=this._wrapRowIfNeed(e,t),this._appendEmptyRow(e,t)},_checkRowKeys:function(e){var t=this,n=t._getRows(e),i=t._dataController.store()&&t._dataController.store().key();i&&n.some((function(e){if("data"===e.rowType&&void 0===e.key)return t._dataController.fireError("E1046",i),!0}))},_needUpdateRowHeight:function(e){return e>0&&!this._rowHeight},_getRowsHeight:function(e){return e.children("tbody").children().not(".dx-virtual-row").not(".dx-freespace-row").toArray().reduce((function(e,t){return e+t.getBoundingClientRect().height}),0)},_updateRowHeight:function(){var e=this._getTableElement(),t=this._dataController.items().length;if(e&&this._needUpdateRowHeight(t)){var n=this._getRowsHeight(e);this._rowHeight=n/t}},_findContentElement:function(){var e=this.element(),t=this.getScrollable();if(e)return t&&(e=t.$content()),e.children().first()},_getRowElements:function(e){var t=this.callBase(e);return t&&t.not(".dx-freespace-row")},_getFreeSpaceRowElements:function(e){var t=e||this.getTableElements();return t&&t.children("tbody").children(".dx-freespace-row")},_getNoDataText:function(){return this.option("noDataText")},_rowClick:function(e){var t=this._dataController.items()[e.rowIndex]||{};this.executeAction("onRowClick",(0,d.extend)({evaluate:function(e){return(0,f.compileGetter)(e)(t.data)}},e,t))},_rowDblClick:function(e){var t=this._dataController.items()[e.rowIndex]||{};this.executeAction("onRowDblClick",(0,d.extend)({},e,t))},_getColumnsCountBeforeGroups:function(e){for(var t=0;t<e.length;t++)if("groupExpand"===e[t].type)return t;return 0},_getGroupCellOptions:function(e){var t=this._getColumnsCountBeforeGroups(e.columns),n=(e.row.groupIndex||0)+t;return{columnIndex:n,colspan:e.columns.length-n-1}},_renderCells:function(e,t){"group"===t.row.rowType?this._renderGroupedCells(e,t):t.row.values&&this.callBase(e,t)},_renderGroupedCells:function(e,t){for(var n,i,r=t.row,o=t.columns,s=r.rowIndex,a=this._getGroupCellOptions(t),l=0;l<=a.columnIndex;l++)l===a.columnIndex&&o[l].allowCollapsing&&"infinite"!==t.scrollingMode?(i=!!r.isExpanded,n=o[l]):(i=null,n={command:"expand",cssClass:o[l].cssClass}),this._renderCell(e,{value:i,row:r,rowIndex:s,column:n,columnIndex:l});var c=(0,p.getDefaultAlignment)(this.option("rtlEnabled")),u=(0,d.extend)({},o[a.columnIndex],{command:null,cssClass:null,width:null,showWhenGrouped:!1,alignment:c});a.colspan>1&&(u.colspan=a.colspan),this._renderCell(e,{value:r.values[r.groupIndex],row:r,rowIndex:s,column:u,columnIndex:a.columnIndex})},_renderRows:function(e,t){var n=this.option("scrolling.mode");this.callBase(e,(0,d.extend)({scrollingMode:n},t)),this._checkRowKeys(t.change),this._renderFreeSpaceRow(e),this._hasHeight||this.updateFreeSpaceRowHeight(e)},_renderRow:function(e,t){var n=this,i=t.row,r=n.option("rowTemplate"),o="data"===i.rowType;if(!o&&"group"!==i.rowType||(0,c.isDefined)(i.groupIndex)||!r)n.callBase(e,t);else{var s=(0,d.extend)({columns:t.columns},i);if(n.renderTemplate(e,r,s,!0),n.option("repaintChangesOnly")&&o){n._addWatchMethod(s,i);var a=s.watch((function(e){return(0,d.extend)(!0,{},e)}),(function(){a(),n._dataController.repaintRows([i.rowIndex])}))}}},_renderTable:function(e){var t=this,n=t.callBase(e);return(0,c.isDefined)(t._getTableElement())?t._renderScrollable():(t._setTableElement(n),t._renderScrollable(!0),t.resizeCompleted.add((function e(){var n=t.getScrollable();n&&t.element().closest((0,o.getWindow)().document).length&&(t.resizeCompleted.remove(e),n._visibilityChanged(!0))}))),n},_createTable:function(){var e=this.callBase.apply(this,arguments);return this.option("rowTemplate")&&e.appendTo(this.component.$element()),e}
1,_renderCore:function(e){var t=this.element();t.addClass(this.addWidgetPrefix("rowsview")).toggleClass(this.addWidgetPrefix("nowrap"),!this.option("wordWrapEnabled")),t.toggleClass("dx-empty",0===this._dataController.items().length),this.setAria("role","presentation",t);var n=this._renderTable({change:e});this._updateContent(n,e),this.callBase(e),this._lastColumnWidths=null},_getRows:function(e){return e&&e.items||this._dataController.items()},_getCellOptions:function(e){var t=e.column,n=e.row,i=n.data,r=n&&n.summaryCells,o=e.value,s=(0,m.getDisplayValue)(t,o,i,n.rowType),a=this.callBase(e);if(a.value=o,a.oldValue=e.oldValue,a.displayValue=s,a.row=n,a.key=n.key,a.data=i,a.rowType=n.rowType,a.values=n.values,a.text=t.command?"":(0,m.formatValue)(s,t),a.rowIndex=n.rowIndex,a.summaryItems=r&&r[e.columnIndex],a.resized=t.resizedCallbacks,(0,c.isDefined)(t.groupIndex)&&!t.command){var l=this.option("grouping.texts"),u=this.option("scrolling.mode");"virtual"!==u&&"infinite"!==u&&(a.groupContinuesMessage=i&&i.isContinuationOnNextPage&&l&&l.groupContinuesMessage,a.groupContinuedMessage=i&&i.isContinuation&&l&&l.groupContinuedMessage)}return a},_setRowsOpacityCore:function(e,t,n,i){var o=this._columnsController,s=o.getColumns(),a=s&&s[n],l=a&&a.isBand&&a.index;(0,u.each)(e,(function(s,a){if(!(0,r.default)(a).hasClass("dx-group-row"))for(var u=0;u<t.length&&(!((0,c.isNumeric)(l)&&o.isParentBandColumn(t[u].index,l)||t[u].index===n)||(e.eq(s).children().eq(u).css({opacity:i}),(0,c.isNumeric)(l)));u++);}))},_getDevicePixelRatio:function(){return(0,o.getWindow)().devicePixelRatio},renderNoDataText:m.renderNoDataText,getCellOptions:function(e,t){var n,i,r=this._dataController.items()[e];return r&&(i=(0,c.isString)(t)?this._columnsController.columnOption(t):this._columnsController.getVisibleColumns()[t])&&(n=this._getCellOptions({value:i.calculateCellValue(r.data),rowIndex:r.rowIndex,row:r,column:i})),n},getRow:function(e){if(e>=0){var t=this._getRowElements();if(t.length>e)return(0,r.default)(t[e])}},updateFreeSpaceRowHeight:function(e){var t=this,n=this._dataController,i=n.items(!0).length,r=this._findContentElement(),o=this._getFreeSpaceRowElements(e);if(o&&r&&n.totalCount()>=0){var s=!1;if(i>0)if(this._hasHeight)o.hide(),(0,a.deferUpdate)((function(){var n=t.getScrollbarWidth(!0),i=t.element().height()-n,l=i-r.outerHeight()>0,c=t._getRowsHeight(r.children().first()),u=e||t.getTableElements(),d=i-c-Math.ceil(parseFloat(u.css("borderTopWidth")))-t._getHeightCorrection();l&&(0,a.deferRender)((function(){o.css("height",d),s=!0,o.show()})),(0,a.deferRender)((function(){return t._updateLastRowBorder(s)}))}));else{var c=n.pageSize()-i,u=this.option("scrolling.mode");c>0&&n.pageCount()>1&&"virtual"!==u&&"infinite"!==u&&(l.default.setHeight(o,c*this._rowHeight),s=!0),!s&&e?l.default.setHeight(o,0):o.toggle(s),this._updateLastRowBorder(s)}else o.css("height",0),o.show(),this._updateLastRowBorder(!0)}},_getHeightCorrection:function(){var e=y.default.webkit&&this._getDevicePixelRatio()>=2,t=y.default.mozilla&&y.default.version>=70&&!this.option("showRowLines");return e||t?1:0},_columnOptionChanged:function(e){var t=e.optionNames;e.changeTypes.grouping||(t.width||t.visibleWidth)&&(this.callBase(e),this._fireColumnResizedCallbacks())},getScrollable:function(){return this._scrollable},init:function(){var e=this,t=e.getController("data");e.callBase(),e._editorFactoryController=e.getController("editorFactory"),e._rowHeight=0,e._scrollTop=0,e._scrollLeft=-1,e._hasHeight=!1,t.loadingChanged.add((function(t,n){e.setLoading(t,n)})),t.dataSourceChanged.add((function(){e._scrollLeft>=0&&e._handleScroll({scrollOffset:{top:e._scrollTop,left:e._scrollLeft}})}))},_handleDataChanged:function(e){switch(e.changeType){case"refresh":case"prepend":case"append":case"update":this.render(null,e);break;default:this._update(e)}},publicMethods:function(){return["isScrollbarVisible","getTopVisibleRowData","getScrollbarWidth","getCellElement","getRowElement","getScrollable"]},contentWidth:function(){return this.element().width()-this.getScrollbarWidth()},getScrollbarWidth:function(e){var t,n=this._scrollableContainer&&this._scrollableContainer.get(0),i=0;return n&&(e?(i=n.clientHeight?n.offsetHeight-n.clientHeight:0,i+=(t=this.getScrollable())?Math.ceil(parseFloat(t.$content().css("paddingBottom"))):0):i=n.clientWidth?n.offsetWidth-n.clientWidth:0),i>0?i:0},_fireColumnResizedCallbacks:function(){for(var e=this._lastColumnWidths||[],t=[],n=this.getColumns(),i=0;i<n.length;i++)t[i]=n[i].visibleWidth,n[i].resizedCallbacks&&!(0,c.isDefined)(n[i].groupIndex)&&e[i]!==t[i]&&n[i].resizedCallbacks.fire(t[i]);this._lastColumnWidths=t},_updateLastRowBorder:function(e){this.option("showBorders")&&this.option("showRowLines")&&!e?this.element
1().addClass("dx-last-row-border"):this.element().removeClass("dx-last-row-border")},_updateScrollable:function(){var e=_.default.getInstance(this.element());e&&(e.update(),this._updateHorizontalScrollPosition())},_updateHorizontalScrollPosition:function(){var e=this.getScrollable(),t=e&&e.scrollOffset().left;this._scrollLeft>=0&&t!==this._scrollLeft&&e.scrollTo({x:this._scrollLeft})},_resizeCore:function(){var e=this;e._fireColumnResizedCallbacks(),e._updateRowHeight(),(0,a.deferRender)((function(){e._renderScrollable(),e.renderNoDataText(),e.updateFreeSpaceRowHeight(),(0,a.deferUpdate)((function(){e._updateScrollable()}))}))},scrollTo:function(e){var t=this.element(),n=t&&_.default.getInstance(t);n&&n.scrollTo(e)},height:function(e,t){var n=this,i=this.element();if(0===arguments.length)return i?i.outerHeight(!0):0;n._hasHeight=void 0===t?"auto"!==e:t,(0,c.isDefined)(e)&&i&&l.default.setHeight(i,e)},setLoading:function(e,t){var n=this._loadPanel,i=this._dataController,r=this.option("loadPanel")||{},s=i.isLoaded()?r.animation:null,a=this.element();if((0,o.hasWindow)()&&(!n&&void 0!==t&&i.isLocalStore()&&"auto"===r.enabled&&a&&(this._renderLoadPanel(a,a.parent()),n=this._loadPanel),n)){var l={message:t||r.text,animation:s,visible:e};clearTimeout(this._hideLoadingTimeoutID),n.option("visible")&&!e?this._hideLoadingTimeoutID=setTimeout((function(){n.option(l)}),200):n.option(l)}},setRowsOpacity:function(e,t){var n=this._getRowElements().not(".dx-group-row")||[];this._setRowsOpacityCore(n,this.getColumns(),e,t)},_getCellElementsCore:function(e){var t=this.callBase(e);if(t){var n=t.filter(".dx-group-cell").index();if(n>=0&&t.length>n+1)return t.slice(0,n+1)}return t},getTopVisibleItemIndex:function(e){var t=0,n=0,i=0,r=this._scrollTop,o=this._findContentElement(),s=o&&o.offset().top,a=this._dataController.items(),l=this._getTableElement();if(a.length&&l){var c=this._getRowElements(l).filter(":visible");for(t=0;t<a.length;t++){n=i;var u=c.eq(t);if(u.length&&(i=u.offset().top-s)>r){t&&(e||2*r<Math.round(i+n))&&t--;break}}t&&t===a.length&&t--}return t},getTopVisibleRowData:function(){var e=this.getTopVisibleItemIndex(),t=this._dataController.items();if(t[e])return t[e].data},_scrollToElement:function(e,t){var n=this.getScrollable();n&&n.scrollToElement(e,t)},optionChanged:function(e){switch(this.callBase(e),e.name){case"wordWrapEnabled":case"showColumnLines":case"showRowLines":case"rowAlternationEnabled":case"rowTemplate":case"twoWayBindingEnabled":this._invalidate(!0,!0),e.handled=!0;break;case"scrolling":this._rowHeight=null,this._tableElement=null,e.handled=!0;break;case"rtlEnabled":this._rowHeight=null,this._tableElement=null;break;case"loadPanel":this._tableElement=null,this._invalidate(!0,"loadPanel.enabled"!==e.fullName),e.handled=!0;break;case"noDataText":this.renderNoDataText(),e.handled=!0}},dispose:function(){clearTimeout(this._hideLoadingTimeoutID),this._scrollable&&this._scrollable.dispose()},setScrollerSpacing:function(){}}))}}},DxQv:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%
1d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},E4RJ:function(e,t,n){"use strict";var i=c(n("FKN7")),r=n("v4HY"),o=n("KAnu"),s=n("zl3R"),a=c(n("GYHJ")),l=c(n("zrYi"));
1function c(e){return e&&e.__esModule?e:{default:e}}var u={columnHeadersView:"header",rowsView:"content",footerView:"footer",headerPanel:"headerPanel"},d=["columnHeadersView","rowsView","footerView","headerPanel"],h=a.default.ViewController.inherit({init:function(){this.createAction("onContextMenuPreparing")},getContextMenuItems:function(e){if(!e)return!1;var t,n,o,a,l=this,c=(0,i.default)(e.target);return(0,s.each)(d,(function(){var i=l.getView(this);if((t=i&&i.element())&&(t.is(c)||t.find(c).length)){o=c.closest(".dx-row > td, .dx-row > tr"),n=o.parent();var s=i.getRowIndex(n),d=o[0]&&o[0].cellIndex,h=n.data("options"),p={event:e,targetElement:(0,r.getPublicElement)(c),target:u[this],rowIndex:s,row:i._getRows()[s],columnIndex:d,column:h&&h.cells[d].column};if(p.items=i.getContextMenuItems&&i.getContextMenuItems(p),l.executeAction("onContextMenuPreparing",p),l._contextMenuPrepared(p),a=p.items)return!1}})),a},_contextMenuPrepared:o.noop}),p=a.default.View.inherit({_renderCore:function(){var e=this,t=e.element().addClass("dx-context-menu");this.setAria("role","presentation",t),this._createComponent(t,l.default,{onPositioning:function(t){var n=t.event,i=t.component,r=e.getController("contextMenu").getContextMenuItems(n);r?(i.option("items",r),n.stopPropagation()):t.cancel=!0},onItemClick:function(e){e.itemData.onItemClick&&e.itemData.onItemClick(e)},cssClass:e.getWidgetContainerClass(),target:e.component.$element()})}});e.exports={defaultOptions:function(){return{onContextMenuPreparing:null}},controllers:{contextMenu:h},views:{contextMenuView:p}}},EJAH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("gU7H")),r=n("JDOJ"),o=s(n("RwLY"));function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(a,e);var t,n,i,s=(n=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(n);if(i){var r=p(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return h(this,e)});function a(){return c(this,a),s.apply(this,arguments)}return(t=[{key:"_getStrategyName",value:function(){return"default"}},{key:"getHandleEventNames",value:function(){return[].concat(function(e){if(Array.isArray(e))return l(e)}(e=u(p(a.prototype),"getHandleEventNames",this).call(this))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["keyPress"]);var e}},{key:"_keyPressHandler",value:function(e){if(!this._keyPressHandled&&(this._keyPressHandled=!0,!this.editor._isControlKeyFired(e))){var t=this.editor;t._maskKeyHandler(e,(function(){return t._handleKey((0,r.getChar)(e))}))}}},{key:"_inputHandler",value:function(e){if(this._backspaceInputHandled(e.originalEvent&&e.originalEvent.inputType)&&this._handleBackspaceInput(e),e.originalEvent&&this._autoFillHandler(e),!this._keyPressHandled){this._keyPressHandled=!0;var t=this.editorInput().val(),n=this.editorCaret();if(n.end){n.start=n.end-1;var i=t.substring(0,n.start)+t.substring(n.end),r=t[n.start],o=this.editor;this.editorInput().val(i),o._caret({start:n.start,end:n.start}),o._maskKeyHandler(e,(function(){return o._handleKey(r)}))}}}},{key:"_backspaceHandler",value:function(e){var t=this,n=this.editor;this._keyPressHandled=!0;var i=function(e,i){e&&(n._direction(t.DIRECTION.FORWARD),n._adjustCaret());
1var r=t.editorCaret();return new o.default((function(e){clearTimeout(t._backspaceHandlerTimeout),t._backspaceHandlerTimeout=setTimeout((function(){i(r),e()}))}))};n._maskKeyHandler(e,(function(){return n._hasSelection()?i(!0,(function(e){n._displayMask(e),n._maskRulesChain.reset()})):n._tryMoveCaretBackward()?i(!1,(function(e){t.editorCaret(e)})):(n._handleKey(" ",t.DIRECTION.BACKWARD),i(!0,(function(e){n._displayMask(e),n._maskRulesChain.reset()})))}))}},{key:"_backspaceInputHandled",value:function(e){return"deleteContentBackward"===e&&!this._keyPressHandled}},{key:"_handleBackspaceInput",value:function(e){var t=this.editorCaret();this.editorCaret({start:t.start+1,end:t.end+1}),this._backspaceHandler(e)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(a.prototype,t),a}(i.default);t.default=f},EOgW:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EP1Q:function(e,t,n){"use strict";var i=n("FKN7"),r=n("XPWh");(0,n("85Zg").register)("delete","static",n("AQWU").inherit({afterBag:function(e){var t=e.$itemElement,n=e.$container,o=i("<div>").addClass("dx-list-static-delete-button");this._list._createComponent(o,r,{icon:"remove",onClick:(function(e){e.event.stopPropagation(),this._deleteItem(t)}).bind(this),integrationOptions:{}}),n.addClass("dx-list-static-delete-button-container").append(o)},_deleteItem:function(e){e.is(".dx-state-disabled, .dx-state-disabled *")||this._list.deleteItem(e)}}))},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}
1));var i=n("HDdC");const r=new i.a(e=>e.complete());function o(e){return e?function(e){return new i.a(t=>e.schedule(()=>t.complete()))}(e):r}},"Ec/t":function(e,t,n){"use strict";var i,r,o=u(n("FKN7")),s=u(n("5qrJ")),a=u(n("BWGd")),l=n("IRs2"),c=n("tJvG");function u(e){return e&&e.__esModule?e:{default:e}}t.createOffsetFilter=function(e,t){for(var n=(0,l.normalizeSortingInfo)(t.group),i=[],r=0;r<e.length;r++){for(var o=[],s=0;s<=r;s++){var c=n[s].selector;if(r!==s||null!==e[s]&&!1!==e[s]&&!0!==e[s]){var u=[c,r===s?n[s].desc?">":"<":"=",e[s]];o.push("<"===u[1]?[u,"or",[c,"=",null]]:u)}else!1===e[s]?o.push([c,"=",!!n[s].desc||null]):(e[s]?!n[s].desc:n[s].desc)?o.push([c,"<>",e[s]]):(o.push([c,"<>",null]),o.push([c,"=",null]))}i.push(a.default.combineFilters(o))}return i=a.default.combineFilters(i,"or"),a.default.combineFilters([i,t.filter])},t.GroupingHelper=s.default.inherit((i=function(e,t){var n=e.hash;return n&&n[JSON.stringify(t)]},r=function(e,t){var n,i=0,r=e.length-1;if(!e.length)return 0;do{var o=r+i>>1;e[o].offset>t?r=o:i=o}while(r-i>1);for(n=i;n<=r&&!(e[n].offset>t);n++);return n},{ctor:function(e){this._dataSource=e,this.reset()},reset:function(){this._groupsInfo=[],this._totalCountCorrection=0},totalCountCorrection:function(){return this._totalCountCorrection},updateTotalItemsCount:function(e){this._totalCountCorrection=e||0},isGroupItemCountable:function(e){return!this._isVirtualPaging()||!e.isContinuation},_isVirtualPaging:function(){var e=this._dataSource.option("scrolling.mode");return"virtual"===e||"infinite"===e},itemsCount:function(){var e=this._dataSource._dataSource,t=a.default.normalizeSortingInfo(e.group()||[]).length;return function e(t,n,i){var r=0;if(n)if(i)for(var o=0;o<n.length;o++)t.isGroupItemCountable(n[o])&&r++,r+=e(t,n[o].items,i-1);else r=n.length;return r}(this,e.items(),t)},foreachGroups:function(e,t,n,i,r){var s=this;return function e(t,a,l,u){var d=[];function h(e,t,n,i){var r=t&&e(t,n);return r&&i.push(r),r}for(var p=0;p<t.length;p++){if(u.push(t[p].data),!l&&!1===h(a,t[p].data,u,d))return!1;if(!t[p].data||t[p].data.isExpanded||n){var f=t[p].children,m=f.length&&e(f,a,l,u);if(m&&d.push(m),!1===m)return!1}if(l&&!1===h(a,t[p].data,u,d))return!1;t[p].data&&t[p].data.offset===t[p].offset||(i=!0),u.pop()}var g=r&&u.slice(0);return i&&c.when.apply(o.default,d).always((function(){s._updateGroupInfoOffsets(t,g)}))}(s._groupsInfo,e,t,[])},_updateGroupInfoOffsets:function(e,t){t=t||[];for(var n=0;n<e.length;n++){var i=e[n];if(i.data&&i.data.offset!==i.offset){i.offset=i.data.offset;for(var r=0;r<t.length;r++)t[r].offset=i.offset}}e.sort((function(e,t){return e.offset-t.offset}))},findGroupInfo:function(e){for(var t,n=this._groupsInfo,r=0;n&&r<e.length;r++)n=(t=i(n,e[r]))&&t.children;return t&&t.data},addGroupInfo:function(e){for(var t,n=e.path,o=this._groupsInfo,s=0;s<n.length;s++){if(!(t=i(o,n[s]))){t={key:n[s],offset:e.offset,data:{offset:e.offset,isExpanded:!0,path:n.slice(0,s+1)},children:[]};var a=r(o,e.offset);o.splice(a,0,t),o.hash=o.hash||{},o.hash[JSON.stringify(t.key)]=t}s===n.length-1&&(t.data=e,t.offset!==e.offset&&this._updateGroupInfoOffsets(o)),o=t.children}},allowCollapseAll:function(){return!0},refresh:function(e){var t=e.storeLoadOptions,n=(0,l.normalizeSortingInfo)(t.group||[]),i="_group"in this?(0,l.normalizeSortingInfo)(this._group||[]):n,r=Math.min(i.length,n.length);this._group=t.group;for(var o=0;o<r;o++)if(i[o].selector!==n[o].selector){r=o;break}r?function e(t,n,i){for(var r=0;r<t.length;r++)n+1>=i?t[r].children=[]:e(t[r].children,n+1,i)}(this._groupsInfo,0,r):this.reset()},handleDataLoading:function(){},handleDataLoaded:function(e,t){t(e)},handleDataLoadedCore:function(e,t){t(e)}}))},EjLx:function(e,t,n){"use strict";var i=n("FKN7"),r=n("ti0F").isNumeric,o=n("zl3R").each,s=n("IEE5").queryByOptions,a=n("Q7sy"),l=n("Uhe+"),c=function(e){return(e.group<<20)+e.item},u=function(e){return{group:e>>20,item:2303&e}},d=l.inherit({_groupElements:function(){return this._collectionWidget._itemContainer().find(".dx-list-group")},_groupItemElements:function(e){return e.find(".dx-list-item")},getIndexByItemData:function(e){var t=this._collectionWidget.option("items"),n=!1;return!!e&&(e.items&&e.items.length&&(e=e.items[0]),o(t,(function(t,i){return!!i.items&&(o(i.items,(function(i,r){return r!==e||(n={group:t,item:i},!1)})),!n&&void 0)})),n)},getItemDataByIndex:function(e){var t=this._collectionWidget.option("items");return r(e)?this.itemsGetter()[e]:e&&t[e.group]&&t[e.group].items[e.item]||null},itemsGetter:function(){for(var e=[],t=this._collectionWidget.option("items"),n=0;n<t.length;n++)t[n]&&t[n].items?e=e.concat(t[n].items):e.push(t[n]);return e},deleteItemAtIndex:function(e){var t=u(e);this._collectionWidget.option("items")[t.group].items.splice(t.item,1)},getKeysByItems:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&e[n].items?t=t.concat(e[n].items):t.push(e[n]);var i=[];for(n=0;n<t.length;n++)i.push(this._collectionWidget.keyOf(t[n]));return i},getIndexByKey:function(e,t){var n=t||this._collectionWidget.option("items"),i=-1,r=this;return o(n,(function(t,n){if(n.items){var s=r.getKeysByItems(n.items);return o(s,(function(n,o){if(r._equalKeys(o,e))return i={group:t,item:n},!1})),-1===i&&void 0}})),i},_getGroups:function(e){var t=this._collectionWidget.getDataSource(),n=t&&t.group();return n?s(a(e),{group:n}).toArray():this._collectionWidget.option("items")},getItemsByKeys:function(e,t){var n=[];return o(e,(function(e,i){var r=(function(e){var t=this.getIndexByKey(i,e),n=t&&e[t.group];if(n)return{groupKey:n.key,item:n.items[t.item]}}).bind(this)(this._getGroups(t));if(r){var s,a=r.groupKey,l=r.item;
1o(n,(function(e,t){if(t.key===a)return s=t,!1})),s||n.push(s={key:a,items:[]}),s.items.push(l)}}).bind(this)),n},moveItemAtIndexToIndex:function(e,t){var n=this._collectionWidget.option("items"),i=u(e),r=u(t),o=n[i.group].items,s=n[r.group].items,a=o[i.item];o.splice(i.item,1),s.splice(r.item,0,a)},_isItemIndex:function(e){return e&&r(e.group)&&r(e.item)},_getNormalizedItemIndex:function(e){var t=i(e),n=t.closest(".dx-list-group");return n.length?c({group:this._groupElements().index(n),item:this._groupItemElements(n).index(t)}):-1},_normalizeItemIndex:function(e){return c(e)},_denormalizeItemIndex:function(e){return u(e)},_getItemByNormalizedIndex:function(e){var t=u(e),n=this._groupElements().eq(t.group);return this._groupItemElements(n).eq(t.item)},_itemsFromSameParent:function(e,t){return u(e).group===u(t).group}});e.exports=d},"Ek++":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"encode",value:function(){for(var e="110",t=0;t<this.data.length;t++){var n=parseInt(this.data[t]).toString(2);n=s(n,4-n.length);for(var i=0;i<n.length;i++)e+="0"==n[i]?"100":"110"}return{data:e+="1001",text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),t}(((i=n("52Lf"))&&i.__esModule?i:{default:i}).default);function s(e,t){for(var n=0;n<t;n++)e="0"+e;return e}t.default=o},ElD4:function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("XCcL"),s=n("1LL4").extend,a=n("D8Ap"),l=n("Hv54"),c=n("3As9"),u=n("JDOJ"),d=n("85Zg").register,h=n("AQWU"),p=u.addNamespace(o.name,"dxListEditDecorator");d("selection","default",h.inherit({_init:function(){this.callBase.apply(this,arguments);var e=this._list.option("selectionMode");this._singleStrategy="single"===e,this._containerClass=this._singleStrategy?"dx-list-select-radiobutton-container":"dx-list-select-checkbox-container",this._controlClass=this._singleStrategy?"dx-list-select-radiobutton":"dx-list-select-checkbox",this._controlWidget=this._singleStrategy?c:l,this._list.$element().addClass("dx-list-select-decorator-enabled")},beforeBag:function(e){var t=e.$itemElement,n=e.$container,r=i("<div>").addClass(this._controlClass);new this._controlWidget(r,s(this._commonOptions(),{value:this._isSelected(t),focusStateEnabled:!1,hoverStateEnabled:!1,onValueChanged:(function(e){this._processCheckedState(t,e.value),e.event&&e.event.stopPropagation()}).bind(this)})),n.addClass(this._containerClass),n.append(r)},modifyElement:function(e){this.callBase.apply(this,arguments);var t=e.$itemElement,n=this._controlWidget.getInstance(t.find("."+this._controlClass));r.on(t,"stateChanged",(function(e,t){n.option("value",t)}).bind(this))},_updateSelectAllState:function(){this._$selectAll&&this._selectAllCheckBox.option("value",this._list.isSelectAll())},afterRender:function(){"all"===this._list.option("selectionMode")&&(this._$selectAll?this._updateSelectAllState():this._renderSelectAll())},handleKeyboardEvents:function(e,t){var n=!t,i=this._list,r=this._$selectAll,o=i._getLastItemIndex();return!(!r||!(t&&0===e||n&&e===o)||(i.option("focusedElement",r),i.scrollToItem(i.option("focusedElement")),0))},handleEnterPressing:function(){if(this._$selectAll&&this._$selectAll.hasClass("dx-state-focused"))return this._selectAllCheckBox.option("value",!this._selectAllCheckBox.option("value")),!0},_renderSelectAll:function(){var e=this._$selectAll=i("<div>").addClass("dx-list-select-all"),t=this._list,n=t._supportedKeys().downArrow.bind(t);this._selectAllCheckBox=t._createComponent(i("<div>").addClass("dx-list-select-all-checkbox").appendTo(e),l,{focusStateEnabled:!1,hoverStateEnabled:!1}),this._selectAllCheckBox.registerKeyHandler("downArrow",n),i("<div>").addClass("dx-list-select-all-label").text(this._list.option("selectAllText")).appendTo(e),this._list.itemsContainer().prepend(e),this._updateSelectAllState(),this._attachSelectAllHandler()},_attachSelectAllHandler:function(){this._selectAllCheckBox.option("onValueChanged",this._selectAllHandler.bind(this)),r.off(this._$selectAll,p),r.on(this._$selectAll,p,this._selectAllClickHandler.bind(this))},_selectAllHandler:function(e){e.event&&e.event.stopPropagation();var t=this._selectAllCheckBox.option("value");!1!==this._list._createActionByOption("onSelectAllValueChanged")({value:t})&&(!0===t?this._selectAllItems():!1===t&&this._unselectAllItems())},_checkSelectAllCapability:function(){var e=this._list,t=e.getDataSource();return!!("allPages"!==e.option("selectAllMode")||!e.option("grouped")||t&&t.group())||
1(a.log("W1010"),!1)},_selectAllItems:function(){this._checkSelectAllCapability()&&this._list._selection.selectAll("page"===this._list.option("selectAllMode"))},_unselectAllItems:function(){this._checkSelectAllCapability()&&this._list._selection.deselectAll("page"===this._list.option("selectAllMode"))},_selectAllClickHandler:function(){this._selectAllCheckBox.option("value",!this._selectAllCheckBox.option("value"))},_isSelected:function(e){return this._list.isItemSelected(e)},_processCheckedState:function(e,t){t?this._list.selectItem(e):this._list.unselectItem(e)},dispose:function(){this._disposeSelectAll(),this._list.$element().removeClass("dx-list-select-decorator-enabled"),this.callBase.apply(this,arguments)},_disposeSelectAll:function(){this._$selectAll&&(this._$selectAll.remove(),this._$selectAll=null)}}))},Erg5:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("2Ji4"),r=n("YsXA"),o=n("fXoL"),s=n("tyNb"),a=n("ewzI"),l=n("ofXK");function c(e,t){if(1&e&&(o.Rb(0,"td"),o.Rb(1,"p"),o.Rb(2,"strong"),o.Ec(3,"COD/Cash :"),o.Qb(),o.Ec(4),o.Qb(),o.Qb()),2&e){const e=o.ec();o.zb(4),o.Gc(" ",null==e.details?null:e.details.price,"AED")}}function u(e,t){if(1&e&&(o.Rb(0,"td"),o.Rb(1,"p"),o.Rb(2,"strong"),o.Ec(3,"COD/Cash :"),o.Qb(),o.Ec(4),o.fc(5,"number"),o.Qb(),o.Qb()),2&e){const e=o.ec();o.zb(4),o.Gc(" ",o.hc(5,1,1.05*(null==e.details?null:e.details.price),"1.2-2")," AED ")}}let d=(()=>{class e{constructor(e,t,n,i){this.router=e,this.cdr=t,this.route=n,this.httpService=i,this.resourceManagementNavPath1="report/dashboard"}ngOnInit(){this.PrintData()}PrintData(){this.httpService.get(i.a.userService+"/getdetails/shipmentDetils/print/"+this.id).subscribe(e=>{this.details=e,console.log(this.details),setTimeout(()=>{this.generateBarcode()},30),setTimeout(()=>{const e=document.getElementById("printInvData").innerHTML;document.body.innerHTML=e},40),setTimeout(()=>{document.title=this.details.awbNumber,window.print()},180),setTimeout(()=>{this.router.navigate([this.resourceManagementNavPath1],{replaceUrl:!0}),setTimeout(()=>{window.location.reload()},80)},100)})}generateBarcode(){const e=document.getElementById("barcode"),t=document.getElementById("barcode2");e&&this.createBarcode(e),t&&this.createBarcode(t)}createBarcode(e){r(e,this.details.awbNumber,{format:"CODE128",lineColor:"#0b0b0b",width:2,height:50,displayValue:!0});const t=document.createElement("img");t.src=e.toDataURL(),e.replaceWith(t)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(s.c),o.Lb(o.h),o.Lb(s.a),o.Lb(a.a))},e.\u0275cmp=o.Fb({type:e,selectors:[["app-printawb"]],decls:185,vars:39,consts:[["lang","en"],["charset","UTF-8"],["name","viewport","content","width=device-width, initial-scale=1.0"],["id","printInvData",1,"label-container",2,"border","1px solid #000"],[2,"width","100%","border","1px solid #000"],[1,"logo",2,"margin-bottom","10px"],["src","assets/images/abc-cargo-logo.png","alt","abc Logo",2,"max-width","130px","width","auto"],[1,"barcode",2,"text-align","right"],["id","barcode"],[2,"width","100%","border-bottom","1px solid #000","border-left","1px solid #000","border-right","1px solid #000"],[2,"width","33.333%","border-right","1px solid #000"],[2,"font-size","15px","font-weight","600","margin-bottom","8px"],[2,"width","33.333%"],[4,"ngIf"],[2,"border-bottom","1px solid #000","border-left","1px solid #000","border-right","1px solid #000"],[2,"border-right","1px solid #000","width","80%","padding","0"],[2,"border-bottom","1px solid #000"],[1,"address-section",2,"padding","0","border","none"],[2,"font-size","15px","font-weight","600","margin-bottom","10px"],[2,"font-size","14px"],[2,"width","20%"],[1,"barcode",2,"transform","rotate(-90deg)"],["id","barcode2"],["id","printInvData","hidden","",1,"label-container"],[1,"header"],["src","assets/images/abclogo.png","alt","abc Logo"],[1,"barcode"],[1,"shipment-details"],[1,"address-section"],[1,"footer"]],template:function(e,t){1&e&&(o.Rb(0,"html",0),o.Rb(1,"head"),o.Mb(2,"meta",1),o.Mb(3,"meta",2),o.Rb(4,"title"),o.Ec(5,"ABC Shipping Label"),o.Qb(),o.Qb(),o.Rb(6,"body"),o.Rb(7,"div",3),o.Rb(8,"table",4),o.Rb(9,"tr"),o.Rb(10,"td"),o.Rb(11,"div",5),o.Mb(12,"img",6),o.Qb(),o.Rb(13,"p"),o.Rb(14,"strong"),o.Ec(15,"Origin :"),o.Qb(),o.Ec(16),o.Qb(),o.Qb(),o.Rb(17,"td"),o.Rb(18,"div",7),o.Mb(19,"canvas",8),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(20,"table",9),o.Rb(21,"tr"),o.Rb(22,"td"),o.Rb(23,"p"),o.Rb(24,"strong"),o.Ec(25,"Destination :"),o.Qb(),o.Ec(26),o.Qb(),o.Qb(),o.Rb(27,"td"),o.Rb(28,"p"),o.Rb(29,"strong"),o.Ec(30,"Pickup Date :"),o.Qb(),o.Ec(31),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(32,"table",9),o.Rb(33,"tr"),o.Rb(34,"td",10),o.Rb(35,"h4",11),o.Ec(36,"Product Group"),o.Qb(),o.Rb(37,"p"),o.Ec(38),o.Qb(),o.Qb(),o.Rb(39,"td",10),o.Rb(40,"h4",11),o.Ec(41,"Type"),o.Qb(),o.Rb(42,"p"),o.Ec(43),o.Qb(),o.Qb(),o.Rb(44,"td",12),o.Rb(45,"h4",11),o.Ec(46,"Payment"),o.Qb(),o.Rb(47,"p"),o.Ec(48),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(49,"table",9),o.Rb(50,"tr"),o.Rb(51,"td"),o.Rb(52,"p"),o.Rb(53,"strong"),o.Ec(54,"Weight :"),o.Qb(),o.Ec(55),o.Qb(),o.Qb(),o.Rb(56,"td"),o.Rb(57,"p"),o.Rb(58,"strong"),o.Ec(59," Description :"),o.Qb(),o.Ec(60),o.Qb(),o.Qb(),o.Rb(61,"td"),o.Rb(62,"p"),o.Rb(63,"strong"),o.Ec(64,"Chargeable :"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(65,"tr"),o.Rb(66,"td"),o.Rb(67,"p"),o.Rb(68,"strong"),o.Ec(69,"Custom Value :"),o.Qb(),o.Ec(70," 0"),o.Qb(),o.Qb(),o.Cc(71,c,5,1,"td",13),o.Cc(72,u,6,4,"td",13),o.Qb(),o.Rb(73,"tr"),o.Rb(74,"td"),o.Rb(75,"p"),o.Rb(76,"strong"),o.Ec(77,"Pieces :"),o.Qb(),o.Ec(78),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(79,"table",14),o.Rb(80,"tr"),o.Rb(81,"td",15),o.Rb(82,"table"),o.Rb(83,"tr"),o.Rb(84,"td",16),o.Rb(85,"div",17),o.Rb(86,"p",18),o.Ec(87,"From:"),o.Qb(),o.Rb(88,"div",19),o.Ec(89),o.Qb(),o.Rb(90,"div",19),o.Ec(91),o.Qb(),o.Rb(92,"div",19),o.Ec(93),o.Qb(),o.Rb(94,"div",19),o.Ec(95),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(96,"tr"),o.Rb(97,"td"),o.Rb(98,"div",17),o.Rb(99,"p",18),o.Ec(100,"To:"),o.Qb(),o.Rb(101,"div"),o.Ec(102),o.Qb(),o.Rb(103,"div"),o.Ec(104),o.Qb(),o.Rb(105,"div"),o.Ec(106),o.Qb(),o.Rb(107,"div"),o.Ec(108),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(109,"td",20),o.Rb(110,"div",21),o.Mb(111,"canvas",22),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(112,"div",23),o.Rb(113,"div",24),o.Mb(114,"img",25),o.Qb(),o.Rb(115,"div",26),o.Mb(116,"canvas",8),o.Qb(),o.Rb(117,"div",27),o.Rb(118,"p"),o.Rb(119,"strong"),o.Ec(120,"Origin:"),o.Qb(),o.Ec(121),o.Qb(),o.Rb(122,"p"),o.Rb(123,"strong"),o.Ec(124,"Destination:"),o.Qb(),o.Ec(125),o.Qb(),o.Rb(126,"p"),o.Rb(127,"strong"),o.Ec(128,"Pickup Date:"),o.Qb(),o.Ec(129),o.Qb(),o.Rb(130,"p"),o.Rb(131,"strong"),o.Ec(132,"Product Group:"),o.Qb(),o.Ec(133),o.Qb(),o.Rb(134,"p"),o.Rb(135,"strong"),o.Ec(136,"Type:"),o.Qb(),o.Ec(137),o.Qb(),o.Rb(138,"p"),o.Rb(139,"
1strong"),o.Ec(140,"Payment:"),o.Qb(),o.Ec(141),o.Qb(),o.Rb(142,"p"),o.Rb(143,"strong"),o.Ec(144,"Weight:"),o.Qb(),o.Ec(145),o.Qb(),o.Rb(146,"p"),o.Rb(147,"strong"),o.Ec(148,"Chargeable:"),o.Qb(),o.Ec(149),o.Qb(),o.Rb(150,"p"),o.Rb(151,"strong"),o.Ec(152,"Custom Value:"),o.Qb(),o.Ec(153," 0"),o.Qb(),o.Rb(154,"p"),o.Rb(155,"strong"),o.Ec(156,"Cash on Delivery:"),o.Qb(),o.Ec(157),o.Qb(),o.Rb(158,"p"),o.Rb(159,"strong"),o.Ec(160,"Pieces:"),o.Qb(),o.Ec(161),o.Qb(),o.Qb(),o.Rb(162,"div",28),o.Rb(163,"strong"),o.Ec(164,"From:"),o.Qb(),o.Rb(165,"div"),o.Ec(166),o.Qb(),o.Rb(167,"div"),o.Ec(168),o.Qb(),o.Rb(169,"div"),o.Ec(170),o.Qb(),o.Rb(171,"div"),o.Ec(172),o.Qb(),o.Qb(),o.Rb(173,"div",28),o.Rb(174,"strong"),o.Ec(175,"To:"),o.Qb(),o.Rb(176,"div"),o.Ec(177),o.Qb(),o.Rb(178,"div"),o.Ec(179),o.Qb(),o.Rb(180,"div"),o.Ec(181),o.Qb(),o.Rb(182,"div"),o.Ec(183),o.Qb(),o.Qb(),o.Mb(184,"div",29),o.Qb(),o.Qb(),o.Qb()),2&e&&(o.zb(16),o.Gc(" ",null==t.details?null:t.details.billToCounty,""),o.zb(10),o.Gc(" ",null==t.details?null:t.details.shipToCounty,""),o.zb(5),o.Hc(" ",null==t.details?null:t.details.pickUpDate," ",null==t.details?null:t.details.pickUpTime,""),o.zb(7),o.Fc(null==t.details?null:t.details.invoiceType),o.zb(5),o.Fc(null==t.details?null:t.details.productType),o.zb(5),o.Fc(null==t.details?null:t.details.paymentMethod),o.zb(7),o.Gc(" ",null==t.details?null:t.details.totalGrossWeight,"kg"),o.zb(5),o.Gc(" ",null==t.details?null:t.details.shipmentContent,""),o.zb(11),o.kc("ngIf","INT"==(null==t.details?null:t.details.invoiceType)),o.zb(1),o.kc("ngIf","DOM"==(null==t.details?null:t.details.invoiceType)),o.zb(6),o.Gc(" ",null==t.details?null:t.details.qty,""),o.zb(11),o.Fc(null==t.details?null:t.details.billToName),o.zb(2),o.Fc(null==t.details?null:t.details.billToAddress),o.zb(2),o.Fc(null==t.details?null:t.details.billToCountry),o.zb(2),o.Gc("Tel: ",null==t.details?null:t.details.billToPhone1,""),o.zb(7),o.Fc(null==t.details?null:t.details.shipToName),o.zb(2),o.Fc(null==t.details?null:t.details.shipToAddress),o.zb(2),o.Fc(null==t.details?null:t.details.shipToCountry),o.zb(2),o.Gc("Tel: ",null==t.details?null:t.details.shipToPhone1,""),o.zb(13),o.Gc(" ",null==t.details?null:t.details.billToCounty,""),o.zb(4),o.Gc(" ",null==t.details?null:t.details.shipToCounty,""),o.zb(4),o.Hc("",null==t.details?null:t.details.pickUpDate," ",null==t.details?null:t.details.pickUpTime,""),o.zb(4),o.Gc(" ",null==t.details?null:t.details.invoiceType,""),o.zb(4),o.Gc(" ",null==t.details?null:t.details.productType,""),o.zb(4),o.Gc(" ",null==t.details?null:t.details.paymentMethod,""),o.zb(4),o.Gc("",null==t.details?null:t.details.totalGrossWeight,"kg"),o.zb(4),o.Gc(" ",null==t.details?null:t.details.totalGrossWeight,"Kg"),o.zb(8),o.Gc("",null==t.details?null:t.details.price,"AED"),o.zb(4),o.Gc(" ",null==t.details?null:t.details.qty,""),o.zb(5),o.Fc(null==t.details?null:t.details.billToName),o.zb(2),o.Fc(null==t.details?null:t.details.billToAddress),o.zb(2),o.Fc(null==t.details?null:t.details.billToCountry),o.zb(2),o.Gc("Tel: ",null==t.details?null:t.details.billToPhone1,""),o.zb(5),o.Fc(null==t.details?null:t.details.shipToName),o.zb(2),o.Fc(null==t.details?null:t.details.shipToAddress),o.zb(2),o.Fc(null==t.details?null:t.details.shipToCountry),o.zb(2),o.Gc("Tel: ",null==t.details?null:t.details.shipToPhone1,""))},directives:[l.l],pipes:[l.e],styles:["","body[_ngcontent-%COMP%] {\n            font-family: Arial, sans-serif;\n        }\n        .label-container[_ngcontent-%COMP%] {\n            width: 100%;\n            border: 2px solid black;\n            padding: 10px;\n        }\n        .header[_ngcontent-%COMP%] {\n            text-align: left;\n        }\n        .header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n            width: 100px;\n        }\n        .barcode[_ngcontent-%COMP%] {\n            text-align: center;\n            font-size: 20px;\n            font-weight: bold;\n        }\n        .shipment-details[_ngcontent-%COMP%], .address-section[_ngcontent-%COMP%] {\n            border-top: 1px solid black;\n            padding-top: 10px;\n        }\n        .address-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%] {\n            margin-bottom: 5px;\n        }\n        .footer[_ngcontent-%COMP%] {\n            margin-top: 10px;\n            text-align: left;\n        }\n        table[_ngcontent-%COMP%]{\n           width: 100%;\n        }\n        table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{\n            padding: 10px 12px;\n        }"]}),e})()},FKN7:function(e,t,n){"use strict";var i=n("NFpX");e.exports=i.get()},FYXg:function(e,t,n){"use strict";var i,r=(i=n("6F5R"))&&i.__esModule?i:{default:i};n("fHlW"),n("4lf7"),n("Qkad"),n("yFBy"),n("QXfY"),n("jBL4"),n("7Ncy"),n("q94W"),n("s3Y/"),n("x8kf"),n("3Nus"),n("+wj7"),n("4xE8"),n("KYaq"),n("7Bb+"),n("vwfw"),n("IPIx"),n("C4zk"),n("/wwX"),n("6mLu"),n("3HbM"),n("5x2u"),n("NLYV"),n("fnJn"),e.exports=r.default},FlNM:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("ti0F"),r=c(n("OZWN")),o=c(n("6MIN")),s=c(n("kOkc")),a=c(n("GMo6")),l=c(n("UJab"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cellFormatTags=[],this._fillTags=[],this._fontTags=[],this._numberFormatTags=[],this._fillTags.push(s.default.tryCreateTag({patternFill:{patternType:"none"}}))}var t,n,c;return t=e,c=[{key:"copyCellFormat",value:function(e){return o.default.copy(e)}}],(n=[{key:"registerCellFormat",value:function(e){var t,n=o.default.tryCreateTag(e,{registerFill:this.registerFill.bind(this),registerFont:this.registerFont.bind(this),registerNumberFormat:this.registerNumberFormat.bind(this)});if((0,i.isDefined)(n)){for(var r=0;r<this._cellFormatTags.length;r++)if(o.default.areEqual(this._cellFormatTags[r],n)){t=r;break}void 0===t&&(t=this._cellFormatTags.push(n)-1)}return t}},{key:"generateCellFormatsXml",value:function(){var e=this._cellFormatTags.map((function(e){return o.default.toXml(e)}));return r.default.toXml("cellXfs",{count:e.length},e.join(""))}},{key:"registerFill",value:function(e){var t,n=s.default.tryCreateTag(e);if((0,i.isDefined)(n)){for(var r=0;r<this._fillTags.length;r++)if(s.default.areEqual(this._fillTags[r],n)){t=r;break}void 0===t&&(this._fillTags.length<2&&this._fillTags.push(s.default.tryCreateTag({patternFill:{patternType:"Gray125"}})),t=this._fillTags.push(n)-1)}return t}},{key:"generateFillsXml",value:function(){var e=this._fillTags.map((function(e){return s.default.toXml(e)}));return r.default.toXml("fills",{count:e.length},e.join(""))}},{key:"registerFont",value:function(e){var t,n=a.default.tryCreateTag(e);if((0,i.isDefined)(n)){for(var r=0;r<this._fontTags.length;r++)if(a.default.areEqual(this._fontTags[r],n)){t=r;break}void 0===t&&(t=this._fontTags.push(n)-1)}return t}},{key:"generateFontsXml",value:function(){var e=this._fontTags.map((function(e){return a.default.toXml(e)}));return r.default.toXml("fonts",{count:e.length},e.join(""))}},{key:"_convertNumberFormatIndexToId",value:function(e){return 165+e}},{key:"registerNumberFormat",value:function(e){var t,n=l.default.tryCreateTag(e);if((0,i.isDefined)(n)){for(var r=0;r<this._numberFormatTags.length;r++)if(l.default.areEqual(this._numberFormatTags[r],n)){t=this._numberFormatTags[r][l.default.ID_PROPERTY_NAME];break}void 0===t&&(n[l.default.ID_PROPERTY_NAME]=this._convertNumberFormatIndexToId(this._numberFormatTags.length),t=n[l.default.ID_PROPERTY_NAME],this._numberFormatTags.push(n))}return t}},{key:"generateNumberFormatsXml",value:function(){if(this._numberFormatTags.length>0){var e=this._numberFormatTags.map((function(e){return l.default.toXml(e)}));return r.default.toXml("numFmts",{count:e.length},e.join(""))}return""}}])&&u(t.prototype,n),c&&u(t,c),e}();t.default=d,e.exports=d},Fnuy:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%
1d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},FqPI:function(e,t,n){"use strict";var i=m(n("FKN7")),r=m(n("tUd6")),o=m(n("jeLr")),s=m(n("GYHJ")),a=m(n("XCcL")),l=m(n("T4bj")),c=m(n("vlix")),u=n("JDOJ"),d=m(n("uHaw")),h=n("1LL4"),p=m(n("kaGW")),f=n("8S5z");function m(e){return e&&e.__esModule?e:{default:e}}var g=(0,u.addNamespace)([l.default.down,"focusin",a.default.name].join(" "),"dxDataGridEditorFactory"),_=s.default.ViewController.inherit({_getFocusedElement:function(e){var t=this.option("focusedRowEnabled")?"tr[tabindex]:focus":"tr[tabindex]:not(.dx-data-row):focus",n="td[tabindex]:focus, ".concat(t,", input:focus, textarea:focus, .dx-lookup-field:focus, .dx-checkbox:focus");return e.find(n)},_getFocusCellSelector:function(){return".dx-row > td"},_updateFocusCore:function(){var e,t,n=this._$focusedElement,i=this.component&&this.component.$element();i&&(n=this._getFocusedElement(i)).length&&(n.hasClass("dx-cell-focus-disabled")||n.hasClass("dx-row")||(t=(e=n.closest(this._getFocusCellSelector()+", .dx-cell-focus-disabled")).get(0)!==n.get(0)&&e.hasClass("dx-editor-inline-block"),n=e),n.length&&!n.hasClass("dx-cell-focus-disabled"))?this.focus(n,t):this.loseFocus()},_updateFocus:function(e){var t=this,n=e&&e.event&&(0,i.default)(e.event.target).hasClass(t.addWidgetPrefix("focus-overlay"));t._isFocusOverlay=t._isFocusOverlay||n,clearTimeout(t._updateFocusTimeoutID),t._updateFocusTimeoutID=setTimeout((function(){delete t._updateFocusTimeoutID,t._isFocusOverlay||t._updateFocusCore(),t._isFocusOverlay=!1}))},_updateFocusOverlaySize:function(e,t){e.hide();var n=c.default.calculate(e,(0,h.extend)({collision:"fit"},t));n.h.oversize>0&&e.outerWidth(e.outerWidth()-n.h.oversize),n.v.oversize>0&&e.outerHeight(e.outerHeight()-n.v.oversize),e.show()},callbackNames:function(){return["focused"]},focus:function(e,t){var n=this;if(void 0===e)return n._$focusedElement;e&&(e.is(n._$focusedElement)||n._$focusedElement&&n._$focusedElement.removeClass("dx-focused"),n._$focusedElement=e,clearTimeout(n._focusTimeoutID),n._focusTimeoutID=setTimeout((function(){delete n._focusTimeoutID,n.renderFocusOverlay(e,t),e.addClass("dx-focused"),n.focused.fire(e)})))},renderFocusOverlay:function(e,t){if((0,f.isElementInCurrentGrid)(this,e))if(this._$focusOverlay||(this._$focusOverlay=(0,i.default)("<div>").addClass(this.addWidgetPrefix("focus-overlay")+" dx-pointer-events-target")),t)this._$focusOverlay.addClass("dx-hidden");else if(e.length){var n=d.default.msie?"left bottom":d.default.mozilla?"right bottom":"left top",r=e.closest("."+this.addWidgetPrefix("content")),o=e[0].getBoundingClientRect();this._$focusOverlay.removeClass("dx-hidden").appendTo(r).outerWidth(o.right-o.left+1).outerHeight(o.bottom-o.top+1);var s={precise:!0,my:n,at:n,of:e,boundary:r.length&&r};this._updateFocusOverlaySize(this._$focusOverlay,s),c.default.setup(this._$focusOverlay,s),this._$focusOverlay.css("visibility","visible")}},resize:function(){var e=this._$focusedElement;e&&this.focus(e)},loseFocus:function(){this._$focusedElement&&this._$focusedElement.removeClass("dx-focused"),this._$focusedElement=null,this._$focusOverlay&&this._$focusOverlay.addClass("dx-hidden")},init:function(){this.createAction("onEditorPreparing",{excludeValidators:["disabled","readOnly"],category:"rendering"}),this.createAction("onEditorPrepared",{excludeValidators:["disabled","readOnly"],category:"rendering"}),this._updateFocusHandler=this._updateFocusHandler||this.createAction(this._updateFocus.bind(this)),o.default.on(r.default.getDocument(),g,this._updateFocusHandler),this._attachContainerEventHandlers()},_attachContainerEventHandlers:function(){var e=this,t=e.component&&e.component.$element();t&&o.default.on(t,(0,u.addNamespace)("keydown","dxDataGridEditorFactory"),(function(t){"tab"===(0,u.normalizeKeyName)(t)&&e._updateFocusHandler(t)}))},_focusOverlayEventProxy:function(e){var t=(0,i.default)(e.target),n=(0,i.default)(e.currentTarget);if((t.hasClass("dx-pointer-events-target")||t.hasClass("dx-pointer-events-none"))&&!n.hasClass("dx-hidden")){n.addClass("dx-hidden");var r=t.get(0).ownerDocument.elementFromPoint(e.clientX,e.clientY);(0,u.fireEvent)({originalEvent:e,target:r}),e.stopPropagation(),n.removeClass("dx-hidden"),e.type===a.default.name&&"INPUT"===r.tagName&&o.default.trigger((0,i.default)(r),"focu
1s")}},dispose:function(){clearTimeout(this._focusTimeoutID),clearTimeout(this._updateFocusTimeoutID),o.default.off(r.default.getDocument(),g,this._updateFocusHandler)}}).include(p.default);e.exports={defaultOptions:function(){return{}},controllers:{editorFactory:_}}},FwU7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,r=(i=n("8Qh0"))&&i.__esModule?i:{default:i},o=n("KAnu");function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(s,e);var t,n,i,r=(n=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(n);if(i){var r=d(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return u(this,e)});function s(){return a(this,s),r.apply(this,arguments)}return(t=[{key:"_renderWatchers",value:function(){return this._startWatcher("badge",o.noop),l(d(s.prototype),"_renderWatchers",this).call(this)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(s.prototype,t),s}(r.default);t.default=h},FwfD:function(e,t,n){"use strict";var i=n("KAnu").escapeRegExp,r={3:"abbreviated",4:"wide",5:"narrow"},o=function(e,t){return e>2?Object.keys(r).map((function(e){return["format","standalone"].map((function(n){return t.getMonthNames(r[e],n).join("|")})).join("|")})).join("|"):"0?[1-9]|1[012]"},s={y:function(e){return"[0-9]+"},M:o,L:o,Q:function(e,t){return e>2?t.getQuarterNames(r[e],"format").join("|"):"0?[1-4]"},E:function(e,t){return"\\D*"},a:function(e,t){return t.getPeriodNames(r[e<3?3:e],"format").join("|")},d:function(e){return"0?[1-9]|[12][0-9]|3[01]"},H:function(e){return"0?[0-9]|1[0-9]|2[0-3]"},h:function(e){return"0?[1-9]|1[012]"},m:function(e){return"0?[0-9]|[1-5][0-9]"},s:function(e){return"0?[0-9]|[1-5][0-9]"},S:function(e){return"[0-9]{1,"+e+"}"}},a=Number,l=function(e,t){return e.map((function(e){return e.toLowerCase()})).indexOf(t.toLowerCase())},c=function(e,t,n){return t>2?["format","standalone"].map((function(t){return Object.keys(r).map((function(i){var o=n.getMonthNames(r[i],t);return l(o,e)}))})).reduce((function(e,t){return e.concat(t)})).filter((function(e){return e>=0}))[0]:a(e)-1},u={y:function(e,t){var n=a(e);return 2===t?n<30?2e3+n:1900+n:n},M:c,L:c,Q:function(e,t,n){return t>2?n.getQuarterNames(r[t],"format").indexOf(e):a(e)-1},E:function(e,t,n){var i=n.getDayNames(r[t<3?3:t],"format");return l(i,e)},a:function(e,t,n){var i=n.getPeriodNames(r[t<3?3:t],"format");return l(i,e)},d:a,H:a,h:a,m:a,s:a,S:function(e,t){for(t=Math.max(t,3),e=e.slice(0,3);t<3;)e+="0",t++;return a(e)}},d=["y","M","d","h","m","s","S"],h={y:"setFullYear",M:"setMonth",L:"setMonth",a:function(e,t,n){var i=e.getHours(),r=n.h;void 0!==r&&r!==i&&i--,t||12!==i?t&&12!==i&&(i+=12):i=0,e.setHours(i)},d:"setDate",H:"setHours",h:"setHours",m:"setMinutes",s:"setSeconds",S:"setMilliseconds"},p=function(e,t){var n=e[t],i=0;do{t++,i++}while(e[t]===n);return i},f=function(e,t){for(var n="",i=0;i<t;i++)n+=e;return n},m=function(e,t){for(var n,r="",o="",a=[],l=function(){o&&(a.push("'"+o+"'"),r+=i(o)+")",o="")},c=0;c<e.length;c++){var u=e[c],d=s[u];if("'"!==u||(n=!n,"'"===e[c-1]))if(d&&!n){var h=p(e,c),m=f(u,h);
1l(),a.push(m),r+="("+d(h,t)+")",c+=h-1}else o||(r+="("),o+=u}return l(),{patterns:a,regexp:new RegExp("^"+r+"$","i")}};t.getParser=function(e,t){var n=m(e,t);return function(e){var i,r=n.regexp.exec(e);if(r){var o=new Date,s=new Date(o.getFullYear(),0,1),a=n.patterns.map((function(e){return"'"===e[0]?"":"H"===e[0]?"h":e[0]})),l=(i=a.map((function(e){return d.indexOf(e)})),Math.max.apply(Math,i)),c=function(e){var t=e.filter((function(e){return d.indexOf(e)<0}));return d.concat(t)}(a),p={};return c.forEach((function(e,i){if(e&&!(i<d.length&&i>l)){var c=a.indexOf(e);c>=0?function(e,t,n,i,r){var o=t[0],s=h[o],a=u[o];if(s&&a){var l=a(n,t.length,i);r[t]=l,e[s]?e[s](l):s(e,l,r)}}(s,n.patterns[c],r[c+1],t,p):function(e,t,n){var i=h[t],r=n["g"+i.substr(1)]();e[i](r)}(s,e,o)}})),s}return null}},t.getRegExpInfo=m,t.getPatternSetters=function(){return h}},G0Uy:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"G6U+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var s=r.get;return void 0!==s?s.call(i):void 0},s=(i=n("vf6K"))&&i.__esModule?i:{default:i},a=function(e){return(10-e.substr(0,7).split("").map((function(e){return+e})).reduce((function(e,t,n){return n%2?e+t:e+3*t}),0)%10)%10},l=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{7}$/)&&(e+=a(e)),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===a(this.data)}},{key:"leftText",value:function(){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var e=this.data.substr(0,4);return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftEncode",this).call(this,e,"LLLL")}},{key:"rightText",value:function(){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var e=this.data.substr(4,4);return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightEncode",this).call(this,e,"RRRR")}}]),t}(s.default);t.default=l},GBv4:function(e,t,n){"use strict";var i=n("zl3R").each,r=n("NNGq"),o=function(e,t){var n={};
1"noBubble"in t&&(n.noBubble=t.noBubble),"bindType"in t&&(n.bindType=t.bindType),"delegateType"in t&&(n.delegateType=t.delegateType),i(["setup","teardown","add","remove","trigger","handle","_default","dispose"],(function(e,i){t[i]&&(n[i]=function(){var e=[].slice.call(arguments);return e.unshift(this),t[i].apply(t,e)})})),r.fire(e,n)};o.callbacks=r,e.exports=o},GC31:function(e,t,n){"use strict";var i=n("tUd6"),r=n("cGv3").getWindow(),o=n("FKN7");t.getSvgMarkup=function(e,t){return function(e){var t=!0;return-1===e.indexOf("xmlns:xlink")&&(e=e.replace("<svg",'<svg xmlns:xlink="http://www.w3.org/1999/xlink"')),(e=e.replace(/xmlns="[\s\S]*?"/gi,(function(e){return t?(t=!1,e):""}))).replace(/xmlns:NS1="[\s\S]*?"/gi,"").replace(/NS1:xmlns:xlink="([\s\S]*?)"/gi,'xmlns:xlink="$1"')}(function(e,t){var n=i.createElement("div"),r=e.cloneNode(!0);return t&&o(r).css("backgroundColor",t),n.appendChild(r),n.innerHTML}(e,t).replace(/&quot;/gi,"&#34;").replace(/&amp;/gi,"&#38;").replace(/&apos;/gi,"&#39;").replace(/&lt;/gi,"&#60;").replace(/&gt;/gi,"&#62;").replace(/&nbsp;/gi,"&#160;").replace(/&shy;/gi,"&#173;"))},t.getSvgElement=function(e){return i.isNode(e)?e:(new r.DOMParser).parseFromString(e,"image/svg+xml").childNodes[0]}},GEWs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=(i=n("15ve"))&&i.__esModule?i:{default:i},o=n("1B4V"),s=n("1LL4"),a=n("Qs8D");function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){h(n,e);var t=p(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"tryExecute",value:function(){var e=this._options.value,t=this.findInstance();return!!t&&(t.option(e),!0)}}]),n}(r.default),_=function(e){h(n,e);var t=p(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"tryExecute",value:function(){var e=this.findInstance();if(e){var t=this._options,n=t.optionName,i=t.value,r=this._itemsRunTimeInfo.findItemIndexByItem(t.item);if(r>=0)return e.option((0,a.getFullOptionName)("items[".concat(r,"]"),n),i),!0}return!1}}]),n}(r.default),b=function(e){h(n,e);var t=p(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"tryExecute",value:function(){var e=this.findInstance();return!!e&&(e.option("dataSource",this._options.value),!0)}}]),n}(r.default),v=function(e){h(n,e);var t=p(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"tryExecute",value:function(){var e=this._options.item,t=this.findInstance(),n=t&&(0,o.data)(t.$element()[0],"dxValidator");if(n&&e){var i=function(e){return"required"===e.type},r=(n.option("validationRules")||[]).some(i),s=(e.validationRules||[]).some(i);if(!r&&!s||r&&s)return n.option("validationRules",e.validationRules),!0}return!1}}]),n}(r.default),y=function(e){h(n,e);var t=p(n);function n(){return c(this,n),t.apply(this,arguments)}return d(n,[{key:"tryExecute",value:function(){var e=this.findItemContainer(),t=this._options,n=t.value;return!!e&&(e.removeClass(t.previousValue).addClass(n),!0)}}]),n}(r.default);t.default=function(e,t){switch(e){case"editorOptions":case"buttonOptions":return new g(t);case"validationRules":return new v(t);case"cssClass":return new y(t);case"badge":case"disabled":case"icon":case"template":case"tabTemplate":case"title":return new _((0,s.extend)(t,{optionName:e}));case"tabs":return new b(t);default:return null}}},GMo6:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i=n("ti0F"),r=s(n("OZWN")),o=s(n("vR7y"));function s(e){return e&&e.__esModule?e:{default:e}}var a={tryCreateTag:function(e){var t=null;return(0,i.isDefined)(e)&&(t={size:e.size,name:e.name,family:e.family,scheme:e.scheme,bold:e.bold,italic:e.italic,underline:e.underline,color:o.default.tryCreateTag(e.color)},a.isEmpty(t)&&(t=null)),t},copy:function(e){var t=null;return(0,i.isDefined)(e)&&(t={},void 0!==e.size&&(t.size=e.size),void 0!==e.name&&(t.name=e.name),void 0!==e.family&&(t.family=e.family),void 0!==e.scheme&&(t.scheme=e.scheme),void 0!==e.bold&&(t.bold=e.bold),void 0!==e.italic&&(t.italic=e.italic),void 0!==e.underline&&(t.underline=e.underline),void 0!==e.color&&(t.color=o.default.copy(e.color))),t},areEqual:function(e,t){return a.isEmpty(e)&&a.isEmpty(t)||(0,i.isDefined)(e)&&(0,i.isDefined)(t)&&e.size===t.size&&e.name===t.name&&e.family===t.family&&e.scheme===t.scheme&&(e.bold===t.bold||!e.bold==!t.bold)&&(e.italic===t.italic||!e.italic==!t.italic)&&e.underline===t.underline&&o.default.areEqual(e.color,t.color)},isEmpty:function(e){return!(0,i.isDefined)(e)||!(0,i.isDefined)(e.size)&&!(0,i.isDefined)(e.name)&&!(0,i.isDefined)(e.family)&&!(0,i.isDefined)(e.scheme)&&(!(0,i.isDefined)(e.bold)||!e.bold)&&(!(0,i.isDefined)(e.italic)||!e.italic)&&!(0,i.isDefined)(e.underline)&&o.default.isEmpty(e.color)},toXml:function(e){var t=[(0,i.isDefined)(e.bold)&&e.bold?r.default.toXml("b",{}):"",(0,i.isDefined)(e.size)?r.default.toXml("sz",{val:e.size}):"",(0,i.isDefined)(e.color)?o.default.toXml("color",e.color):"",(0,i.isDefined)(e.name)?r.default.toXml("name",{val:e.name}):"",(0,i.isDefined)(e.family)?r.default.toXml("family",{val:e.family}):"",(0,i.isDefined)(e.scheme)?r.default.toXml("scheme",{val:e.scheme}):"",(0,i.isDefined)(e.italic)&&e.italic?r.default.toXml("i",{}):"",(0,i.isDefined)(e.underline)?r.default.toXml("u",{val:e.underline}):""].join("");return r.default.toXml("font",{},t)}};t.default=a},GYHJ:function(e,t,n){"use strict";var i=f(n("FKN7")),r=f(n("jeLr")),o=f(n("5qrJ")),s=f(n("cYys")),a=n("KAnu"),l=n("ti0F"),c=n("XpgS"),u=n("zl3R"),d=f(n("D8Ap")),h=f(n("imRD")),p=n("cGv3");function f(e){return e&&e.__esModule?e:{default:e}}var m=o.default.inherit({_endUpdateCore:function(){},ctor:function(e){var t=this;t._updateLockCount=0,t.component=e,t._actions={},t._actionConfigs={},(0,u.each)(this.callbackNames()||[],(function(e,n){var i=t.callbackFlags(n)||{};i.unique=!0,i.syncStrategy=!0,t[this]=(0,s.default)(i)}))},init:function(){},callbackNames:function(){},callbackFlags:function(){},publicMethods:function(){},beginUpdate:function(){this._updateLockCount++},endUpdate:function(){this._updateLockCount>0&&(this._updateLockCount--,this._updateLockCount||this._endUpdateCore())},option:function(e){var t=this.component,n=t._optionCache;return 1===arguments.length&&n?(e in n||(n[e]=t.option(e)),n[e]):t.option.apply(t,arguments)},localize:function(e){var t=this.component._optionCache;return t?(e in t||(t[e]=h.default.format(e)),t[e]):h.default.format(e)},on:function(){return this.component.on.apply(this.component,arguments)},off:function(){return this.component.off.apply(this.component,arguments)},optionChanged:function(e){e.name in this._actions&&(this.createAction(e.name,this._actionConfigs[e.name]),e.handled=!0)},getAction:function(e){return this._actions[e]},setAria:function(e,t,n){var i=n.get(0),r="role"!==e&&"id"!==e?"aria-":"";i.setAttribute?i.setAttribute(r+e,t):n.attr(r+e,t)},_createComponent:function(){return this.component._createComponent.apply(this.component,arguments)},getController:function(e){return this.component._controllers[e]},createAction:function(e,t){if((0,l.isFunction)(e)){var n=this.component._createAction(e.bind(this),t);return function(e){n({event:e})}}this._actions[e]=this.component._createActionByOption(e,t),this._actionConfigs[e]=t},executeAction:function(e,t){var n=this._actions[e];return n&&n(t)},dispose:function(){var e=this;(0,u.each)(e.callbackNames()||[],(function(){e[this].empty()}))},addWidgetPrefix:function(e){return"dx-"+this.component.NAME.slice(2).toLowerCase()+(e?"-"+e:"")},getWidgetContainerClass:function(){return this.addWidgetPrefix("dxDataGrid"===this.component.NAME?null:"container")}}),g=m,_=g.inherit({getView:function(e){return this.component._views[e]},getViews:function(){return this.component._views}}),b=m.inherit({_isReady:function(){return this.component.isReady()},_endUpdateCore:function(){this.callBase(),!this._isReady()&&this._requireReady&&(this._requireRender=!1,this.component._requireResize=!1),this._requireRender&&(this._requireRender=!1,this.render(this._$parent))},_invalidate:function(e,t){this._requireRender=!0,this.component._requireResize=(0,p.hasWindow)()&&(this.component._requireResize||e),this._requireReady=this._requireReady||t},_renderCore:function(){},_resizeCore:function(){},_afterRender:function(){},_parentElement:function(){return this._$parent},ctor:function(e){this.callBase(e),this.renderCompleted=(0,s.default)(),this.resizeCompleted=(0,s.default)()},element:function(){return this._$element}
1,getElementHeight:function(){var e=this.element();if(!e)return 0;var t=parseFloat(e.css("marginTop"))||0,n=parseFloat(e.css("marginBottom"))||0;return e.get(0).offsetHeight+t+n},isVisible:function(){return!0},getTemplate:function(e){return this.component._getTemplate(e)},render:function(e,t){var n=this._$element,r=this.isVisible();(n||e)&&(this._requireReady=!1,n||(n=this._$element=(0,i.default)("<div>").appendTo(e),this._$parent=e),n.toggleClass("dx-hidden",!r),r&&(this.component._optionCache={},this._renderCore(t),this.component._optionCache=void 0,this._afterRender(e),this.renderCompleted.fire(t)))},resize:function(){this.isResizing=!0,this._resizeCore(),this.resizeCompleted.fire(),this.isResizing=!1},focus:function(){r.default.trigger(this.element(),"focus")}});e.exports={modules:[],View:b,ViewController:_,Controller:g,registerModule:function(e,t){for(var n=this.modules,i=0;i<n.length;i++)if(n[i].name===e)return;t.name=e,n.push(t),delete this.controllerTypes,delete this.viewTypes},registerModulesOrder:function(e){this.modulesOrder=e},unregisterModule:function(e){this.modules=(0,a.grep)(this.modules,(function(t){return t.name!==e})),delete this.controllerTypes,delete this.viewTypes},processModules:function(e,t){var n=t.modules,i=t.modulesOrder,r=t.controllerTypes||{},o=t.viewTypes||{};t.controllerTypes||(i&&n.sort((function(e,t){var n=(0,c.inArray)(e.name,i),r=(0,c.inArray)(t.name,i);return n<0&&(n=1e6),r<0&&(r=1e6),n-r})),(0,u.each)(n,(function(){var e=this.controllers,t=this.name,n=this.views;e&&(0,u.each)(e,(function(e,n){if(r[e])throw d.default.Error("E1001",t,e);if(!(n&&n.subclassOf&&n.subclassOf(g)))throw n.subclassOf(g),d.default.Error("E1002",t,e);r[e]=n})),n&&(0,u.each)(n,(function(e,n){if(o[e])throw d.default.Error("E1003",t,e);if(!(n&&n.subclassOf&&n.subclassOf(b)))throw d.default.Error("E1004",t,e);o[e]=n}))})),(0,u.each)(n,(function(){var e=this.extenders;e&&(e.controllers&&(0,u.each)(e.controllers,(function(e,t){r[e]&&(r[e]=r[e].inherit(t))})),e.views&&(0,u.each)(e.views,(function(e,t){o[e]&&(o[e]=o[e].inherit(t))})))})),t.controllerTypes=r,t.viewTypes=o);var s=function(t){var n={};return(0,u.each)(t,(function(t,i){var r=new i(e);r.name=t,function(e,t,n){var i=n.publicMethods();i&&(0,u.each)(i,(function(i,r){if(!n[r])throw d.default.Error("E1006",t,r);if(e[r])throw d.default.Error("E1005",r);e[r]=function(){return n[r].apply(n,arguments)}}))}(e,t,r),n[t]=r})),n};e._controllers=s(r),e._views=s(o)},callModuleItemsMethod:function(e,t,n){n=n||[],e._controllers&&(0,u.each)(e._controllers,(function(){this[t]&&this[t].apply(this,n)})),e._views&&(0,u.each)(e._views,(function(){this[t]&&this[t].apply(this,n)}))}}},GrkJ:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3").getWindow(),o=n("LQDf"),s=n("jwYu"),a=n("dYUP"),l=n("1LL4").extend,c=n("bUO+"),u=n("LI0J"),d=o.inherit({NAME:"CalendarWithTime",getDefaultOptions:function(){return l(this.callBase(),{applyValueMode:"useButtons",buttonsLocation:"bottom after",showPopupTitle:!1})},getDisplayFormat:function(e){return e||"shortdateshorttime"},_is24HourFormat:function(){return a.is24HourFormat(this.getDisplayFormat(this.dateBox.option("displayFormat")))},_renderWidget:function(){this.callBase(),this._timeView=this.dateBox._createComponent(i("<div>"),s,{value:this.dateBoxValue(),_showClock:!this._isShrinkView(),use24HourFormat:this._is24HourFormat(),onValueChanged:this._valueChangedHandler.bind(this),stylingMode:this.dateBox.option("stylingMode")}),this._timeView.registerKeyHandler("escape",this._escapeHandler.bind(this))},renderOpenedState:function(){this.callBase();var e=this._getPopup();e&&e._wrapper().toggleClass("dx-datebox-adaptivity-mode",this._isSmallScreen()),clearTimeout(this._repaintTimer),this._repaintTimer=setTimeout((function(){this._getPopup()&&this._getPopup().repaint()}).bind(this),0)},isAdaptivityChanged:function(){var e=this._isShrinkView(),t=this._currentAdaptiveMode;return e!==t?(this._currentAdaptiveMode=e,void 0!==t):this.callBase()},_updateValue:function(e){var t=this.dateBoxValue();t||e||(t=new Date,u.normalizeTime(t)),this.callBase(),this._timeView&&(t&&this._timeView.option("value",t),this._timeView.option("use24HourFormat",this._is24HourFormat()))},_isSmallScreen:function(){return i(r).width()<=573},_isShrinkView:function(){return!this.dateBox.option("showAnalogClock")||this.dateBox.option("adaptivityEnabled")&&this._isSmallScreen()},_getBoxItems:function(){var e=[{ratio:0,shrink:0,baseSize:"auto",name:"calendar"}];return this._isShrinkView()||e.push({ratio:0,shrink:0,baseSize:"auto",name:"time"}),e},renderPopupContent:function(){this.callBase(),this._currentAdaptiveMode=this._isShrinkView();var e=this._getPopup().$content();this._box=this.dateBox._createComponent(i("<div>").appendTo(e),c,{direction:"row",crossAlign:"start",items:this._getBoxItems(),itemTemplate:(function(e){var t=i("<div>");switch(e.name){case"calendar":t.append(this._widget.$element()),this._isShrinkView()&&t.append(this._timeView.$element());break;case"time":t.append(this._timeView.$element())}return t}).bind(this)}),this._attachTabHandler()},popupConfig:function(e){var t=this.callBase(e);return l(t,{onShowing:(function(){if("fallback"===this._box.option("_layoutStrategy")){var e=this._getPopup().$content().find(".dx-timeview-clock").css("minWidth");this._timeView.$element().css("maxWidth",e)}}).bind(this)})},getFirstPopupElement:function(){return this._timeView._hourBox.$element().find("input")},_attachTabHandler:function(){var e=this.dateBox;this._timeView._hourBox.registerKeyHandler("tab",(function(t){t.shiftKey&&(t.preventDefault(),e.focus())}))},_preventFocusOnPopup:function(e){i(e.target).hasClass("dx-texteditor-input")||(this.callBase.apply(this,arguments),this.dateBox._hasFocusClass()||this.dateBox.focus())},getValue:function(){var e=this._widget.option("value"),t=this._timeView.option("value");return(e=e?new Date(e):new Date).setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e},dispose:function(){clearTimeout(this._removeMinWidthTimer),clearTimeout(this._repaintTimer),this.callBase()}});e.exports=d},"H/Lu":function(e,t,n){"use strict";var i,r=n("cGv3"),o=n("l6YY"),s={_renderCore:function(){var e=this,t=e._scrollLeft;e.callBase.apply(e,arguments),e._columnsController.isVirtualMode()&&t>=0&&(e._scrollLeft=0,e.scrollTo({left:t}))}},a=(i=function(e){return e.map((function(e){return e.visibleWidth||parseFloat(e.width)||50}))},{init:function(){this.callBase(),this._beginPageIndex=0,this._endPageIndex=0,this._position=0,this._virtualVisibleColumns={}},resetColumnsCache:function(){this.callBase(),this._virtualVisibleColumns={}},getBeginPageIndex:function(e){for(var t=this.getVisibleColumns(void 0,!0),n=i(t),r=0,o=0;o<n.length;o++){if(r>=e)return Math.floor(o/this.getColumnPageSize());r+=n[o]}return 0},getTotalWidth:function(){var e=this.option("width");return"number"==typeof e?e:this.getController("resizing")._lastWidth||this.component.$element().outerWidth()},getEndPageIndex:function(e){var t=this.getVisibleColumns(void 0,!0),n=i(t),r=0;e+=this.getTotalWidth();for(var o=0;o<n.length;o++){if(r>=e)return Math.ceil(o/this.getColumnPageSize());r+=n[o]}return Math.ceil(n.length/this.getColumnPageSize())},getColumnPageSize:function(){return this.option("scrolling.columnPageSize")},_fireColumnsChanged:function(){var e=new Date;this.columnsChanged.fire({optionNames:{all:!0,length:1},changeTypes:{columns:!0,length:1}}),this._renderTime=new Date-e},setScrollPosition:function(e){var t=this,n=t.option("scrolling.columnRenderingThreshold");t._renderTime>n?(clearTimeout(t._changedTimeout),t._changedTimeout=setTimeout((function(){t._setScrollPositionCore(e)}),t.option("scrolling.timeout"))):t._setScrollPositionCore(e)},isVirtualMode:function(){return(0,r.hasWindow)()&&"virtual"===this.option("scrolling.columnRenderingMode")},resize:function(){this._setScrollPositionCore(this._position)},_setScrollPositionCore:function(e){if(this.isVirtualMode()){var t=this.getBeginPageIndex(e),n=this.getEndPageIndex(e),i=e<this._position?this._beginPageIndex>t:this._endPageIndex<n;this._position=e,i&&(this._beginPageIndex=t,this._endPageIndex=n,this._fireColumnsChanged())}},getFixedColumns:function(e,t){var n=this.callBase(e);if(this.isVirtualMode()&&!t&&n.length){var i=n.map((function(e){return e.command})).indexOf("transparent");return n[i].colspan=this.getVisibleColumns().length-this.callBase().length+1,n}return n},getVisibleColumns:function(e,t){if(t||!this.isVirtualMode())return this.callBase(e);this._beginPageIndex||this._endPageIndex||(this._beginPageIndex=this.getBeginPageIndex(this._position),this._endPageIndex=this.getEndPageIndex(this._position));var n=this._beginPageIndex,r=this._endPageIndex,s=e+"-"+n+"-"+r;if(this._virtualVisibleColumns[s])return this._virtualVisibleColumns[s];var a=this.callBase(),l=this.getRowCount(),c=this.getColumnPageSize(),u=n*c,d=r*c,h=this.getFixedColumns(void 0,!0),p=h.map((function(e){return e.command})).indexOf("transparent"),f=h.length?p:0,m=a.slice(0,f),g=a.slice(f,u),_=i(g).reduce((function(e,t){return e+t}),0);_||(u=0);var b=h.length?h.length-p-1:0,v=a.slice(a.length-b),y=a.slice(d,a.length-b),w=i(y).reduce((function(e,t){return e+t}),0);if(w||(d=a.length),l>1&&"number"==typeof e){for(var C=[],x=0;x<l;x++)C.push(this.callBase(x));m=(0,o.createColumnsInfo)(C,0,m.length)[e]||[],v=(0,o.createColumnsInfo)(C,a.length-v.length,a.length)[e]||[],a=(0,o.createColumnsInfo)(C,u,d)[e]||[]}else a=a.slice(u,d);return _&&(a.unshift({command:"virtual",width:_}),a=m.concat(a)),w&&(a.push({command:"virtual",width:w}),a=a.concat(v)),this._virtualVisibleColumns[s]=a,a},dispose:function(){clearTimeout(this._changedTimeout),this.callBase.apply(this,arguments)}});e.exports={defaultOptions:function(){return{scrolling:{columnRenderingMode:"standard",columnPageSize:5,columnRenderingThreshold:300}}},extenders:{controllers:{columns:a}
1,views:{columnHeadersView:s,footerView:s,rowsView:{_resizeCore:function(){this.callBase.apply(this,arguments),this._columnsController.resize()},_handleScroll:function(e){var t=this,n=this.getScrollable(),i=e.scrollOffset.left;t.callBase.apply(t,arguments),t.option("rtlEnabled")&&n&&(i=n.$content().width()-n.$element().width()-i),t._columnsController.setScrollPosition(i)}}}}}},H3YS:function(e,t,n){"use strict";var i=u(n("FKN7")),r=u(n("GYHJ")),o=n("zl3R"),s=n("8S5z"),a=n("KAnu"),l=n("ti0F"),c=n("tJvG");function u(e){return e&&e.__esModule?e:{default:e}}t.FocusController=r.default.ViewController.inherit({init:function(){this._dataController=this.getController("data"),this._keyboardController=this.getController("keyboardNavigation"),this.component._optionsByReference.focusedRowKey=!0},optionChanged:function(e){if("focusedRowIndex"===e.name){var t=this.option("focusedRowKey");this._focusRowByIndex(e.value),this._triggerFocusedRowChangedIfNeed(t,e.value),e.handled=!0}else if("focusedRowKey"===e.name){var n=this.option("focusedRowIndex");this._focusRowByKey(e.value),this._triggerFocusedRowChangedIfNeed(e.value,n),e.handled=!0}else"focusedColumnIndex"===e.name||"focusedRowEnabled"===e.name||"autoNavigateToFocusedRow"===e.name?e.handled=!0:this.callBase(e)},_triggerFocusedRowChangedIfNeed:function(e,t){if(t===this.getFocusedRowIndexByKey(e)){var n=this._dataController.getRowIndexByKey(e);if(n>=0){var r=(0,i.default)(this.getView("rowsView").getRowElement(n));this.getController("keyboardNavigation")._fireFocusedRowChanged(r,t)}}},isAutoNavigateToFocusedRow:function(){return"infinite"!==this.option("scrolling.mode")&&this.option("autoNavigateToFocusedRow")},_focusRowByIndex:function(e){this.option("focusedRowEnabled")&&((e=void 0!==e?e:this.option("focusedRowIndex"))<0?this.isAutoNavigateToFocusedRow()&&this._resetFocusedRow():this._focusRowByIndexCore(e))},_focusRowByIndexCore:function(e){var t=this,n=this.getController("data"),i=n.pageSize(),r=function(){if(t._isValidFocusedRowIndex(e)){var i=e-n.getRowIndexOffset(),r=n._getLastItemIndex(),o=Math.min(i,r),s=n.getKeyByRowIndex(o);void 0===s||t.isRowFocused(s)||t.option("focusedRowKey",s)}};if(i>=0)if(this._isLocalRowIndex(e))r();else{var o=Math.floor(e/n.pageSize());(0,c.when)(n.pageIndex(o),n.waitReady()).done((function(){r()}))}},_isLocalRowIndex:function(e){var t=this.getController("data");if(this.getController("keyboardNavigation")._isVirtualScrolling()){var n=Math.floor(e/t.pageSize()),i=t.virtualItemsCount(),r=i?i.begin:-1,o=t.getVisibleRows().length+t.getRowIndexOffset(),s=Math.ceil(o/t.pageSize());return r<=e&&s>n}return!0},_setFocusedRowKeyByIndex:function(e){var t=this.getController("data");if(this._isValidFocusedRowIndex(e)){var n=Math.min(e-t.getRowIndexOffset(),t.items().length-1),i=t.getKeyByRowIndex(n);void 0===i||this.isRowFocused(i)||this.option("focusedRowKey",i)}},_focusRowByKey:function(e){void 0===e?this._resetFocusedRow():this._navigateToRow(e,!0)},_resetFocusedRow:function(){if(!(void 0===this.option("focusedRowKey")&&this.option("focusedRowIndex")<0)){var e=this.getController("keyboardNavigation");this.option("focusedRowKey",void 0),e.setFocusedRowIndex(-1),this.option("focusedRowIndex",-1),this.getController("data").updateItems({changeType:"updateFocusedRow",focusedRowKey:void 0}),e._fireFocusedRowChanged(void 0,-1)}},_isValidFocusedRowIndex:function(e){var t=this.getController("data").getVisibleRows()[e];return!t||"data"===t.rowType||"group"===t.rowType},publicMethods:function(){return["navigateToRow","isRowFocused"]},navigateToRow:function(e){this.isAutoNavigateToFocusedRow()||this.option("focusedRowIndex",-1),this._navigateToRow(e)},_navigateToRow:function(e,t){var n=this,i=n.getController("data"),r=n.isAutoNavigateToFocusedRow(),o=new c.Deferred;if(void 0===e||!i.dataSource())return o.reject().promise();var s=n.getFocusedRowIndexByKey(e),a=i.getDataSource().paginate();return!r&&t||!a||s>=0?n._navigateTo(e,o,t):i.getPageIndexByKey(e).done((function(r){r<0?o.resolve(-1):r===i.pageIndex()?i.reload().done((function(){n.isRowFocused(e)?o.resolve(n.getFocusedRowIndexByKey(e)):n._navigateTo(e,o,t)})).fail(o.reject):i.pageIndex(r).done((function(){n._navigateTo(e,o,t)})).fail(o.reject)})).fail(o.reject),o.promise()},_navigateTo:function(e,t,n){var i=this.getController("data").getRowIndexByKey(e),r="virtual"===this.option("scrolling.rowRenderingMode");this.isAutoNavigateToFocusedRow()&&r&&i<0?this._navigateToVirtualRow(e,t,n):this._navigateToVisibleRow(e,t,n)},_navigateToVisibleRow:function(e,t,n){n?this._triggerUpdateFocusedRow(e,t):this.getView("rowsView").scrollToRowElement(e)},_navigateToVirtualRow:function(e,t,n){var i=this,r=this.getController("data"),o=r._rowsScrollController,a=(0,s.getIndexByKey)(e,r.items(!0)),l=i.getView("rowsView").getScrollable();if(o&&l&&a>=0){var c=a+r.getRowIndexOffset()-r.getRowIndexDelta(),u=o.getItemOffset(c);
1n&&i.component.on("contentReady",(function n(){i.component.off("contentReady",n),i._triggerUpdateFocusedRow(e,t)})),l.scrollTo({y:u})}},_triggerUpdateFocusedRow:function(e,t){var n=this.getController("data"),i=this.getFocusedRowIndexByKey(e);this._isValidFocusedRowIndex(i)?(this.option("focusedRowEnabled")?n.updateItems({changeType:"updateFocusedRow",focusedRowKey:e}):this.getView("rowsView").scrollToRowElement(e),this.getController("keyboardNavigation").setFocusedRowIndex(i),t&&t.resolve(i)):t&&t.resolve(-1)},getFocusedRowIndexByKey:function(e){var t=this.getController("data"),n=t.getRowIndexByKey(e);return n>=0?n+t.getRowIndexOffset():-1},_focusRowByKeyOrIndex:function(){var e=this,t=this.option("focusedRowKey"),n=this.option("focusedRowIndex"),i=this.getController("keyboardNavigation"),r=this.getController("data");if(void 0!==t){var o=r.getRowIndexByKey(t);o>=0?(i._isVirtualScrolling()&&(n=o+r.getRowIndexOffset()),i.setFocusedRowIndex(n),this._triggerUpdateFocusedRow(t)):this._navigateToRow(t,!0).done((function(t){n>=0&&t<0&&e._focusRowByIndex()}))}else n>=0&&this.getController("focus")._focusRowByIndex(n)},isRowFocused:function(e){if(void 0!==this.option("focusedRowKey"))return(0,a.equalByValue)(e,this.option("focusedRowKey"))},updateFocusedRow:function(e){var t,n=this,r=n._dataController.getRowIndexByKey(e.focusedRowKey),s=n.getView("rowsView");(0,o.each)(s.getTableElements(),(function(o,s){var a=0===o;t=(0,i.default)(s),n._clearPreviousFocusedRow(t,r),n._prepareFocusedRow({changedItem:e.items[r],$tableElement:t,focusedRowIndex:r,isMainTable:a})}))},_clearPreviousFocusedRow:function(e,t){var n=this,r=e.find(".dx-row.dx-row-focused").filter((function(t,r){var o=(0,i.default)(r).closest(".".concat(n.addWidgetPrefix("table")));return e.is(o)}));r.removeClass("dx-row-focused").removeClass("dx-cell-focus-disabled").removeAttr("tabindex"),r.children("td").removeAttr("tabindex"),0!==t&&(0,i.default)(this.getView("rowsView").getRowElement(0)).removeClass("dx-cell-focus-disabled").removeAttr("tabIndex")},_prepareFocusedRow:function(e){var t,n=e.changedItem;if(n&&("data"===n.rowType||"group"===n.rowType)){var r=e.focusedRowIndex,o=e.$tableElement,s=e.isMainTable,a=this.option("tabindex")||0,l=this.getView("rowsView");(t=(0,i.default)(l._getRowElements(o).eq(r))).addClass("dx-row-focused").attr("tabindex",a),s&&l.scrollToElementVertically(t)}return t}}),e.exports={defaultOptions:function(){return{focusedRowEnabled:!1,autoNavigateToFocusedRow:!0,focusedRowKey:void 0,focusedRowIndex:-1,focusedColumnIndex:-1}},controllers:{focus:t.FocusController},extenders:{controllers:{keyboardNavigation:{init:function(){var e=this.option("focusedRowIndex"),t=this.option("focusedColumnIndex");this.createAction("onFocusedRowChanging",{excludeValidators:["disabled","readOnly"]}),this.createAction("onFocusedRowChanged",{excludeValidators:["disabled","readOnly"]}),this.createAction("onFocusedCellChanging",{excludeValidators:["disabled","readOnly"]}),this.createAction("onFocusedCellChanged",{excludeValidators:["disabled","readOnly"]}),this.callBase(),this.setRowFocusType(),this._focusedCellPosition={},(0,l.isDefined)(e)&&(this._focusedCellPosition.rowIndex=this.option("focusedRowIndex")),(0,l.isDefined)(t)&&(this._focusedCellPosition.columnIndex=this.option("focusedColumnIndex"))},setFocusedRowIndex:function(e){this.callBase(e);var t=this.getController("data").getVisibleRows()[e];t&&t.isNewRow||this.option("focusedRowIndex",e)},setFocusedColumnIndex:function(e){this.callBase(e),this.option("focusedColumnIndex",e)},_escapeKeyHandler:function(e,t){!t&&this.option("focusedRowEnabled")?this.isCellFocusType()&&(this.setRowFocusType(),this._focus(this._getCellElementFromTarget(e.originalEvent.target),!0)):this.callBase(e,t)},_updateFocusedCellPosition:function(e,t){var n=this.option("focusedRowIndex"),i=this.option("focusedColumnIndex"),r=this.callBase(e,t);r&&r.columnIndex>=0&&this._fireFocusedCellChanged(e,i,n)}},editorFactory:{renderFocusOverlay:function(e,t){var n,i=this.getController("keyboardNavigation"),r=this.option("focusedRowEnabled"),o=this.getController("editing"),s="row"===i._getElementType(e);r&&i.isRowFocusType()&&!o.isEditing()?r&&s&&!e.hasClass("dx-row-focused")&&(n=i.getFirstValidCellInRow(e),i.focus(n)):this.callBase(e,t)}},columns:{getSortDataSourceParameters:function(e,t){var n=this,i=this.callBase.apply(this,arguments),r=this.getController("data"),o=r._dataSource,s=r.store(),a=s&&s.key(),l=o&&o.remoteOperations()||{},c=Object.keys(l).every((function(e){return!l[e]}));if(a&&(this.option("focusedRowEnabled")&&!1!==this.getController("focus").isAutoNavigateToFocusedRow()||t)){var u=(a=Array.isArray(a)?a:[a]).filter((function(e){return!n.columnOption(e,"sortOrder")}));u.length&&(i=i||[],c?i.push({selector:o.getDataIndexGetter(),desc:!1}):u.forEach((function(e){return i.push({selector:e,desc:!1})})))}return i}},data:{_applyChange:function(e){if(!e||"updateFocusedRow"!==e.changeType)return this.callBase.apply(this,arguments)},_fireChanged:function(e){if(this.callBase(e),this.option("focusedRowEnabled")&&this._dataSource){var t="update"===e.changeType&&e.repaintChangesOnly&&e.changeTypes&&e.changeTypes.indexOf("remove")>=0;"refresh"===e.changeType&&e.items.length||t?this.processUpdateFocusedRow():"append"!==e.changeType&&"prepend"!==e.changeType||this._updatePageIndexes()}},_updatePageIndexes:function(){this._lastPageIndex=this.pageIndex(),this._lastRenderingPageIndex=this._rowsScrollController?this._rowsScrollController.pageIndex():0},processUpdateFocusedRow:function(){var e=this._lastPageIndex,t=this._lastRenderingPageIndex||0;this._updatePageIndexes();var n=void 0!==e&&e!==this._lastPageIndex,i=this._lastRenderingPageIndex!==t,r=this._dataSource.operationTypes()||{},o=this.getController("focus"),s=r.reload,a=this.getController("keyboardNavigation")._isVirtualScrolling(),l=this.option("focusedRowKey"),c=o.isAutoNavigateToFocusedRow();if(s&&void 0!==l)o._navigateToRow(l,!0).done((function(e){e<0&&o._focusRowByIndex()}));else if(n)if(c){var u=this.getRowIndexByKey(l),d=u>=0,h=this.option("focusedRowIndex");!a&&h>=0&&(h===u||!d)&&o._focusRowByIndex()}else!a&&this.getRowIndexByKey(l)<0&&this.option("focusedRowIndex",-1);else i||o._focusRowByKeyOrIndex()},getPageIndexByKey:function(e){var t=this,n=new c.Deferred;return t.getGlobalRowIndexByKey(e).done((function(e){n.resolve(e>=0?Math.floor(e/t.pageSize()):-1)})).fail(n.reject),n.promise()},getGlobalRowIndexByKey:function(e){return this._dataSource.group()?this._calculateGlobalRowIndexByGroupedData(e):this._calculateGlobalRowIndexByFlatData(e)},_calculateGlobalRowIndexByFlatData:function(e,t,n){var i=this,r=new c.Deferred,o=i._dataSource,s=i._generateFilterByKey(e);return o.load({filter:i._concatWithCombinedFilter(s),skip:0,take:1}).done((function(a){a.length>0?(s=i._generateOperationFilterByKey(e,a[0],n),o.load({filter:i._concatWithCombinedFilter(s,t),skip:0,take:1,requireTotalCount:!0}).done((function(e,t){r.resolve(t.totalCount)}))):r.resolve(-1)})),r.promise()},_concatWithCombinedFilter:function(e,t){var n=this.getCombinedFilter();return(0,s.combineFilters)([e,n,t])},_generateBooleanFilter:function(e,t,n){var i;return!1===t?i=[e,"=",!!n.desc||null]:(!0===t?!n.desc:n.desc)&&(i=[e,"<>",t]),i},_generateOperationFilterByKey:function(e,t,n){var i=this,r=i._dataSource,o=i._generateFilterByKey(e,"<"),s=i._columnsController.getSortDataSourceParameters(!r.remoteOperations().filtering,!0);if(n){var a=i._columnsController.getGroupDataSourceParameters(!r.remoteOperations().filtering);a&&(s=s?a.concat(s):a)}
1return s&&s.slice().reverse().forEach((function(e){var n,r=e.selector,s=(n="function"==typeof r?r:i._columnsController.columnOption(r,"selector"))?n(t):t[r];if(o=[[r,"=",s],"and",o],null===s||(0,l.isBoolean)(s)){var a=i._generateBooleanFilter(r,s,e);a&&(o=[a,"or",o])}else o=[[r,e.desc?">":"<",s],"or",o]})),o},_generateFilterByKey:function(e,t){var n=this._dataSource.key(),i=[];if(t||(t="="),Array.isArray(n))for(var r=0;r<n.length;++r){var o=e[n[r]];o&&(i.length>0&&i.push("and"),i.push([n[r],t,o]))}else i=[n,t,e];return i},_getLastItemIndex:function(){return this.items(!0).length-1}}},views:{rowsView:{_createRow:function(e){var t=this.callBase(e);return this.option("focusedRowEnabled")&&e&&this.getController("focus").isRowFocused(e.key)&&t.addClass("dx-row-focused"),t},_checkRowKeys:function(e){if(this.callBase.apply(this,arguments),this.option("focusedRowEnabled")&&this.option("dataSource")){var t=this._dataController.store();t&&!t.key()&&this._dataController.fireError("E1042","Row focusing")}},_update:function(e){"updateFocusedRow"===e.changeType?this.option("focusedRowEnabled")&&this.getController("focus").updateFocusedRow(e):this.callBase(e)},updateFocusElementTabIndex:function(e){this.option("focusedRowEnabled")?this._setFocusedRowElementTabIndex():this.callBase(e)},_setFocusedRowElementTabIndex:function(){var e=this,t=e.option("focusedRowKey"),n=e.option("tabIndex")||0,i=e._dataController.getRowIndexByKey(t),r=e.option("focusedColumnIndex"),o=e._findRowElementForTabIndex();if(e._scrollToFocusOnResize=e._scrollToFocusOnResize||function(){e.scrollToElementVertically(e._findRowElementForTabIndex()),e.resizeCompleted.remove(e._scrollToFocusOnResize)},o.attr("tabIndex",n),i>=0){r<0&&(r=0),i+=e.getController("data").getRowIndexOffset(),e.getController("keyboardNavigation").setFocusedCellPosition(i,r);var s=e.component.getController("data")._dataSource,a=s&&s.operationTypes();a&&!a.paging&&(e.resizeCompleted.remove(e._scrollToFocusOnResize),e.resizeCompleted.add(e._scrollToFocusOnResize))}},_findRowElementForTabIndex:function(){var e=this.option("focusedRowKey"),t=this._dataController.getRowIndexByKey(e);return(0,i.default)(this.getRowElement(t>=0?t:0))},scrollToRowElement:function(e){var t=this.getController("data").getRowIndexByKey(e),n=(0,i.default)(this.getRow(t));this.scrollToElementVertically(n)},scrollToElementVertically:function(e){var t=this.getScrollable();if(t){var n=t.getScrollElementPosition(e,"vertical");t.scrollTo({top:n})}}}}}}},H8ED:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".
1split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HBNF:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cYys"),o=n("YQNt"),s=n("JDOJ"),a=n("Ovs1"),l=n("XWCB"),c=n("tJvG").Deferred,u=a.inherit({_init:function(e){this.callBase(e),this._$topPocket=e._$topPocket,this._$bottomPocket=e._$bottomPocket,this._$pullDown=e._$pullDown,this._$scrollViewContent=e.content(),this._initCallbacks(),this._location=0},_initCallbacks:function(){this.pullDownCallbacks=r(),this.releaseCallbacks=r(),this.reachBottomCallbacks=r()},render:function(){this.callBase(),this._renderPullDown(),this._releaseState()},_renderPullDown:function(){var e=i("<div>").addClass("dx-scrollview-pull-down-indicator"),t=new l(i("<div>")).$element();this._$icon=i("<div>").addClass("dx-icon-pulldown"),this._$pullDown.empty().append(this._$icon).append(e.append(t))},_releaseState:function(){this._state=0,this._releasePullDown(),this._updateDimensions()},_releasePullDown:function(){this._$pullDown.css({opacity:0})},_updateDimensions:function(){this.callBase(),this._topPocketSize=this._$topPocket.height(),this._bottomPocketSize=this._$bottomPocket.height(),this._scrollOffset=this._$container.height()-this._$content.height()},_allowedDirections:function(){var e=this.callBase();return e.vertical=e.vertical||this._pullDownEnabled,e},handleInit:function(e){this.callBase(e),0===this._state&&0===this._location&&(this._startClientY=s.eventData(e.originalEvent).y,this._state=4)},handleMove:function(e){this.callBase(e),this._deltaY=s.eventData(e.originalEvent).y-this._startClientY,4===this._state&&(this._pullDownEnabled&&this._deltaY>0?this._state=5:this._complete()),5===this._state&&(e.preventDefault(),this._movePullDown())},_movePullDown:function(){var e=this._getPullDownHeight(),t=Math.min(3*e,this._deltaY+this._getPullDownStartPosition()),n=180*t/e/3;this._$pullDown.css({opacity:1}).toggleClass("dx-scrollview-pull-down-refreshing",t<e),o.move(this._$pullDown,{top:t}),this._$icon.css({transform:"rotate("+n+"deg)"})},_isPullDown:function(){return this._pullDownEnabled&&5===this._state&&this._deltaY>=this._getPullDownHeight()-this._getPullDownStartPosition()},_getPullDownHeight:function(){return Math.round(.05*this._$element.outerHeight())},_getPullDownStartPosition:function(){return-Math.round(1.5*this._$pullDown.outerHeight())},handleEnd:function(){this._isPullDown()&&this._pullDownRefreshing(),this._complete()},handleStop:function(){this._complete()},_complete:function(){4!==this._state&&5!==this._state||this._releaseState()},handleScroll:function(e){if(this.callBase(e),2!==this._state){var t=this.location().top,n=this._location-t;this._location=t,n>0&&this._isReachBottom()?this._reachBottom():this._stateReleased()}},_isReachBottom:function(){return this._reachBottomEnabled&&this._location<=this._scrollOffset+this._bottomPocketSize},_reachBottom:function(){this.reachBottomCallbacks.fire()},_stateReleased:function(){0!==this._state&&(this._$pullDown.removeClass("dx-scrollview-pull-down-loading"),this._releaseState())},_pullDownRefreshing:function(){this._state=2,this._pullDownRefreshHandler()},_pullDownRefreshHandler:function(){this._refreshPullDown(),this.pullDownCallbacks.fire()},_refreshPullDown:function(){this._$pullDown.addClass("dx-scrollview-pull-down-loading"),o.move(this._$pullDown,{top:this._getPullDownHeight()})},pullDownEnable:function(e){this._$topPocket.toggle(e),this._pullDownEnabled=e},reachBottomEnable:function(e){this._reachBottomEnabled=e},pendingRelease:function(){this._state=1},release:function(){var e=new c;return this._updateDimensions(),clearTimeout(this._releaseTimeout),this._releaseTimeout=setTimeout((function(){this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),e.resolve()}).bind(this),800),e.promise()},dispose:function(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),this.callBase()}});e.exports=u},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("7o/Q"),r=n("2QA8"),o=n("gRHU"),s=n("kJWO"),a=n("mCNh"),l=n("2fFW");let c=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:s}=this,a=function(e,t,n){if(e){if(e instanceof i.a)return e;
1if(e[r.a])return e[r.a]()}return e||t||n?new i.a(e,t,n):new i.a(o.a)}(e,t,n);if(a.add(s?s.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof i.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=u(t))((t,n)=>{let i;i=this.subscribe(t=>{try{e(t)}catch(r){n(r),i&&i.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[s.a](){return this}pipe(...e){return 0===e.length?this:Object(a.b)(e)(this)}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HFVy:function(e,t,n){"use strict";e.exports=n("FYXg"),e.exports.default=e.exports},HP3h:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,r,o,s){var a=n(t),l=i[e][n(t)];return 2===a&&(l=l[r?0:1]),l.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HZnW:function(e,t,n){"use strict";var i=x(n("FKN7")),r=x(n("tUd6")),o=n("cGv3"),s=x(n("jeLr")),a=x(n("1B4V")),l=x(n("T4bj")),c=x(n("XCcL")),u=x(n("7j00")),d=x(n("uHaw")),h=n("KAnu"),p=x(n("m6TM")),f=n("v4HY"),m=x(n("ti0F")),g=x(n("zl3R")),_=n("1LL4"),b=n("XgSC"),v=x(n("GYHJ")),y=n("8S5z"),w=x(n("oyr6")),C=n("tJvG");
1function x(e){return e&&e.__esModule?e:{default:e}}var S={render:function(e){e.container.append(e.content)}},k=function(e){return"auto"===e?"":m.default.isNumeric(e)?e+"px":e},T=function(e,t,n){e.style.width=e.style.maxWidth="auto"===t.width?"":n};t.ColumnsView=v.default.View.inherit(w.default).inherit({_createScrollableOptions:function(){var e=this.option("scrolling"),t=this.option("scrolling.useNative"),n=(0,_.extend)({pushBackValue:0},e,{direction:"both",bounceEnabled:!1,useKeyboard:!1});return void 0===t&&(t=!0),"auto"===t?(delete n.useNative,delete n.useSimulatedScrollbar):(n.useNative=!!t,n.useSimulatedScrollbar=!t),n},_updateCell:function(e,t){t.rowType&&this._cellPrepared(e,t)},_createCell:function(e){var t=e.column,n=t.alignment||(0,b.getDefaultAlignment)(this.option("rtlEnabled")),o=r.default.createElement("td");o.style.textAlign=n;var s=(0,i.default)(o);return"data"===e.rowType&&t.headerId&&!t.type&&this.component.option("showColumnHeaders")&&this.setAria("describedby",t.headerId,s),t.cssClass&&s.addClass(t.cssClass),"expand"===t.command&&(s.addClass(t.cssClass),s.addClass(this.addWidgetPrefix("group-space"))),t.colspan>1?s.attr("colSpan",t.colspan):t.isBand||"auto"===t.visibleWidth||this.option("legacyRendering")||!this.option("columnAutoWidth")||((t.width||t.minWidth)&&(o.style.minWidth=k(t.minWidth||t.width)),t.width&&T(o,t,k(t.width))),s},_createRow:function(e){var t=(0,i.default)("<tr>").addClass("dx-row");return this.setAria("role","row",t),t},_isAltRow:function(e){return e&&e.dataIndex%2==1},_createTable:function(e,t){var n=this,r=(0,i.default)("<table>").addClass(n.addWidgetPrefix("table")).addClass(n.addWidgetPrefix("table-fixed"));if(e&&!t?(r.append(n._createColGroup(e)),d.default.safari&&r.append((0,i.default)("<thead>").append("<tr>")),n.setAria("role","presentation",r)):n.setAria("hidden",!0,r),this.setAria("role","presentation",(0,i.default)("<tbody>").appendTo(r)),t)return r;d.default.mozilla&&s.default.on(r,"mousedown","td",(function(e){e.ctrlKey&&e.preventDefault()})),n.option("cellHintEnabled")&&s.default.on(r,"mousemove",".dx-row > td",this.createAction((function(e){var t=e.event,r=(0,i.default)(t.target),o=(0,i.default)(t.currentTarget),s=o.parent(),a=s.hasClass("dx-data-row"),l=s.hasClass("dx-header-row"),c=s.hasClass("dx-group-row"),u=s.hasClass("dx-master-detail-row"),h=s.hasClass(n.addWidgetPrefix("filter-row")),p=n._columnsController.getVisibleColumns(),f=s.data("options"),g=o.index(),_=f&&f.cells&&f.cells[g],b=_?_.column:p[g],v=d.default.msie?1:0;u||h||a&&(!a||!b||b.cellTemplate)||l&&(!l||!b||b.headerCellTemplate)||c&&(!c||!b||void 0!==b.groupIndex&&b.groupCellTemplate)||(r.data("dxCellHintVisible")&&(r.removeAttr("title"),r.data("dxCellHintVisible",!1)),r[0].scrollWidth-r[0].clientWidth-v>0&&!m.default.isDefined(r.attr("title"))&&(r.attr("title",r.text()),r.data("dxCellHintVisible",!0)))})));var o=function(e){var t=(0,i.default)(e.currentTarget),r=(0,i.default)(e.target).closest(".dx-field-item-content"),o=t.parent().data("options"),s=o&&o.cells&&o.cells[t.index()];if(t.closest("table").is(e.delegateTarget)){var a=(0,_.extend)({},s,{cellElement:(0,f.getPublicElement)(t),event:e,eventType:e.type});if(r.length){var l=r.data("dx-form-item");l.column&&(a.column=l.column,a.columnIndex=n._columnsController.getVisibleIndex(a.column.index))}return a}};return s.default.on(r,"mouseover",".dx-row > td",(function(e){var t=o(e);t&&n.executeAction("onCellHoverChanged",t)})),s.default.on(r,"mouseout",".dx-row > td",(function(e){var t=o(e);t&&n.executeAction("onCellHoverChanged",t)})),s.default.on(r,c.default.name,".dx-row > td",(function(e){var t=o(e);t&&n.executeAction("onCellClick",t)})),s.default.on(r,u.default.name,".dx-row > td",(function(e){var t=o(e);t&&n.executeAction("onCellDblClick",t)})),function(e,t){var n,r,o;function a(e){return setTimeout((function(){n=r=null}),e)}s.default.on(t,"touchstart touchend",".dx-row",(function(e){clearTimeout(o),"touchstart"===e.type?(n=e.target,r=e.currentTarget,o=a(1e3)):o=a()})),s.default.on(t,[c.default.name,u.default.name,l.default.down].join(" "),".dx-row",{useNative:e._isNativeClick()},e.createAction((function(t){var o=t.event;n&&(o.target=n,o.currentTarget=r),(0,i.default)(o.target).closest("a").length||(t.rowIndex=e.getRowIndex(o.currentTarget),t.rowIndex>=0&&(t.rowElement=(0,f.getPublicElement)((0,i.default)(o.currentTarget)),t.columns=e.getColumns(),o.type===l.default.down?e._rowPointerDown(t):o.type===c.default.name?e._rowClick(t):e._rowDblClick(t)))})))}(n,r),r},_isNativeClick:h.noop,_rowPointerDown:h.noop,_rowClick:h.noop,_rowDblClick:h.noop,_createColGroup:function(e){for(var t=(0,i.default)("<colgroup>"),n=0;n<e.length;n++)for(var r=e[n].colspan||1,o=0;o<r;o++)t.append(this._createCol(e[n]));return t},_createCol:function(e){var t=e.visibleWidth||e.width;"adaptiveHidden"===t&&(t="0.0001px");var n=(0,i.default)("<col>");return p.default.setWidth(n,t),n},renderDelayedTemplates:function(){var e=this._delayedTemplates,t=e.filter((function(e){return!e.async})),n=e.filter((function(e){return e.async}));this._delayedTemplates=[],this._renderDelayedTemplatesCore(t),this._renderDelayedTemplatesCoreAsync(n)},_renderDelayedTemplatesCoreAsync:function(e){var t=this;e.length&&(0,o.getWindow)().setTimeout((function(){t._renderDelayedTemplatesCore(e,!0)}))},_renderDelayedTemplatesCore:function(e,t){for(var n=new Date;e.length;){var o=e.shift(),s=o.options,a=r.default.getDocument();if(t&&!(0,i.default)(s.container).closest(a).length||o.template.render(s),t&&new Date-n>30){this._renderDelayedTemplatesCoreAsync(e);break}}!e.length&&this._delayedTemplates.length&&this.renderDelayedTemplates()},_processTemplate:function(e){var t;if(e&&e.render&&!m.default.isRenderer(e))t={allowRenderToDetachedContainer:e.allowRenderToDetachedContainer,render:function(t){e.render(t.container,t.model),t.deferred&&t.deferred.resolve()}};else if(m.default.isFunction(e))t={render:function(t){var n=e((0,f.getPublicElement)(t.container),t.model);n&&(n.nodeType||m.default.isRenderer(n))&&t.container.append(n),t.deferred&&t.deferred.resolve()}};else{var n=m.default.isString(e)?e:(0,i.default)(e).attr("id");n?(this._templatesCache[n]||(this._templatesCache[n]=this.getTemplate(e)),t=this._templatesCache[n]):t=this.getTemplate(e)}return t},renderTemplate:function(e,t,n,i){var r=this._processTemplate(t,n),o=n.column,s="data"===n.rowType,a=new C.Deferred,l={container:e,model:n,deferred:a,onRendered:function(){a.resolve()}};if(r){n.component=this.component;var c=o&&(o.renderAsync&&s||this.option("renderAsync")&&(!1!==o.renderAsync&&(o.command||o.showEditorAlways)&&s||"filter"===n.rowType));!r.allowRenderToDetachedContainer&&!i||c?this._delayedTemplates.push({template:r,options:l,async:c}):r.render(l)}else a.reject();return a.promise()},_getBodies:function(e){return(0,i.default)(e).children("tbody").not(".dx-header").not(".dx-footer")},_wrapRowIfNeed:function(e,t){var n=this.option("rowTemplate")&&this._getBodies(this._tableElement||e);
1if(n&&n.filter(".dx-row").length){var r=(0,i.default)("<tbody>").addClass(t.attr("class"));return this.setAria("role","presentation",r),r.append(t)}return t},_appendRow:function(e,t,n){(n=n||S).render({content:t,container:e})},_resizeCore:function(){var e=this._scrollLeft;e>=0&&(this._scrollLeft=0,this.scrollTo({left:e}))},_renderCore:function(e){var t=this.element().parent();t&&!t.parent().length||this.renderDelayedTemplates(e)},_renderTable:function(e){(e=e||{}).columns=this._columnsController.getVisibleColumns();var t=e.change&&e.change.changeType,n=this._createTable(e.columns,"append"===t||"prepend"===t||"update"===t);return this._renderRows(n,e),n},_renderRows:function(e,t){for(var n=this._getRows(t.change),i=t.change&&t.change.columnIndices||[],r=t.change&&t.change.changeTypes||[],o=0;o<n.length;o++)this._renderRow(e,(0,_.extend)({row:n[o],columnIndices:i[o],changeType:r[o]},t))},_renderRow:function(e,t){t.columnIndices||(t.row.cells=[]);var n=this._createRow(t.row),i=this._wrapRowIfNeed(e,n);"remove"!==t.changeType&&this._renderCells(n,t),this._appendRow(e,i);var r=(0,_.extend)({columns:t.columns},t.row);this._addWatchMethod(r,t.row),this._rowPrepared(i,r,t.row)},_needRenderCell:function(e,t){return!t||t.indexOf(e)>=0},_renderCells:function(e,t){for(var n=0,i=t.row,r=t.columns,o=0;o<r.length;o++)this._needRenderCell(o,t.columnIndices)&&this._renderCell(e,(0,_.extend)({column:r[o],columnIndex:n,value:i.values&&i.values[n],oldValue:i.oldValues&&i.oldValues[n]},t)),r[o].colspan>1?n+=r[o].colspan:n++},_updateCells:function(e,t,n){var i=e.children(),r=t.children(),o=this.option("highlightChanges"),s=this.addWidgetPrefix("cell-updated-animation");n.forEach((function(e,t){var n=i.eq(e),a=r.eq(t);n.replaceWith(a),o&&!a.hasClass("dx-command-expand")&&a.addClass(s)})),function(e,t){if(e&&t){var n,i=e.attributes,r=t.attributes;for(n=0;n<i.length;n++){var o=i[n].nodeName;t.hasAttribute(o)||e.removeAttribute(o)}for(n=0;n<r.length;n++)e.setAttribute(r[n].nodeName,r[n].nodeValue)}}(e.get(0),t.get(0))},_setCellAriaAttributes:function(e,t){"freeSpace"!==t.rowType&&(this.setAria("selected",!1,e),this.setAria("role","gridcell",e),this.setAria("colindex",t.columnIndex+1,e))},_renderCell:function(e,t){var n=this._getCellOptions(t);t.columnIndices?t.row.cells&&(t.row.cells[n.columnIndex]=n):t.row.cells.push(n);var i=this._createCell(n);return this._setCellAriaAttributes(i,n),this._renderCellContent(i,n),e.get(0).appendChild(i.get(0)),i},_renderCellContent:function(e,t){var n=this,i=this._getCellTemplate(t);(0,C.when)(!i||this.renderTemplate(e,i,t)).done((function(){n._updateCell(e,t)}))},_getCellTemplate:function(){},_getRows:function(){return[]},_getCellOptions:function(e){var t={column:e.column,columnIndex:e.columnIndex,rowType:e.row.rowType,isAltRow:this._isAltRow(e.row)};return this._addWatchMethod(t),t},_addWatchMethod:function(e,t){if(this.option("repaintChangesOnly")){var n=[];return(t=t||e).watch=t.watch||function(e,i){var r=e(t.data),o=function(n){var o=e(t.data);JSON.stringify(r)!==JSON.stringify(o)&&(n&&i(o,r),r=o)};return n.push(o),function(){var e=n.indexOf(o);e>=0&&n.splice(e,1)}},t.update=t.update||function(t){t&&(this.data=e.data=t.data,this.rowIndex=e.rowIndex=t.rowIndex,this.dataIndex=e.dataIndex=t.dataIndex,this.isExpanded=e.isExpanded=t.isExpanded,e.row&&(e.row=t)),n.forEach((function(e){e(t)}))},t!==e&&(e.watch=t.watch.bind(t)),e}},_cellPrepared:function(e,t){t.cellElement=(0,f.getPublicElement)((0,i.default)(e)),this.executeAction("onCellPrepared",t)},_rowPrepared:function(e,t){a.default.data(e.get(0),"options",t),t.rowElement=(0,f.getPublicElement)(e),this.executeAction("onRowPrepared",t)},_columnOptionChanged:function(e){var t=e.optionNames;if((0,y.checkChanges)(t,["width","visibleWidth"])){var n=this._columnsController.getVisibleColumns(),i=g.default.map(n,(function(e){var t=e.visibleWidth||e.width;return m.default.isDefined(t)?t:"auto"}));this.setColumnWidths({widths:i,optionNames:t})}else this._requireReady||this.render()},getCellIndex:function(e){return e.length?e[0].cellIndex:-1},getTableElements:function(){return this._tableElement||(0,i.default)()},_getTableElement:function(){return this._tableElement},_setTableElement:function(e){this._tableElement=e},optionChanged:function(e){switch(this.callBase(e),e.name){case"cellHintEnabled":case"onCellPrepared":case"onRowPrepared":case"onCellHoverChanged":this._invalidate(!0,!0),e.handled=!0}},init:function(){var e=this;e._scrollLeft=-1,e._columnsController=e.getController("columns"),e._dataController=e.getController("data"),e._delayedTemplates=[],e._templatesCache={},e.createAction("onCellClick"),e.createAction("onRowClick"),e.createAction("onCellDblClick"),e.createAction("onRowDblClick"),e.createAction("onCellHoverChanged",{excludeValidators:["disabled","readOnly"]}
1),e.createAction("onCellPrepared",{excludeValidators:["disabled","readOnly"],category:"rendering"}),e.createAction("onRowPrepared",{excludeValidators:["disabled","readOnly"],category:"rendering",afterExecute:function(t){e._afterRowPrepared(t)}}),e._columnsController.columnsChanged.add(e._columnOptionChanged.bind(e)),e._dataController&&e._dataController.changed.add(e._handleDataChanged.bind(e))},_afterRowPrepared:h.noop,_handleDataChanged:function(){},callbackNames:function(){return["scrollChanged"]},scrollTo:function(e){var t=this.element(),n=t&&t.children("."+this.addWidgetPrefix("scroll-container")).not("."+this.addWidgetPrefix("content-fixed"));m.default.isDefined(e)&&m.default.isDefined(e.left)&&this._scrollLeft!==e.left&&(this._scrollLeft=e.left,n&&n.scrollLeft(e.left))},_wrapTableInScrollContainer:function(e){var t=this,n=(0,i.default)("<div>");return s.default.on(n,"scroll",(function(){var e=n.scrollLeft();e!==t._scrollLeft&&t.scrollChanged.fire({left:e},t.name)})),n.addClass(this.addWidgetPrefix("content")).addClass(this.addWidgetPrefix("scroll-container")).append(e).appendTo(this.element()),this.setAria("role","presentation",n),n},_updateContent:function(e){this._setTableElement(e),this._wrapTableInScrollContainer(e)},_findContentElement:h.noop,_getWidths:function(e){var t,n=[],i=this.option("legacyRendering");return e&&g.default.each(e,(function(e,r){if(t=r.offsetWidth,r.getBoundingClientRect){var o=r.getBoundingClientRect();o.width>t-1&&(t=i?Math.ceil(o.width):o.width)}n.push(t)})),n},getColumnWidths:function(e){var t,n,i=[];if((this.option("forceApplyBindings")||h.noop)(),e=e||this._getTableElement()){t=e.children("tbody").children();for(var r=0;r<t.length;r++){var o=t.eq(r),s="none"!==o.get(0).style.display&&!o.hasClass("dx-state-invisible");if(!o.is(".dx-group-row")&&!o.is(".dx-master-detail-row")&&s){n=o.children("td");break}}i=this._getWidths(n)}return i},getVisibleColumnIndex:function(e,t){return e},setColumnWidths:function(e){var t,n,i,r,o=e.widths,s=e.$tableElement,a=e.columns,l=e.fixed,c=this.option("columnAutoWidth"),u=this.option("legacyRendering");if((s=s||this._getTableElement())&&s.length&&o){r=0,t=s.children("colgroup").children("col"),p.default.setWidth(t,"auto"),a=a||this.getColumns(null,s);for(var d=0;d<a.length;d++){if(!u&&c&&!l&&(n=a[d].width)&&!a[d].command){n=k(n=a[d].visibleWidth||n),i=k(a[d].minWidth||n);for(var h=h||s.children().children(".dx-row").not(".dx-group-row").not(".dx-master-detail-row"),f=0;f<h.length;f++){var g=this.getVisibleColumnIndex(d,f),_=h[f].cells[g];_&&(T(_,a[d],n),_.style.minWidth=i)}}a[d].colspan?r+=a[d].colspan:("adaptiveHidden"===(n=o[r])&&(n="0.0001px"),"number"==typeof n&&(n=n.toFixed(3)+"px"),p.default.setWidth(t.eq(r),m.default.isDefined(n)?n:"auto"),r++)}}},getCellElements:function(e){return this._getCellElementsCore(e)},_getCellElementsCore:function(e){return this._getRowElements().eq(e).children()},_getCellElement:function(e,t){var n,i=this.getCellElements(e),r=this._getVisibleColumnIndex(i,e,t);if(i.length&&r>=0&&(n=i.eq(r)),n&&n.length)return n},_getRowElement:function(e){var t=this,n=(0,i.default)(),r=t.getTableElements();if(g.default.each(r,(function(r,o){n=n.add(t._getRowElements((0,i.default)(o)).eq(e))})),n.length)return n},getCellElement:function(e,t){return(0,f.getPublicElement)(this._getCellElement(e,t))},getRowElement:function(e){var t=this._getRowElement(e),n=[];if(t&&!(0,f.getPublicElement)(t).get)for(var i=0;i<t.length;i++)n.push(t[i]);else n=t;return n},_getVisibleColumnIndex:function(e,t,n){if(m.default.isString(n)){var i=this._columnsController.columnOption(n,"index");return this._columnsController.getVisibleIndex(i)}return n},getColumnElements:function(){},getColumns:function(e){return this._columnsController.getVisibleColumns(e)},getCell:function(e,t){var n,i=t||this._getRowElements();if(i.length>0&&e.rowIndex>=0&&("virtual"!==this.option("scrolling.mode")&&(e.rowIndex=e.rowIndex<i.length?e.rowIndex:i.length-1),(n=this.getCellElements(e.rowIndex))&&n.length>0))return n.eq(n.length>e.columnIndex?e.columnIndex:n.length-1)},getRowsCount:function(){var e=this._getTableElement();return e&&1===e.length?e[0].rows.length:0},_getRowElementsCore:function(e){if(e=e||this._getTableElement()){var t=this.option("rowTemplate")&&e.find("> tbody.dx-row");return t&&t.length?t:e.find("> tbody > .dx-row, > .dx-row")}return(0,i.default)()},_getRowElements:function(e){return this._getRowElementsCore(e)},getRowIndex:function(e){return this._getRowElements().index(e)},getBoundingRect:function(){},getName:function(){}
1,setScrollerSpacing:function(e){var t=this.element(),n=this.option("rtlEnabled");t&&t.css({paddingLeft:n?e:"",paddingRight:n?"":e})},isScrollbarVisible:function(e){var t=this.element(),n=this._tableElement;return!(!t||!n)&&(e?n.outerWidth()-t.width()>0:n.outerHeight()-t.height()>0)}})},HeVg:function(e,t,n){"use strict";var i,r=n("ti0F"),o=(i=n("FKN7"))&&i.__esModule?i:{default:i};e.exports={_applyColumnState:function(e){var t,n,i=this.option("sorting.mode"),s=e.rootElement,a=e.column,l=this._getIndicatorContainer(s);if("sort"===e.name){s.find(".dx-sort").remove(),!l.children().length&&l.remove();var c=("single"===i||"multiple"===i)&&a.allowSorting;return(0,r.isDefined)(a.groupIndex)||!c&&!(0,r.isDefined)(a.sortOrder)||(t="asc"===a.sortOrder?"ascending":"descending",n=this.callBase(e).toggleClass("dx-sort-up","asc"===a.sortOrder).toggleClass("dx-sort-down","desc"===a.sortOrder),this.getController&&!!this.getController("columns").columnOption("sortIndex:1")&&this.option("sorting.showSortIndexes")&&a.sortIndex>=0&&((0,o.default)("<span>").addClass("dx-sort-index-icon").text(a.sortIndex+1).appendTo(n),n.addClass("dx-sort-index")),e.rootElement.addClass(this.addWidgetPrefix("action"))),(0,r.isDefined)(a.sortOrder)?this.setAria("sort",t,s):this.setAria("sort","none",s),n}return this.callBase(e)},_getIndicatorClassName:function(e){return"sort"===e?"dx-sort":"sortIndex"===e?"dx-sort-index-icon":this.callBase(e)},_renderIndicator:function(e){var t=e.column,n=e.container,i=e.indicator;if("sort"===e.name){var o=this.option("rtlEnabled");if((0,r.isDefined)(t.sortOrder)||i&&i.addClass("dx-sort-none"),n.children().length&&(!o&&"left"===e.columnAlignment||o&&"right"===e.columnAlignment))return void n.prepend(i)}this.callBase(e)},_updateIndicator:function(e,t,n){if("sort"!==n||!(0,r.isDefined)(t.groupIndex))return this.callBase.apply(this,arguments)},_getIndicatorElements:function(e,t){var n=this.callBase(e);return t?n:n&&n.not(".dx-sort-none")}}},HlXZ:function(e,t,n){"use strict";var i=c(n("D6VQ")),r=c(n("jeLr")),o=n("KAnu"),s=n("1LL4"),a=c(n("zl3R")),l=c(n("cGV2"));function c(e){return e&&e.__esModule?e:{default:e}}var u=c(n("3wDN")).default.inherit({_getDefaultOptions:function(){return(0,s.extend)(this.callBase(),{focusStateEnabled:!1,noDataText:null})},_setOptionsByReference:function(){this.callBase(),(0,s.extend)(this._optionsByReference,{validationGroup:!0})},_init:function(){this.callBase(),this._initGroupRegistration()},_initGroupRegistration:function(){var e=this.$element(),t=this.option("validationGroup")||l.default.findGroup(e,this._modelByElement(e)),n=l.default.addGroup(t);this._unsubscribeGroup(),this._groupWasInit=!0,this._validationGroup=t,this.groupSubscription=this._groupValidationHandler.bind(this),n.on("validated",this.groupSubscription)},_unsubscribeGroup:function(){var e=l.default.getGroupConfig(this._validationGroup);e&&e.off("validated",this.groupSubscription)},_getOrderedItems:function(e,t){var n=[];return a.default.each(e,(function(e,i){var r=(0,o.grep)(t,(function(e){if(e.validator===i)return!0}));r.length&&(n=n.concat(r))})),n},_groupValidationHandler:function(e){var t=this,n=this._getOrderedItems(e.validators,a.default.map(e.brokenRules,(function(e){return{text:e.message,validator:e.validator,index:e.index}})));this.validators=e.validators,a.default.each(this.validators,(function(e,n){if(n._validationSummary!==t){var i=t._itemValidationHandler.bind(t);n.on("validated",i),n.on("disposing",(function(){n.off("validated",i),n._validationSummary=null,i=null})),n._validationSummary=t}})),this.option("items",n)},_itemValidationHandler:function(e){for(var t=e.isValid,n=e.validator,i=e.brokenRules,r=this.option("items"),s=!1,l=0,c=function(){var e=r[l];if(e.validator===n){var a=(0,o.grep)(i||[],(function(t){return t.index===e.index}))[0];if(t||!a)return r.splice(l,1),s=!0,"continue";a.message!==e.text&&(e.text=a.message,s=!0)}l++};l<r.length;)c();a.default.each(i,(function(e,t){(0,o.grep)(r,(function(e){return e.validator===n&&e.index===t.index}))[0]||(r.push({text:t.message,validator:n,index:t.index}),s=!0)})),s&&(r=this._getOrderedItems(this.validators,r),this.option("items",r))},_initMarkup:function(){this.$element().addClass("dx-validationsummary"),this.callBase()},_optionChanged:function(e){switch(e.name){case"validationGroup":this._initGroupRegistration();break;default:this.callBase(e)}},_itemClass:function(){return"dx-validationsummary-item"},_itemDataKey:function(){return"dx-validationsummary-item-data"},_postprocessRenderItem:function(e){r.default.on(e.itemElement,"click",(function(){e.itemData.validator&&e.itemData.validator.focus&&e.itemData.validator.focus()}))},_dispose:function(){this.callBase(),this._unsubscribeGroup()}});(0,i.default)("dxValidationSummary",u),e.exports=u,e.exports.default=e.exports},Hv54:function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("LdFP"),s=n("1LL4").extend,a=n("yUp2"),l=n("Lci2"),c=n("D6VQ"),u=n("JDOJ"),d=n("XCcL"),h=l.inherit({_supportedKeys:function(){return s(this.callBase(),{space:function(e){e.preventDefault(),this._clickAction({event:e})}})},_getDefaultOptions:function(){return s(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,value:!1,text:"",useInkRipple:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===o.real().deviceType&&!o.isSimulator()},options:{focusStateEnabled:!0}}])},_canValueBeChangedByClick:function(){return!0},_feedbackHideTimeout:100,_initMarkup:function(){this._renderSubmitElement(),this._$container=i("<div>").addClass("dx-checkbox-container"),this.setAria("role","checkbox"),this.$element().addClass("dx-checkbox"),this._renderValue(),this._renderIcon(),this._renderText(),this.option("useInkRipple")&&this._renderInkRipple(),this.$element().append(this._$container),this.callBase()},_render:function(){this._renderClick(),this.callBase()},_renderSubmitElement:function(){this._$submitElement=i("<input>").attr("type","hidden").appendTo(this.$element())},_getSubmitElement:function(){return this._$submitElement},_renderInkRipple:function(){this._inkRipple=a.render({waveSizeCoefficient:2.5,useHoldAnimation:!1,wavesNumber:2,isCentered:!0})},_renderInkWave:function(e,t,n,i){if(this._inkRipple){var r={element:e,event:t,wave:i};n?this._inkRipple.showWave(r):this._inkRipple.hideWave(r)}},_updateFocusState:function(e,t){this.callBase.apply(this,arguments),this._renderInkWave(this._$icon,e,t,0)},_toggleActiveState:function(e,t,n){this.callBase.apply(this,arguments),this._renderInkWave(this._$icon,n,t,1)},_renderIcon:function(){this._$icon=i("<span>").addClass("dx-checkbox-icon").prependTo(this._$container)},_renderText:function(){var e=this.option("text");e?(this._$text||(this._$text=i("<span>").addClass("dx-checkbox-text")),this._$text.text(e),this._$container.append(this._$text),this.$element().addClass("dx-checkbox-has-text")):this._$text&&(this._$text.remove(),this.$element().removeClass("dx-checkbox-has-text"))},_renderClick:function(){var e=this,t=u.addNamespace(d.name,e.NAME);e._clickAction=e._createAction(e._clickHandler),r.off(e.$element(),t),r.on(e.$element(),t,(function(t){e._clickAction({event:t})}))},_clickHandler:function(e){var t=e.component;t._saveValueChangeEvent(e.event),t.option("value",!t.option("value"))},_renderValue:function(){var e=this.$element(),t=this.option("value"),n=void 0===t;e.toggleClass("dx-checkbox-checked",Boolean(t)),e.toggleClass("dx-checkbox-indeterminate",n),this._getSubmitElement().val(t),this.setAria("checked",n?"mixed":t||"false")},_optionChanged:function(e){switch(e.name){case"useInkRipple":this._invalidate();break;case"value":this._renderValue(),this.callBase(e);break;case"text":this._renderText(),this._renderDimensions();break;default:this.callBase(e)}},_clean:function(){delete this._inkRipple,this.callBase()}});c("dxCheckBox",h),e.exports=h,e.exports.default=e.exports},I0Qj:function(e,t,n){"use strict";var i=n("+XMB");n("D6VQ")("dxList",i),e.exports=i,e.exports.default=e.exports},I1je:function(e,t,n){"use strict";e.exports=n("MPiI"),e.exports.default=e.exports},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=e=>e&&"number"==typeof e.length&&"function"!=typeof e},IBtZ:function(e,t,n){!function(e){"use strict";
1e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(e,t,n){return"\u10d8"===n?t+"\u10e8\u10d8":t+n+"\u10e8\u10d8"}))},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IEE5:function(e,t,n){"use strict";var i=n("KAnu").grep,r=n("1LL4").extend,o=n("zl3R").each,s=n("Nxdf"),a=n("IRs2").normalizeSortingInfo;function l(e,t){return e=e.groupBy(t[0].selector),t.length>1&&(e=e.select((function(e){return r({},e,{items:l(s(e.items),t.slice(1)).toArray()})}))),e}function c(e,t){var n=[];return o(e,(function(e,r){i(t,(function(e){return r.selector===e.selector})).length<1&&n.push(r)})),n.concat(t)}e.exports={multiLevelGroup:l,arrangeSortingInfo:c,queryByOptions:function(e,t,n){var i=(t=t||{}).filter;if(i&&(e=e.filter(i)),n)return e;var r=t.sort,s=t.select,u=t.group,d=t.skip,h=t.take;return u&&((u=a(u)).keepInitialKeyOrder=!!t.group.keepInitialKeyOrder),(r||u)&&(r=a(r||[]),u&&!u.keepInitialKeyOrder&&(r=c(u,r)),o(r,(function(t){e=e[t?"thenBy":"sortBy"](this.selector,this.desc,this.compare)}))),s&&(e=e.select(s)),u&&(e=l(e,u)),(h||d)&&(e=e.slice(d||0,h)),e}}},IF55:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3").getWindow(),o=n("YQNt"),s=n("xZEH").camelize,a=n("KAnu").noop,l=n("v4HY").getPublicElement,c=n("zl3R").each,u=n("ti0F").isDefined,d=n("XpgS").inArray,h=n("1LL4").extend,p=n("uHaw"),f=n("XWmc").compare,m=n("imRD"),g=n("LdFP"),_=n("D6VQ"),b=n("XPWh"),v=n("+6qP"),y=n("uHSv"),w=n("RG5Y").EmptyTemplate,C=n("v4HY"),x=n("c44P"),S=n("cGv3");n("AQA1");var k=["cancel","clear","done"],T=p.msie&&11===parseInt(p.version),E=p.safari&&f(p.version,[11])<0,I={static:"",inherit:"dx-popup-inherit-height",flex:"dx-popup-flex-height"},D=y.inherit({_getDefaultOptions:function(){return h(this.callBase(),{fullScreen:!1,title:"",showTitle:!0,titleTemplate:"title",onTitleRendered:null,dragEnabled:!1,toolbarItems:[],showCloseButton:!1,bottomTemplate:"bottom",useDefaultToolbarButtons:!1,useFlatToolbarButtons:!1,autoResizeEnabled:!0})},_defaultOptionsRules:function(){var e=v.current();return this.callBase().concat([{device:{platform:"ios"},options:{animation:this._iosAnimation}},{device:{platform:"android"},options:{animation:this._androidAnimation}},{device:{platform:"generic"},options:{showCloseButton:!0}},{device:function(e){return"desktop"===g.real().deviceType&&"generic"===e.platform},options:{dragEnabled:!0}},{device:function(){return"desktop"===g.real().deviceType&&!g.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return v.isMaterial(e)},options:{useDefaultToolbarButtons:!0,useFlatToolbarButtons:!0}}])},_iosAnimation:{show:{type:"slide",duration:400,from:{position:{my:"top",at:"bottom"}},to:{position:{my:"center",at:"center"}}},hide:{type:"slide",duration:400,from:{opacity:1,position:{my:"center",at:"center"}},to:{opacity:1,position:{my:"top",at:"bottom"}}}},_androidAnimation:function(){return this.option("fullScreen")?{show:{type:"slide",duration:300,from:{top:"30%",opacity:0}
1,to:{top:0,opacity:1}},hide:{type:"slide",duration:300,from:{top:0,opacity:1},to:{top:"30%",opacity:0}}}:{show:{type:"fade",duration:400,from:0,to:1},hide:{type:"fade",duration:400,from:1,to:0}}},_init:function(){this.callBase(),this.$element().addClass("dx-popup"),this._wrapper().addClass("dx-popup-wrapper"),this._$popupContent=this._$content.wrapInner(i("<div>").addClass("dx-popup-content")).children().eq(0)},_render:function(){var e=this.option("fullScreen");this._toggleFullScreenClass(e),this.callBase()},_toggleFullScreenClass:function(e){this._$content.toggleClass("dx-popup-fullscreen",e).toggleClass("dx-popup-normal",!e)},_initTemplates:function(){this.callBase(),this._defaultTemplates.title=new w,this._defaultTemplates.bottom=new w},_renderContentImpl:function(){this._renderTitle(),this.callBase(),this._renderBottom()},_renderTitle:function(){var e=this._getToolbarItems("top"),t=this.option("title"),n=this.option("showTitle");if(n&&t&&e.unshift({location:g.current().ios?"center":"before",text:t}),n||e.length>0){this._$title&&this._$title.remove();var r=i("<div>").addClass("dx-popup-title").insertBefore(this.$content());this._$title=this._renderTemplateByType("titleTemplate",e,r).addClass("dx-popup-title"),this._renderDrag(),this._executeTitleRenderAction(this._$title)}else this._$title&&this._$title.detach()},_renderTemplateByType:function(e,t,n,r){var o=this._getTemplateByOption(e);if(o instanceof w){var s=h({},this.option("integrationOptions"),{skipTemplates:["content","title"]}),a=h(r,{items:t,rtlEnabled:this.option("rtlEnabled"),useDefaultButtons:this.option("useDefaultToolbarButtons"),useFlatButtons:this.option("useFlatToolbarButtons"),integrationOptions:s});this._getTemplate("dx-polymorph-widget").render({container:n,model:{widget:"dxToolbarBase",options:a}});var c=n.children("div");return n.replaceWith(c),c}var u=i(o.render({container:l(n)}));return u.hasClass("dx-template-wrapper")&&(n.replaceWith(u),n=u),n},_executeTitleRenderAction:function(e){this._getTitleRenderAction()({titleElement:l(e)})},_getTitleRenderAction:function(){return this._titleRenderAction||this._createTitleRenderAction()},_createTitleRenderAction:function(){return this._titleRenderAction=this._createActionByOption("onTitleRendered",{element:this.element(),excludeValidators:["disabled","readOnly"]})},_getCloseButton:function(){return{toolbar:"top",location:"after",template:this._getCloseButtonRenderer()}},_getCloseButtonRenderer:function(){return(function(e,t,n){var r=i("<div>").addClass("dx-closebutton");this._createComponent(r,b,{icon:"close",onClick:this._createToolbarItemAction(void 0),integrationOptions:{}}),i(n).append(r)}).bind(this)},_getToolbarItems:function(e){var t=this.option("toolbarItems"),n=[];this._toolbarItemClasses=[];var i=g.current().platform,r=0;return c(t,(function(t,o){var s=u(o.shortcut),a=s?function(e){var t=g.current(),n=t.platform,i="bottom",r="before";if("ios"===n)switch(e){case"cancel":i="top";break;case"clear":i="top",r="after";break;case"done":r="after"}else if("android"===n&&t.version&&parseInt(t.version[0])>4)switch(e){case"cancel":r="after";break;case"done":r="after"}else"android"===n&&(r="center");return{toolbar:i,location:r}}(o.shortcut):o;if(s&&"ios"===i&&r<2&&(a.toolbar="top",r++),a.toolbar=o.toolbar||a.toolbar||"top",a&&a.toolbar===e){s&&h(a,{location:o.location},this._getToolbarItemByAlias(o));var l="generic"===i;"done"===o.shortcut&&l||"cancel"===o.shortcut&&!l?n.unshift(a):n.push(a)}}).bind(this)),"top"===e&&this.option("showCloseButton")&&this.option("showTitle")&&n.push(this._getCloseButton()),n},_getLocalizationKey:function(e){return"done"===e.toLowerCase()?"OK":s(e,!0)},_getToolbarItemByAlias:function(e){var t=this,n=e.shortcut;if(d(n,k)<0)return!1;var r=h({text:m.format(this._getLocalizationKey(n)),onClick:this._createToolbarItemAction(e.onClick),integrationOptions:{},type:t.option("useDefaultToolbarButtons")?"default":"normal",stylingMode:t.option("useFlatToolbarButtons")?"text":"contained"},e.options||{}),o="dx-popup-"+n;return this._toolbarItemClasses.push(o),{template:function(e,n,s){var a=i("<div>").addClass(o).appendTo(s);t._createComponent(a,b,r)}}},_createToolbarItemAction:function(e){return this._createAction(e,{afterExecute:function(e){e.component.hide()}})},_renderBottom:function(){var e=this._getToolbarItems("bottom");if(e.length){this._$bottom&&this._$bottom.remove();var t=i("<div>").addClass("dx-popup-bottom").insertAfter(this.$content());this._$bottom=this._renderTemplateByType("bottomTemplate",e,t,{compactMode:!0}).addClass("dx-popup-bottom"),this._toggleClasses()}else this._$bottom&&this._$bottom.detach()},_toggleClasses:function(){c(k,(function(e,t){var n="dx-popup-"+t;d(n,this._toolbarItemClasses)>=0?(this._wrapper().addClass(n+"-visible"),this._$bottom.addClass(n)):(this._wrapper().removeClass(n+"-visible"),this._$bottom.removeClass(n))}).bind(this))},_getContainer:function(){return this.option("fullScreen")?i(r):this.callBase()},_getDragTarget:function(){return this.topToolbar()},_renderGeometryImpl:function(e){e||this._resetContentHeight(),this.callBase.apply(this,arguments),this._setContentHeight()},_resetContentHeight:function(){this._$popupContent.css({height:"auto",maxHeight:"none"})},_renderDrag:function(){this.callBase(),this._$content.toggleClass("dx-popup-draggable",this.option("dragEnabled"))},_renderResize:function(){this.callBase(),this._resizable.option("onResize",(function(){this._setContentHeight(),this._actions.onResize(arguments)}).bind(this))},_setContentHeight:function(){(this.option("forceApplyBindings")||a)();var e=this.overlayContent().get(0),t=this._chooseHeightStrategy(e);
1this.$content().css(this._getHeightCssStyles(t,e)),this._setHeightClasses(this.overlayContent(),t)},_heightStrategyChangeOffset:function(e,t){return e===I.flex?-t:0},_chooseHeightStrategy:function(e){var t="auto"===e.style.width||""===e.style.width,n=I.static;return this._isAutoHeight()&&this.option("autoResizeEnabled")&&(t||E?T||(n=I.inherit):n=I.flex),n},_getHeightCssStyles:function(e,t){var n={},r=this._getOptionValue("maxHeight",t),o=this._getOptionValue("minHeight",t),s=this._splitPopupHeight(),a=s.header+s.footer+s.contentVerticalOffsets+s.popupVerticalOffsets+this._heightStrategyChangeOffset(e,s.popupVerticalPaddings);if(e===I.static){if(!this._isAutoHeight()||r||o){var l=this.option("fullScreen")?Math.min(t.getBoundingClientRect().height,S.getWindow().innerHeight):t.getBoundingClientRect().height;n={height:Math.max(0,l-a),minHeight:"auto",maxHeight:"auto"}}}else{var c=i(this._getContainer()).get(0),u=x.addOffsetToMaxHeight(r,-a,c);n={height:"auto",minHeight:x.addOffsetToMinHeight(o,-a,c),maxHeight:u}}return n},_setHeightClasses:function(e,t){var n="";for(var i in I)I[i]!==t&&(n+=" "+I[i]);e.removeClass(n).addClass(t)},_isAutoHeight:function(){return"auto"===this.overlayContent().get(0).style.height},_splitPopupHeight:function(){var e=this.topToolbar(),t=this.bottomToolbar();return{header:x.getVisibleHeight(e&&e.get(0)),footer:x.getVisibleHeight(t&&t.get(0)),contentVerticalOffsets:x.getVerticalOffsets(this.overlayContent().get(0),!0),popupVerticalOffsets:x.getVerticalOffsets(this.$content().get(0),!0),popupVerticalPaddings:x.getVerticalOffsets(this.$content().get(0),!1)}},_useFixedPosition:function(){return this.callBase()||this.option("fullScreen")},_toggleSafariFullScreen:function(e){this._useFixedPosition()&&e&&!this._isShown?this._bodyScrollTop=e?r.pageYOffset:void 0:this._toggleSafariScrolling(!e)},_renderDimensions:function(){this.option("fullScreen")?this._$content.css({width:"100%",height:"100%"}):this.callBase.apply(this,arguments),S.hasWindow()&&this._renderFullscreenWidthClass()},_renderFullscreenWidthClass:function(){this.overlayContent().toggleClass("dx-popup-fullscreen-width",this.overlayContent().outerWidth()===i(r).width())},refreshPosition:function(){this._renderPosition()},_renderPosition:function(){if(!this.option("fullScreen"))return(this.option("forceApplyBindings")||a)(),this.callBase.apply(this,arguments);o.move(this._$content,{top:0,left:0})},_optionChanged:function(e){switch(e.name){case"showTitle":case"title":case"titleTemplate":this._renderTitle(),this._renderGeometry();break;case"bottomTemplate":this._renderBottom(),this._renderGeometry();break;case"onTitleRendered":this._createTitleRenderAction(e.value);break;case"toolbarItems":case"useDefaultToolbarButtons":case"useFlatToolbarButtons":var t=!e.fullName.match(/^toolbarItems((\[\d+\])(\.(options|visible).*)?)?$/);this._renderTitle(),this._renderBottom(),t&&this._renderGeometry();break;case"dragEnabled":this._renderDrag();break;case"autoResizeEnabled":this._renderGeometry(),C.triggerResizeEvent(this._$content);break;case"fullScreen":this._toggleFullScreenClass(e.value),this._toggleSafariFullScreen(e.value),this._renderGeometry(),C.triggerResizeEvent(this._$content);break;case"showCloseButton":this._renderTitle();break;default:this.callBase(e)}},bottomToolbar:function(){return this._$bottom},topToolbar:function(){return this._$title},$content:function(){return this._$popupContent},content:function(){return l(this._$popupContent)},overlayContent:function(){return this._$content}});_("dxPopup",D),e.exports=D,e.exports.default=e.exports},IPIx:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("tF6Q"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("keyboardNavigation",r.default)},IRs2:function(e,t,n){"use strict";var i=n("ti0F"),r=d(i),o=d(n("tUd6")),s=n("xMpX"),a=n("cGv3"),l=n("zl3R"),c=n("tJvG"),u=n("KAnu");function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var p,f,m,g,_=(f={timeout:"Network connection timeout",error:"Unspecified network error",parsererror:"Unexpected server response"},(0,s.add)((function(){var e=(0,a.getWindow)();o.default.listen(e,"beforeunload",(function(){p=!0}))}
1)),function(e,t){return p?"DEVEXTREME_XHR_ERROR_UNLOAD":e.status<400?function(e){return f[e]||e}(t):e.statusText}),b=(g=0,{obtain:function(){0===g&&(m=new c.Deferred),g++},release:function(){--g<1&&m.resolve()},promise:function(){return(0===g?(new c.Deferred).resolve():m).promise()},reset:function(){g=0,m&&m.resolve()}});e.exports={XHR_ERROR_UNLOAD:"DEVEXTREME_XHR_ERROR_UNLOAD",normalizeBinaryCriterion:function(e){return[e[0],e.length<3?"=":String(e[1]).toLowerCase(),e.length<2||e[e.length-1]]},normalizeSortingInfo:function(e){return Array.isArray(e)||(e=[e]),(0,l.map)(e,(function(e){var t={selector:(0,i.isFunction)(e)||"string"==typeof e?e:e.getter||e.field||e.selector,desc:!(!e.desc&&"d"!==String(e.dir).charAt(0).toLowerCase())};return e.compare&&(t.compare=e.compare),t}))},errorMessageFromXhr:_,aggregators:{count:{seed:0,step:function(e){return 1+e}},sum:{seed:0,step:function(e,t){return e+t}},min:{step:function(e,t){return t<e?t:e}},max:{step:function(e,t){return t>e?t:e}},avg:{seed:[0,0],step:function(e,t){return[e[0]+t,e[1]+1]},finalize:function(e){return e[1]?e[0]/e[1]:NaN}}},keysEqual:function(e,t){return(0,u.equalByValue)(e,t,0,!1)},throttleChanges:function(e,t){var n=[],r=function(e,t){var n,r;return function(){var o=this;return r=arguments,n||(n=setTimeout((function(){n=void 0,r&&e.call(o,r)}),(0,i.isFunction)(t)?t():t)),n}}((function(){e.call(this,n),n=[]}),t);return function(e){var t,i;return Array.isArray(e)&&(t=n).push.apply(t,function(e){if(Array.isArray(e))return h(e)}(i=e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return h(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,void 0):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r.call(this,n)}},trivialPromise:function(){var e=new c.Deferred;return e.resolve.apply(e,arguments).promise()},rejectedPromise:function(){var e=new c.Deferred;return e.reject.apply(e,arguments).promise()},isDisjunctiveOperator:function(e){return/^(or|\|\||\|)$/i.test(e)},isConjunctiveOperator:function(e){return/^(and|&&|&)$/i.test(e)},processRequestResultLock:b,isUnaryOperation:function(e){return"!"===e[0]&&Array.isArray(e[1])},isGroupCriterion:function(e){var t,n=e[0],i=e[1];return!!Array.isArray(n)||!(!r.default.isFunction(n)||!Array.isArray(i)&&!r.default.isFunction(i)&&"and"!==(t=i)&&"or"!==t)},base64_encode:function(e){Array.isArray(e)||(e=function(e){var t,n,i=[];for(n=0;n<e.length;n++)(t=e.charCodeAt(n))<128?i.push(t):t<2048?i.push(192+(t>>6),128+(63&t)):t<65536?i.push(224+(t>>12),128+(t>>6&63),128+(63&t)):t<2097152&&i.push(240+(t>>18),128+(t>>12&63),128+(t>>6&63),128+(63&t));return i}(String(e)));var t="";function n(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e)}for(var i=0;i<e.length;i+=3){var r=e[i],o=e[i+1],s=e[i+2];t+=(0,l.map)([r>>2,(3&r)<<4|o>>4,isNaN(o)?64:(15&o)<<2|s>>6,isNaN(s)?64:63&s],n).join("")}return t}}},IWKj:function(e,t,n){"use strict";var i=n("1LL4").extend,r=n("ccQb"),o=n("TssP"),s="http://js.devexpress.com/error/"+n("PE2r").split(".").slice(0,2).join("_")+"/";e.exports=function(e,t){var n={ERROR_MESSAGES:i(t,e),Error:function(){return u([].slice.call(arguments))},log:function(e){var t="log";/^E\d+$/.test(e)?t="error":/^W\d+$/.test(e)&&(t="warn"),r.logger[t]("log"===t?e:a([].slice.call(arguments)))}},a=function(e){var t=e[0];return e=e.slice(1),c(t,l(t,e))},l=function(e,t){return t=[n.ERROR_MESSAGES[e]].concat(t),o.format.apply(this,t).replace(/\.*\s*?$/,"")},c=function(e,t){return o.format.apply(this,["{0} - {1}. See:\n{2}",e,t,d(e)])},u=function(e){var t=e[0];e=e.slice(1);var n=l(t,e),r=d(t),o=c(t,n);return i(new Error(o),{__id:t,__details:n,url:r})},d=function(e){return s+e};return n}},IjjT:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let i=(()=>
1{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class r extends i{constructor(e,t=i.now){super(e,()=>r.delegate&&r.delegate!==this?r.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},IlOo:function(e,t,n){"use strict";var i=n("ti0F"),r=u(n("2Fn2")),o=u(n("0osO")),s=n("1LL4"),a=n("YyLj"),l=u(n("3RoI")),c=n("IRs2");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t,n,i,o){var s,u=e.key();if(u){if(function(e,t){for(var n="string"==typeof t?t.split():t.slice();n.length;)if(n.shift()in e)return!0;return!1}(i,u)&&!(0,c.keysEqual)(n,e.keyOf(i)))return!o&&(0,c.rejectedPromise)(a.errors.Error("E4017"));if(!(s=function(e,t){if(e._dataByKeyMap)return e._dataByKeyMap[JSON.stringify(t)]}(t,n))){var d=m(e,t,n);if(d<0)return!o&&(0,c.rejectedPromise)(a.errors.Error("E4009"));s=t[d]}}else s=n;if(l.default.deepExtendArraySafe(s,i,!0),!o)return(0,r.default)().useLegacyStoreResult?(0,c.trivialPromise)(n,i):(0,c.trivialPromise)(s,n)}function p(e,t,n,l,u){var h,p=e.key(),f=(0,i.isPlainObject)(n)?(0,s.extend)({},n):n;if(p){if(void 0===(h=e.keyOf(f))||"object"===d(h)&&(0,i.isEmptyObject)(h)){if(Array.isArray(p))throw a.errors.Error("E4007");h=f[p]=String(new o.default)}else if(void 0!==t[m(e,t,h)])return!u&&(0,c.rejectedPromise)(a.errors.Error("E4008"))}else h=f;if(l>=0?t.splice(l,0,f):t.push(f),function(e,t,n){e._dataByKeyMap&&(e._dataByKeyMap[JSON.stringify(t)]=n)}(t,h,f),!u)return(0,c.trivialPromise)((0,r.default)().useLegacyStoreResult?n:f,h)}function f(e,t,n,i){var r=m(e,t,n);if(r>-1&&t.splice(r,1),!i)return(0,c.trivialPromise)(n)}function m(e,t,n){if(!function(e,t){return!e._dataByKeyMap||e._dataByKeyMap[JSON.stringify(t)]}(t,n))return-1;for(var i=0,r=t.length;i<r;i++)if((0,c.keysEqual)(e.keyOf(t[i]),n))return i;return-1}e.exports.applyBatch=function(e,t,n,r,o){n.forEach((function(n){var s="insert"===n.type?t:function(e,t,n,i){return i?function e(t,n,i,r){if(r)for(var o=0;o<n.length;o++){var s=e(t,n[o].items||n[o].collapsedItems||[]||[],i,r-1);if(s)return s}else if(m(t,n,i)>=0)return n}(e,t,n,i)||[]:t}(e,t,n.key,r);switch(function(e,t){if(e.key()&&(!t._dataByKeyMap||t._dataByKeyMapLength!==t.length)){for(var n={},i=0,r=t.length;i<r;i++)n[JSON.stringify(e.keyOf(t[i]))]=t[i];t._dataByKeyMap=n,t._dataByKeyMapLength=r}}(e,s),n.type){case"update":h(e,s,n.key,n.data,!0);break;case"insert":p(e,s,n.data,o&&(0,i.isDefined)(n.index)?n.index:-1,!0);break;case"remove":f(e,s,n.key,!0)}}))},e.exports.update=h,e.exports.insert=p,e.exports.remove=f,e.exports.indexByKey=m},"Ivi+":function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("7o/Q"),r=n("4I5i"),o=n("EY2u");function s(e){return t=>0===e?Object(o.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new r.a}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends i.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},JB6v:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.UPCE=t.UPC=t.EAN2=t.EAN5=t.EAN8=t.EAN13=void 0;var i=c(n("iaK4")),r=c(n("G6U+")),o=c(n("WD9T")),s=c(n("pdJe")),a=c(n("6LKm")),l=c(n("vph/"));function c(e){return e&&e.__esModule?e:{default:e}}t.EAN13=i.default,t.EAN8=r.default,t.EAN5=o.default,t.EAN2=s.default,t.UPC=a.default,t.UPCE=l.default},"JCF/":function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JDOJ:function(e,t,n){"use strict";var i=c(n("FKN7")),r=c(n("jeLr")),o=c(n("/7L9")),s=n("gpjr"),a=n("1LL4"),l=n("zl3R");function c(e){return e&&e.__esModule?e:{default:e}}var u,d={backspace:"backspace",tab:"tab",enter:"enter",escape:"escape",pageup:"pageUp",pagedown:"pageDown",end:"end",home:"home",arrowleft:"leftArrow",arrowup:"upArrow",arrowright:"rightArrow",arrowdown:"downArrow",delete:"del"," ":"space",f:"F",a:"A","*":"asterisk","-":"minus",alt:"alt",control:"control",shift:"shift",left:"leftArrow",up:"upArrow",right:"rightArrow",down:"downArrow",multiply:"asterisk",spacebar:"space",del:"del",subtract:"minus",esc:"escape"},h={8:"backspace",9:"tab",13:"enter",27:"escape",33:"pageUp",34:"pageDown",35:"end",36:"home",37:"leftArrow",38:"upArrow",39:"rightArrow",40:"downArrow",46:"del",32:"space",70:"F",65:"A",106:"asterisk",109:"minus",189:"minus",173:"minus",16:"shift",17:"control",18:"alt"},p=(u={dx:/^dx/i,mouse:/(mouse|wheel)/i,touch:/^touch/i,keyboard:/^key/i,pointer:/^(ms)?pointer/i},function(e){var t="other";return(0,l.each)(u,(function(n){if(this.test(e.type))return t=n,!1})),t}),f=function(e){return"dx"===p(e)},m=function(e){return"touch"===p(e)},g=function(e){return"pointer"===p(e)},_=function(e){return function(e){return"mouse"===p(e)}(e)||(g(e)||f(e))&&"mouse"===e.pointerType},b=function(e){return e&&"dxmousewheel"===e.type},v=function(e){return m(e)||(g(e)||f(e))&&"touch"===e.pointerType},y=function(e){return e},w=function(e,t){var n=function(e){return y(r.default.Event(e,e),e)}(e);return t&&(0,a.extend)(n,t),n};e.exports={eventSource:p,isPointerEvent:g,isMouseEvent:_,isDxMouseWheelEvent:b,isTouchEvent:v,isKeyboardEvent:function(e){return"keyboard"===p(e)},isFakeClickEvent:function(e){return 0===e.screenX&&!e.offsetX&&0===e.pageX},hasTouches:function(e){return m(e)?(e.originalEvent.touches||[]).length:f(e)?(e.pointers||[]).length:0},eventData:function(e){return{x:e.pageX,y:e.pageY,time:e.timeStamp}},eventDelta:function(e,t){return{x:t.x-e.x,y:t.y-e.y,time:t.time-e.time||1}},needSkipEvent:function(e){var t=e.target,n=(0,i.default)(t),r=n.is("input, textarea, select");return!!n.is(".dx-skip-gesture-event *, .dx-skip-gesture-event")||(b(e)?(!n.is("textarea")||!n.hasClass("dx-texteditor-input"))&&!t.isContentEditable&&!t.hasAttribute("contenteditable")&&n.is("input[type='number'], textarea, select")&&n.is(":focus"):_(e)?r||e.which>1:v(e)?r&&(0,s.focused)(n):void 0)},createEvent:w,fireEvent:function(e){var t=w(e.originalEvent,e);return r.default.trigger(e.delegateTarget||t.target,t),t},addNamespace:function e(t,n){if(!n)throw o.default.Error("E0017");return"string"==typeof t?-1===t.indexOf(" ")?t+"."+n:e(t.split(/\s+/g),n):((0,l.each)(t,(function(e,i){t[e]=i+"."+n})),t.join(" "))},setEventFixMethod:function(e){y=e},normalizeKeyName:function(e){var t=!!e.key,n=t?e.key:e.which;if(n)return t?d[n.toLowerCase()]||n:h[n]||String.fromCharCode(n)},getChar:function(e){return e.key||String.fromCharCode(e.which)}}},JIr8:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("l7GE"),r=n("51Dv"),o=n("ZUHj");function s(e){return function(t){const n=new a(e),i=t.lift(n);return n.caught=i}}class a{constructor(e){this.selector=e}call(e,t){return t.subscribe(new l(e,this.selector,this.caught))}}class l extends i.a{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new r.a(this,void 0,void 0);this.add(i);const s=Object(o.a)(this,n,void 0,void 0,i);s!==i&&this.add(s)}}}},JUkI:function(e,t,n){"use strict";var i=n("xud5").fileSaver,r=n("PJOh"),o=n("2aEG"),s=n("MbuQ"),a=n("ti0F").isFunction,l=n("tJvG").Deferred;t.export=function(e,t,n){if(!e)return(new l).resolve();var r=t.exportingAction,o=t.exportedAction,s=t.fileSavingAction,c={fileName:t.fileName,format:t.format,cancel:!1};return a(r)&&r(c),c.cancel?(new l).resolve():n(e,t).then((function(e){a(o)&&o(),a(s)&&(c.data=e,s(c)),c.cancel||i.saveAs(c.fileName,t.format,e,t.proxyUrl,t.forceProxy)}))},t.fileSaver=i,t.excel={creator:r.ExcelCreator,getData:r.getData,formatConverter:n("3NFn")},t.image={creator:o.imageCreator,getData:o.getData,testFormats:o.testFormats},t.pdf={getData:n("YlYp").getData},t.svg={creator:s.svgCreator,getData:s.getData}},JVSJ:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JX91:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("LRne"),r=n("0EUg");function o(...e){return Object(r.a)()(Object(i.a)(...e))}var s=n("z+Ro");function a(...e){const t=e[e.length-1];return Object(s.a)(t)?(e.pop(),n=>o(e,n,t)):t=>o(e,t)}},JZex:function(e,t,n){"use strict";var i=n("FKN7"),r=n("IRs2"),o=n("IlOo"),s=n("ti0F").isFunction,a=n("2Fn2"),l=n("YyLj").errors,c=n("L+Gw"),u=n("Nxdf"),d=n("IEE5").queryByOptions,h=n("tJvG"),p=h.Deferred,f=h.when,m=h.fromPromise;function g(e){return e&&s(e.then)}function _(e){return(new p).resolve(e).promise()}function b(e,t){if(!s(t))throw l.Error("E4011",e)}function v(e){throw l.Error("E4012",e)}function y(e){function t(e){var t=e[0];return t&&t.getResponseHeader?r.errorMessageFromXhr(t,e[1]):null}return function(n){var i;
1(i=n instanceof Error?n:new Error(t(arguments)||n&&String(n)||"Unknown error")).message!==r.XHR_ERROR_UNLOAD&&e.reject(i)}}function w(e,t){var n,i=e._loadFunc;return b("load",i),n=i.apply(e,[t]),Array.isArray(n)?n=_(n):null==n?n=_([]):g(n)||v("load"),m(n)}function C(e,t,n,i){if(t.__rawData)i(t.__rawData);else{var r=t.__rawDataPromise||w(t,n);t._cacheRawData&&(t.__rawDataPromise=r),r.always((function(){delete t.__rawDataPromise})).done((function(e){t._cacheRawData&&(t.__rawData=e),i(e)})).fail(y(e))}}function x(e,t,n,r){var o={};"userData"in(n=n||{})&&(o.userData=n.userData),C(e,t,o,(function(o){var s,a,l,c,h=u(o,{errorHandler:t._errorHandler}),p=[];r||((s=d(h,n))===h?l=o.slice(0):p.push(s.enumerate().done((function(e){l=e})))),(n.requireTotalCount||r)&&((a=d(h,n,!0))===h?c=o.length:p.push(a.count().done((function(e){c=e})))),f.apply(i,p).done((function(){r?e.resolve(c):n.requireTotalCount?e.resolve(l,{totalCount:c}):e.resolve(l)})).fail((function(t){e.reject(t)}))}))}var S=c.inherit({ctor:function(e){this.callBase(e=e||{}),this._useDefaultSearch=!!e.useDefaultSearch||"raw"===e.loadMode,this._loadMode=e.loadMode,this._cacheRawData=!1!==e.cacheRawData,this._loadFunc=e.load,this._totalCountFunc=e.totalCount,this._byKeyFunc=e.byKey,this._insertFunc=e.insert,this._updateFunc=e.update,this._removeFunc=e.remove},createQuery:function(){throw l.Error("E4010")},clearRawDataCache:function(){delete this.__rawData},_totalCountImpl:function(e){var t=new p;return"raw"!==this._loadMode||this._totalCountFunc?(function(e,t){var n,i=e._totalCountFunc;if(!s(i))throw l.Error("E4021");return g(n=i.apply(e,[t]))||(n=Number(n),isFinite(n)||v("totalCount"),n=_(n)),m(n)}(this,e).done((function(e){t.resolve(Number(e))})).fail(y(t)),t=this._addFailHandlers(t)):x(t,this,e,!0),t.promise()},_pushImpl:function(e){this.__rawData&&o.applyBatch(this,this.__rawData,e)},_loadImpl:function(e){var t=new p;return"raw"===this._loadMode?x(t,this,e,!1):(w(this,e).done((function(e,n){t.resolve(e,n)})).fail(y(t)),t=this._addFailHandlers(t)),t.promise()},_byKeyImpl:function(e,t){var n=new p;return this._byKeyViaLoad()?(this._requireKey(),function(e,t,n){C(e,t,{},(function(i){for(var o,s=0,a=i.length;s<a;s++)if(o=i[s],r.keysEqual(t.keyOf(i[s]),n))return void e.resolve(o);e.reject(l.Error("E4009"))}))}(n,this,e)):function(e,t,n){var i,r=e._byKeyFunc;return b("byKey",r),g(i=r.apply(e,[t,n]))||(i=_(i)),m(i)}(this,e,t).done((function(e){n.resolve(e)})).fail(y(n)),n.promise()},_byKeyViaLoad:function(){return"raw"===this._loadMode&&!this._byKeyFunc},_insertImpl:function(e){var t,n=this,i=n._insertFunc,r=new p;return b("insert",i),g(t=i.apply(n,[e]))||(t=_(t)),m(t).done((function(t){a().useLegacyStoreResult?r.resolve(e,t):r.resolve(t||e,n.keyOf(t))})).fail(y(r)),r.promise()},_updateImpl:function(e,t){var n,i=this._updateFunc,r=new p;return b("update",i),g(n=i.apply(this,[e,t]))||(n=_(n)),m(n).done((function(n){a().useLegacyStoreResult?r.resolve(e,t):r.resolve(n||t,e)})).fail(y(r)),r.promise()},_removeImpl:function(e){var t,n=this._removeFunc,i=new p;return b("remove",n),g(t=n.apply(this,[e]))||(t=_()),m(t).done((function(){i.resolve(e)})).fail(y(i)),i.promise()}});e.exports=S,e.exports.default=e.exports},Jcxk:function(e,t,n){"use strict";var i=l(n("FKN7")),r=l(n("D6VQ")),o=l(n("wqBK")),s=n("1LL4"),a=l(n("UcRe"));function l(e){return e&&e.__esModule?e:{default:e}}var c="".concat("dx-treeview","-node-container"),u=a.default.inherit(o.default).inherit({_addWidgetPrefix:function(e){return"".concat("dx-treeview","-").concat(e)},_optionChanged:function(e){switch(e.name){case"searchValue":this._showCheckboxes()&&this._isRecursiveSelection()&&this._removeSelection(),this._initDataAdapter(),this._updateSearch(),this._repaintContainer();break;case"searchExpr":this._initDataAdapter(),this.repaint();break;case"searchMode":this.option("expandNodesRecursive")?this._updateDataAdapter():this._initDataAdapter(),this.repaint();break;default:this.callBase(e)}},_updateDataAdapter:function(){this._setOptionSilent("expandNodesRecursive",!1),this._initDataAdapter(),this._setOptionSilent("expandNodesRecursive",!0)},_getDataAdapterOptions:function(){return(0,s.extend)(this.callBase(),{searchValue:this.option("searchValue"),searchMode:this.option("searchMode")||"contains",searchExpr:this.option("searchExpr")})},_updateSearch:function(){if(this._searchEditor){var e=this._getSearchEditorOptions();this._searchEditor.option(e)}},_repaintContainer:function(){var e,t=this.$element().find(".".concat(c)).first();t.length&&(t.empty(),e=this._dataAdapter.getRootNodes(),this._renderEmptyMessage(e),this._renderItems(t,e),this._fireContentReadyAction())},_itemContainer:function(e){return this._scrollableContainer&&e?(0,i.default)(this._scrollableContainer.content()):this.callBase()},_addWidgetClass:function(){this.$element().addClass(this._widgetClass())},_clean:function(){this.callBase(),this._removeSearchBox()}});(0,r.default)("dxTreeView",u),e.exports=u},JpqT:function(e,t,n){"use strict";var i,r,o=p(n("FKN7")),s=p(n("jeLr")),a=p(n("HZnW")),l=p(n("imRD")),c=n("ti0F"),u=n("zl3R"),d=n("1LL4"),h=n("WWN2");
1function p(e){return e&&e.__esModule?e:{default:e}}e.exports={defaultOptions:function(){return{showColumnHeaders:!0,cellHintEnabled:!0}},views:{columnHeadersView:a.default.ColumnsView.inherit((i=function(e,t,n){var i=(0,o.default)("<div>").addClass(e.addWidgetPrefix("text-content"));e.setAria("role","presentation",i),r(e,t,n.column,i);var s=e.option("showColumnLines"),a=e.getController("columns").getHeaderContentAlignment(n.column.alignment);return i[s||"right"===a?"appendTo":"prependTo"](t)},r=function(e,t,n,i){var r=e._getIndicatorElements(t,!0),o=e._getIndicatorElements(t),s=r&&r.length,a=e._getColumnAlignment(n.alignment),l=".".concat(e._getIndicatorClassName("sort")),c=".".concat(e._getIndicatorClassName("sortIndex")),u=o.filter(l),d=o.children().filter(c);(i=i||t.children("."+e.addWidgetPrefix("text-content"))).toggleClass("dx-text-content-alignment-"+a,s>0).toggleClass("dx-text-content-alignment-"+("left"===a?"right":"left"),s>0&&"center"===n.alignment).toggleClass("dx-sort-indicator",!!u.length).toggleClass("dx-sort-index-indicator",!!d.length).toggleClass("dx-header-filter-indicator",!!o.filter("."+e._getIndicatorClassName("headerFilter")).length)},{_createTable:function(){var e=this.callBase.apply(this,arguments);return s.default.on(e,"mousedown selectstart",this.createAction((function(e){var t=e.event;t.shiftKey&&t.preventDefault()}))),e},_isLegacyKeyboardNavigation:function(){return this.option("useLegacyKeyboardNavigation")},_getDefaultTemplate:function(e){var t=this;return function(n,r){var o=e.command?n:i(t,n,r),s="expand"!==e.command&&e.caption;s?o.text(s):e.command&&n.html("&nbsp;")}},_getHeaderTemplate:function(e){return e.headerCellTemplate||{allowRenderToDetachedContainer:!0,render:this._getDefaultTemplate(e)}},_processTemplate:function(e,t){var n=this,r=t.column,o=n.callBase(e);return"header"===t.rowType&&o&&r.headerCellTemplate&&!r.command?{render:function(e){var t=i(n,e.container,e.model);o.render((0,d.extend)({},e,{container:t}))}}:o},_handleDataChanged:function(e){"refresh"===e.changeType&&(this._isGroupingChanged||this._requireReady)&&(this._isGroupingChanged=!1,this.render())},_renderCell:function(e,t){var n=this.callBase(e,t);return"header"===t.row.rowType&&(n.addClass("dx-cell-focus-disabled"),this._isLegacyKeyboardNavigation()||t.column&&!t.column.type&&n.attr("tabindex",this.option("tabindex")||0)),n},_setCellAriaAttributes:function(e,t){this.callBase(e,t),"header"===t.rowType&&(this.setAria("role","columnheader",e),!t.column||t.column.command||t.column.isBand||(e.attr("id",t.column.headerId),this.setAria("label",l.default.format("dxDataGrid-ariaColumn")+" "+t.column.caption,e)))},_createRow:function(e){var t=this.callBase(e).toggleClass("dx-column-lines",this.option("showColumnLines"));return"header"===e.rowType&&(t.addClass("dx-header-row"),this._isLegacyKeyboardNavigation()||(0,h.registerKeyboardAction)("columnHeaders",this,t,"td",this._handleActionKeyDown.bind(this))),t},_handleActionKeyDown:function(e){var t=e.event,n=(0,o.default)(t.target);if(this._lastActionElement=t.target,n.is(".dx-header-filter")){var i=this.getController("headerFilter"),r=n.closest("td"),s=this.getColumnIndexByElement(r);s>=0&&i.showHeaderFilterMenu(s,!1)}else{var a=n.closest(".dx-row");this._processHeaderAction(t,a)}t.preventDefault()},_renderCore:function(){var e=this,t=e.element();(!e._tableElement||e._dataController.isLoaded()||e._hasRowElements)&&(t.addClass(e.addWidgetPrefix("headers")).toggleClass(e.addWidgetPrefix("nowrap"),!e.option("wordWrapEnabled")).empty(),e.setAria("role","presentation",t),e._updateContent(e._renderTable()),e.getRowCount()>1&&t.addClass("dx-header-multi-row"),e.callBase.apply(e,arguments))},_renderRows:function(){var e=this;(e._dataController.isLoaded()||e._hasRowElements)&&(e.callBase.apply(e,arguments),e._hasRowElements=!0)},_getRowVisibleColumns:function(e){return this._columnsController.getVisibleColumns(e)},_renderRow:function(e,t){t.columns=this._getRowVisibleColumns(t.row.rowIndex),this.callBase(e,t)},_createCell:function(e){var t=e.column,n=this.callBase.apply(this,arguments);return t.rowspan>1&&"header"===e.rowType&&n.attr("rowSpan",t.rowspan),n},_getRows:function(){var e=[],t=this.getRowCount();if(this.option("showColumnHeaders"))for(var n=0;n<t;n++)e.push({rowType:"header",rowIndex:n});return e},_getCellTemplate:function(e){if("header"===e.rowType)return this._getHeaderTemplate(e.column)},_columnOptionChanged:function(e){var t=e.optionNames;e.changeTypes.grouping?this._isGroupingChanged=!0:(this.callBase(e),
1(t.width||t.visible)&&this.resizeCompleted.fire())},_isElementVisible:function(e){return e&&e.visible},_alignCaptionByCenter:function(e){var t=this._getIndicatorContainer(e,!0);t&&t.length&&(t.filter(".dx-visibility-hidden").remove(),(t=this._getIndicatorContainer(e)).clone().addClass("dx-visibility-hidden").css("float","").insertBefore(e.children("."+this.addWidgetPrefix("text-content"))))},_updateCell:function(e,t){"header"===t.rowType&&"center"===t.column.alignment&&this._alignCaptionByCenter(e),this.callBase.apply(this,arguments)},_updateIndicator:function(e,t,n){var i=this.callBase.apply(this,arguments);return"center"===t.alignment&&this._alignCaptionByCenter(e),r(this,e,t),i},_getIndicatorContainer:function(e,t){var n=this.callBase(e);return t?n:n.filter(":not(.dx-visibility-hidden)")},_isSortableElement:function(){return!0},getHeadersRowHeight:function(){var e=this._getTableElement(),t=e&&e.find(".dx-header-row");return t&&t.toArray().reduce((function(e,t){return e+(0,o.default)(t).height()}),0)||0},getHeaderElement:function(e){var t=this.getColumnElements();return t&&t.eq(e)},getColumnElements:function(e,t){var n,i=this,r=i._columnsController,s=i.getRowCount();if(i.option("showColumnHeaders")){if(s>1&&(!(0,c.isDefined)(e)||(0,c.isDefined)(t))){var a=[],l=(0,c.isDefined)(t)?r.getChildrenByBandColumn(t,!0):r.getVisibleColumns();return(0,u.each)(l,(function(t,o){var s=(0,c.isDefined)(e)?e:r.getRowIndex(o.index);(n=i._getCellElement(s,r.getVisibleIndex(o.index,s)))&&a.push(n.get(0))})),(0,o.default)(a)}if(!e||e<s)return i.getCellElements(e||0)}},getColumnIndexByElement:function(e){var t=this.getCellIndex(e),n=e.closest(".dx-row"),i=this.getColumns(n[0].rowIndex)[t];return i?i.index:-1},getVisibleColumnIndex:function(e,t){var n=this.getColumns()[e];return n?this._columnsController.getVisibleIndex(n.index,t):-1},getColumnWidths:function(){var e=this.getColumnElements();return e&&e.length?this._getWidths(e):this.callBase.apply(this,arguments)},allowDragging:function(e,t,n){var i,r=0,o=e&&this._columnsController.getRowIndex(e.index),s=this.getColumns(0===o?0:null),a=(null==e?void 0:e.allowHiding)&&s.length>1,l=function(e){return e.allowReordering||e.allowGrouping||e.allowHiding};for(i=0;i<s.length;i++)l(s[i])&&r++;if(r<=1&&!a)return!1;if(!n)return(this.option("allowColumnReordering")||this._columnsController.isColumnOptionUsed("allowReordering"))&&e&&e.allowReordering;for(i=0;i<n.length;i++){var c=n[i];if(c&&c.allowDragging(e,t))return!0}return!1},getBoundingRect:function(){var e=this.getColumnElements();return e&&e.length?{top:this._getTableElement().offset().top}:null},getName:function(){return"headers"},getColumnCount:function(){var e=this.getColumnElements();return e?e.length:0},isVisible:function(){return this.option("showColumnHeaders")},optionChanged:function(e){switch(e.name){case"showColumnHeaders":case"wordWrapEnabled":case"showColumnLines":this._invalidate(!0,!0),e.handled=!0;break;default:this.callBase(e)}},getHeight:function(){return this.getElementHeight()},getContextMenuItems:function(e){var t=this,n=e.column;if(e.row&&("header"===e.row.rowType||"detailAdaptive"===e.row.rowType)){var i=t.option("sorting");if(i&&"none"!==i.mode&&n&&n.allowSorting){var r=function(e){setTimeout((function(){t._columnsController.changeSortOrder(n.index,e.itemData.value)}))};return[{text:i.ascendingText,value:"asc",disabled:"asc"===n.sortOrder,icon:"context-menu-sort-asc",onItemClick:r},{text:i.descendingText,value:"desc",disabled:"desc"===n.sortOrder,icon:"context-menu-sort-desc",onItemClick:r},{text:i.clearText,value:"none",disabled:!n.sortOrder,icon:"context-menu-sort-none",onItemClick:r}]}}},getRowCount:function(){return this._columnsController&&this._columnsController.getRowCount()},setRowsOpacity:function(e,t,n){var i,r,o=this,s=o.getRowCount(),a=o._columnsController.getColumns(),l=a&&a[e],d=l&&l.isBand&&l.index,h=function(e,n){
1n.ownerBand===d&&(r.eq(e).css({opacity:t}),n.isBand&&o.setRowsOpacity(n.index,t,i+1))};if((0,c.isDefined)(d))for(i=n=n||0;i<s;i++)r=o.getCellElements(i),(0,u.each)(o.getColumns(i),h)}}))}}},JvlW:function(e,t,n){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function o(e,t,o,s){var a=e+" ";return 1===e?a+n(0,t,o[0],s):t?a+(i(e)?r(o)[1]:r(o)[0]):s?a+r(o)[1]:a+(i(e)?r(o)[1]:r(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},JyGs:function(e,t,n){"use strict";var i=v(n("FKN7")),r=v(n("tUd6")),o=v(n("5qrJ")),s=v(n("jeLr")),a=v(n("zBVi")),l=v(n("D6VQ")),c=n("1LL4"),u=v(n("imRD")),d=v(n("uhpr")),h=v(n("tJvG")),p=n("ti0F"),f=v(n("23xU")),m=v(n("IF55")),g=n("Q5pv"),_=v(n("kaGW")),b=n("JDOJ");function v(e){return e&&e.__esModule?e:{default:e}}var y=[{name:"onEditorPreparing",config:{excludeValidators:["disabled","readOnly"],category:"rendering"}},{name:"onEditorPrepared",config:{excludeValidators:["disabled","readOnly"],category:"rendering"}},{name:"onValueChanged",config:{excludeValidators:["disabled","readOnly"]}}],w={and:"and",or:"or",notAnd:"!and",notOr:"!or"},C=o.default.inherit(_.default),x=function(e,t,n){if(Array.isArray(t)){var r=t.length-1;e.empty(),t.forEach((function(t,o){(0,i.default)("<span>").addClass("dx-filterbuilder-text-part").text(t).appendTo(e),o!==r&&(0,i.default)("<span>").addClass("dx-filterbuilder-text-separator").text(n&&n.valueSeparator?n.valueSeparator:"|").addClass("dx-filterbuilder-text-separator-empty").appendTo(e)}))}else e.text(t||u.default.format("dxFilterBuilder-enterValueText"))},S=a.default.inherit({_getDefaultOptions:function(){return(0,c.extend)(this.callBase(),{onEditorPreparing:null,onEditorPrepared:null,onValueChanged:null,fields:[],defaultGroupOperation:"and",groupOperations:["and","or","notAnd","notOr"],maxGroupLevel:void 0,value:null,allowHierarchicalFields:!1,groupOperationDescriptions:{and:u.default.format("dxFilterBuilder-and"),or:u.default.format("dxFilterBuilder-or"),notAnd:u.default.format("dxFilterBuilder-notAnd"),notOr:u.default.format("dxFilterBuilder-notOr")},customOperations:[],closePopupOnTargetScroll:!0,filterOperationDescriptions:{between:u.default.format("dxFilterBuilder-filterOperationBetween"),equal:u.default.format("dxFilterBuilder-filterOperationEquals"),notEqual:u.default.format("dxFilterBuilder-filterOperationNotEquals"),lessThan:u.default.format("dxFilterBuilder-filterOperationLess"),lessThanOrEqual:u.default.format("dxFilterBuilder-filterOperationLessOrEquals"),greaterThan:u.default.format("dxFilterBuilder-filterOperationGreater"),greaterThanOrEqual:u.default.format("dxFilterBuilder-filterOperationGreaterOrEquals"),startsWith:u.default.format("dxFilterBuilder-filterOperationStartsWith"),contains:u.default.format("dxFilterBuilder-filterOperationContains"),notContains:u.default.format("dxFilterBuilder-filterOperationNotContains"),endsWith:u.default.format("dxFilterBuilder-filterOperationEndsWith"),isBlank:u.default.format("dxFilterBuilder-filterOperationIsBlank"),isNotBlank:u.default.format("dxFilterBuilder-filterOperationIsNotBlank")}})},_optionChanged:function(e){switch(e.name){case"closePopupOnTargetScroll":break;case"onEditorPreparing":case"onEditorPrepared":case"onValueChanged":this._initActions();break;case"customOperations":this._initCustomOperations(),this._invalidate();break;case"fields":case"defaultGroupOperation":case"maxGroupLevel":case"groupOperations":case"allowHierarchicalFields":case"groupOperationDescriptions":case"filterOperationDescriptions":this._invalidate();break;case"value":if(e.value!==e.previousValue){var t=this._disableInvalidateForValue;t||(this._initModel(),this._invalidate()),this._disableInvalidateForValue=!1,this.executeAction("onValueChanged",{value:e.value,previousValue:e.previousValue}),this._disableInvalidateForValue=t}break;default:this.callBase(e)}},getFilterExpression:function(){var e=this._getNormalizedFields(),t=(0,c.extend)(!0,[],this._model);return d.default.getFilterExpression(d.default.getNormalizedFilter(t),e,this._customOperations,"filterBuilder")},_getNormalizedFields:function(){return d.default.getNormalizedFields(this.option("fields"))},_updateFilter:function(){this._disableInvalidateForValue=!0;var e=(0,c.extend)(!0,[],this._model),t=d.default.getNormalizedFilter(e),n=d.default.getNormalizedFilter(this._getModel(this.option("value")));JSON.stringify(n)!==JSON.stringify(t)&&this.option("value",t),this._disableInvalidateForValue=!1,this._fireContentReadyAction()},_init:function(){this._initCustomOperations(),this._initModel(),this._initEditorFactory(),this._initActions(),this.callBase()},_initEditorFactory:function(){this._editorFactory=new C},_initCustomOperations:function(){this._customOperations=d.default.getMergedOperations(this.option("customOperations"),this.option("filterOperationDescriptions.between"))},_getModel:function(e){return d.default.convertToInnerStructure(e,this._customOperations)},_initModel:function(){this._model=this._getModel(this.option("value"))},_initActions:function(){var e=this;e._actions={}
1,y.forEach((function(t){e._actions[t.name]=e._createActionByOption(t.name,t.config)}))},executeAction:function(e,t){var n=this._actions[e];return n&&n(t)},_initMarkup:function(){this.$element().addClass("dx-filterbuilder"),this.callBase(),this._createGroupElementByCriteria(this._model).appendTo(this.$element())},_createConditionElement:function(e,t){return(0,i.default)("<div>").addClass("dx-filterbuilder-group").append(this._createConditionItem(e,t))},_createGroupElementByCriteria:function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=this._createGroupElement(e,t,n),r=i.find(".dx-filterbuilder-group-content"),o=d.default.getGroupCriteria(e),s=0;s<o.length;s++){var a=o[s];d.default.isGroup(a)?this._createGroupElementByCriteria(a,o,n+1).appendTo(r):d.default.isCondition(a)&&this._createConditionElement(a,o).appendTo(r)}return i},_createGroupElement:function(e,t,n){var r=this,o=(0,i.default)("<div>").addClass("dx-filterbuilder-group-item"),s=(0,i.default)("<div>").addClass("dx-filterbuilder-group-content"),a=(0,i.default)("<div>").addClass("dx-filterbuilder-group").append(o).append(s);return null!=t&&this._createRemoveButton((function(){d.default.removeItem(t,e),a.remove(),r._updateFilter()})).appendTo(o),this._createGroupOperationButton(e).appendTo(o),this._createAddButton((function(){var t=d.default.createEmptyGroup(r.option("defaultGroupOperation"));d.default.addItem(t,e),r._createGroupElement(t,e,n+1).appendTo(s),r._updateFilter()}),(function(){var t=r.option("fields")[0],n=d.default.createCondition(t,r._customOperations);d.default.addItem(n,e),r._createConditionElement(n,e).appendTo(s),r._updateFilter()}),n).appendTo(o),a},_createButton:function(e){return(0,i.default)("<div>").text(e)},_createGroupOperationButton:function(e){var t=this,n=this._getGroupOperations(e),i=d.default.getGroupMenuItem(e,n),r=i.text,o=n&&n.length<2?this._createButton(r).addClass("dx-state-disabled"):this._createButtonWithMenu({caption:r,menu:{items:n,displayExpr:"text",keyExpr:"value",onItemClick:function(n){i!==n.itemData&&(d.default.setGroupValue(e,n.itemData.value),o.html(n.itemData.text),i=n.itemData,t._updateFilter())},onContentReady:function(e){e.component.selectItem(i)},cssClass:"dx-filterbuilder-group-operations"}});return o.addClass("dx-filterbuilder-text").addClass("dx-filterbuilder-group-operation").attr("tabindex",0)},_createButtonWithMenu:function(e){var t,n=this,r=function(){n.$element().find(".dx-state-active").removeClass("dx-state-active"),n.$element().find(".dx-overlay .dx-treeview").remove(),n.$element().find(".dx-overlay").remove()},o=this.option("rtlEnabled"),a=o?"right":"left",l=this._createButton(e.caption);return(0,c.extend)(e.menu,{focusStateEnabled:!0,selectionMode:"single",onItemClick:(t=e.menu.onItemClick,function(e){t(e),"dxclick"===e.event.type&&r()}),onHiding:function(e){l.removeClass("dx-state-active")},position:{my:a+" top",at:a+" bottom",offset:"0 1",of:l,collision:"flip"},animation:null,onHidden:function(){r()},cssClass:"dx-filterbuilder-overlay "+e.menu.cssClass,rtlEnabled:o}),e.popup={onShown:function(t){var n=(0,i.default)(t.component.content()).find(".dx-treeview"),r=n.dxTreeView("instance");s.default.on(n,"keyup keydown",(function(n){var i=(0,b.normalizeKeyName)(n);("keydown"===n.type&&"tab"===i||"keyup"===n.type&&("escape"===i||"enter"===i))&&(t.component.hide(),s.default.trigger(e.menu.position.of,"focus"))})),r.focus(),r.option("focusedElement",null)}},this._subscribeOnClickAndEnterKey(l,(function(){r(),n._createPopupWithTreeView(e,n.$element()),l.addClass("dx-state-active")})),l},_hasValueButton:function(e){var t=d.default.getCustomOperation(this._customOperations,e[1]);return t?!1!==t.hasValue:null!==e[2]},_createOperationButtonWithMenu:function(e,t){var n=this,r=this,o=d.default.getAvailableOperations(t,this.option("filterOperationDescriptions"),this._customOperations),s=d.default.getOperationFromAvailable(d.default.getOperationValue(e),o),a=this._createButtonWithMenu({caption:s.text,menu:{items:o,displayExpr:"text",onItemRendered:function(e){e.itemData.isCustom&&(0,i.default)(e.itemElement).addClass("dx-filterbuilder-menu-custom-operation")},onContentReady:function(e){e.component.selectItem(s)},onItemClick:function(i){if(s!==i.itemData){d.default.updateConditionByOperation(e,(s=i.itemData).value,r._customOperations);var o=a.siblings().filter(".dx-filterbuilder-item-value");r._hasValueButton(e)?(0!==o.length&&o.remove(),r._createValueButton(e,t).appendTo(a.parent())):o.remove(),a.html(s.text),n._updateFilter()}},cssClass:"dx-filterbuilder-operations"}}).addClass("dx-filterbuilder-text").addClass("dx-filterbuilder-item-operation").attr("tabindex",0);return a},_createOperationAndValueButtons:function(e,t,n){this._createOperationButtonWithMenu(e,t).appendTo(n),this._hasValueButton(e)&&this._createValueButton(e,t).appendTo(n)},_createFieldButtonWithMenu:function(e,t,n){var i=this,r=this,o=this.option("allowHierarchicalFields"),s=d.default.getItems(e,o),a=d.default.getField(n.name||n.dataField,s),l=function(e,t){return o?d.default.getCaptionWithParents(e,t):e.caption},c=this._createButtonWithMenu({caption:l(a,s),menu:{items:s,dataStructure:"plain",keyExpr:"id",parentId:"parentId",displayExpr:"caption",onItemClick:function(e){if(a!==e.itemData){t[0]=(a=e.itemData).name||a.dataField,t[2]="object"===a.dataType?null:"",d.default.updateConditionByOperation(t,d.default.getDefaultOperation(a),r._customOperations),c.siblings().filter(".dx-filterbuilder-text").remove(),r._createOperationAndValueButtons(t,a,c.parent());var n=l(a,e.component.option("items"));c.html(n),i._updateFilter()}},onContentReady:function(e){e.component.selectItem(a)},cssClass:"dx-filterbuilder-fields"}}).addClass("dx-filterbuilder-text").addClass("dx-filterbuilder-item-field").attr("tabindex",0);return c},_createConditionItem:function(e,t){var n=this,r=(0,i.default)("<div>").addClass("dx-filterbuilder-group-item"),o=this._getNormalizedFields(),s=d.default.getField(e[0],o);return this._createRemoveButton((function(){d.default.removeItem(t,e),1===r.parent().children().length?r.parent().remove():r.remove(),n._updateFilter()})).appendTo(r),this._createFieldButtonWithMenu(o,e,s).appendTo(r),this._createOperationAndValueButtons(e,s,r),r},_getGroupOperations:function(e){var t=this.option("groupOperations"),n=this.option("groupOperationDescriptions");return t&&t.length||(t=[d.default.getGroupValue(e).replace("!","not")]),t.map((function(e){return{text:n[e],value:w[e]}}))},_createRemoveButton:function(e){var t=(0,i.default)("<div>").addClass("dx-filterbuilder-action-icon").addClass("dx-icon-remove").addClass("dx-filterbuilder-action").attr("tabindex",0);return this._subscribeOnClickAndEnterKey(t,e),t},_createAddButton:function(e,t,n){var i,r=this.option("maxGroupLevel");return(0,p.isDefined)(r)&&n>=r?(i=this._createButton(),this._subscribeOnClickAndEnterKey(i,t)):i=this._createButtonWithMenu({menu:{items:[{caption:u.default.format("dxFilterBuilder-addCondition"),click:t},{caption:u.default.format("dxFilterBuilder-addGroup"),click:e}],displayExpr:"caption",onItemClick:function(e){e.itemData.click()},cssClass:"dx-filterbuilder-add-condition"}}),i.addClass("dx-filterbuilder-action-icon").addClass("dx-icon-plus").addClass("dx-filterbuilder-action").attr("tabindex",0)},_createValueText:function(e,t,n){var r=this,o=(0,i.default)("<div>").html("&nbsp;").addClass("dx-filterbuilder-item-value-text").attr("tabindex",0).appendTo(n),s=e[2],a=d.default.getCustomOperation(r._customOperations,e[1]);return!a&&t.lookup?d.default.getCurrentLookupValueText(t,s,(function(e){x(o,e)})):h.default.when(d.default.getCurrentValueText(t,s,a)).done((function(e){x(o,e,a)}
1)),r._subscribeOnClickAndEnterKey(o,(function(i){"keyup"===i.type&&i.stopPropagation(),r._createValueEditorWithEvents(e,t,n)})),o},_updateConditionValue:function(e,t,n){e[2]!==t&&(e[2]=t),n(),this._updateFilter()},_addDocumentKeyUp:function(e,t){var n=r.default.getDocument(),i=function(e){o||a?a=!1:t(e)};s.default.on(n,"keyup",i);var o=!1,a=!1,l=e.find("input");s.default.on(l,"compositionstart",(function(){o=!0})),s.default.on(l,"compositionend",(function(){o=!1,a=!0})),s.default.on(l,"keydown",(function(e){229!==e.which&&(a=!1)})),this._documentKeyUpHandler=i},_addDocumentClick:function(e,t){var n=this,i=r.default.getDocument(),o=function(i){n._isFocusOnEditorParts(e,i.target)||(s.default.trigger(e.find("input"),"change"),t())};s.default.on(i,"dxpointerdown",o),this._documentClickHandler=o},_isFocusOnEditorParts:function(e,t){var n=t||r.default.getActiveElement();return(0,i.default)(n).closest(e.children()).length||(0,i.default)(n).closest(".dx-dropdowneditor-overlay").length},_removeEvents:function(){var e=r.default.getDocument();(0,p.isDefined)(this._documentKeyUpHandler)&&s.default.off(e,"keyup",this._documentKeyUpHandler),(0,p.isDefined)(this._documentClickHandler)&&s.default.off(e,"dxpointerdown",this._documentClickHandler)},_dispose:function(){this._removeEvents(),this.callBase()},_createValueEditorWithEvents:function(e,t,n){var i=this,r=e[2],o=function(){return n.empty(),i._removeEvents(),i._createValueText(e,t,n)},a=function(){i._updateConditionValue(e,r,(function(){o()}))},l={value:""===r?null:r,filterOperation:d.default.getOperationValue(e),setValue:function(e){r=null===e?"":e},closeEditor:a,text:n.text()};n.empty();var c=this._createValueEditor(n,t,l);s.default.trigger(c.find("input").not(":hidden").eq(0),"focus"),this._removeEvents(),this._addDocumentClick(c,a),this._addDocumentKeyUp(c,(function(t){var a=(0,b.normalizeKeyName)(t);if("tab"===a){if(i._isFocusOnEditorParts(c))return;i._updateConditionValue(e,r,(function(){o(),t.shiftKey&&s.default.trigger(n.prev(),"focus")}))}"escape"===a&&s.default.trigger(o(),"focus"),"enter"===a&&i._updateConditionValue(e,r,(function(){s.default.trigger(o(),"focus")}))})),this._fireContentReadyAction()},_createValueButton:function(e,t){var n=(0,i.default)("<div>").addClass("dx-filterbuilder-text").addClass("dx-filterbuilder-item-value");return this._createValueText(e,t,n),n},_createValueEditor:function(e,t,n){var r=(0,i.default)("<div>").attr("tabindex",0).appendTo(e),o=d.default.getCustomOperation(this._customOperations,n.filterOperation),s=o&&o.editorTemplate?o.editorTemplate:t.editorTemplate;return s?this._getTemplate(s).render({model:(0,c.extend)({field:t},n),container:r}):this._editorFactory.createEditor.call(this,r,(0,c.extend)({},t,n,{parentType:"filterBuilder"})),r},_createPopupWithTreeView:function(e,t){var n=this,r=(0,i.default)("<div>").addClass(e.menu.cssClass).appendTo(t);this._createComponent(r,m.default,{onHiding:e.menu.onHiding,onHidden:e.menu.onHidden,rtlEnabled:e.menu.rtlEnabled,position:e.menu.position,animation:e.menu.animation,contentTemplate:function(t){var r=(0,i.default)("<div>").appendTo(t);n._createComponent(r,f.default,e.menu),this.repaint()},maxHeight:function(){return(0,g.getElementMaxHeightByWindow)(e.menu.position.of)},visible:!0,focusStateEnabled:!1,closeOnTargetScroll:this.option("closePopupOnTargetScroll"),closeOnOutsideClick:!0,onShown:e.popup.onShown,shading:!1,width:"auto",height:"auto",showTitle:!1})},_subscribeOnClickAndEnterKey:function(e,t){s.default.on(e,"dxclick",t),s.default.on(e,"keyup",(function(e){"enter"===(0,b.normalizeKeyName)(e)&&t(e)}))}});(0,l.default)("dxFilterBuilder",S),e.exports=S,e.exports.renderValueText=x},"K/tc":function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K3ix:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return m}));var i=n("fXoL"),r=n("lUod"),o=n("3XJ7"),s=n("WyaX");const a=["*"];let l=(()=>{class e{constructor(){this.hide=Function,this.setClass=Function}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();const u={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}};let d=(()=>{class e{constructor(e,t,n){this._element=t,this._renderer=n,this.isShown=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},e)}ngOnInit(){this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,Object(r.d)()?"in":"show")},this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(e){this.clickStartedInContent=e.target!==this._element.nativeElement}onClickStop(e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||e.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService.setDismissReason("backdrop-click"),this.hide())}onEsc(e){this.isShown&&(27!==e.keyCode&&"Escape"!==e.key||e.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this.hide()}hide(){!this.isModalHiding&&this.isShown&&(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,Object(r.d)()?"in":"show"),setTimeout(()=>{this.isShown=!1,document&&document.body&&1===this.bsModalService.getModalsCount()&&this._renderer.removeClass(document.body,"modal-open"),this.bsModalService.hide(this.level),this.isModalHiding=!1},this.isAnimated?300:0))}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(c),i.Lb(i.l),i.Lb(i.D))}
1,e.\u0275cmp=i.Fb({type:e,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(e,t){1&e&&i.ac("mousedown",(function(e){return t.onClickStarted(e)}))("mouseup",(function(e){return t.onClickStop(e)}))("keydown.esc",(function(e){return t.onEsc(e)}),!1,i.vc),2&e&&i.Ab("aria-modal",!0)("aria-labelledby",t.config.ariaLabelledBy)("aria-describedby",t.config.ariaDescribedby)},ngContentSelectors:a,decls:3,vars:2,consts:[["role","document"],[1,"modal-content"]],template:function(e,t){1&e&&(i.jc(),i.Rb(0,"div",0),i.Rb(1,"div",1),i.ic(2),i.Qb(),i.Qb()),2&e&&i.Bb("modal-dialog"+(t.config.class?" "+t.config.class:""))},encapsulation:2}),e})(),h=(()=>{class e{constructor(e,t){this._isShown=!1,this.element=e,this.renderer=t}get isAnimated(){return this._isAnimated}set isAnimated(e){this._isAnimated=e}get isShown(){return this._isShown}set isShown(e){this._isShown=e,e?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),Object(r.d)()||(e?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),r.b.reflow(this.element.nativeElement)),this.isShown=!0}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.l),i.Lb(i.D))},e.\u0275cmp=i.Fb({type:e,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),p=(()=>{class e{constructor(e,t,n,r){this._element=e,this._renderer=n,this.onShow=new i.n,this.onShown=new i.n,this.onHide=new i.n,this.onHidden=new i.n,this._isShown=!1,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.timerHideModal=0,this.timerRmBackDrop=0,this.isNested=!1,this.clickStartedInContent=!1,this._backdrop=r.createLoader(e,t,n)}set config(e){this._config=this.getConfig(e)}get config(){return this._config}get isShown(){return this._isShown}onClickStarted(e){this.clickStartedInContent=e.target!==this._element.nativeElement}onClickStop(e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||e.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.dismissReason="backdrop-click",this.hide(e))}onEsc(e){this._isShown&&(27!==e.keyCode&&"Escape"!==e.key||e.preventDefault(),this.config.keyboard&&(this.dismissReason="esc",this.hide()))}ngOnDestroy(){this.config=void 0,this._isShown&&(this._isShown=!1,this.hideModal(),this._backdrop.dispose())}ngOnInit(){this._config=this._config||this.getConfig(),setTimeout(()=>{this._config.show&&this.show()},0)}toggle(){return this._isShown?this.hide():this.show()}show(){this.dismissReason=null,this.onShow.emit(this),this._isShown||(clearTimeout(this.timerHideModal),clearTimeout(this.timerRmBackDrop),this._isShown=!0,this.checkScrollbar(),this.setScrollbar(),r.c&&r.c.body&&(r.c.body.classList.contains("modal-open")?this.isNested=!0:this._renderer.addClass(r.c.body,"modal-open")),this.showBackdrop(()=>{this.showElement()}))}hide(e){e&&e.preventDefault(),this.onHide.emit(this),this._isShown&&(r.j.clearTimeout(this.timerHideModal),r.j.clearTimeout(this.timerRmBackDrop),this._isShown=!1,this._renderer.removeClass(this._element.nativeElement,"in"),Object(r.d)()||this._renderer.removeClass(this._element.nativeElement,"show"),this._config.animated?this.timerHideModal=r.j.setTimeout(()=>this.hideModal(),300):this.hideModal())}getConfig(e){return Object.assign({},u,e)}showElement(){this._element.nativeElement.parentNode&&this._element.nativeElement.parentNode.nodeType===Node.ELEMENT_NODE||r.c&&r.c.body&&r.c.body.appendChild(this._element.nativeElement),this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","false"),this._renderer.setAttribute(this._element.nativeElement,"aria-modal","true"),this._renderer.setStyle(this._element.nativeElement,"display","block"),this._renderer.setProperty(this._element.nativeElement,"scrollTop",0),this._config.animated&&r.b.reflow(this._element.nativeElement),this._renderer.addClass(this._element.nativeElement,"in"),Object(r.d)()||this._renderer.addClass(this._element.nativeElement,"show");const e=()=>{this._config.focus&&this._element.nativeElement.focus(),this.onShown.emit(this)};
1this._config.animated?setTimeout(e,300):e()}hideModal(){this._renderer.setAttribute(this._element.nativeElement,"aria-hidden","true"),this._renderer.setStyle(this._element.nativeElement,"display","none"),this.showBackdrop(()=>{this.isNested||(r.c&&r.c.body&&this._renderer.removeClass(r.c.body,"modal-open"),this.resetScrollbar()),this.resetAdjustments(),this.focusOtherModal(),this.onHidden.emit(this)})}showBackdrop(e){if(!this._isShown||!this.config.backdrop||this.backdrop&&this.backdrop.instance.isShown)if(!this._isShown&&this.backdrop){this.backdrop.instance.isShown=!1;const t=()=>{this.removeBackdrop(),e&&e()};this.backdrop.instance.isAnimated?this.timerRmBackDrop=r.j.setTimeout(t,150):t()}else e&&e();else{if(this.removeBackdrop(),this._backdrop.attach(h).to("body").show({isAnimated:this._config.animated}),this.backdrop=this._backdrop._componentRef,!e)return;if(!this._config.animated)return void e();setTimeout(e,150)}}removeBackdrop(){this._backdrop.hide()}focusOtherModal(){if(null==this._element.nativeElement.parentElement)return;const e=this._element.nativeElement.parentElement.querySelectorAll(".in[bsModal]");e.length&&e[e.length-1].focus()}resetAdjustments(){this._renderer.setStyle(this._element.nativeElement,"paddingLeft",""),this._renderer.setStyle(this._element.nativeElement,"paddingRight","")}checkScrollbar(){this.isBodyOverflowing=r.c.body.clientWidth<r.j.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){r.c&&(this.originalBodyPadding=parseInt(r.j.getComputedStyle(r.c.body).getPropertyValue("padding-right")||0,10),this.isBodyOverflowing&&(r.c.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){r.c.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const e=this._renderer.createElement("div");this._renderer.addClass(e,"modal-scrollbar-measure"),this._renderer.appendChild(r.c.body,e);const t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(r.c.body,e),t}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.l),i.Lb(i.N),i.Lb(i.D),i.Lb(o.a))},e.\u0275dir=i.Gb({type:e,selectors:[["","bsModal",""]],hostBindings:function(e,t){1&e&&i.ac("mousedown",(function(e){return t.onClickStarted(e)}))("mouseup",(function(e){return t.onClickStop(e)}))("keydown.esc",(function(e){return t.onEsc(e)}))},inputs:{config:"config"},outputs:{onShow:"onShow",onShown:"onShown",onHide:"onHide",onHidden:"onHidden"},exportAs:["bs-modal"]}),e})(),f=(()=>{class e{constructor(e,t){this.clf=t,this.config=u,this.onShow=new i.n,this.onShown=new i.n,this.onHide=new i.n,this.onHidden=new i.n,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason="",this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=e.createRenderer(null,null)}show(e,t){return this.modalsCount++,this._createLoaders(),this.config=Object.assign({},u,t),this._showBackdrop(),this.lastDismissReason=null,this._showModal(e)}hide(e){1===this.modalsCount&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(e),this.removeLoaders(e)},this.config.animated?150:0)}_showBackdrop(){const e=this.config.backdrop||"static"===this.config.backdrop,t=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),e&&t&&(this._backdropLoader.attach(h).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(e){const t=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const r of this.config.providers)t.provide(r);const n=new l,i=t.provide({provide:c,useValue:this.config}).provide({provide:l,useValue:n}).attach(d).to("body").show({content:e,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this});return i.instance.level=this.getModalsCount(),n.hide=()=>{setTimeout(()=>i.instance.hide(),this.config.animated?300:0)},n.content=t.getInnerComponent()||null,n.setClass=e=>{i.instance.config.class=e},n}_hideModal(e){const t=this.loaders[e-1];t&&t.hide()}getModalsCount(){return this.modalsCount}setDismissReason(e){this.lastDismissReason=e}removeBackdrop(){this._backdropLoader.hide(),this.backdropRef=null}checkScrollbar(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){document&&(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){document.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const e=this._renderer.createElement("div");
1this._renderer.addClass(e,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,e);const t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(document.body,e),t}_createLoaders(){const e=this.clf.createLoader(null,null,null);this.copyEvent(e.onBeforeShow,this.onShow),this.copyEvent(e.onShown,this.onShown),this.copyEvent(e.onBeforeHide,this.onHide),this.copyEvent(e.onHidden,this.onHidden),this.loaders.push(e)}removeLoaders(e){this.loaders.splice(e-1,1),this.loaders.forEach((e,t)=>{e.instance.level=t+1})}copyEvent(e,t){e.subscribe(()=>{t.emit(this.lastDismissReason)})}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(i.E),i.Wb(o.a))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),m=(()=>{class e{static forRoot(){return{ngModule:e,providers:[f,o.a,s.a]}}static forChild(){return{ngModule:e,providers:[f,o.a,s.a]}}}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)}}),e})()},K4No:function(e,t,n){"use strict";var i,r=((i=n("M2vE"))&&i.__esModule?i:{default:i}).default;e.exports={extend:function(e){r=r.inherit(e)},create:function(e){return new r(e)}}},KAnu:function(e,t,n){"use strict";var i=c(n("2Fn2")),r=c(n("0osO")),o=n("tJvG"),s=n("yxXJ"),a=n("zl3R"),l=n("ti0F");function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d,h=[],p=[],f=[],m=function(e,t,n){if(d&&d!==e)return h.push(t),p.push(e),n=n||new o.Deferred,f.push(n),n;var i=d,r=f.length;d=e;var s=t();return s||(f.length>r?s=o.when.apply(this,f.slice(r)):n&&n.resolve()),d=i,n&&s&&s.done&&s.done(n.resolve).fail(n.reject),!d&&h.length&&("render"===p.shift()?g:_)(h.shift(),f.shift()),s||(0,o.when)()},g=function(e,t){return m("render",e,t)},_=function(e,t){return m("update",e,t)},b=function(e){switch(u(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}},v=function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!w(e[i],t[i],n+1))return!1;return!0},y=function(e,t,n,i){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&!w(e[r],t[r],n+1,i))return!1;for(var o in t)if(!(o in e))return!1;return!0},w=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e=(0,s.toComparable)(e,!0),t=(0,s.toComparable)(t,!0);var r=i?e===t:e==t;return!!(r||n>=3)||((0,l.isObject)(e)&&(0,l.isObject)(t)?y(e,t,n,i):!(!Array.isArray(e)||!Array.isArray(t))&&v(e,t,n))};t.ensureDefined=function(e,t){return(0,l.isDefined)(e)?e:t},t.executeAsync=function(e,t){var n=new o.Deferred,i=t||this,r={promise:n.promise(),abort:function(){clearTimeout(a),n.rejectWith(i)}},s=function(){var t=e.call(i);t&&t.done&&(0,l.isFunction)(t.done)?t.done((function(){n.resolveWith(i)})):n.resolveWith(i)},a=(arguments[2]||setTimeout)(s,"number"==typeof t?t:0);return r},t.deferRender=g,t.deferRenderer=function(e){return function(){var t=this;return m("render",(function(){return e.call(t)}))}},t.deferUpdate=_,t.deferUpdater=function(e){return function(){var t=this;return m("update",(function(){return e.call(t)}))}},t.pairToObject=function(e,t){var n=b(e),i=t?parseFloat(n&&n[0]):parseInt(n&&n[0],10),r=t?parseFloat(n&&n[1]):parseInt(n&&n[1],10);return isFinite(i)||(i=0),isFinite(r)||(r=i),{h:i,v:r}},t.splitPair=b,t.findBestMatches=function(e,t,n){var i=[],r=0;return(0,a.each)(t,(function(t,o){var s=0,l=n?n(o):o;(0,a.each)(e,(function(e,t){var n=l[e];if(void 0!==n){if(!function(e,t){if(Array.isArray(e)&&Array.isArray(t)){var n=!1;return(0,a.each)(e,(function(e,i){if(i!==t[e])return n=!0,!1})),!n}return e===t}(n,t))return s=-1,!1;s++}})),s<r||(s>r&&(i.length=0,r=s),i.push(o))})),i},t.normalizeKey=function(e){var t=(0,l.isString)(e)?e:e.toString(),n=t.match(/[^a-zA-Z0-9_]/g);return n&&(0,a.each)(n,(function(e,n){t=t.replace(n,"__"+n.charCodeAt()+"__")})),t},t.denormalizeKey=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},t.getKeyHash=function(e){if(e instanceof r.default)return e.toString();if((0,l.isObject)(e)||Array.isArray(e))try{var t=JSON.stringify(e);return"{}"===t?e:t}catch(n){return e}return e},t.escapeRegExp=function(e){return e.replace(/[[\]{}\-()*+?.\\^$|\s]/g,"\\$&")},t.applyServerDecimalSeparator=function(e){var t=(0,i.default)().serverDecimalSeparator;return(0,l.isDefined)(e)&&(e=e.toString().replace(".",t)),e},t.noop=function(){},t.asyncNoop=function(){return(new o.Deferred).resolve().promise()},t.grep=function(e,t,n){for(var i=[],r=!n,o=0;o<e.length;o++)!!t(e[o],o)===r&&i.push(e[o]);return i},t.equalByValue=w},KBLa:function(e,t,n){"use strict";var i=["pageX","pageY","screenX","screenY","clientX","clientY"];
1e.exports=function(e){i.forEach((function(t){e(t,(function(e){return function(e,t){if(t[e]&&!t.touches||!t.touches)return t[e];var n=t.touches.length?t.touches:t.changedTouches;return n.length?n[0][e]:void 0}(t,e)}))}),this)}},KSF8:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KYaq:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("f94d"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("search",r.default)},Kj3r:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("7o/Q"),r=n("D0XW");function o(e,t=r.a){return n=>n.lift(new s(e,t))}
1class s{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends i.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function l(e){e.debouncedNext()}},Kkrk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.START_BIN="1010",t.END_BIN="11101",t.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]},Kksw:function(e,t,n){"use strict";var i=p(n("FKN7")),r=n("cGv3"),o=p(n("jeLr")),s=p(n("uHaw")),a=n("ti0F"),l=p(n("vlix")),c=n("zl3R"),u=p(n("5qrJ")),d=n("tJvG"),h=p(n("cYys"));function p(e){return e&&e.__esModule?e:{default:e}}var f,m,g,_,b,v,y=function(e){return"virtual"===e.option("scrolling.mode")||e._isVirtual},w=function(e){return"infinite"===e.option("scrolling.mode")&&!e._isVirtual};t.getPixelRatio=function(e){return e.devicePixelRatio||1},t.getContentHeightLimit=function(e){return e.msie?4e6:e.mozilla?8e6:15e6/t.getPixelRatio((0,r.getWindow)())},t.subscribeToExternalScrollers=function(e,t,n){var s,a=[],u=[],d=[];function h(t){var n=t.element?t.$element():t,i=l.default.offset(n);return i?t.scrollTop()-(i.top-e.offset().top):e.offset().top}var p={on:function(e,t,n){e.on("scroll",n)},off:function(e,t,n){e.off("scroll",n)}};function f(e){var n="#document"===e.get(0).nodeName,s=e.data("dxScrollable"),l=p;if(s||(s=n&&(0,i.default)((0,r.getWindow)())||"auto"===e.css("overflowY")&&e,l=o.default,s)){var c=function(e){return function(){var n=e.scrollTop()-h(e);t(n=n>0?n:0)}}(s);l.on(s,"scroll",c),u.push((function(e){var t=h(s);e-t>=0&&s[s.scrollTo?"scrollTo":"scrollTop"](e+t)})),a.push(s),d.push((function(){l.off(s,"scroll",c)}))}}for(s=(n=n||e).parent();s.length;s=s.parent())f(s);return{scrollTo:function(e){(0,c.each)(u,(function(t,n){n(e)}))},dispose:function(){(0,c.each)(d,(function(e,t){t()}))}}},t.VirtualScrollController=u.default.inherit((f=function(e,t){var n=e.option("scrolling.preloadEnabled"),i=function(e){var t=e._dataSource.pageSize();if(e.option("scrolling.preventPreload"))return 0;var n=e._viewportSize;if(y(e)&&!e.option("legacyRendering")&&e.option("scrolling.removeInvisiblePages")){n=0;for(var i=e._viewportSize*e._viewportItemSize,r=e.getContentOffset(),o=e._position||0,s=e.virtualItemsCount(),a=e._dataSource.totalItemsCount(),l=s.begin;l<a&&!(r>=o+i);l++)(r+=e._itemSizes[l]||e._viewportItemSize)>=o&&n++}return t&&n>0?Math.ceil(n/t):1}(e);return i&&(t?i=n?1:0:(n&&i++,w(e)&&i--)),i},m=function(e){return e._cache.length?e._cache[0].pageIndex:-1},g=function(e){return e._cache.length?e._cache[e._cache.length-1].pageIndex:-1},_=function(e,t,n){e._isChangedFiring=!0,t(n),e._isChangedFiring=!1},b=function(e,t,n){if(e._isDelayChanged)return e._isDelayChanged=!1,_(e,t,n),!0},v=function(e,t,n,i,r){var o=e._dataSource,s=o.items().slice(),l=(0,a.isObject)(n)?n:void 0,c="prepend"===n,u=o.viewportItems();n&&(0,a.isString)(n)&&!e._isDelayChanged&&(l={changeType:n,items:s},r&&(l.removeCount=r.itemsCount,l.removeCount&&o.correctCount&&(l.removeCount=o.correctCount(u,l.removeCount,c))));var d=r?r.itemsLength:0;d&&o.correctCount&&(d=o.correctCount(u,d,c)),"append"===n?(u.push.apply(u,s),r&&u.splice(0,d)):c?(u.unshift.apply(u,s),r&&u.splice(-d)):e._dataSource.viewportItems(s),o.updateLoading(),e._lastPageIndex=e.pageIndex(),e._isDelayChanged=i,i||_(e,t,l)},{ctor:function(e,t,n){this._dataSource=t,this.component=e,this._pageIndex=this._lastPageIndex=t.pageIndex(),this._viewportSize=0,this._viewportItemSize=20,this._viewportItemIndex=-1,this._itemSizes={},this._sizeRatio=1,this._items=[],this._cache=[],this._isVirtual=n,this._loadingPageIndexes={},this.positionChanged=(0,h.default)()},getItemSizes:function(){return this._itemSizes},option:function(){return this.component.option.apply(this.component,arguments)},virtualItemsCount:function(){var e,t=0;if(y(this)){(e=m(this))<0&&(e=this._dataSource.pageIndex());var n=e*this._dataSource.pageSize();return t=this._cache.length*this._dataSource.pageSize(),{begin:n,end:Math.max(0,this._dataSource.totalItemsCount()-t-n)}}}
1,setViewportPosition:function(e){var t=this,n=new d.Deferred,i=Math.min(t.option("scrolling.timeout")||0,t._dataSource.changingDuration());return i<t.option("scrolling.renderingThreshold")&&(i=t.option("scrolling.minTimeout")||0),clearTimeout(t._scrollTimeoutID),i>0?t._scrollTimeoutID=setTimeout((function(){t._setViewportPositionCore(e),n.resolve()}),i):(t._setViewportPositionCore(e),n.resolve()),n.promise()},getViewportPosition:function(){return this._position||0},getItemIndexByPosition:function(){for(var e=this._position,t=this.getItemSize(),n=0,i=0,r=Object.keys(this._itemSizes).concat(-1),o=0;o<r.length&&n<e;o++){var s=parseInt(r[o]),a=(e-n)/t;if(s<0||i+a<s){i+=a;break}n+=(a=s-i)*t,i+=a;var l=this._itemSizes[s];i+=(n+=l)<e?1:(e-n+l)/l}return Math.round(50*i)/50},_setViewportPositionCore:function(e){this._position=e;var t=this.getItemIndexByPosition(),n=this.setViewportItemIndex(t);return this.positionChanged.fire(),n},setContentSize:function(e){var n=this,i=Array.isArray(e)&&e,r=n.virtualItemsCount();if(i&&(e=i.reduce((function(e,t){return e+t}),0)),n._contentSize=e,r){i&&i.forEach((function(e,t){n._itemSizes[r.begin+t]=e}));var o=(r.begin+r.end+n.itemsCount())*n._viewportItemSize,a=t.getContentHeightLimit(s.default);n._sizeRatio=o>a?a/o:1}},getItemSize:function(){return this._viewportItemSize*this._sizeRatio},getItemOffset:function(e,t){var n=this,i=n.virtualItemsCount(),r=e;if(!i)return 0;var o=0,s=n._dataSource.totalItemsCount();return Object.keys(n._itemSizes).forEach((function(i){r&&(t?i>=s-e:i<e)&&(o+=n._itemSizes[i],r--)})),Math.floor(o+r*n._viewportItemSize*n._sizeRatio)},getContentOffset:function(e){var t="end"===e,n=this.virtualItemsCount();return n?this.getItemOffset(t?n.end:n.begin,t):0},getVirtualContentSize:function(){return this.virtualItemsCount()?this.getContentOffset("begin")+this.getContentOffset("end")+this._contentSize:0},getViewportItemIndex:function(){return this._viewportItemIndex},setViewportItemIndex:function(e){var t,n=this._dataSource.pageSize(),i=this._dataSource.page
1Count(),r=y(this),o=w(this),s=this._dataSource.totalItemsCount();if(this._viewportItemIndex=e,n&&(r||o)&&s>=0){if(this._viewportSize&&e+this._viewportSize>=s&&!this._isVirtual)if(this._dataSource.hasKnownLastPage()){var a=s%n;(t=i-1)>0&&a>0&&a<this._viewportSize&&t--}else t=i;else{t=Math.floor(e/n);var l=i-1;t=Math.max(t,0),t=Math.min(t,l)}return this.pageIndex(t),this.load()}},viewportItemSize:function(e){return void 0!==e&&(this._viewportItemSize=e),this._viewportItemSize},viewportSize:function(e){return void 0!==e&&(this._viewportSize=e),this._viewportSize},pageIndex:function(e){return y(this)||w(this)?(void 0!==e&&(this._pageIndex=e),this._pageIndex):this._dataSource.pageIndex(e)},beginPageIndex:function(e){var t=m(this);return t<0&&(t=void 0!==e?e:this.pageIndex()),t},endPageIndex:function(){var e=g(this);return e>0?e:this._lastPageIndex},pageSize:function(){return this._dataSource.pageSize()},load:function(){var e,t=this,n=t._dataSource;if(y(t)||w(t)){var i=function(e){var t=-1,n=m(e),i=e._dataSource;return n<0?t=e._pageIndex:e._cache[e._pageIndex-n]?n>=0&&e._viewportSize>=0&&(n>0&&(g(e)+1===i.pageCount()&&e._cache.length<f(e)+1||e._pageIndex===n&&f(e,!0))&&(t=n-1),t<0&&n+e._cache.length<=e._pageIndex+f(e)&&(t=n+e._cache.length)):t=e._pageIndex,e._loadingPageIndexes[t]&&(t=-1),t}(t);if(i>=0){var r=function(e,t){var n=e._dataSource;if(t===e.pageIndex()||!n.isLoading()&&t<n.pageCount()||!n.hasKnownLastPage()&&t===n.pageCount())return n.pageIndex(t),e._loadingPageIndexes[t]=!0,(0,d.when)(n.load()).always((function(){e._loadingPageIndexes[t]=!1}))}(t,i);r&&(e=new d.Deferred,r.done((function(){var n=t._delayDeferred;n?n.done(e.resolve).fail(e.reject):e.resolve()})).fail(e.reject),n.updateLoading())}}else e=n.load();return e||t._lastPageIndex===t.pageIndex()||t._dataSource.onChanged({changeType:"pageIndex"}),e||(new d.Deferred).resolve()},loadIfNeed:function(){if((y(this)||w(this))&&!this._dataSource.isLoading()&&(!this._isChangedFiring||this._isVirtual)){var e=this.getViewportPosition();e>0?this._setViewportPositionCore(e):this.load()}},handleDataChanged:function(e,t){var n,i,r=this,o=r._dataSource,s=r._cache.length;if(t&&t.changes)_(r,e,t);else if(y(r)||w(r)){var a=m(r);
1if(a>=0&&(y(r)&&a+r._cache.length!==o.pageIndex()&&a-1!==o.pageIndex()&&(s=0,r._cache=[]),w(r)))if(0===o.pageIndex())r._cache=[];else if(o.pageIndex()<g(r))return void _(r,e,{changeType:"append",items:[]});var l,c={pageIndex:o.pageIndex(),itemsLength:o.items(!0).length,itemsCount:r.itemsCount(!0)};!r.option("legacyRendering")&&r.option("scrolling.removeInvisiblePages")&&y(r)?i=r._cache.length>Math.max(f(this)+(r.option("scrolling.preloadEnabled")?1:0),2):b(r,e,{isDelayed:!0}),a===o.pageIndex()+1?(i&&(l=r._cache.pop()),n="prepend",r._cache.unshift(c)):(i&&(l=r._cache.shift()),n="append",r._cache.push(c));var u=y(r)&&0===s;v(r,e,r._cache.length>1?n:void 0,u,l),r._delayDeferred=r.load().done((function(){b(r,e)&&r.load()}))}else v(r,e,t)},itemsCount:function(e){var t=0;return!e&&y(this)?(0,c.each)(this._cache,(function(){t+=this.itemsCount})):t=this._dataSource.itemsCount(),t},reset:function(e){this._loadingPageIndexes={},this._cache=[],e||(this._itemSizes={})},subscribeToWindowScrollEvents:function(e){var n=this;n._windowScroll=n._windowScroll||t.subscribeToExternalScrollers(e,(function(e){n.viewportItemSize()&&n.setViewportPosition(e)}))},dispose:function(){clearTimeout(this._scrollTimeoutID),this._windowScroll&&this._windowScroll.dispose(),this._windowScroll=null},scrollTo:function(e){this._windowScroll&&this._windowScroll.scrollTo(e)}}))},KrLa:function(e,t,n){"use strict";var i=n("FKN7"),r=n("1B4V"),o=n("XpgS").wrapToArray,s=n("XpgS").inArray,a=n("zl3R"),l=n("v4HY").contains,c=n("GBv4"),u=n("JDOJ"),d=n("3gJo"),h=n("Z/aR"),p="dxdragenter",f="dxdragleave",m="dxdrop",g=[],_=[],b=[],v={setup:function(e,t){-1!==s(e,g)||(g.push(e),_.push([]),b.push(t||{}))},add:function(e,t){var n=s(e,g);this.updateEventsCounter(e,t.type,1);var i=t.selector;-1===s(i,_[n])&&_[n].push(i)},updateEventsCounter:function(e,t,n){if([p,f,m].indexOf(t)>-1){var i=r.data(e,"dxDragEventsCount")||0;r.data(e,"dxDragEventsCount",Math.max(0,i+n))}},remove:function(e,t){this.updateEventsCounter(e,t.type,-1)},teardown:function(e){if(!r.data(e,"dxDragEventsCount")){var t=s(e,g);g.splice(t,1),_.splice(t,1),b.splice(t,1),r.removeData(e,"dxDragEventsCount")}}};c(p,v),c(f,v),c(m,v),h({emitter:d.inherit({ctor:function(e){this.callBase(e),this.direction="both"},_init:function(e){this._initEvent=e},_start:function(e){e=this._fireEvent("dxdragstart",this._initEvent),this._maxLeftOffset=e.maxLeftOffset,this._maxRightOffset=e.maxRightOffset,this._maxTopOffset=e.maxTopOffset,this._maxBottomOffset=e.maxBottomOffset;var t=o(e.targetElements||(null===e.targetElements?[]:g));this._dropTargets=a.map(t,(function(e){return i(e).get(0)}))},_move:function(e){var t=u.eventData(e),n=this._calculateOffset(t);e=this._fireEvent("dxdrag",e,{offset:n}),this._processDropTargets(e),e._cancelPreventDefault||e.preventDefault()},_calculateOffset:function(e){return{x:this._calculateXOffset(e),y:this._calculateYOffset(e)}},_calculateXOffset:function(e){return"vertical"!==this.direction?this._fitOffset(e.x-this._startEventData.x,this._maxLeftOffset,this._maxRightOffset):0},_calculateYOffset:function(e){return"horizontal"!==this.direction?this._fitOffset(e.y-this._startEventData.y,this._maxTopOffset,this._maxBottomOffset):0},_fitOffset:function(e,t,n){return null!=t&&(e=Math.max(e,-t)),null!=n&&(e=Math.min(e,n)),e},_processDropTargets:function(e){var t=this._findDropTarget(e);t===this._currentDropTarget||(this._fireDropTargetEvent(e,f),this._currentDropTarget=t,this._fireDropTargetEvent(e,p))},_fireDropTargetEvent:function(e,t){if(this._currentDropTarget){var n={type:t,originalEvent:e,draggingElement:this._$element.get(0),target:this._currentDropTarget};u.fireEvent(n)}},_findDropTarget:function(e){var t,n=this;return a.each(g,(function(r,o){if(n._checkDropTargetActive(o)){var l,c,u,d,h=i(o);a.each((c=s((l=h).get(0),g),u=_[c].filter((function(e){return e})),d=l.find(u.join(", ")),-1!==s(void 0,_[c])&&(d=d.add(l)),d),(function(r,o){var a=i(o);n._checkDropTarget(function(e){var t=s(e.get(0),g);return b[t]}(h),a,e)&&(t=o)}))}})),t},_checkDropTargetActive:function(e){var t=!1;return a.each(this._dropTargets,(function(n,i){return!(t=t||i===e||l(i,e))})),t},_checkDropTarget:function(e,t,n){if(t.get(0)===i(n.target).get(0))return!1;var r,o,s=(o=t,(r=e).itemPositionFunc?r.itemPositionFunc(o):o.offset());if(n.pageX<s.left)return!1;if(n.pageY<s.top)return!1;var a=function(e,t){return e.itemSizeFunc?e.itemSizeFunc(t):{width:t.get(0).getBoundingClientRect().width,height:t.get(0).getBoundingClientRect().height}}(e,t);return!(n.pageX>s.left+a.width)&&!(n.pageY>s.top+a.height)&&!(e.checkDropTarget&&!e.checkDropTarget(t,n))&&t},_end:function(e){var t=u.eventData(e);this._fireEvent("dxdragend",e,{offset:this._calculateOffset(t)}),this._fireDropTargetEvent(e,m),delete this._currentDropTarget}}),events:["dxdragstart","dxdrag","dxdragend"]}),t.move="dxdrag",t.start="dxdragstart",t.end="dxdragend",t.enter=p,t.leave=f,t.drop=m},"L+Gw":function(e,t,n){"use strict";var i,r=n("5qrJ"),o=r.abstract,s=n("CQoW"),a=n("zl3R").each,l=n("YyLj"),c=n("IRs2"),u=n("yxXJ").compileGetter,d=n("IEE5").queryByOptions,h=n("tJvG").Deferred,p=n("KAnu").noop,f={},m=r.inherit({ctor:function(e){var t=this;e=e||{},a(["onLoaded","onLoading","onInserted","onInserting","onUpdated","onUpdating","onPush","onRemoved","onRemoving","onModified","onModifying"],(function(n,i){i in e&&t.on(i.slice(2).toLowerCase(),e[i])})),this._key=e.key,this._errorHandler=e.errorHandler,this._useDefaultSearch=!0},_customLoadOptions:function(){return null},key:function(){return this._key},keyOf:function(e){return this._keyGetter||(this._keyGetter=u(this.key())),this._keyGetter(e)},_requireKey:function(){if(!this.key())throw l.errors.Error("E4005")},load:function(e){var t=this;return this.fireEvent("loading",[e=e||{}]),this._withLock(this._loadImpl(e)).done((function(n){t.fireEvent("loaded",[n,e])}))},_loadImpl:function(e){return d(this.createQuery(e),e).enumerate()},_withLock:function(e){var t=new h;return e.done((function(){var e=this,n=arguments;c.processRequestResultLock.promise().done((function(){t.resolveWith(e,n)}))})).fail((function(){t.rejectWith(this,arguments)})),t},createQuery:o,totalCount:function(e){return this._totalCountImpl(e)},_totalCountImpl:function(e){return d(this.createQuery(e),e,!0).count()},byKey:function(e,t){return this._addFailHandlers(this._withLock(this._byKeyImpl(e,t)))},_byKeyImpl:o,insert:function(e){var t=this;return t.fireEvent("modifying"),t.fireEvent("inserting",[e]),t._addFailHandlers(t._insertImpl(e).done((function(e,n){t.fireEvent("inserted",[e,n]),t.fireEvent("modified")})))},_insertImpl:o,update:function(e,t){var n=this;return n.fireEvent("modifying"),n.fireEvent("updating",[e,t]),n._addFailHandlers(n._updateImpl(e,t).done((function(){n.fireEvent("updated",[e,t]),n.fireEvent("modified")})))},_updateImpl:o,push:function(e){this._pushImpl(e),this.fireEvent("push",[e])},_pushImpl:p,remove:function(e){var t=this;
1return t.fireEvent("modifying"),t.fireEvent("removing",[e]),t._addFailHandlers(t._removeImpl(e).done((function(e){t.fireEvent("removed",[e]),t.fireEvent("modified")})))},_removeImpl:o,_addFailHandlers:function(e){return e.fail(this._errorHandler).fail(l._errorHandler)}}).include(s);m.create=function(e,t){if(!(e in f))throw l.errors.Error("E4020",e);return new f[e](t)},m.registerClass=function(e,t){return t&&(f[t]=e),e},m.inherit=(i=m.inherit,function(e,t){var n=i.apply(this,[e]);return m.registerClass(n,t),n}),e.exports=m},LI0J:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o=n("FKN7"),s=n("3IPI"),a=n("ti0F").isDate,l=n("zl3R").each,c=n("dYUP"),u={SUPPORTED_FORMATS:["date","time","datetime"],DATE_COMPONENT_TEXT_FORMATTER:function(e,t){var n=o("<div>").addClass("dx-dateview-formatter-container");return o("<span>").text(e).addClass("dx-dateview-value-formatter").appendTo(n),o("<span>").text(t).addClass("dx-dateview-name-formatter").appendTo(n),n},ONE_MINUTE:6e4,ONE_DAY:864e5,ONE_YEAR:31536e6,MIN_DATEVIEW_DEFAULT_DATE:new Date(1900,0,1),MAX_DATEVIEW_DEFAULT_DATE:(r=new Date,new Date(r.getFullYear()+50,r.getMonth(),r.getDate(),23,59,59)),FORMATS_INFO:{date:{getStandardPattern:function(){return"yyyy-MM-dd"},components:["year","day","month","day"]},time:{getStandardPattern:function(){return"HH:mm"},components:["hours","minutes","seconds","milliseconds"]},datetime:{getStandardPattern:function(){var e,t;return(t=o("<input>").attr("type","datetime")).val("2000-01-01T01:01Z"),t.val()&&(e="yyyy-MM-ddTHH:mmZ"),e||(e="yyyy-MM-ddTHH:mm:ssZ"),u.FORMATS_INFO.datetime.getStandardPattern=function(){return e},e},components:["year","day","month","day"].concat(["hours","minutes","seconds","milliseconds"])},"datetime-local":{getStandardPattern:function(){return"yyyy-MM-ddTHH:mm:ss"},components:["year","day","month","day"].concat(["hours","minutes","seconds"])}},FORMATS_MAP:{date:"shortdate",time:"shorttime",datetime:"shortdateshorttime"},SUBMIT_FORMATS_MAP:{date:"date",time:"time",datetime:"datetime-local"},toStandardDateFormat:function(e,t){var n=u.FORMATS_INFO[t].getStandardPattern();return s.serializeDate(e,n)},fromStandardDateFormat:function(e){var t=s.dateParser(e);return a(t)?t:void 0},getMaxMonthDay:function(e,t){return new Date(e,t+1,0).getDate()},mergeDates:function(e,t,n){if(!t)return t||null;if(!e||isNaN(e.getTime())){var i=new Date(null);e=new Date(i.getFullYear(),i.getMonth(),i.getDate())}var r=new Date(e.valueOf());return l(u.FORMATS_INFO[n].components,(function(){var e=u.DATE_COMPONENTS_INFO[this];r[e.setter](t[e.getter]())})),r},getLongestCaptionIndex:function(e){var t,n=0,i=0;for(t=0;t<e.length;++t)e[t].length>i&&(n=t,i=e[t].length);return n},formatUsesMonthName:function(e){return c.formatUsesMonthName(e)},formatUsesDayName:function(e){return c.formatUsesDayName(e)},getLongestDate:function(e,t,n){var r=function(e){var t=i(e);return"string"===t?"format":"object"===t&&void 0!==e.type?e.type:null}(e),o=9;r&&!u.formatUsesMonthName(r)||(o=u.getLongestCaptionIndex(t));var s=new Date(1888,o,21,23,59,59,999);if(!r||u.formatUsesDayName(r)){var a=s.getDate()-s.getDay()+u.getLongestCaptionIndex(n);s.setDate(a)}return s},normalizeTime:function(e){e.setSeconds(0),e.setMilliseconds(0)}};u.DATE_COMPONENTS_INFO={year:{getter:"getFullYear",setter:"setFullYear",formatter:function(e,t){var n=new Date(t.getTime());return n.setFullYear(e),c.format(n,"yyyy")},startValue:void 0,endValue:void 0},day:{getter:"getDate",setter:"setDate",formatter:function(e,t){var n=new Date(t.getTime());return n.setDate(e),c.format(n,"d")},startValue:1,endValue:void 0},month:{getter:"getMonth",setter:"setMonth",formatter:function(e){return c.getMonthNames()[e]},startValue:0,endValue:11},hours:{getter:"getHours",setter:"setHours",formatter:function(e){return c.format(new Date(0,0,0,e),"hour")},startValue:0,endValue:23},minutes:{getter:"getMinutes",setter:"setMinutes",formatter:function(e){return c.format(new Date(0,0,0,0,e),"minute")},startValue:0,endValue:59},seconds:{getter:"getSeconds",setter:"setSeconds",formatter:function(e){return c.format(new Date(0,0,0,0,0,e),"second")},startValue:0,endValue:59},milliseconds:{getter:"getMilliseconds",setter:"setMilliseconds",formatter:function(e){return c.format(new Date(0,0,0,0,0,0,e),"millisecond")},startValue:0,endValue:999}},e.exports=u},LPGq:function(e,t,n){"use strict";var i=c(n("2Fn2")),r=n("A8u/"),o=c(n("PE2r")),s=n("XWmc"),a=c(n("vkUy")),l=c(n("i1ou"));
1function c(e){return e&&e.__esModule?e:{default:e}}var u=/([^\s0]+)?(\s*)0*[.,]*0*(\s*)([^\s0]+)?/,d={},h=function(e){var t=(0,r.locale)()+"/"+JSON.stringify(e);return d[t]||(d[t]=new Intl.NumberFormat((0,r.locale)(),e).format),d[t]};e.exports={engine:function(){return"intl"},_formatNumberCore:function(e,t,n){return"exponential"===t?this.callBase.apply(this,arguments):h(this._normalizeFormatConfig(t,n))(e)},_normalizeFormatConfig:function(e,t,n){var r;return r="decimal"===e?{minimumIntegerDigits:t.precision||void 0,useGrouping:!1,maximumFractionDigits:String(n).length,round:n<0?"ceil":"floor"}:this._getPrecisionConfig(t.precision),"percent"===e?r.style="percent":"currency"===e&&(r.style="currency",r.currency=t.currency||(0,i.default)().defaultCurrency),r},_getPrecisionConfig:function(e){return null===e?{minimumFractionDigits:0,maximumFractionDigits:20}:{minimumFractionDigits:e||0,maximumFractionDigits:e||0}},format:function(e,t){return"number"!=typeof e?e:("default"===(t=this._normalizeFormat(t)).currency&&(t.currency=(0,i.default)().defaultCurrency),t&&("function"==typeof t||t.type||t.formatter)?this.callBase.apply(this,arguments):h(t)(e))},parse:function(e,t){return(0,s.compare)(o.default,"17.2.8")>=0?this.callBase.apply(this,arguments):e?t&&t.parser?t.parser(e):(e=this._normalizeNumber(e,t)).length>15?NaN:parseFloat(e):void 0},_normalizeNumber:function(e,t){if(this.convertDigits&&(e=this.convertDigits(e,!0)),/^[-+]?[0-9]*.?[0-9]+([eE][-+]?[0-9]+)+$/.test(e))return e;var n=this._getDecimalSeparator(t),i=new RegExp("[^0-9-\\"+n+"]","g");return e.replace(i,"").replace(n,".")},_getDecimalSeparator:function(e){return h(e)(.1)[1]},_getCurrencySymbolInfo:function(e){var t=function(e){return new Intl.NumberFormat((0,r.locale)(),{style:"currency",currency:e})}(e);return this._extractCurrencySymbolInfo(t.format(0))},_extractCurrencySymbolInfo:function(e){var t=u.exec(e)||[];return{position:t[1]?"before":"after",symbol:t[1]||t[4]||"",delimiter:t[2]||t[3]||""}},getCurrencySymbol:function(e){return e||(e=(0,i.default)().defaultCurrency),{symbol:this._getCurrencySymbolInfo(e).symbol}},getOpenXmlCurrencyFormat:function(e){var t=e||(0,i.default)().defaultCurrency,n=this._getCurrencySymbolInfo(t).symbol,o=(0,r.getValueByClosestLocale)((function(e){return l.default[e]}));return(0,a.default)(n,o)}}},LQDf:function(e,t,n){"use strict";var i=n("mdej"),r=n("l9EA"),o=n("5u+F"),s=n("KAnu"),a=n("ti0F").isFunction,l=n("1LL4").extend,c=n("imRD"),u=r.inherit({NAME:"Calendar",supportedKeys:function(){var e=function(e){return!!this.option("opened")&&(e.preventDefault(),!0)};return{rightArrow:function(){if(this.option("opened"))return!0},leftArrow:function(){if(this.option("opened"))return!0},enter:(function(e){if(this.dateBox.option("opened")){if(e.preventDefault(),this._widget.option("zoomLevel")!==this._widget.option("maxZoomLevel"))return!0;var t=this._widget._view.option("contouredDate");t&&"calendar"===this._lastActionElement&&this.dateBoxValue(t,e),this.dateBox.close(),this.dateBox._valueChangeEventHandler(e)}else this.dateBox._valueChangeEventHandler(e)}).bind(this),home:e,end:e}},getDisplayFormat:function(e){return e||"shortdate"},_getWidgetName:function(){return i},_getWidgetOptions:function(){var e=this.dateBox.option("disabledDates");return l(this.dateBox.option("calendarOptions"),{value:this.dateBoxValue()||null,dateSerializationFormat:null,_keyboardProcessor:this._widgetKeyboardProcessor,min:this.dateBox.dateOption("min"),max:this.dateBox.dateOption("max"),onValueChanged:this._valueChangedHandler.bind(this),onCellClick:this._cellClickHandler.bind(this),tabIndex:null,disabledDates:a(e)?this._injectComponent(e.bind(this.dateBox)):e,onContouredChanged:this._refreshActiveDescendant.bind(this),hasFocus:function(){return!0}})},_injectComponent:function(e){var t=this;return function(n){return l(n,{component:t.dateBox}),e(n)}},_refreshActiveDescendant:function(e){this._lastActionElement="calendar",this.dateBox.setAria("activedescendant",e.actionValue)},popupConfig:function(e){var t,n=e.toolbarItems,i=this.dateBox.option("buttonsLocation");return t="default"!==i?s.splitPair(i):["bottom","center"],"useButtons"===this.dateBox.option("applyValueMode")&&n.unshift({widget:"dxButton",toolbar:t[0],location:"after"===t[1]?"before":t[1],options:{onInitialized:(function(e){e.component.registerKeyHandler("escape",this._escapeHandler.bind(this))}).bind(this),onClick:(function(){this._widget._toTodayView()}).bind(this),text:c.format("dxCalendar-todayButtonText"),type:"today"}}),l(!0,e,{toolbarItems:n,position:{collision:"flipfit flip"}})},_escapeHandler:function(){this.dateBox.close(),this.dateBox.focus()},_valueChangedHandler:function(e){var t=this.dateBox;o.sameDate(e.value,e.previousValue)||"instantly"===t.option("applyValueMode")&&this.dateBoxValue(this.getValue(),e.event)}
1,_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue())},textChangedHandler:function(){this._lastActionElement="input",this.dateBox.option("opened")&&this._widget&&this._updateValue(!0)},_cellClickHandler:function(e){var t=this.dateBox;"instantly"===t.option("applyValueMode")&&(t.option("opened",!1),this.dateBoxValue(this.getValue(),e.event))}});e.exports=u},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("z+Ro"),r=n("yCtX"),o=n("jZKg");function s(...e){let t=e[e.length-1];return Object(i.a)(t)?(e.pop(),Object(o.a)(e,t)):Object(r.a)(e)}},Lci2:function(e,t,n){"use strict";var i=_(n("FKN7")),r=_(n("1B4V")),o=_(n("cYys")),s=_(n("KAnu")),a=_(n("cGv3")),l=n("JDOJ"),c=n("XgSC"),u=n("1LL4"),d=_(n("0osO")),h=_(n("zBVi")),p=_(n("uHSv")),f=_(n("cGV2")),m=_(n("jeLr")),g=n("TssP");function _(e){return e&&e.__esModule?e:{default:e}}var b=h.default.inherit({ctor:function(){this.showValidationMessageTimeout=null,this.validationRequest=(0,o.default)(),this.callBase.apply(this,arguments)},_createElement:function(e){this.callBase(e);var t=this.$element();t&&r.default.data(t[0],"dx-validation-target",this)},_initOptions:function(e){this.callBase.apply(this,arguments),this.option(f.default.initValidationOptions(e))},_init:function(){this.callBase(),this._initInnerOptionCache("validationTooltipOptions"),this.$element().addClass("dx-show-invalid-badge")},_getDefaultOptions:function(){return(0,u.extend)(this.callBase(),{value:null,name:"",onValueChanged:null,readOnly:!1,isValid:!0,validationError:null,validationErrors:null,validationStatus:"valid",validationMessageMode:"auto",validationBoundary:void 0,validationMessageOffset:{h:0,v:0},validationTooltipOptions:{}})},_attachKeyboardEvents:function(){this.option("readOnly")||(this.callBase(),this._keyboardProcessor&&this._attachChildKeyboardEvents())},_attachChildKeyboardEvents:s.default.noop,_setOptionsByReference:function(){this.callBase(),(0,u.extend)(this._optionsByReference,{validationError:!0})},_createValueChangeAction:function(){this._valueChangeAction=this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]})},_suppressValueChangeAction:function(){this._valueChangeActionSuppressed=!0},_resumeValueChangeAction:function(){this._valueChangeActionSuppressed=!1},_initMarkup:function(){this._toggleReadOnlyState(),this._setSubmitElementName(this.option("name")),this.callBase(),this._renderValidationState()},_raiseValueChangeAction:function(e,t){this._valueChangeAction||this._createValueChangeAction(),this._valueChangeAction(this._valueChangeArgs(e,t))},_valueChangeArgs:function(e,t){return{value:e,previousValue:t,event:this._valueChangeEventInstance}},_saveValueChangeEvent:function(e){this._valueChangeEventInstance=e},_focusInHandler:function(e){var t=this,n="auto"===this.option("validationMessageMode");return this._canValueBeChangedByClick()&&n&&(this._$validationMessage&&this._$validationMessage.removeClass("dx-invalid-message-auto"),clearTimeout(this.showValidationMessageTimeout),this.showValidationMessageTimeout=setTimeout((function(){return t._$validationMessage&&t._$validationMessage.addClass("dx-invalid-message-auto")}),150)),this.callBase(e)},_canValueBeChangedByClick:function(){return!1},_renderValidationState:function(){var e=this.option("isValid")&&"invalid"!==this.option("validationStatus"),t=this.option("validationMessageMode"),n=this.$element(),r=this.option("validationErrors");if(!r&&this.option("validationError")&&(r=[this.option("validationError")]),n.toggleClass("dx-invalid",!e),this.setAria("invalid",!e||void 0),a.default.hasWindow()){this._$validationMessage&&(this._$validationMessage.remove(),this.setAria("describedby",null),this._$validationMessage=null);var o=function(e){var t="";return e&&e.forEach((function(e){e.message&&(t+=(t?"<br />":"")+(0,g.encodeHtml)(e.message))})),t}(r);if(!e&&o){this._$validationMessage=(0,i.default)("<div>").addClass("dx-invalid-message").html(o).appendTo(n);var s=this._getValidationMessageTarget();this._validationMessage=this._createComponent(this._$validationMessage,p.default,(0,u.extend)({integrationOptions:{},templatesRenderAsynchronously:!1,target:s,shading:!1,width:"auto",height:"auto",container:n,position:this._getValidationMessagePosition("below"),closeOnOutsideClick:!1,closeOnTargetScroll:!1,animation:null,visible:!0,propagateOutsideClick:!0,_checkParentVisibility:!1},this._getInnerOptionsCache("validationTooltipOptions"))),this._$validationMessage.toggleClass("dx-invalid-message-auto","auto"===t).toggleClass("dx-invalid-message-always","always"===t);var l="dx-"+new d.default;
1this._validationMessage.$content().addClass("dx-invalid-message-content").attr("id",l),this.setAria("describedby",l),this._setValidationMessageMaxWidth(),this._bindInnerWidgetOptions(this._validationMessage,"validationTooltipOptions")}}},_setValidationMessageMaxWidth:function(){if(this._validationMessage)if(0!==this._getValidationMessageTarget().outerWidth()){var e=Math.max(100,this._getValidationMessageTarget().outerWidth());this._validationMessage.option("maxWidth",e)}else this._validationMessage.option("maxWidth","100%")},_getValidationMessageTarget:function(){return this.$element()},_getValidationMessagePosition:function(e){var t=this.option("rtlEnabled"),n=(0,c.getDefaultAlignment)(t),i=this.option("validationMessageOffset"),r={h:i.h,v:i.v},o="below"===e?[" top"," bottom"]:[" bottom"," top"];return t&&(r.h=-r.h),"below"!==e&&(r.v=-r.v),{offset:r,boundary:this.option("validationBoundary"),my:n+o[0],at:n+o[1],collision:"none flip"}},_toggleReadOnlyState:function(){var e=this.option("readOnly");this._toggleBackspaceHandler(e),this.$element().toggleClass("dx-state-readonly",!!e),this.setAria("readonly",e||void 0)},_toggleBackspaceHandler:function(e){var t=this._keyboardEventBindingTarget(),n=(0,l.addNamespace)("keydown","editorReadOnly");m.default.off(t,n),e&&m.default.on(t,n,(function(e){"backspace"===(0,l.normalizeKeyName)(e)&&e.preventDefault()}))},_dispose:function(){var e=this.$element()[0];r.default.data(e,"dx-validation-target",null),clearTimeout(this.showValidationMessageTimeout),this.callBase()},_setSubmitElementName:function(e){var t=this._getSubmitElement();t&&(e.length>0?t.attr("name",e):t.removeAttr("name"))},_getSubmitElement:function(){return null},_optionChanged:function(e){switch(e.name){case"onValueChanged":this._createValueChangeAction();break;case"isValid":case"validationError":this.option(f.default.synchronizeValidationOptions(e,this.option()));break;case"validationErrors":case"validationStatus":this.option(f.default.synchronizeValidationOptions(e,this.option())),this._renderValidationState();break;case"validationBoundary":case"validationMessageMode":this._renderValidationState();break;case"validationTooltipOptions":this._innerOptionChanged(this._validationMessage,e);break;case"readOnly":this._toggleReadOnlyState(),this._refreshFocusState();break;case"value":e.value!=e.previousValue&&this.validationRequest.fire({value:e.value,editor:this}),this._valueChangeActionSuppressed||(this._raiseValueChangeAction(e.value,e.previousValue),this._saveValueChangeEvent(void 0));break;case"width":this.callBase(e),this._setValidationMessageMaxWidth();break;case"name":this._setSubmitElementName(e.value);break;default:this.callBase(e)}},reset:function(){var e=this._getDefaultOptions();this.option("value",e.value)}});e.exports=b},LdFP:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3"),o=r.getNavigator(),s=r.getWindow(),a=n("1LL4").extend,l=n("ti0F").isPlainObject,c=n("zl3R").each,u=n("5qrJ"),d=n("/7L9"),h=n("cYys"),p=n("/q2h"),f=n("CQoW"),m=n("yxpO").sessionStorage,g=n("CWM8"),_=n("2Fn2"),b={iPhone:"iPhone",iPhone5:"iPhone",iPhone6:"iPhone",iPhone6plus:"iPhone",iPad:"iPad",iPadMini:"iPad Mini",androidPhone:"Android Mobile",androidTablet:"Android",msSurface:"Windows ARM Tablet PC",desktop:"desktop"},v={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:!1,android:!1,ios:!1,generic:!0,grade:"A",mac:!1},y={generic: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),r=/((intel|ppc) mac os x)/.test(e.toLowerCase());if(t||n||i||r)return{deviceType:t?"phone":n?"tablet":"desktop",platform:"generic",version:[],grade:"A",mac:r}},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);return{deviceType:t?"phone":"tablet",platform:"ios",version:n?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]:[],grade:480===s.screen.height?"B":"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]||0,10),parseInt(n[3]||0,10)]:[];return{deviceType:t?"phone":"tablet",platform:"android",version:i,grade:i.length>1&&(i[0]<4||4===i[0]&&i[1]<4)?"B":"A"}}}},w=new(u.inherit({ctor:function(e){this._window=e&&e.window||s,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this.changed=h(),r.hasWindow()&&(this._recalculateOrientation(),p.add(this._recalculateOrientation.bind(this)))},current:function(e){if(e)return this._currentDevice=this._getDevice(e),this._forced=!0,void this.changed.fire();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 a({},this._realDevice)},orientation:function(){return this._currentOrientation},isForced:function(){return this._forced},isRippleEmulator:function(){return!!this._window.tinyHippos}
1,_getCssClasses:function(e){var t=[],n=this._realDevice;return(e=e||this.current()).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]),w.isSimulator()&&t.push("dx-simulator"),_().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||r.hasWindow()&&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}),l(e))return this._fromConfig(e);var t;if(e){if(!(t=b[e]))throw d.Error("E0005")}else t=o.userAgent;return this._fromUA(t)},_getDeviceOrNameFromWindowScope:function(){var e;return r.hasWindow()&&(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=m();if(e){var t=e.getItem("dx-force-device");try{return JSON.parse(t)}catch(n){return t}}},_fromConfig:function(e){var t=a({},v,this._currentDevice,e);return a(t,{phone:"phone"===t.deviceType,tablet:"tablet"===t.deviceType,android:"android"===t.platform,ios:"ios"===t.platform,generic:"generic"===t.platform})},_fromUA:function(e){var t;return c(y,(function(n,i){return!(t=i(e))})),t?this._fromConfig(t):v},_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(f));g.changeCallback.add((function(e,t){w.detachCssClasses(t),w.attachCssClasses(e)})),e.exports=w,e.exports.default=e.exports},LgUO:function(e,t,n){"use strict";n.d(t,"a",(function(){return re})),n.d(t,"b",(function(){return q})),n.d(t,"c",(function(){return F}));var i=n("mrSG"),r=n("fXoL"),o=n("ofXK"),s=n("tk/3"),a=n("XNiG"),l=n("LRne"),c=n("Cfvw"),u=n("DH7j"),d=n("yCtX"),h=n("l7GE"),p=n("ZUHj");class f{call(e,t){return t.subscribe(new m(e))}}class m extends h.a{constructor(e){super(e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(e){this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(let n=0;n<t&&!this.hasFirst;n++){let t=e[n],i=Object(p.a)(this,t,t,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}}notifyNext(e,t,n,i,r){if(!this.hasFirst){this.hasFirst=!0;for(let e=0;e<this.subscriptions.length;e++)if(e!==n){let t=this.subscriptions[e];t.unsubscribe(),this.remove(t)}this.subscriptions=null}this.destination.next(t)}}var g=n("itXk"),_=n("z6cu"),b=n("VRyK"),v=n("pLZG"),y=n("vkgz"),w=n("Kj3r"),C=n("3E0/"),x=n("eIep"),S=n("lJxs"),k=n("SxV6"),T=n("JIr8"),E=n("D0XW");const I=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();var D=n("mlxB");class M{constructor(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=i}call(e,t){return t.subscribe(new O(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class O extends h.a{constructor(e,t,n,i,r){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=i,this.scheduler=r,this.action=null,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(Object(p.a)(e,t))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(O.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}
1_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var R=n("IzEk"),L=n("5+tZ"),A=n("bCcq");class P{}class F{}let B=(()=>{let e=class{constructor(){this.data=new Map}getItem(e){return this.data.get(e)}removeItem(e){this.data.delete(e)}setItem(e,t){this.data.set(e,t)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();function H(e){const t=e.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}function V(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class N{}let z=(()=>{let e=class{getHashFragmentParams(e){let t=e||window.location.hash;if(t=decodeURIComponent(t),0!==t.indexOf("#"))return{};const n=t.indexOf("?");return t=t.substr(n>-1?n+1:1),this.parseQueryString(t)}parseQueryString(e){const t={};let n,i,r,o,s,a,l;if(null===e)return t;n=e.split("&");for(let c=0;c<n.length;c++)i=n[c],r=i.indexOf("="),-1===r?(o=i,s=null):(o=i.substr(0,r),s=i.substr(r+1)),a=decodeURIComponent(o),l=decodeURIComponent(s),"/"===a.substr(0,1)&&(a=a.substr(1)),t[a]=l;return t}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();class j{constructor(e){this.type=e}}class Y extends j{constructor(e,t=null){super(e),this.info=t}}class W extends j{constructor(e,t=null){super(e),this.info=t}}class Q extends j{constructor(e,t,n=null){super(e),this.reason=t,this.params=n}}class ${constructor(e){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret=null,this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefresh
1IFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.openUri=e=>{location.href=e},e&&Object.assign(this,e)}}class G{encodeKey(e){return encodeURIComponent(e)}encodeValue(e){return encodeURIComponent(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}class K{}let U=(()=>{let e=class{calcHash(e,t){return Object(i.a)(this,void 0,void 0,(function*(){const t=A.sha256.array(e);return this.toHashString2(t)}))}toHashString2(e){let t="";for(let n of e)t+=String.fromCharCode(n);return t}toHashString(e){const t=new Uint8Array(e);let n="";for(let i of t)n+=String.fromCharCode(i);return n}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),q=(()=>{let e=class extends ${constructor(e,t,n,i,r,o,s,l,c){var u,d,h,p;super(),this.ngZone=e,this.http=t,this.config=r,this.urlHelper=o,this.logger=s,this.crypto=l,this.document=c,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new a.a,this.discoveryDocumentLoadedSubject=new a.a,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v8-beta"),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),i&&(this.tokenValidationHandler=i),r&&this.configure(r);try{n?this.setStorage(n):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(f){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",f)}if("undefined"!=typeof window&&void 0!==window.localStorage){const e=null===(d=null===(u=window)||void 0===u?void 0:u.navigator)||void 0===d?void 0:d.userAgent;((null===(h=e)||void 0===h?void 0:h.includes("MSIE "))||(null===(p=e)||void 0===p?void 0:p.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}configure(e){Object.assign(this,new $,e),this.config=Object.assign({},new $,e),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe(Object(v.a)(e=>"token_received"===e.type)).subscribe(e=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(e={},t,n=!0){let i=!0;this.events.pipe(Object(y.a)(e=>{"token_received"===e.type?i=!0:"logout"===e.type&&(i=!1)}),Object(v.a)(e=>"token_expires"===e.type),Object(w.a)(1e3)).subscribe(r=>{null!=t&&"any"!==t&&r.info!==t||!i||this.refreshInternal(e,n).catch(e=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(e,t){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(e,t):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(e=null){return this.loadDiscoveryDocument().then(t=>this.tryLogin(e))}loadDiscoveryDocumentAndLogin(e=null){return e||(e={state:""}),this.loadDiscoveryDocumentAndTryLogin(e).then(t=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||("code"===this.responseType?this.initCodeFlow(e.state):this.initImplicitFlow(e.state),!1))}debug(...e){this.showDebugInformation&&this.logger.debug.apply(this.logger,e)}validateUrlFromDiscoveryDocument(e){const t=[],n=this.validateUrlForHttps(e),i=this.validateUrlAgainstIssuer(e);return n||t.push("https for all urls required. Also for urls received by discovery."),i||t.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),t}validateUrlForHttps(e){if(!e)return!0;const t=e.toLowerCase();return!1===this.requireHttps||!(!t.match(/^http:\/\/localhost($|[:\/])/)&&!t.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps)||t.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(e,t){if(!e)throw new Error(`'${t}' should not be null`);if(!this.validateUrlForHttps(e))throw new Error(`'${t}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(e){return!this.strictDiscoveryDocumentValidation||!e||e.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe(Object(v.a)(e=>"token_received"===e.type)).subscribe(e=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const e=this.getAccessTokenExpiration(),t=this.getAccessTokenStoredAt(),n=this.calcTimeout(t,e);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=Object(l.a)(new W("token_expires","access_token")).pipe(Object(C.a)(n)).subscribe(e=>{this.ngZone.run(()=>{this.eventsSubject.next(e)})})})}setupIdTokenTimer(){const e=this.getIdTokenExpiration(),t=this.getIdTokenStoredAt(),n=this.calcTimeout(t,e);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=Object(l.a)(new W("token_expires","id_token")).pipe(Object(C.a)(n)).subscribe(e=>{this.ngZone.run(()=>{this.eventsSubject.next(e)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}calcTimeout(e,t){const n=Date.now();return Math.max(0,(t-e)*this.timeoutFactor-(n-e))}setStorage(e){this._storage=e,this.configChanged()}loadDiscoveryDocument(e=null){return new Promise((t,n)=>{e||((e=this.issuer||"").endsWith("/")||(e+="/"),e+=".well-known/openid-configuration"),this.validateUrlForHttps(e)?this.http.get(e).subscribe(e=>{if(!this.validateDiscoveryDocument(e))return this.eventsSubject.next(new Q("discovery_document_validation_error",null)),void n("discovery_document_validation_error");this.loginUrl=e.authorization_endpoint,this.logoutUrl=e.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=e.grant_types_supported,this.issuer=e.issuer,this.tokenEndpoint=e.token_endpoint,this.userinfoEndpoint=e.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=e.jwks_uri,this.sessionCheckIFrameUrl=e.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(e),this.revocationEndpoint=e.revocation_endpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(n=>{const i=new Y("discovery_document_loaded",{discoveryDocument:e,jwks:n});this.eventsSubject.next(i),t(i)}).catch(e=>{this.eventsSubject.next(new Q("discovery_document_load_error",e)),n(e)})},e=>{this.logger.error("error loading discovery document",e),this.eventsSubject.next(new Q("discovery_document_load_error",e)),n(e)}):n("issuer  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((e,t)=>
1{this.jwksUri?this.http.get(this.jwksUri).subscribe(t=>{this.jwks=t,this.eventsSubject.next(new Y("discovery_document_loaded")),e(t)},e=>{this.logger.error("error loading jwks",e),this.eventsSubject.next(new Q("jwks_load_error",e)),t(e)}):e(null)})}validateDiscoveryDocument(e){let t;return this.skipIssuerCheck||e.issuer===this.issuer?(t=this.validateUrlFromDiscoveryDocument(e.authorization_endpoint),t.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.end_session_endpoint),t.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.token_endpoint),t.length>0&&this.logger.error("error validating token_endpoint in discovery document",t),t=this.validateUrlFromDiscoveryDocument(e.revocation_endpoint),t.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",t),t=this.validateUrlFromDiscoveryDocument(e.userinfo_endpoint),t.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",t),!1):(t=this.validateUrlFromDiscoveryDocument(e.jwks_uri),t.length>0?(this.logger.error("error validating jwks_uri in discovery document",t),!1):(this.sessionChecksEnabled&&!e.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+e.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(e,t,n=new s.d){return this.fetchTokenUsingPasswordFlow(e,t,n).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((e,t)=>{const n=(new s.d).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:n}).subscribe(n=>{this.debug("userinfo received",n);const i=this.getIdentityClaims()||{};this.skipSubjectCheck||!this.oidc||i.sub&&n.sub===i.sub?(n=Object.assign({},i,n),this._storage.setItem("id_token_claims_obj",JSON.stringify(n)),this.eventsSubject.next(new Y("user_profile_loaded")),e(n)):t("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false")},e=>{this.logger.error("error loading user info",e),this.eventsSubject.next(new Q("user_profile_load_error",e)),t(e)})})}fetchTokenUsingPasswordFlow(e,t,n=new s.d){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((i,r)=>{let o=new s.e({encoder:new G}).set("grant_type","password").set("scope",this.scope).set("username",e).set("password",t);if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);n=n.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const e of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(e,this.customQueryParams[e]);n=n.set("Content-Type","application/x-www-form-urlencoded"),this.http.post(this.tokenEndpoint,o,{headers:n}).subscribe(e=>{this.debug("tokenResponse",e),this.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,e.scope,this.extractRecognizedCustomParameters(e)),this.eventsSubject.next(new Y("token_received")),i(e)},e=>{this.logger.error("Error performing password flow",e),this.eventsSubject.next(new Q("token_error",e)),r(e)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((e,t)=>{let n=(new s.e).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),i=(new s.d).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(n=n.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(n=n.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const r of Object.getOwnPropertyNames(this.customQueryParams))n=n.set(r,this.customQueryParams[r]);this.http.post(this.tokenEndpoint,n,{headers:i}).pipe(Object(x.a)(e=>e.id_token?Object(c.a)(this.processIdToken(e.id_token,e.access_token,!0)).pipe(Object(y.a)(e=>this.storeIdToken(e)),Object(S.a)(t=>e)):Object(l.a)(e))).subscribe(t=>{this.debug("refresh tokenResponse",t),this.storeAccessTokenResponse(t.access_token,t.refresh_token,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,t.scope,this.extractRecognizedCustomParameters(t)),this.eventsSubject.next(new Y("token_received")),this.eventsSubject.next(new Y("token_refreshed")),e(t)},e=>{this.logger.error("Error refreshing token",e),this.eventsSubject.next(new Q("token_refresh_error",e)),t(e)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=e=>{const t=this.processMessageEventMessage(e);this.tryLogin({customHashFragment:t,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(e=>this.debug("tryLogin during silent refresh failed",e))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(e={},t=!0){const n=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(e.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if("undefined"==typeof document)throw new Error("silent refresh is not supported on this platform");
1const i=document.getElementById(this.silentRefreshIFrameName);i&&document.body.removeChild(i),this.silentRefreshSubject=n.sub;const r=document.createElement("iframe");return r.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,t,e).then(e=>{r.setAttribute("src",e),this.silentRefreshShowIFrame||(r.style.display="none"),document.body.appendChild(r)}),function(...e){if(1===e.length){if(!Object(u.a)(e[0]))return e[0];e=e[0]}return Object(d.a)(e,void 0).lift(new f)}([this.events.pipe(Object(v.a)(e=>e instanceof Q),Object(k.a)()),this.events.pipe(Object(v.a)(e=>"token_received"===e.type),Object(k.a)()),Object(l.a)(new Q("silent_refresh_timeout",null)).pipe(Object(C.a)(this.silentRefreshTimeout))]).pipe(Object(S.a)(e=>{if(e instanceof Q)throw"silent_refresh_timeout"===e.type||(e=new Q("silent_refresh_error",e)),this.eventsSubject.next(e),e;return"token_received"===e.type&&(e=new Y("silently_refreshed"),this.eventsSubject.next(e)),e})).toPromise()}initImplicitFlowInPopup(e){return this.initLoginFlowInPopup(e)}initLoginFlowInPopup(e){return e=e||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(t=>new Promise((n,i)=>{let r,o=window.open(t,"_blank",this.calculatePopupFeatures(e));o?r=window.setInterval(()=>{o&&!o.closed||(s(),i(new Q("popup_closed",{})))},500):i(new Q("popup_blocked",{}));const s=()=>{window.clearInterval(r),window.removeEventListener("message",a),null!==o&&o.close(),o=null},a=e=>{const t=this.processMessageEventMessage(e);t&&null!==t?this.tryLogin({customHashFragment:t,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{s(),n()},e=>{s(),i(e)}):console.log("false event firing")};window.addEventListener("message",a)}))}calculatePopupFeatures(e){const t=e.height||470,n=e.width||500,i=window.screenLeft+(window.outerWidth-n)/2;return`location=no,toolbar=no,width=${n},height=${t},top=${window.screenTop+(window.outerHeight-t)/2},left=${i}`}processMessageEventMessage(e){let t="#";if(this.silentRefreshMessagePrefix&&(t+=this.silentRefreshMessagePrefix),!e||!e.data||"string"!=typeof e.data)return;const n=e.data;return n.startsWith(t)?"#"+n.substr(t.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.get
1SessionState()?"undefined"!=typeof document:(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=e=>{const t=e.origin.toLowerCase(),n=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),n.startsWith(t)){switch(e.data){case"unchanged":this.handleSessionUnchanged();break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",e)}else this.debug("sessionCheckEventListener","wrong origin",t,"expected",n,"event",e)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged")}handleSessionChange(){this.eventsSubject.next(new W("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(e=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new W("session_terminated")),this.logOut(!0)):this.refreshToken().then(e=>{this.debug("token refresh after session change worked")}).catch(e=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new W("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe(Object(v.a)(e=>"silently_refreshed"===e.type||"silent_refresh_timeout"===e.type||"silent_refresh_error"===e.type),Object(k.a)()).subscribe(e=>{"silently_refreshed"!==e.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new W("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new W("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const e=document.getElementById(this.sessionCheckIFrameName);e&&document.body.removeChild(e);const t=document.createElement("iframe");t.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),t.setAttribute("src",this.sessionCheckIFrameUrl),t.style.display="none",document.body.appendChild(t),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const e=document.getElementById(this.sessionCheckIFrameName);e||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const t=this.getSessionState();t||this.stopSessionCheckTimer(),e.contentWindow.postMessage(this.clientId+" "+t,this.issuer)}createLoginUrl(e="",t="",n="",r=!1,o={}){return Object(i.a)(this,void 0,void 0,(function*(){let i;i=n||this.redirectUri;const s=yield this.createAndSaveNonce();if(e=e?s+this.config.nonceStateSeparator+encodeURIComponent(e):s,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const a=this.loginUrl.indexOf("?")>-1?"&":"?";let l=this.scope;this.oidc&&!l.match(/(^|\s)openid($|\s)/)&&(l="openid "+l);let c=this.loginUrl+a+"response_type="+encodeURIComponent(this.responseType)+"&client_id="+encodeURIComponent(this.clientId)+"&state="+encodeURIComponent(e)+"&redirect_uri="+encodeURIComponent(i)+"&scope="+encodeURIComponent(l);if("code"===this.responseType&&!this.disablePKCE){const[e,t]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCI_verifier",t):this._storage.setItem("PKCI_verifier",t),c+="&code_challenge="+e,c+="&code_challenge_method=S256"}t&&(c+="&login_hint="+encodeURIComponent(t)),this.resource&&(c+="&resource="+encodeURIComponent(this.resource)),this.oidc&&(c+="&nonce="+encodeURIComponent(s)),r&&(c+="&prompt=none");for(const e of Object.keys(o))c+="&"+encodeURIComponent(e)+"="+encodeURIComponent(o[e]);if(this.customQueryParams)for(const e of Object.getOwnPropertyNames(this.customQueryParams))c+="&"+e+"="+encodeURIComponent(this.customQueryParams[e]);return c}))}initImplicitFlowInternal(e="",t=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let n={},i=null;"string"==typeof t?i=t:"object"==typeof t&&(n=t),this.createLoginUrl(e,i,null,!1,n).then(this.config.openUri).catch(e=>{console.error("Error in initImplicitFlow",e),this.inImplicitFlow=!1})}initImplicitFlow(e="",t=""){""!==this.loginUrl?this.initImplicitFlowInternal(e,t):this.events.pipe(Object(v.a)(e=>"discovery_document_loaded"===e.type)).subscribe(n=>this.initImplicitFlowInternal(e,t))}resetImplicitFlow(){this.inImplicitFlow=!1}
1callOnTokenReceivedIfExists(e){const t=this;if(e.onTokenReceived){const n={idClaims:t.getIdentityClaims(),idToken:t.getIdToken(),accessToken:t.getAccessToken(),state:t.state};e.onTokenReceived(n)}}storeAccessTokenResponse(e,t,n,i,r){if(this._storage.setItem("access_token",e),i&&!Array.isArray(i)?this._storage.setItem("granted_scopes",JSON.stringify(i.split("+"))):i&&Array.isArray(i)&&this._storage.setItem("granted_scopes",JSON.stringify(i)),this._storage.setItem("access_token_stored_at",""+Date.now()),n){const e=1e3*n,t=(new Date).getTime()+e;this._storage.setItem("expires_at",""+t)}t&&this._storage.setItem("refresh_token",t),r&&r.forEach((e,t)=>{this._storage.setItem(t,e)})}tryLogin(e=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(e).then(e=>!0):this.tryLoginImplicitFlow(e)}parseQueryString(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):{}}tryLoginCodeFlow(e=null){const t=(e=e||{}).customHashFragment?e.customHashFragment.substring(1):window.location.search,n=this.getCodePartsFromUrl(t),i=n.code,r=n.state,o=n.session_state;if(!e.preventClearHashAfterLogin){const e=location.href.replace(/[&\?]code=[^&\$]*/,"").replace(/[&\?]scope=[^&\$]*/,"").replace(/[&\?]state=[^&\$]*/,"").replace(/[&\?]session_state=[^&\$]*/,"");history.replaceState(null,window.name,e)}let[s,a]=this.parseState(r);if(this.state=a,n.error){this.debug("error trying to login"),this.handleLoginError({},n);const e=new Q("code_error",{},n);return this.eventsSubject.next(e),Promise.reject(e)}if(!s)return Promise.resolve();if(!this.validateNonce(s)){const e=new Q("invalid_nonce_in_state",null);return this.eventsSubject.next(e),Promise.reject(e)}return this.storeSessionState(o),i?this.getTokenFromCode(i,e).then(e=>null):Promise.resolve()}getCodePartsFromUrl(e){return e&&0!==e.length?("?"===e.charAt(0)&&(e=e.substr(1)),this.urlHelper.parseQueryString(e)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(e,t){let n=(new s.e).set("grant_type","authorization_code").set("code",e).set("redirect_uri",t.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let e;e=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCI_verifier"):this._storage.getItem("PKCI_verifier"),e?n=n.set("code_verifier",e):console.warn("No PKCI verifier found in oauth storage!")}return this.fetchAndProcessToken(n)}fetchAndProcessToken(e){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let t=(new s.d).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);t=t.set("Authorization","Basic "+e)}return this.useHttpBasicAuth||(e=e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(e=e.set("client_secret",this.dummyClientSecret)),new Promise((n,i)=>{if(this.customQueryParams)for(let t of Object.getOwnPropertyNames(this.customQueryParams))e=e.set(t,this.customQueryParams[t]);this.http.post(this.tokenEndpoint,e,{headers:t}).subscribe(e=>{this.debug("refresh tokenResponse",e),this.storeAccessTokenResponse(e.access_token,e.refresh_token,e.expires_in||this.fallbackAccessTokenExpirationTimeInSec,e.scope,this.extractRecognizedCustomParameters(e)),this.oidc&&e.id_token?this.processIdToken(e.id_token,e.access_token).then(t=>{this.storeIdToken(t),this.eventsSubject.next(new Y("token_received")),this.eventsSubject.next(new Y("token_refreshed")),n(e)}).catch(e=>{this.eventsSubject.next(new Q("token_validation_error",e)),console.error("Error validating tokens"),console.error(e),i(e)}):(this.eventsSubject.next(new Y("token_received")),this.eventsSubject.next(new Y("token_refreshed")),n(e))},e=>{console.error("Error getting token",e),this.eventsSubject.next(new Q("token_refresh_error",e)),i(e)})})}tryLoginImplicitFlow(e=null){let t;t=(e=e||{}).customHashFragment?this.urlHelper.getHashFragmentParams(e.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",t);const n=t.state;let[i,r]=this.parseState(n);if(this.state=r,t.error){this.debug("error trying to login"),this.handleLoginError(e,t);const n=new Q("token_error",{},t);return this.eventsSubject.next(n),Promise.reject(n)}const o=t.access_token,s=t.id_token,a=t.session_state,l=t.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!o)return Promise.resolve(!1);if(this.requestAccessToken&&!e.disableOAuth2StateCheck&&!n)return Promise.resolve(!1);if(this.oidc&&!s)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!a&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!e.disableOAuth2StateCheck&&!this.validateNonce(i)){const e=new Q("invalid_nonce_in_state",null);return this.eventsSubject.next(e),Promise.reject(e)}return this.requestAccessToken&&this.storeAccessTokenResponse(o,null,t.expires_in||this.fallbackAccessTokenExpirationTimeInSec,l),this.oidc?this.processIdToken(s,o).then(t=>e.validationHandler?e.validationHandler({accessToken:o,idClaims:t.idTokenClaims,idToken:t.idToken,state:n}).then(e=>t):t).then(t=>(this.storeIdToken(t),this.storeSessionState(a),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&(location.hash=""),this.eventsSubject.next(new Y("token_received")),this.callOnToken
1ReceivedIfExists(e),this.inImplicitFlow=!1,!0)).catch(e=>(this.eventsSubject.next(new Q("token_validation_error",e)),this.logger.error("Error validating tokens"),this.logger.error(e),Promise.reject(e))):(this.eventsSubject.next(new Y("token_received")),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&(location.hash=""),this.callOnTokenReceivedIfExists(e),Promise.resolve(!0))}parseState(e){let t=e,n="";if(e){const i=e.indexOf(this.config.nonceStateSeparator);i>-1&&(t=e.substr(0,i),n=e.substr(i+this.config.nonceStateSeparator.length))}return[t,n]}validateNonce(e){let t;return t=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),t===e||(console.error("Validating access_token failed, wrong state/nonce.",t,e),!1)}storeIdToken(e){this._storage.setItem("id_token",e.idToken),this._storage.setItem("id_token_claims_obj",e.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+e.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+Date.now())}storeSessionState(e){this._storage.setItem("session_state",e)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(e,t){e.onLoginError&&e.onLoginError(t),this.clearHashAfterLogin&&!e.preventClearHashAfterLogin&&(location.hash="")}processIdToken(e,t,n=!1){const i=e.split("."),r=H(this.padBase64(i[0])),o=JSON.parse(r),s=H(this.padBase64(i[1])),a=JSON.parse(s);let l;if(l=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(a.aud)){if(a.aud.every(e=>e!==this.clientId)){const e="Wrong audience: "+a.aud.join(",");return this.logger.warn(e),Promise.reject(e)}}else if(a.aud!==this.clientId){const e="Wrong audience: "+a.aud;return this.logger.warn(e),Promise.reject(e)}if(!a.sub){const e="No sub claim in id_token";return this.logger.warn(e),Promise.reject(e)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==a.sub){const e="After refreshing, we got an id_token for another user (sub). "+`Expected sub: ${this.silentRefreshSubject}, received sub: ${a.sub}`;return this.logger.warn(e),Promise.reject(e)}if(!a.iat){const e="No iat claim in id_token";return this.logger.warn(e),Promise.reject(e)}if(!this.skipIssuerCheck&&a.iss!==this.issuer){const e="Wrong issuer: "+a.iss;return this.logger.warn(e),Promise.reject(e)}if(!n&&a.nonce!==l){const e="Wrong nonce: "+a.nonce;return this.logger.warn(e),Promise.reject(e)}if(this.hasOwnProperty("responseType")&&"code"===this.responseType&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!a.at_hash){const e="An at_hash is needed!";return this.logger.warn(e),Promise.reject(e)}const c=Date.now(),u=1e3*a.iat,d=1e3*a.exp,h=1e3*(this.clockSkewInSec||600);if(u-h>=c||d+h<=c){const e="Token has expired";return console.error(e),console.error({now:c,issuedAtMSec:u,expiresAtMSec:d}),Promise.reject(e)}const p={accessToken:t,idToken:e,jwks:this.jwks,idTokenClaims:a,idTokenHeader:o,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(p).then(t=>({idToken:e,idTokenClaims:a,idTokenClaimsJson:s,idTokenHeader:o,idTokenHeaderJson:r,idTokenExpiresAt:d})):this.checkAtHash(p).then(t=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!t){const e="Wrong at_hash";return this.logger.warn(e),Promise.reject(e)}return this.checkSignature(p).then(t=>{const n={idToken:e,idTokenClaims:a,idTokenClaimsJson:s,idTokenHeader:o,idTokenHeaderJson:r,idTokenExpiresAt:d};
1return this.disableAtHashCheck?n:this.checkAtHash(p).then(e=>{if(this.requestAccessToken&&!e){const e="Wrong at_hash";return this.logger.warn(e),Promise.reject(e)}return n})})})}getIdentityClaims(){const e=this._storage.getItem("id_token_claims_obj");return e?JSON.parse(e):null}getGrantedScopes(){const e=this._storage.getItem("granted_scopes");return e?JSON.parse(e):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(e){for(;e.length%4!=0;)e+="=";return e}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const e=this._storage.getItem("expires_at"),t=new Date;return!(e&&parseInt(e,10)<t.getTime())}return!1}hasValidIdToken(){if(this.getIdToken()){const e=this._storage.getItem("id_token_expires_at"),t=new Date;return!(e&&parseInt(e,10)<t.getTime())}return!1}getCustomTokenResponseProperty(e){return this._storage&&this.config.customTokenParameters&&this.config.customTokenParameters.indexOf(e)>=0&&null!==this._storage.getItem(e)?JSON.parse(this._storage.getItem(e)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(e=!1,t=""){const n=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCI_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCI_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(e=>this._storage.removeItem(e)),this.silentRefreshSubject=null,this.eventsSubject.next(new W("logout")),!this.logoutUrl)return;if(e)return;if(!n&&!this.postLogoutRedirectUri)return;let i;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)i=this.logoutUrl.replace(/\{\{id_token\}\}/,n).replace(/\{\{client_id\}\}/,this.clientId);else{let e=new s.e;n&&(e=e.set("id_token_hint",n));const r=this.postLogoutRedirectUri||this.redirectUri;r&&(e=e.set("post_logout_redirect_uri",r),t&&(e=e.set("state",t))),i=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+e.toString()}this.config.openUri(i)}createAndSaveNonce(){const e=this;return this.createNonce().then((function(t){return e.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",t):e._storage.setItem("nonce",t),t}))}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();
1const e=this.document.getElementById(this.silentRefreshIFrameName);e&&e.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const t=this.document.getElementById(this.sessionCheckIFrameName);t&&t.remove()}createNonce(){return new Promise(e=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let n=45,i="";const r="undefined"==typeof self?null:self.crypto||self.msCrypto;if(r){let e=new Uint8Array(n);r.getRandomValues(e),e.map||(e.map=Array.prototype.map),e=e.map(e=>t.charCodeAt(e%t.length)),i=String.fromCharCode.apply(null,e)}else for(;0<n--;)i+=t[Math.random()*t.length|0];e(V(i))})}checkAtHash(e){return Object(i.a)(this,void 0,void 0,(function*(){return this.tokenValidationHandler?this.tokenValidationHandler.validateAtHash(e):(this.logger.warn("No tokenValidationHandler configured. Cannot check at_hash."),!0)}))}checkSignature(e){return this.tokenValidationHandler?this.tokenValidationHandler.validateSignature(e):(this.logger.warn("No tokenValidationHandler configured. Cannot check signature."),Promise.resolve(null))}initLoginFlow(e="",t={}){return"code"===this.responseType?this.initCodeFlow(e,t):this.initImplicitFlow(e,t)}initCodeFlow(e="",t={}){""!==this.loginUrl?this.initCodeFlowInternal(e,t):this.events.pipe(Object(v.a)(e=>"discovery_document_loaded"===e.type)).subscribe(n=>this.initCodeFlowInternal(e,t))}initCodeFlowInternal(e="",t={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");this.createLoginUrl(e,"",null,!1,t).then(this.config.openUri).catch(e=>{console.error("Error in initAuthorizationCodeFlow"),console.error(e)})}createChallangeVerifierPairForPKCE(){return Object(i.a)(this,void 0,void 0,(function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const e=yield this.createNonce();return[V(yield this.crypto.calcHash(e,"sha-256")),e]}))}extractRecognizedCustomParameters(e){let t=new Map;return this.config.customTokenParameters?(this.config.customTokenParameters.forEach(n=>{e[n]&&t.set(n,JSON.stringify(e[n]))}),t):t}revokeTokenAndLogout(){let e=this.revocationEndpoint,t=this.getAccessToken(),n=this.getRefreshToken();if(!t)return;let i=new s.e,r=(new s.d).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const e=btoa(`${this.clientId}:${this.dummyClientSecret}`);r=r.set("Authorization","Basic "+e)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const o of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(o,this.customQueryParams[o]);return new Promise((o,s)=>{let a,c;if(t){let n=i.set("token",t).set("token_type_hint","access_token");a=this.http.post(e,n,{headers:r})}else a=Object(l.a)(null);if(n){let t=i.set("token",n).set("token_type_hint","refresh_token");c=this.http.post(e,t,{headers:r})}else c=Object(l.a)(null);Object(g.a)([a,c]).subscribe(e=>{this.logOut(),o(e),this.logger.info("Token successfully revoked")},e=>{this.logger.error("Error revoking token",e),this.eventsSubject.next(new Q("token_revoke_error",e)),s(e)})})}};return e.\u0275fac=function(t){return new(t||e)(r.Wb(r.z),r.Wb(s.b),r.Wb(F,8),r.Wb(N,8),r.Wb($,8),r.Wb(z),r.Wb(P),r.Wb(K,8),r.Wb(o.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();class J{}class X{}class Z{handleError(e){return Object(_.a)(e)}}let ee=(()=>{let e=class{constructor(e,t,n,i){this.authStorage=e,this.oAuthService=t,this.errorHandler=n,this.moduleConfig=i}checkUrl(e){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(e):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(t=>e.startsWith(t))}intercept(e,t){const n=e.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(n)?this.moduleConfig.resourceServer.sendAccessToken?Object(b.a)(Object(l.a)(this.oAuthService.getAccessToken()).pipe(Object(v.a)(e=>!!e)),this.oAuthService.events.pipe(Object(v.a)(e=>"token_received"===e.type),function(e,t=E.a){return function(e,t,n=E.a){return i=>{let r=Object(D.a)(e),o=r?+e-n.now():Math.abs(e);
1return i.lift(new M(o,r,t,n))}}(e,Object(_.a)(new I),t)}(this.oAuthService.waitForTokenInMsec||0),Object(T.a)(e=>Object(l.a)(null)),Object(S.a)(e=>this.oAuthService.getAccessToken()))).pipe(Object(R.a)(1),Object(L.a)(n=>{if(n){const t=e.headers.set("Authorization","Bearer "+n);e=e.clone({headers:t})}return t.handle(e).pipe(Object(T.a)(e=>this.errorHandler.handleError(e)))})):t.handle(e).pipe(Object(T.a)(e=>this.errorHandler.handleError(e))):t.handle(e)}};return e.\u0275fac=function(t){return new(t||e)(r.Wb(F),r.Wb(q),r.Wb(X),r.Wb(J,8))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();function te(){return console}function ne(){return"undefined"!=typeof sessionStorage?sessionStorage:new B}var ie;let re=(()=>{let e=ie=class{static forRoot(e=null,t=class{validateSignature(e){return Promise.resolve(null)}validateAtHash(e){return Promise.resolve(!0)}}){return{ngModule:ie,providers:[q,z,{provide:P,useFactory:te},{provide:F,useFactory:ne},{provide:N,useClass:t},{provide:K,useClass:U},{provide:X,useClass:Z},{provide:J,useValue:e},{provide:s.a,useClass:ee,multi:!0}]}}};return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},imports:[[o.b]]}),e})()},Lhse:function(e,t,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return r}));const r=i()},Loxo:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},LtN7:function(e,t,n){"use strict";var i=y(n("jeLr")),r=y(n("GYHJ")),o=y(n("AJM7")),s=y(n("8S5z")),a=n("iWOQ"),l=y(n("imRD")),c=y(n("XCcL")),u=n("yxXJ"),d=n("zl3R"),h=n("ti0F"),p=n("XgSC"),f=n("1LL4"),m=n("+12O"),g=y(n("dYUP")),_=n("XDlg"),b=n("tJvG"),v=n("Yt8F");
1function y(e){return e&&e.__esModule?e:{default:e}}var w={month:function(e){return g.default.getMonthNames()[e-1]},quarter:function(e){return g.default.format(new Date(2e3,3*e-1),"quarter")}},C=r.default.ViewController.inherit({init:function(){this._columnsController=this.getController("columns"),this._dataController=this.getController("data"),this._headerFilterView=this.getView("headerFilterView")},_updateSelectedState:function(e,t){for(var n=e.length,i="exclude"===t.filterType;n--;){var r=e[n];"items"in e[n]&&this._updateSelectedState(e[n].items,t),(0,a.updateHeaderFilterItemSelectionState)(r,s.default.getIndexByKey(e[n].value,t.filterValues,null)>-1,i)}},_normalizeGroupItem:function(e,t,n){var i,r,o=n.path,s=n.valueSelector,a=n.displaySelector,l=n.column;return s&&a?(i=s(e),r=a(e)):r=i=e.key,e=(0,h.isObject)(e)?(0,f.extend)({},e):{},o.push(i),e.value=1===o.length?o[0]:o.join("/"),e.text=this.getHeaderItemText(r,l,t,n.headerFilterOptions),e},getHeaderItemText:function(e,t,n,i){var r=s.default.formatValue(e,function(e,t,n){var i=o.default.getGroupInterval(t),r=s.default.getFormatOptionsByColumn(t,"headerFilter");return i&&(r.groupInterval=i[n],s.default.isDateType(t.dataType)?r.format=w[i[n]]:"number"===t.dataType&&(r.getDisplayFormat=function(){var r={format:t.format,target:"headerFilter"},o=s.default.formatValue(e,r),a=s.default.formatValue(e+i[n],r);return o&&a?o+" - "+a:""})),r}(e,t,n));return r||(r=i.texts.emptyValue),r},_processGroupItems:function(e,t,n,i){var r,o,s=i.column.lookup,a=i.level;n=n||[],t=t||0,s&&(r=(0,u.compileGetter)(s.displayExpr),o=(0,u.compileGetter)(s.valueExpr));for(var l=0;l<e.length;l++)e[l]=this._normalizeGroupItem(e[l],t,{column:i.column,headerFilterOptions:i.headerFilterOptions,displaySelector:r,valueSelector:o,path:n}),"items"in e[l]&&(t!==a&&(0,h.isDefined)(e[l].value)?this._processGroupItems(e[l].items,t+1,n,i):delete e[l].items),n.pop()},getDataSource:function(e){var t=this,n=t._dataController.dataSource(),i=s.default.getHeaderFilterGroupParameters(e,n&&n.remoteOperations().grouping),r=e.headerFilter&&e.headerFilter.dataSource,o=t.option("headerFilter"),a=!1,l={component:t.component};if(n){if((0,h.isDefined)(r)&&!(0,h.isFunction)(r))l.dataSource=(0,m.normalizeDataSourceOptions)(r);else if(e.lookup){var c;a=!0,e.lookup.items?c=e.lookup.items:(0,h.isFunction)(c=e.lookup.dataSource)&&!(0,_.isWrapped)(c)&&(c=c({})),l.dataSource=(0,m.normalizeDataSourceOptions)(c)}else{var u=Array.isArray(i)?i.length-1:0;t._currentColumn=e;var d=t._dataController.getCombinedFilter();t._currentColumn=null,l.dataSource={filter:d,group:i,useDefaultSearch:!0,load:function(i){var r=new b.Deferred;return i.dataField=e.dataField||e.name,n.load(i).done((function(n){t._processGroupItems(n,null,null,{level:u,column:e,headerFilterOptions:o}),r.resolve(n)})).fail(r.reject),r}}}(0,h.isFunction)(r)&&r.call(e,l);var p=l.dataSource.postProcess;return l.dataSource.postProcess=function(n){var i=n;return a&&(0!==this.pageIndex()||this.searchValue()||(i=i.slice(0)).unshift(null),t._processGroupItems(i,null,null,{level:0,column:e,headerFilterOptions:o})),i=p&&p.call(this,i)||i,t._updateSelectedState(i,e),i},l.dataSource}},getCurrentColumn:function(){return this._currentColumn},showHeaderFilterMenu:function(e,t){var n=this._columnsController,i=(0,f.extend)(!0,{},this._columnsController.getColumns()[e]);if(i){var r=n.getVisibleIndex(e),o=this.getView(t?"headerPanel":"columnHeadersView"),s=s||o.getColumnElements().eq(t?i.groupIndex:r);this.showHeaderFilterMenuBase({columnElement:s,column:i,applyFilter:!0,apply:function(){n.columnOption(e,{filterValues:this.filterValues,filterType:this.filterType})}})}},showHeaderFilterMenuBase:function(e){var t=this,n=this,i=e.column;if(i){var r=o.default.getGroupInterval(i),s=n._dataController.dataSource(),a=s&&s.remoteOperations().filtering;(0,f.extend)(e,i,{type:r&&r.length>1?"tree":"list",remoteFiltering:a,onShowing:function(t){var i=t.component.overlayContent().dxResizable("instance");i&&i.option("onResizeEnd",(function(t){var i=n.getController("columns"),r=i.columnOption(e.dataField,"headerFilter");(r=r||{}).width=t.width,r.height=t.height,i.columnOption(e.dataField,"headerFilter",r,!0)}))},onHidden:function(){return(0,v.restoreFocus)(t)}}),e.dataSource=n.getDataSource(e),e.isFilterBuilder&&(e.dataSource.filter=null,e.alignment="right"),n._headerFilterView.showHeaderFilterMenu(e.columnElement,e)}},hideHeaderFilterMenu:function(){this._headerFilterView.hideHeaderFilterMenu()}}),x=(0,f.extend)({},a.headerFilterMixin,{_renderCellContent:function(e,t){var n,i=t.column;!i.command&&(0,a.allowHeaderFiltering)(i)&&this.option("headerFilter.visible")&&"header"===t.rowType&&(n=this._applyColumnState({name:"headerFilter",rootElement:e,column:i,showColumnLines:this.option("showColumnLines")}))&&this._subscribeToIndicatorEvent(n,i,"headerFilter"),this.callBase(e,t)},_subscribeToIndicatorEvent:function(e,t,n){var r=this;"headerFilter"===n&&i.default.on(e,c.default.name,r.createAction((function(e){e.event.stopPropagation(),r.getController("headerFilter").showHeaderFilterMenu(t.index,!1)})))},_updateIndicator:function(e,t,n){var i=this.callBase(e,t,n);i&&this._subscribeToIndicatorEvent(i,t,n)},_updateHeaderFilterIndicators:function(){this.option("headerFilter.visible")&&this._updateIndicators("headerFilter")},_needUpdateFilterIndicators:function(){return!0},_columnOptionChanged:function(e){s.default.checkChanges(e.optionNames,["filterValues","filterType"])?this._needUpdateFilterIndicators()&&this._updateHeaderFilterIndicators():this.callBase(e)}}),S=(0,f.extend)({},a.headerFilterMixin,{_createGroupPanelItem:function(e,t){var n,r=this,o=r.callBase.apply(r,arguments);return!t.command&&(0,a.allowHeaderFiltering)(t)&&r.option("headerFilter.visible")&&(n=r._applyColumnState({name:"headerFilter",rootElement:o,column:{alignment:(0,p.getDefaultAlignment)(r.option("rtlEnabled")),filterValues:t.filterValues,allowHeaderFiltering:!0},showColumnLines:!0}))&&i.default.on(n,c.default.name,r.createAction((function(e){e.event.stopPropagation(),r.getController("headerFilter").showHeaderFilterMenu(t.index,!0)}))),o}});e.exports={invertFilterExpression:function(e){return["!",e]},defaultOptions:function(){return{headerFilter:{visible:!1,width:252,height:325,allowSearch:!1,searchTimeout:500,texts:{emptyValue:l.default.format("dxDataGrid-headerFilterEmptyValue"),ok:l.default.format("dxDataGrid-headerFilterOK"),cancel:l.default.format("dxDataGrid-headerFilterCancel")}}}},controllers:{headerFilter:C},views:{headerFilterView:a.HeaderFilterView}
1,extenders:{controllers:{data:{skipCalculateColumnFilters:function(){return!1},_calculateAdditionalFilter:function(){if(this.skipCalculateColumnFilters())return this.callBase();var e=[this.callBase()],t=this._columnsController.getVisibleColumns(null,!0),n=this.getController("headerFilter").getCurrentColumn();return(0,d.each)(t,(function(t,i){var r;if((!n||n.index!==i.index)&&(0,a.allowHeaderFiltering)(i)&&i.calculateFilterExpression&&Array.isArray(i.filterValues)&&i.filterValues.length){var o=[];(0,d.each)(i.filterValues,(function(e,t){Array.isArray(t)?r=t:(i.deserializeValue&&!s.default.isDateType(i.dataType)&&"number"!==i.dataType&&(t=i.deserializeValue(t)),r=i.createFilterExpression(t,"=","headerFilter")),r&&(r.columnIndex=i.index),o.push(r)})),o=s.default.combineFilters(o,"or"),e.push("exclude"===i.filterType?["!",o]:o)}})),s.default.combineFilters(e)}}},views:{columnHeadersView:x,headerPanel:S}}}},M2vE:function(e,t,n){"use strict";var i=h(n("cYys")),r=h(n("BWGd")),o=n("KAnu"),s=h(n("ti0F")),a=n("zl3R"),l=n("1LL4"),c=h(n("V2fm")),u=h(n("IlOo")),d=n("tJvG");function h(e){return e&&e.__esModule?e:{default:e}}e.exports=r.default.Controller.inherit(function(){function e(t,n){if(t&&(t=t.slice(0),n))for(var i=0;i<t.length;i++)t[i]=(0,l.extend)({key:t[i].key},t[i]),t[i].items=e(t[i].items,n-1);return t}function t(e,t){var n={};return t&&((n={sorting:!r.default.equalSortParameters(e.sort,t.sort),grouping:!r.default.equalSortParameters(e.group,t.group,!0),groupExpanding:!r.default.equalSortParameters(e.group,t.group)||t.groupExpand,filtering:!r.default.equalFilterParameters(e.filter,t.filter),pageIndex:e.pageIndex!==t.pageIndex,skip:e.skip!==t.skip,take:e.take!==t.take}).reload=n.sorting||n.grouping||n.filtering,n.paging=n.pageIndex||n.take),n}function n(e){return e.cachedPagesData.pages[e.pageIndex]}return{init:function(e,t){var n=this;n._dataSource=e,n._remoteOperations=t||{},n._isLastPage=!e.isLastPage(),n._hasLastPage=!1,n._currentTotalCount=0,n._cachedPagesData={pages:{}},n._lastOperationTypes={},n._skipCorrection=0,n.changed=(0,i.default)(),n.loadingChanged=(0,i.default)(),n.loadError=(0,i.default)(),n.customizeStoreLoadOptions=(0,i.default)(),n.changing=(0,i.default)(),n._dataChangedH
1andler=n._handleDataChanged.bind(n),n._dataLoadingHandler=n._handleDataLoading.bind(n),n._dataLoadedHandler=n._handleDataLoaded.bind(n),n._loadingChangedHandler=n._handleLoadingChanged.bind(n),n._loadErrorHandler=n._handleLoadError.bind(n),n._pushHandler=n._handlePush.bind(n),n._changingHandler=n._handleChanging.bind(n),e.on("changed",n._dataChangedHandler),e.on("customizeStoreLoadOptions",n._dataLoadingHandler),e.on("customizeLoadResult",n._dataLoadedHandler),e.on("loadingChanged",n._loadingChangedHandler),e.on("loadError",n._loadErrorHandler),e.on("changing",n._changingHandler),e.store().on("push",n._pushHandler),(0,a.each)(e,(function(e,t){!n[e]&&s.default.isFunction(t)&&(n[e]=function(){return this._dataSource[e].apply(this._dataSource,arguments)})}))},remoteOperations:function(){return this._remoteOperations},dispose:function(e){var t=this._dataSource,n=t.store();t.off("changed",this._dataChangedHandler),t.off("customizeStoreLoadOptions",this._dataLoadingHandler),t.off("customizeLoadResult",this._dataLoadedHandler),t.off("loadingChanged",this._loadingChangedHandler),t.off("loadError",this._loadErrorHandler),t.off("changing",this._changingHandler),n&&n.off("push",this._pushHandler),e||t.dispose()},refresh:function(e,t,n){var i=this._dataSource;(t||n.reload)&&(this._currentTotalCount=0,this._skipCorrection=0,this._isLastPage=!i.paginate(),this._hasLastPage=this._isLastPage)},resetCache:function(){this._cachedStoreData=void 0,this._cachedPagingData=void 0},resetPagesCache:function(){this._cachedPagesData={pages:{}}},_needClearStoreDataCache:function(){var e=this.remoteOperations(),n=t(this._lastLoadOptions||{},{});return!Object.keys(e).every((function(t){return!n[t]||!e[t]}))},push:function(e,t){var n=this.store();this._needClearStoreDataCache()&&(this._cachedStoreData=void 0),this._cachedPagingData=void 0,this.resetPagesCache(!0),this._cachedStoreData&&u.default.applyBatch(n,this._cachedStoreData,e),t||this._applyBatch(e)},getDataIndexGetter:function(){var e=this;if(!this._dataIndexGetter){var t,n,i=this.store();this._dataIndexGetter=function(r){if(!t||n&&n!==e._cachedStoreData){n=e._cachedStoreData||[],t={};for(var s=0;s<n.length;s++)t[(0,o.getKeyHash)(i.keyOf(n[s]))]=s}return t[(0,o.getKeyHash)(i.keyOf(r))]}}return this._dataIndexGetter},_getKeyInfo:function(){return this.store()},_applyBatch:function(e){var t=this._getKeyInfo(),n=this._dataSource,i=r.default.normalizeSortingInfo(this.group()).length;e=e.filter((function(e){return!n.paginate()||"insert"!==e.type||void 0!==e.index}));var o=this.itemsCount();u.default.applyBatch(t,this._items,e,i,!0),u.default.applyBatch(t,n.items(),e,i,!0),this._currentTotalCount>0&&(this._skipCorrection+=this.itemsCount()-o),e.splice(0,e.length)},_handlePush:function(e){this.push(e,!0)},_handleChanging:function(e){this.changing.fire(e),this._applyBatch(e.changes)},_needCleanCacheByOperation:function(e,t){var n=["filtering","sorting","paging"],i=n.indexOf(e);return(i>=0?n.slice(i):[e]).some((function(e){return t[e]}))},_customizeRemoteOperations:function(e,t,n){var i=this,r=i._cachedStoreData,o=i._cachedPagingData,s=i._cachedPagesData;(e.storeLoadOptions.filter&&!e.remoteOperations.filtering||e.storeLoadOptions.sort&&!e.remoteOperations.sorting)&&(e.remoteOperations={filtering:e.remoteOperations.filtering}),t?(r=void 0,o=void 0,s={pages:{}}):(n.reload?(o=void 0,s={pages:{}}):(n.take||n.groupExpanding)&&(s={pages:{}}),(0,a.each)(n,(function(t,n){n&&i._needCleanCacheByOperation(t,e.remoteOperations)&&(r=void 0,o=void 0)}))),o&&(e.remoteOperations.paging=!1),e.cachedStoreData=r,e.cachedPagingData=o,e.cachedPagesData=s,e.isCustomLoading||(i._cachedStoreData=r,i._cachedPagingData=o,i._cachedPagesData=s)},_handleDataLoading:function(e){var n=this,i=n._dataSource,r=n._lastLoadOptions;n.customizeStoreLoadOptions.fire(e),e.delay=this.option("loadingTimeout"),e.originalStoreLoadOptions=e.storeLoadOptions,e.remoteOperations=(0,l.extend)({},this.remoteOperations());var o=!n.isLoaded()&&!n._isRefreshing;n.option("integrationOptions.renderedOnServer")&&!n.isLoaded()&&(e.delay=void 0);var s=(0,l.extend)({pageIndex:n.pageIndex()},e.storeLoadOptions),a=t(s,r);if(n._customizeRemoteOperations(e,o,a),!e.isCustomLoading){var c=n._isRefreshing;e.pageIndex=i.pageIndex(),e.lastLoadOptions=s,e.operationTypes=a,n._loadingOperationTypes=a,n._isRefreshing=!0,(0,d.when)(c||n._isRefreshed||n.refresh(e,o,a)).done((function(){n._lastOperationId===e.operationId&&(n._isRefreshed=!0,n.load().always((function(){n._isRefreshed=!1})))})).fail((function(){i.cancel(e.operationId)})).always((function(){n._isRefreshing=!1})),i.cancel(n._lastOperationId),n._lastOperationId=e.operationId,n._isRefreshing&&i.cancel(n._lastOperationId)}this._handleDataLoadingCore(e)},_handleDataLoadingCore:function(e){var t=e.remoteOperations;e.loadOptions={};
1var i=e.cachedPagesData.extra,r={filter:!t.filtering,sort:!t.sorting,group:!t.grouping,summary:!t.summary,skip:!t.paging,take:!t.paging,requireTotalCount:i&&"totalCount"in i||!t.paging};(0,a.each)(e.storeLoadOptions,(function(t,n){r[t]&&(e.loadOptions[t]=n,delete e.storeLoadOptions[t])})),i&&(e.extra=i),e.data=n(e)||e.cachedStoreData},_handleDataLoaded:function(t){var i=this,o=t.loadOptions,a=t.remoteOperations&&!t.remoteOperations.paging,u=t.cachedPagesData,h=t.storeLoadOptions,p=!1!==this.option("cacheEnabled")&&h,f=p&&!t.isCustomLoading&&u&&(!a||h.group)&&!this.option("legacyRendering"),m=p&&a,g=m&&!t.isCustomLoading;if(o){t.lastLoadOptions&&(this._lastLoadOptions=t.lastLoadOptions,Object.keys(t.operationTypes).forEach((function(e){i._lastOperationTypes[e]=i._lastOperationTypes[e]||t.operationTypes[e]}))),a&&(t.skip=o.skip,t.take=o.take,delete o.skip,delete o.take),o.group&&(o.group=t.group||o.group);var _=r.default.normalizeSortingInfo(h.group||o.group).length;f&&n(t)||(m&&t.cachedPagingData?t.data=e(t.cachedPagingData,_):(g&&(this._cachedStoreData?t.mergeStoreLoadData&&(t.data=this._cachedStoreData=this._cachedStoreData.concat(t.data)):this._cachedStoreData=e(t.data,r.default.normalizeSortingInfo(h.group).length)),new c.default(t.data).load(o).done((function(n){t.data=n,g&&(i._cachedPagingData=e(t.data,_))})).fail((function(e){t.data=(new d.Deferred).reject(e)}))),o.requireTotalCount&&a&&(t.extra=s.default.isPlainObject(t.extra)?t.extra:{},t.extra.totalCount=t.data.length),t.extra&&t.extra.totalCount>=0&&(!1===h.requireTotalCount||!1===o.requireTotalCount)&&(t.extra.totalCount=-1),this._handleDataLoadedCore(t),f&&(u.extra=u.extra||(0,l.extend)({},t.extra),(0,d.when)(t.data).done((function(n){!function(e,t){var n=e.pageIndex;void 0!==n&&(e.cachedPagesData.pages[n]=t)}(t,e(n,_))})))),t.storeLoadOptions=t.originalStoreLoadOptions}else this._dataSource.cancel(t.operationId)},_handleDataLoadedCore:function(e){e.remoteOperations&&!e.remoteOperations.paging&&Array.isArray(e.data)&&(void 0!==e.skip&&(e.data=e.data.slice(e.skip)),void 0!==e.take&&(e.data=e.data.slice(0,e.take)))},_handleLoadingChanged:function(e){this.loadingChanged.fire(e)},_handleLoadError:function(e){this.loadError.fire(e),this.changed.fire({changeType:"loadError",error:e})},_handleDataChanged:function(e){var t,n=this._dataSource,i=!1,r=this.itemsCount();this._isLastPage=!r||!this.pageSize()||r<this.pageSize(),this._isLastPage&&(this._hasLastPage=!0),n.totalCount()>=0?n.pageIndex()>=this.pageCount()&&(n.pageIndex(this.pageCount()-1),this.pageIndex(n.pageIndex()),this.resetPagesCache(),n.load(),i=!0):(t=n.pageIndex()*this.pageSize()+r,this._currentTotalCount=Math.max(this._currentTotalCount,t),0===r&&n.pageIndex()>=this.pageCount()&&(n.pageIndex(this.pageCount()-1),"infinite"!==this.option("scrolling.mode")&&(n.load(),i=!0))),i||(this._operationTypes=this._lastOperationTypes,this._lastOperationTypes={},this.component._optionCache={},this.changed.fire(e),this.component._optionCache=void 0)},_scheduleCustomLoadCallbacks:function(e){var t=this;t._isCustomLoading=!0,e.always((function(){t._isCustomLoading=!1}))},loadingOperationTypes:function(){return this._loadingOperationTypes},operationTypes:function(){return this._operationTypes},lastLoadOptions:function(){return this._lastLoadOptions||{}},isLastPage:function(){return this._isLastPage},totalCount:function(){return parseInt(this._currentTotalCount+this._skipCorrection||this._dataSource.totalCount())},itemsCount:function(){return this._dataSource.items().length},totalItemsCount:function(){return this.totalCount()},pageSize:function(){var e=this._dataSource;return arguments.length||e.paginate()?e.pageSize.apply(e,arguments):0},pageCount:function(){var e=this.totalItemsCount(),t=this.pageSize();return t&&e>0?Math.max(1,Math.ceil(e/t)):1},hasKnownLastPage:function(){return this._hasLastPage||this._dataSource.totalCount()>=0},loadFromStore:function(e,t){var n=this._dataSource,i=new d.Deferred;if(n)return(t=t||n.store()).load(e).done((function(e,t){e&&!Array.isArray(e)&&Array.isArray(e.data)&&(t=e,e=e.data),i.resolve(e,t)})).fail(i.reject),i},isCustomLoading:function(){return!!this._isCustomLoading},load:function(e){var t,n,i=this,r=i._dataSource,l=new d.Deferred;if(e){var c=r.store(),u=r.loadOptions(),h={storeLoadOptions:e,isCustomLoading:!0};return(0,a.each)(c._customLoadOptions()||[],(function(e,t){t in h.storeLoadOptions||(h.storeLoadOptions[t]=u[t])}
1)),i._scheduleCustomLoadCallbacks(l),r._scheduleLoadCallbacks(l),i._handleDataLoading(h),t=function(){if(!r.store())return l.reject("canceled");(0,d.when)(h.data||i.loadFromStore(h.storeLoadOptions)).done((function(t,n){h.data=t,h.extra=n||{},i._handleDataLoaded(h),e.requireTotalCount&&void 0===h.extra.totalCount&&(h.extra.totalCount=c.totalCount(h.storeLoadOptions)),(0,d.when)(h.data,h.extra.totalCount).done((function(e,t){h.extra.totalCount=t,l.resolve(e,h.extra)})).fail(l.reject)})).fail(l.reject)},n=i.option("loadingTimeout"),s.default.isDefined(n)?(0,o.executeAsync)(t,n):t(),l.fail((function(){i.fireEvent("loadError",arguments)})).promise()}return r.load()},reload:function(e){return e?this._dataSource.reload():this._dataSource.load()},getCachedStoreData:function(){return this._cachedStoreData}}}())},MPiI:function(e,t,n){"use strict";var i=E(n("FKN7")),r=E(n("jeLr")),o=E(n("D6VQ")),s=E(n("0osO")),a=n("KAnu"),l=n("ti0F"),c=n("zl3R"),u=n("XpgS"),d=n("1LL4"),h=n("TssP"),p=E(n("uHaw")),f=n("v4HY"),m=E(n("imRD")),g=E(n("zBVi")),_=E(n("Lci2")),b=n("cGv3"),v=E(n("cGV2")),y=(E(n("wvdA")),E(n("Vg8w"))),w=E(n("o09w")),C=E(n("ZA3g")),x=n("tJvG"),S=E(n("+6qP")),k=E(n("GEWs")),T=n("Qs8D");function E(e){return e&&e.__esModule?e:{default:e}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}n("HlXZ"),n("mcV0");var D=["items","isRequired","validationRules","visible"],M=g.default.inherit({_init:function(){this.callBase(),this._cachedColCountOptions=[],this._itemsRunTimeInfo=new y.default,this._groupsColCount=[],this._attachSyncSubscriptions()},_initOptions:function(e){"screenByWidth"in e||(e.screenByWidth=b.defaultScreenFactorFunc),this.callBase(e)},_getDefaultOptions:function(){return(0,d.extend)(this.callBase(),{formID:"dx-"+new s.default,formData:{},colCount:1,screenByWidth:null,colCountByScreen:void 0,labelLocation:"left",readOnly:!1,onFieldDataChanged:null,customizeItem:null,onEditorEnterKey:null,minColWidth:200,alignItemLabels:!0,alignItemLabelsInAllGroups:!0,showColonAfterLabel:!0,showRequiredMark:!0,showOptionalMark:!1,requiredMark:"*",optionalMark:m.default.format("dxForm-optionalMark"),requiredMessage:m.default.getFormatter("dxForm-requiredMessage"),showValidationSummary:!1,items:void 0,scrollingEnabled:!1,validationGroup:void 0,stylingMode:void 0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return S.default.isMaterial()},options:{showColonAfterLabel:!1,labelLocation:"top"}}])},_setOptionsByReference:function(){this.callBase(),(0,d.extend)(this._optionsByReference,{formData:!0,validationGroup:!0})},_getGroupColCount:function(e){return parseInt(e.attr("group-col-count"))},_createHiddenElement:function(e){this._$hiddenElement=(0,i.default)("<div>").addClass("dx-widget").addClass("dx-layout-manager-hidden-label").appendTo("body");var t=e._renderLabel({text:" ",location:this._labelLocation()}).appendTo(this._$hiddenElement);this._hiddenLabelText=t.find(".dx-field-item-label-text")[0]},_removeHiddenElement:function(){this._$hiddenElement.remove(),this._hiddenLabelText=null},_getLabelWidthByText:function(e){return this._hiddenLabelText.innerHTML=e,this._hiddenLabelText.offsetWidth},_getLabelsSelectorByCol:function(e,t){return"."+((t=t||{}).inOneColumn?"dx-field-item":"dx-col-"+e)+(t.excludeTabbed?":not(.dx-field-item-tab)":"")+"> .dx-field-item-label > .dx-field-item-label-content"},_getLabelText:function(e){for(var t=e.children.length,n="",i=0;i<t;i++){var r=e.children[i];n+=(0,h.isEmpty)(r.innerText)?r.innerHTML:r.innerText}return n},_applyLabelsWidthByCol:function(e,t,n){var i,r=e.find(this._getLabelsSelectorByCol(t,n)),o=r.length,s=0;for(i=0;i<o;i++){var a=this._getLabelWidthByText(this._getLabelText(r[i]));a>s&&(s=a)}for(i=0;i<o;i++)r[i].style.width=s+"px"},_applyLabelsWidth:function(e,t,n,i){i=n?1:i||this._getGroupColCount(e);for(var r={excludeTabbed:t,inOneColumn:n},o=0;o<i;o++)this._applyLabelsWidthByCol(e,o,r)},_getGroupElementsInColumn:function(e,t,n){var i=(0,l.isDefined)(n)?".dx-group-colcount-"+n:"";return e.find(".dx-col-"+t+" > .dx-field-item-content > .dx-form-group"+i)},_applyLabelsWidthWithGroups:function(e,t,n){if(this.option("alignItemLabelsInAllGroups"))this._applyLabelsWidthWithNestedGroups(e,t,n);else for(var i=this.$element().find(".dx-form-group"),r=0;r<i.length;r++)this._applyLabelsWidth(i.eq(r),n)},_applyLabelsWidthWithNestedGroups:function(e,t,n){for(var i,r={excludeTabbed:n},o=0;o<t;o++){i=this._getGroupElementsInColumn(e,o),this._applyLabelsWidthByCol(i,0,r);for(var s=0;s<this._groupsColCount.length;s++){i=this._getGroupElementsInColumn(e,o,this._groupsColCount[s]);for(var a=this._getGroupColCount(i),l=1;l<a;l++)this._applyLabelsWidthByCol(i,l,r)}}},_labelLocation:function(){return this.option("labelLocation")},_alignLabelsInColumn:function(e){var t=e.layoutManager,n=e.inOneColumn,i=e.$container,r=e.excludeTabbed,o=e.items;(0,b.hasWindow)()&&"top"!==this._labelLocation()&&(this._createHiddenElement(t),n?this._applyLabelsWidth(i,r,!0):this._checkGrouping(o)?this._applyLabelsWidthWithGroups(i,t._getColCount(),r):this._applyLabelsWidth(i,r,!1,t._getColCount()),this._removeHiddenElement())},_prepareFormData:function(){(0,l.isDefined)(this.option("formData"))||this.option("formData",{})},_initMarkup:function(){v.default.addGroup(this._getValidationGroup()),this._clearCachedInstances(),this._prepareFormData(),this.$element().addClass("dx-form"),this.callBase(),this.setAria("role","form",this.$element()),this.option("scrollingEnabled")&&this._renderScrollable(),this._renderLayout(),this._renderValidationSummary(),this._lastMarkupScreenFactor=this._targetScreenFactor||this._getCurrentScreenFactor()},_getCurrentScreenFactor:function(){return(0,b.hasWindow)()?(0,b.getCurrentScreenFactor)(this.option("screenByWidth")):"lg"},_clearCachedInstances:function(){this._itemsRunTimeInfo.clear(),this._cachedLayoutManagers=[]}
1,_alignLabels:function(e,t){this._alignLabelsInColumn({$container:this.$element(),layoutManager:e,excludeTabbed:!0,items:this.option("items"),inOneColumn:t})},_clean:function(){this.callBase(),this._groupsColCount=[],this._cachedColCountOptions=[],this._lastMarkupScreenFactor=void 0},_renderScrollable:function(){var e=this.option("useNativeScrolling");this._scrollable=new C.default(this.$element(),{useNative:!!e,useSimulatedScrollbar:!e,useKeyboard:!1,direction:"both",bounceEnabled:!1})},_getContent:function(){return this.option("scrollingEnabled")?this._scrollable.$content():this.$element()},_renderValidationSummary:function(){var e=this.$element().find(".dx-form-validation-summary");if(e.length>0&&e.remove(),this.option("showValidationSummary")){var t=(0,i.default)("<div>").addClass("dx-form-validation-summary").appendTo(this._getContent());this._validationSummary=t.dxValidationSummary({validationGroup:this._getValidationGroup()}).dxValidationSummary("instance")}},_prepareItems:function(e,t,n,i){if(e){for(var r=[],o=0;o<e.length;o++){var s=e[o],a=(0,T.concatPaths)(n,(0,T.createItemPathByIndex)(o,i)),c=this._itemsRunTimeInfo.add({item:s,itemIndex:o,path:a});if((0,l.isString)(s)&&(s={dataField:s}),(0,l.isObject)(s)){var u=(0,d.extend)({},s);u.guid=c,this._tryPrepareGroupItem(u),this._tryPrepareTabbedItem(u,a),this._tryPrepareItemTemplate(u),t&&(u.cssItemClass="dx-field-item-tab"),u.items&&(u.items=this._prepareItems(u.items,t,a)),r.push(u)}else r.push(s)}return r}},_tryPrepareGroupItem:function(e){"group"===e.itemType&&(e.alignItemLabels=(0,a.ensureDefined)(e.alignItemLabels,!0),e.template&&(e.groupContentTemplate=this._getTemplate(e.template)),e.template=this._itemGroupTemplate.bind(this,e))},_tryPrepareTabbedItem:function(e,t){"tabbed"===e.itemType&&(e.template=this._itemTabbedTemplate.bind(this,e),e.tabs=this._prepareItems(e.tabs,!0,t,!0))},_tryPrepareItemTemplate:function(e){e.template&&(e.template=this._getTemplate(e.template))},_checkGrouping:function(e){if(e)for(var t=0;t<e.length;t++)if("group"===e[t].itemType)return!0},_renderLayout:function(){var e=this,t=e.option("items"),n=e._getContent();t=e._prepareItems(t),e._rootLayoutManager=e._renderLayoutManager(t,n,{colCount:e.option("colCount"),alignItemLabels:e.option("alignItemLabels"),screenByWidth:this.option("screenByWidth"),colCountByScreen:this.option("colCountByScreen"),onLayoutChanged:function(t){e._alignLabels.bind(e)(e._rootLayoutManager,t)},onContentReady:function(t){e._alignLabels(t.component,t.component.isSingleColumnMode())}})},_tryGetItemsForTemplate:function(e){return e.items||[]},_itemTabbedTemplate:function(e,t,n){var r,o=this,s=(0,i.default)("<div>").appendTo(n),l=(0,d.extend)({},e.tabPanelOptions,{dataSource:e.tabs,onItemRendered:function(e){return(0,f.triggerShownEvent)(e.itemElement)},itemTemplate:function(e,t,n){var r=(0,i.default)(n),s=(0,a.ensureDefined)(e.alignItemLabels,!0),l=o._renderLayoutManager(o._tryGetItemsForTemplate(e),r,{colCount:e.colCount,alignItemLabels:s,screenByWidth:o.option("screenByWidth"),colCountByScreen:e.colCountByScreen,cssItemClass:e.cssItemClass,onLayoutChanged:function(t){o._alignLabelsInColumn({$container:r,layoutManager:l,items:e.items,inOneColumn:t})}});o._itemsRunTimeInfo&&o._itemsRunTimeInfo.extendRunTimeItemInfoByKey(e.guid,{layoutManager:l}),s&&o._alignLabelsInColumn({$container:r,layoutManager:l,items:e.items,inOneColumn:l.isSingleColumnMode()})}}),c=function(e,t){Array.isArray(e)&&e.forEach((function(e){return o._itemsRunTimeInfo.extendRunTimeItemInfoByKey(e.guid,{widgetInstance:t})}))},u=this._createComponent(s,w.default,l);u.on("optionChanged",(function(e){"dataSource"===e.fullName&&c(e.value,e.component)})),c([{guid:e.guid}].concat(function(e){if(Array.isArray(e))return I(e)}(r=e.tabs)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return I(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,void 0):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u)},_itemGroupTemplate:function(e,t,n){var r=(0,i.default)("<div>").toggleClass("dx-form-group-with-caption",(0,l.isDefined)(e.caption)&&e.caption.length).addClass("dx-form-group").appendTo(n);e.caption&&(0,i.default)("<span>").addClass("dx-form-group-caption").text(e.caption).appendTo(r);var o=(0,i.default)("<div>").addClass("dx-form-group-content").appendTo(r);if(e.groupContentTemplate){var s={formData:this.option("formData"),component:this};e.groupContentTemplate.render({model:s,container:(0,f.getPublicElement)(o)})}else{var a=this._renderLayoutManager(this._tryGetItemsForTemplate(e),o,{colCount:e.colCount,colCountByScreen:e.colCountByScreen,alignItemLabels:e.alignItemLabels,cssItemClass:e.cssItemClass});this._itemsRunTimeInfo&&this._itemsRunTimeInfo.extendRunTimeItemInfoByKey(e.guid,{layoutManager:a});var c=a._getColCount();-1===(0,u.inArray)(c,this._groupsColCount)&&this._groupsColCount.push(c),r.addClass("dx-group-colcount-"+c),r.attr("group-col-count",c)}},_renderLayoutManager:function(e,t,n){var r=(0,i.default)("<div>"),o=this,s=o._getLayoutManagerConfig(e,n);o._cachedColCountOptions.push({colCountByScreen:(0,d.extend)({lg:n.colCount,md:n.colCount,sm:n.colCount,xs:1},n.colCountByScreen)}),r.appendTo(t);
1var a=o._createComponent(r,"dxLayoutManager",s);return a.on("autoColCountChanged",(function(){o._refresh()})),o._cachedLayoutManagers.push(a),a},_getValidationGroup:function(){return this.option("validationGroup")||this},_getLayoutManagerConfig:function(e,t){var n=this,i={form:this,validationGroup:this._getValidationGroup(),showRequiredMark:this.option("showRequiredMark"),showOptionalMark:this.option("showOptionalMark"),requiredMark:this.option("requiredMark"),optionalMark:this.option("optionalMark"),requiredMessage:this.option("requiredMessage"),screenByWidth:this.option("screenByWidth"),layoutData:this.option("formData"),labelLocation:this.option("labelLocation"),customizeItem:this.option("customizeItem"),minColWidth:this.option("minColWidth"),showColonAfterLabel:this.option("showColonAfterLabel"),onEditorEnterKey:this.option("onEditorEnterKey"),onFieldDataChanged:function(e){n._isDataUpdating||n._triggerOnFieldDataChanged(e)},validationBoundary:this.option("scrollingEnabled")?this.$element():void 0};return(0,d.extend)(i,{items:e,onContentReady:function(e){n._itemsRunTimeInfo.addItemsOrExtendFrom(e.component._itemsRunTimeInfo),t.onContentReady&&t.onContentReady(e)},onDisposing:function(e){var t=e.component.getItemsRunTimeInfo();n._itemsRunTimeInfo.removeItemsByItems(t)},colCount:t.colCount,alignItemLabels:t.alignItemLabels,cssItemClass:t.cssItemClass,colCountByScreen:t.colCountByScreen,onLayoutChanged:t.onLayoutChanged,width:t.width})},_createComponent:function(e,t,n){return this._extendConfig(n=n||{},{readOnly:this.option("readOnly")}),this.callBase(e,t,n)},_attachSyncSubscriptions:function(){var e=this;e.on("optionChanged",(function(t){var n=t.fullName;"formData"===n&&((0,l.isDefined)(t.value)||(e._options.formData=t.value={}),e._triggerOnFieldDataChangedByDataSet(t.value)),e._cachedLayoutManagers.length&&(0,c.each)(e._cachedLayoutManagers,(function(i,r){"formData"===n&&(e._isDataUpdating=!0,r.option("layoutData",t.value),e._isDataUpdating=!1),"readOnly"!==t.name&&"disabled"!==t.name||r.option(n,t.value)}))}))},_optionChanged:function(e){var t=this._getRootLevelOfExpectedComplexOption(e.fullName,["formData","items"]);if(t)this._customHandlerOfComplexOption(e,t);else switch(e.name){case"formData":this.option("items")?(0,l.isEmptyObject)(e.value)&&this._resetValues():this._invalidate();break;case"items":case"colCount":case"onFieldDataChanged":case"onEditorEnterKey":case"labelLocation":case"alignItemLabels":case"showColonAfterLabel":case"customizeItem":case"alignItemLabelsInAllGroups":case"showRequiredMark":case"showOptionalMark":case"requiredMark":case"optionalMark":case"requiredMessage":case"scrollingEnabled":case"formID":case"colCountByScreen":case"screenByWidth":case"stylingMode":this._invalidate();break;case"showValidationSummary":this._renderValidationSummary();break;case"minColWidth":"auto"===this.option("colCount")&&this._invalidate();break;case"readOnly":break;case"width":this.callBase(e),this._rootLayoutManager.option(e.name,e.value),this._alignLabels(this._rootLayoutManager,this._rootLayoutManager.isSingleColumnMode());break;case"visible":this.callBase(e),e.value&&(0,f.triggerShownEvent)(this.$element());break;case"validationGroup":v.default.removeGroup(e.previousValue||this),this._invalidate();break;default:this.callBase(e)}},_getRootLevelOfExpectedComplexOption:function(e,t){var n,i=e.split(".");if(i.length>1)for(var r=i[0],o=0;o<t.length;o++)-1!==r.search(t[o])&&(n=t[o]);return n},_tryCreateItemOptionAction:function(e,t,n,i,r){return"tabs"===e&&(this._itemsRunTimeInfo.removeItemsByPathStartWith("".concat(r,".tabs")),n=this._prepareItems(n,!0,r,!0)),(0,k.default)(e,{item:t,value:n,previousValue:i,itemsRunTimeInfo:this._itemsRunTimeInfo})},_tryExecuteItemOptionAction:function(e){return e&&e.tryExecute()},_updateValidationGroupAndSummaryIfNeeded:function(e){var t=(0,T.getOptionNameFromFullName)(e);D.indexOf(t)>-1&&(v.default.addGroup(this._getValidationGroup()),this.option("showValidationSummary")&&this._validationSummary&&this._validationSummary._initGroupRegistration())},_setLayoutManagerItemOption:function(e,t,n,i){var r=this;if(this._updateLockCount>0){!e._updateLockCount&&e.beginUpdate();var o=this._itemsRunTimeInfo.getKeyByPath(i);this.postponedOperations.add(o,(function(){return!e._disposed&&e.endUpdate(),(new x.Deferred).resolve()}))}e.on("contentReady",(function e(t){if(t.component.off("contentReady",e),(0,T.isFullPathContainsTabs)(i)){var n=(0,T.tryGetTabPath)(i),o=r._itemsRunTimeInfo.getGroupOrTabLayoutManagerByPath(n);r._alignLabelsInColumn({items:o.option("items"),layoutManager:o,$container:o.$element(),inOneColumn:o.isSingleColumnMode()})}else r._alignLabels(r._rootLayoutManager,r._rootLayoutManager.isSingleColumnMode())}
1)),e.option(t,n),this._updateValidationGroupAndSummaryIfNeeded(t)},_tryChangeLayoutManagerItemOption:function(e,t){var n=e.split("."),i=(0,T.getOptionNameFromFullName)(e);if("items"===i&&n.length>1){var r=this._getItemPath(n),o=this._itemsRunTimeInfo.getGroupOrTabLayoutManagerByPath(r);if(o){this._itemsRunTimeInfo.removeItemsByItems(o.getItemsRunTimeInfo());var s=this._prepareItems(t,!1,r);return this._setLayoutManagerItemOption(o,i,s,r),!0}}else if(n.length>2){var a=n.length-2,l=this._getItemPath(n.slice(0,a)),c=this._itemsRunTimeInfo.getGroupOrTabLayoutManagerByPath(l);if(c){var u=(0,T.getFullOptionName)(n[a],i);if("visible"===i){var d=this.option((0,T.getFullOptionName)(l,"items"));if(d&&d.length){var h=c.option("items");d.forEach((function(e,t){h[t].visibleIndex=e.visibleIndex}))}}return this._setLayoutManagerItemOption(c,u,t,l),!0}}return!1},_tryChangeLayoutManagerItemOptions:function(e,t){var n,i=this;return this.beginUpdate(),(0,c.each)(t,(function(t,r){if(!(n=i._tryChangeLayoutManagerItemOption((0,T.getFullOptionName)(e,t),r)))return!1})),this.endUpdate(),n},_customHandlerOfComplexOption:function(e,t){var n=e.fullName.split("."),i=e.value;if("items"===t){var r=this._getItemPath(n),o=this.option(r),s=e.fullName.replace(r+".",""),a=s.split(".")[0].replace(/\[\d+]/,""),l=this._tryCreateItemOptionAction(a,o,o[a],e.previousValue,r);if(!this._tryExecuteItemOptionAction(l)&&!this._tryChangeLayoutManagerItemOption(e.fullName,i)&&o){this._changeItemOption(o,s,i);var c=this._generateItemsFromData(this.option("items"));this.option("items",c)}}if("formData"===t){var u=n.slice(1).join("."),d=this.getEditor(u);d?d.option("value",i):this._triggerOnFieldDataChanged({dataField:u,value:i})}},_getItemPath:function(e){for(var t=e[0],n=1;n<e.length&&-1!==e[n].search(/items\[\d+]|tabs\[\d+]/);n++)t+="."+e[n];return t},_triggerOnFieldDataChanged:function(e){this._createActionByOption("onFieldDataChanged")(e)},_triggerOnFieldDataChangedByDataSet:function(e){var t=this;e&&(0,l.isObject)(e)&&(0,c.each)(e,(function(e,n){t._triggerOnFieldDataChanged({dataField:e,value:n})}))},_updateFieldValue:function(e,t){if((0,l.isDefined)(this.option("formData"))){var n=this.getEditor(e);this.option("formData."+e,t),n&&n.option("value")!==t&&n.option("value",t)}},_generateItemsFromData:function(e){var t=this.option("formData"),n=[];return!e&&(0,l.isDefined)(t)&&(0,c.each)(t,(function(e){n.push({dataField:e})})),e&&(0,c.each)(e,(function(e,t){(0,l.isObject)(t)?n.push(t):n.push({dataField:t})})),n},_getItemByField:function(e,t){var n,i=this,r=(0,l.isObject)(e)?e:i._getFieldParts(e),o=r.fieldName,s=r.fieldPath;return t.length&&(0,c.each)(t,(function(e,t){var r=t.itemType;if(s.length){var a=s.slice();t=i._getItemByFieldPath(a,o,t)}else if("group"===r&&!t.caption&&!t.name||"tabbed"===r&&!t.name){var l=i._getSubItemField(r);t.items=i._generateItemsFromData(t.items),t=i._getItemByField({fieldName:o,fieldPath:s},t[l])}if((0,T.isExpectedItem)(t,o))return n=t,!1})),n},_getFieldParts:function(e){for(var t=e,n=t.indexOf("."),i=[];-1!==n;)i.push(t.substr(0,n)),n=(t=t.substr(n+1)).indexOf(".");return{fieldName:t,fieldPath:i.reverse()}},_getItemByFieldPath:function(e,t,n){var i,r=n.itemType,o=this._getSubItemField(r),s="group"===r||"tabbed"===r||n.title;do{if(!s)break;var a,c=n.name||n.caption||n.title,u=(0,l.isDefined)(c),d=(0,T.getTextWithoutSpaces)(c);if(n[o]=this._generateItemsFromData(n[o]),u&&(a=e.pop()),!e.length&&(i=this._getItemByField(t,n[o])))break;(!u||u&&d===a)&&e.length&&(i=this._searchItemInEverySubItem(e,t,n[o]))}while(e.length&&!(0,l.isDefined)(i));return i},_getSubItemField:function(e){return"tabbed"===e?"tabs":"items"},_searchItemInEverySubItem:function(e,t,n){var i,r=this;return(0,c.each)(n,(function(n,o){if(i=r._getItemByFieldPath(e.slice(),t,o))return!1})),i||(i=!1),i},_changeItemOption:function(e,t,n){(0,l.isObject)(e)&&(e[t]=n)},_dimensionChanged:function(){var e=this._getCurrentScreenFactor();this._lastMarkupScreenFactor!==e&&(this._isColCountChanged(this._lastMarkupScreenFactor,e)&&(this._targetScreenFactor=e,this._refresh(),this._targetScreenFactor=void 0),this._lastMarkupScreenFactor=e)},_isColCountChanged:function(e,t){var n=!1;return(0,c.each)(this._cachedColCountOptions,(function(i,r){if(r.colCountByScreen[e]!==r.colCountByScreen[t])return n=!0,!1})),n},_refresh:function(){r.default.trigger(this.$element().find(".dx-state-focused input, .dx-state-focused textarea"),"change"),this.callBase()},_resetValues:function(){this._itemsRunTimeInfo.each((function(e,t){(0,l.isDefined)(t.widgetInstance)&&t.widgetInstance instanceof _.default&&(t.widgetInstance.reset(),t.widgetInstance.option("isValid",!0))})),v.default.resetGroup(this._getValidationGroup())},_updateData:function(e,t,n){var i=this,r=n?t:e;(0,l.isObject)(r)?(0,c.each)(r,(function(t,r){i._updateData(n?e+"."+t:t,r,(0,l.isObject)(r))})):(0,l.isString)(e)&&i._updateFieldValue(e,t)},registerKeyHandler:function(e,t){this.callBase(e,t),this._itemsRunTimeInfo.each((function(n,i){(0,l.isDefined)(i.widgetInstance)&&i.widgetInstance.registerKeyHandler(e,t)}))},_focusTarget:function(){return this.$element().find(".dx-field-item-content [tabindex]").first()},_visibilityChanged:function(e){e&&p.default.msie&&this._refresh()},_dispose:function(){v.default.removeGroup(this._getValidationGroup()),this.callBase()},resetValues:function(){this._resetValues()},updateData:function(e,t){this._updateData(e,t)},getEditor:function(e){return this._itemsRunTimeInfo.findWidgetInstanceByDataField(e)||this._itemsRunTimeInfo.findWidgetInstanceByName(e)},getButton:function(e){return this._itemsRunTimeInfo.findWidgetInstanceByName(e)},updateDimensions:function(){var e=this,t=new x.Deferred;
1return e._scrollable?e._scrollable.update().done((function(){t.resolveWith(e)})):t.resolveWith(e),t.promise()},itemOption:function(e,t,n){var i=this,r=this._generateItemsFromData(this.option("items")),o=this._getItemByField(e,r),s=this._itemsRunTimeInfo.getPathFromItem(o);if(o)switch(arguments.length){case 1:return o;case 3:var a=this._tryCreateItemOptionAction(t,o,n,o[t],s);this._changeItemOption(o,t,n);var u=(0,T.getFullOptionName)(s,t);this._tryExecuteItemOptionAction(a)||this._tryChangeLayoutManagerItemOption(u,n)||this.option("items",r);break;default:var d;(0,l.isObject)(t)&&(this._tryChangeLayoutManagerItemOptions(s,t)||((0,c.each)(t,(function(e,t){var n=i._tryCreateItemOptionAction(e,o,t,o[e],s);i._changeItemOption(o,e,t),d||i._tryExecuteItemOptionAction(n)||(d=!0)})),d&&this.option("items",r)))}},validate:function(){return v.default.validateGroup(this._getValidationGroup())},getItemID:function(e){return"dx_"+this.option("formID")+"_"+(e||new s.default)},getTargetScreenFactor:function(){return this._targetScreenFactor}});(0,o.default)("dxForm",M),e.exports=M},MVLB:function(e,t,n){"use strict";var i;function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0});var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(d,e);var t,n,i,r=(n=d,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(i){var r=u(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c(this,e)});function d(){return s(this,d),r.apply(this,arguments)}return(t=[{key:"_getStrategyName",value:function(){return"android"}},{key:"getHandleEventNames",value:function(){return[].concat(function(e){if(Array.isArray(e))return o(e)}(e=a(u(d.prototype),"getHandleEventNames",this).call(this))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["beforeInput"]);var e}},{key:"_beforeInputHandler",value:function(){this._prevCaret=this.editorCaret()}},{key:"_inputHandler",value:function(e){var t=e.originalEvent;if(t){var n=t.inputType,i=t.data,r=this.editorCaret();if("deleteContentBackward"===n){var o=this._prevCaret.end-this._prevCaret.start||1;this.editor.setBackwardDirection(),this._updateEditorMask({start:r.start,length:o,text:this._getEmptyString(o)})}else{if(!r.end)return;this._autoFillHandler(t),this.editorCaret(r);var s=this._prevCaret.end-this._prevCaret.start,a=i+(s?this._getEmptyString(s-i.length):"");this.editor.setForwardDirection(),this._updateEditorMask({start:this._prevCaret.start,length:s||a.length,text:a})||this.editorCaret(this._prevCaret)}}}},{key:"_getEmptyString",value:function(e){return Array(e+1).join(" ")}},{key:"_updateEditorMask",value:function(e){var t=e.text.length,n=this.editor._handleChain(e);if(this.editor.isForwardDirection()){var i=this.editorCaret(),r=i.start,o=n-t;r<=n&&n>1&&this.editorCaret({start:r+o,end:i.end+o}),this.editor.isForwardDirection()&&this.editor._adjustCaret()}return this.editor._displayMask(),!!n}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(d.prototype,t),d}(((i=n("gU7H"))&&i.__esModule?i:{default:i}).default);t.default=d},MbuQ:function(e,t,n){"use strict";var i=n("FKN7"),r=n("BqN7"),o=n("cGv3").getWindow(),s=n("ti0F").isFunction,a=n("zl3R").each,l=n("GC31"),c=n("tJvG"),u=c.when,d=c.Deferred;t.svgCreator={_markup:"",_imageArray:{},_imageDeferreds:[],_getBinaryFile:function(e,t){r.sendRequest({url:e,method:"GET",responseType:"arraybuffer"}).done(t).fail((function(){t(!1)}))},_loadImages:function(){var e=this;a(e._imageArray,(function(t){var n=new d;e._imageDeferreds.push(n),e._getBinaryFile(t,(function(i){if(!i)return delete e._imageArray[t],void n.resolve();var r,s="",a=new Uint8Array(i),l=a.byteLength;for(r=0;r<l;r++)s+=String.fromCharCode(a[r]);e._imageArray[t]="data:image/png;base64,"+o.btoa(s),n.resolve()}))}))},_parseImages:function(e){var t,n=this;"image"===e.tagName&&(t=i(e).attr("href")||i(e).attr("xlink:href"),n._imageArray[t]||(n._imageArray[t]="")),a(e.childNodes,(function(e,t){n._parseImages(t)}))},_prepareImages:function(e){return this._parseImages(e),this._loadImages(),u.apply(i,this._imageDeferreds)},getData:function(e,t){var n,r=this,c=l.getSvgElement(e),u=i(c);return n='<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'+l.getSvgMarkup(u.get(0),t.backgroundColor),r._prepareImages(c).then((function(){return a(r._imageArray,(function(e,t){var i="href=['|\"]".concat(e,"['|\"]");n=n.replace(new RegExp(i,"gi"),'href="'.concat(t,'"'))})),s(o.Blob)?r._getBlob(n):r._getBase64(n)}))},_getBlob:function(e){return new o.Blob([e],{type:"image/svg+xml"})},_getBase64:function(e){return o.btoa(e)}},t.getData=function(e,n){return t.svgCreator.getData(e,n)}},"N+b8":function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("D6VQ"),s=n("KAnu"),a=n("1LL4").extend,l=n("XpgS").inArray,c=n("zl3R").each,u=n("ti0F"),d=n("cGv3"),h=n("YQNt"),p=n("z7z0").fitIntoRange,f=n("TEOj"),m=n("JDOJ"),g=n("KrLa"),_=u.isPlainObject,b=u.isFunction,v=n("v4HY"),y=m.addNamespace(g.start,"dxResizable"),w=m.addNamespace(g.move,"dxResizable"),C=m.addNamespace(g.end,"dxResizable"),x={left:"borderLeftWidth",top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth"},S=f.inherit({_getDefaultOptions:function(){return a(this.callBase(),{handles:"all",step:"1",stepPrecision:"simple",area:void 0,minWidth:30,maxWidth:1/0,minHeight:30,maxHeight:1/0,onResizeStart:null,onResize:null,onResizeEnd:null,roundStepValue:!0})},_init:function(){this.callBase(),this.$element().addClass("dx-resizable")},_initMarkup:function(){this.callBase(),this._renderHandles()},_render:function(){this.callBase(),this._renderActions()},_renderActions:function(){this._resizeStartAction=this._createActionByOption("onResizeStart"),this._resizeEndAction=this._createActionByOption("onResizeEnd"),this._resizeAction=this._createActionByOption("onResize")},_renderHandles:function(){this._handles=[];var e=this.option("handles");if("none"!==e){var t="all"===e?["top","bottom","left","right"]:e.split(" ");c(t,(function(e,t){this._renderHandle(t)}).bind(this)),l("bottom",t)+1&&l("right",t)+1&&this._renderHandle("corner-bottom-right"),l("bottom",t)+1&&l("left",t)+1&&this._renderHandle("corner-bottom-left"),l("top",t)+1&&l("right",t)+1&&this._renderHandle("corner-top-right"),l("top",t)+1&&l("left",t)+1&&this._renderHandle("corner-top-left"),this._attachEventHandlers()}},_renderHandle:function(e){var t=i("<div>").addClass("dx-resizable-handle").addClass("dx-resizable-handle-"+e).appendTo(this.$element());this._handles.push(t)},_attachEventHandlers:function(){if(!this.option("disabled")){var e={};e[y]=this._dragStartHandler.bind(this),e[w]=this._dragHandler.bind(this),e[C]=this._dragEndHandler.bind(this),this._handles.forEac
1h((function(t){r.on(t,e,{direction:"both",immediate:!0})}))}},_detachEventHandlers:function(){this._handles.forEach((function(e){r.off(e)}))},_toggleEventHandlers:function(e){e?this._attachEventHandlers():this._detachEventHandlers()},_dragStartHandler:function(e){var t=this.$element();if(t.is(".dx-state-disabled, .dx-state-disabled *"))e.cancel=!0;else{this._toggleResizingClass(!0),this._movingSides=this._getMovingSides(e),this._elementLocation=h.locate(t);var n=t.get(0).getBoundingClientRect();this._elementSize={width:n.width,height:n.height},this._renderDragOffsets(e),this._resizeStartAction({event:e,width:this._elementSize.width,height:this._elementSize.height,handles:this._movingSides}),e.targetElements=null}},_toggleResizingClass:function(e){this.$element().toggleClass("dx-resizable-resizing",e)},_renderDragOffsets:function(e){var t=this._getArea();if(t){var n=i(e.target).closest(".dx-resizable-handle"),r=n.outerWidth(),o=n.outerHeight(),s=n.offset(),a=t.offset,l=this._getAreaScrollOffset();e.maxLeftOffset=s.left-a.left-l.scrollX,e.maxRightOffset=a.left+t.width-s.left-r+l.scrollX,e.maxTopOffset=s.top-a.top-l.scrollY,e.maxBottomOffset=a.top+t.height-s.top-o+l.scrollY}},_getBorderWidth:function(e,t){if(u.isWindow(e.get(0)))return 0;var n=e.css(x[t]);return parseInt(n)||0},_dragHandler:function(e){var t=this.$element(),n=this._movingSides,i=this._elementLocation,r=this._elementSize,o=this._getOffset(e),s=r.width+o.x*(n.left?-1:1),a=r.height+o.y*(n.top?-1:1);(o.x||"strict"===this.option("stepPrecision"))&&this._renderWidth(s),(o.y||"strict"===this.option("stepPrecision"))&&this._renderHeight(a);var l=t.get(0).getBoundingClientRect();h.move(t,{top:i.top+(n.top?o.y-((l.height||a)-a):0),left:i.left+(n.left?o.x-((l.width||s)-s):0)}),this._resizeAction({event:e,width:this.option("width")||s,height:this.option("height")||a,handles:this._movingSides}),v.triggerResizeEvent(t)},_getOffset:function(e){var t=e.offset,n=s.pairToObject(this.option("step"),!this.option("roundStepValue")),i=this._getMovingSides(e),r="strict"===this.option("stepPrecision");return i.left||i.right||(t.x=0),i.top||i.bottom||(t.y=0),r?this._getStrictOffset(t,n,i):this._getSimpleOffset(t,n)},_getSimpleOffset:function(e,t){return{x:e.x-e.x%t.h,y:e.y-e.y%t.v}},_getStrictOffset:function(e,t,n){var i=this._elementLocation,r=this._elementSize,o=((n.left?i.left:i.left+r.width)+e.x)%t.h,s=((n.top?i.top:i.top+r.height)+e.y)%t.v,a=Math.sign||function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},l=function(e,t){return(1+.2*a(t))%1*e},c=function(e,t){return Math.abs(e)<.2*t},u=e.x-o,d=e.y-s;return o>l(t.h,e.x)&&(u+=t.h),s>l(t.v,e.y)&&(d+=t.v),{x:!n.left&&!n.right||c(e.x,t.h)?0:u,y:!n.top&&!n.bottom||c(e.y,t.v)?0:d}},_getMovingSides:function(e){var t=i(e.target),n=t.hasClass("dx-resizable-handle-corner-top-left"),r=t.hasClass("dx-resizable-handle-corner-top-right"),o=t.hasClass("dx-resizable-handle-corner-bottom-left"),s=t.hasClass("dx-resizable-handle-corner-bottom-right");return{top:t.hasClass("dx-resizable-handle-top")||n||r,left:t.hasClass("dx-resizable-handle-left")||n||o,bottom:t.hasClass("dx-resizable-handle-bottom")||o||s,right:t.hasClass("dx-resizable-handle-right")||r||s}},_getArea:function(){var e=this.option("area");return b(e)&&(e=e.call(this)),_(e)?this._getAreaFromObject(e):this._getAreaFromElement(e)},_getAreaScrollOffset:function(){var e=this.option("area"),t={scrollY:0,scrollX:0};if(!b(e)&&!_(e)){var n=i(e)[0];u.isWindow(n)&&(t.scrollX=n.pageXOffset,t.scrollY=n.pageYOffset)}return t},_getAreaFromObject:function(e){var t={width:e.right-e.left,height:e.bottom-e.top,offset:{left:e.left,top:e.top}};return this._correctAreaGeometry(t),t},_getAreaFromElement:function(e){var t,n=i(e);return n.length&&(t={width:n.innerWidth(),height:n.innerHeight(),offset:a({top:0,left:0},u.isWindow(n[0])?{}:n.offset())},this._correctAreaGeometry(t,n)),t},_correctAreaGeometry:function(e,t){var n=t?this._getBorderWidth(t,"left"):0,i=t?this._getBorderWidth(t,"top"):0;e.offset.left+=n+this._getBorderWidth(this.$element(),"left"),e.offset.top+=i+this._getBorderWidth(this.$element(),"top"),e.width-=this.$element().outerWidth()-this.$element().innerWidth(),e.height-=this.$element().outerHeight()-this.$element().innerHeight()},_dragEndHandler:function(e){var t=this.$element();this._resizeEndAction({event:e,width:t.outerWidth(),height:t.outerHeight(),handles:this._movingSides}),this._toggleResizingClass(!1)},_renderWidth:function(e){this.option("width",p(e,this.option("minWidth"),this.option("maxWidth")))},_renderHeight:function(e){this.option("height",p(e,this.option("minHeight"),this.option("maxHeight")))},_optionChanged:function(e){switch(e.name){case"disabled":this._toggleEventHandlers(!e.value),this.callBase(e);break;case"handles":this._invalidate();break;case"minWidth":case"maxWidth":d.hasWindow()&&this._renderWidth(this.$element().outerWidth());break;case"minHeight":case"maxHeight":d.hasWindow()&&this._renderHeight(this.$element().outerHeight());break;case"onResize":case"onResizeStart":case"onResizeEnd":this._renderActions();break;case"area":case"stepPrecision":case"step":case"roundStepValue":break;default:this.callBase(e)}},_clean:function(){this.$element().find(".dx-resizable-handle").remove()}});o("dxResizable",S),e.exports=S,e.exports.default=e.exports},NDTZ:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cYys"),o=n("zl3R").each,s=n("KAnu"),a=n("1LL4").extend,l=Math,c=n("bMtV"),u=n("XWCB"),d=c.Scroller.inherit({ctor:function(){this._topPocketSize=0,this.callBase.apply(this,arguments),this._initCallbacks(),this._releaseState()},_releaseState:function(){this._state=0,this._refreshPullDownText()},_refreshPullDownText:function(){var e=this;o([{element:this._$pullingDownText,visibleState:0},{element:this._$pulledDownText,visibleState:1},{element:this._$refreshingText,visibleState:2}],(function(t,n){n.element[e._state===n.visibleState?"addClass":"removeClass"]("dx-scrollview-pull-down-text-visible")}))},_initCallbacks:function(){this.pullDownCallbacks=r(),this.releaseCallbacks=r(),this.reachBottomCallbacks=r()},_updateBounds:function(){var e="horizontal"!==this._direction;this._topPocketSize=e?Math.round(this._$topPocket[this._dimension]()):0,this._bottomPocketSize=e?Math.round(this._$bottomPocket[this._dimension]()):0,this.callBase(),this._bottomBound=this._minOffset+this._bottomPocketSize},_updateScrollbar:function(){this._scrollbar.option({containerSize:this._containerSize(),contentSize:this._contentSize()-this._topPocketSize-this._bottomPocketSize,scaleRatio:this._getScaleRatio()})}
1,_moveContent:function(){this.callBase(),this._isPullDown()?this._pullDownReady():this._isReachBottom()?this._reachBottomReady():0!==this._state&&this._stateReleased()},_moveScrollbar:function(){this._scrollbar.moveTo(this._topPocketSize+this._location)},_isPullDown:function(){return this._pullDownEnabled&&this._location>=0},_isReachBottom:function(){return this._reachBottomEnabled&&this._location-this._bottomBound<=.5},_scrollComplete:function(){this._inBounds()&&1===this._state?this._pullDownRefreshing():this._inBounds()&&3===this._state?this._reachBottomLoading():this.callBase()},_reachBottomReady:function(){3!==this._state&&(this._state=3,this._minOffset=this._getMinOffset())},_getMaxOffset:function(){return-this._topPocketSize},_getMinOffset:function(){return l.min(this.callBase(),-this._topPocketSize)},_reachBottomLoading:function(){this.reachBottomCallbacks.fire()},_pullDownReady:function(){1!==this._state&&(this._state=1,this._maxOffset=0,this._$pullDown.addClass("dx-scrollview-pull-down-ready"),this._refreshPullDownText())},_stateReleased:function(){0!==this._state&&(this._releaseState(),this._updateBounds(),this._$pullDown.removeClass("dx-scrollview-pull-down-loading").removeClass("dx-scrollview-pull-down-ready"),this.releaseCallbacks.fire())},_pullDownRefreshing:function(){2!==this._state&&(this._state=2,this._$pullDown.addClass("dx-scrollview-pull-down-loading").removeClass("dx-scrollview-pull-down-ready"),this._refreshPullDownText(),this.pullDownCallbacks.fire())},_releaseHandler:function(){return 0===this._state&&this._moveToBounds(),this._update(),this._releaseTask&&this._releaseTask.abort(),this._releaseTask=s.executeAsync(this._release.bind(this)),this._releaseTask.promise},_release:function(){this._stateReleased(),this._scrollComplete()},_reachBottomEnablingHandler:function(e){this._reachBottomEnabled!==e&&(this._reachBottomEnabled=e,this._updateBounds())},_pullDownEnablingHandler:function(e){this._pullDownEnabled!==e&&(this._pullDownEnabled=e,this._considerTopPocketChange(),this._updateHandler())},_considerTopPocketChange:function(){this._location-=this._$topPocket.height()||-this._topPocketSize,this._maxOffset=0,this._move()},_pendingReleaseHandler:function(){this._state=1},dispose:function(){this._releaseTask&&this._releaseTask.abort(),this.callBase()}}),h=c.SimulatedStrategy.inherit({_init:function(e){this.callBase(e),this._$pullDown=e._$pullDown,this._$topPocket=e._$topPocket,this._$bottomPocket=e._$bottomPocket,this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=r(),this.releaseCallbacks=r(),this.reachBottomCallbacks=r()},render:function(){this._renderPullDown(),this.callBase()},_renderPullDown:function(){var e=i("<div>").addClass("dx-scrollview-pull-down-image"),t=i("<div>").addClass("dx-scrollview-pull-down-indicator"),n=new u(i("<div>")).$element(),r=this._$pullDownText=i("<div>").addClass("dx-scrollview-pull-down-text");this._$pullingDownText=i("<div>").text(this.option("pullingDownText")).appendTo(r),this._$pulledDownText=i("<div>").text(this.option("pulledDownText")).appendTo(r),this._$refreshingText=i("<div>").text(this.option("refreshingText")).appendTo(r),this._$pullDown.empty().append(e).append(t.append(n)).append(r)},pullDownEnable:function(e){this._eventHandler("pullDownEnabling",e)},reachBottomEnable:function(e){this._eventHandler("reachBottomEnabling",e)},_createScroller:function(e){var t=this,n=t._scrollers[e]=new d(t._scrollerOptions(e));n.pullDownCallbacks.add((function(){t.pullDownCallbacks.fire()})),n.releaseCallbacks.add((function(){t.releaseCallbacks.fire()})),n.reachBottomCallbacks.add((function(){t.reachBottomCallbacks.fire()}))},_scrollerOptions:function(e){return a(this.callBase(e),{$topPocket:this._$topPocket,$bottomPocket:this._$bottomPocket,$pullDown:this._$pullDown,$pullDownText:this._$pullDownText,$pullingDownText:this._$pullingDownText,$pulledDownText:this._$pulledDownText,$refreshingText:this._$refreshingText})},pendingRelease:function(){this._eventHandler("pendingRelease")},release:function(){return this._eventHandler("release").done(this._updateAction)},location:function(){var e=this.callBase();return e.top+=this._$topPocket.height(),e},dispose:function(){o(this._scrollers,(function(){this.dispose()})),this.callBase()}});e.exports=h},NFpX:function(e,t,n){"use strict";var i=n("1B4V"),r=n("tUd6"),o=n("cGv3").getWindow(),s=n("ti0F"),a=n("m6TM"),l=n("c44P"),c=n("8VXM"),u=function(e,t){return new d(e,t)},d=function(e,t){return e?"string"==typeof e?"body"===e?(this[0]=t?t.body:r.getBody(),this.length=1,this):(t=t||r.getDocument(),"<"===e[0]?(this[0]=r.createElement(e.slice(1,-1),t),this.length=1,this):([].push.apply(this,r.querySelectorAll(t,e)),this)):r.isNode(e)||s.isWindow(e)?(this[0]=e,this.length=1,this):Array.isArray(e)?([].push.apply(this,e),this):u(e.toArray?e.toArray():[e]):(this.length=0,this)};u.fn={dxRenderer:!0},d.prototype=u.fn;var h=function(e,t){for(var n=0;n<this.length;n++){var i=u(this[n]);i[e].apply(i,t)}return this},p=function(e,t,n){null!=n?r.setAttribute(e,t,n):r.removeAttribute(e,t)};d.prototype.show=function(){return this.toggle(!0)},d.prototype.hide=function(){return this.toggle(!1)},d.prototype.toggle=function(e){return this[0]&&this.toggleClass("dx-state-invisible",!e),this},d.prototype.attr=function(e,t){if(this.length>1&&arguments.length>1)return h.call(this,"attr",arguments);if(!this[0])return s.isObject(e)||void 0!==t?this:void 0;if(!this[0].getAttribute)return this.prop(e,t);if("string"==typeof e&&1===arguments.length){var n=this[0].getAttribute(e);return null==n?void 0:n}if(s.isPlainObject(e))for(var i in e)this.attr(i,e[i]);else p(this[0],e,t);return this},d.prototype.removeAttr=function(e){return this[0]&&r.removeAttribute(this[0],e),this},d.prototype.prop=function(e,t){if(!this[0])return this;if("string"==typeof e&&1===arguments.length)return this[0][e];if(s.isPlainObject(e))for(var n in e)this.prop(n,e[n]);else r.setProperty(this[0],e,t);return this},d.prototype.addClass=function(e){return this.toggleClass(e,!0)},d.prototype.removeClass=function(e){return this.toggleClass(e,!1)},d.prototype.hasClass=function(e){if(!this[0]||void 0===this[0].className)return!1;for(var t=e.split(" "),n=0;n<t.length;n++)if(this[0].classList){if(this[0].classList.contains(t[n]))return!0}else if(((s.isString(this[0].className)?this[0].className:r.getAttribute(this[0],"class"))||"").split(" ").indexOf(t[n])>=0)return!0;return!1},d.prototype.toggleClass=function(e,t){if(this.length>1)return h.call(this,"toggleClass",arguments);if(!this[0]||!e)return this;t=void 0===t?!this.hasClass(e):t;for(var n=e.split(" "),i=0;i<n.length;i++)r.setClass(this[0],n[i],t);return this},["width","height","outerWidth","outerHeight","innerWidth","innerHe
1ight"].forEach((function(e){var t=e.toLowerCase().indexOf("width")>=0?"Width":"Height",n=t.toLowerCase(),i=0===e.indexOf("outer"),a=0===e.indexOf("inner");d.prototype[e]=function(c){if(this.length>1&&arguments.length>0)return h.call(this,e,arguments);var u=this[0];if(u){if(s.isWindow(u))return i?u["inner"+t]:r.getDocumentElement()["client"+t];if(r.isDocument(u)){var d=r.getDocumentElement(),p=r.getBody();return Math.max(p["scroll"+t],p["offset"+t],d["scroll"+t],d["offset"+t],d["client"+t])}if(0===arguments.length||"boolean"==typeof c){var f={paddings:a||i,borders:i,margins:c};return l.getSize(u,n,f)}if(null==c)return this;if(s.isNumeric(c)){var m=o.getComputedStyle(u),g=l.getElementBoxParams(n,m),_="border-box"===m.boxSizing;c=Number(c),i?c-=_?0:g.border+g.padding:a?c+=_?g.border:-g.padding:_&&(c+=g.border+g.padding)}return c+=s.isNumeric(c)?"px":"",r.setStyle(u,n,c),this}}})),d.prototype.html=function(e){return arguments.length?(this.empty(),"string"==typeof e&&!c.isTablePart(e)||"number"==typeof e?(this[0].innerHTML=e,this):this.append(c.parseHTML(e))):this[0].innerHTML};var f=function(e,t){if(this[0]&&e){"string"==typeof e?e=c.parseHTML(e):e.nodeType?e=[e]:s.isNumeric(e)&&(e=[r.createTextNode(e)]);for(var n=0;n<e.length;n++){var i=e[n],o=this[0];"TABLE"===o.tagName&&"TR"===i.tagName&&o.tBodies&&o.tBodies.length&&(o=o.tBodies[0]),r.insertElement(o,i.nodeType?i:i[0],t)}}},m=function(e,t){if(this[0]&&this[0].style&&!(null===t||"number"==typeof t&&isNaN(t))){e=a.styleProp(e);for(var n=0;n<this.length;n++)this[n].style[e]=a.normalizeStyleProp(e,t)}};d.prototype.css=function(e,t){if(s.isString(e)){if(2!==arguments.length){if(!this[0])return;e=a.styleProp(e);var n=o.getComputedStyle(this[0])[e]||this[0].style[e];return s.isNumeric(n)?n.toString():n}m.call(this,e,t)}else if(s.isPlainObject(e))for(var i in e)m.call(this,i,e[i]);return this},d.prototype.prepend=function(e){if(arguments.length>1){for(var t=0;t<arguments.length;t++)this.prepend(arguments[t]);return this}return f.apply(this,[e,this[0].firstChild]),this},d.prototype.append=function(e){if(arguments.length>1){for(var t=0;t<arguments.length;t++)this.append(arguments[t]);return this}return f.apply(this,[e]),this},d.prototype.prependTo=function(e){if(this.length>1){for(var t=this.length-1;t>=0;t--)u(this[t]).prependTo(e);return this}return(e=u(e))[0]&&r.insertElement(e[0],this[0],e[0].firstChild),this},d.prototype.appendTo=function(e){return this.length>1?h.call(this,"appendTo",arguments):(r.insertElement(u(e)[0],this[0]),this)},d.prototype.insertBefore=function(e){return e&&e[0]&&r.insertElement(e[0].parentNode,this[0],e[0]),this},d.prototype.insertAfter=function(e){return e&&e[0]&&r.insertElement(e[0].parentNode,this[0],e[0].nextSibling),this},d.prototype.before=function(e){return this[0]&&r.insertElement(this[0].parentNode,e[0],this[0]),this},d.prototype.after=function(e){return this[0]&&r.insertElement(this[0].parentNode,e[0],this[0].nextSibling),this},d.prototype.wrap=function(e){if(this[0]){var t=u(e);t.insertBefore(this),t.append(this)}return this},d.prototype.wrapInner=function(e){var t=this.contents();return t.length?t.wrap(e):this.append(e),this},d.prototype.replaceWith=function(e){if(e&&e[0])return e.is(this)?this:(e.insertBefore(this),this.remove(),e)},d.prototype.remove=function(){return this.length>1?h.call(this,"remove",arguments):(i.cleanDataRecursive(this[0],!0),r.removeElement(this[0]),this)},d.prototype.detach=function(){return this.length>1?h.call(this,"detach",arguments):(r.removeElement(this[0]),this)},d.prototype.empty=function(){return this.length>1?h.call(this,"empty",arguments):(i.cleanDataRecursive(this[0]),r.setText(this[0],""),this)},d.prototype.clone=function(){for(var e=[],t=0;t<this.length;t++)e.push(this[t].cloneNode(!0));return u(e)},d.prototype.text=function(e){if(!arguments.length){for(var t="",n=0;n<this.length;n++)t+=this[n]&&this[n].textContent||"";return t}var o=s.isFunction(e)?e():e;return i.cleanDataRecursive(this[0],!1),r.setText(this[0],s.isDefined(o)?o:""),this},d.prototype.val=function(e){return 1===arguments.length?this.prop("value",s.isDefined(e)?e:""):this.prop("value")},d.prototype.contents=function(){if(!this[0])return u();var e=[];return e.push.apply(e,this[0].childNodes),u(e)},d.prototype.find=function(e){var t=u();if(!e)return t;var n,i=[];if("string"==typeof e)for(e=e.trim(),n=0;n<this.length;n++){var o=this[n];if(r.isElementNode(o)){var s=o.getAttribute("id"),a=s||"dx-query-children";s||p(o,"id",a);var l=(a="[id='"+a+"'] ")+e.replace(/([^\\])(,)/g,"$1, "+a);
1i.push.apply(i,r.querySelectorAll(o,l)),p(o,"id",s)}else r.isDocument(o)&&i.push.apply(i,r.querySelectorAll(o,e))}else for(n=0;n<this.length;n++)e=r.isNode(e)?e:e[0],this[n]!==e&&this[n].contains(e)&&i.push(e);return t.add(i)};var g=function(e,t){return!t.nodeType||!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)};d.prototype.filter=function(e){if(!e)return u();if(":visible"===e)return this.filter(g);if(":hidden"===e)return this.filter((function(e,t){return!g(0,t)}));for(var t=[],n=0;n<this.length;n++){var i=this[n];if(r.isElementNode(i)&&"string"===s.type(e))r.elementMatches(i,e)&&t.push(i);else if(r.isNode(e)||s.isWindow(e))e===i&&t.push(i);else if(s.isFunction(e))e.call(i,n,i)&&t.push(i);else for(var o=0;o<e.length;o++)e[o]===i&&t.push(i)}return u(t)},d.prototype.not=function(e){for(var t=[],n=this.filter(e).toArray(),i=0;i<this.length;i++)-1===n.indexOf(this[i])&&t.push(this[i]);return u(t)},d.prototype.is=function(e){return!!this.filter(e).length},d.prototype.children=function(e){for(var t=[],n=0;n<this.length;n++)for(var i=this[n]?this[n].childNodes:[],o=0;o<i.length;o++)r.isElementNode(i[o])&&t.push(i[o]);return t=u(t),e?t.filter(e):t},d.prototype.siblings=function(){var e=this[0];if(!e||!e.parentNode)return u();for(var t=[],n=e.parentNode.childNodes||[],i=0;i<n.length;i++){var o=n[i];r.isElementNode(o)&&o!==e&&t.push(o)}return u(t)},d.prototype.each=function(e){for(var t=0;t<this.length&&!1!==e.call(this[t],t,this[t]);t++);},d.prototype.index=function(e){return e?(e=u(e),this.toArray().indexOf(e[0])):this.parent().children().index(this)},d.prototype.get=function(e){return this[e<0?this.length+e:e]},d.prototype.eq=function(e){return u(this[e=e<0?this.length+e:e])},d.prototype.first=function(){return this.eq(0)},d.prototype.last=function(){return this.eq(-1)},d.prototype.parent=function(e){if(!this[0])return u();var t=u(this[0].parentNode);return!e||t.is(e)?t:u()},d.prototype.parents=function(e){for(var t=[],n=this.parent();n&&n[0]&&!r.isDocument(n[0]);)r.isElementNode(n[0])&&(!e||e&&n.is(e))&&t.push(n.get(0)),n=n.parent();return u(t)},d.prototype.closest=function(e){if(this.is(e))return this;for(var t=this.parent();t&&t.length;){if(t.is(e))return t;t=t.parent()}return u()},d.prototype.next=function(e){if(!this[0])return u();var t=u(this[0].nextSibling);if(!arguments.length)return t;for(;t&&t.length;){if(t.is(e))return t;t=t.next()}return u()},d.prototype.prev=function(){return this[0]?u(this[0].previousSibling):u()},d.prototype.add=function(e){for(var t=u(e),n=this.toArray(),i=0;i<t.length;i++){var r=t[i];-1===n.indexOf(r)&&n.push(r)}return u(n)};var _=[];d.prototype.splice=function(){return u(_.splice.apply(this,arguments))},d.prototype.slice=function(){return u(_.slice.apply(this,arguments))},d.prototype.toArray=function(){return _.slice.call(this)};var b=function(e){return s.isWindow(e)?e:e.defaultView};d.prototype.offset=function(){if(this[0]){if(!this[0].getClientRects().length)return{top:0,left:0};var e=this[0].getBoundingClientRect(),t=b(this[0].ownerDocument),n=this[0].ownerDocument.documentElement;return{top:e.top+t.pageYOffset-n.clientTop,left:e.left+t.pageXOffset-n.clientLeft}}},d.prototype.offsetParent=function(){if(!this[0])return u();for(var e=u(this[0].offsetParent);e[0]&&"static"===e.css("position");)e=u(e[0].offsetParent);return e[0]?e:u(r.getDocumentElement())},d.prototype.position=function(){if(this[0]){var e,t=parseFloat(this.css("marginTop")),n=parseFloat(this.css("marginLeft"));if("fixed"===this.css("position"))return{top:(e=this[0].getBoundingClientRect()).top-t,left:e.left-n};e=this.offset();var i=this.offsetParent(),r={top:0,left:0};return"HTML"!==i[0].nodeName&&(r=i.offset()),r={top:r.top+parseFloat(i.css("borderTopWidth")),left:r.left+parseFloat(i.css("borderLeftWidth"))},{top:e.top-r.top-t,left:e.left-r.left-n}}},[{name:"scrollLeft",offsetProp:"pageXOffset",scrollWindow:function(e,t){e.scrollTo(t,e.pageYOffset)}},{name:"scrollTop",offsetProp:"pageYOffset",scrollWindow:function(e,t){e.scrollTo(e.pageXOffset,t)}}].forEach((function(e){var t=e.name;d.prototype[t]=function(n){if(this[0]){var i=b(this[0]);return void 0===n?i?i[e.offsetProp]:this[0][t]:(i?e.scrollWindow(i,n):this[0][t]=n,this)}}})),d.prototype.data=function(e,t){if(this[0])return arguments.length<2?i.data.call(u,this[0],e):(i.data.call(u,this[0],e,t),this)},d.prototype.removeData=function(e){return this[0]&&i.removeData(this[0],e),this};var v=function(){return u.apply(this,arguments)};Object.defineProperty(v,"fn",{enumerable:!0,configurable:!0,get:function(){return u.fn},set:function(e){u.fn=e}}),e.exports={set:function(e){u=e},get:function(){return v}}},NJ4a:function(e,t,n){"use strict";function i(e){setTimeout(()=>{throw e},0)}n.d(t,"a",(function(){return i}))},NJzS:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.CODE39=void 0;var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=e.toUpperCase(),n.mod43&&(e+=function(e){return s[e]}(function(e){for(var t=0,n=0;n<e.length;n++)t+=c(e[n]);return t%43}(e))),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"encode",value:function(){for(var e=l("*"),t=0;t<this.data.length;t++)e+=l(this.data[t])+"0";return{data:e+=l("*"),text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),t}(((i=n("52Lf"))&&i.__esModule?i:{default:i}).default),s=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],a=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function l(e){return function(e){return a[e].toString(2)}(c(e))}function c(e){return s.indexOf(e)}t.CODE39=o},NLYV:function(e,t,n){"use strict";var i=d(n("BWGd")),r=d(n("H3YS")),o=n("tJvG"),s=n("ti0F"),a=n("KAnu"),l=n("fZgB"),c=n("yxXJ"),u=n("1LL4");function d(e){return e&&e.__esModule?e:{default:e}}var h=Number.MAX_SAFE_INTEGER||9007199254740991;i.default.registerModule("focus",(0,u.extend)(!0,{},r.default,{extenders:{controllers:{data:{changeRowExpand:function(e){return this.option("focusedRowEnabled")&&Array.isArray(e)&&this.isRowExpanded(e)&&this._isFocusedRowInsideGroup(e)&&this.option("focusedRowKey",e),this.callBase.apply(this,arguments)},_isFocusedRowInsideGroup:function(e){var t=this.getController("columns"),n=this.option("focusedRowKey"),i=this.getRowIndexByKey(n),r=i>=0&&this.getVisibleRows()[i],o=t.getGroupDataSourceParameters(!0);if(r)for(var s=0;s<e.length;++s)if((0,c.compileGetter)(o[s]&&o[s].selector)(r.data)!==e[s])return!1;return!0},_getGroupPath:function(e){for(var t=[e.key],n=e.items;n&&n[0];){var i=n[0];
1void 0!==i.key&&t.push(i.key),n=i.items}return t},_expandGroupByPath:function(e,t,n){var i=new o.Deferred;return n++,e.expandRow(t.slice(0,n)).done((function(){n===t.length?i.resolve():e._expandGroupByPath(e,t,n).done(i.resolve).fail(i.reject)})).fail(i.reject),i.promise()},_calculateGlobalRowIndexByGroupedData:function(e){var t=this,n=t._dataSource,i=t._generateFilterByKey(e),r=new o.Deferred,a=Array.isArray(e),l=n.group();return a?r.resolve(-1).promise():n._grouping._updatePagingOptions?(n.load({filter:t._concatWithCombinedFilter(i),group:l}).done((function(n){if(!n||0===n.length||!(0,s.isDefined)(n[0].key)||-1===n[0].key)return r.resolve(-1).promise();var i=t._getGroupPath(n[0]);t._expandGroupByPath(t,i,0).done((function(){t._calculateExpandedRowGlobalIndex(r,e,i,l)})).fail(r.reject)})).fail(r.reject),r.promise()):(t._calculateGlobalRowIndexByFlatData(e,null,!0).done(r.resolve).fail(r.reject),r)},_calculateExpandedRowGlobalIndex:function(e,t,n,i){var r,o=(0,l.createGroupFilter)(n,{group:i}),s=this._dataSource,c=this.option("scrolling.mode"),u="virtual"===c||"infinite"===c,d=s.pageSize();s._grouping._updatePagingOptions({skip:0,take:h},(function(e,t){(0,a.equalByValue)(e.path,n)&&(r=t)})),this._calculateGlobalRowIndexByFlatData(t,o).done((function(t){var i,o;t<0?e.resolve(-1):(i=(r%d||d)+t-n.length,o=u?0:Math.floor(i/(d-n.length))*n.length,e.resolve(i=r+t+o))})).fail(e.reject)}}}}}))},NNGq:function(e,t,n){"use strict";var i=n("T6P2");e.exports=new i},NbX6:function(e,t,n){"use strict";var i=s(n("BWGd")),r=s(n("huem")),o=n("1LL4");function s(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("columns",{defaultOptions:function(){return(0,o.extend)(!0,{},r.default.defaultOptions(),{commonColumnSettings:{allowExporting:!0}})},controllers:r.default.controllers})},Nehr:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},NfUw:function(e,t,n){"use strict";var i,r=u(n("FKN7")),o=u(n("8S5z")),s=n("KAnu"),a=n("zl3R"),l=n("ti0F"),c=n("tJvG");function u(e){return e&&e.__esModule?e:{default:e}}e.exports={defaultOptions:function(){return{masterDetail:{enabled:!1,autoExpandAll:!1,template:null}}},extenders:{controllers:{columns:{_getExpandColumnsCore:function(){var e=this.callBase();return this.option("masterDetail.enabled")&&e.push({type:"detailExpand",cellTemplate:o.default.getExpandCellTemplate()}),e}},data:(i=function(e){e._expandedItems=[],e._isExpandAll=e.option("masterDetail.autoExpandAll")},{init:function(){i(this),this.callBase()},expandAll:function(e){var t=this;e<0?(t._isExpandAll=!0,t._expandedItems=[],t.updateItems()):t.callBase.apply(t,arguments)},collapseAll:function(e){var t=this;e<0?(t._isExpandAll=!1,t._expandedItems=[],t.updateItems()):t.callBase.apply(t,arguments)},isRowExpanded:function(e){var t=this,n=o.default.getIndexByKey(e,t._expandedItems);return Array.isArray(e)?t.callBase.apply(t,arguments):!!(t._isExpandAll^(n>=0&&t._expandedItems[n].visible))},_getRowIndicesForExpand:function(e){var t=this.getRowIndexByKey(e);return[t,t+1]},_changeRowExpandCore:function(e){var t,n=this;if(Array.isArray(e))t=n.callBase.apply(n,arguments);else{var i=o.default.getIndexByKey(e,n._expandedItems);if(i>=0){var r=n._expandedItems[i].visible;n._expandedItems[i].visible=!r}else{n._expandedItems.push({key:e,visible:!0});var s=n.getController("editing");s&&s.correctEditRowIndexAfterExpand(e)}n.updateItems({changeType:"update",rowIndices:n._getRowIndicesForExpand(e)}),t=(new c.Deferred).resolve()}return t},_processDataItem:function(e,t){var n=this,i=n.callBase.apply(n,arguments);return i.isExpanded=n.isRowExpanded(i.key),void 0===t.detailColumnIndex&&(t.detailColumnIndex=-1,(0,a.each)(t.visibleColumns,(function(e,n){if("expand"===n.command&&!(0,l.isDefined)(n.groupIndex))return t.detailColumnIndex=e,!1}))),t.detailColumnIndex>=0&&(i.values[t.detailColumnIndex]=i.isExpanded),i},_processItems:function(e,t){var n=this,i=t.changeType,r=[];return e=n.callBase.apply(n,arguments),"loadingAll"===i?e:("refresh"===i&&(n._expandedItems=(0,s.grep)(n._expandedItems,(function(e){return e.visible}))),(0,a.each)(e,(function(e,t){r.push(t);var i=o.default.getIndexByKey(t.key,n._expandedItems);"data"===t.rowType&&(t.isExpanded||i>=0)&&!t.isNewRow&&r.push({visible:t.isExpanded,rowType:"detail",key:t.key,data:t.data,values:[]})})),r)},optionChanged:function(e){var t,n;if("masterDetail"===e.name){switch(e.name="dataSource",e.fullName){case"masterDetail":var r=e.value||{},o=e.previousValue||{};t=r.enabled!==o.enabled,n=r.autoExpandAll!==o.autoExpandAll;break;case"masterDetail.enabled":t=!0;break;case"masterDetail.autoExpandAll":n=!0}
1(t||n)&&i(this)}this.callBase(e)}}),resizing:{fireContentReadyAction:function(){this.callBase.apply(this,arguments),this._updateParentDataGrids(this.component.$element())},_updateParentDataGrids:function(e){var t=this,n=e.closest(".dx-master-detail-row");n.length&&(0,c.when)(this._updateMasterDataGrid(n,e)).done((function(){t._updateParentDataGrids(n.parent())}))},_updateMasterDataGrid:function(e,t){var n=(0,r.default)(e).data("options"),i=(0,r.default)(e).closest("."+this.getWidgetContainerClass()).parent().data("dxDataGrid");if(n&&i){if(!i.getView("rowsView").isFixedColumns()){var o=i.getScrollable();return o&&o.update()}this._updateFixedMasterDetailGrids(i,n.rowIndex,t)}},_updateFixedMasterDetailGrids:function(e,t,n){var i=this,o=(0,r.default)(e.getRowElement(t));if(o&&2===o.length&&o.eq(0).height()!==o.eq(1).height()){var s=n.width();return e.updateDimensions().done((function(){var t=i.option("columnAutoWidth")&&!0===e.option("scrolling.useNative"),r=t&&s!==n.width();t&&r&&i.updateDimensions()}))}}}},views:{rowsView:{_getCellTemplate:function(e){var t=this,n=e.column,i=t.getController("editing"),r=i&&i.isEditRow(e.rowIndex);return"detail"!==n.command||r?t.callBase.apply(t,arguments):t.option("masterDetail.template")||{allowRenderToDetachedContainer:!1,render:t._getDefaultTemplate(n)}},_isDetailRow:function(e){return e&&e.rowType&&0===e.rowType.indexOf("detail")},_createRow:function(e){var t=this.callBase(e);return e&&this._isDetailRow(e)&&(this.option("showRowLines")&&t.addClass("dx-row-lines"),t.addClass("dx-master-detail-row"),(0,l.isDefined)(e.visible)&&t.toggle(e.visible)),t},_renderCells:function(e,t){var n=t.row,i=this._columnsController.getVisibleColumns();n.rowType&&this._isDetailRow(n)?this._needRenderCell(0,t.columnIndices)&&this._renderCell(e,{value:null,row:n,rowIndex:n.rowIndex,column:{command:"detail"},columnIndex:0}).addClass("dx-cell-focus-disabled").addClass("dx-master-detail-cell").attr("colSpan",i.length):this.callBase.apply(this,arguments)}}}}}},Niae:function(e,t,n){"use strict";var i=n("1LL4");e.exports={_formatNumberCore:function(e,t,n){if("currency"===t){n.precision=n.precision||0;var r=this.format(e,(0,i.extend)({},n,{type:"fixedpoint"})),o=this.getCurrencySymbol().symbol.replace("$","$$$$");return r.replace(/^(\D*)(\d.*)/,"$1"+o+"$2")}return this.callBase.apply(this,arguments)},getCurrencySymbol:function(){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(){return"$#,##0{0}_);\\($#,##0{0}\\)"}}},NnyS:function(e,t,n){"use strict";e.exports=n("zhLK"),e.exports.default=e.exports},Nxdf:function(e,t,n){"use strict";var i=n("5qrJ"),r=n("ti0F"),o=n("zl3R"),s=n("yxXJ").compileGetter,a=n("yxXJ").toComparable,l=n("tJvG").Deferred,c=n("YyLj"),u=n("IRs2"),d=i.inherit({toArray:function(){var e=[];for(this.reset();this.next();)e.push(this.current());return e},countable:function(){return!1}}),h=d.inherit({ctor:function(e){this.array=e,this.index=-1},next:function(){return this.index+1<this.array.length&&(this.index++,!0)},current:function(){return this.array[this.index]},reset:function(){this.index=-1},toArray:function(){return this.array.slice(0)},countable:function(){return!0},count:function(){return this.array.length}}),p=d.inherit({ctor:function(e){this.iter=e},next:function(){return this.iter.next()},current:function(){return this.iter.current()},reset:function(){return this.iter.reset()}}),f=p.inherit({ctor:function(e,t){this.callBase(e),this.index=-1,this.mapper=t},current:function(){return this.mapper(this.callBase(),this.index)},next:function(){var e=this.callBase();return e&&this.index++,e}}),m=function(e,t){return e=a(e),t=a(t),null===e&&null!==t?-1:null!==e&&null===t||void 0===e&&void 0!==t?1:void 0!==e&&void 0===t||e<t?-1:e>t?1:0},g=d.inherit({ctor:function(e,t,n,i){e instanceof f||(e=new f(e,this._wrap)),this.iter=e,this.rules=[{getter:t,desc:n,compare:i}]},thenBy:function(e,t,n){var i=new g(this.sortedIter||this.iter,e,t,n);return this.sortedIter||(i.rules=this.rules.concat(i.rules)),i},next:function(){return this._ensureSorted(),this.sortedIter.next()},current:function(){return this._ensureSorted(),this.sortedIter.current()},reset:function(){delete this.sortedIter},countable:function(){return this.sortedIter||this.iter.countable()},count:function(){return this.sortedIter?this.sortedIter.count():this.iter.count()},_ensureSorted:function(){var e=this;
1e.sortedIter||(o.each(e.rules,(function(){this.getter=s(this.getter)})),e.sortedIter=new f(new h(this.iter.toArray().sort((function(t,n){return e._compare(t,n)}))),e._unwrap))},_wrap:function(e,t){return{index:t,value:e}},_unwrap:function(e){return e.value},_compare:function(e,t){var n=e.index,i=t.index;if((e=e.value)===(t=t.value))return n-i;for(var r=0,o=this.rules.length;r<o;r++){var s=this.rules[r],a=s.getter(e),l=s.getter(t),c=(s.compare||m)(a,l);if(c)return s.desc?-c:c}return n-i}}),_=function(){var e=function(e){return r.isDefined(e)?e.toString():""};function t(e,t,n){return function(i){i=a(e(i));var r=function(e){return""===e||0===e||!1===e}(t)?i===t:i==t;return n&&(r=!r),r}}return function(n){return r.isFunction(n)?n:u.isGroupCriterion(n)?function(e){var t=[],n=!1,i=!1;return o.each(e,(function(){if(Array.isArray(this)||r.isFunction(this)){if(t.length>1&&n!==i)throw new c.errors.Error("E4019");t.push(_(this)),n=i,i=!0}else i=u.isConjunctiveOperator(this)})),function(e){for(var i=n,r=0;r<t.length;r++)if(t[r](e)!==n){i=!n;break}return i}}(n):u.isUnaryOperation(n)?function(e){var t=e[0],n=_(e[1]);if("!"===t)return function(e){return!n(e)};throw c.errors.Error("E4003",t)}(n):function(n){n=u.normalizeBinaryCriterion(n);var i=s(n[0]),r=n[1],o=n[2];switch(o=a(o),r.toLowerCase()){case"=":return t(i,o);case"<>":return t(i,o,!0);case">":return function(e){return a(i(e))>o};case"<":return function(e){return a(i(e))<o};case">=":return function(e){return a(i(e))>=o};case"<=":return function(e){return a(i(e))<=o};case"startswith":return function(t){return 0===a(e(i(t))).indexOf(o)};case"endswith":return function(t){var n=a(e(i(t))),r=e(o);return!(n.length<r.length)&&n.lastIndexOf(o)===n.length-o.length};case"contains":return function(t){return a(e(i(t))).indexOf(o)>-1};case"notcontains":return function(t){return-1===a(e(i(t))).indexOf(o)}}throw c.errors.Error("E4003",r)}(n)}}(),b=p.inherit({ctor:function(e,t){this.callBase(e),this.criteria=_(t)},next:function(){for(;this.iter.next();)if(this.criteria(this.current()))return!0;return!1}}),v=d.inherit({ctor:function(e,t){this.iter=e,this.getter=t},next:function(){return this._ensureGrouped(),this.groupedIter.next()},current:function(){return this._ensureGrouped(),this.groupedIter.current()},reset:function(){delete this.groupedIter},countable:function(){return!!this.groupedIter},count:function(){return this.groupedIter.count()},_ensureGrouped:function(){if(!this.groupedIter){var e={},t=[],n=this.iter,i=s(this.getter);for(n.reset();n.next();){var r=n.current(),a=i(r);a in e?e[a].push(r):(e[a]=[r],t.push(a))}this.groupedIter=new h(o.map(t,(function(t){return{key:t,items:e[t]}})))}}}),y=p.inherit({ctor:function(e,t){this.callBase(e),this.getter=s(t)},current:function(){return this.getter(this.callBase())},countable:function(){return this.iter.countable()},count:function(){return this.iter.count()}}),w=p.inherit({ctor:function(e,t,n){this.callBase(e),this.skip=Math.max(0,t),this.take=Math.max(0,n),this.pos=0},next:function(){if(this.pos>=this.skip+this.take)return!1;for(;this.pos<this.skip&&this.iter.next();)this.pos++;return this.pos++,this.iter.next()},reset:function(){this.callBase(),this.pos=0},countable:function(){return this.iter.countable()},count:function(){return Math.min(this.iter.count()-this.skip,this.take)}});e.exports=function e(t,n){n=n||{},t instanceof d||(t=new h(t));var i=function(e){var t=n.errorHandler;t&&t(e),c._errorHandler(e)},o=function(e){var n=(new l).fail(i),r=e.step,o=e.finalize;try{t.reset();for(var s=("seed"in e?e.seed:t.next()?t.current():NaN);t.next();)s=r(s,t.current());n.resolve(o?o(s):s)}catch(a){n.reject(a)}return n.promise()},a=function(e){return o(u.aggregators[e])},p=function(e){return r.isFunction(e)||Array.isArray(e)||(e=[].slice.call(arguments)),m(new y(t,e))},f=function(e){return p(s(e))},m=function(t){return e(t,n)};return{toArray:function(){return t.toArray()},enumerate:function(){var e=(new l).fail(i);try{e.resolve(t.toArray())}catch(n){e.reject(n)}return e.promise()},sortBy:function(e,n,i){return m(new g(t,e,n,i))},thenBy:function(e,n,i){if(t instanceof g)return m(t.thenBy(e,n,i));throw c.errors.Error("E4004")},filter:function(e){return Array.isArray(e)||(e=[].slice.call(arguments)),m(new b(t,e))},slice:function(e,n){return void 0===n&&(n=Number.MAX_VALUE),m(new w(t,e,n))},select:p,groupBy:function(e){return m(new v(t,e))},aggregate:function(e,t,n){return o(arguments.length<2?{step:arguments[0]}:{seed:e,step:t,finalize:n})},count:function(){if(t.countable()){var e=(new l).fail(i);try{e.resolve(t.count())}catch(n){e.reject(n)}return e.promise()}return a("count")},sum:function(e){return e?f(e).sum():a("sum")},min:function(e){return e?f(e).min():a("min")},max:function(e){return e?f(e).max():a("max")},avg:function(e){return e?f(e).avg():a("avg")}}}},"Ny+d":function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3").getWindow(),o=n("LdFP"),s=n("D6VQ"),a=n("1LL4").extend,l=n("zBVi"),c=n("XPWh"),u=n("wjBO"),d=n("OdII"),h=n("I0Qj"),p=n("+6qP"),f=n("lBBa").ChildDefaultTemplate,m={popupWidth:"width",popupHeight:"height",popupMaxHeight:"maxHeight",popupAutoResizeEnabled:"autoResizeEnabled"},g={buttonIcon:"icon",buttonText:"text",buttonWidth:"width",buttonHeight:"height",buttonTemplate:"template"},_=l.inherit({_supportedKeys:function(){var e={};return this.option("opened")&&this._list.option("focusedElement")||(e=this._button._supportedKeys()),a(this.callBase(),e,{tab:function(){this._popup&&this._popup.hide()}})},_getDefaultOptions:function(){return a(this.callBase(),{items:[],onItemClick:null,dataSource:null,itemTemplate:"item",buttonText:"",buttonIcon:"overflow",buttonWidth:void 0,buttonHeight:void 0,buttonTemplate:"content",onButtonClick:null,usePopover:!1,popupWidth:"auto",popupHeight:"auto",activeStateEnabled:!0,hoverStateEnabled:!0,opened:!1,selectionMode:"none",selectedItemKeys:[],deferRendering:!1,popupPosition:{my:"top center",at:"bottom center",collision:"fit flip",offset:{v:1}},popupAnimation:void 0,onItemRendered:null,menuWidget:h,popupMaxHeight:void 0,closeOnClick:!0,useInkRipple:!1,container:void 0,popupAutoResizeEnabled:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{usePopover:!0}},{device:{platform:"generic"},options:{popupPosition:{offset:{v:4}}}},{device:function(){return"desktop"===o.real().deviceType&&!o.isSimulator()},options:{focusStateEnabled:!0}},{device:{platform:"android"},options:{popupPosition:{my:"top "+(this.option("rtlEnabled")?"left":"right"),at:"top "+(this.option("rtlEnabled")?"left":"right"),collision:"flipfit"},popupAnimation:{show:{type:"pop",duration:200,from:{scale:0},to:{scale:1}},hide:{type:"pop",duration:200,from:{scale:1},to:{scale:0}}}}},{device:function(){return p.isMaterial()},options:{useInkRipple:!0}}])},_initOptions:function(e){"android"===o.current().platform&&(e.popupPosition||(e.popupPosition={at:(e.usePopover?"bottom ":"top ")+(e.rtlEnabled?"left":"right")})),this.callBase(e)},_dataSourceOptions:function(){return{paginate:!1}},_init:function(){this.callBase(),this.$element().addClass("dx-dropdownmenu"),this._initDataSource(),this._initItemClickAction(),this._initButtonClickAction()},_initItemClickAction:function(){this._itemClickAction=this._createActionByOption("onItemClick")},_initButtonClickAction:function(){this._buttonClickAction=this._createActionByOption("onButtonClick")},_initTemplates:function(){this.callBase(),this._defaultTemplates.content=new f("content")},_initMarkup:function(){this._renderButton(),this.callBase()},_render:function(){this.callBase(),this.setAria({role:"menubar",haspopup:!0,expanded:this.option("opened")})},_renderContentImpl:function(){this.option("opened")&&this._renderPopup()},_clean:function(){this._cleanFocusState(),this._popup&&(this._popup.$element().remove(),delete this._$popup)},_renderButton:function(){var e=this.$element().addClass("dx-dropdownmenu-button"),t=this._buttonOptions();this._button=this._createComponent(e,c,t)},_toggleActiveState:function(e,t,n){this._button._toggleActiveState(e,t,n)},_buttonOptions:function(){return{text:this.option("buttonText"),icon:this.option("buttonIcon"),width:this.option("buttonWidth"),height:this.option("buttonHeight"),useInkRipple:this.option("useInkRipple"),template:this.option("buttonTemplate"),focusStateEnabled:!1,onClick:(function(e){this.option("opened",!this.option("opened")),this._buttonClickAction(e)}).bind(this)}},_toggleMenuVisibility:function(e){var t=void 0===e?!this._popup.option("visible"):e;e&&this._renderPopup(),this._popup.toggle(t),this.setAria("expanded",t)},_renderPopup:function(){if(!this._$popup){var e=this._$popup=i("<div>").appendTo(this.$element()),t=this._popupOptions();this._popup=this._createComponent(e,u,t)}},_popupOptions:function(){var e=!this.option("usePopover");return{onInitialized:function(t){t.component._wrapper().addClass("dx-dropdownmenu-popup-wrapper").toggleClass("dx-dropdownmenu-popup",e)},visible:this.option("opened"),deferRendering:!1,contentTemplate:(function(e){this._renderList(e)}).bind(this),position:this.option("popupPosition"),animation:this.option("popupAnimation"),onOptionChanged:(function(e){"visible"===e.name&&this.option("opened",e.value)}).bind(this),target:this.$element(),height:this.option("popupHeight"),width:this.option("popupWidth"),maxHeight:this.option("popupMaxHeight"),container:this.option("container"),autoResizeEnabled:this.option("popupAutoResizeEnabled")}},_renderList:function(e){var t=i(e),n=this._listOptions();t.addClass("dx-dropdownmenu-list"),this._list=this._createComponent(t,this.option("menuWidget"),n),this._list._getAriaTarget=(function(){return this.$element()}).bind(this),this._setListDataSource();var o=.5*i(r).height();t.height()>o&&t.height(o)},_listOptions:function(){return{_keyboardProcessor:this._listProcessor,pageLoadMode:"scrollBottom",indicateLoading:!1,noDataText:"",selectionMode:this.option("selectionMode"),selectedItemKeys:this.option("selectedItemKeys"),itemTemplate:this.option("itemTemplate"),onItemClick:(function(e){this.option("closeOnClick")&&this.option("opened",!1),this._itemClickAction(e)}).bind(this),tabIndex:-1,focusStateEnabled:this.option("focusStateEnabled"),activeStateEnabled:this.option("activeStateEnabled"),onItemRendered:this.option("onItemRendered"),_itemAttributes:{role:"menuitem"}}},_setListDataSource:function(){this._list&&this._list.option("dataSource",this._dataSource||this.option("items")),delete this._deferRendering},_attachKeyboardEvents:function(){this.callBase.apply(this,arguments),this._listProcessor=this._keyboardProcessor&&this._keyboardProcessor.attachChildProcessor(),this._list&&this._list.option("_keyboardProcessor",this._listProcessor)},_cleanFocusState:function(){this.callBase.apply(this,arguments),delete this._listProcessor},_toggleVisibility:function(e){this.callBase(e),this._button.option("visible",e)},_optionChanged:function(e){var t=e.name,n=e.value;switch(t){case"items":case"dataSource":this.option("deferRendering")&&!this.option("opened")?this._deferRendering=!0:(this._refreshDataSource(),this._setListDataSource());break;case"itemTemplate":this._list&&this._list.option(t,this._getTemplate(n));break;case"onItemClick":this._initItemClickAction();break;case"onButtonClick":this._buttonClickAction();break;case"buttonIcon":case"buttonText":case"buttonWidth":case"buttonHeight":case"buttonTemplate":this._button.option(g[t],n),this._renderPopup();break;case"popupWidth":case"popupHeight":case"popupMaxHeight":case"popupAutoResizeEnabled":this._popup.option(m[t],n);break;case"usePopover":case"menuWidget":case"useInkRipple":this._invalidate();break;case"focusStateEnabled":case"activeStateEnabled":this._list&&this._list.option(t,n),this.callBase(e);break;case"selectionMode":case"selectedItemKeys":case"onItemRendered":this._list&&this._list.option(t,n);break;case"opened":this._deferRendering&&(this._refreshDataSource(),this._setListDataSource()),this._toggleMenuVisibility(n);break;case"deferRendering":case"popupPosition":case"closeOnClick":break;case"container":this._popup&&this._popup.option(e.name,e.value);break;default:this.callBase(e)}},open:function(){this.option("opened",!0)},close:function(){this.option("opened",!1)}}).include(d);s("dxDropDownMenu",_),e.exports=_},"O/ux":function(e,t,n){"use strict";var i=r(n("cYys"));
1function r(e){return e&&e.__esModule?e:{default:e}}var o=r(n("5qrJ")).default.inherit({ctor:function(e,t){var n=this;this.editor=e,this.validator=t,this.validationRequestsCallbacks=(0,i.default)();var r=function(e){n.validationRequestsCallbacks.fire(e)};e.validationRequest.add(r),e.on("disposing",(function(){e.validationRequest.remove(r)}))},getValue:function(){return this.editor.option("value")},getCurrentValidationError:function(){return this.editor.option("validationError")},bypass:function(){return this.editor.option("disabled")},applyValidationResults:function(e){this.editor.option({validationErrors:e.brokenRules,validationStatus:e.status})},reset:function(){this.editor.reset()},focus:function(){this.editor.focus()}});e.exports=o},OIYi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},OZWN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ti0F");t.default={toXml:function(e,t,n){var r=["<",e];for(var o in t){var s=t[o];(0,i.isDefined)(s)&&r.push(" ",o,'="',s,'"')}return(0,i.isDefined)(n)&&""!==n?r.push(">",n,"</",e,">"):r.push(" />"),r.join("")}}},OaJ3:function(e,t,n){"use strict";var i=n("XpgS").inArray,r=n("cGv3"),o=r.hasWindow()?r.getWindow().WeakMap:WeakMap;o||(o=function(){var e=[],t=[];this.set=function(n,r){var o=i(n,e);-1===o?(e.push(n),t.push(r)):t[o]=r},this.get=function(n){var r=i(n,e);if(-1!==r)return t[r]},this.has=function(t){return-1!==i(t,e)},this.delete=function(n){var r=i(n,e);-1!==r&&(e.splice(r,1),t.splice(r,1))}}),e.exports=o},Oaa7:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OdII:function(e,t,n){"use strict";var i=n("+12O").DataSource,r=n("1LL4").extend,o=n("+12O").normalizeDataSourceOptions;e.exports={postCtor:function(){this.on("disposing",(function(){this._disposeDataSource()}).bind(this))},_refreshDataSource:function(){this._initDataSource(),this._loadDataSource()},_initDataSource:function(){var e,t,n="_getSpecificDataSourceOption"in this?this._getSpecificDataSourceOption():this.option("dataSource");this._disposeDataSource(),n&&(n instanceof i?(this._isSharedDataSource=!0,this._dataSource=n):(e="_dataSourceOptions"in this?this._dataSourceOptions():{},t=this._dataSourceType?this._dataSourceType():i,n=o(n,{fromUrlLoadMode:"_dataSourceFromUrlLoadMode"in this&&this._dataSourceFromUrlLoadMode()}),this._dataSource=new t(r(!0,{},e,n))),"_normalizeDataSource"in this&&(this._dataSource=this._normalizeDataSource(this._dataSource)),this._addDataSourceHandlers())},_addDataSourceHandlers:function(){"_dataSourceChangedHandler"in this&&this._addDataSourceChangeHandler(),"_dataSourceLoadErrorHandler"in this&&this._addDataSourceLoadErrorHandler(),"_dataSourceLoadingChangedHandler"in this&&this._addDataSourceLoadingChangedHandler(),this._addReadyWatcher()},_addReadyWatcher:function(){this._dataSource.on("loadingChanged",(function(e){this._ready&&this._ready(!e)}).bind(this))},_addDataSourceChangeHandler:function(){var e=this._dataSource;this._proxiedDataSourceChangedHandler=(function(t){this._dataSourceChangedHandler(e.items(),t)}).bind(this),e.on("changed",this._proxiedDataSourceChangedHandler)},_addDataSourceLoadErrorHandler:function(){this._proxiedDataSourceLoadErrorHandler=this._dataSourceLoadErrorHandler.bind(this),this._dataSource.on("loadError",this._proxiedDataSourceLoadErrorHandler)},_addDataSourceLoadingChangedHandler:function(){this._proxiedDataSourceLoadingChangedHandler=this._dataSourceLoadingChangedHandler.bind(this),this._dataSource.on("loadingChanged",this._proxiedDataSourceLoadingChangedHandler)}
1,_loadDataSource:function(){if(this._dataSource){var e=this._dataSource;e.isLoaded()?this._proxiedDataSourceChangedHandler&&this._proxiedDataSourceChangedHandler():e.load()}},_loadSingle:function(e,t){return e="this"===e?this._dataSource.key()||"this":e,this._dataSource.loadSingle(e,t)},_isLastPage:function(){return!this._dataSource||this._dataSource.isLastPage()||!this._dataSource._pageSize},_isDataSourceLoading:function(){return this._dataSource&&this._dataSource.isLoading()},_disposeDataSource:function(){this._dataSource&&(this._isSharedDataSource?(delete this._isSharedDataSource,this._proxiedDataSourceChangedHandler&&this._dataSource.off("changed",this._proxiedDataSourceChangedHandler),this._proxiedDataSourceLoadErrorHandler&&this._dataSource.off("loadError",this._proxiedDataSourceLoadErrorHandler),this._proxiedDataSourceLoadingChangedHandler&&this._dataSource.off("loadingChanged",this._proxiedDataSourceLoadingChangedHandler)):this._dataSource.dispose(),delete this._dataSource,delete this._proxiedDataSourceChangedHandler,delete this._proxiedDataSourceLoadErrorHandler,delete this._proxiedDataSourceLoadingChangedHandler)},getDataSource:function(){return this._dataSource||null}}},OjkT:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Ovs1:function(e,t,n){"use strict";var i=d(n("FKN7")),r=d(n("jeLr")),o=d(n("JDOJ")),s=n("KAnu"),a=n("zl3R"),l=d(n("LdFP")),c=d(n("5qrJ")),u=d(n("Ait/"));
1function d(e){return e&&e.__esModule?e:{default:e}}var h=c.default.inherit({ctor:function(e){this._init(e)},_init:function(e){this._component=e,this._$element=e.$element(),this._$container=e._$container,this._$content=e._$content,this._direction=e.option("direction"),this._useSimulatedScrollbar=e.option("useSimulatedScrollbar"),this._showScrollbar=e.option("showScrollbar"),this.option=e.option.bind(e),this._createActionByOption=e._createActionByOption.bind(e),this._isLocked=e._isLocked.bind(e),this._isDirection=e._isDirection.bind(e),this._allowedDirection=e._allowedDirection.bind(e)},render:function(){this._renderPushBackOffset();var e=l.default.real().platform;this._$element.addClass("dx-scrollable-native").addClass("dx-scrollable-native-"+e).toggleClass("dx-scrollable-scrollbars-hidden",!this._showScrollbar),this._showScrollbar&&this._useSimulatedScrollbar&&this._renderScrollbars()},updateBounds:s.noop,_renderPushBackOffset:function(){var e=this.option("pushBackValue");(e||this._component._lastPushBackValue)&&(this._$content.css({paddingTop:e,paddingBottom:e}),this._component._lastPushBackValue=e)},_renderScrollbars:function(){this._scrollbars={},this._hideScrollbarTimeout=0,this._$element.addClass("dx-scrollable-scrollbar-simulated"),this._renderScrollbar("vertical"),this._renderScrollbar("horizontal")},_renderScrollbar:function(e){this._isDirection(e)&&(this._scrollbars[e]=new u.default((0,i.default)("<div>").appendTo(this._$element),{direction:e,expandable:this._component.option("scrollByThumb")}))},handleInit:s.noop,handleStart:function(){this._disablePushBack=!0},handleMove:function(e){this._isLocked()?e.cancel=!0:this._allowedDirection()&&(e.originalEvent.isScrollingEvent=!0)},handleEnd:function(){this._disablePushBack=!1},handleCancel:s.noop,handleStop:s.noop,_eachScrollbar:function(e){e=e.bind(this),(0,a.each)(this._scrollbars||{},(function(t,n){e(n,t)}))},createActions:function(){this._scrollAction=this._createActionByOption("onScroll"),this._updateAction=this._createActionByOption("onUpdated")},_createActionArgs:function(){var e=this.location(),t=this._$container.get(0);return{event:this._eventForUserAction,scrollOffset:{top:-e.top,left:-e.left},reachedLeft:this._isDirection("horizontal")?e.left>=0:void 0,reachedRight:this._isDirection("horizontal")?Math.abs(e.left)>=t.scrollWidth-t.clientWidth:void 0,reachedTop:this._isDirection("vertical")?e.top>=0:void 0,reachedBottom:this._isDirection("vertical")?Math.abs(e.top)>=t.scrollHeight-t.clientHeight-2*this.option("pushBackValue"):void 0}},handleScroll:function(e){this._isScrollLocationChanged()?(this._eventForUserAction=e,this._moveScrollbars(),this._scrollAction(this._createActionArgs()),this._lastLocation=this.location(),this._pushBackFromBoundary()):e.stopImmediatePropagation()},_pushBackFromBoundary:function(){var e=this.option("pushBackValue");if(e&&!this._disablePushBack){var t=this._containerSize.height-this._contentSize.height,n=this._$container.scrollTop();n?t+n-2*e||this._$container.scrollTop(e-t):this._$container.scrollTop(e)}},_isScrollLocationChanged:function(){var e=this.location(),t=this._lastLocation||{};return t.top!==e.top||t.left!==e.left},_moveScrollbars:function(){this._eachScrollbar((function(e){e.moveTo(this.location()),e.option("visible",!0)})),this._hideScrollbars()},_hideScrollbars:function(){clearTimeout(this._hideScrollbarTimeout),this._hideScrollbarTimeout=setTimeout((function(){this._eachScrollbar((function(e){e.option("visible",!1)}))}).bind(this),500)},location:function(){return{left:-this._$container.scrollLeft(),top:this.option("pushBackValue")-this._$container.scrollTop()}},disabledChanged:s.noop,update:function(){this._update(),this._updateAction(this._createActionArgs())},_update:function(){this._updateDimensions(),this._updateScrollbars()},_updateDimensions:function(){this._containerSize={height:this._$container.height(),width:this._$container.width()},this._componentContentSize={height:this._component.$content().height(),width:this._component.$content().width()},this._contentSize={height:this._$content.height(),width:this._$content.width()},this._pushBackFromBoundary()},_updateScrollbars:function(){this._eachScrollbar((function(e,t){var n="vertical"===t?"height":"width";
1e.option({containerSize:this._containerSize[n],contentSize:this._componentContentSize[n]}),e.update()}))},_allowedDirections:function(){return{vertical:this._isDirection("vertical")&&this._contentSize.height>this._containerSize.height,horizontal:this._isDirection("horizontal")&&this._contentSize.width>this._containerSize.width}},dispose:function(){var e=this._$element.get(0).className,t=new RegExp("dx-scrollable-native\\S*","g");t.test(e)&&this._$element.removeClass(e.match(t).join(" ")),r.default.off(this._$element,".dxNativeScrollable"),r.default.off(this._$container,".dxNativeScrollable"),this._removeScrollbars(),clearTimeout(this._hideScrollbarTimeout)},_removeScrollbars:function(){this._eachScrollbar((function(e){e.$element().remove()}))},scrollBy:function(e){var t=this.location();this._$container.scrollTop(Math.round(-t.top-e.top+this.option("pushBackValue"))),this._$container.scrollLeft(Math.round(-t.left-e.left))},validate:function(e){return!(this.option("disabled")||o.default.isDxMouseWheelEvent(e)&&this._isScrolledInMaxDirection(e)||!this._allowedDirection())},_isScrolledInMaxDirection:function(e){var t=this._$container.get(0);return e.delta>0?e.shiftKey?!t.scrollLeft:!t.scrollTop:e.shiftKey?t.clientWidth+t.scrollLeft>=t.scrollWidth:t.clientHeight+t.scrollTop>=t.scrollHeight},getDirection:function(){return this._allowedDirection()},verticalOffset:function(){return this.option("pushBackValue")}});e.exports=h},Oxv6:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>
1=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function s(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?r+(o(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(o(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(o(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(o(e)?"dny":"dn\xed"):r+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?r+(o(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(o(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PANA:function(e,t,n){"use strict";var i=n("cHJt"),r=n("1LL4").extend,o=n("Bw5F"),s=i.inherit({NAME:"actionSheet",_getMenuItemTemplate:function(){return this._toolbar._getTemplate("actionSheetItem")},render:function(){this._hasVisibleMenuItems()&&this.callBase()},_menuWidgetClass:function(){return o},_menuContainer:function(){return this._toolbar.$element()},_widgetOptions:function(){return r({},this.callBase(),{target:this._$button,showTitle:!1})},_menuButtonOptions:function(){return r({},this.callBase(),{icon:"overflow"})},_toggleMenu:function(){this.callBase.apply(this,arguments),this._menu.toggle(this._menuShown),this._menuShown=!1}});e.exports=s},PB16:function(e,t,n){"use strict";var i=n("FKN7"),r=n("KAnu"),o=n("ti0F"),s=o.isDefined,a=o.isPromise,l=n("1LL4").extend,c=n("XpgS").inArray,u=n("zl3R").each,d=n("tJvG"),h=n("v4HY").getPublicElement,p=d.Deferred,f=n("/7L9"),m=n("tUd6"),g=n("yUp2"),_=n("imRD"),b=n("D6VQ"),v=n("8kKR").inherit({_supportedKeys:function(){var e=this,t=this.callBase(),n=function(e){this._isEditable()?this._valueSubstituted()&&(this._preventFiltering=!0):this.option("showClearButton")&&(e.preventDefault(),this.reset()),this._preventSubstitution=!0},i=function(){e.option("searchEnabled")&&e._valueSubstituted()&&e._searchHandler()};return l({},t,{tab:function(){this.option("opened")&&"instantly"===this.option("applyValueMode")&&this._cleanInputSelection(),this._wasSearch()&&this._clearFilter(),t.tab&&t.tab.apply(this,arguments)},upArrow:function(e){if(t.upArrow&&t.upArrow.apply(this,arguments))return this.option("opened")||this._setNextValue(e),!0},downArrow:function(e){if(t.downArrow&&t.downArrow.apply(this,arguments))return this.option("opened")||this._setNextValue(e),!0},leftArrow:function(){i(),t.leftArrow&&t.leftArrow.apply(this,arguments)},rightArrow:function(){i(),t.rightArrow&&t.rightArrow.apply(this,arguments)},home:function(){i(),t.home&&t.home.apply(this,arguments)},end:function(){i(),t.end&&t.end.apply(this,arguments)},escape:function(){var e=t.escape&&t.escape.apply(this,arguments);return this._cancelEditing(),!s(e)||e},enter:function(e){var n=this.option("opened"),i=this._input().val().trim(),r
1=i&&this._list&&!this._list.option("focusedElement");if(!i&&this.option("value")&&this.option("allowClearing"))this.option({selectedItem:null,value:null}),this.close();else{if(this.option("acceptCustomValue"))return e.preventDefault(),r&&(this._valueChangeEventHandler(e),n&&this._toggleOpenState()),n;if(t.enter&&t.enter.apply(this,arguments))return n}},space:function(e){var t=this.option("opened"),n=this.option("searchEnabled"),i=this.option("acceptCustomValue");if(t&&!n&&!i)return e.preventDefault(),this._valueChangeEventHandler(e),!0},backspace:n,del:n})},_getDefaultOptions:function(){return l(this.callBase(),{placeholder:_.format("Select"),fieldTemplate:null,valueChangeEvent:"change",acceptCustomValue:!1,onCustomItemCreating:function(e){s(e.customItem)||(e.customItem=e.text)},showSelectionControls:!1,autocompletionEnabled:!0,allowClearing:!0,tooltipEnabled:!1,openOnFieldClick:!0,showDropDownButton:!0,displayCustomValue:!1,_isAdaptablePopupPosition:!1,useInkRipple:!1,useHiddenSubmitElement:!0})},_init:function(){this.callBase(),this._initCustomItemCreatingAction()},_initMarkup:function(){this.$element().addClass("dx-selectbox"),this._renderTooltip(),this.option("useInkRipple")&&this._renderInkRipple(),this.callBase(),this._$container.addClass("dx-selectbox-container")},_renderInkRipple:function(){this._inkRipple=g.render()},_toggleActiveState:function(e,t,n){if(this.callBase.apply(this,arguments),this._inkRipple&&!this._isEditable()){var i={element:this._inputWrapper(),event:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}},_createPopup:function(){this.callBase(),this._popup.$element().addClass("dx-selectbox-popup")},_popupWrapperClass:function(){return this.callBase()+" dx-selectbox-popup-wrapper"},_cancelEditing:function(){!this.option("searchEnabled")&&this._list&&(this._focusListElement(null),this._updateField(this.option("selectedItem")))},_renderOpenedState:function(){this.callBase(),this.option("opened")&&(this._scrollToSelectedItem(),this._focusSelectedElement())},_focusSelectedElement:function(){if(this._searchValue()){var e=this._list._itemElements(),t=c(this.option("selectedItem"),this.option("items")),n=t>=0&&!this._isCustomItemSelected()?e.eq(t):null;this._focusListElement(n)}else this._focusListElement(null)},_renderFocusedElement:function(){if(this._list)if(this._searchValue()&&!this.option("acceptCustomValue")){var e=this._list._itemElements().not(".dx-state-disabled").eq(0);this._focusListElement(e)}else this._focusListElement(null)},_focusListElement:function(e){this._preventInputValueRender=!0,this._list.option("focusedElement",h(e)),delete this._preventInputValueRender},_scrollToSelectedItem:function(){this._list&&this._list.scrollToItem(this._list.option("selectedItem"))},_listContentReadyHandler:function(){this.callBase(),this._dataSource&&this._dataSource.paginate()&&this._needPopupRepaint()||this._scrollToSelectedItem()},_renderValue:function(){return this._renderInputValue(),this._setSubmitValue(),(new p).resolve()},_renderInputValue:function(){return this.callBase().always((function(){this._renderInputValueAsync()}).bind(this))},_renderInputValueAsync:function(){this._renderTooltip(),this._renderInputValueImpl().always((function(){this._refreshSelected()}).bind(this))},_renderInputValueImpl:function(){return this._renderField(),(new p).resolve()},_setNextItem:function(e){var t=this._calcNextItem(e),n=this._valueGetter(t);this._setValue(n)},_setNextValue:function(e){(this._dataSource.isLoaded()?(new p).resolve():this._dataSource.load()).done((function(){var t=this._getSelectedIndex(),n=this._dataSource.pageSize(),i=this._dataSource.isLastPage(),r=t===this._items().length-1;this._saveValueChangeEvent(e);var o="ArrowDown"===e.key?1:-1;n&&!i&&r&&o>0?(this._popup||this._createPopup(),this._dataSource.isLoading()||this._list._loadNextPage().done(this._setNextItem.bind(this,o))):this._setNextItem(o)}).bind(this))},_setSelectedItem:function(e){var t=!this._isCustomValueAllowed()&&void 0===e;this.callBase(t?null:e),t||this._isEditable()&&!this._isCustomItemSelected()||this._setListOption("selectedItem",this.option("selectedItem"))},_isCustomValueAllowed:function(){return this.option("acceptCustomValue")||this.callBase()},_displayValue:function(e){return e=!s(e)&&this._isCustomValueAllowed()?this.option("value"):e,this.callBase(e)},_listConfig:function(){var e=l(this.callBase(),{pageLoadMode:"scrollBottom",onSelectionChanged:this._getSelectionChangeHandler(),selectedItem:this.option("selectedItem"),onFocusedItemChanged:this._listFocusedItemChangeHandler.bind(this)});return this.option("showSelectionControls")&&l(e,{showSelectionControls:!0,selectionByClick:!0}),e},_listFocusedItemChangeHandler:function(e){if(!this._preventInputValueRender){var t=e.component,n=i(t.option("focusedElement")),r=t._getItemData(n);this._updateField(r)}
1},_updateField:function(e){this._getTemplateByOption("fieldTemplate")&&this.option("fieldTemplate")?this._renderField():this._renderDisplayText(this._displayGetter(e))},_getSelectionChangeHandler:function(){return this.option("showSelectionControls")?this._selectionChangeHandler.bind(this):r.noop},_selectionChangeHandler:function(e){u(e.addedItems||[],(function(e,t){this._setValue(this._valueGetter(t))}).bind(this))},_getActualSearchValue:function(){return this._dataSource.searchValue()},_toggleOpenState:function(e){if(!this.option("disabled")){if((e=arguments.length?e:!this.option("opened"))||this._restoreInputText(!0),this._wasSearch()&&e){this._wasSearch(!1);var t=this.option("showDataBeforeSearch")||0===this.option("minSearchLength");if(t&&this._dataSource){if(this._searchTimer)return;var n=this._getActualSearchValue();n&&this._wasSearch(!0),this._filterDataSource(n||null)}else this._setListOption("items",[])}e&&this._scrollToSelectedItem(),this.callBase(e)}},_renderTooltip:function(){this.option("tooltipEnabled")&&this.$element().attr("title",this.option("displayValue"))},_renderDimensions:function(){this.callBase(),this._setPopupOption("width")},_isValueEqualInputText:function(){var e=this.option("selectedItem"),t=this._displayGetter(e);return(t?String(t):"")===this._searchValue()},_popupHidingHandler:function(){this._isValueEqualInputText()&&this._cancelEditing(),this.callBase()},_restoreInputText:function(e){this.option("readOnly")||this._loadItemDeferred&&this._loadItemDeferred.always((function(){var t=this.option("selectedItem");this.option("acceptCustomValue")?e||(this._updateField(t),this._clearFilter()):this.option("searchEnabled")&&!this._searchValue()&&this.option("allowClearing")?this._clearTextValue():this._isValueEqualInputText()||this._renderInputValue().always((function(e){var n=r.ensureDefined(e,t);this._setSelectedItem(n),this._updateField(n),this._clearFilter()}).bind(this))}).bind(this))},_focusOutHandler:function(e){this._preventNestedFocusEvent(e)||(this._clearSearchTimer(),this._restoreInputText(),this._wasSearch()&&!this.option("acceptCustomValue")&&this.option("searchEnabled")&&this.option("opened")&&!this._isOverlayNestedTarget(e.relatedTarget)&&this._searchCanceled()),this.callBase(e)},_isOverlayNestedTarget:function(e){return!!i(e).closest(".".concat("dx-selectbox-popup-wrapper")).length},_clearTextValue:function(){this.option("selectedItem")&&this.option("value",null)},_shouldOpenPopup:function(){return this._needPassDataSourceToList()},_isFocused:function(){var e=m.getActiveElement();return this.callBase()&&i(e).closest(this._input()).length>0},_renderValueChangeEvent:function(){this._isEditable()&&this.callBase()},_isEditable:function(){return this.option("acceptCustomValue")||this.option("searchEnabled")},_fieldRenderData:function(){var e=this._list&&this.option("opened")&&i(this._list.option("focusedElement"));return e&&e.length?this._list._getItemData(e):this.option("selectedItem")},_readOnlyPropValue:function(){return!this._isEditable()||this.option("readOnly")},_isSelectedValue:function(e){return this._isValueEquals(e,this.option("value"))},_shouldCloseOnItemClick:function(){return!(this.option("showSelectionControls")&&"single"!==this.option("selectionMode"))},_listItemClickHandler:function(e){var t=this._getCurrentValue();this._focusListElement(i(e.itemElement)),this._saveValueChangeEvent(e.event),this._shouldClearFilter()&&this._clearFilter(),this._completeSelection(this._valueGetter(e.itemData)),this._shouldCloseOnItemClick()&&this.option("opened",!1),this.option("searchEnabled")&&t===this._valueGetter(e.itemData)&&this._updateField(e.itemData)},_shouldClearFilter:function(){return this._wasSearch()},_completeSelection:function(e){this._setValue(e)},_loadItem:function(e,t){var n=this,i=new p;return this.callBase(e,t).done((function(e){i.resolve(e)}).bind(this)).fail((function(){var t=n.option("selectedItem");n.option("acceptCustomValue")&&e===n._valueGetter(t)?i.resolve(t):i.reject()}).bind(this)),i.promise()},_loadInputValue:function(e,t){return this._loadItemDeferred=this._loadItem(e).always(t),this._loadItemDeferred},_isCustomItemSelected:function(){var e=this.option("selectedItem"),t=this._searchValue(),n=this._displayGetter(e);return!n||t!==n.toString()},_valueChangeEventHandler:function(e){this.option("acceptCustomValue")&&this._isCustomItemSelected()&&this._customItemAddedHandler(e)}
1,_initCustomItemCreatingAction:function(){this._customItemCreatingAction=this._createActionByOption("onCustomItemCreating")},_createCustomItem:function(e){var t={text:e},n=this._customItemCreatingAction(t),i=r.ensureDefined(n,t.customItem);return s(n)&&f.log("W0015","onCustomItemCreating","customItem"),i},_customItemAddedHandler:function(e){var t=this._searchValue(),n=this._createCustomItem(t);if(this._saveValueChangeEvent(e),void 0===n)throw this._renderValue(),f.Error("E0121");a(n)?d.fromPromise(n).done(this._setCustomItem.bind(this)).fail(this._setCustomItem.bind(this,null)):this._setCustomItem(n)},_setCustomItem:function(e){this._disposed||(this.option("selectedItem",e=e||null),this._shouldClearFilter()&&this._filterDataSource(null),this._setValue(this._valueGetter(e)),this._renderDisplayText(this._displayGetter(e)))},_clearValueHandler:function(e){return this.callBase(e),!1},_wasSearch:function(e){if(!arguments.length)return this._wasSearchValue;this._wasSearchValue=e},_searchHandler:function(e){this._preventFiltering?delete this._preventFiltering:(this._needPassDataSourceToList()&&this._wasSearch(!0),this.callBase(e))},_dataSourceFiltered:function(e){this.callBase(),null!==e&&(this._renderInputSubstitution(),this._renderFocusedElement())},_valueSubstituted:function(){var e=this._input().get(0),t=0===e.selectionStart&&e.selectionEnd===this._searchValue().length,n=e.selectionStart!==e.selectionEnd;return this._wasSearch()&&n&&!t},_shouldSubstitutionBeRendered:function(){return this.option("autocompletionEnabled")&&!this._preventSubstitution&&this.option("searchEnabled")&&!this.option("acceptCustomValue")&&"startswith"===this.option("searchMode")},_renderInputSubstitution:function(){if(this._shouldSubstitutionBeRendered()){var e=this._list&&this._getPlainItems(this._list.option("items"))[0];if(e){var t=this._input(),n=t.val().length;if(0!==n){var i=t.get(0),r=this._displayGetter(e).toString();i.value=r,this._caret({start:n,end:r.length})}}}else delete this._preventSubstitution},_cleanInputSelection:function(){var e=this._input().get(0),t=e.value.length;e.selectionStart=t,e.selectionEnd=t},_dispose:function(){this._renderInputValueAsync=r.noop,delete this._loadItemDeferred,this.callBase()},_optionChanged:function(e){switch(e.name){case"_isAdaptablePopupPosition":case"autocompletionEnabled":break;case"onCustomItemCreating":this._initCustomItemCreatingAction();break;case"tooltipEnabled":this._renderTooltip();break;case"displayCustomValue":case"acceptCustomValue":case"showSelectionControls":case"useInkRipple":this._invalidate();break;case"allowClearing":break;default:this.callBase(e)}},_clean:function(){delete this._inkRipple,this.callBase()}});b("dxSelectBox",v),e.exports=v,e.exports.default=e.exports},PDX0:function(e,t){(function(t){e.exports=t}).call(this,{})},PE2r:function(e,t,n){"use strict";e.exports="19.2.8"},PHz1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n("Kkrk");function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return s(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var e=this,t=this.data.match(/.{2}/g).map((function(t){return e.encodePair(t)})).join("");
1return{data:o.START_BIN+t+o.END_BIN,text:this.text}}},{key:"encodePair",value:function(e){var t=o.BINARIES[e[1]];return o.BINARIES[e[0]].split("").map((function(e,n){return("1"===e?"111":"1")+("1"===t[n]?"000":"0")})).join("")}}]),t}(((i=n("52Lf"))&&i.__esModule?i:{default:i}).default);t.default=l},PJOh:function(e,t,n){"use strict";var i=f(n("5qrJ")),r=n("cGv3"),o=n("ti0F"),s=n("1LL4"),a=f(n("D8Ap")),l=f(n("TssP")),c=f(n("xOOu")),u=f(n("xud5")),d=f(n("3NFn")),h=f(n("FlNM")),p=n("tJvG");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var g='<?xml version="1.0" encoding="utf-8"?>',_="http://schemas.openxmlformats.org",b={boolean:"b",date:"d",number:"n",string:"s"},v=Date.UTC(1899,11,30),y={quarter:"shortDate",quarterAndYear:"shortDate",minute:"longTime",millisecond:"longTime"},w=i.default.inherit({_getXMLTag:function(e,t,n){var i,r,s="<"+e,a=t.length;for(i=0;i<a;i++)void 0!==(r=t[i]).value&&(s=s+" "+r.name+'="'+r.value+'"');return(0,o.isDefined)(n)?s+">"+n+"</"+e+">":s+" />"},_convertToExcelCellRef:function(e,t){for(var n,i,r="";!i;)n=65+(t>=26?t%26:Math.ceil(t)),r=String.fromCharCode(n)+r,t>=26?t=Math.floor(t/26)-1:i=!0;return r+(e+1)},_convertToExcelCellRefAndTrackMaxIndex:function(e,t){return this._maxRowIndex<Number(e)&&(this._maxRowIndex=Number(e)),this._maxColumnIndex<Number(t)&&(this._maxColumnIndex=Number(t)),this._convertToExcelCellRef(e,t)},_getDataType:function(e){return b[e]||b.string},_tryGetExcelCellDataType:function(e){if((0,o.isDefined)(e)){if("number"==typeof e)return isFinite(e)?b.number:b.string;if((0,o.isString)(e))return b.string;if((0,o.isDate)(e))return b.number;if((0,o.isBoolean)(e))return b.boolean}},_formatObjectConverter:function(e,t){var n={format:e,precision:e&&e.precision,dataType:t};return(0,o.isObject)(e)?(0,s.extend)(n,e,{format:e.formatter||e.type,currency:e.currency}):n},_tryConvertToExcelNumberFormat:function(e,t){var n=this._formatObjectConverter(e,t),i=n.currency;return t=n.dataType,(0,o.isDefined)(e=n.format)&&"date"===t&&(e=y[e&&e.type||e]||e),d.default.convertFormat(e,n.precision,t,i)},_appendString:function(e){if((0,o.isDefined)(e)&&(e=String(e)).length)return e=l.default.encodeHtml(e),void 0===this._stringHash[e]&&(this._stringHash[e]=this._stringArray.length,this._stringArray.push(e)),this._stringHash[e]},_tryGetExcelDateValue:function(e){var t;if((0,o.isDate)(e))return(t=Math.floor((Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())-v)/864e5))<60&&t--,t+(3600*e.getHours()+60*e.getMinutes()+e.getSeconds())/86400},_prepareValue:function(e,t){var n,i=this._dataProvider,r=i.getCellData(e,t)||{},s=r.value,a=r.cellSourceData,l=this._getDataType(i.getCellType(e,t));switch(l!==b.date||(0,o.isDate)(s)||(l=b.string),l){case b.string:n=s,s=this._appendString(s);break;case b.date:n=s,s=this._tryGetExcelDateValue(s),l=b.number}return{value:s,type:l,sourceValue:n,cellSourceData:a}},_callCustomizeExcelCell:function(e){var t=e.dataProvider,n=e.value,i=e.sourceData,r=h.default.copyCellFormat(e.style),s={value:n,numberFormat:r.numberFormat,clearStyle:function(){this.horizontalAlignment=null,this.verticalAlignment=null,this.wrapTextEnabled=null,this.font=null,this.numberFormat=null}};(0,o.isDefined)(r)&&((0,o.isDefined)(r.alignment)&&(s.horizontalAlignment=r.alignment.horizontal,s.verticalAlignment=r.alignment.vertical,s.wrapTextEnabled=r.alignment.wrapText),s.backgroundColor=r.backgroundColor,s.fillPatternType=r.fillPatternType,s.fillPatternColor=r.fillPatternColor,s.font=r.font),t.customizeExcelCell(s,i);var a=r||{};return a.font=s.font,a.alignment=a.alignment||{},a.alignment.horizontal=s.horizontalAlignment,a.alignment.vertical=s.verticalAlignment,a.alignment.wrapText=s.wrapTextEnabled,a.backgroundColor=s.backgroundColor,a.fillPatternType=s.fillPatternType,a.fillPatternColor=s.fillPatternColor,a.numberFormat=s.numberFormat,{value:s.value,style:a}},_getDataArray:function(){var e,t,n,i,r,s=[],a=this._dataProvider,l=a.getRowsCount(),c=a.getColumns();for(e=0;e<l;e++){for(n=[],r=c.length,t=0;t!==r;t++){i=this._prepareValue(e,t);var u=a.getStyleId(e,t),d=this._styleArrayIndexToCellStyleIdMap[u];
1if(a.hasCustomizeExcelCell&&a.hasCustomizeExcelCell()){var h=i.sourceValue||i.value,p=this._callCustomizeExcelCell({dataProvider:a,value:h,style:this._styleArray[u],sourceData:i.cellSourceData});if(p.value!==h){if(m(p.value)!==m(h)||"number"==typeof p.value&&!isFinite(p.value)){var f=this._tryGetExcelCellDataType(p.value);(0,o.isDefined)(f)&&(i.type=f)}switch(i.type){case b.string:i.value=this._appendString(p.value);break;case b.date:i.value=p.value;break;case b.number:var g=p.value,_=this._tryGetExcelDateValue(g);(0,o.isDefined)(_)&&(g=_),i.value=g;break;default:i.value=p.value}}d=this._excelFile.registerCellFormat(p.style)}n.push({style:d,value:i.value,type:i.type})}!this._needSheetPr&&a.getGroupLevel(e)>0&&(this._needSheetPr=!0),s.push(n)}return s},_calculateWidth:function(e){return(!(e=parseInt(e,10))||e<5)&&(e=100),Math.min(255,Math.floor((e-5)/7*100+.5)/100)},_prepareStyleData:function(){var e=this,t=this,n=t._dataProvider.getStyles();t._dataProvider.getColumns().forEach((function(e){t._colsArray.push(t._calculateWidth(e.width))}));var i=[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor",bold:!1},{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor",bold:!0}];this._excelFile.registerFont(i[0]),this._excelFile.registerFont(i[1]),n.forEach((function(e){var n=t._tryConvertToExcelNumberFormat(e.format,e.dataType);(0,o.isDefined)(n)||(n=0),t._styleArray.push({font:i[Number(!!e.bold)],numberFormat:n,alignment:{vertical:"top",wrapText:!!e.wrapText,horizontal:e.alignment||"left"}})})),t._styleArrayIndexToCellStyleIdMap=t._styleArray.map((function(t){return e._excelFile.registerCellFormat(t)}))},_prepareCellData:function(){this._cellsArray=this._getDataArray()},_createXMLRelationships:function(e){return this._getXMLTag("Relationships",[{name:"xmlns",value:_+"/package/2006/relationships"}],e)},_createXMLRelationship:function(e,t,n){return this._getXMLTag("Relationship",[{name:"Id",value:"rId"+e},{name:"Type",value:_+"/officeDocument/2006/relationships/"+t},{name:"Target",value:n}])},_getWorkbookContent:function(){return g+this._getXMLTag("workbook",[{name:"xmlns:r",value:_+"/officeDocument/2006/relationships"},{name:"xmlns",value:_+"/spreadsheetml/2006/main"}],'<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>')},_getContentTypesContent:function(){return g+'<Types xmlns="'+_+'/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=this._zip.folder("xl"),t="";t+=this._excelFile.generateNumberFormatsXml(),t+=this._excelFile.generateFontsXml(),t+=this._excelFile.generateFillsXml(),t+='<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>',t+=this._excelFile.generateCellFormatsXml(),t+=this._getXMLTag("cellStyles",[{name:"count",value:1}],this._getXMLTag("cellStyle",[{name:"name",value:"Normal"},{name:"xfId",value:0},{name:"builtinId",value:0}])),t=g+this._getXMLTag("styleSheet",[{name:"xmlns",value:_+"/spreadsheetml/2006/main"}
1],t),e.file("styles.xml",t),this._styleArray=[]},_generateStringsXML:function(){var e,t=this._zip.folder("xl"),n=this._stringArray.length,i=g;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:_+"/spreadsheetml/2006/main"},{name:"count",value:this._stringArray.length},{name:"uniqueCount",value:this._stringArray.length}],this._stringArray.join("")),t.file("sharedStrings.xml",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._convertToExcelCellRefAndTrackMaxIndex(t.y,t.x)}),this._getXMLTag("pane",e)):""},_getAutoFilterXML:function(e){return this._options.autoFilterEnabled?'<autoFilter ref="A'+this._dataProvider.getHeaderRowCount()+":"+e+'" />':""},_getIgnoredErrorsXML:function(e){return this._options.ignoreErrors?'<ignoredErrors><ignoredError sqref="A1:'+e+'" numberStoredAsText="1" /></ignoredErrors>':""},_generateWorksheetXML:function(){var e,t,n,i,r,s=[],a=this._cellsArray.length,l=this._colsArray.length,c="1:"+l,u=this._dataProvider.getHeaderRowCount?this._dataProvider.getHeaderRowCount():1,d=['<?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">'];for(d.push(this._needSheetPr?'<sheetPr><outlinePr summaryBelow="0"/></sheetPr>':"<sheetPr/>"),d.push('<dimension ref="A1:C1"/>'),d.push("<sheetViews><sheetView "),d.push(this._rtlEnabled?'rightToLeft="1" ':""),d.push('tabSelected="1" workbookViewId="0">'),d.push(this._getPaneXML()),d.push("</sheetView></sheetViews>"),d.push('<sheetFormatPr defaultRowHeight="15"'),d.push(' outlineLevelRow="'+(this._dataProvider.getRowsCount()>0?this._dataProvider.getGroupLevel(0):0)+'"'),d.push(' x14ac:dyDescent="0.25"/>'),e=0;e<l;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},{name:"customWidth",value:1}]);for(d.push(this._getXMLTag("cols",[],this._colsArray.join(""))+"<sheetData>"),t=0;t<a;t++){for(i=[],r=this._cellsArray[t].length,e=0;e<r;e++)t=Number(t),n=this._cellsArray[t][e],i.push(this._getXMLTag("c",[{name:"r",value:this._convertToExcelCellRefAndTrackMaxIndex(t,e)},{name:"s",value:n.style},{name:"t",value:n.type}],(0,o.isDefined)(n.value)?this._getXMLTag("v",[],n.value):null));s.push(this._getXMLTag("row",[{name:"r",value:Number(t)+1},{name:"spans",value:c},{name:"outlineLevel",value:t>=u?this._dataProvider.getGroupLevel(t):0},{name:"x14ac:dyDescent",value:"0.25"}],i.join(""))),this._cellsArray[t]=null,s.length>1e4&&(d.push(s.join("")),s=[])}d.push(s.join("")),s=[];var h=this._convertToExcelCellRef(this._maxRowIndex,this._maxColumnIndex);d.push("</sheetData>"+this._getAutoFilterXML(h)+this._generateMergingXML()+this._getIgnoredErrorsXML(h)+"</worksheet>"),this._zip.folder("xl").folder("worksheets").file("sheet1.xml",d.join("")),this._colsArray=[],this._cellsArray=[],d=[]},_generateMergingXML:function(){var e,t,n,i,r,s=(0,o.isDefined)(this._dataProvider.getHeaderRowCount)?this._dataProvider.getHeaderRowCount():this._dataProvider.getRowsCount(),a=this._dataProvider.getColumns().length,l=[],c=[],u="";for(i=0;i<s;i++)for(n=0;n!==a;n++)if(!(0,o.isDefined)(l[i])||!(0,o.isDefined)(l[i][n])){var d=this._dataProvider.getCellMerging(i,n);if(d.colspan||d.rowspan)for(c.push({start:this._convertToExcelCellRefAndTrackMaxIndex(i,n),end:this._convertToExcelCellRefAndTrackMaxIndex(i+(d.rowspan||0),n+(d.colspan||0))}),e=i;e<=i+d.rowspan;e++)for(t=n;t<=n+d.colspan;t++)(0,o.isDefined)(l[e])||(l[e]=[]),l[e][t]=!0}var h=c.length;for(r=0;r<h;r++)u+=this._getXMLTag("mergeCell",[{name:"ref",value:c[r].start+":"+c[r].end}]);return u.length?this._getXMLTag("mergeCells",[{name:"count",value:h}],u):""},_generateCommonXML:function(){var e=g+this._createXMLRelationships(this._createXMLRelationship(1,"officeDocument","xl/workbook.xml")),t=this._zip.folder("xl"),n=g;this._zip.folder("_rels").file(".rels",e);var i=this._createXMLRelationship(1,"worksheet","worksheets/sheet1.xml")+this._createXMLRelationship(2,"styles","styles.xml")+this._createXMLRelationship(3,"sharedStrings","sharedStrings.xml");n+=this._createXMLRelationships(i),t.folder("_rels").file("workbook.xml.rels",n),t.file("workbook.xml",this._getWorkbookContent()),this._zip.file("[Content_Types].xml",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._maxRowIndex=0,this._maxColumnIndex=0,this._stringArray=[],this._stringHash={},this._styleArray=[],this._colsArray=[],this._cellsArray=[],this._needSheetPr=!1,this._dataProvider=e,this._excelFile=new h.default,this._zip=(0,o.isDefined)(w.JSZip)?new w.JSZip:null},_checkZipState:function(){if(!this._zip)throw a.default.Error("E1041","JSZip")},ready:function(){return this._dataProvider.ready()},getData:function(e){var t={type:e?"blob":"base64",compression:"DEFLATE",mimeType:u.default.MIME_TYPES.EXCEL},n=new p.Deferred;return this._checkZipState(),this._generateContent(),this._zip.generateAsync?this._zip.generateAsync(t).then(n.resolve):n.resolve(this._zip.generate(t)),n}});w.JSZip=c.default,t.ExcelCreator=w,t.getData=function(e,n){var i=new t.ExcelCreator(e,n);return i._checkZipState(),i.ready().then((function(){return i.getData((0,o.isFunction)((0,r.getWindow)().Blob))}))}},PKfD:function(e,t,n){"use strict";var i=n("jeLr");t.on=i.on,t.one=i.one,t.off=i.off,t.trigger=i.trigger,t.triggerHandler=i.triggerHandler,t.Event=i.Event},PVOt:function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return M})),n.d(t,"c",(function(){return P})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return F})),n.d(t,"h",(function(){return k})),n.d(t,"i",(function(){return I})),n.d(t,"j",(function(){return b})),n.d(t,"k",(function(){return E}));var i=n("fXoL"),r=n("ofXK"),o=n("jhN1"),s=n("KAnu"),a=n("tUd6"),l=n("PKfD"),
1c=n("FKN7"),u=n.n(c),d=n("3JVz"),h=n("xMpX"),p=n("jeLr"),f=(n("BqN7"),n("tJvG"),n("tk/3"));class m{setHost(e){this.host=e}setTemplate(e){this.host.setTemplate(e)}}class g{constructor(e){this.instance=e,this.subscriptions={},this.events={}}hasEvent(e){return 0!==this.getEmitter(e).observers.length}fireEvent(e,t){let n=this.getEmitter(e);n.observers.length&&n.next(t&&t[0])}on(e,t){let n=this.subscriptions[e]||[],i=this.getEmitter(e).subscribe(t.bind(this.instance)),r=i.unsubscribe.bind(i);n.push({handler:t,unsubscribe:r}),this.subscriptions[e]=n}off(e,t){let n=this.subscriptions[e]||[];t?n.some((e,i)=>{if(e.handler===t)return e.unsubscribe(),n.splice(i,1),!0}):(n.forEach(e=>{e.unsubscribe()}),n.splice(0,n.length))}dispose(){}addEmitter(e,t){this.events[e]=t}getEmitter(e){return this.events[e]||(this.events[e]=new i.n),this.events[e]}}class _{constructor(e,t){this.zone=e,this.component=t,this.lockedValueChangeEvent=!1}fireNgEvent(e,t){if(this.lockedValueChangeEvent&&"valueChange"===e)return;let n=this.component[e];n&&n.observers.length&&this.zone.run(()=>{n.next(t&&t[0])})}createEmitters(e){e.forEach(e=>{this.component[e.emit]=new i.n})}}let b=(()=>{let e=class{constructor(){this._watchers=[]}getWatchMethod(){return(e,t,n)=>{let i=e();(n=n||{}).skipImmediate||t(i);let r=()=>{let r=e();this._isDifferentValues(i,r,n.deep)&&(t(r),i=r)};return this._watchers.push(r),()=>{let e=this._watchers.indexOf(r);-1!==e&&this._watchers.splice(e,1)}}}_isDifferentValues(e,t,n){let i=this._toComparable(t),r=this._toComparable(e);return n&&i instanceof Object&&r instanceof Object?this._checkObjectsFields(t,e):i!==r}_toComparable(e){return e instanceof Date?e.getTime():e}_checkObjectsFields(e,t){for(let n in e){let i=this._toComparable(e[n]),r=this._toComparable(t[n]),o=!1;if("object"==typeof i&&"object"==typeof r&&(o=Object(s.equalByValue)(i,r)),i!==r&&!o)return!0}}checkWatchers(){for(let e of this._watchers)e()}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();function v(e){return e.get?e.get(0):e}let y,w=(()=>{let e=class{constructor(e,t,n,i,r){this.templateRef=e,this.viewContainerRef=t,this.renderer=i,this.zone=r,n.setTemplate(this)}set dxTemplateOf(e){this.name=e}renderTemplate(e){const t=this.viewContainerRef.createEmbeddedView(this.templateRef,{$implicit:e.model,index:e.index}),n=v(e.container);return e.container&&t.rootNodes.forEach(e=>{this.renderer.appendChild(n,e)}),t}render(e){let t;return this.zone.isStable?t=this.zone.run(()=>this.renderTemplate(e)):(t=this.renderTemplate(e),t.detectChanges()),t.rootNodes.forEach(e=>{1===e.nodeType&&this.renderer.addClass(e,"dx-template-wrapper"),Object(l.one)(e,"dxremove",({},e)=>{e&&e._angularIntegration||t.destroy()})}),t.rootNodes}};return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K),i.Lb(i.N),i.Lb(m),i.Lb(i.D),i.Lb(i.z))},e.\u0275dir=i.Gb({type:e,selectors:[["","dxTemplate",""]],inputs:{dxTemplateOf:"dxTemplateOf"}}),e})(),C=(()=>{let e=class{};return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)}}),e})();class x{constructor(){this._initialOptions={},this._collectionContainerImpl=new S(this._setOption.bind(this),this._filterItems.bind(this))}
1_optionChangedHandler(e){let t=this._fullOptionPath();if(0===e.fullName.indexOf(t)){let n=this[e.fullName.slice(t.length)+"Change"];n&&n.next(e.value)}}_createEventEmitters(e){e.forEach(e=>{this[e.emit]=new i.n})}_getOption(e){return this.isLinked?this.instance.option(this._fullOptionPath()+e):this._initialOptions[e]}_setOption(e,t){if(this.isLinked){const n=this._fullOptionPath()+e;this.instance.option(n,t)}else this._initialOptions[e]=t}_addRemovedOption(e){this.instance&&this.removedNestedComponents&&this.removedNestedComponents.push(e)}_addRecreatedComponent(){this.instance&&this.recreatedNestedComponents&&this.recreatedNestedComponents.push({getOptionPath:()=>this._getOptionPath()})}_getOptionPath(){return this._hostOptionPath()+this._optionPath}setHost(e,t){this._host=e,this._hostOptionPath=t,this.optionChangedHandlers.subscribe(this._optionChangedHandler.bind(this))}setChildren(e,t){return this._collectionContainerImpl.setChildren(e,t)}_filterItems(e){return e.filter(e=>e!==this)}get instance(){return this._host&&this._host.instance}get removedNestedComponents(){return this._host&&this._host.removedNestedComponents}get recreatedNestedComponents(){return this._host&&this._host.recreatedNestedComponents}get isLinked(){return!!this.instance&&this._host.isLinked}
1get optionChangedHandlers(){return this._host&&this._host.optionChangedHandlers}}class S{constructor(e,t){this._setOption=e,this._filterItems=t,this._activatedQueries={}}setChildren(e,t){if(this._filterItems&&(t=this._filterItems(t)),t.length&&(this._activatedQueries[e]=!0),this._activatedQueries[e]){let n=t.map((e,t)=>(e._index=t,e._value));this._setOption(e,n)}}}class k extends x{setHost(e,t){super.setHost(e,t),this._host[this._optionPath]=this._initialOptions}_fullOptionPath(){return this._getOptionPath()+"."}}class T extends x{_fullOptionPath(){return`${this._getOptionPath()}[${this._index}].`}get _value(){return this._initialOptions}get isLinked(){return void 0!==this._index&&!!this.instance&&this._host.isLinked}}function E(e,t,n,i){void 0!==!e.template&&t.nativeElement.hasChildNodes()&&[].slice.call(t.nativeElement.childNodes).filter(e=>{if(e.tagName){let t=e.tagName.toLowerCase().substr(0,3);return!("dxi"===t||"dxo"===t)}return"#comment"!==e.nodeName&&e.textContent.replace(/\s/g,"").length}).length&&(e.template={render:e=>{let r=t.nativeElement;if(n.addClass(r,"dx-template-wrapper"),e.container){let o=v(e.container),s=o.contains(t.nativeElement);n.appendChild(o,t.nativeElement),s||i.body.contains(o)&&function(e){let t=[];u()(e).hasClass("dx-visibility-change-handler")||t.push(e),t.push.apply(t,e.querySelectorAll(".dx-visibility-change-handler"));for(let n=0;n<t.length;n++)Object(l.triggerHandler)(t[n],"dxshown")}(r)}return r}})}class I{getHost(){return this._host}setHost(e,t){this._host=e,this._optionPath=t||(()=>"")}setNestedOption(e){e.setHost(this._host,this._optionPath)}}const D=()=>(y||(y=Object(o.e)("DX_isPlatformServer")),y);let M=(()=>{let e=class{constructor(e,t,n,r,o,s){this.element=e,this.watcherHelper=r,this.transferState=o,this.platformId=s,this._initialOptions={},this._optionsToUpdate={}
1,this.optionChangedHandlers=new i.n,this.isLinked=!0,this.changedOptions={},this.removedNestedComponents=[],this.widgetUpdateLocked=!1,this.templates=[],n.setHost(this),this._collectionContainerImpl=new S(this._setOption.bind(this)),this.eventHelper=new _(t,this)}_initTemplates(){if(this.templates.length){let e={};this.templates.forEach(t=>{e[t.name]=t}),this.instance.option("integrationOptions.templates",e)}}_initEvents(){this.instance.on("optionChanged",e=>{this.changedOptions[e.name]=e.value;const t=e.name===e.fullName?e.value:e.component.option(e.name);this.eventHelper.fireNgEvent(e.name+"Change",[t]),this.optionChangedHandlers.emit(e)})}_initOptions(){this._initialOptions.integrationOptions.watchMethod=this.watcherHelper.getWatchMethod()}_initPlatform(){this.transferState.hasKey(D())?this._initialOptions.integrationOptions.renderedOnServer=this.transferState.get(D(),null):Object(r.s)(this.platformId)&&this.transferState.set(D(),!0)}_createEventEmitters(e){this.eventHelper.createEmitters(e),this._initialOptions.eventsStrategy=t=>{let n=new g(t);return e.filter(e=>e.subscribe).forEach(e=>{n.addEmitter(e.subscribe,this[e.emit])}),n},this._initialOptions.nestedComponentOptions=function(e){return{eventsStrategy:e=>new g(e),nestedComponentOptions:e.option("nestedComponentOptions")}}}_shouldOptionChange(e,t){if(this.changedOptions.hasOwnProperty(e)){const n=this.changedOptions[e];return delete this.changedOptions[e],t!==n}return!0}clearChangedOptions(){this.changedOptions={}}_getOption(e){return this.instance?this.instance.option(e):this._initialOptions[e]}lockWidgetUpdate(){!this.widgetUpdateLocked&&this.instance&&(this.instance.beginUpdate(),this.widgetUpdateLocked=!0)}unlockWidgetUpdate(){this.widgetUpdateLocked&&(this.widgetUpdateLocked=!1,this.instance.endUpdate())}_setOption(e,t){this.lockWidgetUpdate(),this._shouldOptionChange(e,t)&&(this.instance?this.instance.option(e,t):this._initialOptions[e]=t)}_createWidget(e){this._initialOptions.integrationOptions={},this._initPlatform(),this._initOptions(),this._initialOptions.onInitializing=function(){this.beginUpdate()},this.instance=this._createInstance(e,this._initialOptions),this._initEvents(),this._initialOptions={}}_destroyWidget(){if(this.removedNestedComponents=[],this.instance){let e=this.instance.element();Object(l.triggerHandler)(e,"dxremove",{_angularIntegration:!0}),this.instance.dispose(),Object(a.removeElement)(e)}}ngOnChanges(e){for(let t in e)e[t].currentValue!==this[t]&&(this._optionsToUpdate[t]=e[t].currentValue)}ngOnInit(){this._createWidget(this.element.nativeElement)}ngDoCheck(){this.applyOptions()}ngAfterContentChecked(){this.applyOptions(),this.resetOptions(),this.unlockWidgetUpdate()}ngAfterViewInit(){this._initTemplates(),this.instance.endUpdate(),this.recreatedNestedComponents=[]}applyOptions(){Object.keys(this._optionsToUpdate).length&&(this.instance&&this.instance.option(this._optionsToUpdate),this._optionsToUpdate={})}resetOptions(){this.instance&&(this.removedNestedComponents.forEach(e=>{e&&!this.isRecreated(e)&&this.instance.resetOption(e)}),this.removedNestedComponents=[],this.recreatedNestedComponents=[])}isRecreated(e){return this.recreatedNestedComponents&&this.recreatedNestedComponents.some(t=>t.getOptionPath()===e)}setTemplate(e){this.templates.push(e)}setChildren(e,t){return this._collectionContainerImpl.setChildren(e,t)}};return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.l),i.Lb(i.z),i.Lb(m),i.Lb(b),i.Lb(o.d),i.Lb(i.B))},e.\u0275dir=i.Gb({type:e,features:[i.xb]}),e})();const O=["mousemove","mouseover","mouseout"],R=["mouseup","click","mousedown","transitionend","wheel"];let L=[],A=(e,t,n)=>{Object(a.inject)({_document:e,listen:function(...e){const n=e[1];return-1!==O.indexOf(n)?t.runOutsideAngular(()=>this.callBase.apply(this,e)):t.isStable&&-1!==R.indexOf(n)?t.run(()=>this.callBase.apply(this,e)):this.callBase.apply(this,e)},isElementNode:function(e){return e&&1===e.nodeType},isTextNode:function(e){return e&&3===e.nodeType},isDocument:function(e){return e&&9===e.nodeType}}),Object(d.inject)({getXhr:function(){if(!n)return this.callBase.apply(this);let e=n.build();return"withCredentials"in e||(e.withCredentials=!1),e}});const i=()=>{t.run(()=>{Object(p.set)({}
1),L.forEach(e=>(void 0).call(null,e)),L=[],Object(h.fire)()})};i(),A=i},P=(()=>{let e=class{constructor(e,t,n){A(e,t,n)}};return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)(i.Wb(r.c),i.Wb(i.z),i.Wb(f.f,8))}}),e})(),F=(()=>{let e=class{constructor(e){this._differs=e,this._propertyDiffers={}}setHost(e){this._host=e}setup(e,t){e in t&&this.setupSingle(e,t[e].currentValue)}setupSingle(e,t){if(t&&Array.isArray(t)){if(!this._propertyDiffers[e])try{return this._propertyDiffers[e]=this._differs.find(t).create(null),!0}catch(n){}}else delete this._propertyDiffers[e];return!1}getChanges(e,t){if(this._propertyDiffers[e])return this._propertyDiffers[e].diff(t)}checkChangedOptions(e,t){return this._host.changedOptions[e]===t}doCheck(e){if(this._propertyDiffers[e]){let t=this._host[e],n=this.checkChangedOptions(e,t);this.getChanges(e,t)&&this._host.instance&&!n&&(this._host.lockWidgetUpdate(),this._host.instance.option(e,t))}}};return e.\u0275fac=function(t){return new(t||e)(i.Wb(i.s))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})()},PbkZ:function(e,t,n){"use strict";var i=n("FKN7"),r=n("KAnu").noop,o=n("imRD"),s=n("D6VQ"),a=n("1LL4").extend,l=n("XWCB"),c=n("uHSv"),u=n("tJvG").Deferred,d=n("+6qP"),h=c.inherit({_supportedKeys:function(){return a(this.callBase(),{escape:r})},_getDefaultOptions:function(){return a(this.callBase(),{message:o.format("Loading"),width:222,height:90,animation:null,showIndicator:!0,indicatorSrc:"",showPane:!0,delay:0,closeOnBackButton:!1,resizeEnabled:!1,focusStateEnabled:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"generic"},options:{shadingColor:"transparent"}},{device:function(){return d.isMaterial()},options:{message:"",width:60,height:60,maxHeight:60,maxWidth:60}}])},_init:function(){this.callBase.apply(this,arguments)},_initOptions:function(){this.callBase.apply(this,arguments),this.option("templatesRenderAsynchronously",!1)},_render:function(){this.callBase(),this.$element().addClass("dx-loadpanel"),this._wrapper().addClass("dx-loadpanel-wrapper")},_renderContentImpl:function(){this.callBase(),this.$content().addClass("dx-loadpanel-content"),this._$contentWrapper=i("<div>").addClass("dx-loadpanel-content-wrapper"),this._$contentWrapper.appendTo(this._$content),this._togglePaneVisible(),this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage()},_show:function(){var e=this.option("delay");if(!e)return this.callBase();var t=new u,n=this.callBase.bind(this);return this._clearShowTimeout(),this._showTimeout=setTimeout((function(){n().done((function(){t.resolve()}))}),e),t.promise()},_hide:function(){return this._clearShowTimeout(),this.callBase()},_clearShowTimeout:function(){clearTimeout(this._showTimeout)},_renderMessage:function(){if(this._$contentWrapper){var e=this.option("message");if(e){var t=i("<div>").addClass("dx-loadpanel-message").text(e);this._$contentWrapper.append(t)}}},_renderLoadIndicator:function(){this._$contentWrapper&&this.option("showIndicator")&&(this._$indicator=i("<div>").addClass("dx-loadpanel-indicator").appendTo(this._$contentWrapper),this._createComponent(this._$indicator,l,{indicatorSrc:this.option("indicatorSrc")}))},_cleanPreviousContent:function(){this.$content().find(".dx-loadpanel-message").remove(),this.$content().find(".dx-loadpanel-indicator").remove()},_togglePaneVisible:function(){this.$content().toggleClass("dx-loadpanel-pane-hidden",!this.option("showPane"))},_optionChanged:function(e){switch(e.name){case"delay":break;case"message":case"showIndicator":this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage();break;case"showPane":this._togglePaneVisible();break;case"indicatorSrc":this._$indicator&&this._createComponent(this._$indicator,l,{indicatorSrc:this.option("indicatorSrc")});break;default:this.callBase(e)}},_dispose:function(){this._clearShowTimeout(),this.callBase()}});s("dxLoadPanel",h),e.exports=h,e.exports.default=e.exports},PcbC:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("E4RJ"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("contextMenu",r.default)},PdPS:function(e,t,n){"use strict";var i=n("LdFP"),r=n("1LL4").extend,o=n("zl3R").each,s=n("wZ/z"),a=function(e){var t=[];return o(e.touches,(function(e,n){t.push(r({pointerId:n.identifier},n))})),{pointers:t,pointerId:e.changedTouches[0].identifier}},l=function(e){return"ios"===i.real().platform&&("dxpointerdown"===e||"dxpointerup"===e)},c=s.inherit({ctor:function(){this.callBase.apply(this,arguments),this._pointerId=0},_handler:function(e){if(l(this._eventName)){var t=e.changedTouches[0];if(this._pointerId===t.identifier&&0!==this._pointerId)return;this._pointerId=t.identifier}return this.callBase.apply(this,arguments)},_fireEvent:function(e){return this.callBase(r(a(e.originalEvent),e))}});c.map={dxpointerdown:"touchstart",dxpointermove:"touchmove",dxpointerup:"touchend",dxpointercancel:"touchcancel",dxpointerover:"",dxpointerout:"",dxpointerenter:"",dxpointerleave:""},c.normalize=a,e.exports=c},PeUW:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}
1\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PfKZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateBase=t.renderedCallbacks=void 0;var i=l(n("FKN7")),r=n("tUd6"),o=l(n("cYys")),s=n("v4HY"),a=l(n("/7L9"));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.renderedCallbacks=(0,o.default)({syncStrategy:!0});t.TemplateBase=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t;return(t=[{key:"render",value:function(e){var t=(e=e||{}).onRendered;delete e.onRendered;var n=this._renderCore(e);return this._ensureResultInContainer(n,e.container),c.fire(n,e.container),t&&t(),n}},{key:"_ensureResultInContainer",value:function(e,t){if(t){var n=(0,i.default)(t),o=(0,s.contains)(n.get(0),e.get(0));n.append(e),o||(0,r.getBody)().contains(n.get(0))&&(0,s.triggerShownEvent)(e)}}},{key:"_renderCore",value:function(){throw a.default.Error("E0001")}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}()},PpIw:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%
1d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("HDdC"),r=n("D0XW"),o=n("DH7j");function s(e){return!Object(o.a)(e)&&e-parseFloat(e)+1>=0}var a=n("z+Ro");function l(e=0,t,n){let o=-1;return s(t)?o=Number(t)<1?1:Number(t):Object(a.a)(t)&&(n=t),Object(a.a)(n)||(n=r.a),new i.a(t=>{const i=s(e)?e:+e-n.now();return n.schedule(c,i,{index:0,period:o,subscriber:t})})}function c(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}},Q5pv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementMaxHeightByWindow=void 0;var i,r=(i=n("FKN7"))&&i.__esModule?i:{default:i},o=n("cGv3"),s=n("ti0F");t.getElementMaxHeightByWindow=function(e,t){var n,i=(0,o.getWindow)();if((0,s.isNumeric)(t))n=(0,r.default)(i).innerHeight()-t+(0,r.default)(i).scrollTop();else{var a=e.offset().top-(0,r.default)(i).scrollTop(),l=(0,r.default)(i).innerHeight()-a-e.outerHeight();n=Math.max(a,l)}return.9*n}},Q7sy:function(e,t,n){"use strict";var i={array:n("Nxdf"),remote:n("2XS1")};e.exports=function(){var e=Array.isArray(arguments[0])?"array":"remote";return i[e].apply(this,arguments)},e.exports.queryImpl=i,e.exports.default=e.exports},QXfY:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("NfUw"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("masterDetail",r.default)},Qj4J:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},Qkad:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("1YLE"));
1function o(e){return e&&e.__esModule?e:{default:e}}t.ColumnChooserController=r.default.controllers.columnChooser,t.ColumnChooserView=r.default.views.columnChooserView,i.default.registerModule("columnChooser",r.default)},Qs8D:function(e,t,n){"use strict";var i=n("ti0F");function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var o=function(e){return e?e.replace(/\s/g,""):void 0},s=function(e){return e.indexOf("tabs")>-1};t.getOptionNameFromFullName=function(e){var t=e.split(".");return t[t.length-1].replace(/\[\d+]/,"")},t.getFullOptionName=function(e,t){return"".concat(e,".").concat(t)},t.getTextWithoutSpaces=o,t.isExpectedItem=function(e,t){return e&&(e.dataField===t||e.name===t||o(e.title)===t||"group"===e.itemType&&o(e.caption)===t)},t.createItemPathByIndex=function(e,t){return"".concat(t?"tabs":"items","[").concat(e,"]")},t.concatPaths=function(e,t){return(0,i.isDefined)(e)&&(0,i.isDefined)(t)?"".concat(e,".").concat(t):e||t},t.tryGetTabPath=function(e){for(var t=e.split("."),n=function(e){if(Array.isArray(e))return r(e)}(o=t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return r(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,void 0):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=t.length-1;i>=0;i--){if(s(t[i]))return n.join(".");n.splice(i,1)}var o;return""},t.isFullPathContainsTabs=s},R0Ic:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return d})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return s})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return b}));class i{}class r{}const o="*";function s(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function l(e,t=null){return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function u(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e){return{type:5,steps:e}}function h(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function p(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function f(e,t){return{type:12,timings:e,animation:t}}function m(e){Promise.resolve(null).then(e)}class g{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class _{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0;const r=this.players.length;0==r?m(()=>
1this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=0;return this.players.forEach(t=>{const n=t.getPosition();e=Math.min(n,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const b="!"},RAwQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RG5Y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyTemplate=void 0;var i,r=(i=n("FKN7"))&&i.__esModule?i:{default:i},o=n("PfKZ");function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.EmptyTemplate=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(s,e);var t,n,i,o=(n=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(i){var r=u(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return c(this,e)});function s(){return a(this,s),o.apply(this,arguments)}return(t=[{key:"_renderCore",value:function(){return(0,r.default)()}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(s.prototype,t),s}(o.TemplateBase)},RGHy:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=(i=n("Ek++"))&&i.__esModule?i:{default:i},o=n("blPF"),s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e+(0,o.mod11)(e),n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default);t.default=s},RfF9:function(e,t,n){"use strict";var i=E(n("FKN7")),r=E(n("jeLr")),o=E(n("KAnu")),s=n("v4HY"),a=E(n("tUd6")),l=n("ti0F"),c=n("tJvG"),u=n("1LL4"),d=n("XpgS"),h=E(n("zl3R")),p=E(n("UdML")),f=E(n("0osO")),m=E(n("zBVi")),g=E(n("JDOJ")),_=E(n("T4bj")),b=E(n("OdII")),v=E(n("8Qh0")),y=E(n("gpjr")),w=E(n("imRD")),C=E(n("0Ms2")),x=n("yxXJ"),S=E(n("XCcL")),k=E(n("3dSS")),T=n("b1t7");function E(e){return e&&e.__esModule?e:{default:e}}var I="dx-item",D=/^([^.]+\[\d+\]\.)+([\w.]+)$/,M=m.default.inherit({_activeStateUnit:"."+I,_supportedKeys:function(){var e=function(e){var t=(0,i.default)(this.option("focusedElement"));t.length&&this._itemClickHandler((0,u.extend)({},e,{target:t,currentTarget:t}))},t=function(e,t){t.preventDefault(),t.stopPropagation(),this._moveFocus(e,t)};return(0,u.extend)(this.callBase(),{space:function(t){t.preventDefault(),e.call(this,t)},enter:e,leftArrow:t.bind(this,"left"),rightArrow:t.bind(this,"right"),upArrow:t.bind(this,"up"),downArrow:t.bind(this,"down"),pageUp:t.bind(this,"up"),pageDown:t.bind(this,"down"),home:t.bind(this,"first"),end:t.bind(this,"last")})},_getDefaultOptions:function(){return(0,u.extend)(this.callBase(),{selectOnFocus:!1,loopItemFocus:!0,items:[],itemTemplate:"item",onItemRendered:null,onItemClick:null,onItemHold:null,itemHoldTimeout:750,onItemContextMenu:null,onFocusedItemChanged:null,noDataText:w.default.format("dxCollectionWidget-noDataText"),dataSource:null,_itemAttributes:{},itemTemplateProperty:"template",focusOnSelectedItem:!0,focusedElement:null,displayExpr:void 0,disabledExpr:function(e){return e?e.disabled:void 0},visibleExpr:function(e){return e?e.visible:void 0}})},_getAnonymousTemplateName:function(){return"item"},_init:function(){this._compileDisplayGetter(),this.callBase(),this._cleanRenderedItems(),this._refreshDataSource()},_compileDisplayGetter:function(){var e=this.option("displayExpr");this._displayGetter=e?(0,x.compileGetter)(this.option("displayExpr")):void 0},_initTemplates:function(){this._initItemsFromMarkup(),this.callBase(),this._initDefaultItemTemplate()},_initDefaultItemTemplate:function(){var e=this._getFieldsMap();this._defaultTemplates.item=new T.BindableTemplate((function(t,n){(0,l.isPlainObject)(n)?this._prepareDefaultItemTemplate(n,t):(e&&(0,l.isFunction)(e.text)&&(n=e.text(n)),t.text(String(o.default.ensureDefined(n,""))))}).bind(this),this._getBindableFields(),this.option("integrationOptions.watchMethod"),e)},_getBindableFields:function(){return["text","html"]},_getFieldsMap:function(){if(this._displayGetter)return{text:this._displayGetter}},_prepareDefaultItemTemplate:function(e,t){(0,l.isDefined)(e.text)&&t.text(e.text),(0,l.isDefined)(e.html)&&t.html(e.html)},_initItemsFromMarkup:function(){var e=this,t=this.$element().contents().filter("[data-options*='dxItem']");if(t.length&&!this.option("items").length){var n=[].slice.call(t).map((function(t){var n=(0,i.default)(t),r=(0,s.getElementOptions)(t).dxItem;return n.html().trim()&&!r.template?r.template=e._prepareItemTemplate(n):n.remove(),r}));this.option("items",n)}},_prepareItemTemplate:function(e){var t="tmpl-"+new f.default,n=e.detach().clone().removeAttr("data-options").addClass("dx-template-wrapper");return this._saveTemplate(t,n),t},_dataSourceOptions:function(){return{paginate:!1}},_cleanRenderedItems:function(){this._renderedItemsCount=0},_focusTarget:function(){return this.$element()},_focusInHandler:function(e){if(this.callBase.apply(this,arguments),-1!==(0,d.inArray)(e.target,this._focusTarget())){var t=(0,i.default)(this.option("focusedElement"));if(t.length)this._setFocusedItem(t);else{var n=this._getActiveItem();n.length&&this.option("focusedElement",(0,s.getPublicElement)(n))}}},_focusOutHandler:function(){this.callBase.apply(this,arguments);var e=(0,i.default)(this.option("focusedElement"));this._updateFocusedItemState(e,!1)},_getActiveItem:function(e){var t=(0,i.default)(this.option("focusedElement"));if(t.length)return t;var n=this.option("focusOnSelectedItem")?this.option("selectedIndex"):0,r=this._getActiveElement();return n<0&&(n=e?r.length-1:0),r.eq(n)},_moveFocus:function(e){var t,n=this._getAvailableItems();switch(e){case"pageup":case"up":t=this._prevItem(n);break;case"pagedown":case"down":t=this._nextItem(n);break;case"right":t=this.option("rtlEnabled")?this._prevItem(n):this._nextItem(n);break;case"left":t=this.option("rtlEnabled")?this._nextItem(n):this._prevItem(n);break;case"first":t=n.first();break;case"last":t=n.last();break;default:return!1}0!==t.length&&this.option("focusedElement",(0,s.getPublicElement)(t))},_getVisibleItems:function(e){return(e=e||this._itemElements()).filter(":visible")},_getAvailableItems:function(e){return this._getVisibleItems(e).not(".dx-state-disabled")},_prevItem:function(e){var t=this._getActiveItem(),n=e.index(t),r=e.last(),o=(0,i.default)(e[n-1]),s=this.option("loopItemFocus");return 0===o.length&&s&&(o=r),o},_nextItem:function(e){var t=this._getActiveItem(!0),n=e.index(t),r=e.first(),o=(0,i.default)(e[n+1]),s=this.option("loopItemFocus");return 0===o.length&&s&&(o=r),o},_selectFocusedItem:function(e){this.selectItem(e)},_updateFocusedItemState:function(e,t,n){var r=(0,i.default)(e);r.length&&(this._refreshActiveDescendant(),this._refreshItemId(r,n),this._toggleFocusClass(t,r))},_refreshActiveDescendant:function(e){this.setAria("activedescendant",(0,l.isDefined)(this.option("focusedElement"))?this.getFocusedItemId():null,e)},_refreshItemId:function(e,t){!t&&this.option("focusedElement")?this.setAria("id",this.getFocusedItemId(),e):this.setAria("id",null,e)},_setFocusedItem:function(e){e&&e.length&&(this._updateFocusedItemState(e,!0),this.onFocusedItemChanged(this.getFocusedItemId()),this.option("selectOnFocus")&&this._selectFocusedItem(e))},_findItemElementByItem:function(e){var t=(0,i.default)(),n=this;return this.itemElements().each((function(){var r=(0,i.default)(this);if(r.data(n._itemDataKey())===e)return t=r,!1})),t},_getIndexByItem:function(e){return this.option("items").indexOf(e)},_itemOptionChanged:function(e,t,n,i){var r=this._findItemElementByItem(e);r.length&&(this.constructor.ItemClass.getInstance(r).setDataField(t,n)||this._refreshItem(r,e),"disabled"===t&&n&&this._resetItemFocus(r))},_resetItemFocus:function(e){e.is(this.option("focusedElement"))&&this.option("focusedElement",null)},_refreshItem:function(e){var t=this._getItemData(e),n=e.data(this._itemIndexKey());this._renderItem(this._renderedItemsCount+n,t,null,e)},_optionChanged:function(e){if("items"===e.name){var t=e.fullName.match(D);if(t&&t.length){var n=t[t.length-1],r=e.fullName.replace("."+n,""),o=this.option(r);return void this._itemOptionChanged(o,n,e.value,e.previousValue)}}switch(e.name){case"items":case"_itemAttributes":case"itemTemplateProperty":case"showItemDataTitle":this._cleanRenderedItems(),this._invalidate();break;case"dataSource":this._refreshDataSource(),this._renderEmptyMessage();break;case"noDataText":this._renderEmptyMessage();break;case"itemTemplate":this._invalidate();break;case"onItemRendered":this._createItemRenderAction();break;case"onItemClick":break;case"onItemHold":case"itemHoldTimeout":this._attachHoldEvent();break;case"onItemContextMenu":this._attachContextMenuEvent();break;case"onFocusedItemChanged":this.onFocusedItemChanged=this._createActionByOption("onFocusedItemChanged");break;case"selectOnFocus":case"loopItemFocus":case"focusOnSelectedItem":break;case"focusedElement":this._updateFocusedItemState(e.previousValue,!1,!0),this._setFocusedItem((0,i.default)(e.value));break;case"displayExpr":this._compileDisplayGetter(),this._initDefaultItemTemplate(),this._invalidate();break;case"visibleExpr":case"disabledExpr":this._invalidate();break;default:this.callBase(e)}},_invalidate:function(){return this.option("focusedElement",null),this.callBase.apply(this,arguments)},_loadNextPage:function(){var e=this._dataSource;return this._expectNextPageLoading(),e.pageIndex(1+e.pageIndex()),e.load()},_expectNextPageLoading:function(){this._startIndexForAppendedItems=0},_expectLastItemLoading:function(){this._startIndexForAppendedItems=-1},_forgetNextPageLoading:function(){this._startIndexForAppendedItems=null},_dataSourceChangedHandler:function(e){var t=this.option("items");this._initialized&&t&&this._shouldAppendItems()?(this._renderedItemsCount=t.length,this._isLastPage()&&-1===this._startIndexForAppendedItems||(this.option().items=t.concat(e.slice(this._startIndexForAppendedItems))),this._forgetNextPageLoading(),this._refreshContent()):this.option("items",e.slice())},_refreshContent:function(){this._prepareContent(),this._renderContent()},_dataSourceLoadErrorHandler:function(){this._forgetNextPageLoading(),this.option("items",this.option("items"))},_shouldAppendItems:function(){return null!=this._startIndexForAppendedItems&&this._allowDynamicItemsAppend()},_allowDynamicItemsAppend:function(){return!1},_clean:function(){this._cleanFocusState(),this._cleanItemContainer()},_cleanItemContainer:function(){(0,i.default)(this._itemContainer()).empty()},_dispose:function(){this.callBase(),clearTimeout(this._itemFocusTimeout)},_refresh:function(){this._cleanRenderedItems(),this.callBase.apply(this,arguments)},_itemContainer:function(){return this.$element()},_itemClass:function(){return I},_itemContentClass:function(){return this._itemClass()+"-content"},_selectedItemClass:function(){return"dx-item-selected"},_itemResponseWaitClass:function(){return"dx-item-response-wait"},_itemSelector:function(){return"."+this._itemClass()},_itemDataKey:function(){return"dxItemData"},_itemIndexKey:function(){return"dxItemIndex"},_itemElements:function(){return this._itemContainer().find(this._itemSelector())},_initMarkup:function(){this.callBase(),this.onFocusedItemChanged=this._createActionByOption("onFocusedItemChanged"),this.$element().addClass("dx-collection"),this._prepareContent()},_prepareContent:o.default.deferRenderer((function(){this._renderContentImpl()})),_renderContent:function(){this._fireContentReadyAction()},_render:function(){this.callBase(),this._attachClickEvent(),this._attachHoldEvent(),this._attachContextMenuEvent()},_attachClickEvent:function(){var e=this._itemSelector(),t=g.default.addNamespace(S.default.name,this.NAME),n=g.default.addNamespace(_.default.down,this.NAME),o=this,s=new p.default((function(e){o._itemPointerDownHandler(e.event)}));r.default.off(this._itemContainer(),t,e),r.default.off(this._itemContainer(),n,e),r.default.on(this._itemContainer(),t,e,(function(e){this._itemClickHandler(e)}).bind(this)),r.default.on(this._itemContainer(),n,e,(function(e){s.execute({element:(0,i.default)(e.target),event:e})}))},_itemClickHandler:function(e,t,n){this._itemDXEventHandler(e,"onItemClick",t,n)},_itemPointerDownHandler:function(e){this.option("focusStateEnabled")&&(this._itemFocusHandler=(function(){if(clearTimeout(this._itemFocusTimeout),this._itemFocusHandler=null,!e.isDefaultPrevented()){var t=(0,i.default)(e.target),n=t.closest(this._itemElements()),r=this._closestFocusable(t);n.length&&r&&-1!==(0,d.inArray)(r.get(0),this._focusTarget())&&this.option("focusedElement",(0,s.getPublicElement)(n))}}).bind(this),this._itemFocusTimeout=setTimeout(this._forcePointerDownFocus.bind(this)))}
1,_closestFocusable:function(e){if(e.is(y.default.focusable))return e;for(e=e.parent();e.length&&!a.default.isDocument(e.get(0));){if(e.is(y.default.focusable))return e;e=e.parent()}},_forcePointerDownFocus:function(){this._itemFocusHandler&&this._itemFocusHandler()},_updateFocusState:function(){this.callBase.apply(this,arguments),this._forcePointerDownFocus()},_attachHoldEvent:function(){var e=this._itemContainer(),t=this._itemSelector(),n=g.default.addNamespace(C.default.name,this.NAME);r.default.off(e,n,t),r.default.on(e,n,t,{timeout:this._getHoldTimeout()},this._itemHoldHandler.bind(this))},_getHoldTimeout:function(){return this.option("itemHoldTimeout")},_shouldFireHoldEvent:function(){return this.hasActionSubscription("onItemHold")},_itemHoldHandler:function(e){this._shouldFireHoldEvent()?this._itemDXEventHandler(e,"onItemHold"):e.cancel=!0},_attachContextMenuEvent:function(){var e=this._itemContainer(),t=this._itemSelector(),n=g.default.addNamespace(k.default.name,this.NAME);r.default.off(e,n,t),r.default.on(e,n,t,this._itemContextMenuHandler.bind(this))},_shouldFireContextMenuEvent:function(){return this.hasActionSubscription("onItemContextMenu")},_itemContextMenuHandler:function(e){this._shouldFireContextMenuEvent()?this._itemDXEventHandler(e,"onItemContextMenu"):e.cancel=!0},_renderContentImpl:function(){var e=this.option("items")||[];this._renderItems(this._renderedItemsCount?e.slice(this._renderedItemsCount):e)},_renderItems:function(e){e.length&&h.default.each(e,(function(e,t){this._renderItem(this._renderedItemsCount+e,t)}).bind(this)),this._renderEmptyMessage()},_renderItem:function(e,t,n,i){n=n||this._itemContainer();var r=this._renderItemFrame(e,t,n,i);this._setElementData(r,t,e),r.attr(this.option("_itemAttributes")),this._attachItemClickEvent(t,r);var o=this._getItemContent(r),a=this._renderItemContent({index:e,itemData:t,container:(0,s.getPublicElement)(o),contentClass:this._itemContentClass(),defaultTemplateName:this.option("itemTemplate")}),l=this;return(0,c.when)(a).done((function(n){l._postprocessRenderItem({itemElement:r,itemContent:n,itemData:t,itemIndex:e}),l._executeItemRenderAction(e,t,(0,s.getPublicElement)(r))})),r},_getItemContent:function(e){var t=e.find(".dx-item-content-placeholder");return t.removeClass("dx-item-content-placeholder"),t},_attachItemClickEvent:function(e,t){e&&e.onClick&&r.default.on(t,S.default.name,(function(n){this._itemEventHandlerByHandler(t,e.onClick,{event:n})}).bind(this))},_renderItemContent:function(e){var t=this._getItemTemplateName(e),n=this._getTemplate(t);this._addItemContentClasses(e);var r=(0,i.default)(this._createItemByTemplate(n,e));return r.hasClass("dx-template-wrapper")?this._renderItemContentByNode(e,r):e.container},_renderItemContentByNode:function(e,t){return(0,i.default)(e.container).replaceWith(t),e.container=(0,s.getPublicElement)(t),this._addItemContentClasses(e),t},_addItemContentClasses:function(e){var t=[I+"-content",e.contentClass];(0,i.default)(e.container).addClass(t.join(" "))},_appendItemToContainer:function(e,t,n){t.appendTo(e)},_renderItemFrame:function(e,t,n,r){var o=(0,i.default)("<div>");if(new this.constructor.ItemClass(o,this._itemOptions(),t||{}),r&&r.length?r.replaceWith(o):this._appendItemToContainer.call(this,n,o,e),this.option("showItemDataTitle")){var s=this._displayGetter?this._displayGetter(t):t;o.attr("title",s)}return o},_itemOptions:function(){var e=this;return{watchMethod:function(){return e.option("integrationOptions.watchMethod")},owner:e,fieldGetter:function(t){var n=e.option(t+"Expr");return(0,x.compileGetter)(n)}}},_postprocessRenderItem:o.default.noop,_executeItemRenderAction:function(e,t,n){this._getItemRenderAction()({itemElement:n,itemIndex:e,itemData:t})},_setElementData:function(e,t,n){e.addClass([I,this._itemClass()].join(" ")).data(this._itemDataKey(),t).data(this._itemIndexKey(),n)},_createItemRenderAction:function(){return this._itemRenderAction=this._createActionByOption("onItemRendered",{element:this.element(),excludeValidators:["disabled","readOnly"],category:"rendering"})},_getItemRenderAction:function(){return this._itemRenderAction||this._createItemRenderAction()},_getItemTemplateName:function(e){var t=e.itemData,n=e.templateProperty||this.option("itemTemplateProperty");return t&&t[n]||e.defaultTemplateName},_createItemByTemplate:function(e,t){return e.render({model:t.itemData,container:t.container,index:t.index})},_emptyMessageContainer:function(){return this._itemContainer()},_renderEmptyMessage:function(e){e=e||this.option("items");var t=this.option("noDataText"),n=!t||e&&e.length||this._isDataSourceLoading();n&&this._$noData&&(this._$noData.remove(),this._$noData=null,this.setAria("label",void 0)),n||(this._$noData=this._$noData||(0,i.default)("<div>").addClass("dx-empty-message"),this._$noData.appendTo(this._emptyMessageContainer()).html(t),this.setAria("label",t)),this.$element().toggleClass("dx-empty-collection",!n)},_itemDXEventHandler:function(e,t,n,i){this._itemEventHandler(e.target,t,(0,u.extend)(n,{event:e}),i)},_itemEventHandler:function(e,t,n,i){var r=this._createActionByOption(t,(0,u.extend)({validatingTargetName:"itemElement"},i));return this._itemEventHandlerImpl(e,r,n)},_itemEventHandlerByHandler:function(e,t,n,i){var r=this._createAction(t,(0,u.extend)({validatingTargetName:"itemElement"},i));return this._itemEventHandlerImpl(e,r,n)},_itemEventHandlerImpl:function(e,t,n){var r=this._closestItemElement((0,i.default)(e)),o=(0,u.extend)({},n);return t((0,u.extend)(n,this._extendActionArgs(r),o))},_extendActionArgs:function(e){return{itemElement:(0,s.getPublicElement)(e),itemIndex:this._itemElements().index(e),itemData:this._getItemData(e)}},_closestItemElement:function(e){return(0,i.default)(e).closest(this._itemSelector())},_getItemData:function(e){return(0,i.default)(e).data(this._itemDataKey())},_getSummaryItemsWidth:function(e,t){var n=0;return e&&h.default.each(e,(function(e,r){n+=(0,i.default)(r).outerWidth(t||!1)})),n},getFocusedItemId:function(){return this._focusedItemId||(this._focusedItemId="dx-"+new f.default),this._focusedItemId},itemElements:function(){return this._itemElements()},itemsContainer:function(){return this._itemContainer()}}).include(b.default);M.ItemClass=v.default,e.exports=M},RnhZ:function(e,t,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A
1+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id="RnhZ"},RwLY:function(e,t,n){"use strict";var i=n("tJvG"),r=n("cGv3"),o=i.Deferred,s=i.when,a=r.hasWindow()?r.getWindow().Promise:Promise;a||((a=function(e){var t=new o;return e(t.resolve.bind(this),t.reject.bind(this)),t.promise()}).resolve=function(e){return(new o).resolve(e).promise()},a.reject=function(e){return(new o).reject(e).promise()},a.all=function(e){return s.apply(this,e).then((function(){return[].slice.call(arguments)}))}),e.exports=a},RyeT:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=(i=n("Ek++"))&&i.__esModule?i:{default:i},o=n("blPF"),s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e+(0,o.mod10)(e),n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default);t.default=s},S3Ua:function(e,t,n){"use strict";function i(e,t){for(;e.length<t;)e="0"+e;return e}var r={3:"abbreviated",4:"wide",5:"narrow"},o={y:function(e,t,n){var r=e[n?"getUTCFullYear":"getFullYear"]();return 2===t&&(r%=100),i(r.toString(),t)},M:function(e,t,n,o){var s=e[n?"getUTCMonth":"getMonth"](),a=r[t];return a?o.getMonthNames(a,"format")[s]:i((s+1).toString(),Math.min(t,2))},L:function(e,t,n,o){var s=e[n?"getUTCMonth":"getMonth"](),a=r[t];return a?o.getMonthNames(a,"standalone")[s]:i((s+1).toString(),Math.min(t,2))},Q:function(e,t,n,o){var s=e[n?"getUTCMonth":"getMonth"](),a=Math.floor(s/3),l=r[t];return l?o.getQuarterNames(l)[a]:i((a+1).toString(),Math.min(t,2))},E:function(e,t,n,i){var o=e[n?"getUTCDay":"getDay"]();return i.getDayNames(r[t<3?3:t])[o]},a:function(e,t,n,i){var o=e[n?"getUTCHours":"getHours"]()<12?0:1;return i.getPeriodNames(r[t])[o]},d:function(e,t,n){return i(e[n?"getUTCDate":"getDate"]().toString(),Math.min(t,2))},H:function(e,t,n){return i(e[n?"getUTCHours":"getHours"]().toString(),Math.min(t,2))},h:function(e,t,n){return i((e[n?"getUTCHours":"getHours"]()%12||12).toString(),Math.min(t,2))},m:function(e,t,n){return i(e[n?"getUTCMinutes":"getMinutes"]().toString(),Math.min(t,2))},s:function(e,t,n){return i(e[n?"getUTCSeconds":"getSeconds"]().toString(),Math.min(t,2))},S:function(e,t,n){return i(e[n?"getUTCMilliseconds":"getMilliseconds"]().toString(),3).substr(0,t)},x:function(e,t,n){var r=n?0:e.getTimezoneOffset(),o=r>0?"-":"+",s=Math.abs(r),a=s%60,l=i(Math.floor(s/60).toString(),2),c=i(a.toString(),2);return o+l+(t>=3?":":"")+(t>1||a?c:"")},X:function(e,t,n){return n||!e.getTimezoneOffset()?"Z":o.x(e,t,n)},Z:function(e,t,n){return o.X(e,t>=5?3:2,n)}};e.exports.getFormatter=function(e,t){return function(n){var i,r,s,a,l=0,c=!1,u="";if(!n)return null;if(!e)return n;var d="Z"===e[e.length-1]||"'Z'"===e.slice(-3);for(i=0;i<e.length;i++)r=o[s=e[i]],l++,(a=s===e[i+1])||(r&&!c&&(u+=r(n,l,d,t)),l=0),"'"!==s||a?!c&&r||(u+=s):c=!c,"'"===s&&a&&i++;return u}}},S6ln:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u
10259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("ngJS"),r=n("NJ4a"),o=n("Lhse"),s=n("kJWO"),a=n("I55L"),l=n("c2HN"),c=n("XoHu");const u=e=>{if(e&&"function"==typeof e[s.a])return u=e,e=>{const t=u[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(i.a)(e);if(Object(l.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e);if(e&&"function"==typeof e[o.a])return t=e,e=>{const n=t[o.a]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};
1{const t=Object(c.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}var t,n,u}},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",(function(){return i}))},SxV6:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("sVev"),r=n("pLZG"),o=n("IzEk"),s=n("xbPD"),a=n("XDbj"),l=n("SpAZ");function c(e,t){const n=arguments.length>=2;return c=>c.pipe(e?Object(r.a)((t,n)=>e(t,n,c)):l.a,Object(o.a)(1),n?Object(s.a)(t):Object(a.a)(()=>new i.a))}},SyMb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n("52Lf"))&&i.__esModule?i:{default:i},s=n("8I5R"),a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.substring(1),n));return i.bytes=e.split("").map((function(e){return e.charCodeAt(0)})),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var e=this.bytes,n=e.shift()-105,i=s.SET_BY_CODE[n];if(void 0===i)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&e.unshift(s.FNC1);var r=t.next(e,1,i);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:t.getBar(n)+r.result+t.getBar((r.checksum+n)%s.MODULO)+t.getBar(s.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var e=this.options.ean128||!1;return"string"==typeof e&&(e="true"===e.toLowerCase()),e}}],[{key:"getBar",value:function(e){return s.BARS[e]?s.BARS[e].toString():""}},{key:"correctIndex",value:function(e,t){if(t===s.SET_A){var n=e.shift();return n<32?n+64:n-32}return t===s.SET_B?e.shift()-32:10*(e.shift()-48)+e.shift()-48}},{key:"next",value:function(e,n,i){if(!e.length)return{result:"",checksum:0};var r=void 0,o=void 0;if(e[0]>=200){o=e.shift()-105;var a=s.SWAP[o];void 0!==a?r=t.next(e,n+1,a):(i!==s.SET_A&&i!==s.SET_B||o!==s.SHIFT||(e[0]=i===s.SET_A?e[0]>95?e[0]-96:e[0]:e[0]<32?e[0]+96:e[0]),r=t.next(e,n+1,i))}else o=t.correctIndex(e,i),r=t.next(e,n+1,i);return{result:t.getBar(o)+r.result,checksum:o*n+r.checksum}}}]),t}(o.default);t.default=a},T4bj:function(e,t,n){"use strict";var i=h(n("czNW")),r=n("zl3R"),o=h(n("uHaw")),s=h(n("LdFP")),a=h(n("GBv4")),l=h(n("PdPS")),c=h(n("Bso4")),u=h(n("x9yN")),d=h(n("UfT8"));function h(e){return e&&e.__esModule?e:{default:e}}var p,f,m=(p=i.default,f=s.default.real(),p.pointerEvents&&o.default.msie?c.default:!p.touch||f.tablet||f.phone?p.touch?l.default:u.default:d.default);(0,r.each)(m.map,(function(e,t){(0,a.default)(e,new m(e,t))})),e.exports={down:"dxpointerdown",up:"dxpointerup",move:"dxpointermove",cancel:"dxpointercancel",enter:"dxpointerenter",leave:"dxpointerleave",over:"dxpointerover",out:"dxpointerout"}},T6P2:function(e,t,n){"use strict";var i=n("zl3R").each,r=n("cYys");e.exports=function(){var e=[],t=r();this.add=function(n){i(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)}}},TEOj:function(e,t,n){"use strict";var i=b(n("FKN7")),r=b(n("jeLr")),o=b(n("cGv3")),s=n("1LL4"),a=b(n("2Fn2")),l=b(n("/7L9")),c=n("v4HY"),u=b(n("/q2h")),d=b(n("KAnu")),h=n("zl3R"),p=n("ti0F"),f=n("XpgS"),m=b(n("Cc4C")),g=b(n("1B4V")),_=b(n("ud26"));
1function b(e){return e&&e.__esModule?e:{default:e}}var v=_.default.abstract,y=_.default.inherit({_getDefaultOptions:function(){return(0,s.extend)(this.callBase(),{width:void 0,height:void 0,rtlEnabled:(0,a.default)().rtlEnabled,elementAttr:{},disabled:!1,integrationOptions:{}})},ctor:function(e,t){this._createElement(e),m.default.attachInstanceToElement(this._$element,this,this._dispose),this.callBase(t)},_createElement:function(e){this._$element=(0,i.default)(e)},_getSynchronizableOptionsForCreateComponent:function(){return["rtlEnabled","disabled","templatesRenderAsynchronously"]},_visibilityChanged:v,_dimensionChanged:v,_init:function(){this.callBase(),this._attachWindowResizeCallback()},_setOptionsByDevice:function(e){this.callBase([].concat(this.constructor._classCustomRules||[],e||[]))},_isInitialOptionValue:function(e){return!(this.constructor._classCustomRules&&Object.prototype.hasOwnProperty.call(this._convertRulesToOptions(this.constructor._classCustomRules),e))&&this.callBase(e)},_attachWindowResizeCallback:function(){if(this._isDimensionChangeSupported()){var e=this._windowResizeCallBack=this._dimensionChanged.bind(this);u.default.add(e)}},_isDimensionChangeSupported:function(){return this._dimensionChanged!==v},_renderComponent:function(){this._initMarkup(),o.default.hasWindow()&&this._render()},_initMarkup:function(){this._renderElementAttributes(),this._toggleRTLDirection(this.option("rtlEnabled")),this._renderVisibilityChange(),this._renderDimensions()},_render:function(){this._attachVisibilityChangeHandlers()},_renderElementAttributes:function(){var e=(0,s.extend)({},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("dx-visibility-change-handler")},_renderDimensions:function(){var e=this.$element(),t=e.get(0),n=this._getOptionValue("width",t),i=this._getOptionValue("height",t);this._isCssUpdateRequired(t,i,n)&&e.css({width:null===n?"":n,height:null===i?"":i})},_isCssUpdateRequired:function(e,t,n){return!!((0,p.isDefined)(n)||(0,p.isDefined)(t)||e.style.width||e.style.height)},_attachDimensionChangeHandlers:function(){var e=this,t="dxresize."+this.NAME+"VisibilityChange";r.default.off(e.$element(),t),r.default.on(e.$element(),t,(function(){e._dimensionChanged()}))},_attachVisibilityChangeHandlers:function(){if(this._isVisibilityChangeSupported()){var e=this,t="dxhiding."+this.NAME+"VisibilityChange",n="dxshown."+this.NAME+"VisibilityChange";e._isHidden=!e._isVisible(),r.default.off(e.$element(),t),r.default.on(e.$element(),t,(function(){e._checkVisibilityChanged("hiding")})),r.default.off(e.$element(),n),r.default.on(e.$element(),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!==v&&o.default.hasWindow()},_clean:d.default.noop,_modelByElement:function(){return(this.option("modelByElement")||d.default.noop)(this.$element())},_invalidate:function(){if(!this._updateLockCount)throw l.default.Error("E0007");this._requireRefresh=!0},_refresh:function(){this._clean(),this._renderComponent()},_dispose:function(){this.callBase(),this._clean(),this._detachWindowResizeCallback()},_detachWindowResizeCallback:function(){this._isDimensionChangeSupported()&&u.default.remove(this._windowResizeCallBack)},_toggleRTLDirection:function(e){this.$element().toggleClass("dx-rtl",e)},_createComponent:function(e,t,n){var r=this,o=this;n=n||{};var a,l=d.default.grep(this._getSynchronizableOptionsForCreateComponent(),(function(e){return!(e in n)})),c=o.option("nestedComponentOptions")||d.default.noop,u=(0,s.extend)({integrationOptions:this.option("integrationOptions")},c(this));if(l.forEach((function(e){u[e]=r.option(e)})),o._extendConfig(n,u),(0,p.isString)(t)){var h=(0,i.default)(e)[t](n);a=h[t]("instance")}else e&&((a=t.getInstance(e))?a.option(n):a=new t(e,n));if(a){var m=function(e){(0,f.inArray)(e.name,l)>=0&&a.option(e.name,e.value)};o.on("optionChanged",m),a.on("disposing",(function(){o.off("optionChanged",m)}))}return a},_extendConfig:function(e,t){(0,h.each)(t,(function(t,n){e[t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:n}))},_defaultActionConfig:function(){return(0,s.extend)(this.callBase(),{context:this._modelByElement(this.$element())})},_defaultActionArgs:function(){var e=this._modelByElement(this.$element());
1return(0,s.extend)(this.callBase(),{element:this.element(),model:e})},_optionChanged:function(e){switch(e.name){case"width":case"height":this._renderDimensions();break;case"rtlEnabled":this._invalidate();break;case"elementAttr":this._renderElementAttributes();break;case"disabled":case"integrationOptions":break;default:this.callBase(e)}},_removeAttributes:function(e){for(var t=e.attributes.length-1;t>=0;t--){var n=e.attributes[t];if(!n)return;var i=n.name;0!==i.indexOf("aria-")&&-1===i.indexOf("dx-")&&"role"!==i&&"style"!==i&&"tabindex"!==i||e.removeAttribute(i)}},_removeClasses:function(e){var t=e.className.split(" ").filter((function(e){return 0!==e.lastIndexOf("dx-",0)}));e.className=t.join(" ")},endUpdate:function(){var e=!this._initializing&&!this._initialized;this.callBase.apply(this,arguments),this._updateLockCount||(e?this._renderComponent():this._requireRefresh&&(this._requireRefresh=!1,this._refresh()))},$element:function(){return this._$element},element:function(){return(0,c.getPublicElement)(this.$element())},dispose:function(){var e=this.$element().get(0);g.default.cleanDataRecursive(e,!0),e.textContent="",this._removeAttributes(e),this._removeClasses(e)},resetOption:function(e){this.callBase(e),"width"!==e&&"height"!==e||(0,p.isDefined)(this.initialOption(e))||this.$element().css(e,"")}});y.getInstance=function(e){return m.default.getInstanceByElement((0,i.default)(e),this)},y.defaultOptions=function(e){this._classCustomRules=this._classCustomRules||[],this._classCustomRules.push(e)},e.exports=y,e.exports.default=e.exports},TO02:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(){function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.object=t,this.encodings=n,this.options=i}return i(e,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),e}();t.default=r},ThLa:function(e,t,n){"use strict";n.d(t,"a",(function(){return _e}));var i=n("ofXK"),r=n("K3ix"),o=n("fXoL"),s=(n("pLZG"),n("3XJ7")),a=(n("lUod"),n("R0Ic")),l=n("WyaX");let c=(()=>{class e{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),u=(()=>{class e{constructor(){this.direction="down",this.isOpenChange=new o.n,this.isDisabledChange=new o.n,this.toggleClick=new o.n,this.dropdownMenu=new Promise(e=>{this.resolveDropdownMenu=e})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();Object(a.k)({height:0,overflow:"hidden"}),Object(a.e)("220ms cubic-bezier(0, 0, 0.2, 1)",Object(a.k)({height:"*",overflow:"hidden"}));let d=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[s.a,l.a,u,{provide:c,useValue:t||{autoClose:!0,insideClick:!1}}]}}}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})();var h=n("3Pt+");n("mrSG"),n("PqYM");let p=(()=>{class e{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),f=(()=>{class e{static forRoot(){return{ngModule:e,providers:[p,s.a,l.a]}}}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})();var m=n("tyNb");let g=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["app-privacy-policy"]],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),_=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["app-terms-of-service"]],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),b=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["app-broken-link"]],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),v=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["app-unauthorized-link"]],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})();var y=n("2Ji4"),w=n("ewzI"),C=n("5eHb");const x=["logoPicker"];function S(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1," Name length should be less than 30"),o.Qb())}function k(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1," Name required"),o.Qb())}function T(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Invalid Name "),o.Qb())}function E(e,t){if(1&e&&(o.Rb(0,"div",152),o.Cc(1,S,2,0,"div",149),o.Cc(2,k,2,0,"div",149),o.Cc(3,T,2,0,"div",149),o.Qb()),2&e){const e=o.ec(2);o.zb(1),o.kc("ngIf",e.f.customerName.errors.maxlength),o.zb(1),o.kc("ngIf",e.f.customerName.errors.required),o.zb(1),o.kc("ngIf",e.f.customerName.errors.pattern)}}function I(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Phone is required"),o.Qb())}function D(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Phone length should be 13"),o.Qb())}function M(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Phone length should be 13"),o.Qb())}function O(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Enter only '+' and numbers"),o.Qb())}function R(e,t){if(1&e&&(o.Rb(0,"div",152),o.Cc(1,I,2,0,"div",149),o.Cc(2,D,2,0,"div",149),o.Cc(3,M,2,0,"div",149),o.Cc(4,O,2,0,"div",149),o.Qb()),2&e){const e=o.ec(2);o.zb(1),o.kc("ngIf",e.f.phoneNumber.errors.required),o.zb(1),o.kc("ngIf",e.f.phoneNumber.errors.maxlength),o.zb(1),o.kc("ngIf",e.f.phoneNumber.errors.minlength),o.zb(1),o.kc("ngIf",e.f.phoneNumber.errors.pattern)}}function L(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Email is required"),o.Qb())}function A(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Email length should be less than 50"),o.Qb())}function P(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Invalid Email"),o.Qb())}function F(e,t){if(1&e&&(o.Rb(0,"div",152),o.Cc(1,L,2,0,"div",149),o.Cc(2,A,2,0,"div",149),o.Cc(3,P,2,0,"div",149),o.Qb()),2&e){const e=o.ec(2);o.zb(1),o.kc("ngIf",e.f.email.errors.required),o.zb(1),o.kc("ngIf",e.f.email.errors.maxlength),o.zb(1),o.kc("ngIf",e.f.email.errors.pattern)}}function B(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Password is required"),o.Qb())}function H(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Password length should be less than or equal to 10 "),o.Qb())}function V(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Password length should be greater than or equal to 8"),o.Qb())}function N(e,t){1&e&&(o.Rb(0,"div"),o.Ec(1,"Password must contain at least one number, one special characters and one uppercase and lowercase letter, and at least 8 or more characters"),o.Qb())}function z(e,t){if(1&e&&(o.Rb(0,"div",153),o.Cc(1,B,2,0,"div",149),o.Cc(2,H,2,0,"div",149),o.Cc(3,V,2,0,"div",149),o.Cc(4,N,2,0,"div",149),o.Qb()),2&e){const e=o.ec(2);o.zb(1),o.kc("ngIf",e.f.password.errors.required),o.zb(1),o.kc("ngIf",e.f.password.errors.maxlength),o.zb(1),o.kc("ngIf",e.f.password.errors.minlength),o.zb(1),o.kc("ngIf",e.f.password.errors.pattern)}}const j=function(e){return{"app-l-error-text":e}};function Y(e,t){if(1&e&&(o.Rb(0,"span",155),o.Ec(1," Required "),o.Qb()),2&e){const e=o.ec(3);o.kc("ngClass",o.pc(1,j,e.f.confirmpassword.errors.required))}}function W(e,t){if(1&e&&(o.Rb(0,"span",155),o.Ec(1," Password does not match "),o.Qb()),2&e){const e=o.ec(3);o.kc("ngClass",o.pc(1,j,e.f.confirmpassword.errors.mustMatch))}}function Q(e,t){if(1&e&&(o.Rb(0,"span"),o.Cc(1,Y,2,3,"span",154),o.Cc(2,W,2,3,"span",154),o.Qb()),2&e){const e=o.ec(2);o.zb(1),o.kc("ngIf",e.f.confirmpassword.errors.required),o.zb(1),o.kc("ngIf",e.f.confirmpassword.errors.mustMatch)}}function $(e,t){if(1&e){const e=o.Sb();o.Rb(0,"form",138),o.Rb(1,"div",24),o.Rb(2,"div",139),o.Rb(3,"div",140),o.Rb(4,"label",141),o.Ec(5,"Full Name"),o.Qb(),o.Mb(6,"input",142),o.Cc(7,E,4,3,"div",143),o.Qb(),o.Qb(),o.Rb(8,"div",139),o.Rb(9,"div",140),o.Rb(10,"label",141),o.Ec(11,"Phone"),o.Qb(),o.Mb(12,"input",144),o.Cc(13,R,5,4,"div",143),o.Qb(),o.Qb(),o.Rb(14,"div",139),o.Rb(15,"div",140),o.Rb(16,"label",141),o.Ec(17,"Email"),o.Qb(),o.Mb(18,"input",145),o.Cc(19,F,4,3,"div",143),o.Qb(),o.Qb(),o.Rb(20,"div",139),o.Rb(21,"div",140),o.Rb(22,"label",141),o.Ec(23,"Password"),o.Qb(),o.Mb(24,"input",146),o.Cc(25,z,5,4,"div",147),o.Qb(),o.Qb(),o.Rb(26,"div",139),o.Rb(27,"div",140),o.Rb(28,"label",141),o.Ec(29,"Confirm Password"),o.Qb(),o.Mb(30,"input",148),o.Cc(31,Q,3,2,"span",149),o.Qb(),o.Qb(),o.Rb(32,"div",150),o.Rb(33,"div",140),o.Rb(34,"button",151),o.ac("click",(function(){return o.wc(e),o.ec().onSubmit()})),o.Ec(35,"Register"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb()}if(2&e){const e=o.ec();o.kc("formGroup",e.resourceForm),o.zb(7),o.kc("ngIf",1==e.submitted&&e.f.customerName.errors),o.zb(6),o.kc("ngIf",1==e.submitted&&e.f.ph
1oneNumber.errors),o.zb(6),o.kc("ngIf",1==e.submitted&&e.f.email.errors),o.zb(6),o.kc("ngIf",1==e.submitted&&e.f.password.errors),o.zb(6),o.kc("ngIf",e.f.confirmpassword.errors&&(e.f.confirmpassword.touched||e.f.confirmpassword.dirty||e.submitted))}}let G=(()=>{class e{constructor(e,t,n,i,r){this.httpService=e,this.router=t,this.fb=n,this.route=i,this.toastrService=r,this.submitted=!1,this.editted=!1,this.resourceGetByIdApi=y.a.userService+"/",this.resourceKey="userId",this.resourceName="User",this.resourceManagementNavPath="/login",this.emailPattern="^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$",this.readOnlyUserName=!1,this.resourceCreateUserApi=y.a.userService+"/registerCustomer"}ngOnInit(){this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn")),this.route.snapshot.paramMap.get(this.resourceKey)&&this.route.paramMap.subscribe(e=>{this.resourceKeyValue=Number(e.get(this.resourceKey))}),this.createForm()}upload(){}viewImage(){}createForm(){this.resourceKeyValue>0?this.getResourceById():this.resourceForm=this.fb.group({customerName:new h.d("",h.r.compose([h.r.maxLength(30),h.r.pattern("^[0-9a-zA-Z' '-]*$"),h.r.required])),phoneNumber:new h.d("+971",h.r.compose([h.r.required,h.r.minLength(13),h.r.maxLength(13),h.r.pattern("^[0-9,+]*$")])),email:new h.d("",h.r.compose([h.r.required,h.r.maxLength(50),h.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"),h.r.email])),password:new h.d("",h.r.compose([h.r.required,h.r.minLength(8),h.r.maxLength(10),h.r.pattern("(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[$@$!%*?&])[A-Za-zd$@$!%*?&].{7,}")])),confirmpassword:new h.d(""),iUserId:new h.d(null)},{validator:this.passwordMatch("password","confirmpassword")})}passwordMatch(e,t){return n=>{const i=n.controls[t];i.errors&&!i.errors.mustMatch||i.setErrors(n.controls[e].value!==i.value?{mustMatch:!0}:null)}}getResourceById(){this.httpService.get(this.resourceGetByIdApi+this.resourceKeyValue).subscribe(e=>{this.editted=!0,this.resourceForm=this.fb.group({resourceKeyValue:new h.d({value:e[this.resourceKey],disabled:!0}),name:new h.d({value:e.agentName,disabled:!1},h.r.compose([h.r.maxLength(30),h.r.pattern("^[0-9a-zA-Z' '-]*$")])),phone:new h.d({value:e.phone,disabled:!1},h.r.compose([h.r.required,h.r.minLength(10),h.r.maxLength(13),h.r.pattern("^[0-9,+]*$")])),email:new h.d({value:e.email,disabled:!1},h.r.compose([h.r.required,h.r.maxLength(50),h.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"),h.r.email])),userName:new h.d({value:e.userName,disabled:!1},h.r.compose([h.r.required,h.r.maxLength(100),h.r.pattern("^[a-zA-Z0-9]*$")])),password:new h.d({value:e.password,disabled:!0},h.r.compose([h.r.minLength(8),h.r.maxLength(10)])),iUserId:new h.d({value:e.iUserId,disabled:!1})})})}get f(){return this.resourceForm.controls}onSubmit(){this.submitted=!0;const e=this.resourceForm.value;e.isActive=!0,e.customerType="C",e.userRole={userRole:{id:"",name:"Customer",roleValue:2}},e.user={userName:"erer",password:this.resourceForm.controls.password.value,email:this.resourceForm.controls.email.value,phone:this.resourceForm.controls.phoneNumber.value,userType:"C",userRole:{id:"",name:"Customer",roleValue:2}}
1,console.log(e),this.resourceForm.invalid||(this.submitted=!1,this.resourceKeyValue>0?(e[this.resourceKey]=this.resourceKeyValue,this.resourceForm.reset(),this.httpService.put(this.resourceUpdateApi,e).subscribe(e=>{500==e.statusCode?this.toastrService.error(e.message,"Fail"):(this.toastrService.success("User Updated Successfully","Success"),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0}))})):(this.resourceForm.reset(),e.iUserId="898",console.log("data",this.resourceCreateUserApi),this.httpService.post(this.resourceCreateUserApi,e).subscribe(e=>{console.log(e),500==e.statusCode?this.toastrService.error(e.message,"Fail"):201==e.statusCode?this.toastrService.warning(e.message):(this.resourceForm.reset(),this.toastrService.success("User Created Successfully","Success"),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0}))})))}cancel(){this.submitted=!1,this.resourceForm.reset(),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0})}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(w.a),o.Lb(m.c),o.Lb(h.c),o.Lb(m.a),o.Lb(C.b))},e.\u0275cmp=o.Fb({type:e,selectors:[["app-signup"]],viewQuery:function(e,t){var n;1&e&&o.Jc(x,!0),2&e&&o.tc(n=o.bc())&&(t.logoPicker=n.first)},decls:206,vars:1,consts:[[1,"nav-down"],[1,"header-wraper"],[1,"logo"],["href","https://abccargo.ae/"],["src","assets/images/abclogo.png","alt",""],[1,"menu-container"],[1,"hand-burger-box","d-lg-none"],[1,"hand-burger","one"],[1,"hand-burger","two"],[1,"hand-burger","three"],[1,"menu-item-wraper"],["id","menu-header-menu",1,"menu"],[1,"header-right"],["href","",1,"get-a-quote","d-none","d-lg-flex"],[1,"backdrop","d-lg-none"],[1,"career-page"],[1,"max-1490"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"section-description"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-md-5","col-sm-8","col-12","get-a-quote-form-wraper"],[3,"formGroup",4,"ngIf"],[1,"footer-container"],[1,"row"],[1,"col-xl-2"],[1,"d-flex","flex-column","justify-content-between","h-100","align-items-center"],[1,"footer-logo"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/abc-footer-logo.png","alt","Footer Logo"],[1,"qr-code","mt-3","text-center"],[1,"mb-1","dwnload_text",2,"color","#E64A3C"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/abc-qr-code.png"],[1,"social-icons"],[1,"footer-links","d-none","d-xl-block","text-center"],[1,"dwnload_text"],[1,"d-flex","align-items-center","mt-2"],["href","https://play.google.com/store/apps/details?id=com.myabccustomer","target","blank",1,"me-2"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/android-icon.png",1,"w-100"],["href","https://apps.apple.com/us/app/my-abc/id6443482756","target","blank"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/apple-icon.png",1,"w-100"],[1,"justify-content-center"],["href","https://www.linkedin.com/company/abc-cargo-courier","target","_blank"],["width","15","height","14","viewBox","0 0 15 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M14.8747 13.6316V13.631H14.8785V8.71954C14.8785 6.31681 14.3037 4.46594 11.1827 4.46594C9.68228 4.46594 8.67541 5.20696 8.26435 5.90948H8.22096V4.69026H5.26172V13.631H8.34309V9.20388C8.34309 8.03823 8.58861 6.91108 10.1925 6.91108C11.7729 6.91108 11.7965 8.24134 11.7965 9.27866V13.6316H14.8747Z","fill","black"],["d","M0.244141 4.69104H3.32924V13.6318H0.244141V4.69104Z","fill","black"],["d","M1.78683 0.239746C0.800414 0.239746 0 0.960119 0 1.84789C0 2.73566 0.800414 3.4711 1.78683 3.4711C2.77324 3.4711 3.57365 2.73566 3.57365 1.84789C3.57303 0.960119 2.77262 0.239746 1.78683 0.239746V0.239746Z","fill","black"],["href","https://www.instagram.com/abccargoandcourier/","target","_blank"],["width","17","height","17","viewBox","0 0 17 17","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11.6366 0H4.88183C2.29982 0 0.199219 2.10061 0.199219 4.68261V11.4374C0.199219 14.0194 2.29982 16.12 4.88183 16.12H11.6366C14.2186 16.12 16.3192 14.0194 16.3192 11.4374V4.68261C16.3192 2.10061 14.2186 0 11.6366 0ZM15.0598 11.4374C15.0598 13.325 13.5242 14.8606 11.6366 14.8606H4.88183C2.99424 14.8606 1.45859 13.325 1.45859 11.4374V4.68261C1.45859 2.79503 2.99424 1.25938 4.88183 1.25938H11.6366C13.5242 1.25938 15.0598 2.79503 15.0598 4.68261V11.4374Z","fill","black"],["d","M8.25891 3.71521C5.86313 3.71521 3.91406 5.66428 3.91406 8.06005C3.91406 10.4558 5.86313 12.4049 8.25891 12.4049C10.6547 12.4049 12.6038 10.4558 12.6038 8.06005C12.6038 5.66428 10.6547 3.71521 8.25891 3.71521ZM8.25891 11.1455C6.55759 11.1455 5.17344 9.76137 5.17344 8.06005C5.17344 6.35873 6.55759 4.97459 8.25891 4.97459C9.96023 4.97459 11.3444 6.35873 11.3444 8.06005C11.3444 9.76137 9.96023 11.1455 8.25891 11.1455Z","fill","black"],["d","M12.6668 4.28171C13.0146 4.28171 13.2965 3.99979 13.2965 3.65203C13.2965 3.30426 13.0146 3.02234 12.6668 3.02234C12.319 3.02234 12.0371 3.30426 12.0371 3.65203C12.0371 3.99979 12.319 4.28171 12.6668 4.28171Z","fill","black"],["href","https://www.facebook.com/abccargocourier","target","_blank"],["width","10","height","18","viewBox","0 0 10 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.73593 2.88224H9.32063V0.122233C9.04723 0.0846229 8.10697 0 7.01194 0C4.72712 0 3.16196 1.43714 3.16196 4.07854V6.50946H0.640625V9.59494H3.16196V17.3586H6.25322V9.59566H8.67257L9.05663 6.51018H6.2525V4.38448C6.25322 3.49269 6.49335 2.88224 7.73593 2.88224Z","fill","black"],["href","https://twitter.com/abccargocourier","target","_blank"],["width","18","height","16","viewBox","0 0 18 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M16.2166 3.94816C16.2279 4.1109 16.2279 4.27363 16.2279 4.43744C16.2279 9.40032 12.6476 15.1197 6.10494 15.1197C4.08914 15.1197 2.2163 14.5033 0.640625 13.4342C0.927576 13.4687 1.20329 13.4795 1.50046 13.4795C3.16395 13.4795 4.69367 12.8867 5.91704 11.8758C4.3526 11.8413 3.04243 10.7593 2.59107 9.27099C2.81062 9.30548 3.0312 9.32919 3.26096 9.32919C3.58161 9.32919 3.90124 9.28285 4.1984 9.20202C2.56861 8.85284 1.34524 7.34188 1.34524 5.51731C1.34524 5.50546 1.34524 5.48175 1.34524 5.47097C1.81906 5.74902 2.36948 5.92361 2.95359 5.94732C1.99573 5.27267 1.3677 4.12167 1.3677 2.82087C1.3677 2.12359 
11.54437 1.48343 1.85276 0.925172C3.60408 3.20454 6.23667 4.69286 9.18889 4.85452C9.13273 4.57539 9.10005 4.28441 9.10005 3.99342C9.10005 1.92529 10.687 0.239746 12.6578 0.239746C13.6821 0.239746 14.6073 0.692386 15.2577 1.42523C16.0614 1.2625 16.8314 0.948882 17.5156 0.518874C17.2511 1.39074 16.6894 2.12359 15.9511 2.58701C16.668 2.50618 17.3614 2.2971 18.0006 2.00612C17.5156 2.74974 16.91 3.41361 16.2166 3.94816Z","fill","black"],[1,"col-xl-10"],[1,"footer-link-wraper"],[1,"footer-link-container","d-flex","justify-content-between","w-100","flex-wrap","flex-lg-nowrap"],["id","menu-item-63",1,"menu-item","menu-item-type-custom","menu-item-object-custom","menu-item-has-children","menu-item-63","footer-links"],["href","#0"],[1,"sub-menu"],["id","menu-item-3880",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3880"],["href","https://abccargo.ae/services/road-freight/"],["id","menu-item-3879",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3879"],["href","https://abccargo.ae/services/sea-freight/"],["id","menu-item-3878",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3878"],["href","https://abccargo.ae/services/air-freight/"],["id","menu-item-3877",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3877"],["href","https://abccargo.ae/services/international-and-domestic-door-to-door-pickup-and-delivery/"],["id","menu-item-3885",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3885"],["href","https://abccargo.ae/solution/customs-clearance/"],["id","menu-item-3884",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3884"],["href","https://abccargo.ae/solution/documentation/"],["id","menu-item-3883",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3883"],["href","https://abccargo.ae/solution/insurance/"],["id","menu-item-3882",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3882"],["href","https://abccargo.ae/solution/warehousing-and-distribution/"],["id","menu-item-3881",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3881"],["href","https://abccargo.ae/solution/packing-and-shipping/"],["id","menu-item-74",1,"menu-item","menu-item-type-custom","menu-item-object-custom","menu-item-has-children","menu-item-74","footer-links"],["id","menu-item-153",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-home","menu-item-153"],["id","menu-item-116",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-116"],["href","https://abccargo.ae/about-us/"],["id","menu-item-112",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-112"],["href","https://abccargo.ae/services/"],["id","menu-item-113",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-113"],["href","https://abccargo.ae/features/"],["id","menu-item-115",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-115"],["href","https://abccargo.ae/blog/"],["id","menu-item-81",1,"menu-item","menu-item-type-custom","menu-item-object-custom","current-menu-ancestor","current-menu-parent","menu-item-has-children","menu-item-81","footer-links"],["id","menu-item-184",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-184"],["href","https://abccargo.ae/locations/"],["id","menu-item-111",1,"menu-item","menu-item-type-post_type","menu-item-object-page","current-menu-item","page_item","page-item-11","current_page_item","menu-item-111"],["href","https://abccargo.ae/careers/","aria-current","page"],["id","menu-item-109",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-109"],["href","https://abccargo.ae/testimonial/"],["id","menu-item-110",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-110"],["href","https://abccargo.ae/customer-info/"],["id","menu-item-107",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-107"],["href","https://abccargo.ae/contact/"],["id","menu-item-192",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-192"],["href","https://abccargo.ae/abc-cargo-faq/"],[1,"footer-links","ftr-contact","me-0"],[1,"contact-links"],[1,"toll-free"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1 16V10C1 7.61305 1.94821 5.32387 3.63604 3.63604C5.32387 1.94821 7.61305 1 10 1C12.3869 1 14.6761 1.94821 16.364 3.63604C18.0518 5.32387 19 7.61305 19 10V16","
1stroke","#E64A3C","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M19 17C19 17.5304 18.7893 18.0391 18.4142 18.4142C18.0391 18.7893 17.5304 19 17 19H16C15.4696 19 14.9609 18.7893 14.5858 18.4142C14.2107 18.0391 14 17.5304 14 17V14C14 13.4696 14.2107 12.9609 14.5858 12.5858C14.9609 12.2107 15.4696 12 16 12H19V17ZM1 17C1 17.5304 1.21071 18.0391 1.58579 18.4142C1.96086 18.7893 2.46957 19 3 19H4C4.53043 19 5.03914 18.7893 5.41421 18.4142C5.78929 18.0391 6 17.5304 6 17V14C6 13.4696 5.78929 12.9609 5.41421 12.5858C5.03914 12.2107 4.53043 12 4 12H1V17Z","stroke","#E64A3C","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["href","tel:+971 800 916"],["width","20","height","24","viewBox","0 0 20 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M19 10C19 17 10 23 10 23C10 23 1 17 1 10C1 7.61305 1.94821 5.32387 3.63604 3.63604C5.32387 1.94821 7.61305 1 10 1C12.3869 1 14.6761 1.94821 16.364 3.63604C18.0518 5.32387 19 7.61305 19 10Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["d","M10 13C11.6569 13 13 11.6569 13 10C13 8.34315 11.6569 7 10 7C8.34315 7 7 8.34315 7 10C7 11.6569 8.34315 13 10 13Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["width","21","height","17","viewBox","0 0 21 17","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M2.875 1H17.875C18.9063 1 19.75 1.84375 19.75 2.875V14.125C19.75 15.1563 18.9063 16 17.875 16H2.875C1.84375 16 1 15.1563 1 14.125V2.875C1 1.84375 1.84375 1 2.875 1Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["d","M19.75 2.875L10.375 9.4375L1 2.875","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["href","mailto:[email protected]",2,"text-transform","lowercase"],["d","M18.9994 14.4765V17.1862C19.0005 17.4377 18.9488 17.6867 18.8479 17.9172C18.7469 18.1477 18.5988 18.3546 18.413 18.5247C18.2273 18.6947 18.008 18.8242 17.7693 18.9048C17.5305 18.9854 17.2775 19.0153 17.0265 18.9927C14.2415 18.6907 11.5664 17.7409 9.21601 16.2197C7.02929 14.8329 5.17534 12.9827 3.7858 10.8003C2.25627 8.44389 1.30442 5.76107 1.00735 2.96915C0.98473 2.71938 1.01447 2.46764 1.09468 2.22996C1.17489 1.99229 1.30381 1.77389 1.47323 1.58866C1.64265 1.40343 1.84885 1.25544 2.07872 1.15411C2.30858 1.05278 2.55707 1.00032 2.80837 1.00009H5.52347C5.96269 0.995773 6.3885 1.151 6.72152 1.43683C7.05455 1.72267 7.27207 2.11961 7.33354 2.55366C7.44814 3.42084 7.66067 4.27229 7.96707 5.09177C8.08883 5.41507 8.11519 5.76642 8.043 6.1042C7.97082 6.44198 7.80313 6.75203 7.5598 6.99761L6.41041 8.14473C7.69877 10.406 9.57482 12.2784 11.8406 13.5642L12.99 12.4171C13.2361 12.1742 13.5467 12.0069 13.8852 11.9348C14.2236 11.8628 14.5757 11.8891 14.8996 12.0106C15.7207 12.3164 16.5739 12.5285 17.4428 12.6429C17.8824 12.7048 18.2839 12.9258 18.5709 13.2639C18.858 13.6019 19.0105 14.0335 18.9994 14.4765Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],[1,"contact-num"],["href","tel:+971 4 3332378"],["href","tel:+971 56 5395358"],[1,"mt-3"],[1,"d-xl-none"],[1,"d-flex","align-items-center","mt-2","d-xl-none"],["href","https://play.google.com/store/apps/details?id=com.myabccustomer","target","blank",1,"me-3"],[1,"footer-credit"],[1,"row","align-items-center"],[1,"col-md-8"],[1,"mb-2","mb-md-0"],["href","https://abccargo.ae/privacy-policy"],["href","https://abccargo.ae/fraud-awareness"],[1,"col-md-4","text-end"],[1,"d-flex","align-items-center","justify-content-center","justify-content-md-end"],["href","https://wefttechnologies.com/","target","_blank"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/weft.gif",1,"c-logo"],["href","https://api.whatsapp.com/send?phone=+971800916&text=Hi, I\u2019m interested to know more about services.","target","_blank",1,"whatzapp-float"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/icons/whatsapp-icon.svg","alt",""],[3,"formGroup"],[1,"col-md-12"],[1,"form-grid"],["for","Full Name",1,"form-label","required"],["type","text","formControlName","customerName","placeholder","Enter Full Name",1,"form-control","form-control-sm"],["class","invali
1d-feedback",4,"ngIf"],["type","text","formControlName","phoneNumber","placeholder","Enter Phone",1,"form-control","form-control-sm"],["type","text","formControlName","email","placeholder","Enter Email",1,"form-control","form-control-sm"],["formControlName","password","type","password","placeholder","ENTER PASSWORD",1,"form-control"],["class","alert alert-danger",4,"ngIf"],["formControlName","confirmpassword","type","password","placeholder","ENTER PASSWORD",1,"form-control"],[4,"ngIf"],[1,"col-12"],["type","submit",1,"btn",3,"click"],[1,"invalid-feedback"],[1,"alert","alert-danger"],["class","error-text",3,"ngClass",4,"ngIf"],[1,"error-text",3,"ngClass"]],template:function(e,t){1&e&&(o.Rb(0,"header",0),o.Rb(1,"div",1),o.Rb(2,"div",2),o.Rb(3,"a",3),o.Mb(4,"img",4),o.Qb(),o.Qb(),o.Rb(5,"div",5),o.Rb(6,"div",6),o.Mb(7,"div",7),o.Mb(8,"div",8),o.Mb(9,"div",9),o.Qb(),o.Rb(10,"div",10),o.Mb(11,"ul",11),o.Qb(),o.Rb(12,"div",12),o.Rb(13,"a",13),o.Ec(14,"Login / Register"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Mb(15,"div",14),o.Qb(),o.Rb(16,"main",15),o.Rb(17,"div",16),o.Rb(18,"div",17),o.Rb(19,"h1",18),o.Ec(20,"Register"),o.Qb(),o.Rb(21,"p",19),o.Ec(22,"Fill to create your account."),o.Qb(),o.Qb(),o.Rb(23,"section",20),o.Rb(24,"div",21),o.Cc(25,$,36,6,"form",22),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(26,"footer"),o.Rb(27,"div",16),o.Rb(28,"div",23),o.Rb(29,"div",24),o.Rb(30,"div",25),o.Rb(31,"div",26),o.Rb(32,"div",27),o.Rb(33,"a",3),o.Mb(34,"img",28),o.Qb(),o.Qb(),o.Rb(35,"div",29),o.Rb(36,"p",30),o.Ec(37,"Scan & Download App"),o.Qb(),o.Mb(38,"img",31),o.Qb(),o.Rb(39,"div",32),o.Rb(40,"div",33),o.Rb(41,"p",34),o.Ec(42,"Download App"),o.Qb(),o.Rb(43,"div",35),o.Rb(44,"a",36),o.Mb(45,"img",37),o.Qb(),o.Rb(46,"a",38),o.Mb(47,"img",39),o.Qb(),o.Qb(),o.Qb(),o.Rb(48,"ul",40),o.Rb(49,"li"),o.Rb(50,"a",41),o.dc(),o.Rb(51,"svg",42),o.Mb(52,"path",43),o.Mb(53,"path",44),o.Mb(54,"path",45),o.Qb(),o.Qb(),o.Qb(),o.cc(),o.Rb(55,"li"),o.Rb(56,"a",46),o.dc(),o.Rb(57,"svg",47),o.Mb(58,"path",48),o.Mb(59,"path",49),o.Mb(60,"path",50),o.Qb(),o.Qb(),o.Qb(),o.cc(),o.Rb(61,"li"),o.Rb(62,"a",51),o.dc(),o.Rb(63,"svg",52),o.Mb(64,"path",53),o.Qb(),o.Qb(),o.Qb(),o.cc(),o.Rb(65,"li"),o.Rb(66,"a",54),o.dc(),o.Rb(67,"svg",55),o.Mb(68,"path",56),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.cc(),o.Rb(69,"div",57),o.Rb(70,"div",58),o.Rb(71,"ul",59),o.Rb(72,"li",60),o.Rb(73,"a",61),o.Ec(74,"Solutions & Services"),o.Qb(),o.Rb(75,"ul",62),o.Rb(76,"li",63),o.Rb(77,"a",64),o.Ec(78,"Road Freight"),o.Qb(),o.Qb(),o.Rb(79,"li",65),o.Rb(80,"a",66),o.Ec(81,"Sea Freight"),o.Qb(),o.Qb(),o.Rb(82,"li",67),o.Rb(83,"a",68),o.Ec(84,"Air Freight"),o.Qb(),o.Qb(),o.Rb(85,"li",69),o.Rb(86,"a",70),o.Ec(87,"Domestic and International Courier"),o.Qb(),o.Qb(),o.Rb(88,"li",71),o.Rb(89,"a",72),o.Ec(90,"Customs Clearance"),o.Qb(),o.Qb(),o.Rb(91,"li",73),o.Rb(92,"a",74),o.Ec(93,"Documentation"),o.Qb(),o.Qb(),o.Rb(94,"li",75),o.Rb(95,"a",76),o.Ec(96,"Insurance"),o.Qb(),o.Qb(),o.Rb(97,"li",77),o.Rb(98,"a",78),o.Ec(99,"Warehousing and Distribution"),o.Qb(),o.Qb(),o.Rb(100,"li",79),o.Rb(101,"a",80),o.Ec(102,"Packing and Shipping"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(103,"li",81),o.Rb(104,"a",61),o.Ec(105,"Company Info"),o.Qb(),o.Rb(106,"ul",62),o.Rb(107,"li",82),o.Rb(108,"a",3),o.Ec(109,"Home"),o.Qb(),o.Qb(),o.Rb(110,"li",83),o.Rb(111,"a",84),o.Ec(112,"About Us"),o.Qb(),o.Qb(),o.Rb(113,"li",85),o.Rb(114,"a",86),o.Ec(115,"Solutions"),o.Qb(),o.Qb(),o.Rb(116,"li",87),o.Rb(117,"a",88),o.Ec(118,"Services"),o.Qb(),o.Qb(),o.Rb(119,"li",89),o.Rb(120,"a",90),o.Ec(121,"Blog"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(122,"li",91),o.Rb(123,"a",61),o.Ec(124,"Support"),o.Qb(),o.Rb(125,"ul",62),o.Rb(126,"li",92),o.Rb(127,"a",93),o.Ec(128,"Locations"),o.Qb(),o.Qb(),o.Rb(129,"li",94),o.Rb(130,"a",95),o.Ec(131,"Careers"),o.Qb(),o.Qb(),o.Rb(132,"li",96),o.Rb(133,"a",97),o.Ec(134,"Testimonials"),o.Qb(),o.Qb(),o.Rb(135,"li",98),o.Rb(136,"a",99),o.Ec(137,"Prohibited Itineraries"),o.Qb(),o.Qb(),o.Rb(138,"li",100),o.Rb(139,"a",101),o.Ec(140,"Contact"),o.Qb(),o.Qb(),o.Rb(141,"li",102),o.Rb(142,"a",103),o.Ec(143,"FAQ"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(144,"div",104),o.Rb(145,"ul",105),o.Rb(146,"li",106),o.Rb(147,"span"),o.dc(),o.Rb(148,"svg",107),o.Mb(149,"path",108),o.Mb(150,"path",109),o.Qb(),o.Qb(),o.cc(),o.Rb(151,"a",110),o.Ec(152,"800 916"),o.Qb(),o.Qb(),o.Rb(153,"li"),o.Rb(154,"span"),o.dc(),o.Rb(155,"svg",111),o.Mb(156,"path",112),o.Mb(157,"path",113),o.Qb(),o.Qb(),o.cc(),o.Rb(158,"address"),o.Rb(159,"span"),o.Ec(160,"Head Quarters:"),o.Qb(),o.Ec(161," Al Quoz Opp. Al Khail Mall, Al Quoz"),o.Qb(),o.Qb(),o.Rb(162,"li"),o.Rb(163,"span"),o.dc(),o.Rb(164,"svg",114),o.Mb(165,"path",115),o.Mb(166,"path",116),o.Qb(),o.Qb(),o.cc(),o.Rb(167,"a",117),o.Ec(168,"[email protected]"),o.Qb(),o.Qb(),o.Rb(169,"li"),o.Rb(170,"span"),o.dc(),o.Rb(171,"svg",107),o.Mb(172,"path",118),o.Qb(),o.Qb(),o.cc(),o.Rb(173,"div",119),o.Rb(174,"a",120),o.Ec(175,"+971 4 3332378"),o.Qb(),o.Rb(176,"a",121),o.Ec(177,"+971 56 5395358"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(178,"div",122),o.Rb(179,"p",123),o.Ec(180,"Download the MYABC App"),o.Qb(),o.Rb(181,"div",124),o.Rb(182,"a",125),o.Mb(183,"img",37),o.Qb(),o.Rb(184,"a",38),o.Mb(185,"img",39),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(186,"div",126),o.Rb(187,"div",127),o.Rb(188,"div",128),o.Rb(189,"p",129),o.Ec(190," \xa92025 ABC CARGO. All rights reserved. "),o.Rb(191,"span"),o.Rb(192,"a",130),o.Ec(193,"Privacy Policy"),o.Qb(),o.Qb(),o.Ec(194," | "),o.Rb(195,"span"),o.Rb(196,"a",131),o.Ec(197,"Fraud Awareness"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(198,"div",132),o.Rb(199,"p",133),o.Ec(200,"Design & Developed by "),o.Rb(201,"span"),o.Rb(202,"a",134),o.Mb(203,"img",135),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(204,"a",136),o.Mb(205,"img",137),o.Qb(),o.Qb()),2&e&&(o.zb(25),o.kc("ngIf",t.resourceForm))},directives:[i.l,h.s,h.n,h.h,h.b,h.m,h.f,i.j],styles:[""]}),e})();const K=function(e){return{"app-l-error-text":e}};function U(e,t){if(1&e&&(o.Rb(0,"div",25),o.Ec(1," Password Required "),o.Qb()),2&e){const e=o.ec(2);o.kc("ngClass",o.pc(1,K,e.f.password.errors.required))}}function q(e,t){1&e&&(o.Rb(0,"div",26),o.Ec(1,"Password length should be less than 15"),o.Qb())}function J(e,t){1&e&&(o.Rb(0,"div",26),o.Ec(1,"Must contain atleast one number"),o.Qb())}function X(e,t){1&e&&(o.Rb(0,"div",26),o.Ec(1,"Must contain atleast one capital case"),o.Qb())}function Z(e,t){1&e&&(o.Rb(0,"div",26),o.Ec(1," Must contain atleast one small case"),o.Qb())}function ee(e,t){1&e&&(o.Rb(0,"div",26),o.Ec(1,"Must contain atleast one special character"),o.Qb())}function te(e,t){if(1&e&&(o.Rb(0,"div",22),o.Cc(1,U,2,3,"div",23),o.Cc(2,q,2,0,"div",24),o.Cc(3,J,2,0,"div",24),o.Cc(4,X,2,0,"div",24),o.Cc(5,Z,2,0,"div",24),o.Cc(6,ee,2,0,"div",24),o.Qb()),2&e){const e=o.ec();o.zb(1),o.kc("ngIf",e.f.password.errors.required),o.zb(1),o.kc("ngIf",e.f.password.errors.maxlength),o.zb(1),o.kc("ngIf",e.f.password.hasError("hasNumber")),o.zb(1),o.kc("ngIf",e.f.password.hasError("hasCapitalCase")),o.zb(1),o.kc("ngIf",e.f.password.hasError("hasSmallCase")),o.zb(1),o.kc("ngIf",e.f.password.hasError("hasSpecialCharacters"))}}function ne(e,t){if(1&e&&(o.Rb(0,"div",25),o.Ec(1," Confirm Password Required "),o.Qb()),2&e){const e=o.ec(2);o.kc("ngClass",o.pc(1,K,e.f.confirmPassword.errors.required))}}function ie(e,t){if(1&e&&(o.Rb(0,"div",25),o.Ec(1," Password does not match "),o.Qb()),2&e){const e=o.ec(2);o.kc("ngClass",o.pc(1,K,e.f.confirmPassword.errors.mustMatch))}}function re(e,t){if(1&e&&(o.Rb(0,"div",22),o.Cc(1,ne,2,3,"div",23),o.Cc(2,ie,2,3,"div",23),o.Qb()),2&e){const e=o.ec();o.zb(1),o.kc("ngIf",e.f.confirmPassword.errors.required),o.zb(1),o.kc("ngIf",e.f.confirmPassword.errors.mustMatch)}}const oe=function(e,t){return{"fa-eye-slash":e,"fa-eye":t}};let se=(()=>{class e{constructor(e,t,n,i,r){this.bsModalRef=e,this.fb=t,this.router=n,this.httpService=i,this.toastrService=r,this.submitted=!1,this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn"))}ngOnInit(){this.createForm()}createForm(){this.resetPassForm=this.fb.group({password:new h.d("",h.r.compose([h.r.required,h.r.maxLength(15),this.patternValidator(/\d/,{hasNumber:!0}),this.patternValidator(/[A-Z]/,{hasCapitalCase:!0}),this.patternValidator(/[a-z]/,{hasSmallCase:!0}),this.patternValidator(/(?=.*[$@#$!%*?&])[A-Za-z\d$@#$!%*?&]/,{hasS
1pecialCharacters:!0})])),confirmPassword:new h.d("",h.r.required)},{validator:this.passwordMatch("password","confirmPassword")})}patternValidator(e,t){return n=>n.value?e.test(n.value)?null:t:null}passwordMatch(e,t){return n=>{const i=n.controls[t];i.errors&&!i.errors.mustMatch||i.setErrors(n.controls[e].value!==i.value?{mustMatch:!0}:null)}}get f(){return this.resetPassForm.controls}Exit(){this.bsModalRef.hide()}reset(){if(this.submitted=!0,!this.resetPassForm.invalid){let e={email:this.email,password:this.resetPassForm.controls.password.value};console.log(y.a.otpService+"/Customer/passwordChange"),this.httpService.put(y.a.otpService+"/Customer/passwordChange",e).subscribe(e=>{e&&(this.toastrService.success("Password changed successfully","Success"),this.bsModalRef.hide(),this.router.navigate(["/login"],{replaceUrl:!0}))})}}toggleFieldTextType(){this.fieldTextType=!this.fieldTextType}reEnterPassword(){this.fieldTextType2=!this.fieldTextType2}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(r.a),o.Lb(h.c),o.Lb(m.c),o.Lb(w.a),o.Lb(C.b))},e.\u0275cmp=o.Fb({type:e,selectors:[["app-resetpassword"]],decls:29,vars:13,consts:[[3,"formGroup"],["tabindex","-2","role","dialog","aria-labelledby","exampleModalCenterTitle","aria-hidden","true",1,"user-login"],[1,"modal-content"],[1,"modal-header","justify-content-end"],["type","button","data-dismiss","modal","aria-label","Close",1,"close","modal-close-btn",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"row","align-items-center","justify-content-center","text-center"],[1,"col-xl-7","col-lg-7","col-md-7","col-12"],[1,"login-right-section"],[1,"login-form-container"],[1,"form-group"],["placeholder","New Password","formControlName","password",1,"w-100",3,"type"],[1,"input-group-append"],[1,"input-group-text",3,"click"],[1,"fa",3,"ngClass"],["class","validation-field",4,"ngIf"],["placeholder","Confirm Password","formControlName","confirmPassword",1,"w-100",3,"type"],[1,"login-btn-container"],[1,"row","justify-content-center"],[1,"col-7"],["type","submit",1,"btn","btn-dark","w-100","login-btn",3,"click"],[1,"validation-field"],["class","error-text",3,"ngClass",4,"ngIf"],["class","error-text",4,"ngIf"],[1,"error-text",3,"ngClass"],[1,"error-text"]],template:function(e,t){1&e&&(o.Rb(0,"form",0),o.Rb(1,"div",1),o.Rb(2,"div",2),o.Rb(3,"div",3),o.Rb(4,"button",4),o.ac("click",(function(){return t.Exit()})),o.Rb(5,"span",5),o.Ec(6,"\xd7"),o.Qb(),o.Qb(),o.Qb(),o.Rb(7,"div",6),o.Rb(8,"div",7),o.Rb(9,"div",8),o.Rb(10,"div",9),o.Rb(11,"div",10),o.Rb(12,"div",11),o.Mb(13,"input",12),o.Rb(14,"div",13),o.Rb(15,"span",14),o.ac("click",(function(){return t.toggleFieldTextType()})),o.Mb(16,"i",15),o.Qb(),o.Qb(),o.Cc(17,te,7,6,"div",16),o.Qb(),o.Rb(18,"div",11),o.Mb(19,"input",17),o.Rb(20,"div",13),o.Rb(21,"span",14),o.ac("click",(function(){return t.reEnterPassword()})),o.Mb(22,"i",15),o.Qb(),o.Qb(),o.Cc(23,re,3,2,"div",16),o.Qb(),o.Rb(24,"div",18),o.Rb(25,"div",19),o.Rb(26,"div",20),o.Rb(27,"button",21),o.ac("click",(function(){return t.reset()})),o.Ec(28,"Confirm"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb()),2&e&&(o.kc("formGroup",t.resetPassForm),o.zb(13),o.kc("type",t.fieldTextType?"text":"password"),o.zb(3),o.kc("ngClass",o.qc(7,oe,!t.fieldTextType,t.fieldTextType)),o.zb(1),o.kc("ngIf",t.f.password.errors&&(t.f.password.touched||t.f.password.dirty||t.submitted)),o.zb(2),o.kc("type",t.fieldTextType2?"text":"password"),o.zb(3),o.kc("ngClass",o.qc(10,oe,!t.fieldTextType2,t.fieldTextType2)),o.zb(1),o.kc("ngIf",t.f.confirmPassword.errors&&(t.f.confirmPassword.touched||t.f.confirmPassword.dirty||t.submitted)))},directives:[h.s,h.n,h.h,h.b,h.m,h.f,i.j,i.l],styles:["input[_ngcontent-%COMP%]{padding:15px}.error-text[_ngcontent-%COMP%]{color:#fe2815;font-size:12px}.modal-close-btn[_ngcontent-%COMP%]{color:#fff;border:0}.login-btn-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .modal
1-close-btn[_ngcontent-%COMP%]{background-color:#fe2815}"]}),e})();var ae=n("9OaD");function le(e,t){if(1&e&&(o.Rb(0,"span",148),o.Ec(1),o.Qb()),2&e){const e=o.ec();o.zb(1),o.Fc(e.responseMessage)}}function ce(e,t){1&e&&(o.Rb(0,"div",148),o.Ec(1,"Email is required"),o.Qb())}function ue(e,t){if(1&e&&(o.Rb(0,"div"),o.Cc(1,ce,2,0,"div",27),o.Qb()),2&e){const e=o.ec();o.zb(1),o.kc("ngIf",e.f.email.errors.required)}}const de=function(e){return{"invalid-feedback":e}};function he(e,t){if(1&e&&(o.Rb(0,"span",150),o.Ec(1," Invalid Email "),o.Qb()),2&e){const e=o.ec(2);o.kc("ngClass",o.pc(1,de,e.f.email.errors.email))}}function pe(e,t){if(1&e&&(o.Rb(0,"span"),o.Cc(1,he,2,3,"span",149),o.Qb()),2&e){const e=o.ec();o.zb(1),o.kc("ngIf",e.f.email.errors.email&&e.f.email.touched)}}function fe(e,t){if(1&e){const e=o.Sb();o.Rb(0,"div",151),o.Rb(1,"div",26),o.Rb(2,"div",152),o.Rb(3,"h4"),o.Ec(4,"Enter OTP"),o.Qb(),o.Rb(5,"p",153),o.Ec(6,"We have sent an OTP to your email"),o.Qb(),o.Rb(7,"p"),o.Ec(8),o.Qb(),o.Rb(9,"span",148),o.Ec(10),o.Qb(),o.Rb(11,"div",154),o.Rb(12,"ng-otp-input",155),o.ac("onInputChange",(function(t){return o.wc(e),o.ec().onOtpChange(t)})),o.Qb(),o.Qb(),o.Rb(13,"p",156),o.Ec(14,"Dont receive OTP? "),o.Rb(15,"span"),o.Rb(16,"a",157),o.ac("click",(function(){return o.wc(e),o.ec().sendEmail()})),o.Ec(17,"Resend OTP"),o.Qb(),o.Qb(),o.Qb(),o.Rb(18,"a",158),o.Rb(19,"button",159),o.ac("click",(function(){return o.wc(e),o.ec().validateOTP()})),o.Ec(20,"Reset my password"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb()}if(2&e){const e=o.ec();o.zb(8),o.Fc(e.f.email.value),o.zb(2),o.Fc(null==e.otpResponse?null:e.otpResponse.message),o.zb(2),o.kc("config",e.config)}}const me=[{path:"privacy-policy",component:g},{path:"terms-of-service",component:_},{path:"register",component:G},{path:"forgotpassword",component:(()=>{class e{constructor(e,t,n,i){this.toastrService=e,this.modalService=t,this.fb=n,this.httpService=i,this.submitted=!1,this.otpData=[],this.config={allowNumbersOnly:!1,length:4,isPasswordInput:!1,disableAutoFocus:!1,placeholder:"",inputStyles:{width:"30px",height:"30px","font-size":"15px",outline:"none",padding:"10px 8px"}},this.noEmail=!1}ngOnInit(){this.createForm()}createForm(){this.forgetPasswordForm=this.fb.group({email:new h.d("",h.r.compose([h.r.required,h.r.email])),otp:new h.d})}get f(){return this.forgetPasswordForm.controls}sendEmail(){this.submitted=!0,this.forgetPasswordForm.invalid||this.httpService.get(y.a.otpService+"/ForgotPassword/"+this.forgetPasswordForm.controls.email.value).subscribe(e=>{e&&(this.otpData=e,console.log(this.otpData),"Null"==this.otpData.otp?(this.noEmail=!1,this.responseMessage=this.otpData.message,console.log(this.responseMessage)):this.noEmail=!0)})}onOtpChange(e){this.otp=e}validateOTP(){this.otpInput=this.otpData.otp,console.log(this.otpInput),console.log(this.otp),this.otp==this.otpInput?this.bsModalRef=this.modalService.show(se,{initialState:{email:this.forgetPasswordForm.controls.email.value},backdrop:"static",keyboard:!1,class:"modal-lg modal-dialog-centered forget-password"}):this.toastrService.error("Invalid OTP")}Exit(){}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(C.b),o.Lb(r.b),o.Lb(h.c),o.Lb(w.a))},e.\u0275cmp=o.Fb({type:e,selectors:[["app-forgotpassword"]],decls:221,vars:5,consts:[[1,"nav-down"],[1,"header-wraper"],[1,"logo"],["href","https://abccargo.ae/"],["src","assets/images/abclogo.png","alt",""],[1,"menu-container"],[1,"hand-burger-box","d-lg-none"],[1,"hand-burger","one"],[1,"hand-burger","two"],[1,"hand-burger","three"],[1,"menu-item-wraper"],["id","menu-header-menu",1,"menu"],[1,"header-right"],["href","",1,"get-a-quote","d-none","d-lg-flex"],[1,"backdrop","d-lg-none"],[1,"career-page"],[1,"max-1490"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"section-description"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-md-4","col-sm-8","col-12","get-a-quote-form-wraper"],[3,"formGroup"],["tabindex","-2","role","dialog","aria-labelledby","exampleModalCenterTitle","aria-hidden","true",1,"user-login"],[1,"row"],[1,"col-md-12"],[1,"form-grid"],["class","invali
1d-feedback",4,"ngIf"],["for","Full Name",1,"form-label","required"],["type","email","placeholder","Email address","formControlName","email",1,"w-100","pl-3"],[4,"ngIf"],[1,"col-12"],["type","submit",1,"btn","otp-btn-new",3,"click"],["class","col-12 mt-3",4,"ngIf"],[1,"footer-container"],[1,"col-xl-2"],[1,"d-flex","flex-column","justify-content-between","h-100","align-items-center"],[1,"footer-logo"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/abc-footer-logo.png","alt","Footer Logo"],[1,"qr-code","mt-3","text-center"],[1,"mb-1","dwnload_text",2,"color","#E64A3C"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/abc-qr-code.png"],[1,"social-icons"],[1,"footer-links","d-none","d-xl-block","text-center"],[1,"dwnload_text"],[1,"d-flex","align-items-center","mt-2"],["href","https://play.google.com/store/apps/details?id=com.myabccustomer","target","blank",1,"me-2"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/android-icon.png",1,"w-100"],["href","https://apps.apple.com/us/app/my-abc/id6443482756","target","blank"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/apple-icon.png",1,"w-100"],[1,"justify-content-center"],["href","https://www.linkedin.com/company/abc-cargo-courier","target","_blank"],["width","15","height","14","viewBox","0 0 15 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M14.8747 13.6316V13.631H14.8785V8.71954C14.8785 6.31681 14.3037 4.46594 11.1827 4.46594C9.68228 4.46594 8.67541 5.20696 8.26435 5.90948H8.22096V4.69026H5.26172V13.631H8.34309V9.20388C8.34309 8.03823 8.58861 6.91108 10.1925 6.91108C11.7729 6.91108 11.7965 8.24134 11.7965 9.27866V13.6316H14.8747Z","fill","black"],["d","M0.244141 4.69104H3.32924V13.6318H0.244141V4.69104Z","fill","black"],["d","M1.78683 0.239746C0.800414 0.239746 0 0.960119 0 1.84789C0 2.73566 0.800414 3.4711 1.78683 3.4711C2.77324 3.4711 3.57365 2.73566 3.57365 1.84789C3.57303 0.960119 2.77262 0.239746 1.78683 0.239746V0.239746Z","fill","black"],["href","https://www.instagram.com/abccargoandcourier/","target","_blank"],["width","17","height","17","viewBox","0 0 17 17","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11.6366 0H4.88183C2.29982 0 0.199219 2.10061 0.199219 4.68261V11.4374C0.199219 14.0194 2.29982 16.12 4.88183 16.12H11.6366C14.2186 16.12 16.3192 14.0194 16.3192 11.4374V4.68261C16.3192 2.10061 14.2186 0 11.6366 0ZM15.0598 11.4374C15.0598 13.325 13.5242 14.8606 11.6366 14.8606H4.88183C2.99424 14.8606 1.45859 13.325 1.45859 11.4374V4.68261C1.45859 2.79503 2.99424 1.25938 4.88183 1.25938H11.6366C13.5242 1.25938 15.0598 2.79503 15.0598 4.68261V11.4374Z","fill","black"],["d","M8.25891 3.71521C5.86313 3.71521 3.91406 5.66428 3.91406 8.06005C3.91406 10.4558 5.86313 12.4049 8.25891 12.4049C10.6547 12.4049 12.6038 10.4558 12.6038 8.06005C12.6038 5.66428 10.6547 3.71521 8.25891 3.71521ZM8.25891 11.1455C6.55759 11.1455 5.17344 9.76137 5.17344 8.06005C5.17344 6.35873 6.55759 4.97459 8.25891 4.97459C9.96023 4.97459 11.3444 6.35873 11.3444 8.06005C11.3444 9.76137 9.96023 11.1455 8.25891 11.1455Z","fill","black"],["d","M12.6668 4.28171C13.0146 4.28171 13.2965 3.99979 13.2965 3.65203C13.2965 3.30426 13.0146 3.02234 12.6668 3.02234C12.319 3.02234 12.0371 3.30426 12.0371 3.65203C12.0371 3.99979 12.319 4.28171 12.6668 4.28171Z","fill","black"],["href","https://www.facebook.com/abccargocourier","target","_blank"],["width","10","height","18","viewBox","0 0 10 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.73593 2.88224H9.32063V0.122233C9.04723 0.0846229 8.10697 0 7.01194 0C4.72712 0 3.16196 1.43714 3.16196 4.07854V6.50946H0.640625V9.59494H3.16196V17.3586H6.25322V9.59566H8.67257L9.05663 6.51018H6.2525V4.38448C6.25322 3.49269 6.49335 2.88224 7.73593 2.88224Z","fill","black"],["href","https://twitter.com/abccargocourier","target","_blank"],["width","18","height","16","viewBox","0 0 18 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M16.2166 3.94816C16.2279 4.1109 16.2279 4.27363 16.2279 4.43744C16.2279 9.40032 12.6476 15.1197 6.10494 15.1197C4.08914 15.1197 2.2163 14.5033 0.640625 13.4342C0.927576 13.4687 1.20329 13.4795 1.50046 13.4795C3.16395 13.4795 4.69367 12.8867 5.91704 11.8758C4.3526 11.8413 3.04243 10.7593 2.59107 9.27099C2.81062 9.30548 3.0312 9.32919 3.26096 9.32919C3.58161 9.32919 3.90124 9.28285 4.1984 9.20202C2.56861 8.85284 1.34524 7.34188 1.34524 5.51731C1.34524 5.50546 1.34524 5.48175 1.34524 5.47097C1.81906 5.74902 2.36948 5.92361 2.95359 5.94732C1.99573 5.27267 1.3677 4.12167 1.3677 2.82087C1.3677 2.12359 
11.54437 1.48343 1.85276 0.925172C3.60408 3.20454 6.23667 4.69286 9.18889 4.85452C9.13273 4.57539 9.10005 4.28441 9.10005 3.99342C9.10005 1.92529 10.687 0.239746 12.6578 0.239746C13.6821 0.239746 14.6073 0.692386 15.2577 1.42523C16.0614 1.2625 16.8314 0.948882 17.5156 0.518874C17.2511 1.39074 16.6894 2.12359 15.9511 2.58701C16.668 2.50618 17.3614 2.2971 18.0006 2.00612C17.5156 2.74974 16.91 3.41361 16.2166 3.94816Z","fill","black"],[1,"col-xl-10"],[1,"footer-link-wraper"],[1,"footer-link-container","d-flex","justify-content-between","w-100","flex-wrap","flex-lg-nowrap"],["id","menu-item-63",1,"menu-item","menu-item-type-custom","menu-item-object-custom","menu-item-has-children","menu-item-63","footer-links"],["href","#0"],[1,"sub-menu"],["id","menu-item-3880",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3880"],["href","https://abccargo.ae/services/road-freight/"],["id","menu-item-3879",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3879"],["href","https://abccargo.ae/services/sea-freight/"],["id","menu-item-3878",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3878"],["href","https://abccargo.ae/services/air-freight/"],["id","menu-item-3877",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3877"],["href","https://abccargo.ae/services/international-and-domestic-door-to-door-pickup-and-delivery/"],["id","menu-item-3885",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3885"],["href","https://abccargo.ae/solution/customs-clearance/"],["id","menu-item-3884",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3884"],["href","https://abccargo.ae/solution/documentation/"],["id","menu-item-3883",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3883"],["href","https://abccargo.ae/solution/insurance/"],["id","menu-item-3882",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3882"],["href","https://abccargo.ae/solution/warehousing-and-distribution/"],["id","menu-item-3881",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3881"],["href","https://abccargo.ae/solution/packing-and-shipping/"],["id","menu-item-74",1,"menu-item","menu-item-type-custom","menu-item-object-custom","menu-item-has-children","menu-item-74","footer-links"],["id","menu-item-153",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-home","menu-item-153"],["id","menu-item-116",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-116"],["href","https://abccargo.ae/about-us/"],["id","menu-item-112",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-112"],["href","https://abccargo.ae/services/"],["id","menu-item-113",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-113"],["href","https://abccargo.ae/features/"],["id","menu-item-115",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-115"],["href","https://abccargo.ae/blog/"],["id","menu-item-81",1,"menu-item","menu-item-type-custom","menu-item-object-custom","current-menu-ancestor","current-menu-parent","menu-item-has-children","menu-item-81","footer-links"],["id","menu-item-184",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-184"],["href","https://abccargo.ae/locations/"],["id","menu-item-111",1,"menu-item","menu-item-type-post_type","menu-item-object-page","current-menu-item","page_item","page-item-11","current_page_item","menu-item-111"],["href","https://abccargo.ae/careers/","aria-current","page"],["id","menu-item-109",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-109"],["href","https://abccargo.ae/testimonial/"],["id","menu-item-110",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-110"],["href","https://abccargo.ae/customer-info/"],["id","menu-item-107",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-107"],["href","https://abccargo.ae/contact/"],["id","menu-item-192",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-192"],["href","https://abccargo.ae/abc-cargo-faq/"],[1,"footer-links","ftr-contact","me-0"],[1,"contact-links"],[1,"toll-free"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1 16V10C1 7.61305 1.94821 5.32387 3.63604 3.63604C5.32387 1.94821 7.61305 1 10 1C12.3869 1 14.6761 1.94821 16.364 3.63604C18.0518 5.32387 19 7.61305 19 10V16","
1stroke","#E64A3C","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M19 17C19 17.5304 18.7893 18.0391 18.4142 18.4142C18.0391 18.7893 17.5304 19 17 19H16C15.4696 19 14.9609 18.7893 14.5858 18.4142C14.2107 18.0391 14 17.5304 14 17V14C14 13.4696 14.2107 12.9609 14.5858 12.5858C14.9609 12.2107 15.4696 12 16 12H19V17ZM1 17C1 17.5304 1.21071 18.0391 1.58579 18.4142C1.96086 18.7893 2.46957 19 3 19H4C4.53043 19 5.03914 18.7893 5.41421 18.4142C5.78929 18.0391 6 17.5304 6 17V14C6 13.4696 5.78929 12.9609 5.41421 12.5858C5.03914 12.2107 4.53043 12 4 12H1V17Z","stroke","#E64A3C","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["href","tel:+971 800 916"],["width","20","height","24","viewBox","0 0 20 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M19 10C19 17 10 23 10 23C10 23 1 17 1 10C1 7.61305 1.94821 5.32387 3.63604 3.63604C5.32387 1.94821 7.61305 1 10 1C12.3869 1 14.6761 1.94821 16.364 3.63604C18.0518 5.32387 19 7.61305 19 10Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["d","M10 13C11.6569 13 13 11.6569 13 10C13 8.34315 11.6569 7 10 7C8.34315 7 7 8.34315 7 10C7 11.6569 8.34315 13 10 13Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["width","21","height","17","viewBox","0 0 21 17","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M2.875 1H17.875C18.9063 1 19.75 1.84375 19.75 2.875V14.125C19.75 15.1563 18.9063 16 17.875 16H2.875C1.84375 16 1 15.1563 1 14.125V2.875C1 1.84375 1.84375 1 2.875 1Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["d","M19.75 2.875L10.375 9.4375L1 2.875","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["href","mailto:[email protected]",2,"text-transform","lowercase"],["d","M18.9994 14.4765V17.1862C19.0005 17.4377 18.9488 17.6867 18.8479 17.9172C18.7469 18.1477 18.5988 18.3546 18.413 18.5247C18.2273 18.6947 18.008 18.8242 17.7693 18.9048C17.5305 18.9854 17.2775 19.0153 17.0265 18.9927C14.2415 18.6907 11.5664 17.7409 9.21601 16.2197C7.02929 14.8329 5.17534 12.9827 3.7858 10.8003C2.25627 8.44389 1.30442 5.76107 1.00735 2.96915C0.98473 2.71938 1.01447 2.46764 1.09468 2.22996C1.17489 1.99229 1.30381 1.77389 1.47323 1.58866C1.64265 1.40343 1.84885 1.25544 2.07872 1.15411C2.30858 1.05278 2.55707 1.00032 2.80837 1.00009H5.52347C5.96269 0.995773 6.3885 1.151 6.72152 1.43683C7.05455 1.72267 7.27207 2.11961 7.33354 2.55366C7.44814 3.42084 7.66067 4.27229 7.96707 5.09177C8.08883 5.41507 8.11519 5.76642 8.043 6.1042C7.97082 6.44198 7.80313 6.75203 7.5598 6.99761L6.41041 8.14473C7.69877 10.406 9.57482 12.2784 11.8406 13.5642L12.99 12.4171C13.2361 12.1742 13.5467 12.0069 13.8852 11.9348C14.2236 11.8628 14.5757 11.8891 14.8996 12.0106C15.7207 12.3164 16.5739 12.5285 17.4428 12.6429C17.8824 12.7048 18.2839 12.9258 18.5709 13.2639C18.858 13.6019 19.0105 14.0335 18.9994 14.4765Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],[1,"contact-num"],["href","tel:+971 4 3332378"],["href","tel:+971 56 5395358"],[1,"mt-3"],[1,"d-xl-none"],[1,"d-flex","align-items-center","mt-2","d-xl-none"],["href","https://play.google.com/store/apps/details?id=com.myabccustomer","target","blank",1,"me-3"],[1,"footer-credit"],[1,"row","align-items-center"],[1,"col-md-8"],[1,"mb-2","mb-md-0"],["href","https://abccargo.ae/privacy-policy"],["href","https://abccargo.ae/fraud-awareness"],[1,"col-md-4","text-end"],[1,"d-flex","align-items-center","justify-content-center","justify-content-md-end"],["href","https://wefttechnologies.com/","target","_blank"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/weft.gif",1,"c-logo"],["href","https://api.whatsapp.com/send?phone=+971800916&text=Hi, I\u2019m interested to know more about services.","target","_blank",1,"whatzapp-float"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/icons/whatsapp-icon.svg","alt",""],[1,"invalid-feedback"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[1,"col-12","mt-3"],[1,"otp-validation-section","active","entr-otp"],[1,"otp-para","entr-otp-para"],[1,"otp-validation-input","d-flex","mt-2"],[3,"config","onInputChange"],[1,"receive-otp","otp-para","rec-para"],[1,"res-otp",3,"click"],[1,"res-psd-btn"],[1,"form-common-button",3,"click"]],template:function(e,t){1&e&&(o.Rb(0,"header",0),o.Rb(1,"div",1),o.Rb(2,"div",2),o.Rb(3,"a",3),o.Mb(4,"img",4),o.Qb(),o.Qb(),o.Rb(5,"div",5),o.Rb(6,"div",6),o.Mb(7,"div",7),o.Mb(8,"div",8),o.Mb(9,"div",9),o.Qb(),o.Rb(10,"div",10),o.Mb(11,"ul",11),o.Qb(),o.Rb(12,"div",12),o.Rb(13,"a",13),o.Ec(14,"Login / Register"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Mb(15,"div",14),o.Qb(),o.Rb(16,"main",15),o.Rb(17,"div",16),o.Rb(18,"div",17),o.Rb(19,"h1",18),o.Ec(20,"Forgot Password"),o.Qb(),o.Rb(21,"p",19),o.Ec(22,"Enter your email and we'll send you reset instructions."),o.Qb(),o.Qb(),o.Rb(23,"section",20),o.Rb(24,"div",21),o.Rb(25,"form",22),o.Rb(26,"div",23),o.Rb(27,"div",24),o.Rb(28,"div",25),o.Rb(29,"div",26),o.Cc(30,le,2,1,"span",27),o.Rb(31,"label",28),o.Ec(32,"Email "),o.Qb(),o.Mb(33,"input",29),o.Cc(34,ue,2,1,"div",30),o.Cc(35,pe,2,1,"span",30),o.Qb(),o.Qb(),o.Rb(36,"div",31),o.Rb(37,"div",26),o.Rb(38,"button",32),o.ac("click",(function(){return t.sendEmail()})),o.Ec(39,"Send OTP"),o.Qb(),o.Qb(),o.Qb(),o.Cc(40,fe,21,3,"div",33),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(41,"footer"),o.Rb(42,"div",16),o.Rb(43,"div",34),o.Rb(44,"div",24),o.Rb(45,"div",35),o.Rb(46,"div",36),o.Rb(47,"div",37),o.Rb(48,"a",3),o.Mb(49,"img",38),o.Qb(),o.Qb(),o.Rb(50,"div",39),o.Rb(51,"p",40),o.Ec(52,"Scan & Download App"),o.Qb(),o.Mb(53,"img",41),o.Qb(),o.Rb(54,"div",42),o.Rb(55,"div",43),o.Rb(56,"p",44),o.Ec(57,"Download App"),o.Qb(),o.Rb(58,"div",45),o.Rb(59,"a",46),o.Mb(60,"img",47),o.Qb(),o.Rb(61,"a",48),o.Mb(62,"img",49),o.Qb(),o.Qb(),o.Qb(),o.Rb(63,"ul",50),o.Rb(64,"li"),o.Rb(65,"a",51),o.dc(),o.Rb(66,"svg",52),o.Mb(67,"path",53),o.Mb(68,"path",54),o.Mb(69,"path",55),o.Qb(),o.Qb(),o.Qb(),o.cc(),o.Rb(70,"li"),o.Rb(71,"a",56),o.dc(),o.Rb(72,"svg",57),o.Mb(73,"path",58),o.Mb(74,"path",59),o.Mb(75,"path",60),o.Qb(),o.Qb(),o.Qb(),o.cc(),o.Rb(76,"li"),o.Rb(77,"a",61),o.dc(),o.Rb(78,"svg",62),o.Mb(79,"path",63),o.Qb(),o.Qb(),o.Qb(),o.cc(),o.Rb(80,"li"),o.Rb(81,"a",64),o.dc(),o.Rb(82,"svg",65),o.Mb(83,"path",66),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.cc(),o.Rb(84,"div",67),o.Rb(85,"div",68),o.Rb(86,"ul",69),o.Rb(87,"li",70),o.Rb(88,"a",71),o.Ec(89,"Solutions & Services"),o.Qb(),o.Rb(90,"ul",72),o.Rb(91,"li",73),o.Rb(92,"a",74),o.Ec(93,"Road Freight"),o.Qb(),o.Qb(),o.Rb(94,"li",75),o.Rb(95,"a",76),o.Ec(96,"Sea Freight"),o.Qb(),o.Qb(),o.Rb(97,"li",77),o.Rb(98,"a",78),o.Ec(99,"Air Freight"),o.Qb(),o.Qb(),o.Rb(100,"li",79),o.Rb(101,"a",80),o.Ec(102,"Domestic and International Courier"),o.Qb(),o.Qb(),o.Rb(103,"li",8
11),o.Rb(104,"a",82),o.Ec(105,"Customs Clearance"),o.Qb(),o.Qb(),o.Rb(106,"li",83),o.Rb(107,"a",84),o.Ec(108,"Documentation"),o.Qb(),o.Qb(),o.Rb(109,"li",85),o.Rb(110,"a",86),o.Ec(111,"Insurance"),o.Qb(),o.Qb(),o.Rb(112,"li",87),o.Rb(113,"a",88),o.Ec(114,"Warehousing and Distribution"),o.Qb(),o.Qb(),o.Rb(115,"li",89),o.Rb(116,"a",90),o.Ec(117,"Packing and Shipping"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(118,"li",91),o.Rb(119,"a",71),o.Ec(120,"Company Info"),o.Qb(),o.Rb(121,"ul",72),o.Rb(122,"li",92),o.Rb(123,"a",3),o.Ec(124,"Home"),o.Qb(),o.Qb(),o.Rb(125,"li",93),o.Rb(126,"a",94),o.Ec(127,"About Us"),o.Qb(),o.Qb(),o.Rb(128,"li",95),o.Rb(129,"a",96),o.Ec(130,"Solutions"),o.Qb(),o.Qb(),o.Rb(131,"li",97),o.Rb(132,"a",98),o.Ec(133,"Services"),o.Qb(),o.Qb(),o.Rb(134,"li",99),o.Rb(135,"a",100),o.Ec(136,"Blog"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(137,"li",101),o.Rb(138,"a",71),o.Ec(139,"Support"),o.Qb(),o.Rb(140,"ul",72),o.Rb(141,"li",102),o.Rb(142,"a",103),o.Ec(143,"Locations"),o.Qb(),o.Qb(),o.Rb(144,"li",104),o.Rb(145,"a",105),o.Ec(146,"Careers"),o.Qb(),o.Qb(),o.Rb(147,"li",106),o.Rb(148,"a",107),o.Ec(149,"Testimonials"),o.Qb(),o.Qb(),o.Rb(150,"li",108),o.Rb(151,"a",109),o.Ec(152,"Prohibited Itineraries"),o.Qb(),o.Qb(),o.Rb(153,"li",110),o.Rb(154,"a",111),o.Ec(155,"Contact"),o.Qb(),o.Qb(),o.Rb(156,"li",112),o.Rb(157,"a",113),o.Ec(158,"FAQ"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(159,"div",114),o.Rb(160,"ul",115),o.Rb(161,"li",116),o.Rb(162,"span"),o.dc(),o.Rb(163,"svg",117),o.Mb(164,"path",118),o.Mb(165,"path",119),o.Qb(),o.Qb(),o.cc(),o.Rb(166,"a",120),o.Ec(167,"800 916"),o.Qb(),o.Qb(),o.Rb(168,"li"),o.Rb(169,"span"),o.dc(),o.Rb(170,"svg",121),o.Mb(171,"path",122),o.Mb(172,"path",123),o.Qb(),o.Qb(),o.cc(),o.Rb(173,"address"),o.Rb(174,"span"),o.Ec(175,"Head Quarters:"),o.Qb(),o.Ec(176," Al Quoz Opp. Al Khail Mall, Al Quoz"),o.Qb(),o.Qb(),o.Rb(177,"li"),o.Rb(178,"span"),o.dc(),o.Rb(179,"svg",124),o.Mb(180,"path",125),o.Mb(181,"path",126),o.Qb(),o.Qb(),o.cc(),o.Rb(182,"a",127),o.Ec(183,"[email protected]"),o.Qb(),o.Qb(),o.Rb(184,"li"),o.Rb(185,"span"),o.dc(),o.Rb(186,"svg",117),o.Mb(187,"path",128),o.Qb(),o.Qb(),o.cc(),o.Rb(188,"div",129),o.Rb(189,"a",130),o.Ec(190,"+971 4 3332378"),o.Qb(),o.Rb(191,"a",131),o.Ec(192,"+971 56 5395358"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(193,"div",132),o.Rb(194,"p",133),o.Ec(195,"Download the MYABC App"),o.Qb(),o.Rb(196,"div",134),o.Rb(197,"a",135),o.Mb(198,"img",47),o.Qb(),o.Rb(199,"a",48),o.Mb(200,"img",49),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(201,"div",136),o.Rb(202,"div",137),o.Rb(203,"div",138),o.Rb(204,"p",139),o.Ec(205," \xa92025 ABC CARGO. All rights reserved. "),o.Rb(206,"span"),o.Rb(207,"a",140),o.Ec(208,"Privacy Policy"),o.Qb(),o.Qb(),o.Ec(209," | "),o.Rb(210,"span"),o.Rb(211,"a",141),o.Ec(212,"Fraud Awareness"),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(213,"div",142),o.Rb(214,"p",143),o.Ec(215,"Design & Developed by "),o.Rb(216,"span"),o.Rb(217,"a",144),o.Mb(218,"img",145),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Qb(),o.Rb(219,"a",146),o.Mb(220,"img",147),o.Qb(),o.Qb()),2&e&&(o.zb(25),o.kc("formGroup",t.forgetPasswordForm),o.zb(5),o.kc("ngIf",!t.noEmail),o.zb(4),o.kc("ngIf",(t.f.email.touched||t.submitted)&&t.f.email.errors),o.zb(1),o.kc("ngIf",t.f.email.errors&&(t.f.email.touched||t.f.email.dirty||t.submitted)),o.zb(5),o.kc("ngIf",t.noEmail))},directives:[h.s,h.n,h.h,i.l,h.b,h.m,h.f,i.j,ae.b],styles:[""]}),e})()},{path:"unauthorized-link",component:v},{path:"invalid-link",component:b},{path:"broken-link",pathMatch:"full",component:b}];let ge=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},imports:[[i.b,m.g.forChild(me)]]}),e})(),_e=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},imports:[[m.g,ae.a,i.b,r.d.forRoot(),d.forRoot(),h.q,h.i,f.forRoot(),ge]]}),e})()},Tlft:function(e,t,n){"use strict";var i=d(n("FKN7")),r=d(n("kOZU")),o=n("KAnu"),s=n("5u+F"),a=n("1LL4"),l=n("dYUP"),c=n("3IPI"),u=n("ti0F");function d(e){return e&&e.__esModule?e:{default:e}}var h={month:r.default.inherit({_getViewName:function(){return"month"},_getDefaultOptions:function(){return(0,a.extend)(this.callBase(),{firstDayOfWeek:void 0,rowCount:6,colCount:7})},_renderImpl:function(){this.callBase(),this._renderHeader()},_renderBody:function(){this.callBase(),this._$table.find(".".concat("dx-calendar-other-view")).addClass("dx-calendar-other-month")},_renderFocusTarget:o.noop,getCellAriaLabel:function(e){return(0,l.format)(e,"longdate")},_renderHeader:function(){var e=(0,i.default)("<tr>"),t=(0,i.default)("<thead>").append(e);this._$table.prepend(t);for(var n=0,r=this.option("colCount");n<r;n++)this._renderHeaderCell(n,e)},_renderHeaderCell:function(e,t){var n=this._getDayCaption(this._getFirstDayOfWeek()+e),r=n.full,o=n.abbreviated,s=(0,i.default)("<th>").attr({scope:"col",abbr:r}).text(o);this._appendCell(t,s)},getNavigatorCaption:function(){return(0,l.format)(this.option("date"),"monthandyear")},_isTodayCell:function(e){var t=new Date;return(0,s.sameDate)(e,t)},_isDateOutOfRange:function(e){var t=this.option("min"),n=this.option("max");return!(0,s.dateInRange)(e,t,n,"date")},_isOtherView:function(e){return e.getMonth()!==this.option("date").getMonth()},_getCellText:function(e){return(0,l.format)(e,"d")},_getDayCaption:function(e){var t=e%this.option("colCount");return{full:(0,l.getDayNames)()[t],abbreviated:(0,l.getDayNames)("abbreviated")[t]}},_getFirstCellData:function(){var e=(0,s.getFirstMonthDate)(this.option("date")),t=this._getFirstDayOfWeek()-e.getDay(),n=this.option("colCount");return t>=0&&(t-=n),e.setDate(e.getDate()+t),e},_getNextCellData:function(e){return(e=new Date(e)).setDate(e.getDate()+1),e},_getFirstDayOfWeek:function(){return(0,u.isDefined)(this.option("firstDayOfWeek"))?this.option("firstDayOfWeek"):(0,l.firstDayOfWeekIndex)()},_getCellByDate:function(e){return this._$table.find("td[data-value='".concat((0,c.serializeDate)(e,(0,s.getShortDateFormat)()),"']"))},isBoundary:function(e){return(0,s.sameMonthAndYear)(e,this.option("min"))||(0,s.sameMonthAndYear)(e,this.option("max"))},_getDefaultDisabledDatesHandler:function(e){return function(t){if(e.some((function(e){return(0,s.sameDate)(e,t.date)})))return!0}}}),year:r.default.inherit({_getViewName:function(){return"year"},_isTodayCell:function(e){return(0,s.sameMonthAndYear)(e,new Date)},_isDateOutOfRange:function(e){return!(0,s.dateInRange)(e,(0,s.getFirstMonthDate)(this.option("min")),(0,s.getLastMonthDate)(this.option("max")))},_isOtherView:function(){return!1},_getCellText:function(e){return(0,l.getMonthNames)("abbreviated")[e.getMonth()]},_getFirstCellData:function(){var e=new Date(this.option("date"));return e.setDate(1),e.setMonth(0),e},_getNextCellData:function(e){return(e=new Date(e)).setMonth(e.getMonth()+1),e},_getCellByDate:function(e){var t=new Date(e);return t.setDate(1),this._$table.find("td[data-value='".concat((0,c.serializeDate)(t,(0,s.getShortDateFormat)()),"']"))},getCellAriaLabel:function(e){return(0,l.format)(e,"monthandyear")},getNavigatorCaption:function(){return(0,l.format)(this.option("date"),"yyyy")},isBoundary:function(e){return(0,s.sameYear)(e,this.option("min"))||(0,s.sameYear)(e,this.option("max"))}}),decade:r.default.inherit({_getViewName:function(){return"decade"},_isTodayCell:function(e){return(0,s.sameYear)(e,new Date)},_isDateOutOfRange:function(e){var t=this.option("min"),n=this.option("max");return!(0,s.dateInRange)(e.getFullYear(),t&&t.getFullYear(),n&&n.getFullYear())},_isOtherView:function(e){var t=new Date(e);return t.setMonth(1),!(0,s.sameDecade)(t,this.option("date"))},_getCellText:function(e){return(0,l.format)(e,"yyyy")},_getFirstCellData:function(){var e=(0,s.getFirstYearInDecade)(this.option("date"))-1;
1return new Date(e,0,1)},_getNextCellData:function(e){return(e=new Date(e)).setFullYear(e.getFullYear()+1),e},getNavigatorCaption:function(){var e=this.option("date"),t=(0,s.getFirstYearInDecade)(e),n=new Date(e),i=new Date(e);return n.setFullYear(t),i.setFullYear(t+9),(0,l.format)(n,"yyyy")+"-"+(0,l.format)(i,"yyyy")},_isValueOnCurrentView:function(e,t){return(0,s.sameDecade)(e,t)},_getCellByDate:function(e){var t=new Date(e);return t.setDate(1),t.setMonth(0),this._$table.find("td[data-value='".concat((0,c.serializeDate)(t,(0,s.getShortDateFormat)()),"']"))},isBoundary:function(e){return(0,s.sameDecade)(e,this.option("min"))||(0,s.sameDecade)(e,this.option("max"))}}),century:r.default.inherit({_getViewName:function(){return"century"},_isTodayCell:function(e){return(0,s.sameDecade)(e,new Date)},_isDateOutOfRange:function(e){var t=(0,s.getFirstYearInDecade)(e),n=(0,s.getFirstYearInDecade)(this.option("min")),i=(0,s.getFirstYearInDecade)(this.option("max"));return!(0,s.dateInRange)(t,n,i)},_isOtherView:function(e){var t=new Date(e);return t.setMonth(1),!(0,s.sameCentury)(t,this.option("date"))},_getCellText:function(e){var t=(0,l.format)(e,"yyyy"),n=new Date(e);return n.setFullYear(n.getFullYear()+9),t+" - "+(0,l.format)(n,"yyyy")},_getFirstCellData:function(){var e=(0,s.getFirstDecadeInCentury)(this.option("date"))-10;return new Date(e,0,1)},_getNextCellData:function(e){return(e=new Date(e)).setFullYear(e.getFullYear()+10),e},_getCellByDate:function(e){var t=new Date(e);return t.setDate(1),t.setMonth(0),t.setFullYear((0,s.getFirstYearInDecade)(t)),this._$table.find("td[data-value='".concat((0,c.serializeDate)(t,(0,s.getShortDateFormat)()),"']"))},getNavigatorCaption:function(){var e=this.option("date"),t=(0,s.getFirstDecadeInCentury)(e),n=new Date(e),i=new Date(e);return n.setFullYear(t),i.setFullYear(t+99),(0,l.format)(n,"yyyy")+"-"+(0,l.format)(i,"yyyy")},isBoundary:function(e){return(0,s.sameCentury)(e,this.option("min"))||(0,s.sameCentury)(e,this.option("max"))}})};e.exports=h},TssP:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o,s=n("ti0F"),a=(r=[new RegExp("&","g"),new RegExp('"',"g"),new RegExp("'","g"),new RegExp("<","g"),new RegExp(">","g")],function(e){return String(e).replace(r[0],"&amp;").replace(r[1],"&quot;").replace(r[2],"&#39;").replace(r[3],"&lt;").replace(r[4],"&gt;")}),l=(o=/\s/g,function(e){return!e||!e.replace(o,"")});t.encodeHtml=a,t.quadToObject=function(e){var t=function(e){switch(i(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}}(e),n=parseInt(t&&t[0],10),r=parseInt(t&&t[1],10),o=parseInt(t&&t[2],10),s=parseInt(t&&t[3],10);return isFinite(n)||(n=0),isFinite(r)||(r=n),isFinite(o)||(o=n),isFinite(s)||(s=r),{top:r,right:o,bottom:s,left:n}},t.format=function(){var e,t,n,i=arguments[0],r=[].slice.call(arguments).slice(1);if(s.isFunction(i))return i.apply(this,r);for(var o=0;o<r.length;o++)t=new RegExp("\\{"+o+"\\}","gm"),"string"===s.type(n=r[o])&&n.indexOf("$")>=0&&(e="$".replace("$","$$").length,n=n.replace("$",1===e?"$$$$":"$$")),i=i.replace(t,n);return i},t.replaceAll=function(e,t,n){return e.replace(new RegExp("("+(t+"").replace(/([+*?.[^\]$(){}><|=!:])/g,"\\$1")+")","gi"),n)},t.isEmpty=l},UDhR:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},UJab:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=n("ti0F"),o=(i=n("OZWN"))&&i.__esModule?i:{default:i},s={ID_PROPERTY_NAME:"id",tryCreateTag:function(e){var t=null;return"string"==typeof e&&s.isEmpty(t={formatCode:e})&&(t=null),t},areEqual:function(e,t){return s.isEmpty(e)&&s.isEmpty(t)||(0,r.isDefined)(e)&&(0,r.isDefined)(t)&&e.formatCode===t.formatCode},isEmpty:function(e){return!(0,r.isDefined)(e)||!(0,r.isDefined)(e.formatCode)||""===e.formatCode},toXml:function(e){return o.default.toXml("numFmt",{numFmtId:e[s.ID_PROPERTY_NAME],formatCode:e.formatCode})}};t.default=s},UQCf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toFixed=void 0;var i=n("z7z0");function r(e,t){var n=Math.pow(10,t);return function(e){return(0,i.sign)(e)*Math.round(Math.abs(e))}(e*(10*n)/10)/n}t.toFixed=function(e,t){var n=t||0,i=n>0?r.apply(void 0,arguments):e;return i.toFixed(n)}},URBM:function(e,t,n){"use strict";e.exports={"af-NA":1,agq:1,ak:1,ar:6,"ar-EH":1,"ar-ER":1,"ar-KM":1,"ar-LB":1,"ar-MA":1,"ar-MR":1,"ar-PS":1,"ar-SO":1,"ar-SS":1,"ar-TD":1,"ar-TN":1,asa:1,ast:1,az:1,"az-Cyrl":1,bas:1,be:1,bem:1,bez:1,bg:1,bm:1,br:1,bs:1,"bs-Cyrl":1,ca:1,ce:1,cgg:1,ckb:6,cs:1,cu:1,cy:1,da:1,de:1,dje:1,dsb:1,dua:1,dyo:1,ee:1,el:1,"en-001":1,"en-AE":6,"en-BI":1,"en-MP":1,"en-SD":6,eo:1,es:1,et:1,eu:1,ewo:1,fa:6,ff:1,fi:1,fo:1,fr:1,"fr-DJ":6,"fr-DZ":6,"fr-SY":6,fur:1,fy:1,ga:1,gd:1,gl:1,gsw:1,gv:1,ha:1,hr:1,hsb:1,hu:1,hy:1,ia:1,ig:1,is:1,it:1,jgo:1,jmc:1,ka:1,kab:6,kde:1,kea:1,khq:1,kk:1,kkj:1,kl:1,"ko-KP":1,ksb:1,ksf:1,ksh:1,ku:1,kw:1,ky:1,lag:1,lb:1,lg:1,ln:1,lrc:6,lt:1,lu:1,lv:1,"mas-TZ":1,mfe:1,mg:1,mgo:1,mi:1,mk:1,mn:1,ms:1,mua:1,mzn:6,naq:1,nb:1,nds:1,nl:1,nmg:1,nn:1,nnh:1,nus:1,nyn:1,os:1,pl:1,prg:1,ps:6,"pt-AO":1,"pt-CH":1,"pt-CV":1,"pt-GQ":1,"pt-GW":1,"pt-LU":1,"pt-ST":1,"pt-TL":1,"qu-BO":1,"qu-EC":1,rm:1,rn:1,ro:1,rof:1,ru:1,rw:1,rwk:1,sah:1,sbp:1,se:1,ses:1,sg:1,shi:1,"shi-Latn":1,si:1,sk:1,sl:1,smn:1,so:1,"so-DJ":6,sq:1,sr:1,"sr-Latn":1,sv:1,sw:1,"ta-LK":1,"ta-MY":1,teo:1,tg:1,"ti-ER":1,tk:1,to:1,tr:1,tt:1,twq:1,tzm:1,uk:1,uz:1,"uz-Arab":6,"uz-Cyrl":1,vai:1,"vai-Latn":1,vi:1,vo:1,vun:1,wae:1,wo:1,xog:1,yav:1,yi:1,yo:1,zgh:1}},USCx:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UcRe:function(e,t,n){"use strict";var i=x(n("FKN7")),r=n("tUd6"),o=n("jeLr"),s=x(n("imRD")),a=x(n("XCcL")),l=x(n("KAnu")),c=x(n("cGv3")),u=n("ti0F"),d=n("1LL4"),h=n("zl3R"),p=n("v4HY"),f=x(n("Hv54")),m=x(n("Wmz/")),g=n("JDOJ"),_=n("T4bj"),b=x(n("7j00")),v=x(n("hMwJ")),y=x(n("ZA3g")),w=x(n("XWCB")),C=n("tJvG");function x(e){return e&&e.__esModule?e:{default:e}}var S="".concat("dx-treeview","-node"),k="".concat(S,"-container"),T="".concat(S,"-loadindicator"),E="".concat(S,"-container-opened"),I="".concat(S,"-is-leaf"),D="".concat("dx-treeview","-item"),M="".concat(D,"-with-checkbox"),O="".concat(D,"-without-checkbox"),R="".concat(D,"-data"),L="".concat("dx-treeview","-toggle-item-visibility"),A="".concat("dx-treeview","-loadindicator"),P="".concat("dx-treeview","-loadindicator-wrapper"),F="".concat("dx-treeview","-toggle-item-visibility-opened"),B="".concat("dx-treeview","-select-all-item"),H=m.default.inherit({_supportedKeys:function(e){var t=this,n=function(e){var n=(0,i.default)(t.option("focusedElement"));n.length&&(e.target=n,e.currentTarget=n,t._itemClickHandler(e,n.children("."+D)),t._getEventNameByOption(t.option("expandEvent"))===(0,g.addNamespace)(a.default.name,"dxTreeView_expand")&&t._expandEventHandler(e))},r=function(e){e.preventDefault(),t._changeCheckBoxState((0,i.default)(t.option("focusedElement")))},o=function(e,t){if(this.option("expandAllEnabled")){t.preventDefault();var n=(0,i.default)(this.option("focusedElement"));if(n.length){var r=this._getItemData(n.find(".".concat(D)));this._toggleExpandedNestedItems([r],e)}}};
1return(0,d.extend)(this.callBase(),{enter:this._showCheckboxes()?r:n,space:this._showCheckboxes()?r:n,asterisk:o.bind(this,!0),minus:o.bind(this,!1)})},_changeCheckBoxState:function(e){var t=this._getCheckBoxInstance(e),n=t.option("value");t.option("disabled")||this._updateItemSelection(!n,e.find("."+D).get(0),!0,e)},_toggleExpandedNestedItems:function(e,t){if(e)for(var n=0,i=e.length;n<i;n++){var r=e[n],o=this._dataAdapter.getNodeByItem(r);this._toggleExpandedState(o,t),this._toggleExpandedNestedItems(r.items,t)}},_getNodeElement:function(e,t){var n=this._encodeString(e.internalFields.key);if(t)return t.$nodeByKey||(t.$nodeByKey={},this.$element().find(".".concat(S)).each((function(){var e=(0,i.default)(this),n=e.attr("data-item-id");t.$nodeByKey[n]=e}))),t.$nodeByKey[n]||(0,i.default)();var r=this.$element().get(0).querySelector("[".concat("data-item-id",'="').concat(n,'"]'));return(0,i.default)(r)},_activeStateUnit:"."+D,_widgetClass:function(){return"dx-treeview"},_getDefaultOptions:function(){return(0,d.extend)(this.callBase(),{animationEnabled:!0,dataStructure:"tree",deferRendering:!0,expandAllEnabled:!1,hasItemsExpr:"hasItems",selectNodesRecursive:!0,expandNodesRecursive:!0,showCheckBoxesMode:"none",selectAllText:s.default.format("dxList-selectAll"),onItemSelectionChanged:null,onItemExpanded:null,onItemCollapsed:null,scrollDirection:"vertical",virtualModeEnabled:!1,rootValue:0,focusStateEnabled:!1,selectionMode:"multiple",expandEvent:"dblclick",selectByClick:!1,createChildren:null,onSelectAllValueChanged:null})},_initSelectedItems:l.default.noop,_syncSelectionOptions:l.default.asyncNoop,_fireSelectionChanged:function(){(0,C.when)(this._selectionChangePromise).done((function(){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})()}).bind(this))},_createSelectAllValueChangedAction:function(){this._selectAllValueChangedAction=this._createActionByOption("onSelectAllValueChanged",{excludeValidators:["disabled","readOnly"]})},_fireSelectAllValueChanged:function(e){this._selectAllValueChangedAction({value:e})},_checkBoxModeChange:function(e,t){if("none"!==t&&"none"!==e){var n=this._$selectAllItem&&this._$selectAllItem.length;switch(e){case"selectAll":!n&&this._renderSelectAllItem();break;case"normal":n&&(this._$selectAllItem.remove(),delete this._$selectAllItem)}}else this.repaint()},_removeSelection:function(){var e=this;(0,h.each)(this._dataAdapter.getFullData(),(function(t,n){e._hasChildren(n)&&e._dataAdapter.toggleSelection(n.internalFields.key,!1,!0)}))},_optionChanged:function(e){var t=e.value,n=e.previousValue;switch(e.name){case"selectAllText":this._$selectAllItem&&this._$selectAllItem.dxCheckBox("instance").option("text",t);break;case"showCheckBoxesMode":this._checkBoxModeChange(t,n);break;case"scrollDirection":this._scrollableContainer.option("direction",t);break;case"items":delete this._$selectAllItem,this.callBase(e);break;case"dataSource":this.callBase(e),this._initDataAdapter(),this._filter={};break;case"hasItemsExpr":this._initAccessors(),this.repaint();break;case"expandEvent":this._initExpandEvent();break;case"deferRendering":case"dataStructure":case"rootValue":case"createChildren":case"expandNodesRecursive":case"onItemSelectionChanged":case"onItemExpanded":case"onItemCollapsed":case"expandAllEnabled":case"animationEnabled":case"virtualModeEnabled":case"selectByClick":break;case"selectionMode":this._initDataAdapter(),this.callBase(e);break;case"onSelectAllValueChanged":this._createSelectAllValueChangedAction();break;case"selectNodesRecursive":this._dataAdapter.setOption("recursiveSelection",e.value),this.repaint();break;default:this.callBase(e)}},_initDataSource:function(){this._useCustomChildrenLoader()?this._loadChildrenByCustomLoader(null).done((function(e){e&&e.length&&this.option("items",e)}).bind(this)):(this.callBase(),this._isVirtualMode()&&this._initVirtualMode())},_initVirtualMode:function(){var e=this._filter;e.custom||(e.custom=this._dataSource.filter()),e.internal||(e.internal=[this.option("parentIdExpr"),this.option("rootValue")])},_useCustomChildrenLoader:function(){return(0,u.isFunction)(this.option("createChildren"))&&this._isDataStructurePlain()}
1,_loadChildrenByCustomLoader:function(e){var t=this.option("createChildren").call(this,e);return Array.isArray(t)?(new C.Deferred).resolve(t).promise():t&&(0,u.isFunction)(t.then)?(0,C.fromPromise)(t):(new C.Deferred).resolve([]).promise()},_combineFilter:function(){return this._filter.custom&&this._filter.custom.length?[this._filter.custom,this._filter.internal]:this._filter.internal},_dataSourceLoadErrorHandler:function(){this._renderEmptyMessage()},_init:function(){this._filter={},this.callBase(),this._initStoreChangeHandlers()},_dataSourceChangedHandler:function(e){var t=this.option("items");this._initialized&&this._isVirtualMode()&&t.length||this.option("items",e)},_removeTreeViewLoadIndicator:function(){this._treeViewLoadIndicator&&(this._treeViewLoadIndicator.remove(),this._treeViewLoadIndicator=null)},_createTreeViewLoadIndicator:function(){return this._treeViewLoadIndicator=(0,i.default)("<div>").addClass(A),this._createComponent(this._treeViewLoadIndicator,w.default,{}),this._treeViewLoadIndicator},_dataSourceLoadingChangedHandler:function(e){var t;if(this._isVirtualMode()&&(t=this._combineFilter(),this._dataSource.filter(t)),e&&!this._dataSource.isLoaded()){this.option("items",[]);var n=(0,i.default)("<div>").addClass(P);this._createTreeViewLoadIndicator().appendTo(n),this.itemsContainer().append(n),this._isVirtualMode()&&this._dataSource.filter()!==t&&this._dataSource.filter([])}else this._removeTreeViewLoadIndicator()},_initStoreChangeHandlers:function(){var e=this;"plain"===this.option("dataStructure")&&this._dataSource&&this._dataSource.store().on("inserted",(function(t){e.option().items=e.option("items").concat(t),e._dataAdapter.addItem(t),e._dataAdapter.isFiltered(t)&&e._updateLevel(e._parentIdGetter(t))})).on("removed",(function(t){var n=e._dataAdapter.getNodeByKey(t);e.option("items")[e._dataAdapter.getIndexByKey(n.internalFields.key)]=0,e._markChildrenItemsToRemove(n),e._removeItems(),e._dataAdapter.removeItem(t),e._updateLevel(e._parentIdGetter(n))}))},_markChildrenItemsToRemove:function(e){var t=this;(0,h.each)(e.internalFields.childrenKeys,(function(e,n){t.option("items")[t._dataAdapter.getIndexByKey(n)]=0,t._markChildrenItemsToRemove(t._dataAdapter.getNodeByKey(n))}))},_removeItems:function(){var e=this,t=(0,d.extend)(!0,[],this.option("items")),n=0;(0,h.each)(t,(function(t,i){i||(e.option("items").splice(t-n,1),n++)}))},_updateLevel:function(e){var t=this._getContainerByParentKey(e);this._renderItems(t,this._dataAdapter.getChildrenNodes(e))},_getOldContainer:function(e){return e.length?e.children(".".concat(k)):this._scrollableContainer?this._scrollableContainer.$content().children():(0,i.default)()},_getContainerByParentKey:function(e){var t=this._dataAdapter.getNodeByKey(e),n=t?this._getNodeElement(t):[];this._getOldContainer(n).remove();var i=this._renderNodeContainer(n);return this._isRootLevel(e)&&(this._scrollableContainer||this._renderScrollableContainer(),this._scrollableContainer.$content().append(i)),i},_isRootLevel:function(e){return e===this.option("rootValue")},_getAccessors:function(){var e=this.callBase();return e.push("hasItems"),e},_getDataAdapterOptions:function(){return{rootValue:this.option("rootValue"),multipleSelection:!this._isSingleSelection(),recursiveSelection:this._isRecursiveSelection(),recursiveExpansion:this.option("expandNodesRecursive"),selectionRequired:this.option("selectionRequired"),dataType:this.option("dataStructure"),sort:this._dataSource&&this._dataSource.sort()}},_initMarkup:function(){this._renderScrollableContainer(),this._renderEmptyMessage(this._dataAdapter.getRootNodes()),this.callBase(),this.setAria("role","tree")},_renderContentImpl:function(){var e=this._renderNodeContainer();this._scrollableContainer.$content().append(e),this.option("items")&&this.option("items").length&&(this._renderItems(e,this._dataAdapter.getRootNodes()),this._initExpandEvent(),this._selectAllEnabled()&&(this._createSelectAllValueChangedAction(),this._renderSelectAllItem(e)))},_isVirtualMode:function(){return this.option("virtualModeEnabled")&&this._isDataStructurePlain()&&!!this.option("dataSource")},_isDataStructurePlain:function(){return"plain"===this.option("dataStructure")},_fireContentReadyAction:function(){var e=this.getDataSource();e&&!e.isLoaded()||this.callBase(),this._scrollableContainer&&c.default.hasWindow()&&this._scrollableContainer.update(
1)},_renderScrollableContainer:function(){this._scrollableContainer=this._createComponent((0,i.default)("<div>").appendTo(this.$element()),y.default,{direction:this.option("scrollDirection"),useKeyboard:!1})},_renderNodeContainer:function(e){var t=(0,i.default)("<ul>").addClass(k);if(this.setAria("role","group",t),e&&e.length){var n=this._getItemData(e.children("."+D));this._expandedGetter(n)&&t.addClass(E),t.appendTo(e)}return t},_createDOMElement:function(e,t){var n=(0,i.default)("<li>").addClass(S).attr("data-item-id",this._encodeString(t.internalFields.key)).prependTo(e);return this.setAria({role:"treeitem",label:this._displayGetter(t.internalFields.item)||"",expanded:t.internalFields.expanded||!1,level:this._getLevel(e)},n),n},_getLevel:function(e){var t=e.parent();return t.hasClass("dx-scrollable-content")?1:parseInt(t.attr("aria-level"))+1},_showCheckboxes:function(){return"none"!==this.option("showCheckBoxesMode")},_selectAllEnabled:function(){return"selectAll"===this.option("showCheckBoxesMode")&&!this._isSingleSelection()},_renderItems:function(e,t){for(var n=t.length-1;n>=0;n--)this._renderItem(n,t[n],e);this._renderedItemsCount+=t.length},_renderItem:function(e,t,n){var i=this._createDOMElement(n,t),r=t.internalFields,o=this._showCheckboxes();i.addClass(o?M:O),o&&this._renderCheckBox(i,t),this.setAria("selected",r.selected,i),this._toggleSelectedClass(i,r.selected),this.callBase(this._renderedItemsCount+e,r.item,i),!1!==r.item.visible&&this._renderChildren(i,t)},_setAriaSelected:function(){},_renderChildren:function(e,t){var n=this;this._hasChildren(t)?(this._renderToggleItemVisibilityIcon(e,t),this.option("deferRendering")&&!t.internalFields.expanded||this._loadSublevel(t).done((function(i){n._renderSublevel(e,n._getActualNode(t),i)}))):this._addLeafClass(e)},_getActualNode:function(e){return this._dataAdapter.getNodeByKey(e.internalFields.key)},_hasChildren:function(e){return this._isVirtualMode()||this._useCustomChildrenLoader()?!1!==this._hasItemsGetter(e.internalFields.item):this.callBase(e)},_loadSublevel:function(e){var t=this,n=new C.Deferred,i=this._getChildNodes(e);return i.length?n.resolve(i):this._loadNestedItems(e).done((function(e){n.resolve(t._dataAdapter.getNodesByItems(e))})),n.promise()},_renderSublevel:function(e,t,n){var i=this._renderNodeContainer(e,t),r=n.filter((function(e){return-1!==t.internalFields.childrenKeys.indexOf(e.internalFields.key)}));if(this._renderItems(i,r),r.length&&!t.internalFields.selected){var o=r[0];this._updateParentsState(o,this._getNodeElement(o))}this._normalizeIconState(e,r.length),t.internalFields.expanded&&i.addClass(E)},_executeItemRenderAction:function(e,t,n){var i=this._getNode(n);this._getItemRenderAction()({itemElement:n,itemIndex:e,itemData:t,node:this._dataAdapter.getPublicNode(i)})},_addLeafClass:function(e){e.addClass(I)},_expandEventHandler:function(e){(0,i.default)(e.currentTarget.parentNode).hasClass(I)||this._toggleExpandedState(e.currentTarget,void 0,e)},_initExpandEvent:function(){var e=this._getEventNameByOption(this.option("expandEvent")),t=this._itemContainer(),n=this._itemSelector();(0,o.off)(t,".dxTreeView_expand",n),(0,o.on)(t,e,n,this._expandEventHandler.bind(this))},_getEventNameByOption:function(e){return(0,g.addNamespace)(("click"===e?a.default:b.default).name,"dxTreeView_expand")},_getNode:function(e){if(!(0,u.isDefined)(e))return null;if(e.internalFields)return e;if((0,u.isPrimitive)(e))return this._dataAdapter.getNodeByKey(e);var t=(0,i.default)(e).get(0);return t?(0,r.isElementNode)(t)?this._getNodeByElement(t):this._dataAdapter.getNodeByItem(t):null},_getNodeByElement:function(e){var t=(0,i.default)(e).closest("."+S),n=this._decodeString(t.attr("data-item-id"));return this._dataAdapter.getNodeByKey(n)},_toggleExpandedState:function(e,t,n){var i=this._getNode(e);if(!i)return(new C.Deferred).reject().promise();if(i.internalFields.disabled)return(new C.Deferred).reject().promise();var r=i.internalFields.expanded;if(r===t)return(new C.Deferred).resolve().promise();if(this._hasChildren(i)){var o=this._getNodeElement(i);if(o.find(".".concat(T,":not(.").concat("dx-state-invisible",")")).length)return(new C.Deferred).reject().promise();this._createLoadIndicator(o)}return(0,u.isDefined)(t)||(t=!r),this._dataAdapter.toggleExpansion(i.internalFields.key,t),this._updateExpandedItemsUI(i,t,n)},_createLoadIndicator:function(e){var t=e.children("."+L),n=e.children(".".concat(k));t.hasClass(F)||n.not(":empty").length||(this._createComponent((0,i.default)("<div>").addClass(T),w.default,{}).$element().appendTo(e),t.hide())},_renderToggleItemVisibilityIcon:function(e,t){var n=(0,i.default)("<div>").addClass(L).appendTo(e);t.internalFields.expanded&&(n.addClass(F),e.parent().addClass(E)),t.internalFields.disabled&&n.addClass("dx-state-disabled"),this._renderToggleItemVisibilityIconClick(n,t)},_renderToggleItemVisibilityIconClick:function(e,t){var n=this,i=(0,g.addNamespace)(a.default.name,this.NAME);(0,o.off)(e,i),(0,o.on)(e,i,(function(e){n._toggleExpandedState(t.internalFields.key,void 0,e)}))},_updateExpandedItemsUI:function(e,t,n){var i=this._getNodeElement(e),r=!i.length||t&&i.is(":hidden");if(this.option("expandNodesRecursive")&&r){var o=this._getNode(e.internalFields.parentKey);o&&this._updateExpandedItemsUI(o,t,n)}var s=i.children("."+L),a=i.children(".".concat(k));s.toggleClass(F,t);var l=a.length>0,c=new C.Deferred;return!t||l&&!a.is(":empty")?(this._animateNodeContainer(e,t,n,c),c.promise()):this._isVirtualMode()||this._useCustomChildrenLoader()?(this._loadNestedItemsWithUpdate(e,t,n,c),c.promise()):(this._renderSublevel(i,e,this._getChildNodes(e)),this._fireContentReadyAction(),this._animateNodeContainer(e,t,n,c),c.promise())},_loadNestedItemsWithUpdate:function(e,t,n,i){var r=this,o=this._getNodeElement(e);this._loadNestedItems(e).done((function(s){var a=r._getActualNode(e);
1r._renderSublevel(o,a,r._dataAdapter.getNodesByItems(s)),s&&s.length&&(r._fireContentReadyAction(),r._animateNodeContainer(a,t,n,i))}))},_loadNestedItems:function(e){var t=this;if(this._useCustomChildrenLoader()){var n=this._dataAdapter.getPublicNode(e);return this._loadChildrenByCustomLoader(n).done((function(e){t._areNodesExists(e)||t._appendItems(e)}))}return this._isVirtualMode()?(this._filter.internal=[this.option("parentIdExpr"),e.internalFields.key],this._dataSource.filter(this._combineFilter()),this._dataSource.load().done((function(e){t._areNodesExists(e)||t._appendItems(e)}))):(new C.Deferred).resolve([]).promise()},_areNodesExists:function(e,t){var n=this.keyOf(e[0]),i=this._dataAdapter.getFullData();return!!this._dataAdapter.getNodeByKey(n,i)},_appendItems:function(e){this.option().items=this.option("items").concat(e),this._initDataAdapter()},_animateNodeContainer:function(e,t,n,i){var r=this._getNodeElement(e),o=r.children(".".concat(k));e&&i&&0===o.length&&i.resolve(),o.addClass(E);var s=o.height();v.default.stop(o,!0),v.default.animate(o,{type:"custom",duration:this.option("animationEnabled")?400:0,from:{maxHeight:t?0:s},to:{maxHeight:t?s:0},complete:(function(){o.css("maxHeight","none"),o.toggleClass(E,t),this.setAria("expanded",t,r),this._scrollableContainer.update(),this._fireExpandedStateUpdatedEvent(t,e,n),i&&i.resolve()}).bind(this)})},_fireExpandedStateUpdatedEvent:function(e,t,n){if(this._hasChildren(t)){var i=e?"onItemExpanded":"onItemCollapsed";if((0,u.isDefined)(n))this._itemDXEventHandler(n,i,{node:this._dataAdapter.getPublicNode(t)});else{var r=this._getNodeElement(t);this._itemEventHandler(r,i,{event:n,node:this._dataAdapter.getPublicNode(t)})}}},_normalizeIconState:function(e,t){var n=e.find(".dx-loadindicator");n.length&&w.default.getInstance(n).option("visible",!1),t?e.find("."+L).show():(e.f
1ind("."+L).removeClass(L),e.addClass(I))},_emptyMessageContainer:function(){return this._scrollableContainer?this._scrollableContainer.content():this.callBase()},_renderContent:function(){var e=this.option("items");e&&e.length&&(this._contentAlreadyRendered=!0),this.callBase()},_renderSelectAllItem:function(e){e=e||this.$element().find(".".concat(k)).first(),this._$selectAllItem=(0,i.default)("<div>").addClass(B);var t=this._dataAdapter.isAllSelected();this._createComponent(this._$selectAllItem,f.default,{value:t,text:this.option("selectAllText"),onValueChanged:(function(e){this._toggleSelectAll(e),this._fireSelectAllValueChanged(e.value)}).bind(this)}),this._toggleSelectedClass(this._$selectAllItem,t),e.before(this._$selectAllItem)},_toggleSelectAll:function(e){this._dataAdapter.toggleSelectAll(e.value),this._updateItemsUI(),this._fireSelectionChanged()},_renderCheckBox:function(e,t){var n=(0,i.default)("<div>").appendTo(e);this._createComponent(n,f.default,{value:t.internalFields.selected,onValueChanged:this._changeCheckboxValue.bind(this),focusStateEnabled:!1,disabled:this._disabledGetter(t)})},_toggleSelectedClass:function(e,t){e.toggleClass("dx-state-selected",!!t)},_toggleNodeDisabledState:function(e,t){var n=this._getNodeElement(e),i=n.find("."+D).eq(0);this._dataAdapter.toggleNodeDisabledState(e.internalFields.key,t),i.toggleClass("dx-state-disabled",!!t),this._showCheckboxes()&&this._getCheckBoxInstance(n).option("disabled",!!t)},_itemOptionChanged:function(e,t,n){var i=this._dataAdapter.getNodeByItem(e);t===this.option("disabledExpr")&&this._toggleNodeDisabledState(i,n)},_changeCheckboxValue:function(e){var t=(0,i.default)(e.element).parent("."+S).children("."+D),n=this._getItemData(t),r=this._getNodeByElement(t),o=e.value;r&&r.internalFields.selected===o||this._updateItemSelection(o,n,e.event)},_isSingleSelection:function(){return"single"===this.option("selectionMode")},_isRecursiveSelection:function(){return this.option("selectNodesRecursive")&&"single"!==this.option("selectionMode")},_isLastSelectedBranch:function(e,t,n){var i=t.indexOf(e.key);return i>=0&&t.splice(i,1),n&&(0,h.each)(e.children,(function(e,n){this._isLastSelectedBranch(n,t,!0)}).bind(this)),e.parent&&this._isLastSelectedBranch(e.parent,t),0===t.length},_isLastRequired:function(e){var t=this.option("selectionRequired"),n=this._isSingleSelection(),i=this.getSelectedNodesKeys();if(t)return n?1===i.length:this._isLastSelectedBranch(e.internalFields.publicNode,i.slice(),!0)},_updateItemSelection:function(e,t,n){var i=this,r=this._getNode(t);if(r&&r.internalFields.selected!==e)if(e||!this._isLastRequired(r)){var o=this.getSelectedNodesKeys();this._isSingleSelection()&&e&&(0,h.each)(o,(function(e,t){i.unselectItem(t)})),this._dataAdapter.toggleSelection(r.internalFields.key,e),this._updateItemsUI();var s=n||this._findItemElementByItem(r.internalFields.item);(n?this._itemDXEventHandler:this._itemEventHandler).call(this,s,"onItemSelectionChanged",{node:this._dataAdapter.getPublicNode(r),itemData:r.internalFields.item}),this._fireSelectionChanged()}else if(this._showCheckboxes()){var a=this._getNodeElement(r),l=this._getCheckBoxInstance(a);l&&l.option("value",!0)}},_getCheckBoxInstance:function(e){return e.children(".dx-checkbox").dxCheckBox("instance")},_updateItemsUI:function(){var e=this,t={};(0,h.each)(this._dataAdapter.getData(),(function(n,i){var r=e._getNodeElement(i,t),o=i.internalFields.selected;r.length&&(e._toggleSelectedClass(r,o),e.setAria("selected",o,r),e._showCheckboxes()&&e._getCheckBoxInstance(r).option("value",o))})),this._selectAllEnabled()&&this._$selectAllItem.dxCheckBox("instance").option("value",this._dataAdapter.isAllSelected())},_updateParentsState:function(e,t){if(t){var n=this._dataAdapter.getNodeByKey(e.internalFields.parentKey),r=(0,i.default)(t.parents("."+S)[0]);if(this._showCheckboxes()){var o=n.internalFields.selected;this._getCheckBoxInstance(r).option("value",o),this._toggleSelectedClass(r,o)}n.internalFields.parentKey!==this.option("rootValue")&&this._updateParentsState(n,r)}},_itemEventHandlerImpl:function(e,t,n){var r=(0,i.default)(e).closest("."+S).children("."+D);return t((0,d.extend)(this._extendActionArgs(r),n))},_itemContextMenuHandler:function(e){this._createEventHandler("onItemContextMenu",e)},_itemHoldHandler:function(e){this._createEventHandler("onItemHold",e)},_createEventHandler:function(e,t){var n=this._getNodeByElement(t.currentTarget);this._itemDXEventHandler(t,e,{node:this._dataAdapter.getPublicNode(n)})},_itemClass:function(){return D},_itemDataKey:function(){return R},_attachClickEvent:function(){var e="."+this._itemClass(),t="."+S+", ."+B,n=(0,g.addNamespace)(a.default.name,this.NAME),r=(0,g.addNamespace)(_.down,this.NAME),s=this._itemContainer(),l=this;(0,o.off)(s,n,e),(0,o.off)(s,r,t),(0,o.on)(s,n,e,(function(e){l._itemClickHandler(e,(0,i.default)(this))})),(0,o.on)(s,r,t,(function(e){l._itemPointerDownHandler(e)}))},_itemClickHandler:function(e,t){var n=this._getItemData(t),i=this._getNodeByElement(t);this._itemDXEventHandler(e,"onItemClick",{node:this._dataAdapter.getPublicNode(i)}),this.option("selectByClick")&&!e.isDefaultPrevented()&&this._updateItemSelection(!i.internalFields.selected,n,e)},_updateSelectionToFirstItem:function(e,t){for(var n=t;n>=0;){var r=(0,i.default)(e[n]);this._updateItemSelection(!0,r.find("."+D).get(0)),n--}},_updateSelectionToLastItem:function(e,t){for(var n=e.length,r=t;r<n;){var o=(0,i.default)(e[r]);this._updateItemSelection(!0,o.find("."+D).get(0)),r++}},_focusInHandler:function(e){var t=this;if(this._updateFocusState(e,!0),this.option("focusedElement"))return clearTimeout(this._setFocusedItemTimeout),void(this._setFocusedItemTimeout=setTimeout((function(){t._setFocusedItem((0,i.default)(t.option("focusedElement")))})));var n=this._getActiveItem();
1this.option("focusedElement",(0,p.getPublicElement)(n.closest("."+S)))},_setFocusedItem:function(e){e&&e.length&&(e.children().hasClass("dx-state-disabled")||this.callBase(e),this._scrollableContainer.scrollToElement(e.find("."+D).first()))},_itemPointerDownHandler:function(e){if(this.option("focusStateEnabled")){var t=(0,i.default)(e.target).closest("."+S+", ."+B);if(t.length){var n=t.hasClass("dx-state-disabled")?null:t;this.option("focusedElement",(0,p.getPublicElement)(n))}}},_findNonDisabledNodes:function(e){return e.not((function(){return(0,i.default)(this).children("."+D).hasClass("dx-state-disabled")}))},_moveFocus:function(e,t){var n="up",i="down",r="first",o="last",s=this.option("rtlEnabled")?"right":"left",a=this.option("rtlEnabled")?"left":"right";this.$element().find(".".concat(k)).each((function(){v.default.stop(this,!0)}));var l=this._findNonDisabledNodes(this._nodeElements());if(l&&l.length)switch(e){case n:var c=this._prevItem(l);this.option("focusedElement",(0,p.getPublicElement)(c)),t.shiftKey&&this._showCheckboxes()&&this._updateItemSelection(!0,c.find("."+D).get(0));break;case i:var u=this._nextItem(l);this.option("focusedElement",(0,p.getPublicElement)(u)),t.shiftKey&&this._showCheckboxes()&&this._updateItemSelection(!0,u.find("."+D).get(0));break;case r:var d=l.first();t.shiftKey&&this._showCheckboxes()&&this._updateSelectionToFirstItem(l,l.index(this._prevItem(l))),this.option("focusedElement",(0,p.getPublicElement)(d));break;case o:var h=l.last();t.shiftKey&&this._showCheckboxes()&&this._updateSelectionToLastItem(l,l.index(this._nextItem(l))),this.option("focusedElement",(0,p.getPublicElement)(h));break;case a:this._expandFocusedContainer();break;case s:this._collapseFocusedContainer();break;default:return void this.callBase.apply(this,arguments)}},_nodeElements:function(){return this.$element().find("."+S).not(":hidden")},_expandFocusedContainer:function(){var e=(0,i.default)(this.option("focusedElement"));if(e.length&&!e.hasClass(I))if(e.find(".".concat(k)).eq(0).hasClass(E)){var t=this._nextItem(this._findNonDisabledNodes(this._nodeElements()));this.option("focusedElement",(0,p.getPublicElement)(t))}else{var n=this._getNodeByElement(e.children("."+D));this._toggleExpandedState(n,!0)}},_getClosestNonDisabledNode:function(e){do{e=e.parent().closest("."+S)}while(e.children(".dx-treeview-item.dx-state-disabled").length);return e},_collapseFocusedContainer:function(){var e=(0,i.default)(this.option("focusedElement"));if(e.length){var t=e.find(".".concat(k)).eq(0);if(!e.hasClass(I)&&t.hasClass(E)){var n=this._getNodeByElement(e.children("."+D));this._toggleExpandedState(n,!1)}else{var r=this._getClosestNonDisabledNode(e);r.length&&this.option("focusedElement",(0,p.getPublicElement)(r))}}},_encodeString:function(e){return(0,u.isString)(e)?encodeURI(e):e},_decodeString:function(e){return(0,u.isString)(e)?decodeURI(e):e},updateDimensions:function(){var e=this,t=new C.Deferred;return this._scrollableContainer?this._scrollableContainer.update().done((function(){t.resolveWith(e)})):t.resolveWith(this),t.promise()},selectItem:function(e){this._updateItemSelection(!0,e)},unselectItem:function(e){this._updateItemSelection(!1,e)},expandItem:function(e){return this._toggleExpandedState(e,!0)},collapseItem:function(e){return this._toggleExpandedState(e,!1)},getNodes:function(){return this._dataAdapter.getTreeNodes()},getSelectedNodesKeys:function(){return this._dataAdapter.getSelectedNodesKeys()},selectAll:function(){this._selectAllEnabled()?this._$selectAllItem.dxCheckBox("instance").option("value",!0):this._toggleSelectAll({value:!0})},unselectAll:function(){this._selectAllEnabled()?this._$selectAllItem.dxCheckBox("instance").option("value",!1):this._toggleSelectAll({value:!1})},expandAll:function(){var e=this._dataAdapter;(0,h.each)(e.getData(),(function(t,n){return e.toggleExpansion(n.internalFields.key,!0)})),this.repaint()},collapseAll:function(){(0,h.each)(this._dataAdapter.getExpandedNodesKeys(),(function(e,t){this._toggleExpandedState(t,!1)}).bind(this))}});e.exports=H},UdML:function(e,t,n){"use strict";var i=n("FKN7"),r=n("2Fn2"),o=n("cGv3").getWindow(),s=n("ti0F"),a=n("zl3R").each,l=n("5qrJ"),c=n("/7L9"),u=l.inherit({ctor:function(e,t){t=t||{}
1,this._action=e,this._context=t.context||o,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,i=e.args[0]||{};if(!("jQueryEvent"in i)&&i.event&&r().useJQuery&&Object.defineProperty(i,"jQueryEvent",{get:function(){return c.log("W0003","Handler argument","jQueryEvent","17.2","Use the 'event' field instead"),i.event},set:function(e){c.log("W0003","Handler argument","jQueryEvent","17.2","Use the 'event' field instead"),i.event=e}}),this._validateAction(e)&&(t&&t.call(this._context,e),!e.cancel)){var o=this._executeAction(e);if(!i.cancel)return n&&n.call(this._context,e),o}},_validateAction:function(e){var t=this._excludeValidators,n=u.executors;for(var i in n)if(!t[i]){var r=n[i];if(r.validate&&r.validate(e),e.cancel)return!1}return!0},_executeAction:function(e){var t,n=u.executors;for(var i in n){var r=n[i];if(r.execute&&r.execute(e),e.handled){t=e.result;break}}return t}});u.executors={},u.registerExecutor=function(e,t){s.isPlainObject(e)?a(e,u.registerExecutor):u.executors[e]=t},u.unregisterExecutor=function(){var e=[].slice.call(arguments);a(e,(function(){delete u.executors[this]}))},u.registerExecutor({undefined:{execute:function(e){e.action||(e.result=void 0,e.handled=!0)}},func:{execute:function(e){s.isFunction(e.action)&&(e.result=e.action.call(e.context,e.args[0]),e.handled=!0)}}});var d=function(e){return function(t){if(t.args.length){var n=t.args[0],r=n[t.validatingTargetName]||n.element;r&&e(i(r))&&(t.cancel=!0)}}};u.registerExecutor({disabled:{validate:d((function(e){return e.is(".dx-state-disabled, .dx-state-disabled *")}))},readOnly:{validate:d((function(e){return e.is(".dx-state-readonly, .dx-state-readonly *")}))}}),e.exports=u},UfT8:function(e,t,n){"use strict";var i=n("1LL4").extend,r=n("wZ/z"),o=n("x9yN"),s=n("PdPS"),a=n("JDOJ"),l=!1,c=function(){l||(o.activate(),l=!0)},u=r.inherit({EVENT_LOCK_TIMEOUT:100,ctor:function(){this.callBase.apply(this,arguments),c()},_handler:function(e){var t=a.isMouseEvent(e);if(t||(this._skipNextEvents=!0),!t||!this._mouseLocked){if(!t||!this._skipNextEvents)return this.callBase(e);this._skipNextEvents=!1,this._mouseLocked=!0,clearTimeout(this._unlockMouseTimer);var n=this;this._unlockMouseTimer=setTimeout((function(){n._mouseLocked=!1}),this.EVENT_LOCK_TIMEOUT)}},_fireEvent:function(e){var t=a.isMouseEvent(e.originalEvent);return this.callBase(i((t?o.normalize:s.normalize)(e.originalEvent),e))},dispose:function(){this.callBase(),this._skipNextEvents=!1,this._mouseLocked=!1,clearTimeout(this._unlockMouseTimer)}});u.map={dxpointerdown:"touchstart mousedown",dxpointermove:"touchmove mousemove",dxpointerup:"touchend mouseup",dxpointercancel:"touchcancel",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},u.resetObserver=o.resetObserver,e.exports=u},"Uhe+":function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n("XpgS").inArray,o=n("cjX/").inherit({_getPlainItems:function(){return this._collectionWidget.option("items")||[]},getIndexByItemData:function(e){var t=this._collectionWidget.keyOf.bind(this._collectionWidget);return t?this.getIndexByKey(t(e)):r(e,this._getPlainItems())},getItemDataByIndex:function(e){return this._getPlainItems()[e]},deleteItemAtIndex:function(e){this._getPlainItems().splice(e,1)},itemsGetter:function(){return this._getPlainItems()},getKeysByItems:function(e){var t=this._collectionWidget.keyOf.bind(this._collectionWidget),n=e;if(t){n=[];for(var i=0;i<e.length;i++)n.push(t(e[i]))}return n},getIndexByKey:function(e){var t=this._cache,n=t&&t.keys||this.getKeysByItems(this._getPlainItems());if(t&&!t.keys&&(t.keys=n),"object"!==i(e))return n.indexOf(e);for(var r=0,o=n.length;r<o;r++)if(this._equalKeys(e,n[r]))return r;return-1},getItemsByKeys:function(e,t){return(t||e).slice()},moveItemAtIndexToIndex:function(e,t){var n=this._getPlainItems(),i=n[e];n.splice(e,1),n.splice(t,0,i)},_isItemIndex:function(e){return"number"==typeof e&&Math.round(e)===e},_getNormalizedItemIndex:function(e){return this._collectionWidget._itemElements().index(e)},_normalizeItemIndex:function(e){return e},_denormalizeItemIndex:function(e){return e},_getItemByNormalizedIndex:function(e){return e>-1?this._collectionWidget._itemElements().eq(e):null},_itemsFromSameParent:function(){return!0}});e.exports=o},UmEg:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var n in t)t.hasOwnProperty(n)&&"string"==typeof e[n=t[n]]&&(e[n]=parseInt(e[n],10));return"string"==typeof e.displayValue&&(e.displayValue="false"!=e.displayValue),e}},UpQW:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},Uus4:function(e,t,n){"use strict";var i=n("FKN7"),r=n("D6VQ"),o=n("zl3R").each,s=n("XDlL").inherit({_activeStateUnit:".dx-toolbar-menu-action",_initMarkup:function(){this._renderSections(),this.callBase()},_getSections:function(){return this._itemContainer().children()},_itemElements:function(){return this._getSections().children(this._itemSelector())},_renderSections:function(){var e=this,t=this._itemContainer();o(["before","center","after","menu"],(function(){var n="_$"+this+"Section",r=e[n];r||(e[n]=r=i("<div>").addClass("dx-toolbar-menu-section")),r.appendTo(t)}))},_renderItems:function(){this.callBase.apply(this,arguments),this._updateSections()},_updateSections:function(){var e=this.$element().find(".dx-toolbar-menu-section");e.removeClass("dx-toolbar-menu-last-section"),e.not(":empty").eq(-1).addClass("dx-toolbar-menu-last-section")},_renderItem:function(e,t,n,i){var r=t.location||"menu",o=this.callBase(e,t,this["_$"+r+"Section"],i);return this._getItemTemplateName({itemData:t})&&o.addClass("dx-toolbar-menu-custom"),("menu"===r||"dxButton"===t.widget||t.isAction)&&o.addClass("dx-toolbar-menu-action"),"dxButton"===t.widget&&o.addClass("dx-toolbar-hidden-button"),o.addClass(t.cssClass),o},_getItemTemplateName:function(e){var t=this.callBase(e),n=e.itemData;return n&&n.menuItemTemplate||t},_itemClickHandler:function(e,t,n){i(e.target).closest(".dx-toolbar-menu-action").length&&this.callBase(e,t,n)},_clean:function(){this._getSections().empty(),this.callBase()}});r("dxToolbarMenu",s),e.exports=s},UwWO:function(e,t,n){"use strict";e.exports={_waitAsyncTemplates:function(e){if(this._options.templatesRenderAsynchronously){this._asyncTemplatesTimers=this._asyncTemplatesTimers||[];var t=setTimeout((function(){e.call(this),clearTimeout(t)}).bind(this));this._asyncTemplatesTimers.push(t)}else e.call(this)},_cleanAsyncTemplatesTimer:function(){for(var e=this._asyncTemplatesTimers||[],t=0;t<e.length;t++)clearTimeout(e[t]);delete this._asyncTemplatesTimers}}},V2fm:function(e,t,n){"use strict";var i=n("IRs2"),r=l(n("Q7sy")),o=n("YyLj"),s=l(n("L+Gw")),a=l(n("IlOo"));
1function l(e){return e&&e.__esModule?e:{default:e}}var c=s.default.inherit({ctor:function(e){e=Array.isArray(e)?{data:e}:e||{},this.callBase(e);var t=e.data;if(t&&!Array.isArray(t))throw o.errors.Error("E4006");this._array=t||[]},createQuery:function(){return(0,r.default)(this._array,{errorHandler:this._errorHandler})},_byKeyImpl:function(e){var t=a.default.indexByKey(this,this._array,e);return-1===t?(0,i.rejectedPromise)(o.errors.Error("E4009")):(0,i.trivialPromise)(this._array[t])},_insertImpl:function(e){return a.default.insert(this,this._array,e)},_pushImpl:function(e){a.default.applyBatch(this,this._array,e)},_updateImpl:function(e,t){return a.default.update(this,this._array,e,t)},_removeImpl:function(e){return a.default.remove(this,this._array,e)},clear:function(){this.fireEvent("modifying"),this._array=[],this.fireEvent("modified")}},"array");e.exports=c,e.exports.default=e.exports},V2x9:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},VEhS:function(e,t,n){"use strict";e.exports=function(e,t){var n=e[t];return n?"root"!==n&&n:t.substr(0,t.lastIndexOf("-"))}},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("z+Ro"),o=n("bHdf"),s=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(r.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof i.a?e[0]:Object(o.a)(t)(Object(s.a)(e,n))}},Vclq:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%
1d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},Vg8w:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,r=(i=n("0osO"))&&i.__esModule?i:{default:i},o=n("zl3R"),s=n("1LL4"),a=n("ti0F");var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._map={}}var t;return(t=[{key:"_findWidgetInstance",value:function(e){var t;return(0,o.each)(this._map,(function(n,i){var r=i.widgetInstance;if(e(i.item))return t=r,!1})),t}},{key:"_findFieldByCondition",value:function(e,t){var n;return(0,o.each)(this._map,(function(i,r){if(e(r))return n="guid"===t?i:r[t],!1})),n}},{key:"clear",value:function(){this._map={}}},{key:"removeItemsByItems",value:function(e){var t=this;(0,o.each)(e.getItems(),(function(e){return t.removeItemByKey(e)}))}},{key:"removeItemByKey",value:function(e){delete this._map[e]}},{key:"add",value:function(e){var t=e.guid||new r.default;return this._map[t]=e,t}},{key:"addItemsOrExtendFrom",value:function(e){var t=this;e.each((function(e,n){t._map[e]?(n.widgetInstance&&(t._map[e].widgetInstance=n.widgetInstance),t._map[e].$itemContainer=n.$itemContainer):t.add({item:n.item,widgetInstance:n.widgetInstance,guid:e,$itemContainer:n.$itemContainer})}))}},{key:"extendRunTimeItemInfoByKey",value:function(e,t){this._map[e]&&(this._map[e]=(0,s.extend)(this._map[e],t))}},{key:"findWidgetInstanceByItem",value:function(e){return this._findWidgetInstance((function(t){return t===e}))}},{key:"getGroupOrTabLayoutManagerByPath",value:function(e){return this._findFieldByCondition((function(t){return t.path===e}),"layoutManager")}},{key:"getKeyByPath",value:function(e){return this._findFieldByCondition((function(t){return t.path===e}),"guid")}},{key:"getPathFromItem",value:function(e){return this._findFieldByCondition((function(t){return t.item===e}),"path")}},{key:"findWidgetInstanceByName",value:function(e){return this._findWidgetInstance((function(t){return e===t.name}))}},{key:"findWidgetInstanceByDataField",value:function(e){return this._findWidgetInstance((function(t){return e===((0,a.isString)(t)?t:t.dataField)}))}},{key:"findItemContainerByItem",value:function(e){for(var t in this._map)if(this._map[t].item===e)return this._map[t].$itemContainer;return null}},{key:"findItemIndexByItem",value:function(e){return this._findFieldByCondition((function(t){return t.item===e}),"itemIndex")}},{key:"getItems",value:function(){return this._map}},{key:"each",value:function(e){(0,o.each)(this._map,(function(t,n){e(t,n)}))}},{key:"removeItemsByPathStartWith",value:function(e){var t=this;Object.keys(this._map).filter((function(n){return t._map[n].path.indexOf(e,0)>-1})).forEach((function(e){return t.removeItemByKey(e)}))}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();t.default=l},VyaE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("wkMt");t.default=function(e,t,n){var r=e.split("").map((function(e,n){return i.BINARIES[t[n]]})).map((function(t,n){return t?t[e[n]]:""}));if(n){var o=e.length-1;r=r.map((function(e,t){return t<o?e+n:e}))}return r.join("")}},WD9T:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n("wkMt"),o=s(n("VyaE"));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var e,t=r.EAN5_STRUCTURE[(e=this.data,e.split("").map((function(e){return+e})).reduce((function(e,t,n){return n%2?e+9*t:e+3*t}),0)%10)];return{data:"1011"+(0,o.default)(this.data,t,"01"),text:this.text}}}]),t}(s(n("52Lf")).default);t.default=a},WJl1:function(e,t,n){"use strict";var i=n("FKN7"),r=n("8Qh0").inherit({_renderWatchers:function(){this.callBase(),this._startWatcher("badge",this._renderBadge.bind(this)),this._startWatcher("showChevron",this._renderShowChevron.bind(this))},_renderBadge:function(e){if(this._$element.children(".dx-list-item-badge-container").remove(),e){var t=i("<div>").addClass("dx-list-item-badge-container").append(i("<div>").addClass("dx-list-item-badge").addClass("dx-badge").text(e)),n=this._$element.children(".dx-list-item-chevron-container").first();n.length>0?t.insertBefore(n):t.appendTo(this._$element)}},_renderShowChevron:function(e){if(this._$element.children(".dx-list-item-chevron-container").remove(),e){var t=i("<div>").addClass("dx-list-item-chevron-container"),n=i("<div>").addClass("dx-list-item-chevron");t.append(n).appendTo(this._$element)}}});e.exports=r},WMd4:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("EY2u"),r=n("LRne"),o=n("z6cu");let s=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n
1)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})()},WWN2:function(e,t,n){"use strict";var i,r=(i=n("Yt8F"))&&i.__esModule?i:{default:i};e.exports={registerKeyboardAction:function(e,t,n,i,o){var s=t.getController("keyboardNavigation");t.option("useLegacyKeyboardNavigation")||s&&!s.isKeyboardEnabled()||(t.createAction("onKeyDown"),r.default.registerKeyboardAction(e,t,n,i,o,(function(e){t.executeAction("onKeyDown",e)})))}}},WYrj:function(e,t,n){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,n){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},WaTZ:function(e,t,n){"use strict";var i,r,o,s,a=n("jeLr"),l=n("5qrJ"),c=l.abstract,u=n("JDOJ"),d=n("3gJo"),h=n("Z/aR"),p=n("dRNr"),f=n("LdFP").real(),m=n("XWmc").compare,g=l.inherit((i=u.addNamespace("scroll","dxScrollEmitter"),{ctor:function(e){this._element=e,this._locked=!1;var t=this;this._proxiedScroll=function(e){t._scroll(e)},a.on(this._element,i,this._proxiedScroll)},_scroll:c,check:function(e,t){this._locked&&t()},dispose:function(){a.off(this._element,i,this._proxiedScroll)}})),_=g.inherit({ctor:function(e,t){this.callBase(e),this._timeout=t},_scroll:function(){this._prepare(),this._forget()},_prepare:function(){this._timer&&this._clearTimer(),this._locked=!0},_clearTimer:function(){clearTimeout(this._timer),this._locked=!1,this._timer=null},_forget:function(){var e=this;this._timer=setTimeout((function(){e._clearTimer()}),this._timeout)},dispose:function(){this.callBase(),this._clearTimer()}}),b=_.inherit({ctor:function(e){this.callBase(e,400),this._lastWheelDirection=null},check:function(e,t){this._checkDirectionChanged(e),this.callBase(e,t)},_checkDirectionChanged:function(e){if(u.isDxMouseWheelEvent(e)){var t=e.shiftKey||!1,n=null!==this._lastWheelDirection&&t!==this._lastWheelDirection;this._lastWheelDirection=t,this._locked=this._locked&&!n}else this._lastWheelDirection=null}}),v=_.inherit({ctor:function(e){this.callBase(e,400)}});r=f.ios&&m(f.version,[8])>=0,o=f.android&&m(f.version,[5])>=0,(r||o)&&(v=g.inherit({_scroll:function(){this._locked=!0;var e=this;p.cancelAnimationFrame(this._scrollFrame),this._scrollFrame=p.requestAnimationFrame((function(){e._locked=!1}))},check:function(e,t){p.cancelAnimationFrame(this._scrollFrame),p.cancelAnimationFrame(this._checkFrame);var n=this,i=this.callBase;this._checkFrame=p.requestAnimationFrame((function(){i.call(n,e,t),n._locked=!1}))},dispose:function(){this.callBase(),p.cancelAnimationFrame(this._scrollFrame),p.cancelAnimationFrame(this._checkFrame)}})),h({emitter:d.inherit((s=Math.round(1e3/60),{ctor:function(e){this.callBase.apply(this,arguments),this.direction="both",this._pointerLocker=new v(e),this._wheelLocker=new b(e)},validate:function(){return!0},configure:function(e){e.scrollTarget&&(this._pointerLocker.dispose(),this._wheelLocker.dispose(),this._pointerLocker=new v(e.scrollTarget),this._wheelLocker=new b(e.scrollTarget)),this.callBase(e)},_init:function(e){this._wheelLocker.check(e,(function(){u.isDxMouseWheelEvent(e)&&this._accept(e)}
1).bind(this)),this._pointerLocker.check(e,(function(){var t=this.isNative&&u.isMouseEvent(e);u.isDxMouseWheelEvent(e)||t||this._accept(e)}).bind(this)),this._fireEvent("dxscrollinit",e),this._prevEventData=u.eventData(e)},move:function(e){this.callBase.apply(this,arguments),e.isScrollingEvent=this.isNative||e.isScrollingEvent},_start:function(e){this._savedEventData=u.eventData(e),this._fireEvent("dxscrollstart",e),this._prevEventData=u.eventData(e)},_move:function(e){var t=u.eventData(e);this._fireEvent("dxscroll",e,{delta:u.eventDelta(this._prevEventData,t)}),u.eventDelta(this._savedEventData,t).time>200&&(this._savedEventData=this._prevEventData),this._prevEventData=u.eventData(e)},_end:function(e){var t=u.eventDelta(this._prevEventData,u.eventData(e)),n={x:0,y:0};if(!u.isDxMouseWheelEvent(e)&&t.time<100){var i=u.eventDelta(this._savedEventData,this._prevEventData),r=s/i.time;n={x:i.x*r,y:i.y*r}}this._fireEvent("dxscrollend",e,{velocity:n})},_stop:function(e){this._fireEvent("dxscrollstop",e)},cancel:function(e){this.callBase.apply(this,arguments),this._fireEvent("dxscrollcancel",e)},dispose:function(){this.callBase.apply(this,arguments),this._pointerLocker.dispose(),this._wheelLocker.dispose()},_clearSelection:function(){if(!this.isNative)return this.callBase.apply(this,arguments)},_toggleGestureCover:function(){if(!this.isNative)return this.callBase.apply(this,arguments)}})),events:["dxscrollinit","dxscrollstart","dxscroll","dxscrollend","dxscrollstop","dxscrollcancel"]}),e.exports={init:"dxscrollinit",start:"dxscrollstart",move:"dxscroll",end:"dxscrollend",stop:"dxscrollstop",cancel:"dxscrollcancel"}},We6E:function(e,t,n){"use strict";var i=n("ti0F"),r=n("4Oz5"),o=n("D8Ap"),s=n("Q7sy"),a=n("tJvG").Deferred;e.exports=r.inherit({getSelectedItems:function(){return this._loadFilteredData(this.options.selectionFilter)},getSelectedItemKeys:function(){var e=new a,t=this,n=this.options.key(),r=i.isString(n)?[n]:n;return this._loadFilteredData(this.options.selectionFilter,null,r).done((function(n){var i=n.map((function(e){return t.options.keyOf(e)}));e.resolve(i)})).fail(e.reject),e.promise()},selectedItemKeys:function(e,t,n,i){if(i){var r=this.options.filter();r?this._addSelectionFilter(n,r,i):this._setOption("selectionFilter",n?[]:null)}else{t||this._setOption("selectionFilter",[]);for(var o=0;o<e.length;o++)n?this.removeSelectedItem(e[o]):this.addSelectedItem(e[o])}return this.onSelectionChanged(),(new a).resolve()},setSelectedItems:function(e){this._setOption("selectionFilter",null);for(var t=0;t<e.length;t++)this.addSelectedItem(e[t])},isItemDataSelected:function(e){return this.isItemKeySelected(e)},isItemKeySelected:function(e){var t=this.options.selectionFilter;return!t||!!s([e]).filter(t).toArray().length},_getFilterByKey:function(e){var t=this.options.key(),n=[t,"=",e];if(Array.isArray(t)){n=[];for(var i=0;i<t.length;i++)n.push([t[i],"=",e[t[i]]]),i!==t.length-1&&n.push("and")}return n},addSelectedItem:function(e){var t=this._getFilterByKey(e);this._addSelectionFilter(!1,t)},removeSelectedItem:function(e){var t=this._getFilterByKey(e);this._addSelectionFilter(!0,t)},validate:function(){var e=this.options.key;if(e&&void 0===e())throw o.Error("E1042","Deferred selection")},_findSubFilter:function(e,t){if(!e)return-1;for(var n=JSON.stringify(t),i=0;i<e.length;i++){var r=e[i];if(r&&JSON.stringify(r)===n)return i}return-1},_isLastSubFilter:function(e,t){return!(!e||!t||this._findSubFilter(e,t)!==e.length-1&&0!==this._findSubFilter([e],t))},_addFilterOperator:function(e,t){return e.length>1&&i.isString(e[1])&&e[1]!==t&&(e=[e]),e.length&&e.push(t),e},_denormalizeFilter:function(e){return e&&i.isString(e[0])&&(e=[e]),e},_addSelectionFilter:function(e,t,n){var i=e?["!",t]:t,r=e?"and":"or",o=!0,s=this.options.selectionFilter||[];if((s=this._denormalizeFilter(s))&&s.length){this._removeSameFilter(s,t,e,n);var a=this._removeSameFilter(s,t,!e),l=this._isKeyFilter(t)&&this._hasKeyFiltersOnlyStartingFromIndex(s,a);(o=t.length&&!l)&&(s=this._addFilterOperator(s,r))}o&&s.push(i),s=this._normalizeFilter(s),this._setOption("selectionFilter",e||s.length?s:null)},_normalizeFilter:function(e){return e&&1===e.length&&(e=e[0]),e},_removeFilterByIndex:function(e,t,n){var i=e[1];e.splice(t>0?t-1:t,2),n&&"and"===i&&e.splice(0,e.length)},_isSimpleKeyFilter:function(e,t){return 3===e.length&&e[0]===t&&"="===e[1]},_isKeyFilter:function(e){if(2===e.length&&"!"===e[0])return this._isKeyFilter(e[1]);var t=this.options.key();if(Array.isArray(t)){if(e.length!==2*t.length-1)return!1;for(var n=0;n<t.length;n++){if(n>0&&"and"!==e[n])return!1;if(!this._isSimpleKeyFilter(e[2*n],t[n]))return!1}return!0}return this._isSimpleKeyFilter(e,t)}
1,_hasKeyFiltersOnlyStartingFromIndex:function(e,t){if(t>=0){for(var n=t;n<e.length;n++)if("string"!=typeof e[n]&&!this._isKeyFilter(e[n]))return!1;return!0}return!1},_removeSameFilter:function(e,t,n,i){if(t=n?["!",t]:t,JSON.stringify(t)===JSON.stringify(e))return e.splice(0,e.length),0;var r=this._findSubFilter(e,t);if(r>=0)return this._removeFilterByIndex(e,r,i),r;for(var o=0;o<e.length;o++)if(Array.isArray(e[o])&&e[o].length>2){var s=this._removeSameFilter(e[o],t,!1,i);if(s>=0)return e[o].length?1===e[o].length&&(e[o]=e[o][0]):this._removeFilterByIndex(e,o,i),s}return-1},getSelectAllState:function(){var e=this.options.filter(),t=this.options.selectionFilter;return!t||!!t.length&&(e&&e.length?(t=this._denormalizeFilter(t),!!this._isLastSubFilter(t,e)||!this._isLastSubFilter(t,["!",e])&&void 0):void 0)}})},Wku4:function(e,t,n){"use strict";var i=n("FKN7"),r=n("1LL4").extend,o=n("zBVi"),s=n("XPWh"),a=o.inherit({_getDefaultOptions:function(){return r(this.callBase(),{onClick:null,onCaptionClick:null,text:""})},_init:function(){this.callBase(),this._initActions()},_initActions:function(){this._clickAction=this._createActionByOption("onClick"),this._captionClickAction=this._createActionByOption("onCaptionClick")},_initMarkup:function(){this.callBase(),this.$element().addClass("dx-calendar-navigator"),this._renderButtons(),this._renderCaption()},_renderButtons:function(){var e=this,t=this.option("rtlEnabled")?-1:1;this._prevButton=this._createComponent(i("<a>"),s,{focusStateEnabled:!1,icon:"chevronleft",onClick:function(n){e._clickAction({direction:-t,event:n})},integrationOptions:{}});var n=this._prevButton.$element().addClass("dx-calendar-navigator-previous-view").addClass("dx-calendar-navigator-previous-month");this._nextButton=this._createComponent(i("<a>"),s,{focusStateEnabled:!1,icon:"chevronright",onClick:function(n){e._clickAction({direction:t,event:n})},integrationOptions:{}});var r=this._nextButton.$element().addClass("dx-calendar-navigator-next-view").addClass("dx-calendar-navigator-next-month");this._caption=this._createComponent(i("<a>").addClass("dx-calendar-caption-button"),s,{focusStateEnabled:!1,onClick:function(t){e._captionClickAction({event:t})},integrationOptions:{}});var o=this._caption.$element();this.$element().append(n,o,r)},_renderCaption:function(){this._caption.option("text",this.option("text"))},toggleButton:function(e,t){var n=this["_"+e+"Button"];n&&(n.option("disabled",t),n.$element().toggleClass("dx-calendar-disabled-navigator-link",t))},_optionChanged:function(e){switch(e.name){case"text":this._renderCaption();break;default:this.callBase(e)}}});e.exports=a},"Wmz/":function(e,t,n){"use strict";var i=f(n("FKN7")),r=n("yxXJ"),o=n("1LL4"),s=n("zl3R"),a=f(n("LdFP")),l=f(n("CBR9")),c=f(n("o3MM")),u=f(n("3wDN")),d=n("b1t7"),h=n("ti0F"),p=n("KAnu");function f(e){return e&&e.__esModule?e:{default:e}}var m=u.default.inherit({_getDefaultOptions:function(){return(0,o.extend)(this.callBase(),{keyExpr:"id",displayExpr:"text",selectedExpr:"selected",disabledExpr:"disabled",itemsExpr:"items",hoverStateEnabled:!0,parentIdExpr:"parentId",expandedExpr:"expanded"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===a.default.real().deviceType&&!a.default.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this._initAccessors(),this._initDataAdapter(),this._initDynamicTemplates()},_initDataSource:function(){this.callBase(),this._dataSource&&this._dataSource.paginate(!1)},_initDataAdapter:function(){var e=this._createDataAdapterAccessors();this._dataAdapter=new c.default((0,o.extend)({dataAccessors:{getters:e.getters,setters:e.setters},items:this.option("items")},this._getDataAdapterOptions()))},_getDataAdapterOptions:p.noop,_initDynamicTemplates:function(){var e=this;this._defaultTemplates.item=new d.BindableTemplate((function(t,n){t.html(n.html).append(this._getIconContainer(n)).append(this._getTextContainer(n)).append(this._getPopoutContainer(n)),e._addContentClasses(n,t.parent())}).bind(this),["text","html","items","icon"],this.option("integrationOptions.watchMethod"),{text:this._displayGetter,items:this._itemsGetter})},_getIconContainer:function(e){return e.icon?l.default.getImageContainer(e.icon):void 0},_getTextContainer:function(e){return(0,i.default)("<span>").text(e.text)},_getPopoutContainer:p.noop,_addContentClasses:p.noop,_initAccessors:function(){var e=this;(0,s.each)(this._getAccessors(),(function(t,n){e._compileAccessor(n)})),this._compileDisplayGetter()},_getAccessors:function(){return["key","selected","items","disabled","parentId","expanded"]},_getChildNodes:function(e){var t=this,n=[];return(0,s.each)(e.internalFields.childrenKeys,(function(e,i){var r=t._dataAdapter.getNodeByKey(i);n.push(r)})),n},_hasChildren:function(e){return e&&e.internalFields.childrenKeys.length},_compileAccessor:function(e){var t="_"+e+"Getter",n="_"+e+"Setter",i=this.option(e+"Expr");return i?(0,h.isFunction)(i)?(this[n]=function(e,t){e[i()]=t},void(this[t]=function(e){return e[i()]})):(this[t]=(0,r.compileGetter)(i),void(this[n]=(0,r.compileSetter)(i))):(this[t]=p.noop,void(this[n]=p.noop))},_createDataAdapterAccessors:function(){var e=this,t={getters:{},setters:{}};return(0,s.each)(this._getAccessors(),(function(n,i){var r="_"+i+"Setter",o="parentId"===i?"parentKey":i;t.getters[o]=e["_"+i+"Getter"],t.setters[o]=e[r]})),t.getters.display=this._displayGetter?this._displayGetter:function(e){return e.text},t},_initMarkup:function(){this.callBase(),this._addWidgetClass()},_addWidgetClass:function(){this._focusTarget().addClass(this._widgetClass())}
1,_widgetClass:p.noop,_renderItemFrame:function(e,t){var n=this.callBase.apply(this,arguments);return n.toggleClass("dx-state-disabled",!!this._disabledGetter(t)),n},_optionChanged:function(e){switch(e.name){case"displayExpr":case"keyExpr":this._initAccessors(),this._initDynamicTemplates(),this.repaint();break;case"itemsExpr":case"selectedExpr":case"disabledExpr":case"expandedExpr":case"parentIdExpr":this._initAccessors(),this._initDataAdapter(),this.repaint();break;case"items":this._initDataAdapter(),this.callBase(e);break;default:this.callBase(e)}}});e.exports=m},WqNo:function(e,t,n){"use strict";var i=n("FKN7"),r=n("tUd6"),o=n("jeLr"),s=n("KAnu"),a=n("ti0F"),l=n("z7z0"),c=n("1LL4").extend,u=n("XpgS").inArray,d=n("LdFP"),h=n("uHaw"),p=n("7Wk1"),f=n("JDOJ"),m=n("1f+4").default,g=n("imRD"),_=n("tJvG").Deferred,b=Math,v=["tab","del","backspace","leftArrow","rightArrow","home","end","enter"],y=p.inherit({_supportedKeys:function(){return c(this.callBase(),{upArrow:function(e){e.preventDefault(),e.stopPropagation(),this._spinUpChangeHandler(e)},downArrow:function(e){e.preventDefault(),e.stopPropagation(),this._spinDownChangeHandler(e)},enter:function(){}})},_getDefaultOptions:function(){return c(this.callBase(),{value:0,min:void 0,max:void 0,step:1,showSpinButtons:!1,useLargeSpinButtons:!0,mode:"text",invalidValueMessage:g.format("dxNumberBox-invalidValueMessage"),buttons:void 0})},_getDefaultButtons:function(){return this.callBase().concat([{name:"spins",Ctor:m}])},_isSupportInputMode:function(){var e=parseFloat(h.version);return h.chrome&&e>=66||h.safari&&e>=12||h.msie&&e>=75},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return d.real().generic&&!d.isSimulator()},options:{useLargeSpinButtons:!1}},{device:(function(){return"desktop"!==d.real().deviceType&&!this._isSupportInputMode()}).bind(this),options:{mode:"number"}}])},_initMarkup:function(){this._renderSubmitElement(),this.$element().addClass("dx-numberbox"),this.callBase()},_applyInputAttributes:function(e,t){e.attr("inputmode","decimal"),this.callBase(e,t)},_renderContentImpl:function(){this.option("isValid")&&this._validateValue(this.option("value")),this.setAria("role","spinbutton")},_renderSubmitElement:function(){this._$submitElement=i("<input>").attr("type","hidden").appendTo(this.$element()),this._setSubmitValue(this.option("value"))},_setSubmitValue:function(e){this._getSubmitElement().val(s.applyServerDecimalSeparator(e))},_getSubmitElement:function(){return this._$submitElement},_keyPressHandler:function(e){this.callBase(e);var t=f.getChar(e);if(!/[\d.,eE\-+]|Subtract/.test(t)){var n=f.normalizeKeyName(e);if(e.metaKey||e.ctrlKey||n&&u(n,v)>=0)return;return e.preventDefault(),!1}this._keyPressed=!0},_onMouseWheel:function(e){this._spinValueChange(e.delta>0?1:-1,e)},_renderValue:function(){var e=this._input().val(),t=this.option("value");e.length&&Number(e)===t||(this._forceValueRender(),this._toggleEmptinessEventHandler());var n=a.isDefined(t)?null:g.format("dxNumberBox-noDataText");return this.setAria({valuenow:s.ensureDefined(t,""),valuetext:n}),this.option("text",this._input().val()),this._updateButtons(),(new _).resolve()},_forceValueRender:function(){var e=this.option("value"),t=Number(e),n=isNaN(t)?"":this._applyDisplayValueFormatter(e);this._renderDisplayText(n)},_applyDisplayValueFormatter:function(e){return this.option("displayValueFormatter")(e)},_renderProps:function(){this.callBase(),this._input().prop({min:this.option("min"),max:this.option("max"),step:this.option("step")}),this.setAria({valuemin:s.ensureDefined(this.option("min"),""),valuemax:s.ensureDefined(this.option("max"),"")})},_spinButtonsPointerDownHandler:function(){var e=this._input();this.option("useLargeSpinButtons")||r.getActiveElement()===e[0]||o.trigger(e,"focus")},_spinUpChangeHandler:function(e){this.option("readOnly")||this._spinValueChange(1,e.event||e)},_spinDownChangeHandler:function(e){this.option("readOnly")||this._spinValueChange(-1,e.event||e)},_spinValueChange:function(e,t){var n=parseFloat(this.option("step"));if(0!==n){var i=parseFloat(this._normalizeInputValue())||0;i=this._correctRounding(i,n*e);var r=this.option("min"),o=this.option("max");
1a.isDefined(r)&&(i=Math.max(r,i)),a.isDefined(o)&&(i=Math.min(o,i)),this._saveValueChangeEvent(t),this.option("value",i)}},_correctRounding:function(e,t){var n=/[,.](.*)/,i=n.test(e),r=n.test(t);if(i||r){var o=i?n.exec(e)[0].length:0,s=r?n.exec(t)[0].length:0,a=b.max(o,s);return this._round(e+t,a)}return e+t},_round:function(e,t){t=t||0;var n=Math.pow(10,t);return Math.round(e*=n)/n},_renderValueChangeEvent:function(){this.callBase();var e=f.addNamespace("focusout","NumberBoxForceValueChange");o.off(this.element(),e),o.on(this.element(),e,this._forceRefreshInputValue.bind(this))},_forceRefreshInputValue:function(){if("number"!==this.option("mode")){var e=this._input(),t=this._applyDisplayValueFormatter(this.option("value"));e.val(null),e.val(t)}},_valueChangeEventHandler:function(e){var t=this._input(),n=this._normalizeText(),i=this._parseValue(n),r="."!==n&&"-"!==n;!this._isValueValid()||this._validateValue(i)?(r&&this.callBase(e,isNaN(i)?null:i),this._applyValueBoundaries(n,i),this.validationRequest.fire({value:i,editor:this})):t.val(this._applyDisplayValueFormatter(i))},_applyValueBoundaries:function(e,t){var n=this._isValueIncomplete(e),i=this._isValueInRange(e);n||i||null===t||Number(e)!==t&&this._input().val(this._applyDisplayValueFormatter(t))},_replaceCommaWithPoint:function(e){return e.replace(",",".")},_inputIsInvalid:function(){var e="number"===this.option("mode"),t=this._input().get(0).validity;return e&&t&&t.badInput},_renderDisplayText:function(e){this._inputIsInvalid()||this.callBase(e)},_isValueIncomplete:function(e){return/(^-$)|(^-?\d*\.$)|(\d+e-?$)/i.test(e)},_isValueInRange:function(e){return l.inRange(e,this.option("min"),this.option("max"))},_isNumber:function(e){return null!==this._parseValue(e)},_validateValue:function(e){var t=this._normalizeText(),n=this._isValueValid(),i=!0,r=this._isNumber(t);return isNaN(Number(e))&&(i=!1),!e&&n?i=!0:r||n||(i=!1),this.option({isValid:i,validationError:i?null:{editorSpecific:!0,message:this.option("invalidValueMessage")}}),i},_normalizeInputValue:function(){return this._parseValue(this._normalizeText())},_normalizeText:function(){var e=this._input().val().trim();return this._replaceCommaWithPoint(e)},_parseValue:function(e){var t=parseFloat(e);return isNaN(t)?null:l.fitIntoRange(t,this.option("min"),this.option("max"))},_clearValue:function(){this._inputIsInvalid()&&(this._input().val(""),this._validateValue()),this.callBase()},reset:function(){null===this.option("value")?(this.option("text",""),this._renderValue()):this.option("value",null)},_optionChanged:function(e){switch(e.name){case"value":this._validateValue(e.value),this._setSubmitValue(e.value),this.callBase(e),this._resumeValueChangeAction();break;case"step":this._renderProps();break;case"min":case"max":this._renderProps(),this.option("value",this._parseValue(this.option("value")));break;case"showSpinButtons":case"useLargeSpinButtons":this._updateButtons(["spins"]);break;case"invalidValueMessage":break;default:this.callBase(e)}}});e.exports=y},WxRl:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||t?" \xe9v":" \xe9ve");case"yy":return r+(i||t?" \xe9v":" \xe9ve")}return""}function i(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},WyaX:function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var i=n("fXoL"),r=n("ofXK"),o=n("XNiG"),s=n("VRyK"),a=n("xgIS"),l=n("LRne"),c=n("eNwd");function u(e,t){if(1!==e.nodeType)return[];const n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}
1function d(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function h(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}const{overflow:t,overflowX:n,overflowY:i}=u(e);return/(auto|scroll|overlay)/.test(String(t)+String(i)+String(n))?e:h(d(e))}const p="undefined"!=typeof window&&"undefined"!=typeof document,f=p&&!(!window.MSInputMethodContext||!document.documentMode),m=p&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function g(e){return 11===e?f:10===e?m:f||m}function _(e){if(!e)return document.documentElement;const t=g(10)?document.body:null;let n,i=e.offsetParent||null;for(;i===t&&e.nextElementSibling&&n!==e.nextElementSibling;)n=e.nextElementSibling,i=n.offsetParent;const r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===u(i,"position")?_(i):i:n?n.ownerDocument.documentElement:document.documentElement}function b(e){return null!==e.parentNode?b(e.parentNode):e}function v(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;const n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);const{commonAncestorContainer:s}=o;if(e!==s&&t!==s||i.contains(r))return function(e){const{nodeName:t}=e;return"BODY"!==t&&("HTML"===t||_(e.firstElementChild)===e)}(s)?s:_(s);const a=b(e);return a.host?v(a.host,t):v(e,b(t).host)}function y(e,t){const n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e[`border${n}Width`])+parseFloat(e[`border${i}Width`])}function w(e,t,n,i){return Math.max(t[`offset${e}`],t[`scroll${e}`],n[`client${e}`],n[`offset${e}`],n[`scroll${e}`],g(10)?parseInt(n[`offset${e}`],10)+parseInt(i[`margin${"Height"===e?"Top":"Left"}`],10)+parseInt(i[`margin${"Height"===e?"Bottom":"Right"}`],10):0)}function C(e){const t=e.body,n=e.documentElement,i=g(10)&&getComputedStyle(n);return{height:w("Height",t,n,i),width:w("Width",t,n,i)}}function x(e,t="top"){const n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){const t=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||t)[n]}return e[n]}function S(e){return Object.assign({},e,{right:e.left+e.width,bottom:e.top+e.height})}function k(e){let t={};try{if(g(10)){t=e.getBoundingClientRect();const n=x(e,"top"),i=x(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(s){return}const n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?C(e.ownerDocument):{};let r=e.offsetWidth-(i.width||e.clientWidth||n.right-n.left),o=e.offsetHeight-(i.height||e.clientHeight||n.bottom-n.top);if(r||o){const t=u(e);r-=y(t,"x"),o-=y(t,"y"),n.width-=r,n.height-=o}return S(n)}function T(e,t,n=!1){const i=g(10),r="HTML"===t.nodeName,o=k(e),s=k(t),a=h(e),l=u(t),c=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));let p=S({top:o.top-s.top-c,left:o.left-s.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!i&&r){const e=parseFloat(l.marginTop),t=parseFloat(l.marginLeft);p.top-=c-e,p.bottom-=c-e,p.left-=d-t,p.right-=d-t,p.marginTop=e,p.marginLeft=t}return(i&&!n?t.contains(a):t===a&&"BODY"!==a.nodeName)&&(p=function(e,t,n=!1){const i=x(t,"top"),r=x(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}(p,t)),p}function E(e){if(!e||!e.parentElement||g())return document.documentElement;let t=e.parentElement;for(;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function I(e,t,n=0,i,r=!1){let o={top:0,left:0};const s=r?E(e):v(e,t);if("viewport"===i)o=function(e,t=!1){const n=e.ownerDocument.documentElement,i=T(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:x(n),a=t?0:x(n,"left");return S({top:s-Number(i.top)+Number(i.marginTop),left:a-Number(i.left)+Number(i.marginLeft),width:r,height:o})}(s,r);else{let n;"scrollParent"===i?(n=h(d(t)),"BODY"===n.nodeName&&(n=e.ownerDocument.documentElement)):n="window"===i?e.ownerDocument.documentElement:i;const a=T(n,s,r);if("HTML"!==n.nodeName||function e(t){const n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===u(t,"position")||e(d(t)))}(s))o=a;else{const{height:t,width:n}=C(e.ownerDocument);o.top+=a.top-a.marginTop,o.bottom=Number(t)+Number(a.top),o.left+=a.left-a.marginLeft,o.right=Number(n)+Number(a.left)}}
1return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function D({width:e,height:t}){return e*t}function M(e,t,n,i,r=["top","bottom","right","left"],o="viewport",s=0){if(-1===e.indexOf("auto"))return e;const a=I(n,i,s,o),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(l).map(e=>Object.assign({key:e},l[e],{area:D(l[e])})).sort((e,t)=>t.area-e.area);let u=c.filter(({width:e,height:t})=>e>=n.clientWidth&&t>=n.clientHeight);u=u.filter(e=>r.some(t=>t===e.key));const d=u.length>0?u[0].key:c[0].key,h=e.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${d}`),d+(h?`-${h}`:"")}function O(e){const t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:Number(e.offsetWidth)+i,height:Number(e.offsetHeight)+n}}function R(e,t,n=null){return T(t,n?E(e):v(e,t),n)}function L(e,t,n){const i=n.split(" ")[0],r=O(e),o={width:r.width,height:r.height},s=-1!==["right","left"].indexOf(i),a=s?"top":"left",l=s?"left":"top",c=s?"height":"width",u=s?"width":"height";return o[a]=t[a]+t[c]/2-r[c]/2,o[l]=i===l?t[l]-r[u]:t[function(e){const t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,e=>t[e])}(l)],o}function A(e,t){return e&&e.modifiers&&e.modifiers[t]&&e.modifiers[t].enabled}function P(e,t,n){Object.keys(t).forEach(i=>{let r="";var o;-1!==["width","height","top","right","bottom","left"].indexOf(i)&&""!==(o=t[i])&&!isNaN(parseFloat(o))&&isFinite(o)&&(r="px"),n?n.setStyle(e,i,`${String(t[i])}${r}`):e.style[i]=String(t[i])+r})}function F(e){let t=e.offsets.target;const n=e.instance.target.querySelector(".arrow");if(!n)return e;const i=-1!==["left","right"].indexOf(e.placement.split(" ")[0]),r=i?"height":"width",o=i?"Top":"Left",s=o.toLowerCase(),a=i?"left":"top",l=i?"bottom":"right",c=O(n)[r],d=e.placement.split(" ")[1];e.offsets.host[l]-c<t[s]&&(t[s]-=t[s]-(e.offsets.host[l]-c)),Number(e.offsets.host[s])+Number(c)>t[l]&&(t[s]+=Number(e.offsets.host[s])+Number(c)-Number(t[l])),t=S(t);const h=u(e.instance.target),p=parseFloat(h[`margin${o}`]),f=parseFloat(h[`border${o}Width`]);let m;if(d){const t=parseFloat(h.borderRadius),n=Number(p+f+t);m=s===d?Number(e.offsets.host[s])+n:Number(e.offsets.host[s])+Number(e.offsets.host[r]-n)}else m=Number(e.offsets.host[s])+Number(e.offsets.host[r]/2-c/2);let g=m-t[s]-p-f;return g=Math.max(Math.min(t[r]-c,g),0),e.offsets.arrow={[s]:Math.round(g),[a]:""},e.instance.arrow=n,e}function B(e){if(e.offsets.target=S(e.offsets.target),!A(e.options,"flip"))return e.offsets.target=Object.assign({},e.offsets.target,L(e.instance.target,e.offsets.host,e.placement)),e;const t=I(e.instance.target,e.instance.host,0,"viewport",!1);let n=e.placement.split(" ")[0],i=e.placement.split(" ")[1]||"";const r=M("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),o=[n,r];return o.forEach((r,s)=>{if(n!==r||o.length===s+1)return e;n=e.placement.split(" ")[0];const a="left"===n&&Math.floor(e.offsets.target.right)>Math.floor(e.offsets.host.left)||"right"===n&&Math.floor(e.offsets.target.left)<Math.floor(e.offsets.host.right)||"top"===n&&Math.floor(e.offsets.target.bottom)>Math.floor(e.offsets.host.top)||"bottom"===n&&Math.floor(e.offsets.target.top)<Math.floor(e.offsets.host.bottom),l=Math.floor(e.offsets.target.left)<Math.floor(t.left),c=Math.floor(e.offsets.target.right)>Math.floor(t.right),u=Math.floor(e.offsets.target.top)<Math.floor(t.top),d=Math.floor(e.offsets.target.bottom)>Math.floor(t.bottom),h="left"===n&&l||"right"===n&&c||"top"===n&&u||"bottom"===n&&d,p=-1!==["top","bottom"].indexOf(n),f=p&&"left"===i&&l||p&&"right"===i&&c||!p&&"left"===i&&u||!p&&"right"===i&&d;(a||h||f)&&((a||h)&&(n=o[s+1]),f&&(i=function(e){return"right"===e?"left":"left"===e?"right":e}(i)),e.placement=n+(i?` ${i}`:""),e.offsets.target=Object.assign({},e.offsets.target,L(e.instance.target,e.offsets.host,e.placement)))}),e}function H(e){if(!A(e.options,"preventOverflow"))return e;const t="transform",n=e.instance.target.style,{top:i,left:r,[t]:o}=n;n.top="",n.left="",n[t]="";const s=I(e.instance.target,e.instance.host,0,"scrollParent",!1);
1n.top=i,n.left=r,n[t]=o;const a={primary(t){let n=e.offsets.target[t];return e.offsets.target[t]<s[t]&&(n=Math.max(e.offsets.target[t],s[t])),{[t]:n}},secondary(t){const n="right"===t?"left":"top";let i=e.offsets.target[n];return e.offsets.target[t]>s[t]&&(i=Math.min(e.offsets.target[n],s[t]-("right"===t?e.offsets.target.width:e.offsets.target.height))),{[n]:i}}};let l;return["left","right","top","bottom"].forEach(t=>{l=-1!==["left","top"].indexOf(t)?"primary":"secondary",e.offsets.target=Object.assign({},e.offsets.target,a[l](t))}),e}function V(e){const t=e.placement,n=t.split(" ")[0],i=t.split(" ")[1];if(i){const{host:t,target:r}=e.offsets,o=-1!==["bottom","top"].indexOf(n),s=o?"left":"top",a=o?"width":"height",l={start:{[s]:t[s]},end:{[s]:t[s]+t[a]-r[a]}};e.offsets.target=Object.assign({},r,{[s]:s===i?l.start[s]:l.end[s]})}return e}const N=new class{position(e,t,n=!0){return this.offset(e,t,!1)}offset(e,t,n=!0){return R(t,e)}positionElements(e,t,n,i,r){return[B,V,H,F].reduce((e,t)=>t(e),function(e,t,n,i){const r=R(e,t);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*(?: (left|right|top|bottom))?\s*(start|end)*$/)||(n="auto");const o=!!n.match(/auto/g);let s=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n;const a=s.match(/^(left|right|top|bottom)* ?(?!\1)(left|right|top|bottom)?/);a&&(s=a[1]+(a[2]?` ${a[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(s)&&(s="auto");const l=L(e,r,s);return s=M(s,r,e,t,i?i.allowedPositions:void 0),{options:i,instance:{target:e,host:t,arrow:null},offsets:{target:l,host:r,arrow:null},positionFixed:!1,placement:s,placementAuto:o}}(t,e,n,r))}};let z=(()=>{class e{constructor(e,t,n){this.update$$=new o.a,this.positionElements=new Map,this.isDisabled=!1,Object(r.r)(n)&&e.runOutsideAngular(()=>{this.triggerEvent$=Object(s.a)(Object(a.a)(window,"scroll",{passive:!0}),Object(a.a)(window,"resize",{passive:!0}),Object(l.a)(0,c.a),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(e=>{!function(e,t,n,i,r,o){const s=N.positionElements(e,t,n,i,r),a=function(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left),top:Math.round(e.offsets.target.top),bottom:Math.round(e.offsets.target.bottom),right:Math.floor(e.offsets.target.right)}}(s);P(t,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${a.left}px, ${a.top}px, 0px)`},o),s.instance.arrow&&P(s.instance.arrow,s.offsets.arrow,o),function(e,t){const n=e.instance.target;let i=n.className;e.placementAuto&&(i=i.replace(/bs-popover-auto/g,`bs-popover-${e.placement}`),i=i.replace(/bs-tooltip-auto/g,`bs-tooltip-${e.placement}`),i=i.replace(/\sauto/g,` ${e.placement}`),-1!==i.indexOf("popover")&&-1===i.indexOf("popover-auto")&&(i+=" popover-auto"),-1!==i.indexOf("tooltip")&&-1===i.indexOf("tooltip-auto")&&(i+=" tooltip-auto")),i=i.replace(/left|right|top|bottom/g,`${e.placement.split(" ")[0]}`),t?t.setAttribute(n,"class",i):n.className=i}(s,o)}(j(e.target),j(e.element),e.attachment,e.appendToBody,this.options,t.createRenderer(null,null))})})})}position(e){this.addPositionElement(e)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(e){this.positionElements.set(j(e.element),e)}calcPosition(){this.update$$.next()}deletePositionElement(e){this.positionElements.delete(j(e))}setOptions(e){this.options=e}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(i.z),i.Wb(i.E),i.Wb(i.B))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();function j(e){return"string"==typeof e?document.querySelector(e):e instanceof i.l?e.nativeElement:e}},X709:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XCcL:function(e,t,n){"use strict";var i,r,o,s,a,l,c=n("FKN7"),u=n("jeLr"),d=n("LdFP"),h=n("tUd6"),p=n("v4HY"),f=n("dRNr"),m=n("JDOJ"),g=n("T4bj"),_=n("kgAh"),b=n("Z/aR"),v=n("XWmc").compare,y=Math.abs,w=function(e){return c(e).is("input, textarea, select, button ,:focus, :focus *")}
1,C={requestAnimationFrame:f.requestAnimationFrame,cancelAnimationFrame:f.cancelAnimationFrame},x=_.inherit({ctor:function(e){this.callBase(e),this._makeElementClickable(c(e))},_makeElementClickable:function(e){e.attr("onclick")||e.attr("onclick","void(0)")},start:function(e){this._blurPrevented=e.isDefaultPrevented(),this._startTarget=e.target,this._startEventData=m.eventData(e)},end:function(e){this._eventOutOfElement(e,this.getElement().get(0))||e.type===g.cancel?this._cancel(e):(w(e.target)||this._blurPrevented||p.resetActiveElement(),this._accept(e),this._clickAnimationFrame=C.requestAnimationFrame((function(){this._fireClickEvent(e)}).bind(this)))},_eventOutOfElement:function(e,t){var n=e.target,i=!p.contains(t,n)&&t!==n,r=m.eventDelta(m.eventData(e),this._startEventData),o=y(r.x)>10||y(r.y)>10;return i||o},_fireClickEvent:function(e){this._fireEvent("dxclick",e,{target:p.closestCommonParent(this._startTarget,e.target)})},dispose:function(){C.cancelAnimationFrame(this._clickAnimationFrame)}});i=d.real(),r=i.generic||i.ios&&v(i.version,[9,3])>=0||i.android&&v(i.version,[5])>=0,o=function(e){return r||c(e).closest(".dx-native-click").length},s=null,a=null,l=function(e){var t=e.originalEvent,n=a===t||t&&t.DXCLICK_FIRED;(!e.which||1===e.which)&&!s&&o(e.target)&&!n&&(t&&(t.DXCLICK_FIRED=!0),a=t,m.fireEvent({type:"dxclick",originalEvent:e}))},x=x.inherit({_makeElementClickable:function(e){o(e)||this.callBase(e),u.on(e,"click",l)},configure:function(e){this.callBase(e),e.useNative&&this.getElement().addClass("dx-native-click")},start:function(e){s=null,o(e.target)||this.callBase(e)},end:function(e){o(e.target)||this.callBase(e)},cancel:function(){s=!0},dispose:function(){this.callBase(),u.off(this.getElement(),"click",l)}}),function(){if(!d.real().generic){var e=null,t=!1,n=h.getDocument();u.subscribeGlobal(n,m.addNamespace(g.down,"NATIVE_CLICK_FIXER"),(function(n){e=n.target,t=n.isDefaultPrevented()})),u.subscribeGlobal(n,m.addNamespace("click","NATIVE_CLICK_FIXER"),(function(n){var i=c(n.target);t||!e||i.is(e)||c(e).is("label")||!w(i)||p.resetActiveElement(),e=null,t=!1}))}}(),b({emitter:x,bubble:!0,events:["dxclick"]}),t.name="dxclick"},XDbj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("sVev"),r=n("7o/Q");function o(e=l){return t=>t.lift(new s(e))}class s{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new a(e,this.errorFactory))}}class a extends r.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function l(){return new i.a}},XDlL:function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("KAnu"),s=n("ti0F"),a=n("CBR9"),l=n("v4HY").getPublicElement,c=n("zl3R").each,u=n("yxXJ").compileGetter,d=n("1LL4").extend,h=n("hMwJ"),p=n("XCcL"),f=n("XWek"),m=n("czNW"),g=n("imRD"),_=n("yUp2"),b=n("LdFP"),v=n("WJl1"),y=n("XPWh"),w=n("JDOJ"),C=n("+6qP"),x=n("cGv3"),S=n("NnyS"),k=n("ZA3g").deviceDependentOptions,T=n("a/39").default,E=n("b1t7").BindableTemplate,I=n("tJvG").Deferred,D=n("B4+F").default,M=u("items"),O=T.inherit({_activeStateUnit:[".dx-list-item",".dx-list-select-all"].join(","),_supportedKeys:function(){var e=this,t=function(t){var i=n(t);i.is(e.option("focusedElement"))&&(r(i,t),i=n(t)),e.option("focusedElement",l(i)),e.scrollToItem(i)},n=function(t){var n=e.scrollTop(),r=e.$element().height(),o=i(e.option("focusedElement")),s=!0;if(!o.length)return i();for(;s;){var a=o[t]();if(!a.length)break;var l=a.position().top+a.outerHeight()/2;(s=l<r+n&&l>n)&&(o=a)}return o},r=function(t,n){var i=t.position().top;"prev"===n&&(i=t.position().top-e.$element().height()+t.outerHeight()),e.scrollTo(i)};return d(this.callBase(),{leftArrow:o.noop,rightArrow:o.noop,pageUp:function(){return t("prev"),!1},pageDown:function(){return t("next"),!1}})},_getDefaultOptions:function(){return d(this.callBase(),{hoverStateEnabled:!0,pullRefreshEnabled:!1,scrollingEnabled:!0,showScrollbar:"onScroll",useNativeScrolling:!0,bounceEnabled:!0,scrollByContent:!0,scrollByThumb:!1,pullingDownText:g.format("dxList-pullingDownText"),pulledDownText:g.format("dxList-pulledDownText"),refreshingText:g.format("dxList-refreshingText"),pageLoadingText:g.format("dxList-pageLo
1adingText"),onScroll:null,onPullRefresh:null,onPageLoading:null,pageLoadMode:"scrollBottom",nextButtonText:g.format("dxList-nextButtonText"),onItemSwipe:null,grouped:!1,onGroupRendered:null,collapsibleGroups:!1,groupTemplate:"group",indicateLoading:!0,activeStateEnabled:!0,_itemAttributes:{role:"option"},_listAttributes:{role:"listbox"},useInkRipple:!1,wrapItemText:!1,showChevronExpr:function(e){return e?e.showChevron:void 0},badgeExpr:function(e){return e?e.badge:void 0}})},_defaultOptionsRules:function(){var e=C.current();return this.callBase().concat(k(),[{device:function(){return!m.nativeScrolling},options:{useNativeScrolling:!1}},{device:function(e){return!m.nativeScrolling&&!b.isSimulator()&&"desktop"===b.real().deviceType&&"generic"===e.platform},options:{showScrollbar:"onHover",pageLoadMode:"nextButton"}},{device:function(){return"desktop"===b.real().deviceType&&!b.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return C.isMaterial(e)},options:{pullingDownText:"",pulledDownText:"",refreshingText:"",pageLoadingText:"",useInkRipple:!0}}])},_visibilityChanged:function(e){e&&this._updateLoadingState(!0)},_itemClass:function(){return"dx-list-item"},_itemDataKey:function(){return"dxListItemData"},_itemContainer:function(){return this._$container},_refreshItemElements:function(){this._itemElementsCache=this.option("grouped")?this._itemContainer().children(".dx-list-group").children(".dx-list-group-body").children(this._itemSelector()):this._itemContainer().children(this._itemSelector())},_modifyByChanges:function(){this.callBase.apply(this,arguments),this._refreshItemElements(),this._updateLoadingState()},reorderItem:function(e,t){return this.callBase(e,t).done((function(){this._refreshItemElements()}))},deleteItem:function(e){return this.callBase(e).done((function(){this._refreshItemElements()}))},_itemElements:function(){return this._itemElementsCache},_itemSelectHandler:function(e){"single"===this.option("selectionMode")&&this.isItemSelected(e.currentTarget)||this.callBase(e)},_allowDynamicItemsAppend:function(){return!0},_init:function(){this.callBase(),this._$container=this.$element(),this._initScrollView(),this._feedbackShowTimeout=70,this._createGroupRenderAction()},_scrollBottomMode:function(){return"scrollBottom"===this.option("pageLoadMode")},_nextButtonMode:function(){return"nextButton"===this.option("pageLoadMode")},_dataSourceOptions:function(){var e=this._scrollBottomMode(),t=this._nextButtonMode();return d(this.callBase(),{paginate:o.ensureDefined(e||t,!0)})},_getGroupedOption:function(){return this.option("grouped")},_dataSourceFromUrlLoadMode:function(){return"raw"},_initScrollView:function(){var e=this.option("scrollingEnabled"),t=e&&this.option("pullRefreshEnabled"),n=e&&this._scrollBottomMode()&&!!this._dataSource;this._scrollView=this._createComponent(this.$element(),S,{disabled:this.option("disabled")||!e,onScroll:this._scrollHandler.bind(this),onPullDown:t?this._pullDownHandler.bind(this):null,onReachBottom:n?this._scrollBottomHandler.bind(this):null,showScrollbar:this.option("showScrollbar"),useNative:this.option("useNativeScrolling"),bounceEnabled:this.option("bounceEnabled"),scrollByContent:this.option("scrollByContent"),scrollByThumb:this.option("scrollByThumb"),pullingDownText:this.option("pullingDownText"),pulledDownText:this.option("pulledDownText"),refreshingText:this.option("refreshingText"),reachBottomText:this.option("pageLoadingText"),useKeyboard:!1}),this._$container=i(this._scrollView.content()),this.option("wrapItemText")&&this._$container.addClass("dx-wrap-item-text"),this._createScrollViewActions()},_createScrollViewActions:function(){this._scrollAction=this._createActionByOption("onScroll"),this._pullRefreshAction=this._createActionByOption("onPullRefresh"),this._pageLoadingAction=this._createActionByOption("onPageLoading")},_scrollHandler:function(e){this._scrollAction&&this._scrollAction(e)},_initTemplates:function(){this.callBase(),this._defaultTemplates.group=new E((function(e,t){s.isPlainObject(t)?t.key&&e.text(t.key):e.text(String(t))}),["key"],this.option("integrationOptions.watchMethod"))},_prepareDefaultItemTemplate:function(e,t){if(this.callBase(e,t),e.icon){var n=a.getImageContainer(e.icon).addClass("dx-list-item-icon"),r=i("<div>").addClass("dx-list-item-icon-container");r.append(n),t.prepend(r)}},_getBindableFields:function(){return["text","html","icon"]},_updateLoadingState:function(e){var t=!e||this._isLastPage(),n=this._scrollBottomMode(),i=t||!n,r=i&&!this._isDataSourceLoading();i||this._scrollViewIsFull()?(this._scrollView.release(r),this._toggleNextButton(this._shouldRenderNextButton()&&!this._isLastPage()),this._loadIndicationSuppressed(!1)):this._infiniteDataLoading()},_shouldRenderNextButton:function(){return this._nextButtonMode()&&this._dataSource&&this._dataSource.isLoaded()},_dataSourceLoadingChangedHandler:function(e){this._loadIndicationSuppressed()||(e&&this.option("indicateLoading")?this._showLoadingIndicatorTimer=setTimeout((function(){var e=!this._itemElements().length;this._scrollView&&!e&&this._scrollView.startLoading()}).bind(this)):(clearTimeout(this._showLoadingIndicatorTimer),this._scrollView&&this._scrollView.finishLoading()))},_dataSourceChangedHandler:function(e){!this._shouldAppendItems()&&x.hasWindow()&&this._scrollView&&this._scrollView.scrollTo(0),this.callBase.apply(this,arguments)},_refreshContent:function(){this._prepareContent(),this._fireContentReadyAction()},_hideLoadingIfLoadIndicationOff:function(){this.option("indicateLoading")||this._dataSourceLoadingChangedHandler(!1)},_loadIndicationSuppressed:function(e){if(!arguments.length)return this._isLoadIndicationSuppressed;this._isLoadIndicationSuppressed=e},_scrollViewIsFull:function(){return!this._scrollView||this._scrollView.isFull()},_pullDownHandler:function(e){this._pullRefreshAction(e),this._dataSource&&!this._isDataSourceLoading()?(this._clearSelectedItems(),this._dataSource.pageIndex(0),this._dataSource.reload()):this._updateLoadingState()},_infiniteDataLoading:function(){!this.$element().is(":visible")||this._scrollViewIsFull()||this._isDataSourceLoading()||this._isLastPage()||(clearTimeout(this._loadNextPageTimer),this._loadNextPageTimer=setTimeout(this._loadNextPage.bind(this)))},_scrollBottomHandler:function(e){this._pageLoadingAction(e),this._isDataSourceLoading()||this._isLastPage()?this._updateLoadingState():this._loadNextPage()},_renderItems:function(e){this.option("grouped")?(c(e,this._renderGroup.bind(this)),this._attachGroupCollapseEvent(),this._renderEmptyMessage(),C.isMaterial()&&this.attachGroupHeaderInkRippleEvents()):this.callBase.apply(this,arguments),this._refreshItemElements(),this._updateLoadingState(!0)},_attachGroupCollapseEvent:function(){var e=w.addNamespace(p.name,this.NAME),t=this.$element(),n=this.option("collapsibleGroups");t.toggleClass("dx-list-collapsible-groups",n),r.off(t,e,".dx-list-group-header"),n&&r.on(t,e,".dx-list-group-header",(function(e){this._createAction((function(e){var t=i(e.event.currentTarget).parent();this._collapseGroupHandler(t),this.option("focusStateEnabled")&&this.option("focusedElement",l(t.find(".dx-list-item").eq(0)))}).bind(this),{validatingTargetName:"element"})({event:e})}).bind(this))},_collapseGroupHandler:function(e,t){var n=new I;if(e.hasClass("dx-list-group-collapsed")===t)return n.resolve();var i=e.children(".dx-list-group-body"),r=i.outerHeight(),o=0===r?i.height("auto").outerHeight():0;return e.toggleClass("dx-list-group-collapsed",t),h.animate(i,{type:"custom",from:{height:r},to:{height:o},duration:200,complete:(function(){this.updateDimensions(),this._updateLoadingState(),n.resolve()}).bind(this)}),n.promise()},_dataSourceLoadErrorHandler:function(){this._forgetNextPageLoading(),this._initialized&&(this._renderEmptyMessage(),this._updateLoadingState())},_initMarkup:function(){this._itemElementsCache=i(),this.$element().addClass("dx-list"),this.callBase(),this.option("useInkRipple")&&this._renderInkRipple(),this.setAria("role",this.option("_listAttributes").role)},_renderInkRipple:function(){this._inkRipple=_.render()},_toggleActiveState:function(e,t,n){this.callBase.apply(this,arguments);var i=this;if(this._inkRipple){var r={element:e,event:n};t?C.isMaterial()?this._inkRippleTimer=setTimeout((function(){i._inkRipple.showWave(r)}),35):i._inkRipple.showWave(r):(clearTimeout(this._inkRippleTimer),this._inkRipple.hideWave(r))}},_postprocessRenderItem:function(e){this._refreshItemElements(),this.callBase.apply(this,arguments),this.option("onItemSwipe")&&this._attachSwipeEvent(i(e.itemElement))},_attachSwipeEvent:function(e){var t=w.addNamespace(f.end,this.NAME);r.on(e,t,this._itemSwipeEndHandler.bind(this))},_itemSwipeEndHandler:function(e){this._itemDXEventHandler(e,"onItemSwipe",{direction:e.offset<0?"left":"right"})},_nextButtonHandler:function(){var e=this._dataSource;e&&!e.isLoading()&&(this._scrollView.toggleLoading(!0),this._$nextButton.detach(),this._loadIndicationSuppressed(!0),this._loadNextPage())},_renderGroup:function(e,t){var n=i("<div>").addClass("dx-list-group").appendTo(this._itemContainer()),r=i("<div>").addClass("dx-list-group-header").appendTo(n),o=this.option("groupTemplate"),s=this._getTemplate(t.template||o,t,e,r),a={index:e,itemData:t,container:l(r)};this._createItemByTemplate(s,a),C.isMaterial()&&i("<div>").addClass("dx-list-group-header-indicator").prependTo(r),this._renderingGroupIndex=e;var u=i("<div>").addClass("dx-list-group-body").appendTo(n);c(M(t)||[],(function(e,t){this._renderItem(e,t,u)}).bind(this)),this._groupRenderAction({groupElement:l(n),groupIndex:e,groupData:t})},downInkRippleHandler:function(e){this._toggleActiveState(i(e.currentTarget),!0,e)},upInkRippleHandler:function(e){this._toggleActiveState(i(e.currentTarget),!1)},attachGroupHeaderInkRippleEvents:function(){var e=this.$element();this._downInkRippleHandler=this._downInkRippleHandler||this.downInkRippleHandler.bind(this),this._upInkRippleHandler=this._upInkRippleHandler||this.upInkRippleHandler.bind(this);var t=[e,"dxpointerdown",".dx-list-group-header",this._downInkRippleHandler],n=[e,"dxpointerup dxpointerout",".dx-list-group-header",this._upInkRippleHandler];r.off.apply(r,t),r.on.apply(r,t),r.off.apply(r,n),r.on.apply(r,n)},_createGroupRenderAction:function(){this._groupRenderAction=this._createActionByOption("onGroupRendered")},_clean:function(){clearTimeout(this._inkRippleTimer),this._$nextButton&&(this._$nextButton.remove(),this._$nextButton=null),this.callBase.apply(this,arguments)},_dispose:function(){clearTimeout(this._holdTimer),clearTimeout(this._loadNextPageTimer),clearTimeout(this._showLoadingIndicatorTimer),this.callBase()},_toggleDisabledState:function(e){this.callBase(e),this._scrollView.option("disabled",e||!this.option("scrollingEnabled"))},_toggleNextButton:function(e){var t=this._dataSource,n=this._getNextButton();this.$element().toggleClass("dx-has-next",e),e&&t&&t.isLoaded()&&n.appendTo(this._itemContainer()),e||n.detach()},_getNextButton:function(){return this._$nextButton||(this._$nextButton=this._createNextButton()),this._$nextButton},_createNextButton:function(){var e=i("<div>").addClass("dx-list-next-button"),t=i("<div>").appendTo(e);return this._createComponent(t,y,{text:this.option("nextButtonText"),onClick:this._nextButtonHandler.bind(this),type:C.isMaterial()?"default":void 0,integrationOptions:{}}),e},_moveFocus:function(){this.callBase.apply(this,arguments),this.scrollToItem(this.option("focusedElement"))},_refresh:function(){if(x.hasWindow()){var e=this._scrollView.scrollTop();this.callBase(),e&&this._scrollView.scrollTo(e)}else this.callBase()},_optionChanged:function(e){switch(e.name){case"pageLoadMode":this._toggleNextButton(e.value),this._initScrollView();break;case"dataSource":this.callBase(e),this._initScrollView();break;case"pullingDownText":case"pulledDownText":case"refreshingText":case"pageLoadingText":case"useNative":case"showScrollbar":case"bounceEnabled":case"scrollByContent":case"scrollByThumb":case"scrollingEnabled":case"pullRefreshEnabled":this._initScrollView(),this._updateLoadingState();break;case"nextButtonText":case"onItemSwipe":case"useInkRipple":this._invalidate();break;case"onScroll":case"onPullRefresh":case"onPageLoading":this._createScrollViewActions(),this._invalidate();break;case"grouped":case"collapsibleGroups":case"groupTemplate":this._invalidate();break;case"wrapItemText":this._$container.toggleClass("dx-wrap-item-text",e.value);break;case"onGroupRendered":this._createGroupRenderAction();break;case"width":case"height":this.callBase(e),this._scrollView.update();break;case"indicateLoading":this._hideLoadingIfLoadIndicationOff();break;case"visible":this.callBase(e),this._scrollView.update();break;case"rtlEnabled":this._initScrollView(),this.callBase(e);break;case"showChevronExpr":case"badgeExpr":this._invalidate();break;case"_listAttributes":break;default:this.callBase(e)}},_extendActionArgs:function(e){if(!this.option("grouped"))return this.callBase(e);var t=e.closest(".dx-list-group"),n=t.find(".dx-list-item");return d(this.callBase(e),{itemIndex:{group:t.index(),item:n.index(e)}})},expandGroup:function(e){var t=new I,n=this._itemContainer().find(".dx-list-group").eq(e);return this._collapseGroupHandler(n,!1).done((function(){t.resolveWith(this)}).bind(this)),t.promise()},collapseGroup:function(e){var t=new I,n=this._itemContainer().find(".dx-list-group").eq(e);return this._collapseGroupHandler(n,!0).done((function(){t.resolveWith(this)}).bind(this)),t},updateDimensions:function(){var e=this,t=new I;return e._scrollView?e._scrollView.update().done((function(){!e._scrollViewIsFull()&&e._updateLoadingState(!0),t.resolveWith(e)})):t.resolveWith(e),t.promise()},reload:function(){this.callBase(),this.scrollTo(0),this._pullDownHandler()},repaint:function(){this.scrollTo(0),this.callBase()},scrollTop:function(){return this._scrollView.scrollOffset().top},clientHeight:function(){return this._scrollView.clientHeight()},scrollHeight:function(){return this._scrollView.scrollHeight()},scrollBy:function(e){this._scrollView.scrollBy(e)},scrollTo:function(e){this._scrollView.scrollTo(e)},scrollToItem:function(e){var t=this._editStrategy.getItemElement(e);this._scrollView.scrollToElement(t)}}).include(D);O.ItemClass=v,e.exports=O},XDlg:function(e,t,n){"use strict";var i=n("ccQb").logger,r=n("eWCF");e.exports=r({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.")}})},XDpg:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse
1:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XF11:function(e,t,n){"use strict";var i=y(n("FKN7")),r=y(n("ud26")),o=y(n("UdML")),s=y(n("LdFP")),a=y(n("2Fn2")),l=n("v4HY"),c=n("tJvG"),u=n("ti0F"),d=n("zl3R"),h=n("1LL4"),p=n("cGv3"),f=n("jeLr"),m=n("CWM8"),g=y(n("imRD")),_=y(n("D8Ap")),b=y(n("IF55")),v=n("KAnu");function y(e){return e&&e.__esModule?e:{default:e}}var w=(0,p.getWindow)(),C={text:"OK",onClick:function(){return!0}},x="".concat("dx-dialog","-wrapper"),S="".concat("dx-dialog","-root"),k="".concat("dx-dialog","-content"),T="".concat("dx-dialog","-message"),E="".concat("dx-dialog","-buttons"),I="".concat("dx-dialog","-button"),D=r.default.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%"}}])}});t.FakeDialogComponent=D,t.title="",t.custom=function(e){var n=new c.Deferred,r=(new D).option();e=(0,h.extend)(r,e);var p=(0,i.default)("<div>").addClass("dx-dialog").appendTo((0,m.value)()),g="messageHtml"in e;"message"in e&&_.default.log("W1013");var y=String(g?e.messageHtml:e.message),M=(0,i.default)("<div>").addClass(T).html(y),O=[],R=e.toolbarItems;R?_.default.log("W0001","DevExpress.ui.dialog","toolbarItems","16.2","Use the 'buttons' option instead"):R=e.buttons,(0,d.each)(R||[C],(function(){var e=new o.default(this.onClick,{context:L});O.push({toolbar:"bottom",location:s.default.current().android?"after":"center",widget:"dxButton",options:(0,h.extend)({},this,{onClick:function(){var t=e.execute.apply(e,arguments);A(t)}})})}));var L=new b.default(p,(0,h.extend)({title:e.title||t.title,showTitle:(0,v.ensureDefined)(e.showTitle,!0),dragEnabled:(0,v.ensureDefined)(e.dragEnabled,!0),height:"auto",width:function(){var t=((0,i.default)(w).height()>(0,i.default)(w).width()?"p":"l")+"Width",n=Object.prototype.hasOwnProperty.call(e,t)?e[t]:e.width;return(0,u.isFunction)(n)?n():n},showCloseButton:e.showCloseButton||!1,ignoreChildEvents:!1,onContentReady:function(e){e.component.$content().addClass(k).append(M)},onShowing:function(e){e.component.bottomToolbar().addClass(E).find(".".concat("dx-button")).addClass(I),(0,l.resetActiveElement)()},onShown:function(e){var t=e.component.bottomToolbar().find(".".concat("dx-button")).first();(0,f.trigger)(t,"focus")},onHiding:function(){n.reject()},toolbarItems:O,animation:{show:{type:"pop",duration:400},hide:{type:"pop",duration:400,to:{opacity:0,scale:0},from:{opacity:1,scale:1}}},rtlEnabled:(0,a.default)().rtlEnabled,boundaryOffset:{h:10,v:0}},e.popupOptions));function A(e){n.resolve(e),L.hide().done((function(){L.$element().remove()}))}return L._wrapper().addClass(x),e.position&&L.option("position",e.position),L._wrapper().addClass(S),{show:function(){return L.show(),n.promise()},hide:A}},t.alert=function(e,n,i){var r=(0,u.isPlainObject)(e)?e:{title:n,messageHtml:e,showTitle:i,dragEnabled:i};return t.custom(r).show()},t.confirm=function(e,n,i){var r=(0,u.isPlainObject)(e)?e:{title:n,messageHtml:e,showTitle:i,buttons:[{text:g.default.format("Yes"),onClick:function(){return!0}},{text:g.default.format("No"),onClick:function(){return!1}}],dragEnabled:i};return t.custom(r).show()}},XLvN:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}
1\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u}));var i=n("HDdC"),r=n("7o/Q"),o=n("quSY"),s=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class c extends r.a{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new s.a;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;r<n;r++)i[r].next(e)}}error(e){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;r<n;r++)i[r].error(e);this.observers.length=0}complete(){if(this.closed)throw new s.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let i=0;i<t;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new s.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new s.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new a.a(this,e))}asObservable(){const e=new i.a;return e.source=this,e}}return e.create=(e,t)=>new d(e,t),e})();class d extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):o.a.EMPTY}}},XPWh:function(e,t,n){"use strict";var i=_(n("FKN7")),r=_(n("LdFP")),o=_(n("jeLr")),s=_(n("yUp2")),a=_(n("D6VQ")),l=_(n("+6qP")),c=_(n("cGV2")),u=_(n("zBVi")),d=n("JDOJ"),h=n("1LL4"),p=n("eBB/"),f=n("CBR9"),m=n("v4HY"),g=n("XCcL");function _(e){return e&&e.__esModule?e:{default:e}}function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t,n){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=x(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(_,e);var t,n,a,u=(n=_,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x(n);if(a){var i=x(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return C(this,e)});function _(){var e;v(this,_);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=u.call.apply(u,[this].concat(n)))._feedbackHideTimeout=100,e}return(t=[{key:"_clean",value:function(){delete this._inkRipple,delete this._$content,y(x(_.prototype),"_clean",this).call(this)}},{key:"_defaultOptionsRules",value:function(){return y(x(_.prototype),"_defaultOptionsRules",this).call(this).concat([{device:function(){return"desktop"===r.default.real().deviceType&&!r.default.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return l.default.isMaterial(l.default.current())},options:{useInkRipple:!0}}])}},{key:"_executeClickAction",value:function(e){this._clickAction({validationGroup:this._val
1idationGroupConfig,event:e})}},{key:"_findGroup",value:function(){var e=this.$element();return this.option("validationGroup")||c.default.findGroup(e,this._modelByElement(e))}},{key:"_getAnonymousTemplateName",value:function(){return"content"}},{key:"_getContentData",value:function(){var e=this.option(),t=e.icon;return(0,h.extend)({icon:"back"!==e.type||t?t:"back",text:e.text},e._templateData)}},{key:"_getDefaultOptions",value:function(){return(0,h.extend)(y(x(_.prototype),"_getDefaultOptions",this).call(this),{hoverStateEnabled:!0,onClick:null,type:"normal",text:"",icon:"",iconPosition:"left",validationGroup:void 0,activeStateEnabled:!0,template:"content",useSubmitBehavior:!1,useInkRipple:!1,_templateData:{},stylingMode:"contained"})}},{key:"_getSubmitAction",value:function(){var e=this;return this._createAction((function(t){var n=t.event;if(e._needValidate){var i=e._validationGroupConfig;if(i){var r=i.validate(),o=r.status,s=r.complete;e._validationStatus=o,"pending"===o&&(e._needValidate=!1,e._setDisabled(!0),e._waitForValidationCompleting(s))}}"valid"!==e._validationStatus&&n.preventDefault(),n.stopPropagation()}))}},{key:"_initMarkup",value:function(){this.$element().addClass("dx-button"),this._renderType(),this._renderStylingMode(),this.option("useInkRipple")&&this._renderInkRipple(),this._renderClick(),this.setAria("role","button"),this._updateAriaLabel(),y(x(_.prototype),"_initMarkup",this).call(this),this._updateContent()}},{key:"_initTemplates",value:function(){var e=this;y(x(_.prototype),"_initTemplates",this).call(this),this._defaultTemplates.content=new p.FunctionTemplate((function(t){var n=t.model,r=void 0===n?{}:n,o=t.container,s=r.text,a=(0,f.getImageContainer)(r.icon),l=s&&(0,i.default)("<span>").text(s).addClass("dx-button-text"),c=(0,i.default)(o);c.append(l),"left"===e.option("iconPosition")?c.prepend(a):(a.addClass("dx-icon-right"),c.append(a))}))}},{key:"_optionChanged",value:function(e){var t=e.previousValue;switch(e.name){case"onClick":this._renderClick();break;case"icon":case"text":this._updateContent(),this._updateAriaLabel();break;case"type":this._refreshType(t),this._updateContent(),this._updateAriaLabel();break;case"_templateData":break;case"template":case"iconPosition":this._updateContent();break;case"stylingMode":this._renderStylingMode();break;case"useInkRipple":case"useSubmitBehavior":this._invalidate();break;default:y(x(_.prototype),"_optionChanged",this).call(this,e)}}},{key:"_refreshType",value:function(e){var t=this.option("type"),n=this.$element();e&&n.removeClass("dx-button-".concat(e)).addClass("dx-button-".concat(t)),n.hasClass("dx-button-has-icon")||"back"!==t||this._updateContent()}},{key:"_renderClick",value:function(){var e={excludeValidators:["readOnly"]};this.option("useSubmitBehavior")&&(e.afterExecute=function(e){var t=e.component;return setTimeout((function(){return t._$submitInput.get(0).click()}))}),this._clickAction=this._createActionByOption("onClick",e);var t=this.$element(),n=(0,d.addNamespace)(g.name,this.NAME);o.default.off(t,n),o.default.on(t,n,this._executeClickAction.bind(this))}},{key:"_renderInkRipple",value:function(){var e=this.option(),t={};(!e.text&&e.icon||"back"===e.type)&&(0,h.extend)(t,{waveSizeCoefficient:1,useHoldAnimation:!1,isCentered:!0}),this._inkRipple=s.default.render(t)}},{key:"_renderStylingMode",value:function(){var e=this.$element(),t=this.option("stylingMode"),n="dx-button-mode-".concat(t);if(["dx-button-mode-contained","dx-button-mode-text","dx-button-mode-outlined"].forEach(e.removeClass.bind(e)),-1===["contained","text","outlined"].indexOf(t)){var i=this._getDefaultOptions().stylingMode;n="dx-button-mode-".concat(i)}e.addClass(n)}},{key:"_renderSubmitInput",value:function(){var e=this._getSubmitAction();this._needValidate=!0,this._validationStatus="valid",this._$submitInput=(0,i.default)("<input>").attr("type","submit").attr("tabindex",-1).addClass("dx-button-submit-input").appendTo(this._$content),o.default.on(this._$submitInput,"click",(function(t){return e({event:t})}))}},{key:"_renderType",value:function(){var e=this.option("type");e&&this.$element().addClass("dx-button-".concat(e))}},{key:"_setDisabled",value:function(e){this.option("disabled",e)}},{key:"_supportedKeys",value:function(){var e=this,t=function(t){t.preventDefault(),e._executeClickAction(t)};return(0,h.extend)(y(x(_.prototype),"_supportedKeys",this).call(this),{space:t,enter:t})}},{key:"_toggleActiveState",value:function(e,t,n){if(y(x(_.prototype),"_toggleActiveState",this).call(this,e,t,n),this._inkRipple){var i={element:this._$content,event:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}}},{key:"_updateAriaLabel",value:function(){var e=this.option("icon"),t=this.option("text");"image"===(0,f.getImageSourceType)(e)&&(e=-1===e.indexOf("base64")?e.replace(/.+\/([^.]+)\..+$/,"$1"):"Base64");var n=t||e||"";n=n.toString().trim(),this.setAria("label",n.length?n:null)}},{key:"_updateContent",value:function(){var e=this.$element(),t=this._getContentData(),n=t.icon,r=t.text;this._$content?this._$content.empty():this._$content=(0,i.default)("<div>").addClass("dx-button-content").appendTo(e),e.toggleClass("dx-button-has-icon",!!n).toggleClass("dx-button-icon-right",!!n&&"left"!==this.option("iconPosition")).toggleClass("dx-button-has-text",!!r);var o=this._getAnonymousTemplateName()===this.option("template"),s=this._getTemplateByOption("template"),a=(0,i.default)(s.render({model:t,container:(0,m.getPublicElement)(this._$content),transclude:o}));a.hasClass("dx-template-wrapper")&&(this._$content.replaceWith(a),this._$content=a,this._$content.addClass("dx-button-content")),this.option("use
1SubmitBehavior")&&this._renderSubmitInput()}},{key:"_waitForValidationCompleting",value:function(e){var t=this;e.then((function(e){return t._validationStatus=e.status,t._setDisabled(!1),"valid"===t._validationStatus&&t._$submitInput.get(0).click(),t._needValidate=!0,e}))}},{key:"_validationGroupConfig",get:function(){return c.default.getGroupConfig(this._findGroup())}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(_.prototype,t),_}(u.default);(0,a.default)("dxButton",S),e.exports=S,e.exports.default=e.exports},XWCB:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3").getNavigator(),o=n("czNW"),s=n("+6qP"),a=n("1LL4").extend,l=n("LdFP"),c=n("D6VQ"),u=n("zBVi").inherit({_getDefaultOptions:function(){return a(this.callBase(),{indicatorSrc:"",activeStateEnabled:!1,hoverStateEnabled:!1,_animatingSegmentCount:1,_animatingSegmentInner:!1})},_defaultOptionsRules:function(){var e=s.current();return this.callBase().concat([{device:function(){return"android"===l.real().platform&&!/chrome/i.test(r.userAgent)},options:{viaImage:!0}},{device:function(){return s.isIos7(e)},options:{_animatingSegmentCount:11}},{device:function(){return s.isMaterial(e)},options:{_animatingSegmentCount:2,_animatingSegmentInner:!0}},{device:function(){return s.isGeneric(e)},options:{_animatingSegmentCount:7}}])},_init:function(){this.callBase(),this.$element().addClass("dx-loadindicator")},_initMarkup:function(){this.callBase(),this._renderWrapper(),this._renderIndicatorContent(),this._renderMarkup()},_renderWrapper:function(){this._$wrapper=i("<div>").addClass("dx-loadindicator-wrapper"),this.$element().append(this._$wrapper)},_renderIndicatorContent:function(){this._$content=i("<div>").addClass("dx-loadindicator-content"),this._$wrapper.append(this._$content)},_renderMarkup:function(){!o.animation()||this.option("viaImage")||this.option("indicatorSrc")?this._renderMarkupForImage():this._renderMarkupForAnimation()},_renderMarkupForAnimation:function(){var e=this.option("_animatingSegmentInner");this._$indicator=i("<div>").addClass("dx-loadindicator-icon"),this._$content.append(this._$indicator);for(var t=this.option("_animatingSegmentCount");t>=0;--t){var n=i("<div>").addClass("dx-loadindicator-segment").addClass("dx-loadindicator-segment"+t);e&&n.append(i("<div>").addClass("dx-loadindicator-segment-inner")),this._$indicator.append(n)}},_renderMarkupForImage:function(){var e=this.option("indicatorSrc");this._$wrapper.addClass("dx-loadindicator-image"),e&&this._$wrapper.css("backgroundImage","url("+e+")")},_renderDimensions:function(){this.callBase(),this._updateContentSizeForAnimation()},_updateContentSizeForAnimation:function(){if(this._$indicator){var e=this.option("width"),t=this.option("height");if(e||t){e=this.$element().width(),t=this.$element().height();var n=Math.min(t,e);this._$wrapper.css({height:n,width:n,fontSize:n})}}},_clean:function(){this.callBase(),this._removeMarkupForAnimation(),this._removeMarkupForImage()},_removeMarkupForAnimation:function(){this._$indicator&&(this._$indicator.remove(),delete this._$indicator)},_removeMarkupForImage:function(){this._$wrapper.css("backgroundImage","none")},_optionChanged:function(e){switch(e.name){case"_animatingSegmentCount":case"_animatingSegmentInner":case"indicatorSrc":this._invalidate();break;default:this.callBase(e)}}});c("dxLoadIndicator",u),e.exports=u,e.exports.default=e.exports},XWek:function(e,t,n){"use strict";var i=n("JDOJ"),r=n("3gJo"),o=n("Z/aR"),s={horizontal:{defaultItemSizeFunc:function(){return this.getElement().width()},getBounds:function(){return[this._maxLeftOffset,this._maxRightOffset]},calcOffsetRatio:function(e){return(i.eventData(e).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}},vertical:{defaultItemSizeFunc:function(){return this.getElement().height()},getBounds:function(){return[this._maxTopOffset,this._maxBottomOffset]},calcOffsetRatio:function(e){return(i.eventData(e).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}}};o({emitter:r.inherit({TICK_INTERVAL:300,FAST_SWIPE_SPEED_LIMIT:10,ctor:function(e){this.callBase(e),this.direction="horizontal",this.elastic=!0},_getStrategy:function(){return s[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("dxswipestart",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),r=t.calcOffsetRatio.call(this,e);r=this._fitOffset(r,this.elastic),n.time-this._tickData.time>this.TICK_INTERVAL&&(this._tickData=n),this._fireEvent("dxswipe",e,{offset:r}),e.preventDefault()},_end:function(e){var t=this._getStrategy(),n=t.calcOffsetRatio.call(this,e),i=t.isFastSwipe.call(this,e),r=n,o=this._calcTargetOffset(n,i);r=this._fitOffset(r,this.elastic),o=this._fitOffset(o,!1),this._fireEvent("dxswipeend",e,{offset:r,targetOffset:o})},_fitOffset:function(e,t){var n=this._getStrategy().getBounds.call(this);return e<-n[0]?t?(-2*n[0]+e)/3:-n[0]:e>n[1]?t?(2*n[1]+e)/3:n[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}}),events:["dxswipestart","dxswipe","dxswipeend"]}),t.swipe="dxswipe",t.start="dxswipestart",t.end="dxswipeend"},XWmc:function(e,t,n){"use strict";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 r=Math.max(e.length,t.length);isFinite(n)&&(r=Math.min(r,n));for(var o=0;o<r;o++){var s=parseInt(e[o]||0,10),a=parseInt(t[o]||0,10);if(s<a)return-1;if(s>a)return 1}return 0}},XgSC:function(e,t,n){"use strict";var i,r=(i=n("2Fn2"))&&i.__esModule?i:{default:i};t.getDefaultAlignment=function(e){return(null!=e?e:(0,r.default)().rtlEnabled)?"right":"left"}},"XmX/":function(e,t,n){"use strict";var i=_(n("FKN7")),r=_(n("tUd6")),o=_(n("jeLr")),s=_(n("cYys")),a=_(n("ti0F")),l=n("zl3R"),c=n("1LL4"),u=n("JDOJ"),d=_(n("T4bj")),h=_(n("KrLa")),p=_(n("GYHJ")),f=_(n("8S5z")),m=_(n("hMwJ")),g=n("6CN0");
1function _(e){return e&&e.__esModule?e:{default:e}}var b="dxDataGridResizingReordering",v=function(e){return e.option("allowColumnResizing")||e.getController("columns").isColumnOptionUsed("allowResizing")},y=function(e){return e.option("allowColumnReordering")||e.getController("columns").isColumnOptionUsed("allowReordering")},w=p.default.View.inherit({_renderCore:function(){this.callBase(),this.element().addClass(this.addWidgetPrefix("tracker")),this.hide()},_unsubscribeFromCallback:function(){this._positionChanged&&this._tablePositionController.positionChanged.remove(this._positionChanged)},_subscribeToCallback:function(){var e=this;e._positionChanged=function(t){var n=e.element();n&&n.hasClass(e.addWidgetPrefix("tracker"))&&(n.css({top:t.top}),n.height(t.height))},this._tablePositionController.positionChanged.add(e._positionChanged)},optionChanged:function(e){"allowColumnResizing"===e.name&&(this._unsubscribeFromCallback(),e.value&&(this._subscribeToCallback(),this._invalidate())),this.callBase(e)},init:function(){this.callBase(),this._tablePositionController=this.getController("tablePosition"),this._subscribeToCallback()},isVisible:function(){return v(this)},show:function(){this.element().show()},hide:function(){this.element()&&this.element().hide()},setHeight:function(e){this.element().height(e)},dispose:function(){this._unsubscribeFromCallback(),this.callBase()}}),C=p.default.View.inherit({_renderSeparator:function(){},_renderCore:function(e){this.callBase(e),this._isShown=!0,this._renderSeparator(),this.hide()},show:function(){this._isShown=!0},hide:function(){this._isShown=!1},height:function(e){var t=this.element();if(t){if(!a.default.isDefined(e))return t.height();t.height(e)}},width:function(e){var t=this.element();if(t){if(!a.default.isDefined(e))return t.width();t.width(e)}}}),x=C.inherit({_renderSeparator:function(){this.callBase(),this.element().addClass(this.addWidgetPrefix("columns-separator"))},_subscribeToCallback:function(){var e,t=this;t._positionChanged=function(n){(e=t.element())&&(e.css({top:n.top}),e.height(n.height))},t._tablePositionController.positionChanged.add(t._positionChanged)},_unsubscribeFromCallback:function(){this._positionChanged&&this._tablePositionController.positionChanged.remove(this._positionChanged)},_init:function(){this._isTransparent=v(this),this.isVisible()&&this._subscribeToCallback()},isVisible:function(){return this.option("showColumnHeaders")&&(y(this)||v(this))},optionChanged:function(e){"allowColumnResizing"===e.name&&(e.value?(this._init(),this._invalidate(),this.hide(!0)):(this._unsubscribeFromCallback(),this._isTransparent=v(this),this.hide(!0))),this.callBase(e)},init:function(){this.callBase(),this._tablePositionController=this.getController("tablePosition"),this._init()},show:function(){var e=this.element();e&&!this._isShown&&(this._isTransparent?e.removeClass(this.addWidgetPrefix("columns-separator-transparent")):e.show()),this.callBase()},hide:function(e){var t=this.element(),n=this.addWidgetPrefix("columns-separator-transparent");t&&(this._isShown||e)&&(this._isTransparent?(t.addClass(n),t.css("left",""),t.show()):(t.hasClass(n)&&t.removeClass(n),t.hide())),this.callBase()},moveByX:function(e){var t=this.element();t&&t.css("left",e-this._parentElement().offset().left)},changeCursor:function(e){e=a.default.isDefined(e)?e:"";var t=this.element();t&&t.css("cursor",e)},dispose:function(){this._unsubscribeFromCallback(),this.callBase()}}),S=C.inherit({init:function(){var e=this;this.callBase(),this.getController("data").loadingChanged.add((function(t){t||e.hide()}))},_renderSeparator:function(){this.callBase(),this.element().addClass("dx-block-separator").html("&nbsp;")},hide:function(){var e=this._parentElement(),t=this.element();t&&this._isShown&&t.css("display","none"),e&&!e.children(".dx-block-separator").length&&e.prepend(this.element()),this.callBase()},isVisible:function(){var e=this.option("groupPanel"),t=this.option("columnChooser");return e&&e.visible||t&&t.enabled},show:function(e){var t=this.element(),n=function(e){m.default.stop(t,!0),m.default.animate(t,{type:"slide",from:{width:0,display:e.display},to:e,duration:300,easing:"swing"})};if(t&&!this._isShown)switch(e){case"group":n({width:"50px",display:"inline-block"});break;case"columnChooser":n({width:"100%",display:"block"});break;default:t.css("display","")}this.callBase()}}),k=p.default.View.inherit({_isDragging:!1,_getDraggingPanelByPos:function(e){var t;return(0,l.each)(this._dragOptions.draggingPanels,(function(n,i){if
1(i){var r=i.getBoundingRect();if(r&&(void 0===r.bottom||e.y<r.bottom)&&(void 0===r.top||e.y>r.top)&&(void 0===r.left||e.x>r.left)&&(void 0===r.right||e.x<r.right))return t=i,!1}})),t},_renderCore:function(){this.element().addClass(this.addWidgetPrefix("drag-header")+" "+this.addWidgetPrefix("text-content")+" dx-widget").hide()},_resetTargetColumnOptions:function(){var e=this._dropOptions;e.targetColumnIndex=-1,delete e.targetColumnElement,delete e.isLast,delete e.posX,delete e.posY},_getVisibleIndexObject:function(e,t){return a.default.isDefined(e)?{columnIndex:t,rowIndex:e}:t},dispose:function(){var e=this.element();this._dragOptions=null,e&&e.parent().find("."+this.addWidgetPrefix("drag-header")).remove()},isVisible:function(){var e=this.getController("columns").getCommonSettings();return this.option("showColumnHeaders")&&(y(this)||e.allowGrouping||e.allowHiding)},init:function(){var e=this;this.callBase(),this._controller=this.getController("draggingHeader"),this._columnsResizerViewController=this.getController("columnsResizer"),this.getController("data").loadingChanged.add((function(t){var n=e.element();!t&&n&&n.hide()}))},dragHeader:function(e){var t=e.columnElement,n=!!e.sourceColumn.type;this._isDragging=!0,this._dragOptions=e,this._dropOptions={sourceIndex:e.index,sourceColumnIndex:this._getVisibleIndexObject(e.rowIndex,e.columnIndex),sourceColumnElement:e.columnElement,sourceLocation:e.sourceLocation};var i=r.default.getDocument();this._onSelectStart=i.onselectstart,i.onselectstart=function(){return!1},this._controller.drag(this._dropOptions),this.element().css({textAlign:t&&t.css("textAlign"),height:t&&(n&&t.get(0).clientHeight||t.height()),width:t&&(n&&t.get(0).clientWidth||t.width()),whiteSpace:t&&t.css("whiteSpace")}).addClass(this.addWidgetPrefix("drag-action")).toggleClass("dx-drag-command-cell",n).text(n?"":e.sourceColumn.caption),this.element().appendTo((0,g.getSwatchContainer)(t))},moveHeader:function(e){var t=e.event,n=t.data.that,i=(0,u.eventData)(t),r=!!n._columnsResizerViewController&&n._columnsResizerViewController.isResizing(),o=n._dragOptions;if(n._isDragging&&!r){var s=n.element(),a=Math.abs(i.x-o.columnElement.offset().left-o.deltaX),l=Math.abs(i.y-o.columnElement.offset().top-o.deltaY);(s.is(":visible")||a>5||l>5)&&(s.show(),s.css({left:i.x-o.deltaX,top:i.y-o.deltaY}),n.dockHeader(i)),t.preventDefault()}},dockHeader:function(e){var t=this._getDraggingPanelByPos(e),n=this._controller,r=this._dropOptions,o=this._dragOptions;if(t){var s=this.option("rtlEnabled"),a="columnChooser"===t.getName(),l=a?"y":"x",u=t.getName(),d="headers"===u?o.rowIndex:void 0,h=o.sourceColumn,p=t.getColumnElements(d,h&&h.ownerBand)||[],f=o.pointsByTarget=o.pointsByTarget||{},m="columnChooser"===u?[]:f[u]||n._generatePointsByColumns((0,c.extend)({},o,{targetDraggingPanel:t,columns:t.getColumns(d),columnElements:p,isVerticalOrientation:a,startColumnIndex:"headers"===u&&(0,i.default)(p[0]).index()}));if(f[u]=m,r.targetLocation=u,m.length>0)for(var g=0;g<m.length;g++){var _=m[g+1]&&(m[g][l]+m[g+1][l])/2;if(void 0===_||(s&&"x"===l?e[l]>_:e[l]<_)){r.targetColumnIndex=this._getVisibleIndexObject(d,m[g].columnIndex),p[g]?(r.targetColumnElement=p.eq(g),r.isLast=!1):(r.targetColumnElement=p.last(),r.isLast=!0),r.posX=m[g].x,r.posY=m[g].y,n.dock(r);break}}else this._resetTargetColumnOptions(),n.dock(r)}},dropHeader:function(e){var t=e.event.data.that,n=t._controller;t.element().hide(),n&&t._isDragging&&n.drop(t._dropOptions),t.element().appendTo(t._parentElement()),t._dragOptions=null,t._dropOptions=null,t._isDragging=!1,r.default.getDocument().onselectstart=t._onSelectStart||null}}),T=function(e){return"widget"!==e.option("columnResizingMode")},E=p.default.ViewController.inherit({_isHeadersRowArea:function(e){if(this._columnHeadersView){var t=this._columnHeadersView.element();if(t){var n=t.offset().top,i=this._columnHeadersView.getHeadersRowHeight();return e>=n&&e<=n+i}}return!1},_pointCreated:function(e,t,n){var i=T(this),r=this.option("rtlEnabled"),o=!i&&r?0:1;if(e.index>=o&&e.index<t+(i||r?0:1)){e.columnIndex-=o;var s=n[e.columnIndex]||{};return!(i?s.allowResizing&&(n[e.columnIndex+1]||{}).allowResizing:s.allowResizing)}return!0},_getTargetPoint:function(e,t,n){if(e)for(var i=0;i<e.length;i++)if((e[i].x!==e[0].x||!e[i+1]||e[i].x!==e[i+1].x)&&e[i].x-n<=t&&t<=e[i].x+n)return e[i];return null},_moveSeparator:function(e){var t=e.event,n=t.data,i=n._columnsSeparatorView.width(),r=T(n),o=i/2,s=n._$parentContainer.offset(),a=s.left,l=(0,u.eventData)(t);if(n._isResizing&&n._resizingInfo){if(a<=l.x&&(!r||l.x<=a+n._$parentContainer.width())&&n._updateColumnsWidthIfNeeded(l.x)){var c=n._columnHeadersView.getColumnElements().eq(n._resizingInfo.currentColumnIndex);n._columnsSeparatorView.moveByX(c.offset().left+(r&&n.option("rtlEnabled")?0:c.outerWidth())),n._tablePositionController.update(n._targetPoint.y),t.preventDefault()}}else n._isHeadersRowArea(l.y)?(n._previousParentOffset&&(n._previousParentOffset.left===s.left&&n._previousParentOffset.top===s.top||n.points
1ByColumns(null)),n._targetPoint=n._getTargetPoint(n.pointsByColumns(),l.x,i),n._previousParentOffset=s,n._isReadyResizing=!1,n._targetPoint?(n._columnsSeparatorView.changeCursor("col-resize"),n._columnsSeparatorView.moveByX(n._targetPoint.x-o),n._tablePositionController.update(n._targetPoint.y),n._isReadyResizing=!0,t.preventDefault()):n._columnsSeparatorView.changeCursor()):(n.pointsByColumns(null),n._isReadyResizing=!1,n._columnsSeparatorView.changeCursor())},_endResizing:function(e){var t=e.event.data;t._isResizing&&(t.pointsByColumns(null),t._resizingInfo=null,t._columnsSeparatorView.hide(),t._columnsSeparatorView.changeCursor(),t._trackerView.hide(),t._isReadyResizing=!1,t._isResizing=!1)},_getNextColumnIndex:function(e){return e+1},_setupResizingInfo:function(e){var t=this._targetPoint.columnIndex,n=this._getNextColumnIndex(t),i=this._columnHeadersView.getHeaderElement(t),r=this._columnHeadersView.getHeaderElement(n);this._resizingInfo={startPosX:e,currentColumnIndex:t,currentColumnWidth:i&&i.length>0?i[0].getBoundingClientRect().width:0,nextColumnIndex:n,nextColumnWidth:r&&r.length>0?r[0].getBoundingClientRect().width:0}},_startResizing:function(e){var t=e.event,n=t.data,i=(0,u.eventData)(t),r=n.getController("editing"),o=n.option("editing.mode"),s=r.isEditing()&&("batch"===o||"cell"===o);(0,u.isTouchEvent)(t)&&(n._isHeadersRowArea(i.y)?(n._targetPoint=n._getTargetPoint(n.pointsByColumns(),i.x,10),n._targetPoint&&(n._columnsSeparatorView.moveByX(n._targetPoint.x-n._columnsSeparatorView.width()/2),n._isReadyResizing=!0)):n._isReadyResizing=!1),n._isReadyResizing&&!s&&(n._setupResizingInfo(i.x),n._isResizing=!0,n._tablePositionController.update(n._targetPoint.y),n._columnsSeparatorView.show(),n._trackerView.show(),t.preventDefault(),t.stopPropagation()),this.isResizing()&&this.getController("editorFactory").loseFocus()},_generatePointsByColumns:function(){var e=this,t=e._columnsController?e._columnsController.getVisibleColumns():[],n=e._columnHeadersView.getColumnElements(),i=[];n&&n.length>0&&(i=f.default.getPointsByColumns(n,(function(i){return e._pointCreated(i,n.length,t)}))),e._pointsByColumns=i},_unsubscribeFromEvents:function(){this._moveSeparatorHandler&&o.default.off(r.default.getDocument(),(0,u.addNamespace)(d.default.move,b),this._moveSeparatorHandler),this._startResizingHandler&&o.default.off(this._$parentContainer,(0,u.addNamespace)(d.default.down,b),this._startResizingHandler),this._endResizingHandler&&(o.default.off(this._columnsSeparatorView.element(),(0,u.addNamespace)(d.default.up,b),this._endResizingHandler),o.default.off(r.default.getDocument(),(0,u.addNamespace)(d.default.up,b),this._endResizingHandler))},_subscribeToEvents:function(){this._moveSeparatorHandler=this.createAction(this._moveSeparator),this._startResizingHandler=this.createAction(this._startResizing),this._endResizingHandler=this.createAction(this._endResizing),o.default.on(r.default.getDocument(),(0,u.addNamespace)(d.default.move,b),this,this._moveSeparatorHandler),o.default.on(this._$parentContainer,(0,u.addNamespace)(d.default.down,b),this,this._startResizingHandler),o.default.on(this._columnsSeparatorView.element(),(0,u.addNamespace)(d.default.up,b),this,this._endResizingHandler),o.default.on(r.default.getDocument(),(0,u.addNamespace)(d.default.up,b),this,this._endResizingHandler)},_updateColumnsWidthIfNeeded:function(e){var t,n,i,r,o,s=!1,l=this._resizingInfo,c=this._columnsController,u=c.getVisibleColumns(),d=this._columnsSeparatorView.width(),h=this._rowsView.contentWidth(),p=T(this),m=p&&this.option("adaptColumnWidthByRatio")&&!this.option("columnAutoWidth");function g(e){return a.default.isString(e)&&"%"===e.slice(-1)}function _(e,t,n,i){if(e){var r=e.width;r&&(i=g(r)),i?(e&&c.columnOption(e.index,"visibleWidth",t),e&&c.columnOption(e.index,"width",(t/n*100).toFixed(3)+"%")):(e&&c.columnOption(e.index,"visibleWidth",null),e&&c.columnOption(e.index,"width",t))}}t=e-l.startPosX,p&&this.option("rtlEnabled")&&(t=-t);var b=u[l.currentColumnIndex];if(s=(o=l.currentColumnWidth+t)>=(i=b&&b.minWidth||d),p&&(n=l.nextColumnWidth-t,i=(r=u[l.nextColumnIndex])&&r.minWidth||d,s=s&&n>=i),s){if(c.beginUpdate(),_(b,o=Math.floor(o),h=function(e,t){if(t.every((function(e){return e.width}))){var n=t.reduce((function(e,t){return g(t.width)&&(e+=parseFloat(t.width)),e}),0);n>100&&(e=e/n*100)}return e}(h,u),m),p)_(r,n=Math.floor(n),h,m);else{var v=this._columnHeadersView.getColumnWidths();if(v[l.currentColumnIndex]=o,!(v.reduce((function(e,t){return e+t}),0)>this._rowsView.contentWidth())){var y=f.default.getLastResizableColumnIndex(u);y>=0&&c.columnOption(u[y].index,"visibleWidth","auto")}for(var w=0;w<v.length;w++)u[w]&&u[w]!==b&&void 0===u[w].width&&c.columnOption(u[w].index,"width",v[w])}c.endUpdate(),p||this.component.updateDimensions()}return s},_subscribeToCallback:function(e,t){e.add(t),this._subscribesToCallbacks.push({callback:e,handler:t})},_unsubscribeFromCallbacks:function(){for(var e=0;e<this._subscribesToCallbacks.length;e++){var t=this._subscribesToCallbacks[e];t.callback.remove(t.handler)}this._subscribesToCallbacks=[]},_unsubscribes:function(){this._unsubscribeFromEvents(),this._unsubscribeFromCallbacks()},_init:function(){var e=this,t=function(){e._isResizing||e.pointsByColumns(null)},n=function(t){e._scrollLeft!==t.left&&(e._scrollLeft=t.left,e.pointsByColumns(null))};e._columnsSeparatorView=e.getView("columnsSeparatorView"),e._columnHeadersView=e.getView("columnHeadersView"),e._trackerView=e.getView("trackerView"),e._rowsView=e.getView("rowsView"),e._columnsController=e.getController("columns"),e._tablePositionController=e.getController("tablePosition"),e._$parentContainer=e._columnsSeparatorView.component.$element(),e._subscribeToCallback(e._columnHeadersView.renderCompleted,t),e._subscribeToCallback(e._columnHeadersView.resizeCompleted,t),e._subscribeToCallback(e._columnsSeparatorView.renderCompleted,(function(){e._unsubscribeFromEvents(),e._subscribeToEvents()})),e._subscribeToCallback(e._rowsView.renderCompleted,(function(){e._rowsView.scrollChanged.remove(n),e._rowsView.scrollChanged.add(n)}));var i=0!==e._rowsView.getScrollbarWidth(),r=0;e._subscribeToCallback(e.getController("tablePosition").positionChanged,(function(t){if(e._isResizing&&!e._rowsView.isResizing){var n=0!==e._rowsView.getScrollbarWidth();i!==n||r&&r!==t.height?(i=n,r=t.height,e.component.updateDimensions()):e._rowsView.updateFreeSpaceRowHeight()}r=t.height}))},optionChanged:function(e){this.callBase(e),"allowColumnResizing"===e.name&&(e.value?(this._init(),this._subscribeToEvents()):this._unsubscribes())},isResizing:function(){return this._isResizing},init:function(){this._subscribesToCallbacks=[],v(this)&&this._init()}
1,pointsByColumns:function(e){if(void 0===e)return this._pointsByColumns||this._generatePointsByColumns(),this._pointsByColumns;this._pointsByColumns=e},dispose:function(){this._unsubscribes(),this.callBase()}}),I=p.default.ViewController.inherit({update:function(e){var t={},n=this._columnHeadersView.element(),i=n&&n.offset(),r=i&&i.top||0,o=a.default.isDefined(e)?Math.abs(e-r):0,s=this._columnHeadersView?this._columnHeadersView.getHeight():0,l=this._rowsView.getScrollbarWidth(!0),c=this._rowsView?this._rowsView.height()-l:0,u=this.component.getController("columnsResizer");t.height=s,!1!==u.isResizing()&&(t.height+=c-o),null!==e&&n&&n.length&&(t.top=n[0].offsetTop+o),this.positionChanged.fire(t)},init:function(){var e=this;e.callBase(),e._columnHeadersView=this.getView("columnHeadersView"),e._rowsView=this.getView("rowsView"),e._pagerView=this.getView("pagerView"),e._rowsView.resizeCompleted.add((function(){if(e.option("allowColumnResizing")){var t=e.getController("columnsResizer")._targetPoint;e.update(t?t.y:null)}}))},ctor:function(e){this.callBase(e),this.positionChanged=(0,s.default)()}}),D=p.default.ViewController.inherit({_generatePointsByColumns:function(e){var t=this;return f.default.getPointsByColumns(e.columnElements,(function(n){return t._pointCreated(n,e.columns,e.targetDraggingPanel.getName(),e.sourceColumn)}),e.isVerticalOrientation,e.startColumnIndex)},_pointCreated:function(e,t,n,i){var r=t[e.columnIndex],o=t[e.columnIndex-1];switch(n){case"columnChooser":return!0;case"headers":return i&&!i.allowReordering||(!r||!r.allowReordering)&&(!o||!o.allowReordering);default:return 0===t.length}},_subscribeToEvents:function(e,t){var n=this;(0,l.each)(t,(function(r,s){if(s)for(var a,c=s.getRowCount?s.getRowCount():1,d=s.getName(),p=function(r,l){if(l){var c=(0,i.default)(l),p=a[r];s.allowDragging(p,d,t)&&(c.addClass(n.addWidgetPrefix("drag-action")),o.default.on(c,(0,u.addNamespace)(h.default.start,b),n.createAction((function(o){var s=o.event,a=(0,u.eventData)(s);e.dragHeader({deltaX:a.x-(0,i.default)(s.currentTarget).offset().left,deltaY:a.y-(0,i.default)(s.currentTarget).offset().top,sourceColumn:p,index:p.index,columnIndex:r,columnElement:c,sourceLocation:d,draggingPanels:t,rowIndex:n._columnsController.getRowIndex(p.index,!0)})}))),o.default.on(c,(0,u.addNamespace)(h.default.move,b),{that:e},n.createAction(e.moveHeader)),o.default.on(c,(0,u.addNamespace)(h.default.end,b),{that:e},n.createAction(e.dropHeader)))}},f=0;f<c;f++){var m=s.getColumnElements(f)||[];m.length&&(a=s.getColumns(f)||[],(0,l.each)(m,p))}}))},_unsubscribeFromEvents:function(e,t){var n=this;(0,l.each)(t,(function(e,t){if(t){var r=t.getColumnElements()||[];(0,l.each)(r,(function(e,t){var r=(0,i.default)(t);o.default.off(r,(0,u.addNamespace)(h.default.start,b)),o.default.off(r,(0,u.addNamespace)(h.default.move,b)),o.default.off(r,(0,u.addNamespace)(h.default.end,b)),r.removeClass(n.addWidgetPrefix("drag-action"))}))}}))},_getSeparator:function(e){return"headers"===e?this._columnsSeparatorView:this._blockSeparatorView},hideSeparators:function(e){var t=this._blockSeparatorView,n=this._columnsSeparatorView;this._animationColumnIndex=null,t&&t.hide(),"block"!==e&&n&&n.hide()},init:function(){var e=this;e.callBase(),e._columnsController=e.getController("columns"),e._columnHeadersView=e.getView("columnHeadersView"),e._columnsSeparatorView=e.getView("columnsSeparatorView"),e._draggingHeaderView=e.getView("draggingHeaderView"),e._rowsView=e.getView("rowsView"),e._blockSeparatorView=e.getView("blockSeparatorView"),e._headerPanelView=e.getView("headerPanel"),e._columnChooserView=e.getView("columnChooserView");var t=function(){if(e._draggingHeaderView){var t=[e._columnChooserView,e._columnHeadersView,e._headerPanelView];e._unsubscribeFromEvents(e._draggingHeaderView,t),e._subscribeToEvents(e._draggingHeaderView,t)}};e._columnHeadersView.renderCompleted.add(t),e._headerPanelView&&e._headerPanelView.renderCompleted.add(t),e._columnChooserView&&e._columnChooserView.renderCompleted.add(t)},allowDrop:function(e){return this._columnsController.allowMoveColumn(e.sourceColumnIndex,e.targetColumnIndex,e.sourceLocation,e.targetLocation)},drag:function(e){var t=e.sourceIndex,n=e.sourceLocation,i=e.sourceColumnElement,r=this._columnHeadersView,o=this._rowsView;i&&(i.css({opacity:.5}),"headers"===n&&(r&&r.setRowsOpacity(t,.5),o&&o.setRowsOpacity(t,.5)))},dock:function(e){var t=a.default.isObject(e.targetColumnIndex)?e.targetColumnIndex.columnIndex:e.targetColumnIndex,n=e.sourceLocation,i=e.targetLocation,r=this._getSeparator(i),o=t>=0;
1this._columnHeadersView.element().find(".dx-header-row").toggleClass(this.addWidgetPrefix("drop-highlight"),"headers"!==n&&"headers"===i&&!o),r&&(this.allowDrop(e)&&o?"group"===i||"columnChooser"===i?this._animationColumnIndex!==t&&(this.hideSeparators(),r.element()[e.isLast?"insertAfter":"insertBefore"](e.targetColumnElement),this._animationColumnIndex=t,r.show(i)):(this.hideSeparators("block"),this.getController("tablePosition").update(e.posY),r.moveByX(e.posX-r.width()),r.show()):this.hideSeparators())},drop:function(e){var t=e.sourceColumnElement;if(t&&(t.css({opacity:""}),this._columnHeadersView.setRowsOpacity(e.sourceIndex,""),this._rowsView.setRowsOpacity(e.sourceIndex,""),this._columnHeadersView.element().find(".dx-header-row").removeClass(this.addWidgetPrefix("drop-highlight"))),this.allowDrop(e)){var n=this._getSeparator(e.targetLocation);n&&n.hide(),this._columnsController.moveColumn(e.sourceColumnIndex,e.targetColumnIndex,e.sourceLocation,e.targetLocation)}},dispose:function(){this._draggingHeaderView&&this._unsubscribeFromEvents(this._draggingHeaderView,[this._columnChooserView,this._columnHeadersView,this._headerPanelView])}});e.exports={views:{columnsSeparatorView:x,blockSeparatorView:S,draggingHeaderView:k,trackerView:w},controllers:{draggingHeader:D,tablePosition:I,columnsResizer:E},extenders:{views:{rowsView:{_needUpdateRowHeight:function(e){var t=this.option("wordWrapEnabled"),n=this.getController("columnsResizer"),i=n.isResizing();return this.callBase.apply(this,arguments)||e>0&&t&&i}}},controllers:{editorFactory:{renderFocusOverlay:function(){if(!this.getController("columnsResizer").isResizing())return this.callBase.apply(this,arguments)}}}}}},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return i}))},XpgS:function(e,t,n){"use strict";var i=n("ti0F").isDefined,r=n("zl3R").each,o=n("3RoI"),s=n("2Fn2"),a=function(e,t){return t?(Array.isArray(t)?t:t.toArray()).indexOf(e):-1};t.isEmpty=function(e){return Array.isArray(e)&&!e.length},t.wrapToArray=function(e){return Array.isArray(e)?e:[e]},t.intersection=function(e,t){if(!Array.isArray(e)||0===e.length||!Array.isArray(t)||0===t.length)return[];var n=[];return r(e,(function(e,i){-1!==a(i,t)&&n.push(i)})),n},t.removeDuplicates=function(e,t){if(!Array.isArray(e)||0===e.length)return[];if(!Array.isArray(t)||0===t.length)return e.slice();var n=[];return r(e,(function(e,i){-1===a(i,t)&&n.push(i)})),n},t.normalizeIndexes=function(e,t,n,a){var l={},c=0,u=s().useLegacyVisibleIndex;return r(e,(function(e,i){(e=i[t])>=0?(l[e]=l[e]||[],i===n?l[e].unshift(i):l[e].push(i)):i[t]=void 0})),u||r(e,(function(){if(!i(this[t])&&(!a||a(this))){for(;l[c];)c++;l[c]=[this],c++}})),c=0,o.orderEach(l,(function(e,n){r(n,(function(){e>=0&&(this[t]=c++)}))})),u&&r(e,(function(){i(this[t])||a&&!a(this)||(this[t]=c++)})),c},t.inArray=a,t.merge=function(e,t){for(var n=0;n<t.length;n++)e[e.length]=t[n];return e},t.find=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}},Y0yK:function(e,t,n){"use strict";var i,r=(i=n("zl3R"))&&i.__esModule?i:{default:i},o=["January","February","March","April","May","June","July","August","September","October","November","December"],s=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],l=["Q1","Q2","Q3","Q4"],
1c=function(e,t){var n={abbreviated:3,short:2,narrow:1};return r.default.map(e,(function(e){return e.substr(0,n[t])}))};e.exports={getMonthNames:function(e){return c(o,e)},getDayNames:function(e){return c(s,e)},getQuarterNames:function(e){return l},getPeriodNames:function(e){return a}}},Y18R:function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("D6VQ"),s=n("1LL4").extend,a=n("zl3R").each,l=n("JDOJ"),c=n("XCcL"),u=n("ZA3g"),d=n("hMwJ"),h=n("YQNt"),p=u.inherit({_getDefaultOptions:function(){return s(this.callBase(),{showScrollbar:!1,useNative:!1,selectedIndex:0,bounceEnabled:!1,items:[],showOnClick:!1,onClick:null,onSelectedIndexChanged:null})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"generic"},options:{scrollByContent:!0}}])},_init:function(){this.callBase(),this._renderSelectedItemFrame()},_render:function(){this.callBase(),this.$element().addClass("dx-dateviewroller"),this._renderContainerClick(),this._renderItems(),this._renderSelectedValue(),this._renderItemsClick(),this._wrapAction("_endAction",this._endActionHandler.bind(this)),this._renderSelectedIndexChanged()},_renderSelectedIndexChanged:function(){this._selectedIndexChanged=this._createActionByOption("onSelectedIndexChanged")},_renderContainerClick:function(){if(this.option("showOnClick")){var e=l.addNamespace(c.name,this.NAME),t=this._createActionByOption("onClick");r.off(this._$container,e),r.on(this._$container,e,(function(e){t({event:e})}))}},_wrapAction:function(e,t){var n=this._strategy,i=n[e];n[e]=function(){return t.apply(this,arguments),i.apply(this,arguments)}},_renderItems:function(){var e=this.option("items")||[],t=i();this._$content.empty(),e.forEach((function(e){t=t.add(i("<div>").addClass("dx-dateview-item").append(e))})),this._$content.append(t),this._$items=t,this.update()},_renderSelectedItemFrame:function(){i("<div>").addClass("dx-dateview-item-selected-frame").append(i("<div>").addClass("dx-dateview-item-selected-border")).appendTo(this._$container)},_renderSelectedValue:function(e){var t=this._fitIndex(e||this.option("selectedIndex"));this._moveTo({top:this._getItemPosition(t)}),this._renderActiveStateItem()},_fitIndex:function(e){var t=(this.option("items")||[]).length;return e>=t?t-1:e<0?0:e},_getItemPosition:function(e){return Math.round(this._itemHeight()*e)},_renderItemsClick:function(){var e=this._getItemSelector(),t=l.addNamespace(c.name,this.NAME);r.off(this.$element(),t,e),r.on(this.$element(),t,e,this._itemClickHandler.bind(this))},_getItemSelector:function(){return".dx-dateview-item"},_itemClickHandler:function(e){this.option("selectedIndex",this._itemElementIndex(e.currentTarget))},_itemElementIndex:function(e){return this._itemElements().index(e)},_itemElements:function(){return this.$element().find(this._getItemSelector())},_renderActiveStateItem:function(){var e=this.option("selectedIndex");a(this._$items,(function(t){i(this).toggleClass("dx-dateview-item-selected",e===t)}))},_moveTo:function(e){e=this._normalizeLocation(e);var t=this._location(),n={x:-(t.left-e.left),y:-(t.top-e.top)};if(this._isVisible()&&(n.x||n.y))if(this._strategy._prepareDirections(!0),this._animation){var i=this;d.stop(this._$content),d.animate(this._$content,{duration:200,type:"slide",to:{top:Math.floor(n.y)},complete:function(){h.resetPosition(i._$content),i._strategy.handleMove({delta:n})}}),delete this._animation}else this._strategy.handleMove({delta:n})},_validate:function(e){return this._strategy.validate(e)},_endActionHandler:function(){var e=this.option("selectedIndex"),t=-this._location().top/this._itemHeight(),n=Math.round(t);this._animation=!0,n===e?this._renderSelectedValue(n):this.option("selectedIndex",n)},_itemHeight:function(){var e=this._$items.first();return e.get(0)&&e.get(0).getBoundingClientRect().height||0},_toggleActive:function(e){this.$element().toggleClass("dx-state-active",e)},_isVisible:function(){return this._$container.is(":visible")},_fireSelectedIndexChanged:function(e,t){this._selectedIndexChanged({value:e,previousValue:t,event:void 0})},_visibilityChanged:function(e){this.callBase(e),e&&this._renderSelectedValue(this.option("selectedIndex")),this.toggleActiveState(!1)},toggleActiveState:function(e){this.$element().toggleClass("dx-dateviewroller-current",e)},_refreshSelectedIndex:function(){var e=this.option("selectedIndex"),t=this._fitIndex(e);t===e?this._renderActiveStateItem():this.option("selectedIndex",t)},_optionChanged:function(e){switch(e.name){case"selectedIndex":this._fireSelectedIndexChanged(e.value,e.previousValue),this._renderSelectedValue(e.value);break;case"items":this._renderItems(),this._refreshSelectedIndex();break;case"onClick":case"showOnClick":this._renderContainerClick();break;case"onSelectedIndexChanged":this._renderSelectedIndexChanged();break;default:this.callBase(e)}}});o("dxDateViewRoller",p),e.exports=p},YB1V:function(e,t,n){"use strict";var i=n("5qrJ"),r=n("We6E"),o=n("8K0q"),s=n("1LL4").extend,a=n("KAnu").noop,l=n("ti0F").isDefined,c=n("tJvG").Deferred;e.exports=i.inherit({ctor:function(e){this.options=s(this._getDefaultOptions(),e,{selectedItemKeys:e.selectedKeys||[]}),this._selectionStrategy=this.options.deferred?new r(this.options):new o(this.options),this._focusedItemIndex=-1,this.options.equalByReference||this._selectionStrategy.updateSelectedItemKeyHash(this.options.selectedItemKeys)},_getDefaultOptions:function(){return{allowNullValue:!1,deferred:!1,equalByReference:!1,mode:"multiple",selectedItems:[],selectionFilter:[],maxFilterLengthInRequest:0,onSelectionChanged:a,key:a,keyOf:function(e){return e},load:function(){return(new c).resolve([])},totalCount:function(){return-1},isSelectableItem:function(){return!0},isItemSelected:function(){return!1},getItemData:function(e){return e},dataFields:a,filter:a}},validate:function(){this._selectionStrategy.validate()},getSelectedItemKeys:function(){return this._selectionStrategy.getSelectedItemKeys()},getSelectedItems:function(){return this._selectionStrategy.getSelectedItems()},selectionFilter:function(e){if(void 0===e)return this.options.selectionFilter;var t=this.options.selectionFilter!==e&&JSON.stringify(this.options.selectionFilter)!==JSON.stringify(e);this.options.selectionFilter=e,t&&this.onSelectionChanged()},setSelection:function(e){return this.selectedItemKeys(e)},select:function(e){return this.selectedItemKeys(e,!0)},deselect:function(e){return this.selectedItemKeys(e,!0,!0)},selectedItemKeys:function(e,t,n,i){return e=e||[],e=Array.isArray(e)?e:[e],this.validate(),this._selectionStrategy.selectedItemKeys(e,t,n,i)},clearSelection:function(){return this.selectedItemKeys([])},_addSelectedItem:function(e,t){this._selectionStrategy.addSelectedItem(t,e)},_removeSelectedItem:function(e){this._selectionStrategy.removeSelectedItem(e)},_setSelectedItems:function(e,t){this._selectionStrategy.setSelectedItems(e,t)},onSelectionChanged:function(){this._selectionStrategy.onSelectionChanged()},changeItemSelection:function(e,t){var n,i=this.options.plainItems(),r=i[e];if(!this.isSelectable()||!this.isDataItem(r))return!1;var o=this.options.getItemData(r),s=this.options.keyOf(o);if((t=t||{}).shift&&"multiple"===this.options.mode&&this._focusedItemIndex>=0)n=this.changeItemSelectionWhenShiftKeyPressed(e,i);else if(t.control){this._resetItemSelectionWhenShiftKeyPressed();var a=this._selectionStrategy.isItemDataSelected(o);"single"===this.options.mode&&this.clearSelectedItems(),a?this._removeSelectedItem(s):this._addSelectedItem(o,s),n=!0}else{this._resetItemSelectionWhenShiftKeyPressed();var l=this._selectionStrategy.equalKeys(this.options.selectedItemKeys[0],s);1===this.options.selectedItemKeys.length&&l||(this._setSelectedItems([s],[o]),n=!0)}return n?(this._focusedItemIndex=e,this.onSelectionChanged(),!0):void 0},isDataItem:function(e){return this.options.isSelectableItem(e)},isSelectable:function(){return"single"===this.options.mode||"multiple"===this.options.mode},isItemDataSelected:function(e){return this._selectionStrategy.isItemDataSelected(e)},isItemSelected:function(e){return this._selectionStrategy.isItemKeySelected(e)},_resetItemSelectionWhenShiftKeyPressed:function(){delete this._shiftFocusedItemIndex},_resetFocusedItemIndex:function(){this._focusedItemIndex=-1},changeItemSelectionWhenShiftKeyPressed:function(e,t){var n,i,r,o,s=!1,a=this.options.keyOf,c=t[this._focusedItemIndex],u=this.options.getItemData(c),d=a(u),h=c&&this.isItemDataSelected(u);if(l(this._shiftFocusedItemIndex)||(this._shiftFocusedItemIndex=this._focusedItemIndex),this._shiftFocusedItemIndex!==this._focusedItemIndex)for(n=this._focusedItemIndex<this._shiftFocusedItemIndex?1:-1,i=this._focusedItemIndex;i!==this._shiftFocusedItemIndex;i+=n)this.isDataItem(t[i])&&(o=a(this.options.getItemData(t[i])),this._removeSelectedItem(o),s=!0);if(e!==this._shiftFocusedItemIndex)for(n=e<this._shiftFocusedItemIndex?1:-1,i=e;i!==this._shiftFocusedItemIndex;i+=n)this.isDataItem(t[i])&&(o=a(r=this.options.getItemData(t[i])),this._addSelectedItem(r,o),s=!0);return this.isDataItem(c)&&!h&&(this._addSelectedItem(u,d),s=!0),s},clearSelectedItems:function(){this._setSelectedItems([],[])},selectAll:function(e){return this._resetFocusedItemIndex(),e?this._onePageSelectAll(!1):this.selectedItemKeys([],!0,!1,!0)},deselectAll:function(e){return this._resetFocusedItemIndex(),e?this._onePageSelectAll(!0):this.selectedItemKeys([],!0,!0,!0)},_onePageSelectAll:function(e){for(var t=this._selectionStrategy.getSelectableItems(this.options.plainItems()),n=0;n<t.length;n++){var i=t[n];if(this.isDataItem(i)){var r=this.options.getItemData(i),o=this.options.keyOf(r),s=this.isItemSelected(o);s||e||this._addSelectedItem(r,o),s&&e&&this._removeSelectedItem(o)}}return this.onSelectionChanged(),(new c).resolve()},getSelectAllState:function(e){return this._selectionStrategy.getSelectAllState(e)}})},YKSD:function(e,t,n){"use strict";var i,r,o,s,a,l,c=n("yxXJ"),u=n("IRs2"),d=n("zl3R"),h=n("1LL4"),p=n("IEE5"),f=n("BWGd"),m=n("Ec/t"),g=n("fZgB"),_=(i=n("Q7sy"))&&i.__esModule?i:{default:i},b=n("tJvG"),v=function(e,t){var n=new b.Deferred,i=(0,h.extend)({skip:0,take:1,requireTotalCount:!0},t);return e.load(i).done((function(e,t){n.resolve(t&&t.totalCount)})).fail(n.reject.bind(n)),n};t.GroupingHelper=m.GroupingHelper.inherit((r=function(e,t,n){return e.foreachGroups((function(e){if(!e.isExpanded)return t(e)}),!1,!1,n,!0)},o=function(e,t){var n=0,i=t||0;return t&&(r(e,(function(e){if(e.offset-n>=t)return!1;n+=e.count-1})),i+=n),i},s=function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!(0,u.keysEqual)(e[n],t[n]))return!1;return!0},a=function e(t,n,i,r,o){if(n){for(var a=0;a<n.length;a++){var l=n[a];if("key"in l&&void 0!==l.items){i.push(l.key),o&&s(o.path,i)&&!l.isContinuation&&(o.offset=r);var c=t.findGroupInfo(i);c&&!l.isContinuation&&(c.offset=r),c&&!c.isExpanded?r+=c.count:r=e(t,l.items,i,r,o),i.pop()}else r++}return r}},l=function e(t,n){var i=t.count||t.items.length;if(!t.count&&n>1){i=0;for(var r=0;r<t.items.length;r++)i+=e(t.items[r],n-1)}return i},{handleDataLoading:function(e){var t,n=e.storeLoadOptions,i=[],s=0,a=!1,l=e.loadOptions.group,c=0;if(function(e,t){if(t.group){var n=(0,f.normalizeSortingInfo)(t.group),i=(0,f.normalizeSortingInfo)(e.sort);e.sort=(0,p.arrangeSortingInfo)(n,i),delete t.group}}(n,e.loadOptions),e.group=e.group||l,!e.isCustomLoading){var u=(0,h.extend)({},n);u.skip=o(this,n.skip),u.skip&&u.take&&l&&(u.skip--,u.take++,a=!0),u.take&&l&&(t=u.take,u.take++),r(this,(function(e){if(e.offset>=u.skip+u.take+c)return!1;e.offset>=u.skip+c&&e.count&&(c+=e.count-1,i.push(e),s+=e.count)})),(0,d.each)(i,(function(){u.filter=function(e,t,n){for(var i=(0,f.normalizeSortingInfo)(n||t.group),r=[],o=0;o<e.length;o++){for(var s=[],a=0;a<=o;a++)s.push([i[a].selector,o===a?"<>":"=",e[a]]);r.push((0,f.combineFilters)(s))}return r=(0,f.combineFilters)(r,"or"),(0,f.combineFilters)([r,t.filter])}(this.path,u,l)})),e.storeLoadOptions=u,e.collapsedGroups=i,e.collapsedItemsCount=s,e.skip=u.skip||0,e.skipFirstItem=a,e.take=t}},handleDataLoaded:function(e,t){var n=e.data,i=e.collapsedGroups,r=(0,f.normalizeSortingInfo)(e.group),o=r.length;function s(e,t,n,i,r){if(e&&t.length&&n.length){var o,a,u=(0,c.toComparable)(t[0],!0);for(a=0;a<e.length&&(o=(0,c.toComparable)(e[a].key,!0),!(r>=i.offset||u===o));a++)r+=l(e[a],n.length);e.length&&u===o||e.splice(a,0,{key:t[0],items:[],count:1===t.length?
1i.count:void 0}),s(e[a].items,t.slice(1),n.slice(1),i,r)}}if(e.collapsedItemsCount&&e.extra&&e.extra.totalCount>=0&&(e.extra.totalCount+=e.collapsedItemsCount),t(e),o){var a=(0,_.default)(n);if((0,p.multiLevelGroup)(a,r).enumerate().done((function(e){n=e})),i)for(var u=0;u<i.length;u++)s(n,i[u].path,r,i[u],e.skip);e.isCustomLoading||function e(t,n,i,r,o,s){for(var a=0,l=!1,c=0;c<n.length;c++){var u=n[c];if(void 0!==u.items){i.push(u.key);var d=t.findGroupInfo(i);if(d&&!d.isExpanded)u.collapsedItems=u.items,u.items=null,r+=d.count,--s<0&&a++,o&&(l=!0);else if(u.items){var h=e(t,u.items,i,r,o,s);o&&(h.offset-r>1?u.isContinuation=!0:l=!0),r=h.offset,(s=h.take)<0&&(u.items.length?u.isContinuationOnNextPage=!0:a++)}i.pop()}else o&&(l=!0),r++,--s<0&&a++;o=!1}return l&&n.splice(0,1),a&&n.splice(-a,a),{offset:r,take:s}}(this,n,[],e.skip,e.skipFirstItem,e.take),e.data=n}},isGroupItemCountable:function(e){return null===e.items},updateTotalItemsCount:function(){var e=0;r(this,(function(t){t.count&&(e-=t.count-1)})),this.callBase(e)},changeRowExpand:function(e){var t,n=this,i=n._dataSource,r=i.beginPageIndex?i.beginPageIndex():i.pageIndex(),s=i.items(),l=o(n,r*i.pageSize()),c=n.findGroupInfo(e);return t=c&&!c.isExpanded?(new b.Deferred).resolve(c.count):v(i,{filter:(0,g.createGroupFilter)(e,{filter:i.filter(),group:i.group()})}),(0,b.when)(t).done((function(t){t=parseInt(t.length?t[0]:t),c?(a(n,s,[],l),c.isExpanded=!c.isExpanded,c.count=t):(a(n,s,[],l,c={offset:-1,count:t,path:e,isExpanded:!1}),c.offset>=0&&n.addGroupInfo(c)),n.updateTotalItemsCount()})).fail((function(){i.fireEvent("loadError",arguments)}))},allowCollapseAll:function(){return!1},refresh:function(e,t,n){var i=this,o=e.storeLoadOptions,s=i._dataSource;if(this.callBase.apply(this,arguments),t||n.reload)return r(i,(function(e){var t=v(s,{filter:(0,g.createGroupFilter)(e.path,o)}),n=v(s,{filter:(0,m.createOffsetFilter)(e.path,o)});return(0,b.when)(n,t).done((function(t,n){t=parseInt(t.length?t[0]:t),n=parseInt(n.length?n[0]:n),e.offset=t,e.count!==n&&(e.count=n,i.updateTotalItemsCount())}))}),!0)}}))},YNCv:function(e,t,n){"use strict";var i=n("z7z0").fitIntoRange,r=n("UQCf").toFixed,o={thousandsSeparator:",",decimalSeparator:"."};function s(e){return e.toString().split("").reverse().join("")}function a(e){return e?e.length-e.replace(/[#]/g,"").length:0}function l(e){return e?e.length-e.replace(/[0]/g,"").length:0}function c(e,t,n){if(!e)return"";for(e.length>n&&(e=e.substr(0,n));e.length>t&&"0"===e.slice(-1);)e=e.substr(0,e.length-1);for(;e.length<t;)e+="0";return e}function u(e,t){return e.split("'").map((function(e,n){var i=n%2;return!e&&i?"'":i?e:e.replace(/[,#0]+/,t)})).join("")}function d(e,t,n){var i=(t?.01:1)*parseFloat(e)||0;return n?-i:i}function h(e,t,n,i){var r,o,s,a=e;do{s&&(r=o.length===s.length?"0":"1",e=i?r+e:e+r),o=s||t(d(a,n)),s=t(d(a=i?"1"+a:a+"1",n))}while(o!==s&&(i?o.length===s.length:o.length<=s.length));if(i&&s.length>o.length){var l=-1===t(12345).indexOf("12345");do{e="1"+e}while(l&&d(e,n)<1e5)}return e}function p(e,t,n,i){var r=t(d(e,n,i)),o=e.split("."),s=t(d(o[0]+".3"+o[1].slice(1),n,i)).indexOf("3")-1;return r=r.replace(/(\d)\D(\d)/g,"$1,$2"),s>=0&&(r=r.slice(0,s)+"."+r.slice(s+1)),r=r.replace(/1+/,"1").replace(/1/g,"#"),n||(r=r.replace("%","'%'")),r}t.getFormatter=function(e,t){return t=t||o,function(n){if("number"!=typeof n||isNaN(n))return"";var o=n>0||1/n==1/0,d=function(e){var t=e.split(";");return 1===t.length&&t.push("-"+t[0]),t}(e)[o?0:1];(function(e){return-1!==e.indexOf("%")&&!e.match(/'[^']*%[^']*'/g)})(d)&&(n*=100),o||(n=-n);var h,p=function(e){for(var t=!1,n=0;n<e.length;n++)if("'"===e[n]&&(t=!t),"."===e[n]&&!t)return n;return e.length}(d),f=[d.substr(0,p),d.substr(p+1)],m=l(f[1]),g=m+a(f[1]),_=l(f[0]),b=a(f[0])?void 0:_,v=Math.floor(n).toString().length,y=i(g,0,15-v),w=(h=f[0],h.split(",").slice(1).map((function(e){return e.split("").filter((function(e){return"#"===e||"0"===e})).length}))).reverse(),C=r(n,y<0?0:y).split("."),x=c(s(C[0]),_,b),S=c(C[1],m,g);x=function(e,t,n){if(!t.length)return e;for(var i=[],r=0;e;){var o=t[r];if(!o)break;i.push(e.slice(0,o)),e=e.slice(o),r<t.length-1&&r++}return i.join(n)}(x,w,t.thousandsSeparator);var k=s(u(s(f[0]),x)),T=g?u(f[1],S):"";return k+(T.match(/\d/)?t.decimalSeparator:"")+T}},t.getFormat=function(e){var t=".",n=e(1).indexOf("100")>=0;t=h(t,e,n,!0);var i=p(t=h(t,e,n,!1),e,n,!1),r=p(t,e,n,!0);return r==="-"+i?i:i+";"+r}},YQNt:function(e,t,n){"use strict";var i=n("1B4V"),r=n("ti0F").type,o=/matrix(3d)?\((.+?)\)/,s=/translate(?:3d)?\((.+?)\)/,a=function(e){return"string"===r(e)&&"%"===e[e.length-1]}
1,l=function(e){var t=e.length?i.data(e.get(0),"dxTranslator"):null;if(!t){var n=(e.css("transform")||d({x:0,y:0})).match(o),r=n&&n[1];n?(n=n[2].split(","),"3d"===r?n=n.slice(12,15):(n.push(0),n=n.slice(4,7))):n=[0,0,0],t={x:parseFloat(n[0]),y:parseFloat(n[1]),z:parseFloat(n[2])},c(e,t)}return t},c=function(e,t){e.length&&i.data(e.get(0),"dxTranslator",t)},u=function(e){e.length&&i.removeData(e.get(0),"dxTranslator")},d=function(e){return e.x=e.x||0,e.y=e.y||0,"translate("+(a(e.x)?e.x:e.x+"px")+", "+(a(e.y)?e.y:e.y+"px")+")"};t.move=function(e,t){var n,i=t.left,r=t.top;void 0===i?(n=l(e)).y=r||0:void 0===r?(n=l(e)).x=i||0:c(e,n={x:i||0,y:r||0,z:0}),e.css({transform:d(n)}),(a(i)||a(r))&&u(e)},t.locate=function(e){var t=l(e);return{left:t.x,top:t.y}},t.clearCache=u,t.parseTranslate=function(e){var t=e.match(s);if(t&&t[1])return t=t[1].split(","),{x:parseFloat(t[0]),y:parseFloat(t[1]),z:parseFloat(t[2])}},t.getTranslate=l,t.getTranslateCss=d,t.resetPosition=function(e,t){var n,i={left:0,top:0,transform:"none"};t&&(n=e.css("transition"),i.transition="none"),e.css(i),u(e),t&&(e.get(0),e.css("transition",n))}},YRex:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%
1d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},"YU+o":function(e,t,n){"use strict";var i={"=":"equal","<>":"notequal","<":"less","<=":"lessorequal",">":"greater",">=":"greaterorequal",notcontains:"doesnotcontain",contains:"contains",startswith:"startswith",endswith:"endswith",isblank:"isblank",isnotblank:"isnotblank"},r={"=":"equal","<>":"notEqual","<":"lessThan","<=":"lessThanOrEqual",">":"greaterThan",">=":"greaterThanOrEqual",startswith:"startsWith",contains:"contains",notcontains:"notContains",endswith:"endsWith",isblank:"isBlank",isnotblank:"isNotBlank",between:"between"};e.exports={getIconByFilterOperation:function(e){return i[e]},getNameByFilterOperation:function(e){return r[e]}}},YW9F:function(e,t,n){"use strict";var i=n("cGv3"),r=i.getWindow(),o=n("D6VQ"),s=n("ti0F"),a=n("v4HY"),l=n("zl3R").each,c=n("XWmc").compare,u=n("1LL4").extend,d=n("czNW"),h=n("LdFP"),p=n("2Fn2"),f=n("5u+F"),m=n("LI0J"),g=n("3IPI"),_=n("9Lc9"),b=n("dYUP"),v=n("imRD"),y={calendar:"calendar",rollers:"rollers",list:"list",native:"native"},w={date:"date",datetime:"datetime",time:"time"},C={Calendar:n("LQDf"),DateView:n("gq2o"),Native:n("fQg5"),CalendarWithTime:n("GrkJ"),List:n("Ymws")},x=_.inherit({_supportedKeys:function(){return u(this.callBase(),this._strategy.supportedKeys())},_setDeprecatedOptions:function(){this.callBase(),u(this._deprecatedOptions,{maxZoomLevel:{since:"18.1",alias:"calendarOptions.maxZoomLevel"},minZoomLevel:{since:"18.1",alias:"calendarOptions.minZoomLevel"}})},_renderButtonContainers:function(){this.callBase.apply(this,arguments),this._strategy.customizeButtons()},_getDefaultOptions:function(){return u(this.callBase(),{type:"date",showAnalogClock:!0,value:null,dateSerializationFormat:void 0,min:void 0,max:void 0,displayFormat:null,interval:30,disabledDates:null,maxZoomLevel:"month",minZoomLevel:"century",pickerType:y.calendar,invalidDateMessage:v.format("dxDateBox-validation-datetime"),dateOutOfRangeMessage:v.format("validation-range"),applyButtonText:v.format("OK"),adaptivityEnabled:!1,calendarOptions:{},useHiddenSubmitElement:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{showPopupTitle:!0}},{device:{platform:"android"},options:{buttonsLocation:"bottom after"}},{device:function(){var e=h.real().platform;return"ios"===e||"android"===e},options:{pickerType:y.native}},{device:function(e){var t=h.real(),n=t.platform;return"generic"===n&&"desktop"!==e.deviceType||"android"===n&&c(t.version,[4,4])<0},options:{pickerType:y.rollers}},{device:{platform:"generic",deviceType:"desktop"},options:{buttonsLocation:"bottom after"}}])},_initOptions:function(e){this._userOptions=u({},e),this.callBase(e),this._updatePickerOptions()},_updatePickerOptions:function(){var e=this.option("pickerType"),t=this.option("type");e!==y.list||t!==w.datetime&&t!==w.date||(e=y.calendar),t===w.time&&e===y.calendar&&(e=y.list),this.option("showDropDownButton","generic"!==h.real().platform||e!==y.native),this._pickerType=e},_init:function(){this._initStrategy(),this.option(u({},this._strategy.getDefaultOptions(),this._userOptions)),delete this._userOptions,this.callBase()},_toLowerCaseFirstLetter:function(e){return e.charAt(0).toLowerCase()+e.substr(1)},_initStrategy:function(){var e=this._getStrategyName(this._getFormatType());this._strategy&&this._strategy.NAME===e||(this._strategy=new(0,C[e])(this))},_getFormatType:function(){var e=this.option("type"),t=/h|m|s/g.test(e),n="";return/d|M|Y/g.test(e)&&(n+=w.date),t&&(n+=w.time),n},_getStrategyName:function(e){var t=this._pickerType;return t===y.rollers?"DateView":t===y.native?"Native":e===w.date?"Calendar":e===w.datetime?"CalendarWithTime":"List"},_initMarkup:function(){this.$element().addClass("dx-datebox"),this.callBase(),this._refreshFormatClass(),this._refreshPickerTypeClass(),this._strategy.renderInputMinMax(this._input())},_render:function(){this.callBase(),this._formatValidationIcon()},_renderDimensions:function(){this.callBase(),this.$element().toggleClass("dx-auto-width",!this.option("width"))},_refreshFormatClass:function(){var e=this.$element();l(w,(function(t,n){e.removeClass("dx-datebox-"+n)})),e.addClass("dx-datebox-"+this.option("type"))},_refreshPickerTypeClass:function(){var e=this.$element();l(y,(function(t,n){e.removeClass("dx-datebox-"+n)})),e.addClass("dx-datebox-"+this._pickerType)},_formatValidationIcon:function(){if(i.hasWindow()){var e=this._input().get(0),t=this.option("rtlEnabled"),n=this._getClearButtonWidth(),o=this._getLongestElementDimensions(),s=parseFloat(r.getComputedStyle(e).width)-n,a=o.width>s,l=e.style;this.$element().toggleClass("dx-show-invalid-badge",!a),a?(void 0===this._storedPadding&&(this._storedPadding=t?o.leftPadding:o.rightPadding),t?l.paddingLeft=0:l.paddingRight=0):t?l.paddingLeft=this._storedPadding+"px":l.paddingRight=this._storedPadding+"px"}},_getClearButtonWidth:function(){var e=0;if(this._isClearButtonVisible()&&""===this._input().val()){var t=this.$element().find(".dx-clear-button-area").get(0);e=parseFloat(r.getComputedStyle(t).width)}return e},_getLongestElementDimensions:function(){var e=this._strategy.getDisplayFormat(this.option("displayFormat")),t=b.format(m.getLongestDate(e,b.getMonthNames(),b.getDayNames()),e),n=this._input(),i=n.get(0),o=a.createTextElementHiddenCopy(n,t),s=void 0!==this._storedPadding?this._storedPadding:0;o.appendTo(this.$element());var l=parseFloat(r.getComputedStyle(o.get(0)).width),c=parseFloat(r.getComputedStyle(i).paddingRight),u=parseFloat(r.getComputedStyle(i).paddingLeft),d=l+u+c+s;return o.remove(),{width:d,leftPadding:u,rightPadding:c}},_attachChildKeyboardEvents:function(){this._strategy.attachKeyboardEvents(this._keyboardProcessor)},_renderPopup:function(){this.callBase(),this._popup._wrapper().addClass("dx-datebox-wrapper"),this._renderPopupWrapper()},_popupConfig:function(){var e=this.callBase();return u(this._strategy.popupConfig(e),{title:this._getPopupTitle(),dragEnabled:!1})},_renderPopupWrapper:function(){if(this._popup){var e=this.$element(),t=u({},w,y);l(t,(function(t,n){e.removeClass("dx-datebox-wrapper-"+n)}).bind(this)),this._popup._wrapper().addClass("dx-datebox-wrapper-"+this.option("type")).addClass("dx-datebox-wrapper-"+this._pickerType)}},_renderPopupContent:function(){this.callBase(),this._strategy.renderPopupContent()},_getFirstPopupElement:function(){return this._strategy.getFirstPopupElement()||this.callBase()},_getLastPopupElement:function(){return this._strategy.getLastPopupElement()||this.callBase()},_popupShowingHandler:function(){this.callBase(),this._strategy.popupShowingHandler()},_popupHiddenHandler:function(){this.callBase(),this._strategy.popupHiddenHandler()},_visibilityChanged:function(e){e&&this._formatValidationIcon()},_clearValueHandler:function(e){this.option("text",""),this.callBase(e)},_readOnlyPropValue:function(){if(this._pickerType===y.rollers)return!0;var e=h.real().platform;return!this._isNativeType()||"ios"!==e&&"android"!==e?this.callBase():this.option("readOnly")},_isClearButtonVisible:function(){return this.callBase()&&!this._isNativeType()},_renderValue:function(){var e=this.dateOption("value");return this.option("text",this._getDisplayedText(e)),this._strategy.renderValue(),this.callBase()},_setSubmitValue:function(){var e=this.dateOption("value"),t=this.option("dateSerializationFormat"),n=m.SUBMIT_FORMATS_MAP[this.option("type")],i=t?g.serializeDate(e,t):m.toStandardDateFormat(e,n);this._getSubmitElement().val(i)},_getDisplayedText:function(e){var t,n=this.option("mode");if("text"===n){var i=this._strategy.getDisplayFormat(this.option("displayFormat"));t=b.format(e,i)}else{var r=this._getFormatByMode(n);t=r?b.format(e,r):m.toStandardDateFormat(e,n)}return t},_getFormatByMode:function(e){return d.inputType(e)?null:m.FORMATS_MAP[e]},_valueChangeEventHandler:function(e){var t=this.option("text"),n=this.dateOption("value");if(t!==this._getDisplayedText(n)){var i=this._getParsedDate(t),r=n||this._getDateByDefault(),o=this.option("type"),s=m.mergeDates(r,i,o);if(this._applyInternalValidation(i&&"time"===o?s:i)){var a=this._getDisplayedText(s);r&&s&&r.getTime()===s.getTime()&&a!==t?this._renderValue():this.dateValue(s,e)}}else this._applyInternalValidation(n)},_getDateByDefault:function(){return this._strategy.useCurrentDateByDefault()&&this._strategy.getDefaultDate()},_getParsedDate:function(e){var t=this._strategy.getDisplayFormat(this.option("displayFormat")),n=this._strategy.getParsedText(e,t);return s.isDefined(n)?n:void 0},_applyInternalValidation:function(e){var t=!!this.option("text")&&null!==e,n=!!e&&s.isDate(e)&&!isNaN(e.getTime()),i=n&&f.dateInRange(e,this.dateOption("min"),this.dateOption("max"),this.option("type")),r=!t&&!e||i,o="";return n?i||(o=this.option("dateOutOfRangeMessage")):o=this.option("invalidDateMessage"),this.option({isValid:r,validationError:r?null:{editorSpecific:!0,message:o}}),r},_applyCustomValidation:function(e){this.validationRequest.fire({editor:this,value:this._serializeDate(e)})},_isValueChanged:function(e){var t=this.dateOption("value");return(t&&t.getTime())!==(e&&e.getTime())},_isTextChanged:function(e){return this.option("text")!==(e&&this._getDisplayedText(e)||"")},_renderProps:function(){this.callBase(),this._input().attr("autocomplete","off")},_renderOpenedState:function(){this._isNativeType()||this.callBase(),this._strategy.isAdaptivityChanged()&&this._refreshStrategy(),this._strategy.renderOpenedState()},_getPopupTitle:function(){var e=this.option("placeholder");if(e)return e;var t=this.option("type");return t===w.time?v.format("dxDateBox-simulatedDataPickerTitleTime"):t===w.date||t===w.datetime?v.format("dxDateBox-simulatedDataPickerTitleDate"):""},_renderPlaceholder:function(){this._popup&&this._popup.option("title",this._getPopupTitle()),this.callBase()},_refreshStrategy:function(){this._strategy.dispose(),this._initStrategy(),this.option(this._strategy.getDefaultOptions()),this._refresh()},_applyButtonHandler:function(e){var t=this._strategy.getValue();this._applyInternalValidation(t)&&this.dateValue(t,e.event),this.callBase()},_dispose:function(){this._strategy&&this._strategy.dispose(),this.callBase()},_isNativeType:function(){return this._pickerType===y.native},_optionChanged:function(e){switch(e.name){case"showClearButton":case"buttons":this.callBase.apply(this,arguments),this._formatValidationIcon();break;case"pickerType":this._updatePickerOptions({pickerType:e.value}),this._refreshStrategy(),this._refreshPickerTypeClass(),this._invalidate();break;case"type":this._updatePickerOptions({format:e.value}),this._refreshStrategy(),this._refreshFormatClass(),this._renderPopupWrapper(),this._formatValidationIcon(),this._updateV
1alue();break;case"placeholder":this._renderPlaceholder();break;case"min":case"max":var t=this.option("isValid");this._applyInternalValidation(this.dateOption("value")),t||this._applyCustomValidation(this.dateOption("value")),this._invalidate();break;case"dateSerializationFormat":case"interval":case"disabledDates":case"calendarOptions":case"minZoomLevel":case"maxZoomLevel":this._invalidate();break;case"displayFormat":this.option("text",this._getDisplayedText(this.dateOption("value"))),this._renderInputValue();break;case"formatWidthCalculator":break;case"closeOnValueChange":var n=e.value?"instantly":"useButtons";this.option("applyValueMode",n);break;case"applyValueMode":this.option("closeOnValueChange","instantly"===e.value),this.callBase.apply(this,arguments);break;case"text":this._strategy.textChangedHandler(e.value),this.callBase.apply(this,arguments);break;case"isValid":this.callBase.apply(this,arguments),this._formatValidationIcon();break;case"showDropDownButton":this._formatValidationIcon(),this.callBase.apply(this,arguments);break;case"readOnly":this.callBase.apply(this,arguments),this._formatValidationIcon();break;case"invalidDateMessage":case"dateOutOfRangeMessage":case"adaptivityEnabled":case"showAnalogClock":break;default:this.callBase.apply(this,arguments)}},_getSerializationFormat:function(){var e=this.option("value");return this.option("dateSerializationFormat")&&p().forceIsoDateParsing?this.option("dateSerializationFormat"):s.isNumeric(e)?"number":s.isString(e)?g.getDateSerializationFormat(e):void 0}
1,_updateValue:function(e){this.callBase(),this._applyInternalValidation(e||this.dateOption("value"))},dateValue:function(e,t){var n=this._isValueChanged(e);return n&&t&&this._saveValueChangeEvent(t),n||(this._isTextChanged(e)?this._updateValue(e):""===this.option("text")&&this._applyCustomValidation(e)),this.dateOption("value",e)},dateOption:function(e,t){if(1===arguments.length)return g.deserializeDate(this.option(e));this.option(e,this._serializeDate(t))},_serializeDate:function(e){var t=this._getSerializationFormat();return g.serializeDate(e,t)},reset:function(){this.callBase(),this._updateValue(this.dateOption("value"))}});o("dxDateBox",x),e.exports=x},YcCt:function(e,t,n){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,r){n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t=t||"&");var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var l=e.length;a>0&&l>a&&(l=a);for(var c=0;c<l;++c){var u,d,h,p,f=e[c].replace(s,"%20"),m=f.indexOf(n);m>=0?(u=f.substr(0,m),d=f.substr(m+1)):(u=f,d=""),h=decodeURIComponent(u),p=decodeURIComponent(d),i(o,h)?Array.isArray(o[h])?o[h].push(p):o[h]=[o[h],p]:o[h]=p}return o}},Yek2:function(e,t,n){"use strict";var i=o(n("FKN7")),r=n("zl3R");function o(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(h,e);var t,n,o,d=(n=h,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(n);if(o){var i=u(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return c(this,e)});function h(){return a(this,h),d.apply(this,arguments)}return(t=[{key:"_getPlainItems",value:function(){return(0,r.map)(this._collectionWidget.option("items"),(function e(t){return t.items?[t].concat((0,r.map)(t.items,e)):t}))}},{key:"_stringifyItem",value:function(e){var t=this;return JSON.stringify(e,(function(e,n){return"template"===e?t._getTemplateString(n):n}))}},{key:"_getTemplateString",value:function(e){return"object"===s(e)?(0,i.default)(e).text():e.toString()}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(h.prototype,t),h}(o(n("Uhe+")).default);e.exports=d},YlYp:function(e,t,n){"use strict";var i=n("PE2r"),r=n("cGv3").getWindow(),o=n("2aEG").imageCreator,s=n("ti0F").isFunction,a=n("1LL4").extend,l=function e(t,n){return t.length<n?e("0"+t,n):t};t.getData=function(e,t){return o.getImageData(e,a({},t,{format:"JPEG"})).then((function(e){var n=function(e,t,n){var r,o,s,a=2*(t.margin||0),c=t.width+a,u=t.height+a,d=(.75*c).toFixed(2),h=(.75*u).toFixed(2),p="%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>>
1\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".replace("_width_",d).replace("_height_",h),f="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".replace("_width_",d).replace("_height_",h),m="6 0 obj\r\n<</CreationDate _date_/Producer(DevExtreme _version_)>>\r\nendobj\r\n".replace("_date_",n).replace("_version_",i),g=p+f+m+("5 0 obj\r\n<</Type/XObject/Subtype/Image/Width _width_/Height _height_/ColorSpace/DeviceRGB/BitsPerComponent 8/Filter/DCTDecode/Length _length_>>stream\r\n".replace("_width_",c).replace("_height_",u).replace("_length_",e.length)+e+"\r\nendstream\r\nendobj\r\n");return g+(o=f.length,s=m.length,"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".replace("_main_",l((r=p.length)+"",10)).replace("_info_",l(r+o+"",10)).replace("_image_",l(r+o+s+"",10)))+"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".replace("_length_",g.length)}(e,t,new Date);return s(r.Blob)?function(e){for(var t=0,n=new Uint8Array(e.length);t<e.length;t++)n[t]=e.charCodeAt(t);return new r.Blob([n.buffer],{type:"application/pdf"})}(n):function(e){return r.btoa(e)}(n)}))}},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("quSY");class r extends i.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},Ymws:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3").getWindow(),o=n("I0Qj"),s=n("l9EA"),a=n("KAnu").noop,l=n("KAnu").ensureDefined,c=n("ti0F").isDate,u=n("1LL4").extend,d=n("LI0J"),h=n("dYUP"),p=n("3IPI"),f={min:new Date(0,0,0,0,0),max:new Date(0,0,0,23,59)},m=s.inherit({NAME:"List",supportedKeys:function(){return{tab:function(){this.option("opened")&&this.close()},space:a,home:a,end:a}},getDefaultOptions:function(){return u(this.callBase(),{applyValueMode:"instantly"})},getDisplayFormat:function(e){return e||"shorttime"},popupConfig:function(e){return u(e,{width:this._getPopupWidth()})},useCurrentDateByDefault:function(){return!0},getDefaultDate:function(){return new Date(null)},_getPopupWidth:function(){return this.dateBox.$element().outerWidth()},popupShowingHandler:function(){this._dimensionChanged()},_renderWidget:function(){this.callBase(),this._refreshItems()},_getWidgetName:function(){return o},_getWidgetOptions:function(){var e=this.dateBox._keyboardProcessor;return{_keyboardProcessor:e?e.attachChildProcessor():null,itemTemplate:this._timeListItemTemplate.bind(this),onItemClick:this._listItemClickHandler.bind(this),tabIndex:-1,onFocusedItemChanged:this._refreshActiveDescendant.bind(this),selectionMode:"single"}},_refreshActiveDescendant:function(e){this.dateBox.setAria("activedescendant",""),this.dateBox.setAria("activedescendant",e.actionValue)},_refreshItems:function(){this._widgetItems=this._getTimeListItems(),this._widget.option("items",this._widgetItems)},renderOpenedState:function(){this._widget&&(this._widget.option("focusedElement",null),this._setSelectedItemsByValue(),this._widget.option("templatesRenderAsynchronously")?this._asyncScrollTimeout=setTimeout(this._scrollToSelectedItem.bind(this)):this._scrollToSelectedItem())},dispose:function(){this.callBase(),clearTimeout(this._asyncScrollTimeout)},_updateValue:function(){this._widget&&(this._refreshItems(),this._setSelectedItemsByValue(),this._scrollToSelectedItem())},_setSelectedItemsByValue:function(){var e=this.dateBoxValue(),t=this._getDateIndex(e);-1===t?this._widget.option("selectedItems",[]):this._widget.option("selectedIndex",t)},_scrollToSelectedItem:function(){this._widget.scrollToItem(this._widget.option("selectedIndex"))},_getDateIndex:function(e){for(var t=-1,n=0,i=this._widgetItems.length;n<i;n++)if(this._areDatesEqual(e,this._widgetItems[n])){t=n;break}return t},_areDatesEqual:function(e,t){return c(e)&&c(t)&&e.getHours()===t.getHours()&&e.getMinutes()===t.getMinutes()},_getTimeListItems:function(){var e=this.dateBox.dateOption("min")||this._getBoundaryDate("min"),t=this.dateBox.dateOption("max")||this._getBoundaryDate("max"),n=this.dateBox.dateOption("value")||null,i=t-e,r=e.getMinutes()%this.dateBox.option("interval");return i<0?[]:(i>d.ONE_DAY&&(i=d.ONE_DAY),n-e<d.ONE_DAY||((e=this._getBoundaryDate("min")).setMinutes(r),n&&Math.abs(n-t)<d.ONE_DAY&&(i=(60*t.getHours()+Math.abs(t.getMinutes()-r))
1*d.ONE_MINUTE)),this._getRangeItems(e,new Date(e),i))},_getRangeItems:function(e,t,n){for(var i=[],r=this.dateBox.option("interval");t-e<=n;)i.push(new Date(t)),t.setMinutes(t.getMinutes()+r);return i},_getBoundaryDate:function(e){var t=f[e],n=new Date(l(this.dateBox.dateOption("value"),0));return new Date(n.getFullYear(),n.getMonth(),n.getDate(),t.getHours(),t.getMinutes())},_timeListItemTemplate:function(e){var t=this.dateBox.option("displayFormat");return h.format(e,this.getDisplayFormat(t))},_listItemClickHandler:function(e){this.dateBox.option("opened",!1);var t=this.dateBox.option("value"),n=e.itemData,i=n.getHours(),r=n.getMinutes(),o=n.getSeconds(),s=n.getFullYear(),a=n.getMonth(),l=n.getDate();t?((t=this.dateBox.option("dateSerializationFormat")?p.deserializeDate(t):new Date(t)).setHours(i),t.setMinutes(r),t.setSeconds(o),t.setFullYear(s),t.setMonth(a),t.setDate(l)):t=new Date(s,a,l,i,r,0,0),this.dateBoxValue(t,e.event)},attachKeyboardEvents:function(e){var t=e.attachChildProcessor();this._widget&&this._widget.option("_keyboardProcessor",t)},_dimensionChanged:function(){this._getPopup()&&this._updatePopupDimensions()},_updatePopupDimensions:function(){this._updatePopupWidth(),this._updatePopupHeight()},_updatePopupWidth:function(){this.dateBox._setPopupOption("width",this._getPopupWidth())},_updatePopupHeight:function(){this.dateBox._setPopupOption("height","auto");var e=this._widget.$element().outerHeight(),t=.45*i(r).height();this.dateBox._setPopupOption("height",Math.min(e,t)),this.dateBox._timeList&&this.dateBox._timeList.updateDimensions()},getParsedText:function(e,t){var n=this.callBase(e,t);return n&&(n=d.mergeDates(n,new Date(null),"date")),n}});e.exports=m},YsXA:function(e,t,n){"use strict";var i=h(n("/4Rl")),r=h(n("/XyT")),o=h(n("orCN")),s=h(n("efHi")),a=h(n("sdgK")),l=h(n("UmEg")),c=h(n("vYpS")),u=n("3KJX"),d=h(n("yjKC"));function h(e){return e&&e.__esModule?e:{default:e}}var p=function(){},f=function(e,t,n){var i=new p;if(void 0===e)throw Error("No element to render on was provided.");return i._renderProperties=(0,a.default)(e),i._encodings=[],i._options=d.default,i._errorHandler=new c.default(i),void 0!==t&&((n=n||{}).format||(n.format=b()),i.options(n)[n.format](t,n).render()),i};for(var m in f.getModule=function(e){return i.default[e]},i.default)i.default.hasOwnProperty(m)&&g(i.default,m);function g(e,t){p.prototype[t]=p.prototype[t.toUpperCase()]=p.prototype[t.toLowerCase()]=function(n,i){var o=this;return o._errorHandler.wrapBarcodeCall((function(){i.text=void 0===i.text?void 0:""+i.text;var s=(0,r.default)(o._options,i);s=(0,l.default)(s);var a=_(n,e[t],s);return o._encodings.push(a),o}))}}function _(e,t,n){var i=new t(e=""+e,n);if(!i.valid())throw new u.InvalidInputException(i.constructor.name,e);var s=i.encode();s=(0,o.default)(s);for(var a=0;a<s.length;a++)s[a].options=(0,r.default)(n,s[a].options);return s}function b(){return i.default.CODE128?"CODE128":Object.keys(i.default)[0]}function v(e,t,n){t=(0,o.default)(t);for(var i=0;i<t.length;i++)t[i].options=(0,r.default)(n,t[i].options),(0,s.default)(t[i].options);(0,s.default)(n),new(0,e.renderer)(e.element,t,n).render(),e.afterRender&&e.afterRender()}p.prototype.options=function(e){return this._options=(0,r.default)(this._options,e),this},p.prototype.blank=function(e){var t=new Array(e+1).join("0");return this._encodings.push({data:t}),this},p.prototype.init=function(){var e;if(this._renderProperties)for(var t in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){var n=(0,r.default)(this._options,(e=this._renderProperties[t]).options);"auto"==n.format&&(n.format=b()),this._errorHandler.wrapBarcodeCall((function(){var t=_(n.value,i.default[n.format.toUpperCase()],n);v(e,t,n)}))}},p.prototype.render=function(){if(!this._renderProperties)throw new u.NoElementException;if(Array.isArray(this._renderProperties))for(var e=0;e<this._renderProperties.length;e++)v(this._renderProperties[e],this._encodings,this._options);else v(this._renderProperties,this._encodings,this._options);return this},p.prototype._defaults=d.default,"undefined"!=typeof window&&(window.JsBarcode=f),"undefined"!=typeof jQuery&&(jQuery.fn.Js
1Barcode=function(e,t){var n=[];return jQuery(this).each((function(){n.push(this)})),f(n,e,t)}),e.exports=f},Yt8F:function(e,t,n){"use strict";var i=l(n("FKN7")),r=l(n("jeLr")),o=l(n("JDOJ")),s=n("1LL4"),a=l(n("tUd6"));function l(e){return e&&e.__esModule?e:{default:e}}var c="".concat(".dx-datagrid-rowsview .dx-row"," > td"),u="".concat(".dx-treelist-rowsview .dx-row"," > td"),d={groupPanel:[".dx-datagrid-group-panel .dx-group-panel-item[tabindex]"],columnHeaders:[".dx-datagrid-headers .dx-header-row > td.dx-datagrid-action",".dx-treelist-headers .dx-header-row > td.dx-treelist-action"],filterRow:[".dx-datagrid-headers .dx-datagrid-filter-row .dx-editor-cell .dx-texteditor-input",".dx-treelist-headers .dx-treelist-filter-row .dx-editor-cell .dx-texteditor-input"],rowsView:["".concat(".dx-row-focused"),"".concat(".dx-datagrid-rowsview .dx-row","[tabindex]"),"".concat(c,"[tabindex]"),"".concat(c),"".concat(".dx-treelist-rowsview .dx-row","[tabindex]"),"".concat(u,"[tabindex]"),"".concat(u)],footer:[".dx-datagrid-total-footer .dx-datagrid-summary-item",".dx-treelist-total-footer .dx-treelist-summary-item"],filterPanel:[".dx-datagrid-filter-panel .dx-icon-filter",".dx-treelist-filter-panel .dx-icon-filter"],pager:[".dx-datagrid-pager [tabindex]",".dx-treelist-pager [tabindex]"]},h=!1,p=!1,f=null;function m(e,t){return(0,i.default)(t).find(e?'[aria-label="'.concat(e,'"][tabindex]'):"[tabindex]")}function g(e){for(var t in e){var n=(0,i.default)(e[t]).first();if(n.length)return n}}function _(){p="visible"===a.default.getDocument().visibilityState}e.exports={subscribeVisibilityChange:function(){r.default.on(a.default.getDocument(),"visibilitychange",_)},unsubscribeVisibilityChange:function(){r.default.off(a.default.getDocument(),"visibilitychange",_)},hiddenFocus:function(e){p=!0,e.focus(),p=!1},registerKeyboardAction:function(t,n,a,l,c,u){if(!n.option("useLegacyKeyboardNavigation")){var d=(0,i.default)(n.element());r.default.on(a,"keydown",l,(function(r){return function(t,n,r,a,l,c){if(!function(e,t,n){var i={event:t,handled:!1};return n?n(i):e._createActionByOption("onKeyDown")(i),i.handled}(n,r.originalEvent,c)){var u=o.default.normalizeKeyName(r);"enter"===u||"space"===u?(function(e,t){var n=(0,i.default)(e),r=n.attr("aria-label"),o=m(r,t.element()).index(n);f=(0,s.extend)({},{ariaLabel:r,index:o},{viewInstance:t})}(r.target,n),a&&a({event:r})):"tab"===u?l.addClass("dx-state-focused"):e.exports.selectView(t,n,r)}}(t,n,r,c,d,u)})),r.default.on(a,"mousedown",l,(function(){h=!0,d.removeClass("dx-state-focused")})),r.default.on(a,"focusin",l,(function(){!h&&!p&&d.addClass("dx-state-focused"),h=!1}))}},restoreFocus:function(e){if(!e.option("useLegacyKeyboardNavigation")&&f){var t=f.viewInstance;if(t){var n=m(f.ariaLabel,t.element()).eq(f.index);f=null,r.default.trigger(n,"focus")}}},selectView:function(e,t,n){var i=o.default.normalizeKeyName(n);if(n.ctrlKey&&("upArrow"===i||"downArrow"===i))for(var s=Object.keys(d),a=s.indexOf(e);a>=0&&a<s.length;){a="upArrow"===i?--a:++a;var l=g(d[s[a]]);if(l&&l.length){l.attr("tabindex",t.option("tabindex")||0),r.default.trigger(l,"focus"),l.removeClass("dx-cell-focus-disabled");break}}},setTabIndex:function(e,t){e.option("useLegacyKeyboardnavigation")||t.attr("tabindex",e.option("tabindex")||0)}}},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},YyLj:function(e,t,n){"use strict";var i=n("IWKj"),r=n("/7L9"),o={},s=i(r.ERROR_MESSAGES,{E4000:"[DevExpress.data]: {0}",E4001:"Unknown aggregating function is detected: '{0}'",E4002:"Unsupported OData protocol version is used",E4003:"Unknown filter operation is used: {0}",E4004:"The thenby() method is called before the sortby() method",E4005:"Store requires a key expression for this operation",E4006:"ArrayStore 'data' option must be an array",E4007:"Compound keys cannot be auto-generated",E4008:"Attempt to insert an item with the a duplicated key",E4009:"Data item cannot be found",E4010:"CustomStore does not support creating queries",E4011:"Custom Store method is not implemented or is not a function: {0}
1",E4012:"Custom Store method returns an invalid value: {0}",E4013:"Local Store requires the 'name' configuration option is specified",E4014:"Unknown data type is specified for ODataStore: {0}",E4015:"Unknown entity name or alias is used: {0}",E4016:"The compileSetter(expr) method is called with 'self' passed as a parameter",E4017:"Keys cannot be modified",E4018:"The server has returned a non-numeric value in a response to an item count request",E4019:"Mixing of group operators inside a single group of filter expression is not allowed",E4020:"Unknown store type is detected: {0}",E4021:"The server response does not provide the totalCount value",E4022:"The server response does not provide the groupCount value",E4023:"Could not parse the following XML: {0}",E4024:"String function {0} cannot be used with the data field {1} of type {2}.",W4000:"Data returned from the server has an incorrect structure",W4001:'The {0} field is listed in both "keyType" and "fieldTypes". The value of "fieldTypes" is used.',W4002:"Data loading has failed for some cells due to the following error: {0}"});e.exports=o={errors:s,errorHandler:null,_errorHandler:function(e){o.errorHandler&&o.errorHandler(e)}}},"Z/aR":function(e,t,n){"use strict";var i=n("FKN7"),r=n("xMpX"),o=n("tUd6"),s=n("jeLr"),a=n("1B4V"),l=n("5qrJ"),c=n("1LL4").extend,u=n("XpgS").inArray,d=n("zl3R").each,h=n("GBv4"),p=n("JDOJ"),f=n("T4bj"),m=n("t2fQ"),g=new(l.inherit({ctor:function(){this._attachHandlers(),this.reset(),this._proxiedCancelHandler=this._cancelHandler.bind(this),this._proxiedAcceptHandler=this._acceptHandler.bind(this)},_attachHandlers:function(){r.add((function(){var e=o.getDocument();s.subscribeGlobal(e,p.addNamespace(f.down,"dxEventManager"),this._pointerDownHandler.bind(this)),s.subscribeGlobal(e,p.addNamespace(f.move,"dxEventManager"),this._pointerMoveHandler.bind(this)),s.subscribeGlobal(e,p.addNamespace([f.up,f.cancel].join(" "),"dxEventManager"),this._pointerUpHandler.bind(this)),s.subscribeGlobal(e,p.addNamespace(m.name,"dxEventManager"),this._mouseWheelHandler.bind(this))}).bind(this))},_eachEmitter:function(e){for(var t=this._activeEmitters||[],n=0;t.length>n;){var i=t[n];if(!1===e(i))break;t[n]===i&&n++}},_applyToEmitters:function(e,t){this._eachEmitter((function(n){n[e].call(n,t)}))},reset:function(){this._eachEmitter(this._proxiedCancelHandler),this._activeEmitters=[]},resetEmitter:function(e){this._proxiedCancelHandler(e)},_pointerDownHandler:function(e){p.isMouseEvent(e)&&e.which>1||this._updateEmitters(e)},_updateEmitters:function(e){this._isSetChanged(e)&&(this._cleanEmitters(e),this._fetchEmitters(e))},_isSetChanged:function(e){var t=this._closestEmitter(e),n=this._emittersSet||[],i=t.length!==n.length;return d(t,(function(e,t){return!(i=i||n[e]!==t)})),this._emittersSet=t,i},_closestEmitter:function(e){var t=this,n=[],r=i(e.target);function o(i,r){r&&r.validatePointers(e)&&r.validate(e)&&(r.addCancelCallback(t._proxiedCancelHandler),r.addAcceptCallback(t._proxiedAcceptHandler),n.push(r))}for(;r.length;){var s=a.data(r.get(0),"dxEmitter")||[];d(s,o),r=r.parent()}return n},_acceptHandler:function(e,t){var n=this;this._eachEmitter((function(i){i!==e&&n._cancelEmitter(i,t)}))},_cancelHandler:function(e,t){this._cancelEmitter(e,t)},_cancelEmitter:function(e,t){var n=this._activeEmitters;t?e.cancel(t):e.reset(),e.removeCancelCallback(),e.removeAcceptCallback();var i=u(e,n);i>-1&&n.splice(i,1)},_cleanEmitters:function(e){this._applyToEmitters("end",e),this.reset(e)},_fetchEmitters:function(e){this._activeEmitters=this._emittersSet.slice(),this._applyToEmitters("start",e)},_pointerMoveHandler:function(e){this._applyToEmitters("move",e)},_pointerUpHandler:function(e){this._updateEmitters(e)},_mouseWheelHandler:function(e){this._allowInterruptionByMouseWheel()&&(e.pointers=[null],this._pointerDownHandler(e),this._adjustWheelEvent(e),this._pointerMoveHandler(e),e.pointers=[],this._pointerUpHandler(e))},_allowInterruptionByMouseWheel:function(){var e=!0;return this._eachEmitter((function(t){return e=t.allowInterruptionByMouseWheel()&&e})),e}
1,_adjustWheelEvent:function(e){var t=null;if(this._eachEmitter((function(n){if(n.gesture){var i=n.getDirection(e);return"horizontal"!==i&&!e.shiftKey||"vertical"!==i&&e.shiftKey?(t=n,!1):void 0}})),t){var n=t.getDirection(e);e["both"===n&&!e.shiftKey||"vertical"===n?"pageY":"pageX"]+=e.delta}},isActive:function(e){var t=!1;return this._eachEmitter((function(n){t=t||n.getElement().is(e)})),t}}));e.exports=function(e){var t=e.emitter,n=e.events[0],i=e.events;d(i,(function(r,o){h(o,{noBubble:!e.bubble,setup:function(e){var i=a.data(e,"dxEmitterSubscription")||{},r=a.data(e,"dxEmitter")||{},s=r[n]||new t(e);i[o]=!0,r[n]=s,a.data(e,"dxEmitter",r),a.data(e,"dxEmitterSubscription",i)},add:function(e,t){a.data(e,"dxEmitter")[n].configure(c({delegateSelector:t.selector},t.data),t.type)},teardown:function(e){var t=a.data(e,"dxEmitterSubscription"),r=a.data(e,"dxEmitter"),s=r[n];delete t[o];var l=!0;d(i,(function(e,n){return l=l&&!t[n]})),l&&(g.isActive(e)&&g.resetEmitter(s),s&&s.dispose(),delete r[n])}})}))}},Z4QM:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZA3g:function(e,t,n){"use strict";var i=C(n("FKN7")),r=C(n("jeLr")),o=C(n("czNW")),s=C(n("uHaw")),a=C(n("KAnu")),l=C(n("ti0F")),c=n("1LL4"),u=n("v4HY"),d=C(n("cGv3")),h=C(n("tUd6")),p=C(n("LdFP")),f=C(n("D6VQ")),m=C(n("TEOj")),g=C(n("gpjr")),_=C(n("JDOJ")),b=C(n("WaTZ")),v=C(n("bMtV")),y=C(n("Ovs1")),w=n("tJvG");function C(e){return e&&e.__esModule?e:{default:e}}var x="dxScrollable",S="vertical",k=function(){return[{device:function(){return!o.default.nativeScrolling},options:{useNative:!1}},{device:function(e){return!p.default.isSimulator()&&"desktop"===p.default.real().deviceType&&"generic"===e.platform},options:{bounceEnabled:!1,scrollByThumb:!0,scrollByContent:o.default.touch,showScrollbar:"onHover"}}]},T=m.default.inherit({_getDefaultOptions:function(){return(0,c.extend)(this.callBase(),{disabled:!1,onScroll:null,direction:S,showScrollbar:"onScroll",useNative:!0,bounceEnabled:!0,scrollByContent:!0,scrollByThumb:!1,onUpdated:null,onStart:null,onEnd:null,onBounce:null,onStop:null,useSimulatedScrollbar:!1,useKeyboard:!0,inertiaEnabled:!0,pushBackValue:0,updateManually:!1})},_defaultOptionsRules:function(){return this.callBase().concat(k(),[{device:function(){return o.default.nativeScrolling&&"android"===p.default.real().platform&&!s.default.mozilla},options:{useSimulatedScrollbar:!0}},{device:function(){return"ios"===p.default.real().platform},options:{pushBackValue:1}}])},_initOptions:function(e){this.callBase(e),"useSimulatedScrollbar"in e||this._setUseSimulatedScrollbar()}
1,_setUseSimulatedScrollbar:function(){this.initialOption("useSimulatedScrollbar")||this.option("useSimulatedScrollbar",!this.option("useNative"))},_init:function(){this.callBase(),this._initScrollableMarkup(),this._locked=!1},_visibilityChanged:function(e){e?(this.update(),this._updateRtlPosition(),this._savedScrollOffset&&this.scrollTo(this._savedScrollOffset),delete this._savedScrollOffset):this._savedScrollOffset=this.scrollOffset()},_initScrollableMarkup:function(){var e=this.$element().addClass("dx-scrollable"),t=this._$container=(0,i.default)("<div>").addClass("dx-scrollable-container"),n=this._$wrapper=(0,i.default)("<div>").addClass("dx-scrollable-wrapper"),o=this._$content=(0,i.default)("<div>").addClass("dx-scrollable-content");h.default.hasDocumentProperty("onbeforeactivate")&&s.default.msie&&s.default.version<12&&r.default.on(e,_.default.addNamespace("beforeactivate",x),(function(e){(0,i.default)(e.target).is(g.default.focusable)||e.preventDefault()})),o.append(e.contents()).appendTo(t),t.appendTo(n),n.appendTo(e)},_dimensionChanged:function(){this.update()},_attachNativeScrollbarsCustomizationCss:function(){"desktop"!==p.default.real().deviceType||d.default.getNavigator().platform.indexOf("Mac")>-1&&s.default.webkit||this.$element().addClass("dx-scrollable-customizable-scrollbars")},_initMarkup:function(){this.callBase(),this._renderDirection()},_render:function(){this._renderStrategy(),this._attachNativeScrollbarsCustomizationCss(),this._attachEventHandlers(),this._renderDisabledState(),this._createActions(),this.update(),this.callBase(),this._updateRtlPosition()},_updateRtlPosition:function(){var e=this;this._updateBounds(),this.option("rtlEnabled")&&this.option("direction")!==S&&a.default.deferUpdate((function(){var t=e._container().get(0),n=t.scrollWidth-t.clientWidth;a.default.deferRender((function(){e.scrollTo({left:n})}))}))},_updateBounds:function(){this._strategy.updateBounds()},_attachEventHandlers:function(){var e=this._strategy,t={getDirection:e.getDirection.bind(e),validate:this._val
1idate.bind(this),isNative:this.option("useNative"),scrollTarget:this._$container};r.default.off(this._$wrapper,"."+x),r.default.on(this._$wrapper,_.default.addNamespace(b.default.init,x),t,this._initHandler.bind(this)),r.default.on(this._$wrapper,_.default.addNamespace(b.default.start,x),e.handleStart.bind(e)),r.default.on(this._$wrapper,_.default.addNamespace(b.default.move,x),e.handleMove.bind(e)),r.default.on(this._$wrapper,_.default.addNamespace(b.default.end,x),e.handleEnd.bind(e)),r.default.on(this._$wrapper,_.default.addNamespace(b.default.cancel,x),e.handleCancel.bind(e)),r.default.on(this._$wrapper,_.default.addNamespace(b.default.stop,x),e.handleStop.bind(e)),r.default.off(this._$container,"."+x),r.default.on(this._$container,_.default.addNamespace("scroll",x),e.handleScroll.bind(e))},_validate:function(e){return!this._isLocked()&&(this._updateIfNeed(),this._strategy.validate(e))},_initHandler:function(){var e=this._strategy;e.handleInit.apply(e,arguments)},_renderDisabledState:function(){this.$element().toggleClass("dx-scrollable-disabled",this.option("disabled")),this.option("disabled")?this._lock():this._unlock()},_renderDirection:function(){this.$element().removeClass("dx-scrollable-horizontal").removeClass("dx-scrollable-"+S).removeClass("dx-scrollable-both").addClass("dx-scrollable-"+this.option("direction"))},_renderStrategy:function(){this._createStrategy(),this._strategy.render(),this.$element().data("dxScrollableStrategy",this._strategy)},_createStrategy:function(){this._strategy=this.option("useNative")?new y.default(this):new v.default.SimulatedStrategy(this)},_createActions:function(){this._strategy&&this._strategy.createActions()},_clean:function(){this._strategy&&this._strategy.dispose()},_optionChanged:function(e){switch(e.name){case"onStart":case"onEnd":case"onStop":case"onUpdated":case"onScroll":case"onBounce":this._createActions();break;case"direction":this._resetInactiveDirection(),this._invalidate();break;case"useNative":this._setUseSimulatedScrollbar(),this._invalidate();break;case"inertiaEnabled":case"scrollByContent":case"scrollByThumb":case"bounceEnabled":case"useKeyboard":case"showScrollbar":case"useSimulatedScrollbar":case"pushBackValue":this._invalidate();break;case"disabled":this._renderDisabledState(),this._strategy&&this._strategy.disabledChanged();break;case"updateManually":break;case"width":this.callBase(e),this._updateRtlPosition();break;default:this.callBase(e)}},_resetInactiveDirection:function(){var e=this._getInactiveProp();if(e&&d.default.hasWindow()){var t=this.scrollOffset();t[e]=0,this.scrollTo(t)}},_getInactiveProp:function(){var e=this.option("direction");return e===S?"left":"horizontal"===e?"top":void 0},_location:function(){return this._strategy.location()},_normalizeLocation:function(e){if(l.default.isPlainObject(e)){var t=a.default.ensureDefined(e.left,e.x),n=a.default.ensureDefined(e.top,e.y);return{left:l.default.isDefined(t)?-t:void 0,top:l.default.isDefined(n)?-n:void 0}}var i=this.option("direction");return{left:i!==S?-e:void 0,top:"horizontal"!==i?-e:void 0}},_isLocked:function(){return this._locked},_lock:function(){this._locked=!0},_unlock:function(){this.option("disabled")||(this._locked=!1)},_isDirection:function(e){var t=this.option("direction");return e===S?"horizontal"!==t:"horizontal"===e?t!==S:t===e},_updateAllowedDirection:function(){var e=this._strategy._allowedDirections();this._allowedDirectionValue=this._isDirection("both")&&e.vertical&&e.horizontal?"both":this._isDirection("horizontal")&&e.horizontal?"horizontal":this._isDirection(S)&&e.vertical?S:null},_allowedDirection:function(){return this._allowedDirectionValue},_container:function(){return this._$container},$content:function(){return this._$content},content:function(){return(0,u.getPublicElement)(this._$content)},scrollOffset:function(){var e=this._location();return{top:-e.top,left:-e.left}},scrollTop:function(){return this.scrollOffset().top},scrollLeft:function(){return this.scrollOffset().left},clientHeight:function(){return this._$container.height()},scrollHeight:function(){return this.$content().outerHeight()-2*this._strategy.verticalOffset()},clientWidth:function(){return this._$container.width()},scrollWidth:function(){return this.$content().outerWidth()},update:function(){if(this._strategy)return(0,w.when)(this._strategy.update()).done((function(){this._updateAllowedDirection()}).bind(this))},scrollBy:function(e){((e=this._normalizeLocation(e)).top||e.left)&&(this._updateIfNeed(),this._strategy.scrollBy(e))},scrollTo:function(e){e=this._normalizeLocation(e),this._updateIfNeed();var t=this._location();this.option("useNative")||(e=this._strategy._applyScaleRatio(e),t=this._strategy._applyScaleRatio(t));var n=this._normalizeLocation({left:t.left-a.default.ensureDefined(e.left,t.left),top:t.top-a.default.ensureDefined(e.top,t.top)});(n.top||n.left)&&this._strategy.scrollBy(n)},scrollToElement:function(e,t){var n=(0,i.default)(e),r=this.$content().find(e).length,o=n.parents(".dx-scrollable").length-n.parents(".dx-scrollable-content").length==0;if(r&&o){var s={top:0,left:0},a=this.option("direction");
1a!==S&&(s.left=this.getScrollElementPosition(n,"horizontal",t)),"horizontal"!==a&&(s.top=this.getScrollElementPosition(n,S,t)),this.scrollTo(s)}},getScrollElementPosition:function(e,t,n){n=n||{};var i=t===S,r=(i?n.top:n.left)||0,o=(i?n.bottom:n.right)||0,s=i?this._strategy.verticalOffset():0,a=this._elementPositionRelativeToContent(e,i?"top":"left")-s,l=e[i?"outerHeight":"outerWidth"](),c=i?this.scrollTop():this.scrollLeft(),u=c-a+r,d=c-a-l+(i?this.clientHeight():this.clientWidth())-o;return u<=0&&d>=0?c:c-(Math.abs(u)>Math.abs(d)?d:u)},_elementPositionRelativeToContent:function(e,t){for(var n=0;this._hasScrollContent(e);)n+=e.position()[t],e=e.offsetParent();return n},_hasScrollContent:function(e){var t=this.$content();return e.closest(t).length&&!e.is(t)},_updateIfNeed:function(){this.option("updateManually")||this.update()}});(0,f.default)(x,T),e.exports=T,e.exports.deviceDependentOptions=k},ZAMP:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZOsW:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ge})),n.d(t,"b",(function(){return qe}));var i=n("fXoL"),r=n("3Pt+"),o=n("l7GE"),s=n("ZUHj");function a(e){return t=>t.lift(new l(e))}class l{constructor(e){this.notifier=e}call(e,t){const n=new c(e),i=Object(s.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class c extends o.a{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}var u=n("D0XW");class d{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new h(e,this.durationSelector))}}class h extends o.a{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const i=Object(s.a)(this,n);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,n,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var p=n("PqYM"),f=n("JX91"),m=n("vkgz"),g=n("Kj3r"),_=n("pLZG"),b=n("lJxs"),v=n("eNwd");let y=1;const w=(()=>Promise.resolve())(),C={};function x(e){return e in C&&(delete C[e],!0)}const S={setImmediate(e){const t=y++;return C[t]=!0,w.then(()=>x(t)&&e()),t},clearImmediate(e){x(e)}};var k=n("3N8a");class T extends k.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=S.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(S.clearImmediate(t),e.scheduled=void 0)}}var E=n("IjjT");class I extends E.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i<r&&(e=t.shift()));if(this.active=!1,n){for(;++i<r&&(e=t.shift());)e.unsubscribe();throw n}}}const D=new I(T);var M=n("XNiG"),O=n("xgIS"),R=n("VRyK"),L=n("ofXK");const A=["content"],P=["scroll"],F=["padding"],B=function(e){return{searchTerm:e}};function H(e,t){if(1&e&&(i.Rb(0,"div",6),i.Nb(1,7),i.Qb()),2&e){const e=i.ec();i.zb(1),i.kc("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",i.pc(2,B,e.filterValue))}}function V(e,t){if(1&e&&(i.Rb(0,"div",8),i.Nb(1,7),i.Qb()),2&e){const e=i.ec();i.zb(1),i.kc("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",i.pc(2,B,e.filterValue))}}const N=["*"],z=["searchInput"];function j(e,t){if(1&e){const e=i.Sb();i.Rb(0,"span",15),i.ac("click",(function(){i.wc(e);const t=i.ec().$implicit;return i.ec(2).unselect(t)})),i.Ec(1,"\xd7"),i.Qb(),i.Mb(2,"span",16)}if(2&e){const e=i.ec().$implicit,t=i.ec(2);i.zb(2),i.kc("ngItemLabel",e.label)("escape",t.escapeHTML)}}function Y(e,t){}const W=function(e,t,n){return{item:e,clear:t,label:n}};function Q(e,t){if(1&e&&(i.Rb(0,"div",12),i.Cc(1,j,3,2,"ng-template",null,13,i.Dc),i.Cc(3,Y,0,0,"ng-template",14),i.Qb()),2&e){const e=t.$implicit,n=i.uc(2),r=i.ec(2);i.Db("ng-value-disabled",e.disabled),i.zb(3),i.kc("ngTemplateOutlet",r.labelTemplate||n)("ngTemplateOutletContext",i.rc(4,W,e.value,r.clearItem,e.label))}}function $(e,t){if(1&e&&(i.Pb(0),i.Cc(1,Q,4,8,"div",11),i.Ob()),2&e){const e=i.ec();i.zb(1),i.kc("ngForOf",e.selectedItems)("ngForTrackBy",e.trackByOption)}}function G(e,t){}const K=function(e,t){return{items:e,clear:t}};function U(e,t){if(1&e&&i.Cc(0,G,0,0,"ng-template",14),2&e){const e=i.ec();i.kc("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",i.qc(2,K,e.selectedValues,e.clearItem))}}function q(e,t){1&e&&i.Mb(0,"div",19)}function J(e,t){}function X(e,t){if(1&e&&(i.Pb(0),i.Cc(1,q,1,0,"ng-template",null,17,i.Dc),i.Cc(3,J,0,0,"ng-template",18),i.Ob()),2&e){const e=i.uc(2),t=i.ec();i.zb(3),i.kc("ngTemplateOutlet",t.loadingSpinnerTemplate||e)}}function Z(e,t){if(1&e&&(i.Rb(0,"span",20),i.Rb(1,"span",21),i.Ec(2,"\xd7"),i.Qb(),i.Qb()),2&e){const e=i.ec();i.lc("title",e.clearAllText)}}function ee(e,t){if(1&e&&i.Mb(0,"span",27),2&e){const e=i.ec().$implicit,t=i.ec(2);i.kc("ngItemLabel",e.label)("escape",t.escapeHTML)}}function te(e,t){}const ne=function(e,t,n,i){return{item:e,item$:t,index:n,searchTerm:i}};function ie(e,t){if(1&e){const e=i.Sb();i.Rb(0,"div",25),i.ac("click",(function(){i.wc(e);
1const n=t.$implicit;return i.ec(2).toggleItem(n)}))("mouseover",(function(){i.wc(e);const n=t.$implicit;return i.ec(2).onItemHover(n)})),i.Cc(1,ee,1,2,"ng-template",null,26,i.Dc),i.Cc(3,te,0,0,"ng-template",14),i.Qb()}if(2&e){const e=t.$implicit,n=i.uc(2),r=i.ec(2);i.Db("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===r.itemsList.markedItem),i.Ab("role",e.children?"group":"option")("aria-selected",e.selected)("id",null==e?null:e.htmlId),i.zb(3),i.kc("ngTemplateOutlet",e.children?r.optgroupTemplate||n:r.optionTemplate||n)("ngTemplateOutletContext",i.sc(17,ne,e.value,e,e.index,r.searchTerm))}}function re(e,t){if(1&e&&(i.Rb(0,"span"),i.Rb(1,"span",30),i.Ec(2),i.Qb(),i.Ec(3),i.Qb()),2&e){const e=i.ec(3);i.zb(2),i.Fc(e.addTagText),i.zb(1),i.Gc('"',e.searchTerm,'"')}}function oe(e,t){}function se(e,t){if(1&e){const e=i.Sb();i.Rb(0,"div",28),i.ac("mouseover",(function(){return i.wc(e),i.ec(2).itemsList.unmarkItem()}))("click",(function(){return i.wc(e),i.ec(2).selectTag()})),i.Cc(1,re,4,2,"ng-template",null,29,i.Dc),i.Cc(3,oe,0,0,"ng-template",14),i.Qb()}if(2&e){const e=i.uc(2),t=i.ec(2);i.Db("ng-option-marked",!t.itemsList.markedItem),i.zb(3),i.kc("ngTemplateOutlet",t.tagTemplate||e)("ngTemplateOutletContext",i.pc(4,B,t.searchTerm))}}function ae(e,t){if(1&e&&(i.Rb(0,"div",32),i.Ec(1),i.Qb()),2&e){const e=i.ec(3);i.zb(1),i.Fc(e.notFoundText)}}function le(e,t){}function ce(e,t){if(1&e&&(i.Pb(0),i.Cc(1,ae,2,1,"ng-template",null,31,i.Dc),i.Cc(3,le,0,0,"ng-template",14),i.Ob()),2&e){const e=i.uc(2),t=i.ec(2);i.zb(3),i.kc("ngTemplateOutlet",t.notFoundTemplate||e)("ngTemplateOutletContext",i.pc(2,B,t.searchTerm))}}function ue(e,t){if(1&e&&(i.Rb(0,"div",32),i.Ec(1),i.Qb()),2&e){const e=i.ec(3);i.zb(1),i.Fc(e.typeToSearchText)}}function de(e,t){}function he(e,t){if(1&e&&(i.Pb(0),i.Cc(1,ue,2,1,"ng-template",null,33,i.Dc),i.Cc(3,de,0,0,"ng-template",18),i.Ob()),2&e){const e=i.uc(2),t=i.ec(2);i.zb(3),i.kc("ngTemplateOutlet",t.typeToSearchTemplate||e)}}function pe(e,t){if(1&e&&(i.Rb(0,"div",32),i.Ec(1),i.Qb()),2&e){const e=i.ec(3);i.zb(1),i.Fc(e.loadingText)}}function fe(e,t){}function me(e,t){if(1&e&&(i.Pb(0),i.Cc(1,pe,2,1,"ng-template",null,34,i.Dc),i.Cc(3,fe,0,0,"ng-template",14),i.Ob()),2&e){const e=i.uc(2),t=i.ec(2);i.zb(3),i.kc("ngTemplateOutlet",t.loadingTextTemplate||e)("ngTemplateOutletContext",i.pc(2,B,t.searchTerm))}}function ge(e,t){if(1&e){const e=i.Sb();i.Rb(0,"ng-dropdown-panel",22),i.ac("update",(function(t){return i.wc(e),i.ec().viewPortItems=t}))("scroll",(function(t){return i.wc(e),i.ec().scroll.emit(t)}))("scrollToEnd",(function(t){return i.wc(e),i.ec().scrollToEnd.emit(t)}))("outsideClick",(function(){return i.wc(e),i.ec().close()})),i.Pb(1),i.Cc(2,ie,4,22,"div",23),i.Cc(3,se,4,6,"div",24),i.Ob(),i.Cc(4,ce,4,4,"ng-container",3),i.Cc(5,he,4,1,"ng-container",3),i.Cc(6,me,4,4,"ng-container",3),i.Qb()}if(2&e){const e=i.ec();i.Db("ng-select-multiple",e.multiple),i.kc("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.classes:null)("id",e.dropdownId),i.zb(2),i.kc("ngForOf",e.viewPortItems)("ngForTrackBy",e.trackByOption),i.zb(1),i.kc("ngIf",e.showAddTag),i.zb(1),i.kc("ngIf",e.showNoItemsFound()),i.zb(1),i.kc("ngIf",e.showTypeToSearch()),i.zb(1),i.kc("ngIf",e.loading&&0===e.itemsList.filteredItems.length)}}const _e=/[&<>"']/g,be=RegExp(_e.source),ve={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function ye(e){return null!=e}function we(e){return"object"==typeof e&&ye(e)}function Ce(e){return e instanceof Function}let xe=(()=>{class e{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){var t;this.element.nativeElement.innerHTML=this.escape?(t=this.ngItemLabel)&&be.test(t)?t.replace(_e,e=>ve[e]):t:this.ngItemLabel}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.l))},e.\u0275dir=i.Gb({type:e,selectors:[["","ngItemLabel",""]],inputs:{escape:"escape",ngItemLabel:"ngItemLabel"},features:[i.xb]}),e})(),Se=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-option-tmp",""]]}),e})(),ke=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-optgroup-tmp",""]]}),e})(),Te=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-label-tmp",""]]}),e})(),Ee=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-multi-label-tmp",""]]}),e})(),Ie=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-header-tmp",""]]}),e})(),De=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-footer-tmp",""]]}),e})(),Me=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-notfound-tmp",""]]}),e})(),Oe=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-typetosearch-tmp",""]]}),e})(),Re=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-loadingtext-tmp",""]]}),e})(),Le=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-tag-tmp",""]]}),e})(),Ae=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ng-loadingspinner-tmp",""]]}),e})(),Pe=(()=>{class e{warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Hb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();function Fe(){return"axxxxxxxxxxx".replace(/[x]/g,(function(e){return(16*Math.random()|0).toString(16)}))}const Be
vendor: 10,560 bytes, line 1
1={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z"
1,"\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};function He(e){return e.replace(/[^\u0000-\u007E]/g,e=>Be[e]||e)}class Ve{constructor(e,t){this._ngSelect=e,this._selectionModel=t,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let e=this.selectedItems.length-1;for(;e>=0;e--){let t=this.selectedItems[e];if(!t.disabled)return t}return null}setItems(e){this._items=e.map((e,t)=>this.mapItem(e,t)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(e){if(e.selected||this.maxItemsSelected)return;const t=this._ngSelect.multiple;t||this.clearSelected(),this._selectionModel.select(e,t,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(e)}unselect(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&ye(e.index)&&this._ngSelect.multiple&&this._showSelected(e))}findItem(e){let t;return t=this._ngSelect.compareWith?t=>this._ngSelect.compareWith(t.value,e):this._ngSelect.bindValue?t=>!t.children&&this.resolveNested(t.value,this._ngSelect.bindValue)===e:t=>t.value===e||!t.children&&t.label&&t.label===this.resolveNested(e,this._ngSelect.bindLabel),this._items.find(e=>t(e))}addItem(e){const t=this.mapItem(e,this._items.length);return this._items.push(t),this._filteredItems.push(t),t}clearSelected(e=!1){this._selectionModel.clear(e),this._items.forEach(t=>{t.selected=e&&t.selected&&t.disabled,t.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(e){return e=He(e).toLocaleLowerCase(),this.filteredItems.find(t=>He(t.label).toLocaleLowerCase().substr(0,e.length)===e)}filter(e){if(!e)return void this.resetFilteredItems();this._filteredItems=[],e=this._ngSelect.searchFn?e:He(e).toLocaleLowerCase();const t=this._ngSelect.searchFn||this._defaultSearchFn,n=this._ngSelect.hideSelected;for(const i of Array.from(this._groups.keys())){const r=[];for(const o of this._groups.get(i))n&&(o.parent&&o.parent.selected||o.selected)||t(e,this._ngSelect.searchFn?o.value:o)&&r.push(o);if(r.length>0){const[e]=r.slice(-1);if(e.parent){const t=this._items.find(t=>t===e.parent);this._filteredItems.push(t)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(e=>!e.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(e){this._markedIndex=this._filteredItems.indexOf(e)}markSelectedOrDefault(e){if(0===this._filteredItems.length)return;const t=this._getLastMarkedIndex();this._markedIndex=t>-1?t:e?this.filteredItems.findIndex(e=>!e.disabled):-1}resolveNested(e,t){if(!we(e))return e;if(-1===t.indexOf("."))return e[t];{let n=t.split("."),i=e;for(let e=0,t=n.length;e<t;++e){if(null==i)return null;i=i[n[e]]}return i}}mapItem(e,t){const n=ye(e.$ngOptionLabel)?e.$ngOptionLabel:this.resolveNested(e,this._ngSelect.bindLabel),i=ye(e.$ngOptionValue)?e.$ngOptionValue:e;return{index:t,label:ye(n)?n.toString():"",value:i,disabled:e.disabled,htmlId:`${this._ngSelect.dropdownId}-${t}`}}mapSelectedItems(){const e=this._ngSelect.multiple;for(const t of this.selectedItems){const n=this._ngSelect.bindValue?this.resolveNested(t.value,this._ngSelect.bindValue):t.value,i=ye(n)?this.findItem(n):null;this._selectionModel.unselect(t,e),this._selectionModel.select(i||t,e,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>-1===this.selectedItems.indexOf(e)))}_showSelected(e){if(this._filteredItems.push(e),e.parent){const t=e.parent;this._filteredItems.find(e=>e===t)||this._filteredItems.push(t)}else if(e.children)for(const t of e.children)t.selected=!1,this._filteredItems.push(t);this._filteredItems=[...this._filteredItems.sort((e,t)=>
1e.index-t.index)]}_hideSelected(e){this._filteredItems=this._filteredItems.filter(t=>t!==e),e.parent?e.parent.children.every(e=>e.selected)&&(this._filteredItems=this._filteredItems.filter(t=>t!==e.parent)):e.children&&(this._filteredItems=this.filteredItems.filter(t=>t.parent!==e))}_defaultSearchFn(e,t){return He(t.label).toLocaleLowerCase().indexOf(e)>-1}_getNextItemIndex(e){return e>0?this._markedIndex===this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(e){0===this._filteredItems.length||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected)return-1;if(this._markedIndex>-1&&void 0===this.markedItem)return-1;const e=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&e<0?-1:Math.max(this.markedIndex,e)}_groupBy(e,t){const n=new Map;if(0===e.length)return n;if(Array.isArray(e[0].value[t])){for(const i of e){const e=(i.value[t]||[]).map((e,t)=>this.mapItem(e,t));n.set(i,e)}return n}const i=Ce(this._ngSelect.groupBy),r=e=>{let n=i?t(e.value):e.value[t];return ye(n)?n:void 0};for(const o of e){let e=r(o);const t=n.get(e);t?t.push(o):n.set(e,[o])}return n}_flatten(e){const t=Ce(this._ngSelect.groupBy),n=[];for(const i of Array.from(e.keys())){let r=n.length;if(void 0===i){const t=e.get(void 0)||[];n.push(...t.map(e=>Object.assign(Object.assign({},e),{index:r++})));continue}const o=we(i),s={label:o?"":String(i),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:Fe()},a=t?this._ngSelect.bindLabel:this._ngSelect.groupBy,l=this._ngSelect.groupValue||(()=>o?i.value:{[a]:i}),c=e.get(i).map(e=>(e.parent=s,e.children=void 0,e.index=r++,e));s.children=c,s.value=l(i,c.map(e=>e.value)),n.push(s),n.push(...c)}return n}}const Ne=function(){var e={Tab:9,Enter:13,Esc:27,Space:32,ArrowUp:38,ArrowDown:40,Backspace:8};return e[e.Tab]="Tab",e[e.Enter]="Enter",e[e.Esc]="Esc",e[e.Space]="Space",e[e.ArrowUp]="ArrowUp",e[e.ArrowDown]="ArrowDown",e[e.Backspace]="Backspace",e}();let ze=(()=>{class e{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,t,n){const i=this._dimensions,r=i.itemHeight*t,o=Math.max(0,e)/r*t;let s=Math.min(t,Math.ceil(o)+(i.itemsPerViewport+1));const a=Math.max(0,s-i.itemsPerViewport);let l=Math.min(a,Math.floor(o)),c=i.itemHeight*Math.ceil(l)-i.itemHeight*Math.min(l,n);return c=isNaN(c)?0:c,l=isNaN(l)?-1:l,s=isNaN(s)?-1:s,l-=n,l=Math.max(0,l),s+=n,s=Math.min(t,s),{topPadding:c,scrollHeight:r,start:l,end:s}}setDimensions(e,t){const n=Math.max(1,Math.floor(t/e));this._dimensions={itemHeight:e,panelHeight:t,itemsPerViewport:n}}getScrollTo(e,t,n){const{panelHeight:i}=this.dimensions,r=e+t,o=n+i;return i>=r&&n===e?null:r>o?n+r-o:e<=n?e:null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();const je="undefined"!=typeof requestAnimationFrame?v.a:D;let Ye=(()=>{class e{constructor(e,t,n,r,o){this._renderer=e,this._zone=t,this._panelService=n,this._document=o,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new i.n,this.scroll=new i.n,this.scrollToEnd=new i.n,this.outsideClick=new i.n,this._destroy$=new M.a,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:e,panelHeight:t}=this._panelService.dimensions,n=this.markedItem.index*e;return t>n?0:n}return 0}handleMousedown(e){"INPUT"!==e.target.tagName&&e.preventDefault()}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown()}ngOnChanges(e){if(e.items){const t=e.items;this._onItemsChange(t.currentValue,t.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,t=!1){if(!e)return;const n=this.items.indexOf(e);if(n<0||n>=this.itemsLength)return;let i;if(this.virtualScroll){const e=this._panelService.dimensions.itemHeight;i=this._panelService.getScrollTo(n*e,e,this._lastScrollPosition)}else{const n=this._dropdown.querySelector(`#${e.htmlId}`);i=this._panelService.getScrollTo(n.offsetTop,n.clientHeight,t?n.offsetTop:this._lastScrollPosition)}ye(i)&&(this._scrollablePanel.scrollTop=i)}scrollToTag(){const e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){const e=this._parent.getBoundingClientRect(),t=this._select.getBoundingClientRect();this._setOffset(e,t)}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),"top"===this._currentPosition?(this._renderer.addClass(this._dropdown,"ng-select-top"),this._renderer.removeClass(this._dropdown,"ng-select-bottom"),this._renderer.addClass(this._select,"ng-select-top"),this._renderer.removeClass(this._select,"ng-select-bottom")):(this._renderer.addClass(this._dropdown,"ng-select-bottom"),this._renderer.removeClass(this._dropdown,"ng-select-top"),this._renderer.addClass(this._select,"ng-select-bottom"),this._renderer.removeClass(this._select,"ng-select-top")),this.appendTo&&this._updatePosition(),this._dropdown.style.opacity="1"}_handleScroll(){this._zone.runOutsideAngular(()=>{Object(O.a)(this.scrollElementRef.nativeElement,"scroll").pipe(a(this._destroy$),function(e,t=u.a){return n=()=>Object(p.a)(e,t),function(e){return e.lift(new d(n))};var n}(0,je)).subscribe(e=>this._onContentScrolled(e.target.scrollTop))})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{Object(R.a)(Object(O.a)(this._document,"touchstart",{capture:!0}),Object(O.a)(this._document,"mousedown",{capture:!0})).pipe(a(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;const t=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&t&&t[0]&&this._select.contains(t[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,t){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(t):this._updateItems(t)}_updateItems(e){this.update.emit(this.items),!1!==e&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;const t=this._panelService.calculateItems(e=e||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(t.scrollHeight),this._contentPanel.style.transform=`translateY(${t.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(t.start,t.end)),this.scroll.emit({start:t.start,end:t.end})}),ye(e)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{const t=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;return this._virtualPadding.style.height=`${t*this.itemsLength}px`,this._panelService.setDimensions(t,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(e){this._scrollToEndFired||0===e||e+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if("auto"!==this.position)return this.position;const t=this._select.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop;return t.top+window.pageYOffset+t.height+e.getBoundingClientRect().height>n+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._parent.appendChild(this._dropdown)}}_updatePosition(){const e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect(),n=e.left-t.left;this._setOffset(t,e),this._dropdown.style.left=n+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_setOffset(e,t){const n=t.height;"top"===this._currentPosition?(this._dropdown.style.bottom=e.bottom-t.bottom+n+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=t.top-e.top+n+"px",this._dropdown.style.bottom="auto")}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.D),i.Lb(i.z),i.Lb(ze),i.Lb(i.l),i.Lb(L.c,8))},e.\u0275cmp=i.Fb({type:e,selectors:[["ng-dropdown-panel"]],viewQuery:function(e,t){var n;1&e&&(i.Ac(A,!0,i.l),i.Ac(P,!0,i.l),i.Ac(F,!0,i.l)),2&e&&(i.tc(n=i.bc())&&(t.contentElementRef=n.first),i.tc(n=i.bc())&&(t.scrollElementRef=n.first),i.tc(n=i.bc())&&(t.paddingElementRef=n.first))},hostBindings:function(e,t){1&e&&i.ac("mousedown",(function(e){return t.handleMousedown(e)}))},inputs:{items:"items",position:"position",virtualScroll:"virtualScroll",filterValue:"filterValue",markedItem:"markedItem",appendTo:"appendTo",bufferAmount:"bufferAmount",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[i.xb],ngContentSelectors:N,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(e,t){1&e&&(i.jc(),i.Cc(0,H,2,4,"div",0),i.Rb(1,"div",1,2),i.Mb(3,"div",null,3),i.Rb(5,"div",null,4),i.ic(7),i.Qb(),i.Qb(),i.Cc(8,V,2,4,"div",5)),2&e&&(i.kc("ngIf",t.headerTemplate),i.zb(3),i.Db("total-padding",t.virtualScroll),i.zb(2),i.Db("scrollable-content",t.virtualScroll&&t.items.length),i.zb(3),i.kc("ngIf",t.footerTemplate))},directives:[L.l,L.n],encapsulation:2,changeDetection:0}),e})(),We=(()=>{class e{constructor(e){this.elementRef=e,this.stateChange$=new M.a,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=this._isDisabled(e)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(e){return null!=e&&"false"!==`${e}`}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.l))},e.\u0275cmp=i.Fb({type:e,selectors:[["ng-option"]],inputs:{disabled:"disabled",value:"value"},features:[i.xb],ngContentSelectors:N,decls:1,vars:0,template:function(e,t){1&e&&(i.jc(),i.ic(0))},encapsulation:2,changeDetection:0}),e})(),Qe=(()=>{class e{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Hb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const $e=new i.q("ng-select-selection-model");let Ge=(()=>{class e{constructor(e,t,n,r,o,s,a){this.classes=e,this.autoFocus=t,this._cd=s,this._console=a,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=e=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=ne
1w i.n,this.focusEvent=new i.n,this.changeEvent=new i.n,this.openEvent=new i.n,this.closeEvent=new i.n,this.searchEvent=new i.n,this.clearEvent=new i.n,this.addEvent=new i.n,this.removeEvent=new i.n,this.scroll=new i.n,this.scrollToEnd=new i.n,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Fe(),this.escapeHTML=!0,this.useDefaultClass=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new M.a,this._keyPress$=new M.a,this._onChange=e=>{},this._onTouched=()=>{},this.clearItem=e=>{const t=this.selectedItems.find(t=>t.value===e);this.unselect(t)},this.trackByOption=(e,t)=>this.trackByFn?this.trackByFn(t.value):t,this._mergeGlobalConfig(n),this.itemsList=new Ve(this,r()),this.element=o.nativeElement}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e}get compareWith(){return this._compareWith}set compareWith(e){if(!Ce(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return ye(this._clearSearchOnAdd)?this._clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=ye(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),ye(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(Ne[e.which]){if(!1===this.keyDownFn(e))return;this.handleKeyCode(e)}else e.key&&1===e.key.length&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){switch(e.which){case Ne.ArrowDown:this._handleArrowDown(e);break;case Ne.ArrowUp:this._handleArrowUp(e);break;case Ne.Space:this._handleSpace(e);break;case Ne.Enter:this._handleEnter(e);break;case Ne.Tab:this._handleTab(e);break;case Ne.Esc:this.close(),e.preventDefault();break;case Ne.Backspace:this._handleBackspace()}}handleMousedown(e){const t=e.target;"INPUT"!==t.tagName&&e.preventDefault(),t.classList.contains("ng-clear-wrapper")?this.handleClearClick():t.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():t.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this.itemsList.maxItemsSelected||this._manualOpen||(this._isTypeahead||this.addTag||!this.itemsList.noItemsToSelect)&&(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){this.isOpen&&!this._manualOpen&&(this.isOpen=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.multiple&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e))}selectTag(){let e;e=Ce(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const t=e=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(e,null):this.itemsList.addItem(e);e instanceof Promise?e.then(e=>this.select(t(e))).catch(()=>{}):e&&this.select(t(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}
1get showAddTag(){if(!this._validTerm)return!1;const e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(t=>t.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(t=>t.label.toLowerCase()===e))&&!this.loading}showNoItemsFound(){const e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,this.searchWhileComposing||this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(e=>e.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),this.isOpen||this.disabled||this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){const t=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=ye(t)?!we(t):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&ye(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const e=e=>{this.items=e.map(e=>({$ngOptionValue:e.value,$ngOptionLabel:e.elementRef.nativeElement.innerHTML,disabled:e.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},t=()=>{const e=Object(R.a)(this.ngOptions.changes,this._destroy$);Object(R.a)(...this.ngOptions.map(e=>e.stateChange$)).pipe(a(e)).subscribe(e=>{const t=this.itemsList.findItem(e.value);t.disabled=e.disabled,t.label=e.label||t.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Object(f.a)(this.ngOptions),a(this._destroy$)).subscribe(n=>{this.bindLabel=this._defaultLabel,e(n),t()})}_isValidWriteValue(e){if(!ye(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;const t=e=>!(!ye(this.compareWith)&&we(e)&&this.bindValue&&(this._console.warn(`Binding object(${JSON.stringify(e)}) with bindValue is not allowed.`),1));return this.multiple?Array.isArray(e)?e.every(e=>t(e)):(this._console.warn("Multiple select ngModel should be array."),!1):t(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;const t=e=>{let t=this.itemsList.findItem(e);if(t)this.itemsList.select(t);else{const n=we(e),i=!n&&!this.bindValue;n||i?this.itemsList.select(this.itemsList.mapItem(e,null)):this.bindValue&&(t={[this.bindLabel]:null,[this.bindValue]:e},this.itemsList.select(this.itemsList.mapItem(t,null)))}};this.multiple?e.forEach(e=>t(e)):t(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(a(this._destroy$),Object(m.a)(e=>this._pressedKeys.push(e)),Object(g.a)(200),Object(_.a)(()=>this._pressedKeys.length>0),Object(b.a)(()=>this._pressedKeys.join(""))).subscribe(e=>{const t=this.itemsList.findByLabel(e);t&&(this.isOpen?(this.itemsList.markItem(t),this._cd.markForCheck()):this.select(t)),this._pressedKeys=[]})}_setInputAttributes(){const e=this.searchInput.nativeElement,t=Object.assign({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(const n of Object.keys(t))e.setAttribute(n,t[n])}_updateNgModel(){const e=[];for(const n of this.selectedItems)if(this.bindValue){let t=null;t=n.children?n.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(n.value,this.bindValue),e.push(t)}else e.push(n.value);const t=this.selectedItems.map(e=>e.value);this.multiple?(this._onChange(e),this.changeEvent.emit(t)):(this._onChange(ye(e[0])?e[0]:null),this.changeEvent.emit(t[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){(!1!==this.isOpen||this.addTag)&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close())}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){const t=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(t<0||t===this.itemsList.filteredItems.length)}_handleBackspace(){!this.searchTerm&&this.clearable&&this.clearOnBackspace&&this.hasValue&&(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=ye(this.virtualScroll)?this.virtualScroll:!!ye(e.disableVirtualScroll)&&!e.disableVirtualScroll,this.openOnEnter=ye(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.a
1ppendTo,this.bindValue=this.bindValue||e.bindValue,this.appearance=this.appearance||e.appearance}}return e.\u0275fac=function(t){return new(t||e)(i.Xb("class"),i.Xb("autofocus"),i.Lb(Qe),i.Lb($e),i.Lb(i.l),i.Lb(i.h),i.Lb(Pe))},e.\u0275cmp=i.Fb({type:e,selectors:[["ng-select"]],contentQueries:function(e,t,n){var r;1&e&&(i.Eb(n,Se,!0,i.K),i.Eb(n,ke,!0,i.K),i.Eb(n,Te,!0,i.K),i.Eb(n,Ee,!0,i.K),i.Eb(n,Ie,!0,i.K),i.Eb(n,De,!0,i.K),i.Eb(n,Me,!0,i.K),i.Eb(n,Oe,!0,i.K),i.Eb(n,Re,!0,i.K),i.Eb(n,Le,!0,i.K),i.Eb(n,Ae,!0,i.K),i.Eb(n,We,!0)),2&e&&(i.tc(r=i.bc())&&(t.optionTemplate=r.first),i.tc(r=i.bc())&&(t.optgroupTemplate=r.first),i.tc(r=i.bc())&&(t.labelTemplate=r.first),i.tc(r=i.bc())&&(t.multiLabelTemplate=r.first),i.tc(r=i.bc())&&(t.headerTemplate=r.first),i.tc(r=i.bc())&&(t.footerTemplate=r.first),i.tc(r=i.bc())&&(t.notFoundTemplate=r.first),i.tc(r=i.bc())&&(t.typeToSearchTemplate=r.first),i.tc(r=i.bc())&&(t.loadingTextTemplate=r.first),i.tc(r=i.bc())&&(t.tagTemplate=r.first),i.tc(r=i.bc())&&(t.loadingSpinnerTemplate=r.first),i.tc(r=i.bc())&&(t.ngOptions=r))},viewQuery:function(e,t){var n;1&e&&(i.Jc(Ye,!0),i.Ac(z,!0)),2&e&&(i.tc(n=i.bc())&&(t.dropdownPanel=n.first),i.tc(n=i.bc())&&(t.searchInput=n.first))},hostAttrs:["role","listbox"],hostVars:20,hostBindings:function(e,t){1&e&&i.ac("keydown",(function(e){return t.handleKeyDown(e)})),2&e&&i.Db("ng-select",t.useDefaultClass)("ng-select-single",!t.multiple)("ng-select-multiple",t.multiple)("ng-select-taggable",t.addTag)("ng-select-searchable",t.searchable)("ng-select-clearable",t.clearable)("ng-select-opened",t.isOpen)("ng-select-disabled",t.disabled)("ng-select-filtered",t.filtered)("ng-select-typeahead",t.typeahead)},inputs:{markFirst:"markFirst",dropdownPosition:"dropdownPosition",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",bufferAmount:"bufferAmount",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",bindLabel:"bindLabel",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",virtualScroll:"virtualScroll",openOnEnter:"openOnEnter",appendTo:"appendTo",bindValue:"bindValue",appearance:"appearance",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",tabIndex:"tabIndex",typeahead:"typeahead"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[i.yb([{provide:r.l,useExisting:Object(i.S)(()=>e),multi:!0},ze]),i.xb],decls:14,vars:18,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],[1,"ng-input"],["role","combobox",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(e,t){if(1&e){const e=i.Sb();i.Rb(0,"div",0),i.ac("mousedown",(function(e){return t.handleMousedown(e)})),i.Rb(1,"div",1),i.Rb(2,"div",2),i.Ec(3),i.Qb(),i.Cc(4,$,2,2,"ng-container",3),i.Cc(5,U,1,5,void 0,3),i.Rb(6,"div",4),i.Rb(7,"input",5,6),i.ac("input",(function(){i.wc(e);const n=i.uc(8);return t.filter(n.value)}))("compositionstart",(function(){return t.onCompositionStart()}))("compositionend",(function(){i.wc(e);const n=i.uc(8);return t.onCompositionEnd(n.value)}))("focus",(function(e){return t.onInputFocus(e)}))("blur",(function(e){return t.onInputBlur(e)}))("change",(function(e){return e.stopPropagation()})),i.Qb(),i.Qb(),i.Qb(),i.Cc(9,X,4,1,"ng-container",3),i.Cc(10,Z,3,1,"span",7),i.Rb(11,"span",8),i.Mb(12,"span",9),i.Qb(),i.Qb(),i.Cc(13,ge,7,19,"ng-dropdown-panel",10)}2&e&&(i.Db("ng-appearance-outline","outline"===t.appearance)("ng-has-value",t.hasValue),i.zb(3),i.Fc(t.placeholder),i.zb(1),i.kc("ngIf",!t.multiLabelTemplate&&t.selectedItems.length>0),i.zb(1),i.kc("ngIf",t.multiLabelTemplate&&t.selectedValues.length>0),i.zb(2),i.kc("readOnly",!t.searchable||t.itemsList.maxItemsSelected)("disabled",t.disabled)("value",t.searchTerm?t.searchTerm:""),i.Ab("id",t.labelForId)("tabindex",t.tabIndex)("aria-expanded",t.isOpen)("aria-owns",t.isOpen?t.dropdownId:null)("aria-activedescendant",t.isOpen?null==t.itemsList||null==t.itemsList.markedItem?null:t.itemsList.markedItem.htmlId:null),i.zb(2),i.kc("ngIf",t.loading),i.zb(1),i.kc("ngIf",t.showClear()),i.zb(3),i.kc("ngIf",t.isOpen))},directives:[L.l,L.k,L.n,xe,Ye,L.j],styles:[".ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:0;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}
1.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none;border:0;box-shadow:none;outline:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute;z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);-webkit-animation:.8s linear infinite load8;animation:.8s linear infinite load8}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}"],encapsulation:2,changeDetection:0}),e})();class Ke{constructor(){this._selected=[]}get value(){return this._selected}select(e,t,n){if(e.selected=!0,(!e.children||!t&&n)&&this._selected.push(e),t)if(e.parent){const t=e.parent.children.length,n=e.parent.children.filter(e=>e.selected).length;e.parent.selected=t===n}else e.children&&(this._setChildrenSelectedState(e.children,!0),this._removeChildren(e),this._selected=n&&this._activeChildren(e)?[...this._selected.filter(t=>t.parent!==e),e]:[...this._selected,...e.children.filter(e=>!e.disabled)])}unselect(e,t){if(this._selected=this._selected.filter(t=>t!==e),e.selected=!1,t)if(e.parent&&e.parent.selected){const t=e.parent.children;this._removeParent(e.parent),this._removeChildren(e.parent),this._selected.push(...t.filter(t=>t!==e&&!t.disabled)),e.parent.selected=!1}else e.children&&(this._setChildrenSelectedState(e.children,!1),this._removeChildren(e))}clear(e){this._selected=e?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(e,t){for(const n of e)n.disabled||(n.selected=t)}_removeChildren(e){this._selected=[...this._selected.filter(t=>t.parent!==e),...e.children.filter(t=>t.parent===e&&t.disabled&&t.selected)]}_removeParent(e){this._selected=this._selected.filter(t=>t!==e)}_activeChildren(e){return e.children.every(e=>!e.disabled||e.selected)}}const Ue=function(){return new Ke};let qe=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:[{provide:$e,useValue:Ue}],imports:[[L.b]]}),e})()},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("51Dv"),r=n("SeVD"),o=n("HDdC");function s(e,t,n,s,a=new i.a(e,n,s)){if(!a.closed)return t instanceof o.a?t.subscribe(a):Object(r.a)(t)(a)}},ZbT9:function(e,t,n){"use strict";var i=f(n("1B4V")),r=f(n("cYys")),o=f(n("D8Ap")),s=f(n("TEOj")),a=n("1LL4"),l=n("zl3R"),c=f(n("cGV2")),u=f(n("O/ux")),d=f(n("D6VQ")),h=n("tJvG"),p=f(n("0osO"));
1function f(e){return e&&e.__esModule?e:{default:e}}var m=s.default.inherit({_initOptions:function(e){this.callBase.apply(this,arguments),this.option(c.default.initValidationOptions(e))},_getDefaultOptions:function(){return(0,a.extend)(this.callBase(),{validationRules:[]})},_init:function(){this.callBase(),this._initGroupRegistration(),this.focused=(0,r.default)(),this._initAdapter(),this._validationInfo={result:null,deferred:null,skipValidation:!1}},_initGroupRegistration:function(){var e=this._findGroup();this._groupWasInit||this.on("disposing",(function(e){c.default.removeRegisteredValidator(e.component._validationGroup,e.component)})),this._groupWasInit&&this._validationGroup===e||(c.default.removeRegisteredValidator(this._validationGroup,this),this._groupWasInit=!0,this._validationGroup=e,c.default.registerValidatorInGroup(e,this))},_setOptionsByReference:function(){this.callBase(),(0,a.extend)(this._optionsByReference,{validationGroup:!0})},_initAdapter:function(){var e=this,t=this.$element()[0],n=i.default.data(t,"dx-validation-target"),r=this.option("adapter");if(!r){if(n)return(r=new u.default(n,this)).validationRequestsCallbacks.add((function(t){e._validationInfo.skipValidation||e.validate(t)})),void this.option("adapter",r);throw o.default.Error("E0120")}var s=r.validationRequestsCallbacks;s&&(Array.isArray(s)?s.push((function(t){e.validate(t)})):(o.default.log("W0014","validationRequestsCallbacks","jQuery.Callbacks","17.2","Use the array instead"),s.add((function(t){e.validate(t)}))))},_toggleRTLDirection:function(e){var t,n,i,r=null!==(t=null===(n=this.option("adapter"))||void 0===n||null===(i=n.editor)||void 0===i?void 0:i.option("rtlEnabled"))&&void 0!==t?t:e;this.callBase(r)},_initMarkup:function(){this.$element().addClass("dx-validator"),this.callBase()},_visibilityChanged:function(e){e&&this._initGroupRegistration()},_optionChanged:function(e){switch(e.name){case"validationGroup":return void this._initGroupRegistration();case"validationRules":return this._resetValidationRules(),void(void 0!==this.option("isValid")&&this.validate());case"adapter":this._initAdapter();break;case"isValid":case"validationStatus":this.option(c.default.synchronizeValidationOptions(e,this.option()));break;default:this.callBase(e)}},_getValidationRules:function(){var e=this;return this._validationRules||(this._validationRules=(0,l.map)(this.option("validationRules"),(function(t,n){return(0,a.extend)({},t,{validator:e,index:n})}))),this._validationRules},_findGroup:function(){var e=this.$element();return this.option("validationGroup")||c.default.findGroup(e,this._modelByElement(e))},_resetValidationRules:function(){delete this._validationRules},validate:function(e){var t,n=this,i=this.option("adapter"),r=this.option("name"),o=i.bypass&&i.bypass(),s=e&&void 0!==e.value?e.value:i.getValue(),l=i.getCurrentValidationError&&i.getCurrentValidationError(),u=this._getValidationRules(),d=this._validationInfo&&this._validationInfo.result;return d&&"pending"===d.status&&d.value===s?(0,a.extend)({},d):(o?t={isValid:!0,status:"valid"}:l&&l.editorSpecific?(l.validator=this,t={isValid:!1,status:"invalid",brokenRule:l,brokenRules:[l]}):t=c.default.validate(s,u,r),t.id=(new p.default).toString(),this._applyValidationResult(t,i),t.complete&&t.complete.then((function(e){e.id===n._validationInfo.result.id&&n._applyValidationResult(e,i)})),(0,a.extend)({},this._validationInfo.result))},reset:function(){var e=this.option("adapter");this._validationInfo.skipValidation=!0,e.reset(),this._validationInfo.skipValidation=!1,this._resetValidationRules(),this._applyValidationResult({id:null,isValid:!0,brokenRule:null,brokenRules:null,pendingRules:null,status:"valid",complete:null},e)},_updateValidationResult:function(e){if(this._validationInfo.result&&this._validationInfo.result.id===e.id)for(var t in e)"id"!==t&&"complete"!==t&&(this._validationInfo.result[t]=e[t]);else this._validationInfo.result=(0,a.extend)({},e,{complete:this._validationInfo.deferred&&this._validationInfo.result.complete})},_applyValidationResult:function(e,t){var n=this._createActionByOption("onValidated",{excludeValidators:["readOnly"]}
1);if(e.validator=this,this._updateValidationResult(e),t.applyValidationResults&&t.applyValidationResults(this._validationInfo.result),this.option({validationStatus:this._validationInfo.result.status}),"pending"===this._validationInfo.result.status)return this._validationInfo.deferred||(this._validationInfo.deferred=new h.Deferred,this._validationInfo.result.complete=this._validationInfo.deferred.promise()),void this.fireEvent("validating",[this._validationInfo.result]);"pending"!==this._validationInfo.result.status&&(n(e),this._validationInfo.deferred&&(this._validationInfo.deferred.resolve(e),this._validationInfo.deferred=null))},focus:function(){var e=this.option("adapter");e&&e.focus&&e.focus()}});(0,d.default)("dxValidator",m),e.exports=m,e.exports.default=e.exports},Zduo:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZzPI:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return u}));var i=n("jhN1"),r=n("fXoL"),o=(n("14X2"),n("HFVy")),s=n.n(o),a=n("PVOt"),l=n("6t9p");let c=(()=>{let e=class extends a.b{constructor(e,t,n,i,r,o,s,a){super(e,t,n,i,s,a),this._watcherHelper=i,this._idh=r,this._createEventEmitters([{subscribe:"adaptiveDetailRowPreparing",emit:"onAdaptiveDetailRowPreparing"},{subscribe:"cellClick",emit:"onCellClick"},{subscribe:"cellDblClick",emit:"onCellDblClick"},{subscribe:"cellHoverChanged",emit:"onCellHoverChanged"},{subscribe:"cellPrepared",emit:"onCellPrepared"},{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"contextMenuPreparing",emit:"onContextMenuPreparing"},{subscribe:"dataErrorOccurred",emit:"onDataErrorOccurred"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"editingStart",emit:"onEditingStart"},{subscribe:"editorPrepared",emit:"onEditorPrepared"},{subscribe:"editorPreparing",emit:"onEditorPreparing"},{subscribe:"exported",emit:"onExported"},{subscribe:"exporting",emit:"onExporting"},{subscribe:"fileSaving",emit:"onFileSaving"},{subscribe:"focusedCellChanged",emit:"onFocusedCellChanged"},{subscribe:"focusedCellChanging",emit:"onFocusedCellChanging"},{subscribe:"focusedRowChanged",emit:"onFocusedRowChanged"},{subscribe:"focusedRowChanging",emit:"onFocusedRowChanging"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"initNewRow",emit:"onInitNewRow"},{subscribe:"keyDown",emit:"onKeyDown"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"rowClick",emit:"onRowClick"},{subscribe:"rowCollapsed",emit:"onRowCollapsed"},{subscribe:"rowCollapsing",emit:"onRowCollapsing"},{subscribe:"rowDblClick",emit:"onRowDblClick"},{subscribe:"rowExpanded",emit:"onRowExpanded"},{subscribe:"rowExpanding",emit:"onRowExpanding"},{subscribe:"rowInserted",emit:"onRowInserted"},{subscribe:"rowInserting",emit:"onRowInserting"},{subscribe:"rowPrepared",emit:"onRowPrepared"},{subscribe:"rowRemoved",emit:"onRowRemoved"},{subscribe:"rowRemoving",emit:"onRowRemoving"},{subscribe:"rowUpdated",emit:"onRowUpdated"},{subscribe:"rowUpdating",emit:"onRowUpdating"},{subscribe:"rowValidating",emit:"onRowValidating"},{subscribe:"selectionChanged",emit:"onSelectionChanged"},{subscribe:"toolbarPreparing",emit:"onToolbarPreparing"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"allowColumnReorderingChange"},{emit:"allowColumnResizingChange"},{emit:"autoNavigateToFocusedRowChange"},{emit:"cacheEnabledChange"},{emit:"cellHintEnabledChange"},{emit:"columnAutoWidthChange"},{emit:"columnChooserChange"},{emit:"columnFixingChange"},{emit:"columnHidingEnabledChange"},{emit:"columnMinWidthChange"},{emit:"columnResizingModeChange"},{emit:"columnsChange"},{emit:"columnWidthChange"},{emit:"customizeColumnsChange"},{emit:"customizeExportDataChange"},{emit:"dataSourceChange"},{emit:"dateSerializationFormatChange"},{emit:"disabledChange"},{emit:"editingChange"},{emit:"elementAttrChange"},{emit:"errorRowEnabledChange"},{emit:"exportChange"},{emit:"filterBuilderChange"},{emit:"filterBuilderPopupChange"},{emit:"filterPanelChange"},{emit:"filterRowChange"},{emit:"filterSyncEnabledChange"},{emit:"filterValueChange"},{emit:"focusedColumnIndexChange"},{emit:"focusedRowEnabledChange"},{emit:"focusedRowIndexChange"},{emit:"focusedRowKeyChange"},{emit:"focusStateEnabledChange"},{emit:"groupingChange"},{emit:"groupPanelChange"},{emit:"headerFilterChange"},{emit:"heightChange"},{emit:"highlightChangesChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"keyboardNavigationChange"},{emit:"keyExprChange"},{emit:"loadPanelChange"},{emit:"masterDetailChange"},{emit:"noDataTextChange"},{emit:"pagerChange"},{emit:"pagingChange"},{emit:"remoteOperationsChange"},{emit:"renderAsyncChange"},{emit:"repaintChangesOnlyChange"},{emit:"rowAlternationEnabledChange"},{emit:"rowDraggingChange"},{emit:"rowTemplateChange"},{emit:"rtlEnabledChange"},{emit:"scrollingChange"},{emit:"searchPanelChange"},{emit:"selectedRowKeysChange"},{emit:"selectionChange"},{emit:"selectionFilterChange"},{emit:"showBordersChange"},{emit:"showColumnHeadersChange"},{emit:"showColumnLinesChange"},{emit:"showRowLinesChange"},{emit:"sortByGroupSummaryInfoChange"},{emit:"sortingChange"},{emit:"stateStoringChange"},{emit:"summaryChange"},{emit:"tabIndexChange"},{emit:"twoWayBindingEnabledChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"wordWrapEnabledChange"}]),this._idh.setHost(this),o.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(e){this._setOption("accessKey",e)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(e){this._setOption("activeStateEnabled",e)}get allowColumnReordering(){return this._getOption("allowColumnReordering")}set allowColumnReordering(e){this._setOption("allowColumnReordering",e)}get allowColumnResizing(){return this._getOption("allowColumnResizing")}set allowColumnResizing(e){this._setOption("allowColumnResizing",e)}get autoNavigateToFocusedRow(){return this._getOption("autoNavigateToFocusedRow")}set autoNavigateToFocusedRow(e){this._setOption("autoNavigateToFocusedRow",e)}get cacheEnabled(){return this._getOption("cacheEnabled")}set cacheEnabled(e){this._setOption("cacheEnabled",e)}get cellHintEnabled(){return this._getOption("cellHintEnabled")}set cellHintEnabled(e){this._setOption("cellHintEnabled",e)}
1get columnAutoWidth(){return this._getOption("columnAutoWidth")}set columnAutoWidth(e){this._setOption("columnAutoWidth",e)}get columnChooser(){return this._getOption("columnChooser")}set columnChooser(e){this._setOption("columnChooser",e)}get columnFixing(){return this._getOption("columnFixing")}set columnFixing(e){this._setOption("columnFixing",e)}get columnHidingEnabled(){return this._getOption("columnHidingEnabled")}set columnHidingEnabled(e){this._setOption("columnHidingEnabled",e)}get columnMinWidth(){return this._getOption("columnMinWidth")}set columnMinWidth(e){this._setOption("columnMinWidth",e)}get columnResizingMode(){return this._getOption("columnResizingMode")}set columnResizingMode(e){this._setOption("columnResizingMode",e)}get columns(){return this._getOption("columns")}set columns(e){this._setOption("columns",e)}get columnWidth(){return this._getOption("columnWidth")}set columnWidth(e){this._setOption("columnWidth",e)}get customizeColumns(){return this._getOption("customizeColumns")}set customizeColumns(e){this._setOption("customizeColumns",e)}get customizeExportData(){return this._getOption("customizeExportData")}set customizeExportData(e){this._setOption("customizeExportData",e)}get dataSource(){return this._getOption("dataSource")}set dataSource(e){this._setOption("dataSource",e)}get dateSerializationFormat(){return this._getOption("dateSerializationFormat")}set dateSerializationFormat(e){this._setOption("dateSerializationFormat",e)}get disabled(){return this._getOption("disabled")}set disabled(e){this._setOption("disabled",e)}get editing(){return this._getOption("editing")}set editing(e){this._setOption("editing",e)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(e){this._setOption("elementAttr",e)}get errorRowEnabled(){return this._getOption("errorRowEnabled")}set errorRowEnabled(e){this._setOption("errorRowEnabled",e)}get export(){return this._getOption("export")}set export(e){this._setOption("export",e)}get filterBuilder(){return this._getOption("filterBuilder")}set filterBuilder(e){this._setOption("filterBuilder",e)}get filterBuilderPopup(){return this._getOption("filterBuilderPopup")}set filterBuilderPopup(e){this._setOption("filterBuilderPopup",e)}get filterPanel(){return this._getOption("filterPanel")}set filterPanel(e){this._setOption("filterPanel",e)}get filterRow(){return this._getOption("filterRow")}set filterRow(e){this._setOption("filterRow",e)}get filterSyncEnabled(){return this._getOption("filterSyncEnabled")}set filterSyncEnabled(e){this._setOption("filterSyncEnabled",e)}get filterValue(){return this._getOption("filterValue")}set filterValue(e){this._setOption("filterValue",e)}get focusedColumnIndex(){return this._getOption("focusedColumnIndex")}set focusedColumnIndex(e){this._setOption("focusedColumnIndex",e)}get focusedRowEnabled(){return this._getOption("focusedRowEnabled")}set focusedRowEnabled(e){this._setOption("focusedRowEnabled",e)}get focusedRowIndex(){return this._getOption("focusedRowIndex")}set focusedRowIndex(e){this._setOption("focusedRowIndex",e)}get focusedRowKey(){return this._getOption("focusedRowKey")}set focusedRowKey(e){this._setOption("focusedRowKey",e)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(e){this._setOption("focusStateEnabled",e)}get grouping(){return this._getOption("grouping")}set grouping(e){this._setOption("grouping",e)}get groupPanel(){return this._getOption("groupPanel")}set groupPanel(e){this._setOption("groupPanel",e)}get headerFilter(){return this._getOption("headerFilter")}set headerFilter(e){this._setOption("headerFilter",e)}get height(){return this._getOption("height")}set height(e){this._setOption("height",e)}get highlightChanges(){return this._getOption("highlightChanges")}set highlightChanges(e){this._setOption("highlightChanges",e)}get hint(){return this._getOption("hint")}set hint(e){this._setOption("hint",e)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(e){this._setOption("hoverStateEnabled",e)}get keyboardNavigation(){return this._getOption("keyboardNavigation")}set keyboardNavigation(e){this._setOption("keyboardNavigation",e)}get keyExpr(){return this._getOption("keyExpr")}set keyExpr(e){this._setOption("keyExpr",e)}
1get loadPanel(){return this._getOption("loadPanel")}set loadPanel(e){this._setOption("loadPanel",e)}get masterDetail(){return this._getOption("masterDetail")}set masterDetail(e){this._setOption("masterDetail",e)}get noDataText(){return this._getOption("noDataText")}set noDataText(e){this._setOption("noDataText",e)}get pager(){return this._getOption("pager")}set pager(e){this._setOption("pager",e)}get paging(){return this._getOption("paging")}set paging(e){this._setOption("paging",e)}get remoteOperations(){return this._getOption("remoteOperations")}set remoteOperations(e){this._setOption("remoteOperations",e)}get renderAsync(){return this._getOption("renderAsync")}set renderAsync(e){this._setOption("renderAsync",e)}get repaintChangesOnly(){return this._getOption("repaintChangesOnly")}set repaintChangesOnly(e){this._setOption("repaintChangesOnly",e)}get rowAlternationEnabled(){return this._getOption("rowAlternationEnabled")}set rowAlternationEnabled(e){this._setOption("rowAlternationEnabled",e)}get rowDragging(){return this._getOption("rowDragging")}set rowDragging(e){this._setOption("rowDragging",e)}get rowTemplate(){return this._getOption("rowTemplate")}set rowTemplate(e){this._setOption("rowTemplate",e)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(e){this._setOption("rtlEnabled",e)}get scrolling(){return this._getOption("scrolling")}set scrolling(e){this._setOption("scrolling",e)}get searchPanel(){return this._getOption("searchPanel")}set searchPanel(e){this._setOption("searchPanel",e)}get selectedRowKeys(){return this._getOption("selectedRowKeys")}set selectedRowKeys(e){this._setOption("selectedRowKeys",e)}get selection(){return this._getOption("selection")}set selection(e){this._setOption("selection",e)}get selectionFilter(){return this._getOption("selectionFilter")}set selectionFilter(e){this._setOption("selectionFilter",e)}get showBorders(){return this._getOption("showBorders")}set showBorders(e){this._setOption("showBorders",e)}get showColumnHeaders(){return this._getOption("showColumnHeaders")}set showColumnHeaders(e){this._setOption("showColumnHeaders",e)}get showColumnLines(){return this._getOption("showColumnLines")}set showColumnLines(e){this._setOption("showColumnLines",e)}get showRowLines(){return this._getOption("showRowLines")}set showRowLines(e){this._setOption("showRowLines",e)}get sortByGroupSummaryInfo(){return this._getOption("sortByGroupSummaryInfo")}set sortByGroupSummaryInfo(e){this._setOption("sortByGroupSummaryInfo",e)}get sorting(){return this._getOption("sorting")}set sorting(e){this._setOption("sorting",e)}get stateStoring(){return this._getOption("stateStoring")}set stateStoring(e){this._setOption("stateStoring",e)}get summary(){return this._getOption("summary")}set summary(e){this._setOption("summary",e)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(e){this._setOption("tabIndex",e)}get twoWayBindingEnabled(){return this._getOption("twoWayBindingEnabled")}set twoWayBindingEnabled(e){this._setOption("twoWayBindingEnabled",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get width(){return this._getOption("width")}set width(e){this._setOption("width",e)}get wordWrapEnabled(){return this._getOption("wordWrapEnabled")}set wordWrapEnabled(e){this._setOption("wordWrapEnabled",e)}get columnsChildren(){return this._getOption("columns")}set columnsChildren(e){this.setChildren("columns",e)}get sortByGroupSummaryInfoChildren(){return this._getOption("sortByGroupSummaryInfo")}set sortByGroupSummaryInfoChildren(e){this.setChildren("sortByGroupSummaryInfo",e)}_createInstance(e,t){return new s.a(e,t)}ngOnDestroy(){this._destroyWidget()}ngOnChanges(e){super.ngOnChanges(e),this.setupChanges("columns",e),this.setupChanges("dataSource",e),this.setupChanges("keyExpr",e),this.setupChanges("selectedRowKeys",e),this.setupChanges("sortByGroupSummaryInfo",e)}setupChanges(e,t){e in this._optionsToUpdate||this._idh.setup(e,t)}ngDoCheck(){this._idh.doCheck("columns"),this._idh.doCheck("dataSource"),this._idh.doCheck("keyExpr"),this._idh.doCheck("selectedRowKeys"),this._idh.doCheck("sortByGroupSummaryInfo"),this._watcherHelper.checkWatchers(),super.ngDoC
1heck(),super.clearChangedOptions()}_setOption(e,t){let n=this._idh.setupSingle(e,t),i=null!==this._idh.getChanges(e,t);(n||i)&&super._setOption(e,t)}};return e.\u0275fac=function(t){return new(t||e)(r.Lb(r.l),r.Lb(r.z),r.Lb(a.e),r.Lb(a.j),r.Lb(a.g),r.Lb(a.i),r.Lb(i.d),r.Lb(r.B))},e.\u0275cmp=r.Fb({type:e,selectors:[["dx-data-grid"]],contentQueries:function(e,t,n){var i;1&e&&(r.Eb(n,l.c,!1),r.Eb(n,l.j,!1)),2&e&&(r.tc(i=r.bc())&&(t.columnsChildren=i),r.tc(i=r.bc())&&(t.sortByGroupSummaryInfoChildren=i))},inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",allowColumnReordering:"allowColumnReordering",allowColumnResizing:"allowColumnResizing",autoNavigateToFocusedRow:"autoNavigateToFocusedRow",cacheEnabled:"cacheEnabled",cellHintEnabled:"cellHintEnabled",columnAutoWidth:"columnAutoWidth",columnChooser:"columnChooser",columnFixing:"columnFixing",columnHidingEnabled:"columnHidingEnabled",columnMinWidth:"columnMinWidth",columnResizingMode:"columnResizingMode",columns:"columns",columnWidth:"columnWidth",customizeColumns:"customizeColumns",customizeExportData:"customizeExportData",dataSource:"dataSource",dateSerializationFormat:"dateSerializationFormat",disabled:"disabled",editing:"editing",elementAttr:"elementAttr",errorRowEnabled:"errorRowEnabled",export:"export",filterBuilder:"filterBuilder",filterBuilderPopup:"filterBuilderPopup",filterPanel:"filterPanel",filterRow:"filterRow",filterSyncEnabled:"filterSyncEnabled",filterValue:"filterValue",focusedColumnIndex:"focusedColumnIndex",focusedRowEnabled:"focusedRowEnabled",focusedRowIndex:"focusedRowIndex",focusedRowKey:"focusedRowKey",focusStateEnabled:"focusStateEnabled",grouping:"grouping",groupPanel:"groupPanel",headerFilter:"headerFilter",height:"height",highlightChanges:"highlightChanges",hint:"hint",hoverStateEnabled:"hoverStateEnabled",keyboardNavigation:"keyboardNavigation",keyExpr:"keyExpr",loadPanel:"loadPanel",masterDetail:"masterDetail",noDataText:"noDataText",pager:"pager",paging:"paging",remoteOperations:"remoteOperations",renderAsync:"renderAsync",repaintChangesOnly:"repaintChangesOnly",rowAlternationEnabled:"rowAlternationEnabled",rowDragging:"rowDragging",rowTemplate:"rowTemplate",rtlEnabled:"rtlEnabled",scrolling:"scrolling",searchPanel:"searchPanel",selectedRowKeys:"selectedRowKeys",selection:"selection",selectionFilter:"selectionFilter",showBorders:"showBorders",showColumnHeaders:"showColumnHeaders",showColumnLines:"showColumnLines",showRowLines:"showRowLines",sortByGroupSummaryInfo:"sortByGroupSummaryInfo",sorting:"sorting",stateStoring:"stateStoring",summary:"summary",tabIndex:"tabIndex",twoWayBindingEnabled:"twoWayBindingEnabled",visible:"visible",width:"width",wordWrapEnabled:"wordWrapEnabled"},outputs:{onAdaptiveDetailRowPreparing:"onAdaptiveDetailRowPreparing",onCellClick:"onCellClick",onCellDblClick:"onCellDblClick",onCellHoverChanged:"onCellHoverChanged",onCellPrepared:"onCellPrepared",onContentReady:"onContentReady",onContextMenuPreparing:"onContextMenuPreparing",onDataErrorOccurred:"onDataErrorOccurred",onDisposing:"onDisposing",onEditingStart:"onEditingStart",onEditorPrepared:"onEditorPrepared",onEditorPreparing:"onEditorPreparing",onExported:"onExported",onExporting:"onExporting",onFileSaving:"onFileSaving",onFocusedCellChanged:"onFocusedCellChanged",onFocusedCellChanging:"onFocusedCellChanging",onFocusedRowChanged:"onFocusedRowChanged",onFocusedRowChanging:"onFocusedRowChanging",onInitialized:"onInitialized",onInitNewRow:"onInitNewRow",onKeyDown:"onKeyDown",onOptionChanged:"onOptionChanged",onRowClick:"onRowClick",onRowCollapsed:"onRowCollapsed",onRowCollapsing:"onRowCollapsing",onRowDblClick:"onRowDblClick",onRowExpanded:"onRowExpanded",onRowExpanding:"onRowExpanding",onRowInserted:"onRowInserted",onRowInserting:"onRowInserting",onRowPrepared:"onRowPrepared",onRowRemoved:"onRowRemoved",onRowRemoving:"onRowRemoving",onRowUpdated:"onRowUpdated",onRowUpdating:"onRowUpdating",onRowValidating:"onRowValidating",onSelectionChanged:"onSelectionChanged",onToolbarPreparing:"onToolbarPreparing",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",allowColumnReorderingChange:"allowColumnReorderingChange",allowColumnResizingChange:"allowColumnResizingChange",autoNavigateToFocusedRowChange:"autoNavigateToFocusedRowChange",cacheEnabledChange:"cacheEnabledChange",cellHintEnabledChange:"cellHintEnabledChange",columnAutoWidthChange:"columnAutoWidthChange",columnChooserChange:"columnChooserChange",columnFixingChange:"columnFixingChange",columnHidingEnabledChange:"columnHidingEnabledChange",columnMinWidthChange:"columnMinWidthChange",columnResizingModeChange:"columnResizingModeChange",columnsChange:"columnsChange",columnWidthChange:"columnWidthChange",customizeColumnsChange:"customizeColumnsChange",customizeExportDataChange:"customizeExportDataChange",dataSourceChange:"dataSourceChange",dateSerializationFormatChange:"dateSerializationFormatChange",disabledChange:"disabledChange",editingChange:"editingChange",elementAttrChange:"elementAttrChange",errorRowEnabledChange:"errorRowEnabledChange",exportChange:"exportChange",filterBuilderChange:"filterBuilderChange",filterBuilderPopupChange:"filterBuilderPopupChange",filterPanelChange:"filterPanelChange",filterRowChange:"filterRowChange",filterSyncEnabledChange:"filterSyncEnabledChange",filterValueChange:"filterValueChange",focusedColumnIndexChange:"focusedColumnIndexChange",focusedRowEnabledChange:"focusedRowEnabledChange",focusedRowIndexChange:"focusedRowIndexChange",focusedRowKeyChange:"focusedRowKeyChange",focusStateEnabledChange:"focusStateEnabledChange",groupingChange:"groupingChange",groupPanelChange:"groupPanelChange",headerFilterChange:"headerFilterChange",height
1Change:"heightChange",highlightChangesChange:"highlightChangesChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",keyboardNavigationChange:"keyboardNavigationChange",keyExprChange:"keyExprChange",loadPanelChange:"loadPanelChange",masterDetailChange:"masterDetailChange",noDataTextChange:"noDataTextChange",pagerChange:"pagerChange",pagingChange:"pagingChange",remoteOperationsChange:"remoteOperationsChange",renderAsyncChange:"renderAsyncChange",repaintChangesOnlyChange:"repaintChangesOnlyChange",rowAlternationEnabledChange:"rowAlternationEnabledChange",rowDraggingChange:"rowDraggingChange",rowTemplateChange:"rowTemplateChange",rtlEnabledChange:"rtlEnabledChange",scrollingChange:"scrollingChange",searchPanelChange:"searchPanelChange",selectedRowKeysChange:"selectedRowKeysChange",selectionChange:"selectionChange",selectionFilterChange:"selectionFilterChange",showBordersChange:"showBordersChange",showColumnHeadersChange:"showColumnHeadersChange",showColumnLinesChange:"showColumnLinesChange",showRowLinesChange:"showRowLinesChange",sortByGroupSummaryInfoChange:"sortByGroupSummaryInfoChange",sortingChange:"sortingChange",stateStoringChange:"stateStoringChange",summaryChange:"summaryChange",tabIndexChange:"tabIndexChange",twoWayBindingEnabledChange:"twoWayBindingEnabledChange",visibleChange:"visibleChange",widthChange:"widthChange",wordWrapEnabledChange:"wordWrapEnabledChange"},features:[r.yb([a.e,a.j,a.i,a.g]),r.wb,r.xb],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),u=(()=>{let e=class{};return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},imports:[[l.w,l.x,l.rb,l.d,l.b,l.P,l.U,l.L,l.J,l.S,l.o,l.B,l.K,l.u,l.i,l.qb,l.l,l.s,l.eb,l.p,l.Q,l.mb,l.fb,l.q,l.r,l.v,l.W,l.X,l.m,l.C,l.D,l.e,l.f,l.F,l.M,l.E,l.G,l.I,l.Y,l.O,l.N,l.R,l.T,l.V,l.bb,l.db,l.gb,l.hb,l.y,l.ib,l.kb,l.lb,l.k,l.nb,l.ob,l.pb,l.g,l.sb,l.n,a.c,a.f,i.b],l.w,l.x,l.rb,l.d,l.b,l.P,l.U,l.L,l.J,l.S,l.o,l.B,l.K,l.u,l.i,l.qb,l.l,l.s,l.eb,l.p,l.Q,l.mb,l.fb,l.q,l.r,l.v,l.W,l.X,l.m,l.C,l.D,l.e,l.f,l.F,l.M,l.E,l.G,l.I,l.Y,l.O,l.N,l.R,l.T,l.V,l.bb,l.db,l.gb,l.hb,l.y,l.ib,l.kb,l.lb,l.k,l.nb,l.ob,l.pb,l.g,l.sb,l.n,a.f]}),e})()},"a/39":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=p(n("FKN7")),r=p(n("3wDN")),o=n("1LL4"),s=n("ti0F"),a=p(n("IlOo")),l=n("IRs2"),c=n("tJvG"),u=n("m+fQ"),d=n("tUd6"),h=n("KAnu");function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=r.default.inherit({_getDefaultOptions:function(){return(0,o.extend)(this.callBase(),{repaintChangesOnly:!1})},ctor:function(){var e=this;this.callBase.apply(this,arguments),this._customizeStoreLoadOptions=function(t){var n=e._dataSource;n&&!n.isLoaded()&&(e._correctionIndex=0),e._correctionIndex&&t.storeLoadOptions&&(t.storeLoadOptions.skip+=e._correctionIndex)},this._dataSource&&this._dataSource.on("customizeStoreLoadOptions",this._customizeStoreLoadOptions)},reload:function(){this._correctionIndex=0},_init:function(){this.callBase(),this._refreshItemsCache(),this._correctionIndex=0},_findItemElementByKey:function(e){var t=this,n=(0,i.default)(),r=this.key();return this.itemElements().each((function(o,s){var a=(0,i.default)(s),c=t._getItemData(a);if(r?(0,l.keysEqual)(t.keyOf(c),e):t._isItemEquals(c,e))return n=a,!1})),n},_dataSourceChangedHandler:function(e,t){t&&t.changes?this._modifyByChanges(t.changes):this.callBase(e,t)},_isItemEquals:function(e,t){e&&e.__dx_key__&&(e=e.data);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}},_partialRefresh:function(){var e=this;if(this.option("repaintChangesOnly")){var t=(0,u.findChanges)(this._itemsCache,this._editStrategy.itemsGetter(),(function(t){return t&&void 0!==t.__dx_key__?t.__dx_key__:e.keyOf(t)}),this._isItemEquals);if(t&&this._itemsCache.length)return this._modifyByChanges(t,!0),this._renderEmptyMessage(),!0;this._refreshItemsCache()}return!1},_refreshItemsCache:function(){if(this.option("repaintChangesOnly")){var e=this._editStrategy.itemsGetter();try{this._itemsCache=(0,o.extend)(!0,[],e),this.key()||(this._itemsCache=this._itemsCache.map((function(t,n){var i;return f(i={},"__dx_key__",e[n]),f(i,"data",t),i})))}catch(t){this._itemsCache=(0,o.extend)([],e)}}},_dispose:function(){this._dataSource&&this._dataSource.off("customizeStoreLoadOptions",this._customizeStoreLoadOptions),this.callBase()},_updateByChange:function(e,t,n,i){var r=this;if(i)this._renderItem(n.index,n.data,null,this._findItemElementByKey(n.key));else{var o=t[a.default.indexByKey(e,t,n.key)];o&&a.default.update(e,t,n.key,n.data).done((function(){r._renderItem(t.indexOf(o),o,null,r._findItemElementByKey(n.key))}))}},_insertByChange:function(e,t,n,i){var r=this;(0,c.when)(i||a.default.insert(e,t,n.data,n.index)).done((function(){r._beforeItemElementInserted(n),r._renderItem((0,s.isDefined)(n.index)?n.index:t.length,n.data),r._afterItemElementInserted(),r._correctionIndex++}))},_updateSelectionAfterRemoveByChange:function(e){var t=this.option("selectedIndex");t>e?this.option("selectedIndex",t-1):t===e&&1===this.option("selectedItems").length?this.option("selectedItems",[]):this._normalizeSelectedItems()},_beforeItemElementInserted:function(e){var t=this.option("selectedIndex");e.index<=t&&this.option("selectedIndex",t+1)},_afterItemElementInserted:h.noop,_removeByChange:function(e,t,n,i){var r=this,o=i?n.index:a.default.indexByKey(e,t,n.key);if(i?n.oldItem:t[o]){var s=this._findItemElementByKey(n.key),l=this._extendActionArgs(s);this._waitDeletingPrepare(s).done((function(){i?(r._updateIndicesAfterIndex(o-1),r._afterItemElementDeleted(s,l),r._updateSelectionAfterRemoveByChange(o)):(r._deleteItemElementByIndex(o),r._afterItemElementDeleted(s,l))})),this._correctionIndex--}},_modifyByChanges:function(e,t){var n=this,i=this._editStrategy.itemsGetter(),r={key:this.key.bind(this),keyOf:this.keyOf.bind(this)},o=this._dataSource,s=o&&o.paginate(),a=o&&o.group();(s||a)&&(e=e.filter((function(e){return"insert"!==e.type||void 0!==e.index}))),e.forEach((function(e){return n["_".concat(e.type,"ByChange")](r,i,e,t)})),this._renderedItemsCount=i.length,this._refreshItemsCache(),this._fireContentReadyAction()},_appendItemToContainer:function(e,t,n){var i=e.children(this._itemSelector()).get(n);(0,d.insertElement)(e.get(0),t.get(0),i)},_optionChanged:function(e){switch(e.name){case"items":this._partialRefresh(e.value)||this.callBase(e);break;case"dataSource":this.option("repaintChangesOnly")&&e.value||this.option("items",[]),this.callBase(e);break;case"repaintChangesOnly":break;default:this.callBase(e)}}})},aIdf:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,r=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];
1e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:r,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aNBS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,r=(i=n("FKN7"))&&i.__esModule?i:{default:i};var o=function(){function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.instance=null,this.$container=null,this.$placeMarker=null,this.editor=n,this.name=t,this.options=i||{}}var t;return(t=[{key:"_addPlaceMarker",value:function(e){this.$placeMarker=(0,r.default)("<div>").appendTo(e)}},{key:"_addToContainer",value:function(e){var t=this.$placeMarker,n=this.$container;t?t.replaceWith(e):e.appendTo(n)}},{key:"_attachEvents",value:function(){throw"Not implemented"}},{key:"_create",value:function(){throw"Not implemented"}},{key:"_isRendered",value:function(){return!!this.instance}},{key:"_isVisible",value:function(){return this.options.visible||!this.editor.option("readOnly")}},{key:"_isDisabled",value:function(){throw"Not implemented"}},{key:"_shouldRender",value:function(){return this._isVisible()&&!this._isRendered()}},{key:"dispose",value:function(){var e=this.instance,t=this.$placeMarker;
1e&&(e.dispose?e.dispose():e.remove(),this.instance=null),t&&t.remove()}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$container;if(this.$container=e,this._isVisible()){var t=this._create(),n=t.instance,i=t.$element;this.instance=n,this._attachEvents(n,i)}else this._addPlaceMarker(e)}},{key:"update",value:function(){return this._shouldRender()&&this.render(),!!this.instance}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();t.default=o},aQkU:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},"ai+k":function(e,t,n){"use strict";n.r(t),n.d(t,"CustomerModule",(function(){return Gs}));var i=n("ofXK"),r=n("tyNb"),o=n("o64Y"),s=n("hINx"),a=n("3Pt+"),l=n("2Ji4"),c=n("fXoL"),u=n("ewzI"),d=n("5eHb");function h(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Item Description is required"),c.Qb())}function p(e,t){if(1&e&&(c.Rb(0,"div",20),c.Cc(1,h,2,0,"div",21),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.item.errors.required)}}function f(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"length is required"),
1c.Qb())}function m(e,t){if(1&e&&(c.Rb(0,"div",20),c.Cc(1,f,2,0,"div",21),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.length.errors.required)}}function g(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Breadth is required"),c.Qb())}function _(e,t){if(1&e&&(c.Rb(0,"div",20),c.Cc(1,g,2,0,"div",21),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.breadth.errors.required)}}function b(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Height is required"),c.Qb())}function v(e,t){if(1&e&&(c.Rb(0,"div",20),c.Cc(1,b,2,0,"div",21),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.hieght.errors.required)}}function y(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Pcs is required"),c.Qb())}function w(e,t){if(1&e&&(c.Rb(0,"div",20),c.Cc(1,y,2,0,"div",21),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.pcs.errors.required)}}function C(e,t){if(1&e&&(c.Rb(0,"div",7),c.Rb(1,"div",8),c.Rb(2,"label"),c.Ec(3),c.Qb(),c.Qb(),c.Qb()),2&e){const e=c.ec(2);c.zb(3),c.Gc("Volume Weight/PCS : ",e.volumewiehtpcsValue," ")}}function x(e,t){if(1&e&&(c.Rb(0,"div",7),c.Rb(1,"div",8),c.Rb(2,"label"),c.Ec(3),c.Qb(),c.Qb(),c.Qb()),2&e){const e=c.ec(2);c.zb(3),c.Gc("Volume Weight :",e.volumeweightValue,"")}}function S(e,t){if(1&e&&(c.Rb(0,"div",7),c.Rb(1,"div",8),c.Rb(2,"label"),c.Ec(3),c.fc(4,"number"),c.Qb(),c.Qb(),c.Qb()),2&e){const e=c.ec(2);c.zb(3),c.Gc("CBM : ",c.hc(4,1,e.cbmValue,"1.3-3"),"")}}function k(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"h1",3),c.Ec(3,"CBM Calculator"),c.Qb(),c.Qb(),c.Rb(4,"section",4),c.Rb(5,"div",5),c.Rb(6,"div",6),c.Rb(7,"div",7),c.Rb(8,"div",8),c.Rb(9,"label"),c.Ec(10,"Item Description"),c.Qb(),c.Mb(11,"input",9),c.Cc(12,p,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(13,"div",7),c.Rb(14,"div",8),c.Rb(15,"label"),c.Ec(16,"Length"),c.Qb(),c.Rb(17,"input",11),c.ac("keypress",(function(t){return c.wc(e),c.ec().onKeyPress(t)})),c.Qb(),c.Cc(18,m,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(19,"div",7),c.Rb(20,"div",8),c.Rb(21,"div",8),c.Rb(22,"label"),c.Ec(23,"Breadth"),c.Qb(),c.Rb(24,"input",12),c.ac("keypress",(function(t){return c.wc(e),c.ec().onKeyPress(t)})),c.Qb(),c.Cc(25,_,2,1,"div",10),c.Qb(),c.Qb(),c.Qb(),c.Rb(26,"div",7),c.Rb(27,"div",8),c.Rb(28,"label"),c.Ec(29,"Height"),c.Qb(),c.Rb(30,"input",13),c.ac("keypress",(function(t){return c.wc(e),c.ec().onKeyPress(t)})),c.Qb(),c.Cc(31,v,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(32,"div",7),c.Rb(33,"div",8),c.Rb(34,"label"),c.Ec(35,"PCS"),c.Qb(),c.Rb(36,"input",14),c.ac("keypress",(function(t){return c.wc(e),c.ec().onKeyPress(t)})),c.Qb(),c.Cc(37,w,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(38,"div",15),c.Rb(39,"div",8),c.Rb(40,"div",16),c.Rb(41,"div",17),c.Rb(42,"button",18),c.ac("click",(function(t){return c.wc(e),c.ec().onCheck(t)})),c.Ec(43,"Calculate"),c.Qb(),c.Qb(),c.Rb(44,"div",17),c.Rb(45,"button",18),c.ac("click",(function(t){return c.wc(e),c.ec().onReset(t)})),c.Ec(46,"Reset"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Cc(47,C,4,1,"div",19),c.Cc(48,x,4,1,"div",19),c.Cc(49,S,5,4,"div",19),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(12),c.kc("ngIf",1==e.submitted&&e.f.item.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.length.errors),c.zb(7),c.kc("ngIf",1==e.submitted&&e.f.breadth.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.hieght.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.pcs.errors),c.zb(10),c.kc("ngIf",e.calculate),c.zb(1),c.kc("ngIf",e.calculate),c.zb(1),c.kc("ngIf",e.calculate)}}let T=(()=>{class e{constructor(e,t,n){this.fb=e,this.httpService=t,this.toastrService=n,this.calculate=!1,this.logggedInUser=JSON.parse(localStorage.getItem("id")),this.logggedIuserid=JSON.parse(localStorage.getItem("userLoggedIn"))}ngOnInit(){this.createForm()}createForm(){this.resourceForm=this.fb.group({item:new a.d("",a.r.required),length:new a.d("",a.r.required),breadth:new a.d("",a.r.required),hieght:new a.d("",a.r.required),pcs:new a.d("",a.r.required)})}get f(){return this.resourceForm.controls}onCheck(e){this.submitted=!0;const t=this.resourceForm.value;t.customerId=this.logggedInUser,t.createdBy=this.logggedIuserid.sub,this.resourceForm.invali
1d?this.calculate=!1:(this.volumewiehtpcsValue=this.resourceForm.controls.length.value*this.resourceForm.controls.breadth.value*this.resourceForm.controls.hieght.value/5e3,this.volumeweightValue=this.volumewiehtpcsValue*this.resourceForm.controls.pcs.value,this.cbmValue=this.volumeweightValue/167,this.calculate=!0,t.VolumeWieghtPcs=this.volumewiehtpcsValue,t.VolumeWieght=this.volumeweightValue,t.CBM=this.cbmValue,this.httpService.post(l.a.cbmService,t).subscribe(e=>{e&&this.toastrService.success("CBM Calculated successfully")}))}onKeyPress(e){["0","1","2","3","4","5","6","7","8","9"].includes(e.key)||e.preventDefault()}onReset(e){this.resourceForm.reset(),this.calculate=!1}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(u.a),c.Lb(d.b))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-cbmcalculator"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-8","get-a-quote-form-wraper","rateReqstForm"],[1,"row"],[1,"col-md-4"],[1,"form-grid"],["type","text","formControlName","item","placeholder","Enter Item Description",1,"form-control","form-control-sm"],["class","invalid-feedback",4,"ngIf"],["type","text","formControlName","length","placeholder","Enter Item Length",1,"form-control","form-control-sm",3,"keypress"],["type","text","formControlName","breadth","placeholder","Enter Item Breadth",1,"form-control","form-control-sm",3,"keypress"],["type","text","formControlName","hieght","placeholder","Enter Item Height",1,"form-control","form-control-sm",3,"keypress"],["type","text","formControlName","pcs","placeholder","Enter Item Pcs",1,"form-control","form-control-sm",3,"keypress"],[1,"col-12"],[1,"row","justify-content-end"],[1,"col-6"],["type","submit",1,"btn",3,"click"],["class","col-md-4",4,"ngIf"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(e,t){1&e&&c.Cc(0,k,50,9,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f],pipes:[i.e],styles:[".get-a-quote-form-wraper[_ngcontent-%COMP%]{width:100%}"]}),e})();var E=n("wd/R"),I=n("PqYM"),D=n("lJxs"),M=n("w1tV"),O=n("ZOsW");function R(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Cargo Type is required"),c.Qb())}function L(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,R,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.invoiceType.errors.required)}}function A(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Document Date is required"),c.Qb())}function P(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,A,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.docDate.errors.required)}}function F(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Time is required"),c.Qb())}function B(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,F,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.docTime.errors.required)}}function H(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Pickup Time is required"),c.Qb())}function V(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,H,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.pickupTime.errors.required)}}function N(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Shipment Type is required"),c.Qb())}function z(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,N,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.shipTypeId.errors.required)}}function j(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invoice Branch is required"),c.Qb())}function Y(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,j,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.branchId.errors.required)}}function W(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Name is required"),c.Qb())}function Q(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Bill To Name length should be less than 100"),c.Qb())}function $(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only Alphanumerics"),c.Qb())}function G(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,W,2,0,"div",44),c.Cc(2,Q,2,0,"div",44),c.Cc(3,$,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToName.errors.required),c.zb(1),c.kc("ngIf",e.f.billToName.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.billToName.errors.pattern)}}function K(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Country is required"),
1c.Qb())}function U(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,K,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToCountryId.errors.required)}}function q(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Bill To Address is required"),c.Qb())}function J(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Bill To Address length should be less than 200 "),c.Qb())}function X(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,q,2,0,"div",44),c.Cc(2,J,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToAddress.errors.required),c.zb(1),c.kc("ngIf",e.f.billToAddress.errors.maxlength)}}function Z(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Region is required"),c.Qb())}function ee(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,Z,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToRegionId.errors.required)}}function te(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"State is required"),c.Qb())}function ne(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,te,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToStateId.errors.required)}}function ie(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"District is required"),c.Qb())}function re(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,ie,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToCountyId.errors.required)}}function oe(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"City is required"),c.Qb())}function se(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"City length should be less than 100"),c.Qb())}function ae(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter alphanumerics only"),c.Qb())}function le(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,oe,2,0,"div",44),c.Cc(2,se,2,0,"div",44),c.Cc(3,ae,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToCity.errors.required),c.zb(1),c.kc("ngIf",e.f.billToCity.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.billToCity.errors.pattern)}}function ce(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Zip Code length should be less than 10"),c.Qb())}function ue(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only alphanumerics"),c.Qb())}function de(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Zip Code is required"),c.Qb())}function he(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,ce,2,0,"div",44),c.Cc(2,ue,2,0,"div",44),c.Cc(3,de,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToZipCode.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.billToZipCode.errors.pattern),c.zb(1),c.kc("ngIf",e.f.billToZipCode.errors.required)}}function pe(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile is required"),c.Qb())}function fe(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile length should be 13 characters."),c.Qb())}function me(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile length should be 13 characters."),c.Qb())}function ge(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only number and '+' symbol"),c.Qb())}function _e(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,pe,2,0,"div",44),c.Cc(2,fe,2,0,"div",44),c.Cc(3,me,2,0,"div",44),c.Cc(4,ge,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToPhone1.errors.required),c.zb(1),c.kc("ngIf",e.f.billToPhone1.errors.minlength),c.zb(1),c.kc("ngIf",e.f.billToPhone1.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.billToPhone1.errors.pattern)}}function be(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Land Phone length do not exceed 13"),c.Qb())}function ve(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only number and '+' symbol"),c.Qb())}function ye(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,be,2,0,"div",44),c.Cc(2,ve,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToPhone2.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.billToPhone2.errors.pattern)}}function we(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Whatsapp length do not exceed 13"),c.Qb())}function Ce(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only number and '+' symbol"),c.Qb())}function xe(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,we,2,0,"div",44),c.Cc(2,Ce,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToWhattsup.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.billToWhattsup.errors.pattern)}}function Se(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email length should be less than 50"),c.Qb())}function ke(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid email"),c.Qb())}function Te(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email is required"),
1c.Qb())}function Ee(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,Se,2,0,"div",44),c.Cc(2,ke,2,0,"div",44),c.Cc(3,Te,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToEmail.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.billToEmail.errors.pattern),c.zb(1),c.kc("ngIf",e.f.billToEmail.errors.required)}}function Ie(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Emirate ID length should be less than or equal 18"),c.Qb())}function De(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter valid format 'xxx-xxxx-xxxxxxx-x'"),c.Qb())}function Me(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,Ie,2,0,"div",44),c.Cc(2,De,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.billToEmirateId.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.billToEmirateId.errors.pattern)}}function Oe(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Remarks length should be less than 300"),c.Qb())}function Re(e,t){if(1&e&&(c.Rb(0,"div",43),c.Cc(1,Oe,2,0,"div",44),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.remarks.errors.maxlength)}}function Le(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"h1",3),c.Ec(3,"Invoice Booking"),c.Qb(),c.Qb(),c.Rb(4,"section",4),c.Rb(5,"div",5),c.Rb(6,"div",6),c.Rb(7,"div",7),c.Rb(8,"div",8),c.Rb(9,"label"),c.Ec(10,"Cargo Type"),c.Qb(),c.Rb(11,"ng-select",9),c.ac("change",(function(t){return c.wc(e),c.ec().onChangeCategory(t)})),c.Qb(),c.Cc(12,L,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(13,"div",7),c.Rb(14,"div",11),c.Rb(15,"label"),c.Ec(16," Date"),c.Qb(),c.Mb(17,"input",12),c.Cc(18,P,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(19,"div",7),c.Rb(20,"div",11),c.Rb(21,"label"),c.Ec(22,"Time"),c.Qb(),c.Rb(23,"div",13),c.Ec(24),c.fc(25,"date"),c.Qb(),c.Cc(26,B,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(27,"div",7),c.Rb(28,"div",11),c.Rb(29,"label"),c.Ec(30,"Pickup Time"),c.Qb(),c.Mb(31,"input",14),c.Cc(32,V,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(33,"div",7),c.Rb(34,"div",8),c.Rb(35,"label"),c.Ec(36,"Shipment Type"),c.Qb(),c.Rb(37,"ng-select",15,16),c.ac("change",(function(t){return c.wc(e),c.ec().onChangeShipType(t)})),c.Qb(),c.Cc(39,z,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(40,"div",7),c.Rb(41,"div",8),c.Rb(42,"label"),c.Ec(43,"Branch"),c.Qb(),c.Rb(44,"ng-select",17,16),c.ac("change",(function(t){return c.wc(e),c.ec().onChangeBranch(t)})),c.Qb(),c.Cc(46,Y,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(47,"div",18),c.Rb(48,"h4",19),c.Ec(49,"Customer Details"),c.Qb(),c.Qb(),c.Rb(50,"div",20),c.Rb(51,"div",11),c.Rb(52,"label"),c.Ec(53,"Sender Name"),c.Qb(),c.Rb(54,"input",21),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("billToName")})),c.Qb(),c.Cc(55,G,4,3,"div",10),c.Qb(),c.Qb(),c.Rb(56,"div",20),c.Rb(57,"div",8),c.Rb(58,"label"),c.Ec(59,"Country"),c.Qb(),c.Rb(60,"ng-select",22,16),c.ac("change",(function(t){return c.wc(e),c.ec().onBillToCountrySelect(t)})),c.Qb(),c.Cc(62,U,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(63,"div",23),c.Rb(64,"div",11),c.Rb(65,"label"),c.Ec(66,"Address"),c.Qb(),c.Rb(67,"textarea",24),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("billToAddress")})),c.Qb(),c.Cc(68,X,3,2,"div",10),c.Qb(),c.Qb(),c.Rb(69,"div",7),c.Rb(70,"div",8),c.Rb(71,"label"),c.Ec(72,"Region"),c.Qb(),c.Rb(73,"ng-select",25,16),c.ac("change",(function(t){return c.wc(e),c.ec().onRegionSelect(t)})),c.Qb(),c.Cc(75,ee,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(76,"div",7),c.Rb(77,"div",8),c.Rb(78,"label"),c.Ec(79,"State"),c.Qb(),c.Rb(80,"ng-select",26,16),c.ac("change",(function(t){return c.wc(e),c.ec().onBillToStateSelect(t)})),c.Qb(),c.Cc(82,ne,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(83,"div",27),c.Rb(84,"div",8),c.Rb(85,"label"),c.Ec(86,"District"),c.Qb(),c.Rb(87,"ng-select",28,16),c.ac("change",(function(t){return c.wc(e),c.ec().onBillToCountySelect(t)})),c.Qb(),c.Cc(89,re,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(90,"div",7),c.Rb(91,"div",11),c.Rb(92,"label"),c.Ec(93,"City"),c.Qb(),c.Rb(94,"input",29),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("billToCity")})),c.Qb(),c.Cc(95,le,4,3,"div",10),c.Qb(),c.Qb(),c.Rb(96,"div",7),c.Rb(97,"div",11),c.Rb(98,"label"),c.Ec(99,"Zip Code"),c.Qb(),c.Rb(100,"input",30),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("billToZipCode")})),c.Qb(),c.Cc(101,he,4,3,"div",10),c.Qb(),c.Qb(),c.Rb(102,"div",7),c.Rb(103,"div",11),c.Rb(104,"label"),c.Ec(105,"Mobile"),c.Qb(),c.Rb(106,"input",31),c.ac("keyup",(function(t){return c.wc(e),c.ec().onvalueChange(t)}
1)),c.Qb(),c.Cc(107,_e,5,4,"div",10),c.Qb(),c.Qb(),c.Rb(108,"div",7),c.Rb(109,"div",11),c.Rb(110,"label"),c.Ec(111,"Land Phone"),c.Qb(),c.Mb(112,"input",32),c.Cc(113,ye,3,2,"div",10),c.Qb(),c.Qb(),c.Rb(114,"div",7),c.Rb(115,"div",11),c.Rb(116,"label"),c.Ec(117,"Whatsapp Number"),c.Qb(),c.Mb(118,"input",33),c.Cc(119,xe,3,2,"div",10),c.Rb(120,"div",34),c.Rb(121,"input",35),c.ac("change",(function(t){return c.wc(e),c.ec().SameValue(t)})),c.Qb(),c.Rb(122,"label"),c.Ec(123,"Same as Mobile"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(124,"div",7),c.Rb(125,"div",11),c.Rb(126,"label"),c.Ec(127,"Email"),c.Qb(),c.Mb(128,"input",36),c.Cc(129,Ee,4,3,"div",10),c.Qb(),c.Qb(),c.Rb(130,"div",7),c.Rb(131,"div",11),c.Rb(132,"label"),c.Ec(133,"Emirate ID"),c.Qb(),c.Rb(134,"input",37),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("billToEmirateId")})),c.Qb(),c.Cc(135,Me,3,2,"div",10),c.Qb(),c.Qb(),c.Rb(136,"div",23),c.Rb(137,"div",11),c.Rb(138,"label"),c.Ec(139,"Remarks"),c.Qb(),c.Rb(140,"textarea",38),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("remarks")})),c.Qb(),c.Cc(141,Re,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(142,"div",23),c.Rb(143,"div",11),c.Rb(144,"div",39),c.Rb(145,"div",40),c.Rb(146,"button",41),c.ac("click",(function(){return c.wc(e),c.ec().cancel()})),c.Ec(147,"Cancel"),c.Qb(),c.Qb(),c.Rb(148,"div",40),c.Rb(149,"button",42),c.ac("click",(function(t){return c.wc(e),c.ec().onSubmit(t)})),c.Ec(150,"Submit"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(11),c.kc("items",e.shipmentCategories),c.zb(1),c.kc("ngIf",1==e.submitted&&e.f.invoiceType.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.docDate.errors),c.zb(6),c.Gc("",c.hc(25,29,e.rxTime,"hh:mm:ss a")," "),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.docTime.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.pickupTime.errors),c.zb(5),c.kc("items",e.domesticShipTypes),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.shipTypeId.errors),c.zb(5),c.kc("items",e.branches),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.branchId.errors),c.zb(9),c.kc("ngIf",1==e.submitted&&e.f.billToName.errors),c.zb(5),c.kc("items",e.billToCountries),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.billToCountryId.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.billToAddress.errors),c.zb(5),c.kc("items",e.billToRegions),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.billToRegionId.errors),c.zb(5),c.kc("items",e.billToStates),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.billToStateId.errors),c.zb(5),c.kc("items",e.billToCounties),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.billToCountyId.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.billToCity.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.billToZipCode.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.billToPhone1.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.billToPhone2.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.billToWhattsup.errors),c.zb(10),c.kc("ngIf",1==e.submitted&&e.f.billToEmail.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.billToEmirateId.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.remarks.errors)}}let Ae=(()=>{class e{constructor(e,t,n,i,r){this.fb=e,this.httpService=t,this.route=n,this.toastrService=i,this.router=r,this.time=new Date,this.rxTime=new Date,this.submitted=!1,this.resourceGetByIdApi=l.a.userService+"/getCustomerBookings/",this.getShipTypeApi=l.a.shipTypeService+"/getShipTypesByCategory",this.getCustomerApi=l.a.userService+"/getCustomerByUserId/",this.getBranchApi=l.a.branchService,this.countryServiceApi=l.a.countryService,this.regionServiceApi=l.a.regionService,this.stateServiceApi=l.a.stateService,this.countyServiceApi=l.a.countyService,this.resourceCreateApi=l.a.userService+"/createCustomerBooking",this.resourceName="Invoice Booking",this.isCheck=!0,this.resourceUpdateApi=l.a.userService+"/updateCustomerBooking",this.shipmentCategories=[{id:1,name:"INTERNATIONAL"},{id:2,name:"DOMESTIC"}],this.billToCountries=[{countryId:3,countryName:"UNITED ARAB EMIRATES"}],this.resourceManagementNavPath="/admin/myinvoiceBooking",this.resourceKey="customerInvoiceBookingId",this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn"))}
1ngOnInit(){this.route.snapshot.paramMap.get(this.resourceKey)&&this.route.paramMap.subscribe(e=>{this.resourceKeyValue=Number(e.get(this.resourceKey))}),this.createForm(),this.getCustomer(),this.getBranches(),this.getBillToRegions(),this.getBillToStates(),this.getBillToCounties()}getCustomer(){this.httpService.get(this.getCustomerApi+this.logggedInUser.sub).subscribe(e=>{this.customer=e})}onChangeCategory(e){this.category=e.id,this.resourceForm.controls.invoiceType.setValue(e.id),this.resourceForm.controls.shipTypeId.setValue(null),this.getShipTypes()}getTime(){this.intervalId=setInterval(()=>{this.time=new Date},1e3),this.subscription=Object(I.a)(0,1e3).pipe(Object(D.a)(()=>new Date),Object(M.a)()).subscribe(e=>{this.rxTime=e})}getBranches(){this.httpService.get(this.getBranchApi+"/uaebranchesexceptwhandho").subscribe(e=>{e&&(this.branches=e)})}getShipTypes(){this.httpService.get(this.getShipTypeApi+"/"+this.category).subscribe(e=>{e&&(this.domesticShipTypes=e)})}onChangeShipType(e){this.resourceForm.controls.shipTypeId.setValue(e.shipTypeId)}onChangeBranch(e){this.resourceForm.controls.branchId.setValue(e.branchId),this.resourceForm.controls.orderBranchId.setValue(e.branchId)}changeTextToUppercase(e){const t={};t[e]=this.resourceForm.controls[e].value.toUpperCase(),this.resourceForm.patchValue(t)}getBillToCountries(){this.httpService.get(this.countryServiceApi).subscribe(e=>{e&&(this.billToCountries=e.filter(e=>3==e.countryId),this.selectedBillCountryId=this.billToCountries[0].countryId)})}onBillToCountrySelect(e){this.selectedBillCountryId=e.countryId,this.billToRegions=this.regions.filter(e=>e.countryId==this.selectedBillCountryId),this.resourceForm.controls.billToCountryId.setValue(e.countryId),this.resourceForm.controls.billToRegionId.setValue(null),this.resourceForm.controls.billToStateId.setValue(null),this.resourceForm.controls.billToCountyId.setValue(null)}getBillToRegions(){this.httpService.get(this.regionServiceApi).subscribe(e=>{e&&(this.regions=e,this.billToRegions=e.filter(e=>3==e.countryId))})}onRegionSelect(e){this.selectedBillRegionId=e.regionId,this.resourceForm.controls.billToRegionId.setValue(e.regionId),this.resourceForm.controls.billToStateId.setValue(null),this.resourceForm.controls.billToCountyId.setValue(null),this.billToStates=this.states.filter(e=>e.regionId==this.selectedBillRegionId)}getBillToStates(){this.httpService.get(this.stateServiceApi).subscribe(e=>{e&&(this.states=e,this.billToStates=e.filter(e=>e.regionId==this.selectedBillRegionId))})}onBillToStateSelect(e){this.selectedBillStateId=e.stateId,this.resourceForm.controls.billToStateId.setValue(e.stateId),this.resourceForm.controls.billToCountyId.setValue(null),this.billToCounties=this.counties.filter(e=>e.stateId==this.selectedBillStateId)}getBillToCounties(){this.httpService.get(this.countyServiceApi).subscribe(e=>{e&&(this.counties=e,this.billToCounties=e.filter(e=>e.stateId==this.selectedBillStateId))})}onBillToCountySelect(e){this.countyName=e.countyName,this.resourceForm.controls.billToCountyId.setValue(e.countyId)}getResourceById(){this.httpService.get(this.resourceGetByIdApi+this.resourceKeyValue).subscribe(e=>{this.docTime=e.docTime,this.docDate=e.docDate,this.invoiceDate=e.invoiceDate,e.docDate=E(e.docDate).format("yyyy-MM-DD"),e.invoiceDate=E(e.invoiceDate).format("yyyy-MM-DD"),e.pickupTime=E(e.pickupTime).format("YYYY-MM-DD HH:mm:ss"),e.billToExpiryDate=E(e.billToExpiryDate).format("yyyy-MM-DD"),this.resourceForm=this.fb.group({resourceKeyValue:new a.d({value:e[this.resourceKey],disabled:!0}),vehicleNum:new a.d({value:e.vehicleNum,disabled:!1},a.r.compose([a.r.maxLength(15),a.r.pattern("^[a-zA-Z0-9' ']*$")])),docNum:new a.d({value:e.docNum,disabled:!1},a.r.compose([a.r.maxLength(20)])),docDate:new a.d({value:e.docDate,disabled:!1},a.r.required),docTime:new a.d({value:e.docTime,disabled:!0},a.r.required),docStatus:new a.d({value:e.docStatus,disabled:!0},a.r.required),invoiceDate:new a.d({value:e.invoiceDate,disabled:!0},a.r.required),pickupTime:new a.d({value:e.pickupTime,disabled:!1},a.r.required),branchId:new a.d({value:e.branchId,disabled:!1},a.r.required),agentId:new a.d({value:e.agentId,disabled:!1}),shipTypeId:new a.d({value:e.shipTypeId,disabled:!1},a.r.required),orderBranchId:new a.d({value:e.orderBranchId,disabled:!1},a.r.required),billToName:new a.d({value:e.billToName,disabled:!1},a.r.compose([a.r.required,a.r.maxLength(100),a.r.pattern("^[a-zA-Z' ']+$")])),billToAddress:new a.d({value:e.billToAddress,disabled:!1},a.r.compose([a.r.maxLength(200)])),billToBlock:new a.d({value:e.billToBlock,disabled:!1},a.r.compose([a.r.maxLength(100)])),billToBuilding:new a.d({value:e.billToBuilding,disabled:!1},a.r.compose([a.r.maxLength(100)])),billToCity:new a.d({value:e.billToCity,disabled:!1},a.r.compose([a.r.maxLength(100),a.r.pattern("^[a-zA-Z0-9' ']*$")
1])),billToCountryId:new a.d({value:e.billToCountryId,disabled:!1},a.r.required),billToRegionId:new a.d({value:e.billToRegionId,disabled:!1},a.r.required),billToStateId:new a.d({value:e.billToStateId,disabled:!1},a.r.required),billToZipCode:new a.d({value:e.billToZipCode,disabled:!1},a.r.compose([a.r.maxLength(10),a.r.pattern("^[a-zA-Z0-9]*$")])),billToPhone1:new a.d({value:e.billToPhone1,disabled:!1},a.r.compose([a.r.required,a.r.minLength(13),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),billToPhone2:new a.d({value:e.billToPhone2,disabled:!1},a.r.compose([a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),billToWhattsup:new a.d({value:e.billToWhattsup,disabled:!1},a.r.compose([a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),billToEmail:new a.d({value:e.billToEmail,disabled:!1},a.r.compose([a.r.maxLength(30),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")])),billToCountyId:new a.d({value:e.billToCountyId,disabled:!1}),billToMemberId:new a.d({value:e.billToMemberId,disabled:!1},a.r.compose([a.r.maxLength(50),a.r.pattern("^[A-Z,0-9]*$")])),billToEmirateId:new a.d({value:e.billToEmirateId,disabled:!1},a.r.compose([a.r.maxLength(18),a.r.pattern("^[0-9]{3}[ -]?[0-9]{4}[ -]?[0-9]{7}[ -]?[0-9]{1}$")])),billToExpiryDate:new a.d({value:e.billToExpiryDate,disabled:!1}),remarks:new a.d({value:e.remarks,disabled:!1},a.r.compose([a.r.maxLength(300)])),shipToAddress:new a.d({value:e.shipToAddress,disabled:!1}),shipToBlock:new a.d({value:e.shipToBlock,disabled:!1}),shipToBuilding:new a.d({value:e.shipToBuilding,disabled:!1}),shipToCity:new a.d({value:e.shipToCity,disabled:!1}),shipToCountryId:new a.d({value:e.shipToCountryId,disabled:!1}),shipToStateId:new a.d({value:e.shipToStateId,disabled:!1}),shipToCountyId:new a.d({value:e.shipToCountyId,disabled:!1}),shipToZipCode:new a.d({value:e.shipToZipCode,disabled:!1}),shipToPhone1:new a.d({value:e.shipToPhone1,disabled:!1}),shipToPhone2:new a.d({value:e.shipToPhone2,disabled:!1}),shipToEmail:new a.d({value:e.shipToEmail,disabled:!1}),packingCharge:new a.d({value:e.packingCharge,disabled:!1}),awbCharge:new a.d({value:e.awbCharge,disabled:!1}),additionalCharge:new a.d({value:e.additionalCharge,disabled:!1}),invoiceAmount:new a.d({value:e.invoiceAmount,disabled:!1}),discount:new a.d({value:e.discount,disabled:!1}),roundOff:new a.d({value:e.roundOff,disabled:!1}),docTotal:new a.d({value:e.docTotal,disabled:!1}),recieved:new a.d({value:e.recieved,disabled:!1}),packer:new a.d({value:e.packer,disabled:!1}),isSignature:new a.d({value:e.isSignature,disabled:!1}),invoiceBookingItems:new a.d({value:e.invoiceBookingItems,disabled:!1}),invoiceBookingBoxes:new a.d({value:e.invoiceBookingBoxes,disabled:!1}),invoiceBookingRates:new a.d({value:e.invoiceBookingRates,disabled:!1}),invoiceBookingCharges:new a.d({value:e.invoiceBookingCharges,disabled:!1}),accountId:new a.d({value:e.accountId,disabled:!1}),accountRefNum:new a.d({value:e.accountRefNum,disabled:!1}),balance:new a.d({value:e.balance,disabled:!1}),creditReceived:new a.d({value:e.creditReceived,disabled:!1}),othersCharge:new a.d({value:e.othersCharge,disabled:!1}),receiptType:new a.d({value:e.receiptType,disabled:!1}),shipToIdType:new a.d({value:e.shipToIdType,disabled:!1}),shipToRegionId:new a.d({value:e.shipToRegionId,disabled:!1}),billTo:new a.d({value:e.billTo,disabled:!1}),shipTo:new a.d({value:e.shipTo,disabled:!1}),currentStatusId:new a.d(1),createdBy:new a.d({value:e.createdBy,disabled:!1}),invoiceType:new a.d({value:e.invoiceType,disabled:!1}),customerId:new a.d({value:e.customerId,disabled:!1}),taxAmount:new a.d({value:e.taxAmount,disabled:!1}),taxableAmount:new a.d({value:e.taxableAmount,disabled:!1}),sourceType:new a.d({value:e.sourceType,disabled:!1})}),this.selectedBillCountryId=e.billToCountryId,this.selectedBillStateId=e.billToStateId,this.selectedBillRegionId=e.billToRegionId,this.category=e.invoiceType,this.getBillToStates(),this.getBillToRegions(),this.get
1ShipTypes()})}createForm(){this.resourceKeyValue>0?this.getResourceById():this.resourceForm=this.fb.group({docNum:new a.d(""),branchId:new a.d(null,a.r.required),agentId:new a.d(null),vehicleNum:new a.d(""),docDate:new a.d(E().format("yyyy-MM-DD"),a.r.required),docTime:new a.d(E().format(),a.r.required),docStatus:new a.d("O",a.r.required),orderBranchId:new a.d(null,a.r.compose([a.r.required,a.r.maxLength(20)])),invoiceDate:new a.d(E().format("yyyy-MM-DD"),a.r.required),pickupTime:new a.d(E().format("YYYY-MM-DD HH:mm:ss"),a.r.required),shipTypeId:new a.d(null,a.r.compose([a.r.required])),billToAddress:new a.d("",a.r.compose([a.r.maxLength(200),a.r.required])),billToName:new a.d("",a.r.compose([a.r.required,a.r.maxLength(100),a.r.pattern("^[a-zA-Z' '0-9]+$")])),billToCity:new a.d("",a.r.compose([a.r.maxLength(100),a.r.pattern("^[a-zA-Z0-9' ']*$"),a.r.required])),billToCountryId:new a.d(3,a.r.required),billToRegionId:new a.d(null,a.r.required),billToStateId:new a.d(null,a.r.required),billToCountyId:new a.d(null),billToWhattsup:new a.d("",a.r.compose([a.r.maxLength(13),a.r.pattern("^[0-9+]*$")])),billToZipCode:new a.d("",a.r.compose([a.r.maxLength(10),a.r.pattern("^[a-zA-Z0-9]*$"),a.r.required])),billToPhone1:new a.d("+971",a.r.compose([a.r.required,a.r.minLength(13),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),billToPhone2:new a.d("+971",a.r.compose([a.r.maxLength(13),a.r.pattern("^[0-9+]*$")])),billToEmail:new a.d("",a.r.compose([a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")])),billToEmirateId:new a.d("",a.r.compose([a.r.maxLength(18),a.r.pattern("^[0-9]{3}[ -]?[0-9]{4}[ -]?[0-9]{7}[ -]?[0-9]{1}$")])),billToMemberId:new a.d("",a.r.compose([a.r.maxLength(100),a.r.pattern("^[A-Z,0-9]*$")])),billToExpiryDate:new a.d(E().format("yyyy-MM-DD")),billToBuilding:new a.d("",a.r.compose([a.r.maxLength(30)])),billToBlock:new a.d("",a.r.compose([a.r.maxLength(30)])),isSignature:new a.d(!1),remarks:new a.d("",a.r.compose([a.r.maxLength(300)])),currentStatusId:new a.d(1),shipToAddress:new a.d(""),shipToBlock:new a.d(""),shipToBuilding:new a.d(""),shipToCity:new a.d(""),shipToCountryId:new a.d(null),shipToStateId:new a.d(null),shipToCountyId:new a.d(null),shipToZipCode:new a.d(""),shipToPhone1:new a.d(""),shipToPhone2:new a.d(""),shipToEmail:new a.d(""),packingCharge:new a.d(0),awbCharge:new a.d(0),additionalCharge:new a.d(0),invoiceAmount:new a.d(0),discount:new a.d(0),roundOff:new a.d(0),docTotal:new a.d(0),recieved:new a.d(0),packer:new a.d(""),invoiceBookingItems:new a.d(null),invoiceBookingBoxes:new a.d(null),invoiceBookingRates:new a.d(null),invoiceBookingCharges:new a.d(null),accountId:new a.d(null),accountRefNum:new a.d(""),balance:new a.d(0),creditReceived:new a.d(0),othersCharge:new a.d(0),receiptType:new a.d(""),shipToIdType:new a.d(""),shipToRegionId:new a.d(null),billTo:new a.d(""),shipTo:new a.d(""),shipToName:new a.d(""),createdBy:new a.d(null),taxAmount:new a.d(0),taxableAmount:new a.d(0),invoiceType:new a.d(null,a.r.required),senderSignaturePath:new a.d(""),driverSignaturePath:new a.d(""),series:new a.d(0),opFacilityId:new a.d(null),opFacilityName:new a.d(""),opFacilityCode:new a.d(""),productTypeId:new a.d(1),reason:new a.d})}get f(){return this.resourceForm.controls}onSubmit(e){this.submitted=!0,this.isProcessing=!0;const t=this.resourceForm.value;t.orderBranchId=this.resourceForm.controls.branchId.value,t.docStatus="A",t.dueDate=this.resourceForm.controls.docDate.value,t.invoiceDate=this.resourceForm.controls.docDate.value,t.billToExpiryDate=this.resourceForm.controls.docDate.value,t.currentStatusId=-1,t.customerId=this.customer.result.data.customerId,t.createdBy=this.logggedInUser.sub,this.resourceForm.invali
1d?console.log(t):this.resourceKeyValue>0?(t[this.resourceKey]=this.resourceKeyValue,this.httpService.put(this.resourceUpdateApi,t).subscribe(e=>{this.isProcessing=!1,this.toastrService.success(this.resourceName+" updated  successfully","Success"),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0})})):(this.resourceForm.reset(),this.httpService.post(this.resourceCreateApi,t).subscribe(()=>{this.isProcessing=!1,this.resourceForm.reset(),this.toastrService.success(this.resourceName+" created successfully","Success"),window.scroll(0,0),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0})}))}cancel(){this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0})}onvalueChange(e){console.log(e),1==this.isCheck&&(this.resourceForm.controls.billToWhattsup.setValue(this.resourceForm.controls.billToPhone1.value),this.resourceForm.controls.billToWhattsup.disable())}SameValue(e){1==e.target.value?(this.isCheck=!0,this.resourceForm.controls.billToWhattsup.setValue(this.resourceForm.controls.billToPhone1.value),this.resourceForm.controls.billToWhattsup.disable()):(this.resourceForm.controls.billToWhattsup.setValue(""),this.resourceForm.controls.billToWhattsup.enable())}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(u.a),c.Lb(r.a),c.Lb(d.b),c.Lb(r.c))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-invoicebooking"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-11","get-a-quote-form-wraper"],[1,"row"],[1,"col-md-4"],[1,"form-grid","select-inp"],["formControlName","invoiceType","bindValue","id","bindLabel","name","placeholder","Select Cargo",3,"items","change"],["class","invalid-feedback",4,"ngIf"],[1,"form-grid"],["type","date","formControlName","docDate","name","docDate","placeholder","Select  Date","readonly","",1,"form-control","form-control-sm"],["readonly","",1,"form-control","form-control-sm","pickupTime"],["type","datetime-local","formControlName","pickupTime","name","pickupTime","placeholder","Select Pickup Time","data-inputmask-alias","Time","im-insert","True",1,"form-control","form-control-sm"],["formControlName","shipTypeId","placeholder","Select Shipment Type","bindValue","shipTypeId","bindLabel","shipTypeName",3,"items","change"],["select",""],["placeholder","Select  Branch","bindValue","branchId","bindLabel","branchName","formControlName","branchId",3,"items","change"],[1,"col-12","form-subhead","mt-4","mb-4"],[2,"color","#FE2815"],[1,"col-md-6"],["type","text","formControlName","billToName","placeholder","Enter Sender Name",1,"form-control","form-control-sm",3,"input"],["formControlName","billToCountryId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country",3,"items","change"],[1,"col-md-12"],["name","billToAddress","id","billToAddress","rows","1","formControlName","billToAddress","placeholder","Enter Address",1,"form-control","form-control-sm",3,"input"],["formControlName","billToRegionId","bindValue","regionId","bindLabel","regionName","placeholder","Select Region",3,"items","change"],["formControlName","billToStateId","bindValue","stateId","bindLabel","stateName","placeholder","Select State",3,"items","change"],["hidden","",1,"col-md-4"],["formControlName","billToCountyId","bindValue","countyId","bindLabel","countyName","placeholder","Select District",3,"items","change"],["type","text","formControlName","billToCity","placeholder","Enter City",1,"form-control","form-control-sm",3,"input"],["type","text","formControlName","billToZipCode","placeholder","Enter Zip Code",1,"form-control","form-control-sm",3,"input"],["type","text","formControlName","billToPhone1","maxlength","13","minlength","13","placeholder","Enter Mobile ",1,"form-control","form-control-sm",3,"keyup"],["type","text","formControlName","billToPhone2","maxlength","13","placeholder","Enter Land Phone ",1,"form-control","form-control-sm"],["type","text","formControlName","billToWhattsup","maxlength","13","placeholder","Enter Whatsapp Number ",1,"form-control","form-control-sm"],[1,"form-grid","form_groupnew"],["type","checkbox","checked","checked",1,"",3,"change"],["type","text","formControlName","billToEmail","placeholder","Enter Email",1,"form-control","form-control-sm"],["type","text","formControlName","billToEmirateId","placeholder","Enter Emirate ID",1,"form-control","form-control-sm",3,"input"],["name","remarks","id","Remarks","rows","1","cols","50","formControlName","remarks","placeholder","ENTER REMARKS",1,"form-control","form-control-sm",3,"input"],[1,"row","justify-content-end"],[1,"col-sm-4","col-12"],[1,"font-18","font-medium","mb-0",3,"click"],[1,"font-18","font-medium","mb-3","mb-md-0","mr-3",3,"click"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(e,t){1&e&&c.Cc(0,Le,151,32,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,O.a,a.m,a.f,a.b,a.j,a.k],pipes:[i.d],styles:[".form_groupnew[_ngcontent-%COMP%]{display:flex;align-items:center}.form_groupnew[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:12px;margin-top:0}.form_groupnew[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin-right:10px;width:auto}.get-a-quote-form-wraper[_ngcontent-%COMP%]{width:100%}"]}),e})();var Pe=n("mrSG"),Fe=n("K3ix");function Be(e,t){if(1&e&&(c.Rb(0,"tbody"),c.Rb(1,"tr"),c.Rb(2,"td"),c.Ec(3),c.fc(4,"date"),c.Qb(),c.Rb(5,"td"),c.Ec(6),c.Qb(),c.Rb(7,"td"),c.Ec(8),c.Qb(),c.Qb(),c.Qb()),2&e){const e=t.$implicit;c.zb(3),c.Fc(c.hc(4,3,e.date,"medium")),c.zb(3),c.Fc(e.status),c.zb(2),c.Fc(e.statusMessage)}}function He(e,t){if(1&e&&(c.Rb(0,"tbody"),c.Rb(1,"tr"),c.Rb(2,"td"),c.Ec(3),c.Qb(),c.Rb(4,"td"),c.Ec(5),c.Qb(),c.Rb(6,"td"),c.Ec(7),c.Qb(),c.Qb(),c.Qb()),2&e){const e=t.$implicit;c.zb(3),c.Fc(e.lineNum),c.zb(2),c.Fc(e.boxName),c.zb(2),c.Gc("",e.boxWeight,"kg")}}let Ve=(()=>{class e{constructor(e){this.bsModalRef=e}ngOnInit(){console.log(this.invoice)}hide(){this.bsModalRef.hide()}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(Fe.a))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-viewtracking"]],inputs:{invoice:"invoice"}
1,decls:70,vars:13,consts:[[1,"viewModal"],[1,"view-modal-container"],[1,"shipDetails","trackDetails"],[1,"shipItemRow"],[1,"shipBlock"],[1,"adrsDetails"],[1,"adrsHead"],[1,"adrsItem"],[1,"leftHead"],[1,"trackHistory"],[4,"ngFor","ngForOf"],[1,"closeIcon"],["src","assets/images/close.png","alt","",3,"click"]],template:function(e,t){1&e&&(c.Rb(0,"div",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"h2"),c.Ec(4,"INVOICE DETAILS"),c.Qb(),c.Rb(5,"div",3),c.Rb(6,"div",4),c.Rb(7,"span"),c.Ec(8,"Invoice Number"),c.Qb(),c.Rb(9,"h4"),c.Ec(10),c.Qb(),c.Qb(),c.Rb(11,"div",4),c.Rb(12,"span"),c.Ec(13,"Invoice Date"),c.Qb(),c.Rb(14,"h4"),c.Ec(15),c.fc(16,"date"),c.Qb(),c.Qb(),c.Rb(17,"div",4),c.Rb(18,"span"),c.Ec(19,"Reciever Name"),c.Qb(),c.Rb(20,"h4"),c.Ec(21),c.Qb(),c.Qb(),c.Rb(22,"div",4),c.Rb(23,"span"),c.Ec(24,"Boxes"),c.Qb(),c.Rb(25,"h4"),c.Ec(26),c.Qb(),c.Qb(),c.Qb(),c.Rb(27,"div",5),c.Rb(28,"span",6),c.Ec(29,"Reciever Address"),c.Qb(),c.Rb(30,"div",7),c.Rb(31,"span",8),c.Ec(32),c.Qb(),c.Qb(),c.Rb(33,"div",7),c.Rb(34,"span",8),c.Ec(35),c.Qb(),c.Qb(),c.Rb(36,"div",7),c.Rb(37,"span",8),c.Ec(38),c.Qb(),c.Qb(),c.Rb(39,"div",7),c.Rb(40,"span",8),c.Ec(41),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(42,"div",9),c.Rb(43,"h2"),c.Ec(44,"TRACKING HISTORY"),c.Qb(),c.Rb(45,"table"),c.Rb(46,"thead"),c.Rb(47,"tr"),c.Rb(48,"th"),c.Ec(49,"Date & Time"),c.Qb(),c.Rb(50,"th"),c.Ec(51,"Reached at"),c.Qb(),c.Rb(52,"th"),c.Ec(53,"Message"),c.Qb(),c.Qb(),c.Qb(),c.Cc(54,Be,9,6,"tbody",10),c.Qb(),c.Qb(),c.Rb(55,"div",9),c.Rb(56,"h2"),c.Ec(57,"CONSIGNMENT"),c.Qb(),c.Rb(58,"table"),c.Rb(59,"thead"),c.Rb(60,"tr"),c.Rb(61,"th"),c.Ec(62,"Box No"),c.Qb(),c.Rb(63,"th"),c.Ec(64,"Box Name"),c.Qb(),c.Rb(65,"th"),c.Ec(66,"Weight"),c.Qb(),c.Qb(),c.Qb(),c.Cc(67,He,8,3,"tbody",10),c.Qb(),c.Qb(),c.Rb(68,"div",11),c.Rb(69,"img",12),c.ac("click",(function(){return t.hide()})),c.Qb(),c.Qb(),c.Qb()),2&e&&(c.zb(10),c.Fc(t.invoice.refNum),c.zb(5),c.Fc(c.hc(16,10,t.invoice.docDate,"medium")),c.zb(6),c.Fc(t.invoice.shipToName),c.zb(5),c.Fc(t.invoice.boxesCount),c.zb(6),c.Gc("",t.invoice.shipToAddress," "),c.zb(3),c.Fc(t.invoice.shipToCity),c.zb(3),c.Fc(t.invoice.shipToPhone1),c.zb(3),c.Fc(t.invoice.shipToZipCode),c.zb(13),c.kc("ngForOf",t.invoice.trackingHistory),c.zb(13),c.kc("ngForOf",t.invoice.consignments))},directives:[i.k],pipes:[i.d],styles:[""]}),e})();function Ne(e,t){1&e&&c.Mb(0,"div")}function ze(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Review length should be less than 500"),c.Qb())}function je(e,t){if(1&e&&(c.Rb(0,"div",15),c.Cc(1,Ne,1,0,"div",16),c.Cc(2,ze,2,0,"div",16),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.item.remarks.errors.required),c.zb(1),c.kc("ngIf",e.item.remarks.errors.maxlength)}}function Ye(e,t){if(1&e){const e=c.Sb();c.Rb(0,"li"),c.Rb(1,"i",17),c.ac("click",(function(){c.wc(e);const n=t.$implicit;return c.ec(2).countStar(n)})),c.Qb(),c.Qb()}if(2&e){const e=t.$implicit,n=c.ec(2);c.zb(1),c.kc("ngClass",e<=n.rating&&n.rating>0?"fa fa-star active":"fa fa-star")}}function We(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"div",3),c.Rb(3,"div",4),c.Rb(4,"h1"),c.Ec(5,"Submit Review"),c.Qb(),c.Qb(),c.Rb(6,"div",5),c.Mb(7,"textarea",6),c.Cc(8,je,3,2,"div",7),c.Rb(9,"div",8),c.Rb(10,"ul"),c.Cc(11,Ye,2,1,"li",9),c.Qb(),c.Qb(),c.Rb(12,"div",10),c.Rb(13,"button",11),c.ac("click",(function(t){return c.wc(e),c.ec().onSubmit(t)})),c.Ec(14,"Submit"),c.Qb(),c.Rb(15,"button",12),c.ac("click",(function(){return c.wc(e),c.ec().cancel()})),c.Ec(16,"Cancel"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(17,"div",13),c.Rb(18,"img",14),c.ac("click",(function(){return c.wc(e),c.ec().hide()})),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(8),c.kc("ngIf",e.submitted&&e.item.remarks.errors),c.zb(3),c.kc("ngForOf",e.rates)}}let Qe=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.httpService=t,this.fb=n,this.toastrService=i,this.bsModalRef=r,this.submitted=!1,this.createApi=l.a.feedbackService,this.resourceManagementNavPath="/admin/myinvoice",this.rates=[1,2,3,4,5],this.rating=0}ngOnInit(){this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn")),this.createForm()}createForm(){this.resourceForm=this.fb.group({remarks:new a.d("",a.r.compose([a.r.required,a.r.maxLength(500)])),ratingCount:new a.d})}hide(){this.bsModalRef.hide()}countStar(e){e&&(this.rating=e,this.resourceForm.controls.ratingCount.setValue(e))}get item(){return this.resourceForm.controls}onSubmit(e){this.submitted=!0;const t=this.resourceForm.value;t.invoiceId=this.invoice,t.createdBy=this.logggedInUser.sub,console.log(this.createApi),this.resourceForm.invali
1d||this.httpService.post(this.createApi,t).subscribe(e=>{e&&(this.toastrService.success("Review Added"),this.bsModalRef.hide())})}cancel(){this.bsModalRef.hide()}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(r.c),c.Lb(u.a),c.Lb(a.c),c.Lb(d.b),c.Lb(Fe.a))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-submitreview"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"viewModal"],[1,"submit-review-wrapper"],[1,"submit-review-head"],[1,"review-box"],["formControlName","remarks","placeholder","Enter your review...",1,"w-100"],["class","invalid-feedback",4,"ngIf"],[1,"star-rating"],[4,"ngFor","ngForOf"],[1,"btnList"],["type","submit",1,"submitBtn",3,"click"],["type","submit",1,"cancelBtn",3,"click"],[1,"closeIcon"],["src","assets/images/close.png","alt","",3,"click"],[1,"invalid-feedback"],[4,"ngIf"],["aria-hidden","true",3,"ngClass","click"]],template:function(e,t){1&e&&c.Cc(0,We,19,3,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f,i.k,i.j],styles:[".star-rating[_ngcontent-%COMP%]{display:inline-block}.fa[_ngcontent-%COMP%]{font-size:1.5rem;color:gold}.star-rating[_ngcontent-%COMP%]{margin-top:15px}.star-rating[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{display:flex;align-items:center}.star-rating[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:8px;list-style:none}.star-rating[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1em}.viewModal[_ngcontent-%COMP%]   .submit-review-head[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px;color:#fff}.viewModal[_ngcontent-%COMP%]   .review-box[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{height:130px;padding:15px;color:#383838;border-radius:4px;font-size:16px;margin-top:20px}.viewModal[_ngcontent-%COMP%]   .btnList[_ngcontent-%COMP%]{margin-top:20px;display:flex;gap:20px}.viewModal[_ngcontent-%COMP%]   .btnList[_ngcontent-%COMP%]   .cancelBtn[_ngcontent-%COMP%], .viewModal[_ngcontent-%COMP%]   .btnList[_ngcontent-%COMP%]   .submitBtn[_ngcontent-%COMP%]{width:100px;height:40px;border:none;border-radius:4px;color:#000;font-size:16px;justify-content:center;display:flex;align-items:center}.fa.fa-star[_ngcontent-%COMP%]{color:#e8e8e8}.fa.fa-star[_ngcontent-%COMP%]:hover{color:#ddd}.fa.fa-star.active[_ngcontent-%COMP%]{color:#fdcc0d}"]}),e})();function $e(e,t){1&e&&(c.Rb(0,"span"),c.Ec(1," Document"),c.Qb())}function Ge(e,t){1&e&&(c.Rb(0,"span"),c.Ec(1," Parcel"),c.Qb())}function Ke(e,t){1&e&&(c.Rb(0,"span"),c.Ec(1," Transportation"),c.Qb())}function Ue(e,t){if(1&e&&(c.Rb(0,"tr"),c.Rb(1,"td"),c.Ec(2,"Driver"),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.Qb(),c.Qb()),2&e){const e=c.ec();c.zb(4),c.Hc(": ",e.mainData.agent.agentCode," - ",e.mainData.agent.agentName,"")}}function qe(e,t){if(1&e&&(c.Rb(0,"tr"),c.Rb(1,"td"),c.Ec(2,"Order Branch"),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.Qb(),c.Qb()),2&e){const e=c.ec();c.zb(4),c.Gc(": ",e.oBranch.branchName,"")}}function Je(e,t){if(1&e&&(c.Rb(0,"tr"),c.Rb(1,"td"),c.Ec(2,"Cheque Date"),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.fc(5,"date"),c.Qb(),c.Qb()),2&e){const e=c.ec(2);c.zb(4),c.Gc(": ",c.hc(5,1,e.mainData.salesReturn.chequeDate,"dd-MM-yyyy"),"")}}function Xe(e,t){1&e&&(c.Rb(0,"td"),c.Ec(1,": Cash"),c.Qb())}function Ze(e,t){1&e&&(c.Rb(0,"td"),c.Ec(1,": Bank"),c.Qb())}function et(e,t){1&e&&(c.Rb(0,"td"),c.Ec(1,": Cheque"),c.Qb())}function tt(e,t){if(1&e&&(c.Rb(0,"tr"),c.Rb(1,"td"),c.Ec(2,"Cheque No."),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.Qb(),c.Qb()),2&e){const e=c.ec(2);c.zb(4),c.Gc(": ",e.mainData.salesReturn.chequeNo,"")}}function nt(e,t){if(1&e&&(c.Rb(0,"div",8),c.Rb(1,"h3"),c.Ec(2,"Return Details"),c.Qb(),c.Rb(3,"div",9),c.Rb(4,"div",10),c.Rb(5,"table",11),c.Rb(6,"tr"),c.Rb(7,"td"),c.Ec(8,"Return Date"),c.Qb(),c.Rb(9,"td"),c.Ec(10),c.fc(11,"date"),c.Qb(),c.Qb(),c.Rb(12,"tr"),c.Rb(13,"td"),c.Ec(14,"Return No."),c.Qb(),c.Rb(15,"td"),c.Ec(16),c.Qb(),c.Qb(),c.Rb(17,"tr"),c.Rb(18,"td"),c.Ec(19,"Total Weight"),c.Qb(),c.Rb(20,"td"),c.Ec(21),c.fc(22,"number"),c.Qb(),c.Qb(),c.Rb(23,"tr"),c.Rb(24,"td"),c.Ec(25,"Return Charge"),c.Qb(),c.Rb(26,"td"),c.Ec(27),c.fc(28,"number"),c.Qb(),c.Qb(),c.Cc(29,Je,6,4,"tr",12),c.Qb(),c.Qb(),c.Rb(30,"div",10),c.Rb(31,"table",11),c.Rb(32,"tr"),c.Rb(33,"td"),c.Ec(34,"Amount"),c.Qb(),c.Rb(35,"td"),c.Ec(36),c.fc(37,"number"),c.Qb(),c.Qb(),c.Rb(38,"tr"),c.Rb(39,"td"),c.Ec(40,"Rate"),c.Qb(),c.Rb(41,"td"),c.Ec(42),c.fc(43,"number"),c.Qb(),c.Qb(),c.Rb(44,"tr"),c.Rb(45,"td"),c.Ec(46,"Total Amount"),c.Qb(),c.Rb(47,"td"),c.Ec(48),c.fc(49,"number"),c.Qb(),c.Qb(),c.Rb(50,"tr"),c.Rb(51,"td"),c.Ec(52,"Receipt Type"),c.Qb(),c.Cc(53,Xe,2,0,"td",12),c.Cc(54,Ze,2,0,"td",12),c.Cc(55,et,2,0,"td",12),c.Qb(),c.Cc(56,tt,5,1,"tr",12),c.Qb(),c.Qb(),c.Rb(57,"div",8),c.Rb(58,"span"),c.Ec(59,"Remarks"),c.Qb(),c.Rb(60,"span"),c.Ec(61),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e){const e=c.ec();c.zb(10),c.Gc(": ",c.hc(11,13,e.mainData.salesReturn.date,"dd-MM-yyyy"),""),c.zb(6),c.Gc(": ",e.mainData.salesReturn.docNo,""),c.zb(5),c.Gc(": ",c.hc(22,16,e.mainData.salesReturn.totalWeight,"1.3"),""),c.zb(6),c.Gc(": ",c.hc(28,19,e.mainData.salesReturn.salesReturnCharges,"1.2-2"),""),c.zb(2),c.kc("ngIf",null!=e.mainData.salesReturn.chequeDate&&""!=e.mainData.salesReturn.chequeDate),c.zb(7),c.Gc(": ",c.hc(37,22,e.mainData.salesReturn.amount,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(43,25,e.mainData.salesReturn.rate,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(49,28,e.mainData.salesReturn.totalAmount,"1.2-2"),""),c.zb(5),c.kc("ngIf","1"==e.mainData.salesReturn.receiptType),c.zb(1),c.kc("ngIf","2"==e.mainData.salesReturn.receiptType),c.zb(1),c.kc("ngIf","3"==e.mainData.salesReturn.receiptType),c.zb(1),c.kc("ngIf",null!=e.mainData.salesReturn.chequeNo&&""!=e.mainData.salesReturn.chequeNo),c.zb(5),c.Gc(": ",e.mainData.salesReturn.remarks,"")}}function it(e,t){if(1&e&&(c.Rb(0,"tr",25),c.Rb(1,"td"),c.Ec(2),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.Qb(),c.Rb(5,"td"),c.Ec(6),c.fc(7,"number"),c.Qb(),c.Rb(8,"td"),c.Ec(9),c.Qb(),c.Rb(10,"td"),c.Ec(11),c.Qb(),c.Rb(12,"td"),c.Ec(13),c.fc(14,"number"),c.Qb(),c.Rb(15,"td"),c.Ec(16),c.fc(17,"number"),c.Qb(),c.Rb(18,"td"),c.Ec(19),c.fc(20,"number"),c.Qb(),c.Rb(21,"td"),c.Ec(22),c.fc(23,"number"),c.Qb(),c.Rb(24,"td"),c.Ec(25),c.fc(26,"number"),c.Qb(),c.Qb()),2&e){const e=t.$implicit,n=t.index;c.zb(2),c.Fc(n+1),c.zb(2),c.Fc(e.boxName),c.zb(2),c.Fc(c.hc(7,10,e.boxWeight,"1.3")),c.zb(3),c.Fc(e.senderMobile),c.zb(2),c.Fc(e.receiverMobile),c.zb(2),c.Fc(c.hc(14,13,e.height,"1.2-2")),c.zb(3),c.Fc(c.hc(17,16,e.width,"1.2-2")),c.zb(3),c.Fc(c.hc(20,19,e.length,"1.2-2")),c.zb(3),c.Fc(c.hc(23,22,e.volume,"1.2-2")),c.zb(3),c.Fc(c.hc(26,25,e.cbm,"1.2-2"))}}function rt(e,t){if(1&e&&(c.Rb(0,"tr",25),c.Rb(1,"td"),c.Ec(2),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.Qb(),c.Rb(5,"td"),c.Ec(6),c.Qb(),c.Rb(7,"td"),c.Ec(8),c.Qb(),c.Rb(9,"td"),c.Ec(10),c.fc(11,"number"),c.Qb(),c.Rb(12,"td"),c.Ec(13),c.fc(14,"number"),c.Qb(),c.Rb(15,"td"),c.Ec(16),c.fc(17,"number"),c.Qb(),c.Rb(18,"td"),c.Ec(19),c.fc(20,"number"),c.Qb(),c.Qb()),2&e){const e=t.$implicit,n=t.index;c.zb(2),c.Fc(n+1),c.zb(2),c.Fc(e.invoiceBoxId),c.zb(2),c.Fc(e.itemCode),c.zb(2),c.Fc(e.itemName),c.zb(2),c.Fc(c.hc(11,8,e.quantity,"1.2-2")),c.zb(3),c.Fc(c.hc(14,11,e.price,"1.2-2")),c.zb(3),c.Fc(c.hc(17,14,e.additionalValue,"1.2-2")),c.zb(3),c.Fc(c.hc(20,17,e.itemDuty,"1.2-2"))}}function ot(e,t){if(1&e&&(c.Rb(0,"tr",25),c.Rb(1,"td"),c.Ec(2),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.fc(5,"number"),c.Qb(),c.Rb(6,"td"),c.Ec(7),c.fc(8,"number"),c.Qb(),c.Rb(9,"td"),c.Ec(10),c.fc(11,"number"),c.Qb(),c.Qb()),2&e){const e=t.$implicit,n=t.index;c.zb(2),c.Fc(n+1),c.zb(2),c.Fc(c.hc(5,4,e.weight,"1.3")),c.zb(3),c.Fc(c.hc(8,7,e.rate,"1.2-2")),c.zb(3),c.Fc(c.hc(11,10,e.amount,"1.2-2"))}}function st(e,t){if(1&e&&(c.Rb(0,"tr"),c.Rb(1,"td"),c.Ec(2,"Taxable Amou
1nt"),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.fc(5,"number"),c.Qb(),c.Qb()),2&e){const e=c.ec();c.zb(4),c.Gc(": ",c.hc(5,1,e.mainData.taxableAmount,"1.2-2"),"")}}function at(e,t){1&e&&(c.Rb(0,"tr"),c.Rb(1,"td"),c.Ec(2,"Taxable Amount"),c.Qb(),c.Rb(3,"td"),c.Ec(4,": 0.00"),c.Qb(),c.Qb())}function lt(e,t){if(1&e&&(c.Rb(0,"tr"),c.Rb(1,"td"),c.Ec(2,"Tax Amount (5% VAT)"),c.Qb(),c.Rb(3,"td"),c.Ec(4),c.fc(5,"number"),c.Qb(),c.Qb()),2&e){const e=c.ec();c.zb(4),c.Gc(": ",c.hc(5,1,e.mainData.taxAmount,"1.2-2"),"")}}function ct(e,t){1&e&&(c.Rb(0,"tr"),c.Rb(1,"td"),c.Ec(2,"Tax Amount (0% VAT)"),c.Qb(),c.Rb(3,"td"),c.Ec(4,": 0.00"),c.Qb(),c.Qb())}let ut=(()=>{class e{constructor(e){this.bsModalRef=e,this.mainData=null,this.shipType=null,this.branch=null,this.oBranch=null,this.sender=null,this.receiver=null}ngOnInit(){console.log("this.mainData",this.mainData),console.log("shipType",this.shipType),console.log("oBranch",this.oBranch)}close(){this.bsModalRef.hide()}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(Fe.a))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-view-invoice"]],decls:371,vars:102,consts:[[1,""],[2,"width","100%"],[1,"heading","d-flex","justify-content-between"],[3,"click"],[1,"bi","bi-x-lg"],[1,"model-body"],[1,"h-box"],[1,"row","body-h-box"],[1,"col-md-12"],[1,"row","justify-content-between","mb-4"],[1,"col-md-4"],[1,"view_summry_table"],[4,"ngIf"],["class","col-md-12",4,"ngIf"],[1,"col-12"],[1,"row","justify-content-between"],[1,"row"],[1,"pop-table"],[1,"main-pop-table"],[2,"background-color","#fff1f1"],["class","data-row",4,"ngFor","ngForOf"],[1,"h-box","mt-4"],[1,"col-md-5"],[1,"closeIcon"],["src","assets/images/close.png","alt","",3,"click"],[1,"data-row"]],template:function(e,t){1&e&&(c.Rb(0,"div",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"p"),c.Ec(4,"INVOICE"),c.Qb(),c.Rb(5,"span",3),c.ac("click",(function(){return t.close()})),c.Mb(6,"i",4),c.Qb(),c.Qb(),c.Rb(7,"div",5),c.Rb(8,"div",6),c.Rb(9,"div",7),c.Rb(10,"div",8),c.Rb(11,"h3"),c.Ec(12,"Details"),c.Qb(),c.Rb(13,"div",9),c.Rb(14,"div",10),c.Rb(15,"table",11),c.Rb(16,"tr"),c.Rb(17,"td"),c.Ec(18,"Branch"),c.Qb(),c.Rb(19,"td"),c.Ec(20),c.Qb(),c.Qb(),c.Rb(21,"tr"),c.Rb(22,"td"),c.Ec(23,"Ship Type"),c.Qb(),c.Rb(24,"td"),c.Ec(25),c.Qb(),c.Qb(),c.Rb(26,"tr"),c.Rb(27,"td"),c.Ec(28,"Ref Num"),c.Qb(),c.Rb(29,"td"),c.Ec(30),c.Qb(),c.Qb(),c.Rb(31,"tr"),c.Rb(32,"td"),c.Ec(33,"Invoice Date"),c.Qb(),c.Rb(34,"td"),c.Ec(35),c.fc(36,"date"),c.Qb(),c.Qb(),c.Rb(37,"tr"),c.Rb(38,"td"),c.Ec(39,"Invoice Time"),c.Qb(),c.Rb(40,"td"),c.Ec(41),c.fc(42,"date"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(43,"div",10),c.Rb(44,"table",11),c.Rb(45,"tr"),c.Rb(46,"td"),c.Ec(47,"Product Type"),c.Qb(),c.Rb(48,"td"),c.Ec(49,": "),c.Cc(50,$e,2,0,"span",12),c.Cc(51,Ge,2,0,"span",12),c.Cc(52,Ke,2,0,"span",12),c.Qb(),c.Qb(),c.Rb(53,"tr"),c.Rb(54,"td"),c.Ec(55,"Op Facility"),c.Qb(),c.Rb(56,"td"),c.Ec(57),c.Qb(),c.Qb(),c.Cc(58,Ue,5,2,"tr",12),c.Cc(59,qe,5,1,"tr",12),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Cc(60,nt,62,31,"div",13),c.Rb(61,"div",14),c.Rb(62,"div",15),c.Rb(63,"div",10),c.Rb(64,"h3"),c.Ec(65,"Sender Details"),c.Qb(),c.Rb(66,"div",16),c.Rb(67,"div",14),c.Rb(68,"table",11),c.Rb(69,"tr"),c.Rb(70,"td"),c.Ec(71,"Sender Name"),c.Qb(),c.Rb(72,"td"),c.Ec(73),c.Qb(),c.Qb(),c.Rb(74,"tr"),c.Rb(75,"td"),c.Ec(76,"Address"),c.Qb(),c.Rb(77,"td"),c.Ec(78),c.Qb(),c.Qb(),c.Rb(79,"tr"),c.Rb(80,"td"),c.Ec(81,"Country"),c.Qb(),c.Rb(82,"td"),c.Ec(83),c.Qb(),c.Qb(),c.Rb(84,"tr"),c.Rb(85,"td"),c.Ec(86,"Region"),c.Qb(),c.Rb(87,"td"),c.Ec(88),c.Qb(),c.Qb(),c.Rb(89,"tr"),c.Rb(90,"td"),c.Ec(91,"State"),c.Qb(),c.Rb(92,"td"),c.Ec(93),c.Qb(),c.Qb(),c.Rb(94,"tr"),c.Rb(95,"td"),c.Ec(96,"District"),c.Qb(),c.Rb(97,"td"),c.Ec(98),c.Qb(),c.Qb(),c.Rb(99,"tr"),c.Rb(100,"td"),c.Ec(101,"Zip Code"),c.Qb(),c.Rb(102,"td"),c.Ec(103),c.Qb(),c.Qb(),c.Rb(104,"tr"),c.Rb(105,"td"),c.Ec(106,"Email"),c.Qb(),c.Rb(107,"td"),c.Ec(108),c.Qb(),c.Qb(),c.Rb(109,"tr"),c.Rb(110,"td"),c.Ec(111,"Emirate ID"),c.Qb(),c.Rb(112,"td"),c.Ec(113),c.Qb(),c.Qb(),c.Rb(114,"tr"),c.Rb(115,"td"),c.Ec(116,"Passport"),c.Qb(),c.Rb(117,"td"),c.Ec(118),c.Qb(),c.Qb(),c.Rb(119,"tr"),c.Rb(120,"td"),c.Ec(121,"Expiry Date"),c.Qb(),c.Rb(122,"td"),c.Ec(123),c.fc(124,"date"),c.Qb(),c.Qb(),c.Rb(125,"tr"),c.Rb(126,"td"),c.Ec(127,"Mobile"),c.Qb(),c.Rb(128,"td"),c.Ec(129),c.Qb(),c.Qb(),c.Rb(130,"tr"),c.Rb(131,"td"),c.Ec(132,"Land Phone"),c.Qb(),c.Rb(133,"td"),c.Ec(134),c.Qb(),c.Qb(),c.Rb(135,"tr"),c.Mb(136,"td"),c.Mb(137,"td"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(138,"div",10),c.Rb(139,"h3"),c.Ec(140,"Receiver Details"),c.Qb(),c.Rb(141,"div",16),c.Rb(142,"div",14),c.Rb(143,"table",11),c.Rb(144,"tr"),c.Rb(145,"td"),c.Ec(146,"Receiver Name"),c.Qb(),c.Rb(147,"td"),c.Ec(148),c.Qb(),c.Qb(),c.Rb(149,"tr"),c.Rb(150,"td"),c.Ec(151,"Address"),c.Qb(),c.Rb(152,"td"),c.Ec(153),c.Qb(),c.Qb(),c.Rb(154,"tr"),c.Rb(155,"td"),c.Ec(156,"Country"),c.Qb(),c.Rb(157,"td"),c.Ec(158),c.Qb(),c.Qb(),c.Rb(159,"tr"),c.Rb(160,"td"),c.Ec(161,"Region"),c.Qb(),c.Rb(162,"td"),c.Ec(163),c.Qb(),c.Qb(),c.Rb(164,"tr"),c.Rb(165,"td"),c.Ec(166,"State"),c.Qb(),c.Rb(167,"td"),c.Ec(168),c.Qb(),c.Qb(),c.Rb(169,"tr"),c.Rb(170,"td"),c.Ec(171,"District"),c.Qb(),c.Rb(172,"td"),c.Ec(173),c.Qb(),c.Qb(),c.Rb(174,"tr"),c.Rb(175,"td"),c.Ec(176,"Zip Code"),c.Qb(),c.Rb(177,"td"),c.Ec(178),c.Qb(),c.Qb(),c.Rb(179,"tr"),c.Rb(180,"td"),c.Ec(181,"Email"),c.Qb(),c.Rb(182,"td"),c.Ec(183),c.Qb(),c.Qb(),c.Rb(184,"tr"),c.Rb(185,"td"),c.Ec(186,"Mobile"),c.Qb(),c.Rb(187,"td"),c.Ec(188),c.Qb(),c.Qb(),c.Rb(189,"tr"),c.Rb(190,"td"),c.Ec(191,"Land Phone"),c.Qb(),c.Rb(192,"td"),c.Ec(193),c.Qb(),c.Qb(),c.Rb(194,"tr"),c.Rb(195,"td"),c.Ec(196,"ID Type"),c.Qb(),c.Rb(197,"td"),c.Ec(198),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(199,"div",17),c.Rb(200,"div",1),c.Rb(201,"h3"),c.Ec(202," Box Details"),c.Qb(),c.Rb(203,"div",18),c.Rb(204,"table"),c.Rb(205,"tr"),c.Rb(206,"th",19),c.Ec(207,"Sl No."),c.Qb(),c.Rb(208,"th",19),c.Ec(209,"Box Name"),c.Qb(),c.Rb(210,"th",19),c.Ec(211,"Weight"),c.Qb(),c.Rb(212,"th",19),c.Ec(213,"Sender Mobile"),c.Qb(),c.Rb(214,"th",19),c.Ec(215,"Receiver Mobile"),c.Qb(),c.Rb(216,"th",19),c.Ec(217,"Height"),c.Qb(),c.Rb(218,"th",19),c.Ec(219,"Width"),c.Qb(),c.Rb(220,"th",19),c.Ec(221,"Length"),
1c.Qb(),c.Rb(222,"th",19),c.Ec(223,"Volume"),c.Qb(),c.Rb(224,"th",19),c.Ec(225,"CBM"),c.Qb(),c.Qb(),c.Cc(226,it,27,28,"tr",20),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(227,"div",17),c.Rb(228,"div",1),c.Rb(229,"h3"),c.Ec(230," Item Details"),c.Qb(),c.Rb(231,"div",18),c.Rb(232,"table"),c.Rb(233,"tr"),c.Rb(234,"th",19),c.Ec(235,"Sl No."),c.Qb(),c.Rb(236,"th",19),c.Ec(237,"Box No"),c.Qb(),c.Rb(238,"th",19),c.Ec(239,"Item Code"),c.Qb(),c.Rb(240,"th",19),c.Ec(241,"Item Name"),c.Qb(),c.Rb(242,"th",19),c.Ec(243,"Quantity"),c.Qb(),c.Rb(244,"th",19),c.Ec(245,"Price"),c.Qb(),c.Rb(246,"th",19),c.Ec(247,"Addl"),c.Qb(),c.Rb(248,"th",19),c.Ec(249,"Duty"),c.Qb(),c.Qb(),c.Cc(250,rt,21,20,"tr",20),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(251,"div",17),c.Rb(252,"div",1),c.Rb(253,"h3"),c.Ec(254," Rate Details"),c.Qb(),c.Rb(255,"div",18),c.Rb(256,"table"),c.Rb(257,"tr"),c.Rb(258,"th",19),c.Ec(259,"Sl No."),c.Qb(),c.Rb(260,"th",19),c.Ec(261,"Weight"),c.Qb(),c.Rb(262,"th",19),c.Ec(263,"Rate"),c.Qb(),c.Rb(264,"th",19),c.Ec(265,"Amount"),c.Qb(),c.Qb(),c.Cc(266,ot,12,13,"tr",20),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(267,"div",21),c.Rb(268,"div",7),c.Rb(269,"div",8),c.Rb(270,"h3"),c.Ec(271,"Charges Details"),c.Qb(),c.Rb(272,"div",16),c.Rb(273,"div",22),c.Rb(274,"table",11),c.Rb(275,"tr"),c.Rb(276,"td"),c.Ec(277,"Packing Charge"),c.Qb(),c.Rb(278,"td"),c.Ec(279),c.fc(280,"number"),c.Qb(),c.Qb(),c.Rb(281,"tr"),c.Rb(282,"td"),c.Ec(283,"AWB Charge"),c.Qb(),c.Rb(284,"td"),c.Ec(285),c.fc(286,"number"),c.Qb(),c.Qb(),c.Rb(287,"tr"),c.Rb(288,"td"),c.Ec(289,"Additional Charge"),c.Qb(),c.Rb(290,"td"),c.Ec(291),c.fc(292,"number"),c.Qb(),c.Qb(),c.Rb(293,"tr"),c.Rb(294,"td"),c.Ec(295,"Duty"),c.Qb(),c.Rb(296,"td"),c.Ec(297),c.fc(298,"number"),c.Qb(),c.Qb(),c.Rb(299,"tr"),c.Rb(300,"td"),c.Ec(301,"Gross Sales"),c.Qb(),c.Rb(302,"td"),c.Ec(303),c.fc(304,"number"),c.Qb(),c.Qb(),c.Rb(305,"tr"),c.Rb(306,"td"),c.Ec(307,"Discount"),c.Qb(),c.Rb(308,"td"),c.Ec(309),c.fc(310,"number"),c.Qb(),c.Qb(),c.Rb(311,"tr"),c.Rb(312,"td"),c.Ec(313,"Round Off"),c.Qb(),c.Rb(314,"td"),c.Ec(315),c.fc(316,"number"),c.Qb(),c.Qb(),c.Cc(317,st,6,4,"tr",12),c.Cc(318,at,5,0,"tr",12),c.Cc(319,lt,6,4,"tr",12),c.Cc(320,ct,5,0,"tr",12),c.Rb(321,"tr"),c.Rb(322,"td"),c.Ec(323,"Received"),c.Qb(),c.Rb(324,"td"),c.Ec(325),c.fc(326,"number"),c.Qb(),c.Qb(),c.Rb(327,"tr"),c.Rb(328,"td"),c.Ec(329,"Balance"),c.Qb(),c.Rb(330,"td"),c.Ec(331),c.fc(332,"number"),c.Qb(),c.Qb(),c.Rb(333,"tr"),c.Rb(334,"td"),c.Ec(335,"Net Sales"),c.Qb(),c.Rb(336,"td"),c.Ec(337),c.fc(338,"number"),c.Qb(),c.Qb(),c.Rb(339,"tr"),c.Rb(340,"td"),c.Ec(341,"Credit Collection"),c.Qb(),c.Rb(342,"td"),c.Ec(343),c.fc(344,"number"),c.Qb(),c.Qb(),c.Rb(345,"tr"),c.Rb(346,"td"),c.Ec(347,"Credit Collection Date"),c.Qb(),c.Rb(348,"td"),c.Ec(349),c.fc(350,"date"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(351,"div",21),c.Rb(352,"div",7),c.Rb(353,"div",14),c.Rb(354,"h3"),c.Ec(355,"Other Details"),c.Qb(),c.Rb(356,"div",10),c.Rb(357,"div",16),c.Rb(358,"table",11),c.Rb(359,"tr"),c.Rb(360,"td"),c.Ec(361,"packer"),c.Qb(),c.Rb(362,"td"),c.Ec(363),c.Qb(),c.Qb(),c.Rb(364,"tr"),c.Rb(365,"td"),c.Ec(366,"Remarks"),c.Qb(),c.Rb(367,"td"),c.Ec(368),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(369,"div",23),c.Rb(370,"img",24),c.ac("click",(function(){return t.close()})),c.Qb(),c.Qb(),c.Qb()),2&e&&(c.zb(20),c.Gc(": ",t.branch.branchName,""),c.zb(5),c.Gc(": ",t.shipType.shipTypeName,""),c.zb(5),c.Gc(": ",t.mainData.refNum,""),c.zb(5),c.Gc(": ",c.hc(36,57,t.mainData.docDate,"dd-MM-yyyy"),""),c.zb(6),c.Gc(": ",c.hc(42,60,t.mainData.docTime,"h:mm a"),""),c.zb(9),c.kc("ngIf",1===t.mainData.productTypeId),c.zb(1),c.kc("ngIf",2===t.mainData.productTypeId),c.zb(1),c.kc("ngIf",3===t.mainData.productTypeId),c.zb(5),c.Gc(": ",t.mainData.opFacilityName,""),c.zb(1),c.kc("ngIf",null!=t.mainData.agent),c.zb(1),c.kc("ngIf",null!=t.oBranch&&null!=t.oBranch),c.zb(1),c.kc("ngIf",t.mainData.salesReturn),c.zb(13),c.Gc(": ",t.mainData.billToName,""),c.zb(5),c.Gc(": ",t.mainData.billToAddress,""),c.zb(5),c.Gc(": ",t.sender.state.region.country.countryName,""),c.zb(5),c.Gc(": ",t.sender.state.regi
1on.regionName,""),c.zb(5),c.Gc(": ",t.sender.state.stateName,""),c.zb(5),c.Gc(": ",t.sender.countyName,""),c.zb(5),c.Gc(": ",t.mainData.billToZipCode,""),c.zb(5),c.Gc(": ",t.mainData.billToEmail,""),c.zb(5),c.Gc(": ",t.mainData.billToEmirateId,""),c.zb(5),c.Gc(": ",t.mainData.billToPassport,""),c.zb(5),c.Gc(": ",c.hc(124,63,t.mainData.billToExpiryDate,"dd-MM-yyyy"),""),c.zb(6),c.Gc(": ",t.mainData.billToPhone1,""),c.zb(5),c.Gc(": ",t.mainData.billToPhone2,""),c.zb(14),c.Gc(": ",t.mainData.shipToName,""),c.zb(5),c.Gc(": ",t.mainData.shipToAddress,""),c.zb(5),c.Gc(": ",t.receiver.state.region.country.countryName,""),c.zb(5),c.Gc(": ",t.receiver.state.region.regionName,""),c.zb(5),c.Gc(": ",t.receiver.state.stateName,""),c.zb(5),c.Gc(": ",t.receiver.countyName,""),c.zb(5),c.Gc(": ",t.mainData.shipToZipCode,""),c.zb(5),c.Gc(": ",t.mainData.shipToEmail,""),c.zb(5),c.Gc(": ",t.mainData.shipToPhone1,""),c.zb(5),c.Gc(": ",t.mainData.shipToPhone2,""),c.zb(5),c.Gc(": ",t.mainData.shipToIdType,""),c.zb(28),c.kc("ngForOf",t.mainData.invoiceBoxes),c.zb(24),c.kc("ngForOf",t.mainData.invoiceItems),c.zb(16),c.kc("ngForOf",t.mainData.invoiceRates),c.zb(13),c.Gc(": ",c.hc(280,66,t.mainData.packingCharge,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(286,69,t.mainData.awbCharge,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(292,72,t.mainData.additionalCharge,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(298,75,t.mainData.othersCharge,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(304,78,t.mainData.invoiceAmount,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(310,81,t.mainData.discount,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(316,84,t.mainData.roundOff,"1.2-2"),""),c.zb(2),c.kc("ngIf",2==t.mainData.invoiceType),c.zb(1),c.kc("ngIf",1==t.mainData.invoiceType||null==t.mainData.invoiceType),c.zb(1),c.kc("ngIf",2==t.mainData.invoiceType),c.zb(1),c.kc("ngIf",1==t.mainData.invoiceType||null==t.mainData.invoiceType),c.zb(5),c.Gc(": ",c.hc(326,87,t.mainData.recieved,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(332,90,t.mainData.balance,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(338,93,t.mainData.docTotal,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(344,96,t.mainData.creditReceived,"1.2-2"),""),c.zb(6),c.Gc(": ",c.hc(350,99,t.mainData.creditReceivedDate,"dd-MM-yyyy"),""),c.zb(14),c.Gc(": ",t.mainData.packer,""),c.zb(5),c.Gc(": ",t.mainData.remarks,""))},directives:[i.l,i.k],pipes:[i.d,i.e],styles:["table[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.1)}table[_ngcontent-%COMP%]{width:100%}.view_summry_table[_ngcontent-%COMP%]{border:0}.view_summry_table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border:0;font-size:12px;font-weight:500;width:50%}.heading[_ngcontent-%COMP%]{padding:15px 20px;background-color:#eb3f57;color:#fff;font-size:20px;font-weight:500;text-transform:uppercase}.heading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{cursor:pointer}.h-box[_ngcontent-%COMP%]{background-color:#fff1f1;padding:15px}.model-body[_ngcontent-%COMP%]{padding:20px;font-size:13.5px}.body-h-box[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:7px}.body-h-box[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   [class*=col-][_ngcontent-%COMP%]:last-child{margin-bottom:0}.body-h-box[_ngcontent-%COMP%]   [class*=col-][_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{position:relative;margin-bottom:0}.body-h-box[_ngcontent-%COMP%]   [class*=col-][_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:absolute;right:10%}.body-h-box[_ngcontent-%COMP%]   [class*=col-][_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   [class*=col-][_ngcontent-%COMP%]:first-child, h3[_ngcontent-%COMP%]{font-weight:500}h3[_ngcontent-%COMP%]{font-size:15.5px;text-transform:uppercase}.pop-table[_ngcontent-%COMP%]{margin-top:20px}.pop-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-weight:600;padding:5px 8px}.pop-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:4px 8px}.pop-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   .data-row[_ngcontent-%COMP%]:nth-child(odd)   td[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.03)}.h-149[_ngcontent-%COMP%]{max-height:149px;overflow:auto}.main-pop-table[_ngcontent-%COMP%]{max-height:442px;overflow:auto}[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;position:absolute;right:0;top:0}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}"]}),e})();var dt=n("ZzPI"),ht=n("jhN1"),pt=n("XPWh"),ft=n.n(pt),mt=n("PVOt");const gt=["*"];let _t=(()=>{let e=class extends mt.b{constructor(e,t,n,i,r,o,s){super(e,t,n,i,o,s),this._createEventEmitters([{subscribe:"click",emit:"onClick"},{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"disabledChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"iconChange"},{emit:"rtlEnabledChange"},{emit:"stylingModeChange"},{emit:"tabIndexChange"},{emit:"templateChange"},{emit:"textChange"},{emit:"typeChange"},{emit:"useSubmitBehaviorChange"},{emit:"validationGroupChange"},{emit:"visibleChange"},{emit:"widthChange"}]),r.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(e){this._setOption("accessKey",e)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(e){this._setOption("activeStateEnabled",e)}get disabled(){return this._getOption("disabled")}set disabled(e){this._setOption("disabled",e)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(e){this._setOption("elementAttr",e)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(e){this._setOption("focusStateEnabled",e)}get height(){return this._getOption("height")}set height(e){this._setOption("height",e)}get hint(){return this._getOption("hint")}set hint(e){this._setOption("hint",e)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(e){this._setOption("hoverStateEnabled",e)}get icon(){return this._getOption("icon")}set icon(e){this._setOption("icon",e)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(e){this._setOption("rtlEnabled",e)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(e){this._setOption("stylingMode",e)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(e){this._setOption("tabIndex",e)}get template(){return this._getOption("template")}set template(e){this._setOption("template",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}get type(){return this._getOption("type")}set type(e){this._setOption("type",e)}
1get useSubmitBehavior(){return this._getOption("useSubmitBehavior")}set useSubmitBehavior(e){this._setOption("useSubmitBehavior",e)}get validationGroup(){return this._getOption("validationGroup")}set validationGroup(e){this._setOption("validationGroup",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get width(){return this._getOption("width")}set width(e){this._setOption("width",e)}_createInstance(e,t){return new ft.a(e,t)}ngOnDestroy(){this._destroyWidget()}};return e.\u0275fac=function(t){return new(t||e)(c.Lb(c.l),c.Lb(c.z),c.Lb(mt.e),c.Lb(mt.j),c.Lb(mt.i),c.Lb(ht.d),c.Lb(c.B))},e.\u0275cmp=c.Fb({type:e,selectors:[["dx-button"]],inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",disabled:"disabled",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",icon:"icon",rtlEnabled:"rtlEnabled",stylingMode:"stylingMode",tabIndex:"tabIndex",template:"template",text:"text",type:"type",useSubmitBehavior:"useSubmitBehavior",validationGroup:"validationGroup",visible:"visible",width:"width"},outputs:{onClick:"onClick",onContentReady:"onContentReady",onDisposing:"onDisposing",onInitialized:"onInitialized",onOptionChanged:"onOptionChanged",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",disabledChange:"disabledChange",elementAttrChange:"elementAttrChange",focusStateEnabledChange:"focusStateEnabledChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",iconChange:"iconChange",rtlEnabledChange:"rtlEnabledChange",stylingModeChange:"stylingModeChange",tabIndexChange:"tabIndexChange",templateChange:"templateChange",textChange:"textChange",typeChange:"typeChange",useSubmitBehaviorChange:"useSubmitBehaviorChange",validationGroupChange:"validationGroupChange",visibleChange:"visibleChange",widthChange:"widthChange"},features:[c.yb([mt.e,mt.j,mt.i]),c.wb],ngContentSelectors:gt,decls:1,vars:0,template:function(e,t){1&e&&(c.jc(),c.ic(0))},encapsulation:2}),e})(),bt=(()=>{let e=class{};return e.\u0275mod=c.Jb({type:e}),e.\u0275inj=c.Ib({factory:function(t){return new(t||e)},imports:[[mt.c,mt.f,ht.b],mt.f]}),e})();var vt=n("6t9p");function yt(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div"),c.Rb(1,"a",22),c.Rb(2,"dx-button",23),c.ac("onClick",(function(n){c.wc(e);const i=t.$implicit;return c.ec().onChangePasswordClick(n,i)})),c.Qb(),c.Qb(),c.Qb()}}function wt(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div"),c.Rb(1,"a",22),c.Rb(2,"dx-button",24),c.ac("onClick",(function(n){c.wc(e);const i=t.$implicit;return c.ec().onFeedBackClick(n,i)})),c.Qb(),c.Qb(),c.Qb()}}function Ct(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div"),c.Rb(1,"dx-button",25),c.ac("onClick",(function(n){c.wc(e);const i=t.$implicit;return c.ec().onInvoiceViewClick(n,i)})),c.Qb(),c.Qb()}}const xt=function(){return[5,10,20]};let St=(()=>{class e{constructor(e,t,n){this.httpService=e,this.modalService=t,this.fb=n,this.title="My Invoice",this.getGridDataApi=l.a.userService+"/getInvoicesByCustomerId/",this.editNavPath="/admin/item-edit",this.createNavPath="/admin/item-create",this.gridKey="GRD",this.keyField="itemId",this.getOrderBranchDetailsApi=l.a.invoiceBookingService+"/getOrderBranchDetailsByBookingNum",this.resourceGetByIdApi=l.a.invoiceService+"/",this.getSalesReturnByInvoiceIdApi=l.a.salesReturnService+"/getSalesReturnByInvoiceId/",this.getCustomerApi=l.a.userService+"/getCustomerByUserId/",this.getShipTypeApi=l.a.shipTypeService,this.getCountyApi=l.a.countyService,this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn")),this.columnDefs=["itemCode","itemName",{dataField:"itemCategory.itemCategoryName",caption:"Item Category"},{dataField:"status",caption:"Is Active"}]}ngOnInit(){this.createForm(),this.getCustomer(),this.getShipTypes(),this.getCounties()}createForm(){this.gridManagementForm=this.fb.group({search:new a.d("")})}onChangePasswordClick(e,t){this.httpService.post(l.a.userService+"/trackCustomerInvoice",{refNum:t.data.refNum,phone:t.data.billToPhone1}).subscribe(e=>{e&&(this.bsModalRef=this.modalService.show(Ve,{initialState:{invoice:e.data},class:"modal-lg modal-dialog-centered"}))})}getCustomer(){this.httpService.get(this.getCustomerApi+this.logggedInUser.sub).subscribe(e=>{e&&(this.customer=e,this.bindData())})}bindData(){console.log(this.customer.result.data.customerId),this.httpService.get(this.getGridDataApi+this.customer.result.data.customerId).subscribe(e=>{this.dataSource=e,this.dataSource.forEach((e,t)=>{e.slNo=t+1})})}customizeColumns(e){e[0].alignment="left",e[2].alignment="left",e[0].allowSorting=!0,e[1].allowSorting=!0,e[2].allowSorting=!0}onInvoiceViewClick(e,t){return Object(Pe.a)(this,void 0,void 0,(function*(){console.log(t),yield this.getOrderBranchData(t.data.invoiceBookingNumber),yield this.getInvoiceById(t.data.invoiceId),1==this.invoiceData.isReturn&&(yield this.get
1SalesReturnDetailsByInvoiceId(t.data.invoiceId),this.invoiceData.salesReturn=this.salesReturnData),t.data.invoiceBoxes=this.invoiceData.invoiceBoxes.sort((e,t)=>e.lineNum>t.lineNum?1:-1),t.data.invoiceItems=this.invoiceData.invoiceItems.sort((e,t)=>e.invoiceBoxId>t.invoiceBoxId?1:-1),t.data.invoiceRates=this.invoiceData.invoiceRates.sort((e,t)=>e.lineNum>t.lineNum?1:-1);let e=this.shipTypes.filter(e=>e.shipTypeId==this.invoiceData.shipTypeId)[0],n=this.invoiceData.branch;console.log(this.counties),this.senderCounty=this.counties.filter(e=>e.countyId==this.invoiceData.billToCountyId)[0],this.receiverCounty=this.counties.filter(e=>e.countyId==this.invoiceData.shipToCountyId)[0],this.bsModalRef=this.modalService.show(ut,{initialState:{mainData:this.invoiceData,shipType:e,branch:n,oBranch:this.orderBranch,sender:this.senderCounty,receiver:this.receiverCounty},class:"modal-dialog-centered"})}))}getOrderBranchData(e){return Object(Pe.a)(this,void 0,void 0,(function*(){return console.log(e),(yield this.httpService.get(this.getOrderBranchDetailsApi+"/"+e)).toPromise().then(e=>{console.log("order",e),200==e.statusCode&&(this.orderBranch=e.data)})}))}getInvoiceById(e){return Object(Pe.a)(this,void 0,void 0,(function*(){return(yield this.httpService.get(this.resourceGetByIdApi+e)).toPromise().then(e=>{e&&(console.log(e),this.invoiceData=e)})}))}getSalesReturnDetailsByInvoiceId(e){return Object(Pe.a)(this,void 0,void 0,(function*(){return(yield this.httpService.get(this.getSalesReturnByInvoiceIdApi+e)).toPromise().then(e=>{e&&(this.salesReturnData=e)})}))}onFeedBackClick(e,t){console.log(t.data.invoiceId),this.bsModalRef=this.modalService.show(Qe,{initialState:{invoice:t.data.invoiceId},class:"modal-lg modal-dialog-centered"})}getShipTypes(){this.httpService.get(this.getShipTypeApi).subscribe(e=>{e&&(this.shipTypes=e)})}getCounties(){this.httpService.get(this.getCountyApi).subscribe(e=>{e&&(this.counties=e)})}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(u.a),c.Lb(Fe.b),c.Lb(a.c))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-myinvoice"]],decls:27,vars:18,consts:[[1,"my-invoice-page",3,"formGroup"],[1,"col-12","pr-5","pl-5","d-flex","justify-content-between","flex-wrap","dashboard-right-wrap"],[1,"col-12","head-card","mb-5"],[1,"row","align-items-center","justify-content-between"],[1,"col-8"],[1,"col-12","each-input-box","invoice-table","p-3",2,"background-color","#fff"],["id","gridContainer",3,"dataSource","showBorders","columns","customizeColumns"],["grid",""],["dataField","slNo","caption","Sl No"],["dataField","invoiceBookingNumber","caption","Booking Number","alignment","Center",3,"visible"],["dataField","docDate","caption","Date","dataType","date"],["dataField","branchName","caption","Branch"],["dataField","refNum","caption","Invoice Number"],["dataField","billTo","caption","Address"],["dataField","shipTypeName","caption","Ship Type Name"],["dataField","billToPhone1","caption","Phone"],["type","buttons","caption","Track","cellTemplate","passwordChangeTemplate"],["type","buttons","caption","Vie
1w","cellTemplate","viewInvoiceTemplate"],["type","buttons","caption","FeedBack","cellTemplate","submitreviewTemplate"],[4,"dxTemplate","dxTemplateOf"],[3,"visible","showNavigationButtons","showPageSizeSelector","allowedPageSizes","showInfo"],[3,"visible"],[1,"active"],["text","Track Now",1,"btn","btn-red","font-18","font-medium","mb-3","mb-sm-0","mr-1",3,"onClick"],["text","FeedBack",1,"btn","btn-red","font-18","font-medium","mb-3","mb-sm-0","mr-1",3,"onClick"],["hint","View","icon","/assets/images/eye.svg","stylingMode","contained",3,"onClick"]],template:function(e,t){1&e&&(c.Rb(0,"form",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"div",3),c.Rb(4,"div",4),c.Rb(5,"h4"),c.Ec(6),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(7,"div",5),c.Rb(8,"dx-data-grid",6,7),c.Mb(10,"dxi-column",8),c.Mb(11,"dxi-column",9),c.Mb(12,"dxi-column",10),c.Mb(13,"dxi-column",11),c.Mb(14,"dxi-column",12),c.Mb(15,"dxi-column",13),c.Mb(16,"dxi-column",14),c.Mb(17,"dxi-column",15),c.Mb(18,"dxi-column",16),c.Mb(19,"dxi-column",17),c.Mb(20,"dxi-column",18),c.Cc(21,yt,3,0,"div",19),c.Cc(22,wt,3,0,"div",19),c.Cc(23,Ct,2,0,"div",19),c.Mb(24,"dxo-pager",20),c.Mb(25,"dxo-filter-row",21),c.Mb(26,"dxo-search-panel",21),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e&&(c.kc("formGroup",t.gridManagementForm),c.zb(6),c.Fc(t.title),c.zb(2),c.kc("dataSource",t.dataSource)("showBorders",!0)("columns",t.columnDefs)("customizeColumns",t.customizeColumns),c.zb(3),c.kc("visible",!1),c.zb(10),c.kc("dxTemplateOf","passwordChangeTemplate"),c.zb(1),c.kc("dxTemplateOf","submitreviewTemplate"),c.zb(1),c.kc("dxTemplateOf","viewInvoiceTemplate"),c.zb(1),c.kc("visible",!0)("showNavigationButtons",!0)("showPageSizeSelector",!0)("allowedPageSizes",c.oc(17,xt))("showInfo",!0),c.zb(1),c.kc("visible",!0),c.zb(1),c.kc("visible",!0))},directives:[a.s,a.n,a.h,dt.a,vt.c,mt.d,vt.ab,vt.H,vt.jb,_t],styles:[""]}),e})();function kt(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1," Date is required"),c.Qb())}function Tt(e,t){if(1&e&&(c.Rb(0,"div",17),c.Cc(1,kt,2,0,"div",18),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.docDate.errors.required)}}function Et(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Time is required"),c.Qb())}function It(e,t){if(1&e&&(c.Rb(0,"div",17),c.Cc(1,Et,2,0,"div",18),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.docTime.errors.required)}}function Dt(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Remarks length should be less than 300"),c.Qb())}function Mt(e,t){if(1&e&&(c.Rb(0,"div",17),c.Cc(1,Dt,2,0,"div",18),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.reason.errors.maxlength)}}function Ot(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"div",3),c.Rb(3,"div",4),c.Rb(4,"div",5),c.Rb(5,"h3"),c.Ec(6,"Confirm"),c.Qb(),c.Rb(7,"p"),c.Ec(8),c.Qb(),c.Qb(),c.Rb(9,"div",6),c.Rb(10,"div",7),c.Rb(11,"label"),c.Ec(12," Date"),c.Qb(),c.Mb(13,"input",8),c.Cc(14,Tt,2,1,"div",9),c.Qb(),c.Qb(),c.Rb(15,"div",6),c.Rb(16,"div",7),c.Rb(17,"label"),c.Ec(18,"Time"),c.Qb(),c.Mb(19,"input",10),c.Cc(20,It,2,1,"div",9),c.Qb(),c.Qb(),c.Rb(21,"div",6),c.Rb(22,"div",7),c.Rb(23,"label"),c.Ec(24,"Remarks"),c.Qb(),c.Rb(25,"textarea",11),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("remarks")})),c.Qb(),c.Cc(26,Mt,2,1,"div",9),c.Qb(),c.Qb(),c.Rb(27,"div",12),c.Rb(28,"button",13),c.ac("click",(function(t){return c.wc(e),c.ec().onSubmit(t)})),c.Ec(29,"Submit"),c.Qb(),c.Rb(30,"button",14),c.ac("click",(function(){return c.wc(e),c.ec().cancel()})),c.Ec(31,"Cancel"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(32,"div",15),c.Rb(33,"img",16),c.ac("click",(function(){return c.wc(e),c.ec().hide()})),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(8),c.Gc("Are You Sure To Cancel The Booking ",e.refNum,""),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.docDate.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.docTime.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.reason.errors)}}let Rt=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.httpService=t,this.fb=n,this.toastrService=i,this.bsModalRef=r,this.rxTime=new Date}ngOnInit(){this.createFrom()}hide(){this.bsModalRef.hide()}changeTextToUppercase(e){}get f(){return this.resourceForm.controls}createFrom(){this.resourceForm=this.fb.group({docDate:new a.d(E().format("yyyy-MM-DD"),a.r.required),docTime:new a.d(E().format("HH:mm:ss"),a.r.required),reason:new a.d})}onSubmit(e){this.submitted=!0;const t=this.resourceForm.value;t.CurrentStatusId=3,t.invoiceBookingId=this.bookingId,this.resourceForm.invali
1d||this.httpService.put(l.a.userService+"/updateCustomerBookingToPostPond",t).subscribe(e=>{e&&(this.toastrService.success("Booking Canceled"),this.bsModalRef.hide(),window.location.reload())})}cancel(){}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(r.c),c.Lb(u.a),c.Lb(a.c),c.Lb(d.b),c.Lb(Fe.a))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-cancelbooking"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"viewModal"],[1,"view-modal-container"],[1,"col-11","get-a-quote-form-wraper"],[1,"confirmHead","mb-3"],[1,"col-md-12"],[1,"form-grid"],["type","date","formControlName","docDate","name","docDate","placeholder","Select  Date",1,"form-control","form-control-sm"],["class","invalid-feedback",4,"ngIf"],["type","time","formControlName","docTime","name","docTime","readonly","",1,"form-control","form-control-sm"],["name","remarks","id","Remarks","rows","1","cols","50","formControlName","reason","placeholder","ENTER REMARKS",1,"form-control","form-control-sm",3,"input"],[1,"btnList","btngap"],["type","submit",1,"submitBtn","con-submit",3,"click"],["type","submit",1,"cancelBtn","con-cancel",3,"click"],[1,"closeIcon"],["src","assets/images/close.png","alt","",3,"click"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(e,t){1&e&&c.Cc(0,Ot,34,5,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f],styles:[".confirmHead[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:red;margin-bottom:15px;text-align:left!important;font-size:22px;font-weight:500}.confirmHead[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#000}.btngap[_ngcontent-%COMP%]{gap:20px;display:flex;align-items:center}.con-cancel[_ngcontent-%COMP%], .con-submit[_ngcontent-%COMP%]{background-color:red;color:#fff!important;width:100px;height:40px;border:none;border-radius:4px;font-size:16px;justify-content:center;display:flex;align-items:center}"]}),e})();function Lt(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1," Date is required"),c.Qb())}function At(e,t){if(1&e&&(c.Rb(0,"div",17),c.Cc(1,Lt,2,0,"div",18),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.docDate.errors.required)}}function Pt(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Time is required"),c.Qb())}function Ft(e,t){if(1&e&&(c.Rb(0,"div",17),c.Cc(1,Pt,2,0,"div",18),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.docTime.errors.required)}}function Bt(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Remarks length should be less than 300"),c.Qb())}function Ht(e,t){if(1&e&&(c.Rb(0,"div",17),c.Cc(1,Bt,2,0,"div",18),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.reason.errors.maxlength)}}function Vt(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"div",3),c.Rb(3,"div",4),c.Rb(4,"div",5),c.Rb(5,"h3"),c.Ec(6,"Confirm"),c.Qb(),c.Rb(7,"p"),c.Ec(8),c.Qb(),c.Qb(),c.Rb(9,"div",6),c.Rb(10,"div",7),c.Rb(11,"label"),c.Ec(12," Date"),c.Qb(),c.Mb(13,"input",8),c.Cc(14,At,2,1,"div",9),c.Qb(),c.Qb(),c.Rb(15,"div",6),c.Rb(16,"div",7),c.Rb(17,"label"),c.Ec(18,"Time"),c.Qb(),c.Mb(19,"input",10),c.Cc(20,Ft,2,1,"div",9),c.Qb(),c.Qb(),c.Rb(21,"div",6),c.Rb(22,"div",7),c.Rb(23,"label"),c.Ec(24,"Remarks"),c.Qb(),c.Rb(25,"textarea",11),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("remarks")})),c.Qb(),c.Cc(26,Ht,2,1,"div",9),c.Qb(),c.Qb(),c.Rb(27,"div",12),c.Rb(28,"button",13),c.ac("click",(function(t){return c.wc(e),c.ec().onSubmit(t)})),c.Ec(29,"Submit"),c.Qb(),c.Rb(30,"button",14),c.ac("click",(function(){return c.wc(e),c.ec().hide()})),c.Ec(31,"Cancel"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(32,"div",15),c.Rb(33,"img",16),c.ac("click",(function(){return c.wc(e),c.ec().hide()})),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(8),c.Gc("Are You Sure To POSTPONE The Booking ",e.refNum,""),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.docDate.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.docTime.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.reason.errors)}}let Nt=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.httpService=t,this.fb=n,this.toastrService=i,this.bsModalRef=r,this.rxTime=new Date}ngOnInit(){this.createFrom()}hide(){this.bsModalRef.hide()}changeTextToUppercase(e){}get f(){return this.resourceForm.controls}createFrom(){this.resourceForm=this.fb.group({docDate:new a.d(E().format("yyyy-MM-DD"),a.r.required),docTime:new a.d(E().format("HH:mm:ss"),a.r.required),reason:new a.d})}onSubmit(e){this.submitted=!0;const t=this.resourceForm.value;t.CurrentStatusId=1==this.post?2:-1,t.invoiceBookingId=this.bookingId,this.resourceForm.invali
1d||this.httpService.put(l.a.userService+"/updateCustomerBookingToPostPond",t).subscribe(e=>{e&&(this.toastrService.success(" Added"),this.bsModalRef.hide(),window.location.reload())})}cancel(){}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(r.c),c.Lb(u.a),c.Lb(a.c),c.Lb(d.b),c.Lb(Fe.a))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-postpondbooking"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"viewModal"],[1,"view-modal-container"],[1,"col-11","get-a-quote-form-wraper"],[1,"confirmHead","mb-3"],[1,"col-md-12"],[1,"form-grid"],["type","date","formControlName","docDate","name","docDate","placeholder","Select  Date",1,"form-control","form-control-sm"],["class","invalid-feedback",4,"ngIf"],["type","time","formControlName","docTime","name","docTime","readonly","",1,"form-control","form-control-sm"],["name","remarks","id","Remarks","rows","1","cols","50","formControlName","reason","placeholder","ENTER REMARKS",1,"form-control","form-control-sm",3,"input"],[1,"btnList"],["type","submit",1,"submitBtn","con-submit",3,"click"],["type","submit",1,"cancelBtn","con-cancel",3,"click"],[1,"closeIcon"],["src","assets/images/close.png","alt","",3,"click"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(e,t){1&e&&c.Cc(0,Vt,34,5,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f],styles:[".viewModal[_ngcontent-%COMP%]   .btnList[_ngcontent-%COMP%]   .cancelBtn[_ngcontent-%COMP%], .viewModal[_ngcontent-%COMP%]   .btnList[_ngcontent-%COMP%]   .submitBtn[_ngcontent-%COMP%]{width:100px;height:40px;border:none;border-radius:4px;color:#000;font-size:16px;justify-content:center;display:flex;align-items:center}.viewModal[_ngcontent-%COMP%]   .btnList[_ngcontent-%COMP%]{margin-top:20px;display:flex;gap:20px}.confirmHead[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:red;margin-bottom:15px;text-align:left!important;font-size:22px;font-weight:500}.confirmHead[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#000}.con-cancel[_ngcontent-%COMP%], .con-submit[_ngcontent-%COMP%]{background-color:red;color:#fff!important}"]}),e})();function zt(e,t){if(1&e){const e=c.Sb();c.Rb(0,"a",19),c.Rb(1,"dx-button",20),c.ac("onClick",(function(t){c.wc(e);const n=c.ec().$implicit;return c.ec().onPostPond(t,n)})),c.Qb(),c.Qb()}}function jt(e,t){if(1&e){const e=c.Sb();c.Rb(0,"a",19),c.Rb(1,"dx-button",21),c.ac("onClick",(function(t){c.wc(e);const n=c.ec().$implicit;return c.ec().onPostPond1(t,n)})),c.Qb(),c.Qb()}}function Yt(e,t){if(1&e&&(c.Rb(0,"div"),c.Cc(1,zt,2,0,"a",18),c.Cc(2,jt,2,0,"a",18),c.Qb()),2&e){const e=t.$implicit;c.zb(1),c.kc("ngIf",-1==e.data.currentStatusId),c.zb(1),c.kc("ngIf",2==e.data.currentStatusId)}}function Wt(e,t){if(1&e){const e=c.Sb();c.Rb(0,"a",19),c.Rb(1,"dx-button",22),c.ac("onClick",(function(t){c.wc(e);const n=c.ec().$implicit;return c.ec().onCancel(t,n)})),c.Qb(),c.Qb()}}function Qt(e,t){if(1&e){const e=c.Sb();c.Rb(0,"a",19),c.Rb(1,"dx-button",23),c.ac("onClick",(function(t){c.wc(e);const n=c.ec().$implicit;return c.ec().already(t,n)})),c.Qb(),c.Qb()}}function $t(e,t){if(1&e&&(c.Rb(0,"div"),c.Cc(1,Wt,2,0,"a",18),c.Cc(2,Qt,2,0,"a",18),c.Qb()),2&e){const e=t.$implicit;c.zb(1),c.kc("ngIf",1==e.data.currentStatusId||2==e.data.currentStatusId||-1==e.data.currentStatusId),c.zb(1),c.kc("ngIf",3==e.data.currentStatusId)}}function Gt(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"TODO"),c.Qb())}function Kt(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"POSTPONED"),c.Qb())}function Ut(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"CANCELLED"),c.Qb())}function qt(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"COMPLETED"),c.Qb())}function Jt(e,t){if(1&e&&(c.Rb(0,"div"),c.Cc(1,Gt,2,0,"div",24),c.Cc(2,Kt,2,0,"div",24),c.Cc(3,Ut,2,0,"div",24),c.Cc(4,qt,2,0,"div",24),c.Qb()),2&e){const e=t.$implicit;c.zb(1),c.kc("ngIf",-1==e.data.currentStatusId),c.zb(1),c.kc("ngIf",2==e.data.currentStatusId),c.zb(1),c.kc("ngIf",3==e.data.currentStatusId),c.zb(1),c.kc("ngIf",4==e.data.currentStatusId)}}const Xt=function(){return[5,10,20]};let Zt=(()=>{class e{constructor(e,t,n,i,r){this.httpService=e,this.toastrService=t,this.router=n,this.fb=i,this.modalService=r,this.title="My Booking",this.getGridDataApi=l.a.userService+"/getCustomerBookingsByCustomerId/",this.editNavPath="/admin/invoicebooking-edit",this.createNavPath="/admin/item-create",this.gridKey="GRD",this.keyField="customerInvoiceBookingId",this.getCustomerApi=l.a.userService+"/getCustomerByUserId/",this.logggedInUser=JSON.parse(localStorage.getItem("id")),this.columnDefs=["itemCode","itemName",{dataField:"itemCategory.itemCategoryName",caption:"Item Category"},{dataField:"status",caption:"Is Active"}]}ngOnInit(){this.createForm(),this.bindData()}createForm(){this.gridManagementForm=this.fb.group({search:new a.d("")})}onPostPond(e,t){console.log(t),this.bsModalRef=this.modalService.show(Nt,{initialState:{bookingId:t.data.customerInvoiceBookingId,refNum:t.data.docNum,post:!0},class:"modal-dialog-centered"})}onPostPond1(e,t){console.log(t),this.bsModalRef=this.modalService.show(Nt,{initialState:{bookingId:t.data.customerInvoiceBookingId,refNum:t.data.docNum,post:!1},class:"modal-dialog-centered"})}onCancel(e,t){this.bsModalRef=this.modalService.show(Rt,{initialState:{bookingId:t.data.customerInvoiceBookingId,refNum:t.data.docNum},class:"modal-dialog-centered"})}getCustomer(){this.httpService.get(this.getCustomerApi+this.logggedInUser.sub).subscribe(e=>{e&&(this.customer=e,this.bindData())})}bindData(){this.httpService.get(this.getGridDataApi+this.logggedInUser).subscribe(e=>{this.dataSource=e,this.dataSource.forEach((e,t)=>{e.slNo=t+1})})}
1onChangePasswordClick(e,t){}customizeColumns(e){e[0].alignment="left",e[2].alignment="left",e[0].allowSorting=!0,e[1].allowSorting=!0,e[2].allowSorting=!0}edit(e){-1==e.data.currentStatusId&&this.router.navigate([`${this.editNavPath}/${e.data[this.keyField]}`])}already(e,t){this.toastrService.success("Already Canceled")}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(u.a),c.Lb(d.b),c.Lb(r.c),c.Lb(a.c),c.Lb(Fe.b))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-myinvoicebooking"]],decls:23,vars:17,consts:[[1,"my-invoice-page",3,"formGroup"],[1,"col-12","pr-5","pl-5","d-flex","justify-content-between","flex-wrap","dashboard-right-wrap"],[1,"col-12","head-card","mb-5"],[1,"row","align-items-center","justify-content-between"],[1,"col-8"],[1,"col-12","each-input-box","invoice-table","p-3",2,"background-color","#fff"],["id","gridContainer",3,"dataSource","showBorders","columns","customizeColumns","onRowDblClick"],["grid",""],["dataField","slNo","caption","Sl No","width","100"],["dataField","docDate","caption","Date","dataType","date"],["dataField","branch.branchName","caption","Branch"],["dataField","docNum","caption","Booking Number"],["dataField","currentStatusId","caption","Status","cellTemplate","cellTemplate"],["type","buttons","caption","PostPone","cellTemplate","passwordChangeTemplate"],["type","buttons","caption","Cancel","cellTemplate","viewInvoiceTemplate"],[4,"dxTemplate","dxTemplateOf"],[3,"visible"],[3,"visible","showNavigationButtons","showPageSizeSelector","allowedPageSizes","showInfo"],["class","active",4,"ngIf"],[1,"active"],["text","PostPone",1,"btn","btn-red","font-18","font-medium","mb-3","mb-sm-0","mr-1",3,"onClick"],["text","Reschedule",1,"btn","btn-red","font-18","font-medium","mb-3","mb-sm-0","mr-1",3,"onClick"],["text","Cancel",1,"btn","btn-red","font-18","font-medium","mb-3","mb-sm-0","mr-1",3,"onClick"],["text","Canceled",1,"btn","btn-red","font-18","font-medium","mb-3","mb-sm-0","mr-1",3,"onClick"],[4,"ngIf"]],template:function(e,t){1&e&&(c.Rb(0,"form",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"div",3),c.Rb(4,"div",4),c.Rb(5,"h4"),c.Ec(6),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(7,"div",5),c.Rb(8,"dx-data-grid",6,7),c.ac("onRowDblClick",(function(e){return t.edit(e)})),c.Mb(10,"dxi-column",8),c.Mb(11,"dxi-column",9),c.Mb(12,"dxi-column",10),c.Mb(13,"dxi-column",11),c.Mb(14,"dxi-column",12),c.Mb(15,"dxi-column",13),c.Mb(16,"dxi-column",14),c.Cc(17,Yt,3,2,"div",15),c.Cc(18,$t,3,2,"div",15),c.Mb(19,"dxo-filter-row",16),c.Mb(20,"dxo-search-panel",16),c.Mb(21,"dxo-pager",17),c.Cc(22,Jt,5,4,"div",15),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e&&(c.kc("formGroup",t.gridManagementForm),c.zb(6),c.Fc(t.title),c.zb(2),c.kc("dataSource",t.dataSource)("showBorders",!0)("columns",t.columnDefs)("customizeColumns",t.customizeColumns),c.zb(9),c.kc("dxTemplateOf","passwordChangeTemplate"),c.zb(1),c.kc("dxTemplateOf","viewInvoiceTemplate"),c.zb(1),c.kc("visible",!0),c.zb(1),c.kc("visible",!0),c.zb(1),c.kc("visible",!0)("showNavigationButtons",!0)("showPageSizeSelector",!0)("allowedPageSizes",c.oc(16,Xt))("showInfo",!0),c.zb(1),c.kc("dxTemplateOf","cellTemplate"))},directives:[a.s,a.n,a.h,dt.a,vt.c,mt.d,vt.H,vt.jb,vt.ab,i.l,_t],styles:[""]}),e})();const en=function(){return[5,10,20]};let tn=(()=>{class e{constructor(e,t){this.httpService=e,this.router=t,this.title="My Rate Request",this.getGridDataApi=l.a.rateRequestService,this.editNavPath="/admin/invoicebooking-edit",this.createNavPath="/admin/item-create",this.gridKey="GRD",this.keyField="customerInvoiceBookingId",this.getCustomerApi=l.a.userService+"/getCustomerByUserId/",this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn")),this.columnDefs=["itemCode","itemName",{dataField:"itemCategory.itemCategoryName",caption:"Item Category"},{dataField:"status",caption:"Is Active"}]}ngOnInit(){this.bindData()}getCustomer(){this.httpService.get(this.getCustomerApi+this.logggedInUser.sub).subscribe(e=>{e&&(this.customer=e)})}bindData(){this.httpService.get(this.getGridDataApi+"/"+this.logggedInUser.sub).subscribe(e=>{this.dataSource=e,this.dataSource.forEach((e,t)=>{e.slNo=t+1})})}
1onChangePasswordClick(e,t){}customizeColumns(e){e[0].alignment="left",e[2].alignment="left",e[0].allowSorting=!0,e[1].allowSorting=!0,e[2].allowSorting=!0}edit(e){-1==e.data.currentStatusId&&this.router.navigate([`${this.editNavPath}/${e.data[this.keyField]}`])}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(u.a),c.Lb(r.c))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-myraterequest"]],decls:21,vars:14,consts:[[1,"my-invoice-page",3,"formGroup"],[1,"col-12","pr-5","pl-5","d-flex","justify-content-between","flex-wrap","dashboard-right-wrap"],[1,"col-12","head-card","mb-5"],[1,"row","align-items-center","justify-content-between"],[1,"col-8"],[1,"col-12","each-input-box","invoice-table","p-3",2,"background-color","#fff"],["id","gridContainer",3,"dataSource","showBorders","columns","customizeColumns"],["grid",""],["dataField","slNo","caption","Sl No"],["dataField","created","caption","Requested Date","dataType","datetime"],["dataField","countryName","caption","Country"],["dataField","regionName","caption","Region"],["dataField","countyName","caption","State"],["dataField","stateName","caption","District"],["dataField","document","caption","Document"],["dataField","shipTypeName","caption","Shipment Type"],[3,"visible","showNavigationButtons","showPageSizeSelector","allowedPageSizes","showInfo"],[3,"visible"]],template:function(e,t){1&e&&(c.Rb(0,"form",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"div",3),c.Rb(4,"div",4),c.Rb(5,"h4"),c.Ec(6),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(7,"div",5),c.Rb(8,"dx-data-grid",6,7),c.Mb(10,"dxi-column",8),c.Mb(11,"dxi-column",9),c.Mb(12,"dxi-column",10),c.Mb(13,"dxi-column",11),c.Mb(14,"dxi-column",12),c.Mb(15,"dxi-column",13),c.Mb(16,"dxi-column",14),c.Mb(17,"dxi-column",15),c.Mb(18,"dxo-pager",16),c.Mb(19,"dxo-filter-row",17),c.Mb(20,"dxo-search-panel",17),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e&&(c.kc("formGroup",t.gridManagementForm),c.zb(6),c.Fc(t.title),c.zb(2),c.kc("dataSource",t.dataSource)("showBorders",!0)("columns",t.columnDefs)("customizeColumns",t.customizeColumns),c.zb(10),c.kc("visible",!0)("showNavigationButtons",!0)("showPageSizeSelector",!0)("allowedPageSizes",c.oc(13,en))("showInfo",!0),c.zb(1),c.kc("visible",!0),c.zb(1),c.kc("visible",!0))},directives:[a.s,a.n,a.h,dt.a,vt.c,vt.ab,vt.H,vt.jb],styles:[""]}),e})();function nn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1," Name length should be less than 30 "),c.Qb())}function rn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1," Name required"),c.Qb())}function on(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid Name "),c.Qb())}function sn(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,nn,2,0,"div",22),c.Cc(2,rn,2,0,"div",22),c.Cc(3,on,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.customerName.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.customerName.errors.required),c.zb(1),c.kc("ngIf",e.f.customerName.errors.pattern)}}function an(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone is required"),c.Qb())}function ln(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone length should be 13"),c.Qb())}function cn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone length should be 13"),c.Qb())}function un(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only '+' and numbers"),c.Qb())}function dn(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,an,2,0,"div",22),c.Cc(2,ln,2,0,"div",22),c.Cc(3,cn,2,0,"div",22),c.Cc(4,un,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.phoneNumber.errors.required),c.zb(1),c.kc("ngIf",e.f.phoneNumber.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.phoneNumber.errors.minlength),c.zb(1),c.kc("ngIf",e.f.phoneNumber.errors.pattern)}}function hn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email is required"),c.Qb())}function pn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email length should be less than 50"),c.Qb())}function fn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid Email"),c.Qb())}function mn(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,hn,2,0,"div",22),c.Cc(2,pn,2,0,"div",22),c.Cc(3,fn,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.email.errors.required),c.zb(1),c.kc("ngIf",e.f.email.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.email.errors.pattern)}}function gn(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",7),c.Rb(1,"div",8),c.Rb(2,"div",9),c.Rb(3,"div",10),c.Rb(4,"label",11),c.Ec(5,"Full Name"),c.Qb(),c.Rb(6,"input",12),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("customerName")})),c.Qb(),c.Cc(7,sn,4,3,"div",13),c.Qb(),c.Qb(),c.Rb(8,"div",9),c.Rb(9,"div",10),c.Rb(10,"label",11),c.Ec(11,"Phone"),c.Qb(),c.Mb(12,"input",14),c.Cc(13,dn,5,4,"div",13),c.Qb(),c.Qb(),c.Rb(14,"div",9),c.Rb(15,"div",10),c.Rb(16,"label",11),c.Ec(17,"Email"),c.Qb(),c.Mb(18,"input",15),c.Cc(19,mn,4,3,"div",13),c.Qb(),c.Qb(),c.Rb(20,"div",16),c.Rb(21,"div",10),c.Rb(22,"div",17),c.Rb(23,"div",18),c.Rb(24,"button",19),c.ac("click",(function(){return c.wc(e),c.ec().onSubmit()})),c.Ec(25,"Update"),c.Qb(),c.Qb(),c.Rb(26,"div",18),c.Rb(27,"button",20),c.ac("click",(function(){return c.wc(e),c.ec().cancel()})),c.Ec(28,"Cancel"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(7),c.kc("ngIf",1==e.submitted&&e.f.customerName.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.ph
1oneNumber.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.email.errors)}}let _n=(()=>{class e{constructor(e,t,n,i,r,o){this.httpService=e,this.datePipe=t,this.router=n,this.toastrService=i,this.fb=r,this.route=o,this.submitted=!1,this.resourceGetByIdApi=l.a.userService+"/getCustomerProfile/",this.resourceKey="customerId",this.resourceName="User",this.resourceManagementNavPath="/login",this.emailPattern="^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$",this.readOnlyUserName=!1,this.resourceCreateUserApi=l.a.userService+"/registerCustomer",this.resourceUpdateApi=l.a.userService}ngOnInit(){this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn")),this.createForm(),this.getResourceById()}createForm(){this.resourceForm=this.fb.group({customerName:new a.d("",a.r.compose([a.r.maxLength(30),a.r.pattern("^[0-9a-zA-Z' '-]*$"),a.r.required])),phoneNumber:new a.d("+971",a.r.compose([a.r.required,a.r.minLength(13),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),email:new a.d("",a.r.compose([a.r.required,a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"),a.r.email])),password:new a.d("",a.r.compose([a.r.required,a.r.minLength(8),a.r.maxLength(10),a.r.pattern("(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[$@$!%*?&])[A-Za-zd$@$!%*?&].{7,}")])),confirmpassword:new a.d(""),iUserId:new a.d(null)},{validator:this.passwordMatch("password","confirmpassword")})}passwordMatch(e,t){return n=>{const i=n.controls[t];i.errors&&!i.errors.mustMatch||i.setErrors(n.controls[e].value!==i.value?{mustMatch:!0}:null)}}getResourceById(){this.resourceKeyValue=this.logggedInUser.sub,this.httpService.get(this.resourceGetByIdApi+this.resourceKeyValue).subscribe(e=>{this.customerId=e.customerId,this.resourceForm=this.fb.group({resourceKeyValue:new a.d({value:e[this.resourceKey],disabled:!0}),customerName:new a.d({value:e.customerName,disabled:!1},a.r.compose([a.r.maxLength(30),a.r.pattern("^[0-9a-zA-Z' '-]*$")])),phoneNumber:new a.d({value:e.phoneNumber,disabled:!1},a.r.compose([a.r.required,a.r.minLength(10),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),email:new a.d({value:e.email,disabled:!0},a.r.compose([a.r.required,a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"),a.r.email])),iUserId:new a.d({value:e.iUserId,disabled:!1}),created:new a.d({value:e.created,disabled:!1})})})}get f(){return this.resourceForm.controls}onSubmit(){this.submitted=!0;const e=this.resourceForm.value;e.isActive=!0,e.customerType="C",e.email=this.resourceForm.controls.email.value,e.password="",e.roleValue=1,e.userRole={userRole:{id:"",name:"Customer",roleValue:2}},e.user={userName:"erer",password:"7",email:this.resourceForm.controls.email.value,phone:this.resourceForm.controls.phoneNumber.value,userType:"C",userRole:{id:"",name:"Customer",roleValue:2}}
1,e[this.resourceKey]=this.customerId,this.resourceForm.invalid||(this.submitted=!1,console.log(e),this.httpService.put(this.resourceUpdateApi,e).subscribe(e=>{500==e.statusCode?this.toastrService.error(e.data,"Fail"):(this.resourceForm.reset(),this.toastrService.success("User Updated Successfully","Success"),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0}))}))}cancel(){this.submitted=!1,this.resourceForm.reset(),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0})}changeTextToUppercase(e){const t={};t[e]=this.resourceForm.controls[e].value.toUpperCase(),this.resourceForm.patchValue(t)}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(u.a),c.Lb(i.d),c.Lb(r.c),c.Lb(d.b),c.Lb(a.c),c.Lb(r.a))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-profile"]],decls:8,vars:1,consts:[[1,"career-page"],[1,"max-1490"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-md-5","col-sm-8","col-12","get-a-quote-form-wraper"],[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"row"],[1,"col-md-12"],[1,"form-grid"],["for","Full Name"],["type","text","formControlName","customerName","placeholder","Enter Full Name",1,"form-control","form-control-sm",3,"input"],["class","invalid-feedback",4,"ngIf"],["type","text","formControlName","phoneNumber","placeholder","Enter Phone",1,"form-control","form-control-sm"],["type","text","formControlName","email","placeholder","Enter Email","readonly","",1,"form-control","form-control-sm"],[1,"col-12"],[1,"row","justify-content-end"],[1,"col-sm-4","col-12"],["type","submit",1,"btn",3,"click"],[1,"font-18","font-medium","mb-0",3,"click"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(e,t){1&e&&(c.Rb(0,"main",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"h1",3),c.Ec(4,"Profile"),c.Qb(),c.Qb(),c.Rb(5,"section",4),c.Rb(6,"div",5),c.Cc(7,gn,29,4,"form",6),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e&&(c.zb(7),c.kc("ngIf",t.resourceForm))},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f],styles:[""]}),e})();function bn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Country is required"),c.Qb())}function vn(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,bn,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.countryId.errors.required)}}function yn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Region is required"),c.Qb())}function wn(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,yn,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.regionId.errors.required)}}function Cn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"State is required"),c.Qb())}function xn(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,Cn,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.stateId.errors.required)}}function Sn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"District is required"),c.Qb())}function kn(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,Sn,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.countyId.errors.required)}}function Tn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Document is required"),c.Qb())}function En(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,Tn,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.document.errors.required)}}function In(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Shipment Type is required"),c.Qb())}function Dn(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,In,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.shipTypeId.errors.required)}}function Mn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Item Category is required"),c.Qb())}function On(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,Mn,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.itemCategoryId.errors.required)}}function Rn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Weight is required"),c.Qb())}function Ln(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Weight is Number"),c.Qb())}function An(e,t){if(1&e&&(c.Rb(0,"div",21),c.Cc(1,Rn,2,0,"div",22),c.Cc(2,Ln,2,0,"div",22),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.estimateWeight.errors.required),c.zb(1),c.kc("ngIf",e.f.estimateWeight.errors.pattern)}}function Pn(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"h1",3),c.Ec(3,"Rate Request"),c.Qb(),c.Qb(),c.Rb(4,"section",4),c.Rb(5,"div",5),c.Rb(6,"div",6),c.Rb(7,"div",7),c.Rb(8,"div",8),c.Rb(9,"label"),c.Ec(10,"Country"),c.Qb(),c.Rb(11,"ng-select",9,10),c.ac("change",(function(t){return c.wc(e),c.ec().onBillToCountrySelect(t)})),c.Qb(),c.Cc(13,vn,2,1,"div",11),c.Qb(),c.Qb(),c.Rb(14,"div",7),c.Rb(15,"div",8),c.Rb(16,"label"),c.Ec(17,"Region"),c.Qb(),c.Rb(18,"ng-select",12,10),c.ac("change",(function(t){return c.wc(e),c.ec().onRegionSelect(t)})),c.Qb(),c.Cc(20,wn,2,1,"div",11),c.Qb(),c.Qb(),c.Rb(21,"div",7),c.Rb(22,"div",8),c.Rb(23,"label"),c.Ec(24,"State"),c.Qb(),c.Rb(25,"ng-select",13,10),c.ac("change",(function(t){return c.wc(e),c.ec().onBillToStateSelect(t)})),c.Qb(),c.Cc(27,xn,2,1,"div",11),c.Qb(),c.Qb(),c.Rb(28,"div",7),c.Rb(29,"div",8),c.Rb(30,"label"),c.Ec(31,"District"),c.Qb(),c.Rb(32,"ng-select",14,10),c.ac("change",(function(t){return c.wc(e),c.ec().onBillToCountySelect(t)})),c.Qb(),c.Cc(34,kn,2,1,"div",11),c.Qb(),c.Qb(),c.Rb(35,"div",7),c.Rb(36,"div",8),c.Rb(37,"label"),c.Ec(38,"Document"),c.Qb(),c.Rb(39,"ng-select",15),c.ac("change",(function(t){return c.wc(e),c.ec().onChangeCategory(t)})),c.Qb(),c.Cc(40,En,2,1,"div",11),c.Qb(),c.Qb(),c.Rb(41,"div",7),c.Rb(42,"div",8),c.Rb(43,"label"),c.Ec(44,"Shipment Type"),c.Qb(),c.Rb(45,"ng-select",16,10),c.ac("change",(function(t){return c.wc(e),c.ec().onChangeShipType(t)})),c.Qb(),c.Cc(47,Dn,2,1,"div",11),c.Qb(),c.Qb(),c.Rb(48,"div",7),c.Rb(49,"div",8),c.Rb(50,"label"),c.Ec(51,"Item Category"),c.Qb(),c.Rb(52,"ng-select",17,10),c.ac("change",(function(t){return c.wc(e),c.ec().onitemCategoryId(t)})),c.Qb(),c.Cc(54,On,2,1,"div",11),c.Qb(),c.Qb(),c.Rb(55,"div",7),c.Rb(56,"div",8),c.Rb(57,"label"),c.Ec(58,"Estimate Weight"),c.Qb(),c.Mb(59,"input",18),c.Cc(60,An,3,2,"div",11),c.Qb(),c.Qb(),c.Rb(61,"div",19),c.Rb(62,"div",8),c.Rb(63,"button",20),c.ac("click",(function(t){return c.wc(e),c.ec().onCheck(t)})),c.Ec(64,"Send Request"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(11),c.kc("items",e.billToCountries),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.countryId.errors),c.zb(5),c.kc("items",e.regions),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.regionId.errors),c.zb(5),c.kc("items",e.states),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.stateId.errors),c.zb(5),c.kc("items",e.counties),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.countyId.errors),c.zb(5),c.kc("items",e.shipmentCategories),c.zb(1),c.kc("ngIf",1==e.submitted&&e.f.document.errors),c.zb(5),c.kc("items",e.domesticShipTypes),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.shipTypeId.errors),c.zb(5),c.kc("items",e.items),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.itemCategoryId.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.estimateWeight.errors)}}let Fn=(()=>{class e{constructor(e,t,n,i){this.fb=e,this.httpService=t,this.toastrService=n,this.modalService=i,this.submitted=!1,this.shipmentCategories=[{id:1,name:"Parcel"},{id:2,name:"Document"}],this.countryServiceApi=l.a.countryService,this.rateServiceApi=l.a.rateService,this.rateRequest=l.a.rateRequestService,this.getRegionApi=l.a.regionService,this.get
1SateApi=l.a.stateService,this.getCountiesApi=l.a.countyService,this.getshpiTypesApi=l.a.shipTypeService,this.getItemsApi=l.a.itemCategoryService,this.getCustomerApi=l.a.userService+"/getCustomerByUserId/",this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn"))}ngOnInit(){this.createForm(),this.getCustomer(),this.getCountries(),this.getShipTypes(),this.getItemCategories()}getCustomer(){this.httpService.get(this.getCustomerApi+this.logggedInUser.sub).subscribe(e=>{this.customer=e,console.log(this.customer)})}onCheck(e){this.submitted=!0;const t=this.resourceForm.value;t.unit="kg",this.resourceForm.invalid||this.httpService.get(this.rateServiceApi+"/GetRateSettingsCharges/"+this.selectedCountryId+"/"+this.selectedStateId+"/"+this.selectedRegionId+"/"+this.selectedCountyId+"/"+this.selectedShip+"/"+this.selectedCategory+"/"+this.selectedDocumnent+"/"+this.resourceForm.controls.estimateWeight.value).subscribe(e=>{0==e?this.toastrService.warning("We currently do not have service to the location you are looking for. Sorry for the inconvenience"):(t.rateRequestId=0,t.ratePerKg=e,t.totalAmount=e*this.resourceForm.controls.estimateWeight.value,t.createdBy=this.customer.result.data.iUserId,this.httpService.post(this.rateRequest,t).subscribe(e=>{e&&this.toastrService.success("Request has been sent successfully")}))})}getItemCategories(){this.httpService.get(this.getItemsApi).subscribe(e=>{e&&(this.items=e)})}getShipTypes(){this.httpService.get(this.getshpiTypesApi).subscribe(e=>{e&&(this.domesticShipTypes=e)})}createForm(){this.resourceForm=this.fb.group({countryId:new a.d(null,a.r.required),regionId:new a.d(null,a.r.required),stateId:new a.d(null,a.r.required),countyId:new a.d(null,a.r.required),document:new a.d(null,a.r.required),shipTypeId:new a.d(null,a.r.required),itemCategoryId:new a.d(null,a.r.required),estimateWeight:new a.d(null,a.r.compose([a.r.required,a.r.pattern("^[0-9]*$")]))})}getCountries(){this.httpService.get(this.countryServiceApi).subscribe(e=>{e&&(this.billToCountries=e)})}onBillToCountrySelect(e){this.selectedCountryId=e.countryId,this.selectedCountry=e.countryName,this.resourceForm.controls.countryId.setValue(e.countryId),this.resourceForm.controls.regionId.setValue(null),this.resourceForm.controls.stateId.setValue(null),this.resourceForm.controls.countyId.setValue(null),this.getRegion()}getRegion(){this.httpService.get(this.getRegionApi).subscribe(e=>{e&&(this.regions=e.filter(e=>e.countryId==this.selectedCountryId))})}onRegionSelect(e){this.resourceForm.controls.regionId.setValue(e.regionId),this.resourceForm.controls.stateId.setValue(null),this.resourceForm.controls.countyId.setValue(null),this.selectedRegionId=e.regionId,this.region=e.regionName,this.getStates()}getStates(){this.httpService.get(this.getSateApi).subscribe(e=>{e&&(this.states=e.filter(e=>e.regionId==this.selectedRegionId))})}onBillToStateSelect(e){this.resourceForm.controls.stateId.setValue(e.stateId),this.resourceForm.controls.countyId.setValue(null),this.selectedStateId=e.stateId,this.state=e.stateName,this.getCounties()}getCounties(){this.httpService.get(this.getCountiesApi).subscribe(e=>{e&&(this.counties=e.filter(e=>e.stateId==this.selectedStateId),console.log(this.counties))})}onBillToCountySelect(e){this.resourceForm.controls.countyId.setValue(e.countyId),this.county=e.countyName,this.selectedCountyId=e.countyId}onitemCategoryId(e){this.selectedCategory=e.itemCategoryId,this.item=e.itemCategoryName,this.resourceForm.controls.itemCategoryId.setValue(e.itemCategoryId)}onChangeShipType(e){this.selectedShip=e.shipTypeId,this.shipment=e.shipTypeName,this.resourceForm.controls.shipTypeId.setValue(e.shipTypeId)}onChangeCategory(e){this.selectedDocumnent=e.id,this.document=e.name,this.resourceForm.controls.document.setValue(e.id)}get f(){return this.resourceForm.controls}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(u.a),c.Lb(d.b),c.Lb(Fe.b))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-raterequest"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-8","get-a-quote-form-wraper","rateReqstForm"],[1,"row"],[1,"col-md-4"],[1,"form-grid"],["formControlName","countryId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country",3,"items","change"],["select",""],["class","invali
1d-feedback",4,"ngIf"],["formControlName","regionId","bindValue","regionId","bindLabel","regionName","placeholder","Select Region",3,"items","change"],["formControlName","stateId","bindValue","stateId","bindLabel","stateName","placeholder","Select State",3,"items","change"],["formControlName","countyId","bindValue","countyId","bindLabel","countyName","placeholder","Select District",3,"items","change"],["formControlName","document","bindValue","id","bindLabel","name","placeholder","Select Document",3,"items","change"],["formControlName","shipTypeId","placeholder","Select Shipment Type","bindValue","shipTypeId","bindLabel","shipTypeName",3,"items","change"],["formControlName","itemCategoryId","placeholder","Select Item Category","bindValue","itemCategoryId","bindLabel","itemCategoryName",3,"items","change"],["type","text","formControlName","estimateWeight","placeholder","Enter Estimate Weight","maxlength","100",1,"form-control","form-control-sm","est-inp"],[1,"col-12"],["type","submit",1,"btn",3,"click"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(e,t){1&e&&c.Cc(0,Pn,65,16,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,O.a,a.m,a.f,a.b,a.j],styles:[".get-a-quote-form-wraper[_ngcontent-%COMP%]{width:100%}"]}),e})();function Bn(e,t){1&e&&(c.Rb(0,"div",26),c.Rb(1,"p"),c.Ec(2,"Auto"),c.Qb(),c.Qb())}function Hn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Name is required"),c.Qb())}function Vn(e,t){if(1&e&&(c.Rb(0,"div",27),c.Cc(1,Hn,2,0,"div",28),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.name.errors.required)}}function Nn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email is required"),c.Qb())}function zn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid Email"),c.Qb())}function jn(e,t){if(1&e&&(c.Rb(0,"div",27),c.Cc(1,Nn,2,0,"div",28),c.Cc(2,zn,2,0,"div",28),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.email.errors.required),c.zb(1),c.kc("ngIf",e.f.email.errors.pattern)}}function Yn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile is required"),c.Qb())}function Wn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile length do not exceed 15"),c.Qb())}function Qn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile length should be 13"),c.Qb())}function $n(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only Number and '+' symbol"),c.Qb())}function Gn(e,t){if(1&e&&(c.Rb(0,"div",27),c.Cc(1,Yn,2,0,"div",28),c.Cc(2,Wn,2,0,"div",28),c.Cc(3,Qn,2,0,"div",28),c.Cc(4,$n,2,0,"div",28),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.mobile.errors.required),c.zb(1),c.kc("ngIf",e.f.mobile.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.mobile.errors.minlength),c.zb(1),c.kc("ngIf",e.f.mobile.errors.pattern)}}function Kn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Ticket Description is required"),c.Qb())}function Un(e,t){if(1&e&&(c.Rb(0,"div",27),c.Cc(1,Kn,2,0,"div",28),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.ticketDescription.errors.required)}}function qn(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Ref No. is required"),c.Qb())}function Jn(e,t){if(1&e&&(c.Rb(0,"div",27),c.Cc(1,qn,2,0,"div",28),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.referenceNumber.errors.required)}}function Xn(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"h1",3),c.Ec(3,"Ticket"),c.Qb(),c.Qb(),c.Rb(4,"section",4),c.Rb(5,"div",5),c.Rb(6,"div",6),c.Rb(7,"div",7),c.Rb(8,"label"),c.Ec(9,"Ticket Id"),c.Qb(),c.Rb(10,"div",8),c.Mb(11,"input",9),c.Cc(12,Bn,3,0,"div",10),c.Qb(),c.Qb(),c.Rb(13,"div",11),c.Rb(14,"label"),c.Ec(15,"Ticket Date"),c.Qb(),c.Mb(16,"input",12),c.Qb(),c.Rb(17,"div",11),c.Rb(18,"label"),c.Ec(19,"Name"),c.Qb(),c.Mb(20,"input",13),c.Cc(21,Vn,2,1,"div",14),c.Qb(),c.Rb(22,"div",11),c.Rb(23,"label"),c.Ec(24,"Email"),c.Qb(),c.Mb(25,"input",15),c.Cc(26,jn,3,2,"div",14),c.Qb(),c.Rb(27,"div",11),c.Rb(28,"label"),c.Ec(29,"Mobile"),c.Qb(),c.Mb(30,"input",16),c.Cc(31,Gn,5,4,"div",14),c.Qb(),c.Rb(32,"div",11),c.Rb(33,"label"),c.Ec(34,"Ticket Description"),c.Qb(),c.Mb(35,"input",17),c.Cc(36,Un,2,1,"div",14),c.Qb(),c.Rb(37,"div",11),c.Rb(38,"label"),c.Ec(39,"Ref No."),c.Qb(),c.Rb(40,"ng-select",18,19),c.ac("change",(function(t){return c.wc(e),c.ec().onInvoiceSelect(t)})),c.Qb(),c.Cc(42,Jn,2,1,"div",14),c.Qb(),c.Rb(43,"div",20),c.Rb(44,"div",21),c.Rb(45,"div",22),c.Rb(46,"div",23),c.Rb(47,"button",24),c.ac("click",(function(){return c.wc(e),c.ec().onClear()}
1)),c.Ec(48,"Cancel"),c.Qb(),c.Qb(),c.Rb(49,"div",23),c.Rb(50,"button",25),c.ac("click",(function(){return c.wc(e),c.ec().onSubmit()})),c.Ec(51,"Submit"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(12),c.kc("ngIf",0==e.removeMask),c.zb(9),c.kc("ngIf",1==e.submitted&&e.f.name.errors),c.zb(5),c.kc("ngIf",1==e.submitted&&e.f.email.errors),c.zb(5),c.kc("ngIf",1==e.submitted&&e.f.mobile.errors),c.zb(5),c.kc("ngIf",1==e.submitted&&e.f.ticketDescription.errors),c.zb(4),c.kc("items",e.invoiceList),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.referenceNumber.errors),c.zb(8),c.kc("disabled",e.isProcessing)}}let Zn=(()=>{class e{constructor(e,t,n,i,r){this.fb=e,this.toastrService=t,this.router=n,this.route=i,this.httpService=r,this.resourceKey="ticketId",this.resourceUpdateApi=l.a.ticketService,this.resourceGetByIdApi=l.a.ticketService+"/",this.resourceCreateApi=l.a.ticketService,this.submitted=!1,this.resourceName="Ticket",this.removeMask=!1,this.flag=!1,this.resourceManagementNavPath="/admin/ticket-mangement"}ngOnInit(){this.route.snapshot.paramMap.get(this.resourceKey)&&this.route.paramMap.subscribe(e=>{this.resourceKeyValue=Number(e.get(this.resourceKey))}),this.StatusList=[{statusId:1,statusName:"Open"},{statusId:2,statusName:"Closed"},{statusId:3,statusName:"In Progress"},{statusId:4,statusName:"Hold"}],this.name=JSON.parse(localStorage.getItem("customer")),this.email=JSON.parse(localStorage.getItem("email")),this.phone=JSON.parse(localStorage.getItem("phone")),this.id=JSON.parse(localStorage.getItem("id")),this.createForm(),this.getInvoive()}createForm(){this.resourceKeyValue>0?this.getResourceById():this.resourceForm=this.fb.group({ticketNumber:new a.d("",a.r.compose([a.r.maxLength(200)])),ticketDate:new a.d(E().format("yyyy-MM-DD"),[a.r.required]),name:new a.d(this.name,[a.r.required,a.r.maxLength(100)]),email:new a.d(this.email,a.r.compose([a.r.required,a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"),a.r.email])),mobile:new a.d(this.phone,a.r.compose([a.r.required,a.r.minLength(13),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),ticketDescription:new a.d("",a.r.required),referenceNumber:new a.d(null,a.r.required)})}getResourceById(){this.httpService.get(this.resourceGetByIdApi+this.resourceKeyValue).subscribe(e=>{e.ticketDate=E(e.ticketDate).format("yyyy-MM-DD"),this.removeMask=!0,this.resourceForm=this.fb.group({resourceKeyValue:new a.d({value:e[this.resourceKey],disabled:!0}),ticketNumber:new a.d({value:e.ticketNumber,disabled:!1},a.r.compose([a.r.maxLength(200)])),ticketDate:new a.d({value:e.ticketDate,disabled:!1}),name:new a.d({value:e.name,disabled:!1},a.r.compose([a.r.required,a.r.maxLength(100)])),email:new a.d({value:e.email,disabled:!1},a.r.compose([a.r.required,a.r.maxLength(30),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")])),mobile:new a.d({value:e.mobile,disabled:!1},a.r.compose([a.r.required,a.r.minLength(13),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),ticketDescription:new a.d({value:e.ticketDescription,disabled:!1}),referenceNumber:new a.d({value:e.referenceNumber,disabled:!1})})})}getInvoive(){this.httpService.get(l.a.userService+"/getInvoice/"+this.id).subscribe(e=>{this.invoiceList=e})}onInvoiceSelect(e){this.resourceForm.controls.referenceNumber.setValue(e.refNum)}get f(){return this.resourceForm.controls}onSubmit(){this.submitted=!0,this.isProcessing=!0;const e=this.resourceForm.value;
1e.customerId=this.id,this.resourceForm.invalid||(this.submitted=!1,this.resourceKeyValue>0?(e[this.resourceKey]=this.resourceKeyValue,this.httpService.put(this.resourceUpdateApi,e).subscribe(e=>{this.toastrService.success(this.resourceName+" updated successfully","Success")})):this.httpService.post(this.resourceCreateApi,e).subscribe(e=>{console.log(e),200==e.statusCode?(this.isProcessing=!1,this.toastrService.success(this.resourceName+" created successfully","Success"),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0})):(this.isProcessing=!1,this.toastrService.warning(this.resourceName+" Already Created"),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0}))}))}onClear(){this.submitted=!1,this.resourceForm.reset(),this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0})}reset(){this.resourceForm.reset();let e=this.router.url;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([e])}cancel(){this.submitted=!1,this.resourceForm.reset()}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(d.b),c.Lb(r.c),c.Lb(r.a),c.Lb(u.a))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-ticket-create"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-8","get-a-quote-form-wraper","rateReqstForm"],[1,"row"],["hidden","",1,"col-lg-3","each-input-box","mt-3","form-grid"],[1,"position-relative"],["type","text","formControlName","ticketNumber","readonly","",1,"form-control","form-control-sm"],["class","mask",4,"ngIf"],[1,"col-lg-3","each-input-box","mt-3","form-grid"],["type","date","formControlName","ticketDate",1,"form-control","form-control-sm"],["type","text","formControlName","name","placeholder","ENTER NAME","readonly","",1,"form-control","form-control-sm"],["class","invalid-feedback",4,"ngIf"],["type","text","formControlName","email","placeholder","ENTER EMAIL","readonly","",1,"form-control","form-control-sm"],["type","text","formControlName","mobile","readonly","",1,"form-control","form-control-sm"],["type","text","placeholder","ENTER TICKET DESCRIPTION","formControlName","ticketDescription",1,"form-control","form-control-sm"],["formControlName","referenceNumber","bindValue","refNum","bindLabel","refNum","placeholder","Select Invoice",1,"select-mandatory",3,"items","change"],["select",""],[1,"col-md-12"],[1,"form-grid"],[1,"row","justify-content-end"],[1,"col-sm-4","col-12"],[1,"font-18","font-medium","mb-0",3,"click"],[1,"font-18","font-medium","mb-3","mb-md-0","mr-3",3,"disabled","click"],[1,"mask"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(e,t){1&e&&c.Cc(0,Xn,52,9,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f,O.a],styles:[""]}),e})(),ei=(()=>{class e{constructor(e,t,n){this.router=e,this.httpService=t,this.fb=n,this.title="Ticket Management",this.getGridDataApi=l.a.ticketService+"/customer/",this.editNavPath="/admin/ticket-edit",this.createNavPath="/admin/ticket-create",this.gridKey="GRD",this.keyField="ticketId",this.hideCreateBtn=!1}ngOnInit(){this.id=JSON.parse(localStorage.getItem("id")),this.createForm(),this.getData(),this.columnDefs=[{dataField:"ticketNumber",caption:"Ticket Number"},{dataField:"referenceNumber",caption:"Reference Number"},{dataField:"name",caption:"Name"},{dataField:"ticketDate",caption:"Ticket Date",dataType:"date"}]}createForm(){this.gridManagementForm=this.fb.group({search:new a.d("")})}getData(){this.httpService.get(this.getGridDataApi+this.id).subscribe(e=>{this.dataSource=e})}customizeColumns(e){e[0].alignment="left",e[1].alignment="left"}onCreateClick(){this.router.navigate([this.createNavPath],{replaceUrl:!0})}view(e){this.router.navigate([`${this.editNavPath}/${e.data[this.keyField]}`])}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(r.c),c.Lb(u.a),c.Lb(a.c))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-ticket-mangement"]],decls:22,vars:8,consts:[[1,"my-invoice-page",3,"formGroup"],[1,"col-12","pr-5","pl-5","d-flex","justify-content-between","flex-wrap","dashboard-right-wrap"],[1,"col-12","head-card","mb-5"],[1,"row","align-items-center","justify-content-between"],[1,"col-6"],[2,"color","#FE2815"],[1,"col-4","each-btn-box","icon-circle","text-right",3,"click"],["href","#0",1,"active",2,"text-align","right"],[1,"font-18","font-medium","d-flex"],["width","18","height","18","viewBox","0 0 18 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.13332 7.85549C1.50125 7.85549 0.988866 8.36788 0.988867 8.99994C0.988867 9.632 1.50126 10.
11444 2.13332 10.1444L7.85544 10.1444L7.85545 15.8667C7.85545 16.4988 8.36784 17.0112 8.9999 17.0112C9.63196 17.0112 10.1444 16.4988 10.1444 15.8667L10.1443 10.1444L15.8667 10.1444C16.4988 10.1444 17.0112 9.63201 17.0112 8.99995C17.0112 8.36789 16.4988 7.8555 15.8667 7.8555L10.1443 7.85549L10.1443 2.13332C10.1443 1.50125 9.63195 0.988866 8.99989 0.988866C8.36783 0.988865 7.85544 1.50125 7.85544 2.13332L7.85544 7.85549L2.13332 7.85549Z","fill","white"],[1,"col-12","each-input-box","invoice-table","p-3",2,"background-color","#fff"],["id","gridContainer",3,"dataSource","showBorders","columns","customizeColumns","onRowDblClick"],["grid",""],["dataField","ticketNumber","caption","Ticket Number"],["dataField","referenceNumber","caption","Reference Number"],["dataField","name","caption","Name"],["dataField","ticketDate","caption","Date","dataType","date"],[3,"visible"]],template:function(e,t){1&e&&(c.Rb(0,"form",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"div",3),c.Rb(4,"div",4),c.Rb(5,"h2",5),c.Ec(6),c.Qb(),c.Qb(),c.Rb(7,"div",6),c.ac("click",(function(){return t.onCreateClick()})),c.Rb(8,"a",7),c.Rb(9,"button",8),c.Rb(10,"span"),c.dc(),c.Rb(11,"svg",9),c.Mb(12,"path",10),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.cc(),c.Rb(13,"div",11),c.Rb(14,"dx-data-grid",12,13),c.ac("onRowDblClick",(function(e){return t.view(e)})),c.Mb(16,"dxi-column",14),c.Mb(17,"dxi-column",15),c.Mb(18,"dxi-column",16),c.Mb(19,"dxi-column",17),c.Mb(20,"dxo-filter-row",18),c.Mb(21,"dxo-search-panel",18),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e&&(c.kc("formGroup",t.gridManagementForm),c.zb(6),c.Fc(t.title),c.zb(8),c.kc("dataSource",t.dataSource)("showBorders",!0)("columns",t.columnDefs)("customizeColumns",t.customizeColumns),c.zb(6),c.kc("visible",!0),c.zb(1),c.kc("visible",!0))},directives:[a.s,a.n,a.h,dt.a,vt.c,vt.H,vt.jb],styles:[".each-btn-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:#e64a3c;border:0;padding:10px;float:right}"]}),e})();function ti(e,t){1&e&&(c.Rb(0,"div",33),c.Rb(1,"p"),c.Ec(2,"Auto"),c.Qb(),c.Qb())}function ni(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Name is required"),c.Qb())}function ii(e,t){if(1&e&&(c.Rb(0,"div",34),c.Cc(1,ni,2,0,"div",35),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.name.errors.required)}}function ri(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email is required"),c.Qb())}function oi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid Email"),c.Qb())}function si(e,t){if(1&e&&(c.Rb(0,"div",34),c.Cc(1,ri,2,0,"div",35),c.Cc(2,oi,2,0,"div",35),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.email.errors.required),c.zb(1),c.kc("ngIf",e.f.email.errors.pattern)}}function ai(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile is required"),c.Qb())}function li(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile length do not exceed 15"),c.Qb())}function ci(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile length should be 13"),c.Qb())}function ui(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only Number and '+' symbol"),c.Qb())}function di(e,t){if(1&e&&(c.Rb(0,"div",34),c.Cc(1,ai,2,0,"div",35),c.Cc(2,li,2,0,"div",35),c.Cc(3,ci,2,0,"div",35),c.Cc(4,ui,2,0,"div",35),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.mobile.errors.required),c.zb(1),c.kc("ngIf",e.f.mobile.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.mobile.errors.minlength),c.zb(1),c.kc("ngIf",e.f.mobile.errors.pattern)}}function hi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Ticket Description is required"),c.Qb())}function pi(e,t){if(1&e&&(c.Rb(0,"div",34),c.Cc(1,hi,2,0,"div",35),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.ticketDescription.errors.required)}}function fi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Ref No. is required"),c.Qb())}function mi(e,t){if(1&e&&(c.Rb(0,"div",34),c.Cc(1,fi,2,0,"div",35),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.referenceNumber.errors.required)}}function gi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Status is required"),c.Qb())}function _i(e,t){if(1&e&&(c.Rb(0,"div",34),c.Cc(1,gi,2,0,"div",35),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.status.errors.required)}}function bi(e,t){if(1&e&&(c.Rb(0,"div",36),c.Rb(1,"div",37),c.Rb(2,"div",38),c.Rb(3,"div",39),c.Rb(4,"div",40),c.Rb(5,"b"),c.Ec(6),c.Qb(),c.Rb(7,"h6",41),c.Ec(8),c.fc(9,"date"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(10,"div",42),c.Rb(11,"p"),c.Ec(12),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e){const e=t.$implicit;c.zb(6),c.Fc(e.name),c.zb(2),c.Fc(c.hc(9,3,e.docDate,"fullDate")),c.zb(4),c.Fc(e.comments)}}function vi(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"h1",3),c.Ec(3,"Ticket"),c.Qb(),c.Qb(),c.Rb(4,"section",4),c.Rb(5,"div",5),c.Rb(6,"div",6),c.Rb(7,"div",7),c.Rb(8,"div",8),c.Rb(9,"div",9),c.Rb(10,"label"),c.Ec(11,"Ticket Id"),c.Qb(),c.Rb(12,"div",10),c.Mb(13,"input",11),c.Cc(14,ti,3,0,"div",12),c.Qb(),c.Qb(),c.Rb(15,"div",9),c.Rb(16,"label"),c.Ec(17,"Ticket Date"),c.Qb(),c.Mb(18,"input",13),c.Qb(),c.Rb(19,"div",9),c.Rb(20,"label"),c.Ec(21,"Name"),c.Qb(),c.Mb(22,"input",14),c.Cc(23,ii,2,1,"div",15),c.Qb(),c.Rb(24,"div",9),c.Rb(25,"label"),c.Ec(26,"Email"),c.Qb(),c.Mb(27,"input",16),c.Cc(28,si,3,2,"div",15),c.Qb(),c.Rb(29,"div",9),c.Rb(30,"label"),c.Ec(31,"Mobile"),c.Qb(),c.Mb(32,"input",17),c.Cc(33,di,5,4,"div",15),c.Qb(),c.Rb(34,"div",9),c.Rb(35,"label"),c.Ec(36,"Ticket Description"),c.Qb(),c.Mb(37,"input",18),c.Cc(38,pi,2,1,"div",15),c.Qb(),c.Rb(39,"div",9),c.Rb(40,"label"),c.Ec(41,"Ref No."),c.Qb(),c.Mb(42,"input",19),c.Cc(43,mi,2,1,"div",15),c.Qb(),c.Rb(44,"div",9),c.Rb(45,"label"),c.Ec(46,"Status"),c.Qb(),c.Rb(47,"ng-select",20,21),c.ac("change",(function(t){return c.wc(e),c.ec().onStatusSelect(t)})),c.Qb(),c.Cc(49,_i,2,1,"div",15),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(50,"div",22),c.Rb(51,"div",23),c.Rb(52,"div",24),c.Rb(53,"h4"),c.Ec(54,"Ticket Comments"),c.Qb(),c.Qb(),c.Rb(55,"div",25),c.Cc(56,bi,13,6,"div",26),c.Qb(),c.Rb(57,"div",27),c.Rb(58,"label"),c.Ec(59,"Comment"),c.Qb(),c.Rb(60,"div",28),c.Mb(61,"input",29),c.Rb(62,"button",30),c.ac("click",(function(){return c.wc(e),c.ec().Addcomment()})),c.Ec(63,"Send"),c.Qb(),c.Qb(),c.Qb(),c.Rb(64,"div",31),c.Rb(65,"button",32),c.ac("click",(function(){return c.wc(e),c.ec().Back()})),c.Ec(66,"Back"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(14),c.kc("ngIf",0==e.removeMask),c.zb(9),c.kc("ngIf",1==e.submitted&&e.f.name.errors),c.zb(5),c.kc("ngIf",1==e.submitted&&e.f.email.errors),c.zb(5),c.kc("ngIf",1==e.submitted&&e.f.mobile.errors),c.zb(5),c.kc("ngIf",1==e.submitted&&e.f.ticketDescription.errors),c.zb(5),c.kc("ngIf",1==e.submitted&&e.f.referenceNumber.errors),c.zb(4),c.kc("readonly",!0)("items",e.StatusList),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.status.errors),c.zb(7),c.kc("ngForOf",e.ticketComments)}}let yi=(()=>{class e{constructor(e,t,n,i,r){this.fb=e,this.toastrService=t,this.router=n,this.route=i,this.httpService=r,this.resourceKey="ticketId",this.resourceUpdateApi=l.a.ticketService,this.resourceGetByIdApi=l.a.ticketService+"/",this.resourceCreateApi=l.a.ticketService,this.submitted=!1,this.resourceName="Ticket",this.removeMask=!1,this.flag=!1,this.resourceManagementNavPath="/admin/ticket-mangement",this.selectedItems=[]}
1ngOnInit(){this.route.snapshot.paramMap.get(this.resourceKey)&&this.route.paramMap.subscribe(e=>{this.resourceKeyValue=Number(e.get(this.resourceKey))}),this.logggedInUsername=JSON.parse(localStorage.getItem("customer")),this.StatusList=[{statusId:1,statusName:"Open"},{statusId:2,statusName:"Closed"},{statusId:3,statusName:"In Progress"},{statusId:4,statusName:"Hold"}],this.createForm()}createForm(){this.resourceKeyValue>0?this.getResourceById():(this.resourceForm=this.fb.group({ticketNumber:new a.d("",a.r.compose([a.r.maxLength(200)])),ticketDate:new a.d(E().format("yyyy-MM-DD"),[a.r.required]),name:new a.d("",[a.r.required]),email:new a.d("",a.r.compose([a.r.required,a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"),a.r.email])),mobile:new a.d("+971",a.r.compose([a.r.required,a.r.minLength(10),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),ticketDescription:new a.d("",a.r.required),referenceNumber:new a.d("",a.r.required),status:new a.d(null),statusName:new a.d(""),satisfactionStatus:new a.d(null),type:new a.d(null),comments:new a.d(""),docDate:new a.d(E().format("yyyy-MM-DD"),[a.r.required]),ticketComments:new a.d("",a.r.required)}),this.ticketComments={ticketCommentId:0,ticketId:0,docDate:E().format("yyyy-MM-DD"),name:"",slNo:0,status:0})}getResourceById(){this.flag=!0,this.httpService.get(this.resourceGetByIdApi+this.resourceKeyValue).subscribe(e=>{e.ticketDate=E(e.ticketDate).format("yyyy-MM-DD"),e.docDate=E(e.docDate).format("yyyy-MM-DD"),this.removeMask=!0,this.resourceForm=this.fb.group({resourceKeyValue:new a.d({value:e[this.resourceKey],disabled:!0}),ticketNumber:new a.d({value:e.ticketNumber,disabled:!1},a.r.compose([a.r.maxLength(200)])),ticketDate:new a.d({value:e.ticketDate,disabled:!1}),name:new a.d({value:e.name,disabled:!1}),email:new a.d({value:e.email,disabled:!1},a.r.compose([a.r.required,a.r.maxLength(30),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")])),mobile:new a.d({value:e.mobile,disabled:!1},a.r.compose([a.r.required,a.r.minLength(10),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),ticketDescription:new a.d({value:e.ticketDescription,disabled:!1}),referenceNumber:new a.d({value:e.referenceNumber,disabled:!1}),status:new a.d({value:e.status,disabled:!1}),statusName:new a.d({value:e.statusName,disabled:!1}),satisfactionStatus:new a.d({value:e.satisfactionStatus,disabled:!1}),type:new a.d({value:e.type,disabled:!1}),comments:new a.d({value:e.comments,disabled:!1}),docDate:new a.d({value:e.docDate,disabled:!1}),ticketComments:new a.d({value:e.ticketComments,disabled:!1},a.r.required),customerId:new a.d({value:e.customerId,disabled:!1},a.r.required)}),this.ticketComments=e.ticketComments})}Addcomment(){if(null!=this.resourceForm.value.comments&&""!=this.resourceForm.value.comments){let e={ticketCommentId:0,comments:this.resourceForm.value.comments,docDate:E().format("yyyy-MM-DD, h:mm:ss"),name:this.logggedInUsername,status:!0,slNo:0};this.ticketComments.push(e),this.resourceForm.controls.comments.setValue(null),this.send(this.ticketComments)}}Back(){this.router.navigate([this.resourceManagementNavPath],{replaceUrl:!0})}send(e){this.selectedItems.splice(0,this.selectedItems.length);let t=0;e.forEach(e=>{t++;let n={ticketCommentId:0,comments:e.comments||0,docDate:e.docDate||0,name:e.name||this.logggedInUsername,status:!0,slNo:Number(t)};this.selectedItems.push(n)}),this.transferBoxData(this.selectedItems)}transferBoxData(e){this.resourceForm.controls.ticketComments.setValue(e),this.onSubmit()}onStatusSelect(e){this.resourceForm.controls.status.setValue(e.statusId)}resetGrids(){this.ticketComments={ticketCommentId:0,ticketId:0,docDate:E().format("yyyy-MM-DD"),name:"",slNo:0}}get f(){return this.resourceForm.controls}onSubmit(){this.submitted=!0;const e=this.resourceForm.value;
1this.resourceForm.invalid||(this.submitted=!1,this.resourceKeyValue>0?(e[this.resourceKey]=this.resourceKeyValue,this.httpService.put(this.resourceUpdateApi,e).subscribe(e=>{})):(this.resourceForm.reset(),this.httpService.post(this.resourceCreateApi,e).subscribe(()=>{this.resourceForm.reset(),this.toastrService.success(this.resourceName+" created successfully","Success")})))}onClear(){this.reset()}reset(){this.resourceForm.reset();let e=this.router.url;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([e])}cancel(){this.submitted=!1,this.resourceForm.reset()}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(d.b),c.Lb(r.c),c.Lb(r.a),c.Lb(u.a))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-viewticket"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-8","get-a-quote-form-wraper","rateReqstForm"],[1,"d-flex","flex-wrap"],[1,"col-lg-12","tracking-form-fields","mt-3","mb-3"],[1,"row"],[1,"col-lg-4","each-input-box","form-grid"],[1,"position-relative"],["type","text","formControlName","ticketNumber","readonly","",1,"form-control","form-control-sm"],["class","mask",4,"ngIf"],["type","date","formControlName","ticketDate","readonly","",1,"form-control","form-control-sm"],["type","text","formControlName","name","readonly","","placeholder","ENTER NAME",1,"form-control","form-control-sm"],["class","invalid-feedback",4,"ngIf"],["type","text","formControlName","email","placeholder","ENTER EMAIL","readonly","",1,"form-control","form-control-sm"],["type","text","readonly","","formControlName","mobile",1,"form-control","form-control-sm"],["type","text","placeholder","ENTER TICKET DESCRIPTION","readonly","","formControlName","ticketDescription",1,"form-control","form-control-sm"],["type","text","placeholder","ENTER REF. NO","readonly","","formControlName","referenceNumber",1,"form-control","form-control-sm"],["formControlName","status","bindValue","statusId","bindLabel","statusName","placeholder","--SELECT STATUS--",1,"select-mandatory",3,"readonly","items","change"],["select",""],[1,"d-flex","justify-content-center"],[1,"col-12","head-card","chat-grid","pt-4","m-0","p-0"],[1,"col-12","chat-head"],[1,"col-sm-12","chat-area"],["class","d-flex justify-content-start flex-wrap",4,"ngFor","ngForOf"],[1,"post-comment-form"],[1,"d-flex"],["type","text","placeholder","ENTER COMMENT","formControlName","comments",1,"form-control","form-control-sm"],["button","",1,"me-2",3,"click"],[1,"post-comment-form","mt-4"],["button","",3,"click"],[1,"mask"],[1,"invalid-feedback"],[4,"ngIf"],[1,"d-flex","justify-content-start","flex-wrap"],[1,"panel","panel-white","post","panel-shadow","chat-line"],[1,"post-heading"],[1,"pull-left","meta"],[1,"title","h5","d-flex","justify-content-between"],[1,"text-muted","time"],[1,"post-description"]],template:function(e,t){1&e&&c.Cc(0,vi,67,11,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f,O.a,i.k],pipes:[i.d],styles:[".chat-head[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{padding-bottom:5px;border-bottom:1px solid #cf3427;margin-bottom:25px;font-size:18px}.chat-area[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   b[_ngcontent-%COMP%], .chat-area[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{font-size:12px;margin-right:8px}.post-description[_ngcontent-%COMP%]{background-color:#f2f2f2;padding:10px;border-radius:10px}.post-comment-form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:10px}.post-comment-form[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:#cf3427;border:0;color:#fff;padding:3px 8px}"]}),e})();function wi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Track Number is required"),c.Qb())}function Ci(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Track Number length should be less than 100"),c.Qb())}function xi(e,t){if(1&e&&(c.Rb(0,"div",16),c.Cc(1,wi,2,0,"div",17),c.Cc(2,Ci,2,0,"div",17),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.refNum.errors.required),c.zb(1),c.kc("ngIf",e.f.refNum.errors.maxlength)}}function Si(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Country is required"),
1c.Qb())}function ki(e,t){if(1&e&&(c.Rb(0,"div",16),c.Cc(1,Si,2,0,"div",17),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.countryId.errors.required)}}function Ti(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile is required"),c.Qb())}function Ei(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile length should be 13 characters."),c.Qb())}function Ii(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Mobile length should be 13 characters."),c.Qb())}function Di(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only number and '+' symbol"),c.Qb())}function Mi(e,t){if(1&e&&(c.Rb(0,"div",16),c.Cc(1,Ti,2,0,"div",17),c.Cc(2,Ei,2,0,"div",17),c.Cc(3,Ii,2,0,"div",17),c.Cc(4,Di,2,0,"div",17),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",e.f.phone.errors.required),c.zb(1),c.kc("ngIf",e.f.phone.errors.minlength),c.zb(1),c.kc("ngIf",e.f.phone.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.phone.errors.pattern)}}function Oi(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"h1",3),c.Ec(3,"Tracking"),c.Qb(),c.Qb(),c.Rb(4,"section",4),c.Rb(5,"div",5),c.Rb(6,"div",6),c.Rb(7,"div",7),c.Rb(8,"div",8),c.Rb(9,"label"),c.Ec(10,"Track Number"),c.Qb(),c.Rb(11,"input",9),c.ac("input",(function(){return c.wc(e),c.ec().changeTextToUppercase("refNum")})),c.Qb(),c.Cc(12,xi,3,2,"div",10),c.Qb(),c.Qb(),c.Rb(13,"div",7),c.Rb(14,"div",8),c.Rb(15,"label"),c.Ec(16,"Country"),c.Qb(),c.Rb(17,"ng-select",11,12),c.ac("change",(function(t){return c.wc(e),c.ec().onBillToCountrySelect(t)})),c.Qb(),c.Cc(19,ki,2,1,"div",10),c.Qb(),c.Qb(),c.Rb(20,"div",7),c.Rb(21,"div",8),c.Rb(22,"label"),c.Ec(23,"Mobile"),c.Qb(),c.Mb(24,"input",13),c.Cc(25,Mi,5,4,"div",10),c.Qb(),c.Qb(),c.Rb(26,"div",14),c.Rb(27,"div",8),c.Rb(28,"button",15),c.ac("click",(function(t){return c.wc(e),c.ec().onTrack(t)})),c.Ec(29,"Track Now"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.kc("formGroup",e.resourceForm),c.zb(12),c.kc("ngIf",1==e.submitted&&e.f.refNum.errors),c.zb(5),c.kc("items",e.billToCountries),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.countryId.errors),c.zb(6),c.kc("ngIf",1==e.submitted&&e.f.phone.errors)}}let Ri=(()=>{class e{constructor(e,t,n,i){this.fb=e,this.httpService=t,this.toastrService=n,this.modalService=i,this.submitted=!1,this.countryServiceApi=l.a.countryService,this.TrackApi=l.a.userService+"/trackCustomerInvoice"}ngOnInit(){this.createForm(),this.getBillToCountries()}createForm(){this.resourceForm=this.fb.group({refNum:new a.d("",a.r.compose([a.r.maxLength(100),a.r.required])),phone:new a.d("",a.r.compose([a.r.required,a.r.pattern("^[0-9,+]*$"),a.r.maxLength(15),a.r.minLength(10)])),countryId:new a.d(null,a.r.required)})}getBillToCountries(){this.httpService.get(this.countryServiceApi).subscribe(e=>{e&&(this.billToCountries=e)})}get f(){return this.resourceForm.controls}onBillToCountrySelect(e){this.resourceForm.controls.countryId.setValue(e.countryId),this.resourceForm.controls.phone.setValue(e.countryCode)}onTrack(e){this.submitted=!0;const t=this.resourceForm.value;
1this.resourceForm.invalid||(this.resourceForm.reset(),this.httpService.post(this.TrackApi,t).subscribe(e=>{null==e.data?this.toastrService.warning(e.message):this.bsModalRef=this.modalService.show(Ve,{backdrop:"static",keyboard:!1,class:"modal-dialog-centered",initialState:{invoice:e.data}})}))}changeTextToUppercase(e){const t={};t[e]=this.resourceForm.controls[e].value.toUpperCase(),this.resourceForm.patchValue(t)}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(u.a),c.Lb(d.b),c.Lb(Fe.b))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-tracking"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"career-item-wraper","mt-0","p-3","trackForm"],[1,"col-11","get-a-quote-form-wraper"],[1,"row"],[1,"col-md-4"],[1,"form-grid"],["type","text","formControlName","refNum","placeholder","Enter Track Number",1,"form-control","form-control-sm",3,"input"],["class","invalid-feedback",4,"ngIf"],["formControlName","countryId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country ",3,"items","change"],["select",""],["type","text","formControlName","phone","placeholder","Enter Receiver/sender Phone Number ","maxlength","15","minlength","10",1,"form-control","form-control-sm"],[1,"col-12"],["type","submit",1,"btn",3,"click"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(e,t){1&e&&c.Cc(0,Oi,30,5,"form",0),2&e&&c.kc("ngIf",t.resourceForm)},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f,O.a,a.j,a.k],styles:[".get-a-quote-form-wraper[_ngcontent-%COMP%]{width:100%}"]}),e})();function Li(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Sender Country is required"),c.Qb())}function Ai(e,t){if(1&e&&(c.Rb(0,"div",41),c.Cc(1,Li,2,0,"div",42),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",null==e.f.domesticCountryId||null==e.f.domesticCountryId.errors?null:e.f.domesticCountryId.errors.required)}}function Pi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Receiver Country is required"),c.Qb())}function Fi(e,t){if(1&e&&(c.Rb(0,"div",41),c.Cc(1,Pi,2,0,"div",42),c.Qb()),2&e){const e=c.ec(3);c.zb(1),c.kc("ngIf",null==e.f.domesticCountryToId||null==e.f.domesticCountryToId.errors?null:e.f.domesticCountryToId.errors.required)}}function Bi(e,t){if(1&e&&(c.Rb(0,"div",45),c.Ec(1),c.Qb()),2&e){const e=c.ec(3);c.zb(1),c.Gc(" ",e.validationMessage," ")}}function Hi(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div",26),c.Rb(1,"label"),c.Ec(2,"Receiver Country"),c.Rb(3,"span",27),c.Ec(4,"*"),c.Qb(),c.Qb(),c.Rb(5,"ng-select",43),c.ac("change",(function(t){return c.wc(e),c.ec(2).receiverCountrySelect(t)})),c.Qb(),c.Cc(6,Fi,2,1,"div",29),c.Cc(7,Bi,2,1,"div",44),c.Qb()}if(2&e){const e=c.ec(2);c.zb(5),c.kc("items",e.billToCountries),c.zb(1),c.kc("ngIf",e.submitted&&(null==e.f.domesticCountryToId?null:e.f.domesticCountryToId.errors)),c.zb(1),c.kc("ngIf",e.validationMessage)}}function Vi(e,t){1&e&&(c.Rb(0,"div",41),c.Rb(1,"div"),c.Ec(2,"City is required"),c.Qb(),c.Qb())}function Ni(e,t){1&e&&(c.Rb(0,"div",41),c.Rb(1,"div"),c.Ec(2,"City is required"),c.Qb(),c.Qb())}function zi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Weight is required"),c.Qb())}function ji(e,t){if(1&e&&(c.Rb(0,"div",41),c.Cc(1,zi,2,0,"div",42),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",null==e.f.weight||null==e.f.weight.errors?null:e.f.weight.errors.required)}}function Yi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Unit is required"),c.Qb())}function Wi(e,t){if(1&e&&(c.Rb(0,"div",41),c.Cc(1,Yi,2,0,"div",42),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",null==e.f.unit||null==e.f.unit.errors?null:e.f.unit.errors.required)}}function Qi(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Shipment Type is required"),c.Qb())}function $i(e,t){if(1&e&&(c.Rb(0,"div",41),c.Cc(1,Qi,2,0,"div",42),c.Qb()),2&e){const e=c.ec(2);c.zb(1),c.kc("ngIf",null==e.f.shipmenttype||null==e.f.shipmenttype.errors?null:e.f.shipmenttype.errors.required)}}function Gi(e,t){1&e&&(c.Rb(0,"div",46),c.Rb(1,"p"),c.Ec(2," Seamless, secure, and efficient shipping across the Emirates. Rates and transit times vary for rural cities in all Emirates. "),c.Qb(),c.Qb())}function Ki(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",1),c.Rb(1,"div",2),c.Rb(2,"h1",3),c.Ec(3,"Rate Calculator"),c.Qb(),c.Qb(),c.Rb(4,"div",4),c.Rb(5,"div",5),c.Rb(6,"div",6),c.Rb(7,"div",7),c.Rb(8,"input",8),c.ac("change",(function(){return c.wc(e),c.ec().onShippingTypeChange("international")})),c.Qb(),c.Rb(9,"div",9),c.Rb(10,"span"),c.dc(),c.Rb(11,"svg",10),c.Rb(12,"defs"),c.Rb(13,"clipPath",11),c.Mb(14,"path",12),c.Qb(),c.Qb(),c.Rb(15,"g",13),c.Rb(16,"g",14),c.Mb(17,"path",15),c.Rb(18,"g",16),c.Mb(19,"path",17),c.Qb(),c.Qb(),c.Mb(20,"path",18),c.Mb(21,"path",19),c.Qb(),c.Qb(),c.Qb(),c.cc(),c.Rb(22,"p"),c.Ec(23,"International"),c.Qb(),c.Qb(),c.Qb(),c.Rb(24,"div",7),c.Rb(25,"input",20),c.ac("change",(function(){return c.wc(e),c.ec().onShippingTypeChange("domestic")})),c.Qb(),c.Rb(26,"div",9),c.Rb(27,"span"),c.dc(),c.Rb(28,"svg",21),c.Mb(29,"path",22),c.Qb(),c.Qb(),c.cc(),c.Rb(30,"p"),c.Ec(31,"Domestic"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(32,"section",23),c.Rb(33,"div",24),c.Rb(34,"div",25),c.Rb(35,"div",5),c.Rb(36,"div",26),c.Rb(37,"label"),c.Ec(38,"Sender Country"),c.Rb(39,"span",27),c.Ec(40,"*"),c.Qb(),c.Qb(),c.Rb(41,"ng-select",28),c.ac("change",(function(t){return c.wc(e),c.ec().domesticCountrySelect(t)})),c.Qb(),c.Cc(42,Ai,2,1,"div",29),c.Qb(),c.Qb(),c.Rb(43,"div",5),c.Cc(44,Hi,8,3,"div",30),c.Qb(),c.Rb(45,"div",5),c.Rb(46,"div",26),c.Rb(47,"label"),c.Ec(48,"City From"),c.Rb(49,"span",27),c.Ec(50,"*"),c.Qb(),c.Qb(),c.Rb(51,"ng-select",31),c.ac("change",(function(t){return c.wc(e),c.ec().onFromCountrySelect(t)})),c.Qb(),c.Cc(52,Vi,3,0,"div",29),c.Qb(),c.Qb(),c.Rb(53,"div",5),c.Rb(54,"div",26),c.Rb(55,"label"),c.Ec(56,"City To"),c.Rb(57,"span",27),c.Ec(58,"*"),c.Qb(),c.Qb(),c.Rb(59,"ng-select",32),c.ac("change",(function(t){return c.wc(e),c.ec().onToCountrySelect(t)})),c.Qb(),c.Cc(60,Ni,3,0,"div",29),c.Qb(),c.Qb(),c.Rb(61,"div",33),c.Rb(62,"div",26),c.Rb(63,"label"),c.Ec(64,"Weight"),c.Rb(65,"span",27),c.Ec(66,"*"),c.Qb(),c.Qb(),c.Rb(67,"input",34),c.ac("keypress",(function(t){return c.wc(e),c.ec().onKeyPress(t)})),c.Qb(),c.Cc(68,ji,2,1,"div",29),c.Qb(),c.Qb(),c.Rb(69,"div",33),c.Rb(70,"div",26),c.Rb(71,"label"),c.Ec(72,"Unit"),c.Rb(73,"span",27),c.Ec(74,"*"),c.Qb(),c.Qb(),c.Rb(75,"ng-select",35),c.ac("change",(function(t){return c.wc(e),c.ec().onChangeUnitCategory(t)})),c.Qb(),c.Cc(76,Wi,2,1,"div",29),c.Qb(),c.Qb(),c.Rb(77,"div",33),c.Rb(78,"div",26),c.Rb(79,"label"),c.Ec(80,"Shipment Type"),c.Rb(81,"span",27),c.Ec(82,"*"),c.Qb(),c.Qb(),c.Rb(83,"ng-select",36),c.ac("change",(function(t){return c.wc(e),c.ec().onChangeShipmentCategory(t)})),c.Qb(),c.Cc(84,$i,2,1,"div",29),c.Qb(),c.Qb(),c.Cc(85,Gi,3,0,"div",37),c.Rb(86,"div",38),c.Rb(87,"div",39),c.Rb(88,"button",40),c.ac("click",(function(t){return c.wc(e),c.ec().onCheck(t)})),c.Ec(89,"Calculate"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();
1c.kc("formGroup",e.ratecalculatorForm),c.zb(8),c.kc("checked","international"===e.selectedShippingType),c.zb(17),c.kc("checked","domestic"===e.selectedShippingType),c.zb(16),c.kc("items",e.billToCountries)("disabled","international"===e.selectedShippingType||"domestic"===e.selectedShippingType),c.zb(1),c.kc("ngIf",e.submitted&&(null==e.f.domesticCountryId?null:e.f.domesticCountryId.errors)),c.zb(2),c.kc("ngIf",!e.isDomestic),c.zb(7),c.kc("items",e.domCountries),c.zb(1),c.kc("ngIf",e.submitted&&(null==e.f.fromCountryId?null:e.f.fromCountryId.errors)),c.zb(7),c.kc("items","international"===e.selectedShippingType?e.domCountriez:e.domCountries),c.zb(1),c.kc("ngIf",e.submitted&&(null==e.f.toCountryId?null:e.f.toCountryId.errors)),c.zb(8),c.kc("ngIf",e.submitted&&(null==e.f.weight?null:e.f.weight.errors)),c.zb(7),c.kc("items",e.UnitCategories),c.zb(1),c.kc("ngIf",e.submitted&&(null==e.f.unit?null:e.f.unit.errors)),c.zb(7),c.kc("items",e.ShipmentCategories),c.zb(1),c.kc("ngIf",e.submitted&&(null==e.f.shipmenttype?null:e.f.shipmenttype.errors)),c.zb(1),c.kc("ngIf",e.isDomestic)}}let Ui=(()=>{class e{constructor(e,t,n,i){this.fb=e,this.httpService=t,this.cdr=n,this.router=i,this.billToCountries=[],this.domCountries=[],this.selectedShippingType="international",this.submitted=!1,this.isDomestic=!1,this.UnitCategories=[{id:1,name:"Kg"},{id:2,name:"Lb"}],this.ShipmentCategories=[{id:1,name:"DOCUMENT"},{id:2,name:"PARCEL"}]}ngOnInit(){this.createForm(),this.ratecalculatorForm.controls.unit.setValue(1),this.getCountries(),window.scrollTo({top:0,left:0,behavior:"instant"})}createForm(){this.ratecalculatorForm=this.fb.group({domesticCountryId:new a.d({value:null,disabled:!0}),domesticCountryToId:new a.d(null,a.r.required),fromCountryId:new a.d(null,a.r.required),toCountryId:new a.d(null,a.r.required),weight:new a.d(0,a.r.required),unit:new a.d(1,a.r.required),shipmenttype:new a.d(1,a.r.required)}),this.onShippingTypeChange("international")}getCountries(){this.httpService.get(l.a.countryService).subscribe(e=>{if(e){this.billToCountries=e;const t=this.billToCountries.find(e=>3===e.countryId);(t&&"international"===this.selectedShippingType||"domestic"===this.selectedShippingType)&&this.ratecalculatorForm.controls.domesticCountryId.setValue(t.countryId),this.getDomesticCountries(t.countryId),"international"===this.selectedShippingType&&(this.ratecalculatorForm.controls.fromCountryId.setValue(null),this.ratecalculatorForm.controls.toCountryId.setValue(null))}})}onShippingTypeChange(e){var t,n,i,r,o,s,l;if(this.submitted=!1,this.selectedShippingType=e,this.selectedShippingTypeId="international"===e?1:2,this.ratecalculatorForm.reset(),this.ratecalculatorForm.controls.unit.setValue(1),this.ratecalculatorForm.controls.shipmenttype.setValue(1),"domestic"===e)this.getCountries(),this.isDomestic=!0,null===(t=this.ratecalculatorForm.get("domesticCountryId"))||void 0===t||t.disable(),this.getDomesticCities(this.selectedCountryId),null===(n=this.ratecalculatorForm.get("domesticCountryId"))||void 0===n||n.setValidators(a.r.required),this.ratecalculatorForm.controls.domesticCountryId.setValue(null),null===(i=this.ratecalculatorForm.get("domesticCountryToId"))||void 0===i||i.disable();else{this.isDomestic=!1,null===(r=this.ratecalculatorForm.get("domesticCountryId"))||void 0===r||r.disable(),null===(o=this.ratecalculatorForm.get("domesticCountryId"))||void 0===o||o.clearValidators();const e=this.billToCountries.find(e=>3===e.countryId);e&&this.ratecalculatorForm.controls.domesticCountryId.setValue(e.countryId),this.getDomesticCountries(3),null===(s=this.ratecalculatorForm.get("domesticCountryToId"))||void 0===s||s.enable()}null===(l=this.ratecalculatorForm.get("domesticCountryId"))||void 0===l||l.updateValueAndValidity()}getDomesticCities(e){this.httpService.get(l.a.cityService+e).subscribe(e=>{e&&(this.domCountries=e.map(e=>({countryId:e.countyId,countryName:e.countyName})),this.ratecalculatorForm.controls.fromCountryId.setValue(null),this.ratecalculatorForm.controls.toCountryId.setValue(null),this.cdr.detectChanges())})}domesticCountrySelect(e){var t,n;"domestic"===this.selectedShippingType?(this.selectedCountryId=e.countryId,this.ratecalculatorForm.controls.domesticCountryId.setValue(e.countryId),this.ratecalculatorForm.controls.domesticCountryToId.setValue(e.countryId),null===(t=this.ratecalculatorForm.get("domesticCountryToId"))||void 0===t||t.disable(),this.getDomesticCountries(this.selectedCountryId)):(this.ratecalculatorForm.controls.domesticCountryId.setValue(3),null===(n=this.ratecalculatorForm.get("domesticCountryToId"))||void 0===n||n.enable())}getDomesticCountries(e){this.httpService.get(l.a.cityService+e).subscribe(e=>{e&&(this.domCountries=e.map(e=>({countryId:e.countyId,countryName:e.countyName})),this.ratecalculatorForm.controls.fromCountryId.setValue(null),this.ratecalculatorForm.controls.toCountryId.setValue(null),this.cdr.detectChanges())})}receiverCountrySelect(e){this.validationMessage="",this.ratecalculatorForm.controls.domesticCountryToId.setValue(e.countryId),"international"===this.selectedShippingType?(this.getReceiverCities(e.countryId),this.shiptoCountryName=e.countryName):this.getDomesticCountries(this.ratecalculatorForm.controls.domesticCountryId.value)}getReceiverCities(e){e&&this.httpService.get(l.a.cityService+e).subscribe(e=>{e&&(this.domCountriez=e.map(e=>({countryId:e.countyId,countryName:e.countyName})),this.ratecalculatorForm.controls.toCountryId.setValue(null),this.cdr.detectChanges())})}onFromCountrySelect(e){this.ratecalculatorForm.controls.fromCountryId.setValue(e.countryId),this.billToCountyName=e.countryName}onToCountrySelect(e){this.ratecalculatorForm.controls.toCountryId.setValue(e.countryId),this.shiptoCountyName=e.countryName}onChangeUnitCategory(e){this.ratecalculatorForm.controls.unit.setValue(e.id)}onChangeShipmentCategory(e){this.ratecalculatorForm.controls.shipmenttype.setValue(e.id)}onKeyPress(e){const t=String.fromCharCode(e.keyCode);/[\d.]/.test(t)||"Backspace"===e.key||e.preventDefault()}
1onCheck(e){this.submitted=!0,this.ratecalculatorForm.invalid||(1!=this.selectedShippingTypeId||this.ratecalculatorForm.controls.fromCountryId.value!=this.ratecalculatorForm.controls.toCountryId.value?this.router.navigate(["/admin/servicecreate"],{queryParams:{payload:JSON.stringify({sectorId:this.selectedShippingTypeId,shipTypeId:this.ratecalculatorForm.controls.shipmenttype.value,billToCountryId:this.ratecalculatorForm.controls.domesticCountryId.value,shipToCountryId:1==this.selectedShippingTypeId?this.ratecalculatorForm.controls.domesticCountryToId.value:3,billToCountyId:this.ratecalculatorForm.controls.fromCountryId.value,shipToCountyId:this.ratecalculatorForm.controls.toCountryId.value,unit:this.ratecalculatorForm.controls.unit.value,weight:this.ratecalculatorForm.controls.weight.value,billToCountyName:this.billToCountyName,shiptoCountyName:this.shiptoCountyName,shiptoCountryName:this.shiptoCountryName})},replaceUrl:!0}):this.validationMessage="Destination country should not be the same as the origin country for an international shipment.")}get f(){return this.ratecalculatorForm.controls}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(u.a),c.Lb(c.h),c.Lb(r.c))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-ratecalculator"]],decls:1,vars:1,consts:[[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"row","mb-md-4","mb-2","justify-content-center","text-center"],[1,"col-md-6"],[1,"d-flex","justify-content-center","mt-3"],[1,"custom-abc-radio-btn","me-3","mb-3"],["type","radio","id","international","name","shippingType","value","international",1,"form-check-input",3,"checked","change"],[1,"custom-abc-radio-btn-content"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","23.048","height","20.789","viewBox","0 0 23.048 20.789"],["id","clip-path"],["id","Clip_2","data-name","Clip 2","d","M0,0H23.048V20.788H0Z","fill","none"],["id","Group_16_Copy","data-name","Group 16 Copy","transform","translate(0 -20)"],["id","Group_3","data-name","Group 3","transform","translate(0 20)"],["id","Clip_2-2","data-name","Clip 2","d","M0,0H23.048V20.788H0Z","fill","none"],["id","Group_3-2","data-name","Group 3","clip-path","url(#clip-path)"],["data-name","Fill 1","d","M6.668,20.788a5.579,5.579,0,0,1-.753-.05l-.013,0a.573.573,0,0,1-.266-.147.542.542,0,0,1-.1-.143.489.489,0,0,1,.031-.465l4.826-7.7-5.452-.234c-.458.58-1.314,1.639-1.9,2.222a1.7,1.7,0,0,1-1.251.481,3.65,3.65,0,0,1-1.525-.393.5.5,0,0,1-.221-.639l1.5-3.323L.044,7.074a.5.5,0,0,1,.221-.64,3.673,3.673,0,0,1,1.527-.4,1.7,1.7,0,0,1,1.246.479c.583.582,1.44,1.642,1.9,2.222l5.452-.234L5.566.8A.5.5,0,0,1,5.534.338.5.5,0,0,1,5.906.052h.009A5.509,5.509,0,0,1,6.673,0,3.907,3.907,0,0,1,9.8,1.278c.568.707,1.31,1.651,1.961,2.48,1.116,1.417,2.641,3.355,3.666,4.594l5.553-.076H21a1.989,1.989,0,0,1,1.328.633l.014.013a2.2,2.2,0,0,1,.7,1.471,2.211,2.211,0,0,1-.722,1.489A1.991,1.991,0,0,1,21,12.513h-.02l-5.553-.076c-1.022,1.238-2.55,3.177-3.666,4.594-.85,1.084-1.492,1.9-1.961,2.48A3.909,3.909,0,0,1,6.668,20.788ZM4.7,11.049h.023l6.558.283a.464.464,0,0,1,.329.14.5.5,0,0,1,.092.119.494.494,0,0,1-.018.492L6.858,19.79a2.88,2.88,0,0,0,2.178-.9c.482-.6,1.14-1.433,1.954-2.473,1.339-1.7,2.842-3.605,3.834-4.8a.486.486,0,0,1,.377-.178h.012l5.781.08H21a1.089,1.089,0,0,0,.634-.346,1.359,1.359,0,0,0,.428-.783,1.312,1.312,0,0,0-.428-.782A1.053,1.053,0,0,0,21,9.264h-.005l-5.788.081h-.012a.486.486,0,0,1-.377-.178c-1-1.191-2.5-3.1-3.819-4.778l-.015-.019C10.266,3.456,9.57,2.579,9.025,1.9A2.887,2.887,0,0,0,6.847,1l4.832,7.7a.5.5,0,0,1,.018.492.49.49,0,0,1-.417.262l-6.558.283H4.7a.49.49,0,0,1-.39-.189c-.006-.01-1.236-1.6-1.972-2.33a.757.757,0,0,0-.557-.191,2.162,2.162,0,0,0-.62.108L2.544,10.19a.484.484,0,0,1,0,.4L1.161,13.652a2.145,2.145,0,0,0,.619.107.76.76,0,0,0,.558-.191c.74-.738,1.966-2.32,1.972-2.33A.491.491,0,0,1,4.7,11.049Z","transform","translate(-0.001 0)","fill","#dc291e",1,"path-color"],["data-name","Fill 12","d","M.155.772A.436.436,0,0,1,0,.452.49.49,0,0,1,.521,0H2.642a.49.49,0,0,1,.521.452A.49.49,0,0,1,2.642.9H.521A.556.556,0,0,1,.155.772","transform","translate(6.779 34.236)","fill","#dc291e",1,"path-color"],["data-name","Fill 14","d","M.155.772A.436.436,0,0,1,0,.452.49.49,0,0,1,.521,0H2.642a.49.49,0,0,1,.521.452A.49.49,0,0,1,2.642.9H.521A.556.556,0,0,1,.155.772","transform","translate(6.779 25.65)","fill","#dc291e",1,"path-color"],["type","radio","id","domestic","name","shippingType","value","domestic",1,"form-check-input",3,"checked","change"],["xmlns","http://www.w3.org/2000/svg","width","26.969","height","18.816","viewBox","0 0 26.969 18.816"],["data-name","Fill 1","d","M20.676,18.816a3.139,3.139,0,0,1-3.111-2.688H9.4a3.144,3.144,0,0,1-6.222,0H2.247A1.35,1.35,0,0,1,.9,14.784V13.44H.449a.451.451,0,0,1-.318-.132A.443.443,0,0,1,0,12.992V1.344A1.35,1.35,0,0,1,1.348,0H17.08a1.35,1.35,0,0,1,1.349,1.344V4.032h4.09a1.355,1.355,0,0,1,1.011.452l3.1,3.475a1.334,1.334,0,0,1,.343.893v5.932a1.349,1.349,0,0,1-1.348,1.344H23.787a3.139,3.139,0,0,1-3.111,2.688Zm0-5.376a2.24,2.24,0,1,0,2.247,2.24A2.246,2.246,0,0,0,20.676,13.44Zm-14.384,0a2.24,2.24,0,1,0,2.247,2.24A2.246,2.246,0,0,0,6.293,13.44ZM18.429,4.928v7.616h2.247a3.145,3.145,0,0,1,3.111,2.688h1.834a.449.449,0,0,0,.449-.448V10.752H21.575a1.349,1.349,0,0,1-1.348-1.344V4.928ZM8.491,13.44A3.145,3.145,0,0,1,9.4,15.231h8.162a3.142,3.142,0,0,1,.913-1.792H8.491Zm-6.693,0v1.344a.45.45,0,0,0,.449.448h.935A3.146,3.146,0,0,1,4.1,13.44ZM1.348.9A.451.451,0,0,0,.9,1.344v11.2H17.53V1.344A.45.45,0,0,0,17.08.9H11.908V5.1a.436.436,0,0,1-.21.375.445.445,0,0,1-.431.017L9.215,4.45,7.162,5.49a.445.445,0,0,1-.2.048.441.441,0,0,1-.441-.44V.9ZM21.126,4.928v4.48a.45.45,0,0,0,.449.448H26.07v-1a.448.448,0,0,0-.115-.3l-3.1-3.477a.453.453,0,0,0-.336-.15ZM9.215,3.517a.438.438,0,0,1,.2.048l1.613.817V.9H7.4V4.382l1.612-.817A.438.438,0,0,1,9.215,3.517Z","transform","translate(0 0)","fill","#dc291e",1,"path-color"],[1,"career-item-wraper","mt-0","p-3"],[1,"col-8","get-a-quote-form-wraper","rateReqstForm"],[1,"row"],[1,"form-grid"],[1,"required"],["formControlName","domesticCountryId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country",3,"items","disabled","change"],["class","invali
1d-feedback",4,"ngIf"],["class","form-grid",4,"ngIf"],["formControlName","fromCountryId","bindValue","countryId","bindLabel","countryName","placeholder","Select City",3,"items","change"],["formControlName","toCountryId","bindValue","countryId","bindLabel","countryName","placeholder","Select City ",3,"items","change"],[1,"col-md-4"],["type","text","formControlName","weight","placeholder","Enter Item Weight",1,"form-control","form-control-sm",3,"keypress"],["formControlName","unit","bindValue","id","bindLabel","name","placeholder","Select Unit",3,"items","change"],["formControlName","shipmenttype","bindValue","id","bindLabel","name","placeholder","Select Shipment Type",3,"items","change"],["class","warning-message",4,"ngIf"],[1,"col-md-12"],[1,"form-grid","text-end"],["type","submit",1,"btn",3,"click"],[1,"invalid-feedback"],[4,"ngIf"],["formControlName","domesticCountryToId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country",3,"items","change"],["class","text-danger",4,"ngIf"],[1,"text-danger"],[1,"warning-message"]],template:function(e,t){1&e&&c.Cc(0,Ki,90,17,"form",0),2&e&&c.kc("ngIf",t.ratecalculatorForm)},directives:[i.l,a.s,a.n,a.h,O.a,a.m,a.f,a.b],styles:[".get-a-quote-form-wraper[_ngcontent-%COMP%]{width:100%}.required[_ngcontent-%COMP%]{color:#e63946}"]}),e})();var qi=n("Erg5");const Ji=["startRange"],Xi=["endRange"],Zi=["shipToNameInput"],er=["billToNameInput"],tr=["shipmentContentInput"];function nr(e,t){if(1&e&&(c.Rb(0,"div",7),c.Rb(1,"div",8),c.Mb(2,"input",9),c.Rb(3,"div",10),c.Rb(4,"span"),c.dc(),c.Rb(5,"svg",11),c.Rb(6,"defs"),c.Rb(7,"clipPath",12),c.Mb(8,"path",13),c.Qb(),c.Qb(),c.Rb(9,"g",14),c.Rb(10,"g",15),c.Mb(11,"path",16),c.Rb(12,"g",17),c.Mb(13,"path",18),c.Qb(),c.Qb(),c.Mb(14,"path",19),c.Mb(15,"path",20),c.Qb(),c.Qb(),c.Qb(),c.cc(),c.Rb(16,"p"),c.Ec(17,"International"),c.Qb(),c.Qb(),c.Qb(),c.Rb(18,"div",8),c.Mb(19,"input",21),c.Rb(20,"div",10),c.Rb(21,"span"),c.dc(),c.Rb(22,"svg",22),c.Mb(23,"path",23),c.Qb(),c.Qb(),c.cc(),c.Rb(24,"p"),c.Ec(25,"Domestic"),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e){const e=c.ec(2);c.zb(2),c.kc("checked",1==e.sectorId)("disabled",2===e.sectorId),c.zb(17),c.kc("disabled",1===e.sectorId)("checked",2==e.sectorId)}}function ir(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Name is required"),c.Qb())}function rr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,ir,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.name||null==e.f.name.errors?null:e.f.name.errors.required)}}function or(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email length should be less than 50"),c.Qb())}function sr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid email"),c.Qb())}function ar(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email is required"),c.Qb())}function lr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,or,2,0,"div",6),c.Cc(2,sr,2,0,"div",6),c.Cc(3,ar,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",e.f.email.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.email.errors.pattern),c.zb(1),c.kc("ngIf",e.f.email.errors.required)}}function cr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Country is required"),c.Qb())}function ur(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,cr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",e.f.billToCountryId.errors.required)}}function dr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number is required"),c.Qb())}function hr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number length should be 13 characters."),c.Qb())}function pr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number length should be 13 characters."),c.Qb())}function fr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only numbers and the '+' symbol"),c.Qb())}function mr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,dr,2,0,"div",6),c.Cc(2,hr,2,0,"div",6),c.Cc(3,pr,2,0,"div",6),c.Cc(4,fr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.billToPhone1||null==e.f.billToPhone1.errors?null:e.f.billToPhone1.errors.required),c.zb(1),c.kc("ngIf",null==e.f.billToPhone1||null==e.f.billToPhone1.errors?null:e.f.billToPhone1.errors.minlength),c.zb(1),c.kc("ngIf",null==e.f.billToPhone1||null==e.f.billToPhone1.errors?null:e.f.billToPhone1.errors.maxlength),c.zb(1),c.kc("ngIf",null==e.f.billToPhone1||null==e.f.billToPhone1.errors?null:e.f.billToPhone1.errors.pattern)}}function gr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"City is required"),
1c.Qb())}function _r(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,gr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.billToCity||null==e.f.billToCity.errors?null:e.f.billToCity.errors.required)}}function br(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Street Name is required"),c.Qb())}function vr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,br,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.address||null==e.f.address.errors?null:e.f.address.errors.required)}}function yr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Building Name/Number is required"),c.Qb())}function wr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,yr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.billToBuilding||null==e.f.billToBuilding.errors?null:e.f.billToBuilding.errors.required)}}function Cr(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",27),c.Rb(2,"div",28),c.Rb(3,"label",29),c.Ec(4,"Name "),c.Rb(5,"span",30),c.Ec(6,"*"),c.Qb(),c.Qb(),c.Mb(7,"input",31,32),c.Cc(9,rr,2,1,"div",33),c.Qb(),c.Rb(10,"div",28),c.Rb(11,"label"),c.Ec(12,"Email "),c.Rb(13,"span",30),c.Ec(14,"*"),c.Qb(),c.Qb(),c.Mb(15,"input",34),c.Cc(16,lr,4,3,"div",33),c.Qb(),c.Qb(),c.Rb(17,"div",27),c.Rb(18,"div",28),c.Rb(19,"label",35),c.Ec(20,"Country "),c.Rb(21,"span",30),c.Ec(22,"*"),c.Qb(),c.Qb(),c.Rb(23,"ng-select",36,37),c.ac("change",(function(t){return c.wc(e),c.ec(3).onBillToCountrySelect(t)})),c.Qb(),c.Cc(25,ur,2,1,"div",33),c.Qb(),c.Rb(26,"div",28),c.Rb(27,"label",38),c.Ec(28,"Phone number "),c.Rb(29,"span",30),c.Ec(30,"*"),c.Qb(),c.Qb(),c.Rb(31,"div",39),c.Rb(32,"input",40),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber(t)})),c.Qb(),c.Qb(),c.Cc(33,mr,5,4,"div",33),c.Qb(),c.Qb(),c.Rb(34,"div",27),c.Rb(35,"div",28),c.Rb(36,"label",41),c.Ec(37,"City "),c.Rb(38,"span",30),c.Ec(39,"*"),c.Qb(),c.Qb(),c.Rb(40,"ng-select",42,37),c.ac("change",(function(t){return c.wc(e),c.ec(3).onBillToCountySelect(t)})),c.Qb(),c.Cc(42,_r,2,1,"div",33),c.Qb(),c.Rb(43,"div",28),c.Rb(44,"label",43),c.Ec(45,"Street Name "),c.Rb(46,"span",30),c.Ec(47,"*"),c.Qb(),c.Qb(),c.Mb(48,"input",44),c.Cc(49,vr,2,1,"div",33),c.Qb(),c.Qb(),c.Rb(50,"div",27),c.Rb(51,"div",28),c.Rb(52,"label",43),c.Ec(53,"Building Name/Number "),c.Rb(54,"span",30),c.Ec(55,"*"),c.Qb(),c.Qb(),c.Mb(56,"input",45),c.Cc(57,wr,2,1,"div",33),c.Qb(),c.Rb(58,"div",28),c.Rb(59,"label",43),c.Ec(60,"Nearest Landmark "),c.Qb(),c.Mb(61,"input",46),c.Qb(),c.Qb(),c.Rb(62,"div",47),c.Rb(63,"button",48),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickGoBack(t)})),c.Ec(64,"Go Back"),c.Qb(),c.Rb(65,"button",49),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickContinue(t)})),c.Ec(66," Continue"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(3);c.kc("formGroup",e.shipperDetailsForm),c.zb(9),c.kc("ngIf",e.submitted&&(null==e.f.name?null:e.f.name.errors)),c.zb(7),c.kc("ngIf",1==e.submitted&&e.f.email.errors),c.zb(7),c.kc("items",e.billToCountries),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.billToCountryId.errors),c.zb(7),c.kc("pattern","^\\+?[0-9]*$"),c.zb(1),c.kc("ngIf",e.submitted&&(null==e.f.billToPhone1?null:e.f.billToPhone1.errors)),c.zb(7),c.kc("items",e.billToCounties),c.zb(2),c.kc("ngIf",e.submitted&&(null==e.f.billToCity?null:e.f.billToCity.errors)),c.zb(7),c.kc("ngIf",e.submitted&&(null==e.f.address?null:e.f.address.errors)),c.zb(8),c.kc("ngIf",e.submitted&&(null==e.f.billToBuilding?null:e.f.billToBuilding.errors)),c.zb(8),c.kc("disabled",e.isProcessing)}}function xr(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"h5",24),c.Ec(2,"Please fill in the shipper details"),c.Qb(),c.Cc(3,Cr,67,12,"form",25),c.Qb()),2&e){const e=c.ec(2);c.zb(3),c.kc("ngIf",e.shipperDetailsForm)}}function Sr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Name is required"),c.Qb())}function kr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Sr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToName?null:e.f1.shipToName.errors.required)}}function Tr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email length should be less than 50"),c.Qb())}function Er(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid email"),c.Qb())}function Ir(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email is required"),
1c.Qb())}function Dr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Tr,2,0,"div",6),c.Cc(2,Er,2,0,"div",6),c.Cc(3,Ir,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToEmail?null:e.f1.shipToEmail.errors.maxlength),c.zb(1),c.kc("ngIf",null==e.f1.shipToEmail?null:e.f1.shipToEmail.errors.pattern),c.zb(1),c.kc("ngIf",null==e.f1.shipToEmail?null:e.f1.shipToEmail.errors.required)}}function Mr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Country is required"),c.Qb())}function Or(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Mr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToCountryId?null:e.f1.shipToCountryId.errors.required)}}function Rr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number is required"),c.Qb())}function Lr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number length should be 13 characters."),c.Qb())}function Ar(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number length should be 13 characters."),c.Qb())}function Pr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only numbers and the '+' symbol"),c.Qb())}function Fr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Rr,2,0,"div",6),c.Cc(2,Lr,2,0,"div",6),c.Cc(3,Ar,2,0,"div",6),c.Cc(4,Pr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToPhone1||null==e.f1.shipToPhone1.errors?null:e.f1.shipToPhone1.errors.required),c.zb(1),c.kc("ngIf",null==e.f1.shipToPhone1||null==e.f1.shipToPhone1.errors?null:e.f1.shipToPhone1.errors.minlength),c.zb(1),c.kc("ngIf",null==e.f1.shipToPhone1||null==e.f1.shipToPhone1.errors?null:e.f1.shipToPhone1.errors.maxlength),c.zb(1),c.kc("ngIf",null==e.f1.shipToPhone1||null==e.f1.shipToPhone1.errors?null:e.f1.shipToPhone1.errors.pattern)}}function Br(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"City is required"),c.Qb())}function Hr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Br,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToCity||null==e.f1.shipToCity.errors?null:e.f1.shipToCity.errors.required)}}function Vr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Street Name is required"),c.Qb())}function Nr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Vr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToAddress||null==e.f1.shipToAddress.errors?null:e.f1.shipToAddress.errors.required)}}function zr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Building Name/Number is required"),c.Qb())}function jr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,zr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToBuilding||null==e.f1.shipToBuilding.errors?null:e.f1.shipToBuilding.errors.required)}}function Yr(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",27),c.Rb(2,"div",28),c.Rb(3,"label",29),c.Ec(4,"Name "),c.Rb(5,"span",30),c.Ec(6,"*"),c.Qb(),c.Qb(),c.Mb(7,"input",51,52),c.Cc(9,kr,2,1,"div",33),c.Qb(),c.Rb(10,"div",28),c.Rb(11,"label"),c.Ec(12,"Email "),c.Qb(),c.Mb(13,"input",53),c.Cc(14,Dr,4,3,"div",33),c.Qb(),c.Qb(),c.Rb(15,"div",27),c.Rb(16,"div",28),c.Rb(17,"label",35),c.Ec(18,"Country "),c.Rb(19,"span",30),c.Ec(20,"*"),c.Qb(),c.Qb(),c.Rb(21,"ng-select",54,37),c.ac("change",(function(t){return c.wc(e),c.ec(3).onShipToCountrySelect(t)})),c.Qb(),c.Cc(23,Or,2,1,"div",33),c.Qb(),c.Rb(24,"div",28),c.Rb(25,"label",38),c.Ec(26,"Phone number "),c.Rb(27,"span",30),c.Ec(28,"*"),c.Qb(),c.Qb(),c.Rb(29,"div",39),c.Rb(30,"input",55),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber(t)})),c.Qb(),c.Qb(),c.Cc(31,Fr,5,4,"div",33),c.Qb(),c.Qb(),c.Rb(32,"div",27),c.Rb(33,"div",28),c.Rb(34,"label",41),c.Ec(35,"City "),c.Rb(36,"span",30),c.Ec(37,"*"),c.Qb(),c.Qb(),c.Rb(38,"ng-select",56,37),c.ac("change",(function(t){return c.wc(e),c.ec(3).onShipToCountySelect(t)})),c.Qb(),c.Cc(40,Hr,2,1,"div",33),c.Qb(),c.Rb(41,"div",28),c.Rb(42,"label",43),c.Ec(43,"Street Name "),c.Qb(),c.Mb(44,"input",57),c.Cc(45,Nr,2,1,"div",33),c.Qb(),c.Qb(),c.Rb(46,"div",27),c.Rb(47,"div",28),c.Rb(48,"label",43),c.Ec(49,"Building Name/Number "),c.Qb(),c.Mb(50,"input",58),c.Cc(51,jr,2,1,"div",33),c.Qb(),c.Rb(52,"div",28),c.Rb(53,"label",43),c.Ec(54,"Nearest Landmark "),c.Qb(),c.Mb(55,"input",59),c.Qb(),c.Qb(),c.Rb(56,"div",47),c.Rb(57,"button",60),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickGoBack1(t)})),c.Ec(58,"Go Back"),c.Qb(),c.Rb(59,"button",49),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickContinue1(t)})),c.Ec(60," Continue"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(3);c.kc("formGroup",e.receiverDetailsForm),c.zb(9),c.kc("ngIf",e.submitted1&&(null==e.f1.shipToName?null:e.f1.shipToName.errors)),c.zb(5),c.kc("ngIf",1==e.submitted1&&(null==e.f1.shipToEmail?null:e.f1.shipToEmail.errors)),c.zb(7),c.kc("items",e.shipToCountries),c.zb(2),c.kc("ngIf",1==e.submitted1&&(null==e.f1.shipToCountryId?null:e.f1.shipToCountryId.errors)),c.zb(7),c.kc("pattern","^\\+?[0-9]*$"),c.zb(1),c.kc("ngIf",e.submitted1&&(null==e.f1.shipToPhone1?null:e.f1.shipToPhone1.errors)),c.zb(7),c.kc("items",e.shipToCounties),c.zb(2),c.kc("ngIf",e.submitted1&&(null==e.f1.shipToCity?null:e.f1.shipToCity.errors)),c.zb(5),c.kc("ngIf",e.submitted1&&(null==e.f1.shipToAddress?null:e.f1.shipToAddress.errors)),c.zb(6),c.kc("ngIf",e.submitted1&&(null==e.f1.shipToBuilding?null:e.f1.shipToBuilding.errors)),c.zb(6),c.kc("disabled",e.isProcessing1),c.zb(2),c.kc("disabled",e.isProcessing1)}}function Wr(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"h5",24),c.Ec(2,"Please fill in the Receiver details"),c.Qb(),c.Cc(3,Yr,61,13,"form",25),c.Qb()),2&e){const e=c.ec(2);
1c.zb(3),c.kc("ngIf",e.receiverDetailsForm)}}function Qr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Shipment Content is required"),c.Qb())}function $r(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Qr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.shipmentContent||null==e.f2.shipmentContent.errors?null:e.f2.shipmentContent.errors.required)}}function Gr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Total Gross Weight is required"),c.Qb())}function Kr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Gr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.totalGrossWeight?null:e.f2.totalGrossWeight.errors.required)}}function Ur(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Unit is required"),c.Qb())}function qr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Ur,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.unit||null==e.f2.unit.errors?null:e.f2.unit.errors.required)}}function Jr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Qty is required"),c.Qb())}function Xr(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Jr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.qty||null==e.f2.qty.errors?null:e.f2.qty.errors.required)}}function Zr(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Shipment Type is required"),c.Qb())}function eo(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,Zr,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.ProductTypeId||null==e.f2.ProductTypeId.errors?null:e.f2.ProductTypeId.errors.required)}}function to(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div",69),c.Rb(1,"p"),c.Ec(2," Please check the list of the prohibited items "),c.Rb(3,"a",70),c.ac("click",(function(){return c.wc(e),c.ec(4).openProhibitedItemPage()})),c.Ec(4,"here"),c.Qb(),c.Qb(),c.Rb(5,"p",71),c.Ec(6," Price may change in case of any weight difference. "),c.Qb(),c.Qb()}}function no(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"p",72),c.Ec(2," Thank you for your interest in our services! Connect with us directly, click the link below and start a WhatsApp conversation. "),c.Qb(),c.Mb(3,"br"),c.Rb(4,"p",73),c.Rb(5,"a",74),c.Mb(6,"i",75),c.Ec(7," Contact via WhatsApp "),c.Qb(),c.Ec(8,". "),c.Qb(),c.Qb()),2&e){const e=c.ec(4);c.zb(5),c.kc("href",e.whatsappLink,c.yc)}}function io(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",27),c.Rb(2,"div",28),c.Rb(3,"label",29),c.Ec(4,"Shipment Content "),c.Rb(5,"span",30),c.Ec(6,"*"),c.Qb(),c.Qb(),c.Rb(7,"input",61,62),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateCharacter(t)}))("paste",(function(t){return c.wc(e),c.ec(3).validateOnPaste(t)})),c.Qb(),c.Cc(9,$r,2,1,"div",33),c.Qb(),c.Rb(10,"div",28),c.Rb(11,"label"),c.Ec(12,"Total Gross Weight"),c.Rb(13,"span",30),c.Ec(14,"*"),c.Qb(),c.Qb(),c.Rb(15,"input",63),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber1(t)})),c.Qb(),c.Cc(16,Kr,2,1,"div",33),c.Qb(),c.Qb(),c.Rb(17,"div",27),c.Rb(18,"div",28),c.Rb(19,"label"),c.Ec(20,"Unit "),c.Rb(21,"span",30),c.Ec(22,"*"),c.Qb(),c.Qb(),c.Mb(23,"ng-select",64),c.Cc(24,qr,2,1,"div",33),c.Qb(),c.Rb(25,"div",28),c.Rb(26,"label",38),c.Ec(27,"Quantity "),c.Rb(28,"span",30),c.Ec(29,"*"),c.Qb(),c.Qb(),c.Rb(30,"div",39),c.Rb(31,"input",65),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber(t)})),c.Qb(),c.Qb(),c.Cc(32,Xr,2,1,"div",33),c.Qb(),c.Qb(),c.Rb(33,"div",27),c.Rb(34,"div",28),c.Rb(35,"label",38),c.Ec(36,"Shipment Type "),c.Rb(37,"span",30),c.Ec(38,"*"),c.Qb(),c.Qb(),c.Rb(39,"ng-select",66),c.ac("change",(function(t){return c.wc(e),c.ec(3).onProductTypeChange(t)})),c.Qb(),c.Cc(40,eo,2,1,"div",33),c.Qb(),c.Qb(),c.Cc(41,to,7,0,"div",67),c.Mb(42,"br"),c.Cc(43,no,9,1,"div",6),c.Mb(44,"br"),c.Rb(45,"div",47),c.Rb(46,"button",48),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickGoBack2(t)})),c.Ec(47,"Go Back"),c.Qb(),c.Rb(48,"button",68),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickContinue2(t)})),c.Ec(49," Continue"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(3);c.kc("formGroup",e.shipmentDetailsForm),c.zb(9),c.kc("ngIf",e.submitted2&&(null==e.f2.shipmentContent?null:e.f2.shipmentContent.errors)),c.zb(7),c.kc("ngIf",1==e.submitted2&&(null==e.f2.totalGrossWeight?null:e.f2.totalGrossWeight.errors)),c.zb(7),c.kc("items",e.UnitCategories),c.zb(1),c.kc("ngIf",e.submitted2&&(null==e.f2.unit?null:e.f2.unit.errors)),c.zb(8),c.kc("ngIf",e.submitted2&&(null==e.f2.qty?null:e.f2.qty.errors)),c.zb(7),c.kc("items",e.ShipmentCategories),c.zb(1),c.kc("ngIf",e.submitted2&&(null==e.f2.ProductTypeId?null:e.f2.ProductTypeId.errors)),c.zb(1),c.kc("ngIf",1!==e.sectorId||2!==e.ProductTypeId),c.zb(2),c.kc("ngIf",e.noRate)}}function ro(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"h5",24),c.Ec(2,"Please fill in the Shipment details"),c.Qb(),c.Cc(3,io,50,10,"form",25),c.Qb()),2&e){const e=c.ec(2);c.zb(3),c.kc("ngIf",e.shipmentDetailsForm)}}function oo(e,t){1&e&&(c.Rb(0,"span",87),c.Ec(1,"\u2714"),c.Qb())}function so(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Payment method is required"),
1c.Qb())}function ao(e,t){if(1&e&&(c.Rb(0,"div",50),c.Cc(1,so,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f4.paymentMethod||null==e.f4.paymentMethod.errors?null:e.f4.paymentMethod.errors.required)}}function lo(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",77),c.Rb(2,"div",78),c.ac("click",(function(){return c.wc(e),c.ec(3).selectPaymentMethod("cash/COD")})),c.Rb(3,"div",79),c.Mb(4,"img",80),c.Qb(),c.Rb(5,"p"),c.Ec(6,"Cash/COD"),c.Qb(),c.Cc(7,oo,2,0,"span",81),c.Qb(),c.Rb(8,"div",82),c.Rb(9,"div",79),c.Mb(10,"img",83),c.Qb(),c.Rb(11,"div",84),c.Rb(12,"p",85),c.Ec(13,"Credit Card"),c.Qb(),c.Rb(14,"span",86),c.Ec(15,"Unavailable"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Cc(16,ao,2,1,"div",33),c.Rb(17,"div",47),c.Rb(18,"button",48),c.ac("click",(function(){return c.wc(e),c.ec(3).onClickGoBack4()})),c.Ec(19,"Go Back"),c.Qb(),c.Rb(20,"button",68),c.ac("click",(function(){return c.wc(e),c.ec(3).onClickContinue4()})),c.Ec(21,"Continue"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(3);c.kc("formGroup",e.paymentForm),c.zb(2),c.Db("selected","cash/COD"===e.selectedPaymentMethod),c.zb(5),c.kc("ngIf","cash/COD"===e.selectedPaymentMethod),c.zb(9),c.kc("ngIf",e.submitted4&&(null==e.f4.paymentMethod?null:e.f4.paymentMethod.errors))}}function co(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"h5",76),c.Ec(2,"Amazing, we are almost done"),c.Qb(),c.Rb(3,"p"),c.Ec(4,"Please select the payment method"),c.Qb(),c.Cc(5,lo,22,5,"form",25),c.Qb()),2&e){const e=c.ec(2);c.zb(5),c.kc("ngIf",e.paymentForm)}}function uo(e,t){if(1&e&&(c.Rb(0,"div",2),c.Cc(1,nr,26,4,"div",3),c.Rb(2,"div",4),c.Rb(3,"div",5),c.Rb(4,"span"),c.Ec(5,"1"),c.Qb(),c.Rb(6,"p"),c.Ec(7,"Shipper details"),c.Qb(),c.Qb(),c.Rb(8,"div",5),c.Rb(9,"span"),c.Ec(10,"2"),c.Qb(),c.Rb(11,"p"),c.Ec(12,"Receiver details"),c.Qb(),c.Qb(),c.Rb(13,"div",5),c.Rb(14,"span"),c.Ec(15,"3"),c.Qb(),c.Rb(16,"p"),c.Ec(17,"Shipment details"),c.Qb(),c.Qb(),c.Rb(18,"div",5),c.Rb(19,"span"),c.Ec(20,"4"),c.Qb(),c.Rb(21,"p"),c.Ec(22,"Payment options"),c.Qb(),c.Qb(),c.Qb(),c.Cc(23,xr,4,1,"div",6),c.Cc(24,Wr,4,1,"div",6),c.Cc(25,ro,4,1,"div",6),c.Cc(26,co,6,1,"div",6),c.Qb()),2&e){const e=c.ec();c.zb(1),c.kc("ngIf",1===e.currentStep),c.zb(2),c.Db("active",1===e.currentStep),c.zb(5),c.Db("active",2===e.currentStep),c.zb(5),c.Db("active",3===e.currentStep),c.zb(5),c.Db("active",4===e.currentStep),c.zb(5),c.kc("ngIf",1===e.currentStep),c.zb(1),c.kc("ngIf",2===e.currentStep),c.zb(1),c.kc("ngIf",3===e.currentStep),c.zb(1),c.kc("ngIf",4===e.currentStep)}}function ho(e,t){if(1&e&&(c.Rb(0,"div",111),c.Ec(1),c.Qb()),2&e){const e=c.ec(3);c.zb(1),c.Gc(" ",e.validationMessage," ")}}function po(e,t){1&e&&(c.Rb(0,"span",112),c.Ec(1," +5% VAT"),c.Qb())}function fo(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",88),c.Rb(2,"div",89),c.Mb(3,"img",90),c.Qb(),c.Rb(4,"h3"),c.Ec(5,"Pickup Date"),c.Qb(),c.Rb(6,"p"),c.Ec(7,"Which day will you be available?"),c.Qb(),c.Rb(8,"input",91),c.ac("change",(function(t){return c.wc(e),c.ec(2).onDateChange(t.target.value)})),c.Qb(),c.Qb(),c.Rb(9,"div",92),c.Rb(10,"h4",93),c.Ec(11,"Pickup Time Preference"),c.Qb(),c.Rb(12,"div",94),c.Rb(13,"input",95),c.ac("ngModelChange",(function(t){return c.wc(e),c.ec(2).minValue=t}))("input",(function(){return c.wc(e),c.ec(2).onInputChange()})),c.Qb(),c.Rb(14,"input",96),c.ac("ngModelChange",(function(t){return c.wc(e),c.ec(2).maxValue=t}))("input",(function(){return c.wc(e),c.ec(2).onInputChange()})),c.Qb(),c.Mb(15,"div",97),c.Qb(),c.Rb(16,"div",98),c.Rb(17,"span"),c.Ec(18),c.Qb(),c.Rb(19,"span"),c.Ec(20),c.Qb(),c.Qb(),c.Cc(21,ho,2,1,"div",99),c.Qb(),c.Rb(22,"div",100),c.Rb(23,"h4",93),c.Ec(24,"Total amount to be paid"),c.Qb(),c.Rb(25,"div",101),c.Rb(26,"span"),c.Ec(27),c.Qb(),c.Cc(28,po,2,0,"span",102),c.Qb(),c.Qb(),c.Rb(29,"div",103),c.Rb(30,"label"),c.Mb(31,"input",104),c.Ec(32," I have read and prepared all the documents required for this shipment. "),c.Qb(),c.Rb(33,"label"),c.Mb(34,"input",105),c.Ec(35," Rates and delivery times may vary for rural cities across all Emirates. "),c.Qb(),c.Rb(36,"label"),c.Mb(37,"input",106),c.Ec(38," I accept the "),c.Rb(39,"a",107),c.Ec(40,"Shipping Terms and Conditions"),c.Qb(),c.Ec(41,". "),c.Qb(),c.Qb(),c.Rb(42,"div",108),c.Rb(43,"button",109),c.ac("click",(function(){return c.wc(e),c.ec(2).onClickGoBac()})),c.Ec(44,"Go Back"),c.Qb(),c.Rb(45,"button",110),c.ac("click",(function(){return c.wc(e),c.ec(2).ShipmentCreate()})),c.Ec(46,"Create "),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(2);
1c.kc("formGroup",e.pickupForm),c.zb(8),c.kc("min",e.minDate),c.zb(5),c.kc("min",6)("max",21)("ngModel",e.minValue),c.zb(1),c.kc("min",6)("max",21)("ngModel",e.maxValue),c.zb(4),c.Gc("Ready Time: ",e.formattedStartTime,""),c.zb(2),c.Gc("Latest Time: ",e.formattedEndTime,""),c.zb(1),c.kc("ngIf",e.validationMessage),c.zb(6),c.Gc("",e.price," AED"),c.zb(1),c.kc("ngIf",2==e.sectorId),c.zb(17),c.kc("disabled",!e.pickupForm.valid)}}function mo(e,t){if(1&e&&(c.Rb(0,"div",2),c.Cc(1,fo,47,14,"form",25),c.Qb()),2&e){const e=c.ec();c.zb(1),c.kc("ngIf",e.pickupForm)}}function go(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div",113),c.Rb(1,"div",114),c.Rb(2,"h2"),c.Ec(3,"That's it!"),c.Qb(),c.Rb(4,"p"),c.Ec(5,"Thank you for shipping with us"),c.Qb(),c.Mb(6,"img",115),c.Qb(),c.Rb(7,"div",116),c.Rb(8,"table"),c.Rb(9,"thead"),c.Rb(10,"tr"),c.Rb(11,"th"),c.Ec(12,"Tracking Number"),c.Qb(),c.Rb(13,"th"),c.Ec(14,"Collection Reference"),c.Qb(),c.Rb(15,"th"),c.Ec(16,"Shipper Name"),c.Qb(),c.Rb(17,"th"),c.Ec(18,"Consignee Name"),c.Qb(),c.Rb(19,"th"),c.Ec(20,"Shipper Phone Number"),c.Qb(),c.Rb(21,"th"),c.Ec(22,"Fees"),c.Qb(),c.Qb(),c.Qb(),c.Rb(23,"tbody"),c.Rb(24,"tr"),c.Rb(25,"td"),c.Ec(26),c.Qb(),c.Rb(27,"td"),c.Ec(28),c.Qb(),c.Rb(29,"td"),c.Ec(30),c.Qb(),c.Rb(31,"td"),c.Ec(32),c.Qb(),c.Rb(33,"td"),c.Ec(34),c.Qb(),c.Rb(35,"td"),c.Ec(36),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(37,"div",117),c.Rb(38,"button",118),c.ac("click",(function(){return c.wc(e),c.ec().createNewPickup()})),c.Ec(39,"Create new pickup"),c.Qb(),c.Rb(40,"button",118),c.ac("click",(function(){return c.wc(e),c.ec().printAWB()})),c.Ec(41,"Print AWBs"),c.Qb(),c.Rb(42,"button",118),c.ac("click",(function(){return c.wc(e),c.ec().done()})),c.Ec(43,"Done"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.zb(26),c.Fc(e.shipment.awbNumber),c.zb(2),c.Fc(e.shipment.docNum),c.zb(2),c.Fc(e.shipment.billToName),c.zb(2),c.Fc(e.shipment.shipToName),c.zb(2),c.Fc(e.shipment.billToPhone1),c.zb(2),c.Gc("",e.shipment.price," AED")}}let _o=(()=>{class e{constructor(e,t,n,i,r){this.fb=e,this.modalService=t,this.httpService=n,this.router=i,this.toastrService=r,this.submitted=!1,this.submitted1=!1,this.submitted2=!1,this.cities=[],this.countryServiceApi=l.a.countryService,this.selectedPaymentMethod="Cash/COD",this.currentStep=1,this.UnitCategories=[{id:1,name:"Kg"},{id:2,name:"Lb"}],this.ShipmentCategories=[{id:1,name:"Document"},{id:2,name:"Parcel"}],this.rateDetails=[],this.resourceCreateApi=l.a.userService+"/page1CustomerBooking",this.resourceCreate2Api=l.a.userService+"/page2CustomerBooking",this.resourceCreate4Api=l.a.userService+"/page4CustomerBooking",this.resourceCreate3Api=l.a.userService+"/page3CustomerBooking",this.shipmentcreateApi=l.a.userService+"/shipmentCreate",this.minDate=E().format("yyyy-MM-DD"),this.sliderValue=50,this.min=6,this.max=9,this.step=1,this.minValue=6,this.maxValue=21,this.ProductTypeId=null,this.validationMessage="",this.isTimeValid=!0,this.isProcessing=!1,this.isProcessing1=!1,this.formattedStartTime="6:00 AM",this.formattedEndTime="9:00 PM",this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn")),this.storedData=JSON.parse(localStorage.getItem("storedPayload")),this.storedData&&(this.selectedBillCountryId=this.storedData.billToCountryId,this.selectedcountyId=this.storedData.billToCountyId,this.sectorId=this.storedData.sectorId)}ngOnInit(){this.createForm(),this.getBillToCountries(),this.getShipToCountries(),this.getcity(3),this.scrollToTop()}scrollToTop(){window.scrollTo({top:0,left:0,behavior:"instant"})}createForm(){this.shipperDetailsForm=this.fb.group({name:new a.d(null,a.r.required),email:new a.d("",[a.r.required,a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")]),billToPhone1:new a.d("+971",a.r.compose([a.r.required,a.r.minLength(13),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),billToCountryId:new a.d(3,a.r.required),billToCity:new a.d(null,a.r.required),address:new a.d(null,a.r.required),billToBuilding:new a.d(null,a.r.required),billToLandMark:new a.d(null)}),this.receiverDetailsForm=this.fb.group({shipToName:new a.d(null,a.r.required),shipToEmail:new a.d("",[a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")]),shipToPhone1:new a.d(null,a.r.compose([a.r.required,a.r.minLength(10),a.r.maxLength(15),a.r.pattern("^[0-9,+]*$")])),shipToCountryId:new a.d(this.storedData.shipToCountryId,a.r.required),shipToCity:new a.d(this.storedData.shipToCountyId,a.r.required),shipToAddress:new a.d(null),shipToBuilding:new a.d(null),shipToLandMark:new a.d(null)}
1),this.getShipToCounty(this.storedData.shipToCountryId),this.shipmentDetailsForm=this.fb.group({shipmentContent:new a.d("",a.r.required),totalGrossWeight:new a.d(this.storedData.weight,[a.r.required,a.r.pattern(/^-?\d+(\.\d+)?$/)]),unit:new a.d(this.storedData.unit,a.r.required),qty:new a.d(1,a.r.required),ProductTypeId:new a.d(this.storedData.shipTypeId,a.r.required)}),this.paymentForm=this.fb.group({paymentMethod:new a.d("",a.r.required)});const e=E().hour();let t;t=E().minute()<30?e+.5:e+1,this.pickupForm=this.fb.group({pickupDate:new a.d(E().format("yyyy-MM-DD"),a.r.required),pickupTime:new a.d(t,a.r.required),endPickUpTime:new a.d(21,a.r.required),termsAccepted:[!1,a.r.requiredTrue],documentsReady:[!1,a.r.requiredTrue],documentsShipping:[!1,a.r.requiredTrue]}),this.minValue=t,this.maxValue=21,this.updateFormattedTimes()}selectPaymentMethod(e){"credit-card"!==e&&(this.selectedPaymentMethod=e,this.paymentForm.patchValue({paymentMethod:e}))}getBillToCountries(){this.httpService.get(this.countryServiceApi).subscribe(e=>{e&&(this.billToCountries=e.filter(e=>3==e.countryId),this.selectedBillCountryId=this.billToCountries[0].countryId)})}validateNumber1(e){const t=String.fromCharCode(e.keyCode);/[\d.]/.test(t)||"Backspace"===e.key||e.preventDefault()}validateCharacter(e){/^[a-zA-Z\s]$/.test(e.key)||e.preventDefault()}validateOnPaste(e){var t;const n=(null===(t=e.clipboardData)||void 0===t?void 0:t.getData("text"))||"";/^[a-zA-Z\s]*$/.test(n)||e.preventDefault()}getShipToCountries(){this.httpService.get(this.countryServiceApi).subscribe(e=>{e&&(this.shipToCountries=e.filter(e=>e.countryId==this.storedData.shipToCountryId),this.shipToCountries.length>0)&&this.receiverDetailsForm.controls.shipToPhone1.setValue(this.shipToCountries[0].countryCode)})}onBillToCountrySelect(e){this.selectedBillCountryId=e.countryId,this.shipperDetailsForm.controls.billToCountryId.setValue(e.countryId)}onClickContinue(e){if(this.isProcessing)return;this.isProcessing=!0;const t=this.shipperDetailsForm.value;t.invoiceType=this.storedData.sectorId,t.createdBy=this.logggedInUser.sub,t.bookingId=this.bookingId,this.submitted=!0,this.shipperDetailsForm.invalid?this.isProcessing=!1:this.httpService.post(this.resourceCreateApi,t).subscribe(e=>{e&&(this.bookingId=e,this.currentStep<4&&this.currentStep++,this.scrollToTop(),setTimeout(()=>{this.shipToNameInput.nativeElement.focus()},100)),this.isProcessing=!1})}onFromCountrySelect(e){this.shipperDetailsForm.controls.billToCountryId.setValue(e.countryId)}getcity(e){this.httpService.get(l.a.cityService+e).subscribe(e=>{e&&(console.log(this.selectedcountyId),this.selectedcountyId?(this.billToCounties=e.filter(e=>e.countyId==this.selectedcountyId),this.shipperDetailsForm.controls.billToCity.setValue(this.selectedcountyId)):this.billToCounties=e)})}onShipToCountrySelect(e){this.selectedCountryId=e.countryId,this.getShipToCounty(this.selectedCountryId),this.receiverDetailsForm.controls.shipToPhone1.setValue(e.countryCode),console.log(e.countryCode)}getShipToCounty(e){this.httpService.get(l.a.cityService+e).subscribe(e=>{e&&(this.shipToCounties=e)})}onBillToCountySelect(e){}onShipToCountySelect(e){}onClickGoBack(e){this.isProcessing||(this.isProcessing=!0,this.router.navigate(["admin/servicecreate"]),this.scrollToTop(),this.isProcessing=!1)}onClickGoBack1(e){this.currentStep>1&&this.currentStep--,this.getDetails(),this.scrollToTop(),this.isProcessing=!1}getDetails(){this.httpService.get(l.a.userService+"/shipmentDetails/"+this.bookingId).subscribe(e=>{e&&(this.bookingId=e.customerBookingRateBasedId,this.shipperDetailsForm.patchValue({name:e.billToName,email:e.billToEmail,billToPhone1:e.billToPhone1,billToCountryId:e.billToCountryId,billToCity:e.billToCountyId,address:e.billToAddress}),this.receiverDetailsForm.patchValue({shipToName:e.shipToName,shipToEmail:e.shipToEmail,shipToPhone1:e.shipToPhone1,shipToCountryId:e.shipToCountryId,shipToCity:e.shipToCountyId,shipToAddress:e.shipToAddress}))})}onClickGoBack4(){this.currentStep>1&&this.currentStep--,this.scrollToTop(),this.getShipmentDetils()}getShipmentDetils(){this.httpService.get(l.a.userService+"/shipmentDetails/rateDetails"+this.bookingId).subscribe(e=>{e&&(this.shipmentDeatils=e,this.shipmentDetailsForm.patchValue({shipmentContent:e.shipmentContent,totalGrossWeight:e.totalGrossWeight,unit:e.unit,qty:e.qty,ProductTypeId:e.ProductTypeId}))})}onClickContinue4(){this.rateCalculate(),this.submitted4=!0;const e=this.paymentForm.value;
1e.bookingId=this.bookingId,this.paymentForm.invalid||(this.httpService.post(this.resourceCreate4Api,e).subscribe(e=>{e&&(this.pickUp=!0,this.scrollToTop())}),window.scrollTo({top:0,left:0,behavior:"instant"}))}onClickGoBack2(e){this.currentStep>1&&this.currentStep--,this.scrollToTop(),this.getDetails()}onClickContinue1(e){if(this.isProcessing1)return;this.isProcessing1=!0,this.submitted1=!0;const t=this.receiverDetailsForm.value;t.bookingId=this.bookingId,this.receiverDetailsForm.invalid?this.isProcessing1=!1:(this.httpService.post(this.resourceCreate2Api,t).subscribe(e=>{e&&this.currentStep<4&&(this.currentStep++,this.scrollToTop()),this.isProcessing1=!1}),window.scrollTo({top:0,left:0,behavior:"instant"}),setTimeout(()=>{this.shipmentContentInput.nativeElement.focus()},100))}validateNumber(e){/^[0-9+]*$/.test(e.key)||e.preventDefault()}onClickContinue2(e){const t=this.shipmentDetailsForm.value;t.customerBookingRateBasedId=this.bookingId,this.submitted2=!0,this.shipmentDetailsForm.invalid||(this.httpService.post(this.resourceCreate3Api,t).subscribe(e=>{e&&(this.rateCalculate(),this.scrollToTop())}),window.scrollTo({top:0,left:0,behavior:"instant"}))}rateCalculate(){this.httpService.post(l.a.getpriceService+"/getrate/",{sectorId:this.sectorId,shipTypeId:this.shipmentDetailsForm.controls.ProductTypeId.value,billToCountryId:this.shipperDetailsForm.controls.billToCountryId.value,shipToCountryId:this.receiverDetailsForm.controls.shipToCountryId.value,billToCountyId:this.shipperDetailsForm.controls.billToCity.value,shipToCountyId:this.receiverDetailsForm.controls.shipToCity.value,unit:this.shipmentDetailsForm.controls.unit.value,weight:this.shipmentDetailsForm.controls.totalGrossWeight.value}).subscribe({next:e=>{if(console.log("API Response:",e.length),this.rateDetails=e,this.rateDetails.length>0){const e=localStorage.getItem("Price");console.log(e),this.price=e?JSON.parse(e):null,this.currentStep<4&&this.currentStep++}else this.noRate=!0}})}get f(){return this.shipperDetailsForm.controls}get f1(){return this.receiverDetailsForm.controls}get f2(){return this.shipmentDetailsForm.controls}get f4(){return this.paymentForm.controls}ShipmentCreate(){this.validationMessage="";let e=this.pickupForm.controls.pickupTime.value,t=this.pickupForm.controls.endPickUpTime.value;const n=E(this.pickupForm.controls.pickupDate.value).format("YYYY-MM-DD"),i=E().format("YYYY-MM-DD"),r=E().hour(),o=E().minute();if(n===i&&e<(o<30?r+.5:r+1))return void(this.validationMessage="Ready Time should not be less than the current time.");if(t<e+2)return void(this.validationMessage="Latest Time should be at least 2 hours ahead of Ready Time.");if(this.pickupForm.invalid)return void(this.validationMessage="Please fill all required fields correctly.");this.shimpmentcreate=!0;const s=this.pickupForm.value;s.bookingId=this.bookingId,s.price=this.price,s.pickupTime=this.formattedStartTime,s.endPickUpTime=this.formattedEndTime,this.httpService.post(this.shipmentcreateApi,s).subscribe(e=>{e&&(this.sucess=!0,this.pickUp=!1,this.getDetailsAfterSucess(),this.scrollToTop())}),window.scrollTo({top:0,left:0,behavior:"instant"})}getDetailsAfterSucess(){this.httpService.get(l.a.userService+"/getdetails/shipmentDetils/"+this.bookingId).subscribe(e=>{this.shipment=e})}onClickGoBac(){this.pickUp=!1,this.currentStep=4}updateTimeLabels(){let e=this.pickupForm.value.pickupTime,t=this.pickupForm.value.endPickUpTime;t<e&&(this.pickupForm.patchValue({pickupEndTime:e},{emitEvent:!1}),t=e),this.formattedStartTime=this.convertTo12HourFormat(e),this.formattedEndTime=this.convertTo12HourFormat(t),this.updateSliderTrack()}updateSliderTrack(){const e=(this.pickupForm.value.pickupStartTime-9)/8*100,t=(this.pickupForm.value.pickupEndTime-9)/8*100,n=document.querySelector(".slider-track");n&&(n.style.left=`${e}%`,n.style.width=`${t-e}%`)}convertTo12HourFormat(e){let t=Math.floor(e);return`${12===t?12:t>12?t-12:t}:${e%1==.5?"30":"00"} ${t>=12?"PM":"AM"}`}createNewPickup(){this.sucess=!1,this.pickUp=!1,this.currentStep=1}printAWB(){this.bsModalRef=this.modalService.show(qi.a,{initialState:{id:this.bookingId},class:"modal-lg package-invoice-popup"})}done(){return this.router.navigate(["report/dashboard"],{replaceUrl:!0})}onInputChange(){let e=this.pickupForm.controls.pickupTime.value,t=this.pickupForm.controls.endPickUpTime.value;const n=E(this.pickupForm.controls.pickupDate.value).format("YYYY-MM-DD"),i=E().format("YYYY-MM-DD"),r=E().hour();let o=E().minute()<30?r+.5:r+1;this.validationMessage="",n===i&&e<o&&(this.validationMessage="Ready Time should not be less than the current time.",e=o,this.pickupForm.controls.pickupTime.setValue(e)),t<e+2&&(this.validationMessage="Latest Time should be at least 2 hours ahead of Ready Time.",t=Math.min(e+2,21),this.pickupForm.controls.endPickUpTime.setValue(t)),e<6&&(e=6,this.pickupForm.controls.pickupTime.setValue(6)),e>21&&(e=21,this.pickupForm.controls.pickupTime.setValue(21)),t>21&&(t=21,this.pickupForm.controls.endPickUpTime.setValue(21)),this.updateFormattedTimes()}convertToTime(e){let t=Math.floor(e),n=e%1*60,i=t>=12?"PM":"AM";return t>12&&(t-=12),`${t}:${0===n?"00":n} ${i}`}openProhibitedItemPage(){window.open("/prohibiteditem","_blank")}onProductTypeChange(e){this.ProductTypeId=null==e?void 0:e.id,console.log(this.ProductTypeId)}get whatsappLink(){var e,t,n,i,r,o;const s=this.shipperDetailsForm.controls.billToCity.value,a=(null===(e=this.billToCounties.find(e=>e.countyId===s))||void 0===e?void 0:e.countyName)||"Not Provided",l=this.receiverDetailsForm.controls.shipToCountryId.value,c=(null===(t=this.shipToCountries.find(e=>e.countryId===l))||void 0===t?void 0:t.countryName)||"Not Provided",u=this.receiverDetailsForm.controls.shipToCity.value,d=(null===(n=this.shipToCounties.find(e=>e.countyId===u))||void 0===n?void 0:n.countyName)||"Not Provided",h=this.sectorId,p=1===h?"International":2===h?"Domestic":"Not Provided",f=this.shipmentDetailsForm.controls.totalGrossWeight.value||"Not Provided",m=(null===(i=this.shipmentDetailsForm.controls.qty)||void 0===i?void 0:i.value)||"Not Provided",g=this.shipmentDetailsForm.controls.unit.value||"Not Provided",_=(null===(r=this.Unit
1Categories.find(e=>e.id===g))||void 0===r?void 0:r.name)||"Not Provided",b=this.shipmentDetailsForm.controls.ProductTypeId.value||"Not Provided",v=(null===(o=this.ShipmentCategories.find(e=>e.id===b))||void 0===o?void 0:o.name)||"Not Provided";return`https://api.whatsapp.com/send?phone=971800916&text=${encodeURIComponent(`Hello, I am interested in your service. Here are my rate request details:\n    \n    Sender Country: UNITED ARAB EMIRATES\n    From City: ${a}\n    Receiver Country: ${c}\n    To City: ${d}\n    Sector: ${p}\n    Weight: ${f}\n    Quantity: ${m}\n    Unit: ${_}\n    Shipment Type: ${v}`)}`}onDateChange(e){const t=E().format("YYYY-MM-DD"),n=E(e).format("YYYY-MM-DD");if(this.validationMessage="",n===t){const e=E().hour(),t=E().minute();this.minValue=t<30?e+.5:e+1,this.maxValue=21,this.pickupForm.patchValue({pickupTime:this.minValue,endPickUpTime:21})}else this.minValue=6,this.maxValue=21,this.pickupForm.patchValue({pickupTime:6,endPickUpTime:21});this.updateFormattedTimes()}updateFormattedTimes(){this.formattedStartTime=this.convertToTime(this.pickupForm.controls.pickupTime.value),this.formattedEndTime=this.convertToTime(this.pickupForm.controls.endPickUpTime.value)}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(Fe.b),c.Lb(u.a),c.Lb(r.c),c.Lb(d.b))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-shipperdetails"]],viewQuery:function(e,t){var n;1&e&&(c.Jc(Ji,!0),c.Jc(Xi,!0),c.Jc(Zi,!0),c.Jc(er,!0),c.Jc(tr,!0)),2&e&&(c.tc(n=c.bc())&&(t.startRange=n.first),c.tc(n=c.bc())&&(t.endRange=n.first),c.tc(n=c.bc())&&(t.shipToNameInput=n.first),c.tc(n=c.bc())&&(t.billToName=n.first),c.tc(n=c.bc())&&(t.shipmentContentInput=n.first))},decls:3,vars:3,consts:[["class","container step-progress-wraper",4,"ngIf"],["class","shipment-success",4,"ngIf"],[1,"container","step-progress-wraper"],["class","d-flex justify-content-center mb-3",4,"ngIf"],[1,"step-progress"],[1,"step"],[4,"ngIf"],[1,"d-flex","justify-content-center","mb-3"],[1,"custom-abc-radio-btn","me-3","mb-3"],["type","radio","id","international","name","shippingType","value","international",1,"form-check-input",3,"checked","disabled"],[1,"custom-abc-radio-btn-content"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","23.048","height","20.789","viewBox","0 0 23.048 20.789"],["id","clip-path"],["id","Clip_2","data-name","Clip 2","d","M0,0H23.048V20.788H0Z","fill","none"],["id","Group_16_Copy","data-name","Group 16 Copy","transform","translate(0 -20)"],["id","Group_3","data-name","Group 3","transform","translate(0 20)"],["id","Clip_2-2","data-name","Clip 2","d","M0,0H23.048V20.788H0Z","fill","none"],["id","Group_3-2","data-name","Group 3","clip-path","url(#clip-path)"],["data-name","Fill 1","d","M6.668,20.788a5.579,5.579,0,0,1-.753-.05l-.013,0a.573.573,0,0,1-.266-.147.542.542,0,0,1-.1-.143.489.489,0,0,1,.031-.465l4.826-7.7-5.452-.234c-.458.58-1.314,1.639-1.9,2.222a1.7,1.7,0,0,1-1.251.481,3.65,3.65,0,0,1-1.525-.393.5.5,0,0,1-.221-.639l1.5-3.323L.044,7.074a.5.5,0,0,1,.221-.64,3.673,3.673,0,0,1,1.527-.4,1.7,1.7,0,0,1,1.246.479c.583.582,1.44,1.642,1.9,2.222l5.452-.234L5.566.8A.5.5,0,0,1,5.534.338.5.5,0,0,1,5.906.052h.009A5.509,5.509,0,0,1,6.673,0,3.907,3.907,0,0,1,9.8,1.278c.568.707,1.31,1.651,1.961,2.48,1.116,1.417,2.641,3.355,3.666,4.594l5.553-.076H21a1.989,1.989,0,0,1,1.328.633l.014.013a2.2,2.2,0,0,1,.7,1.471,2.211,2.211,0,0,1-.722,1.489A1.991,1.991,0,0,1,21,12.513h-.02l-5.553-.076c-1.022,1.238-2.55,3.177-3.666,4.594-.85,1.084-1.492,1.9-1.961,2.48A3.909,3.909,0,0,1,6.668,20.788ZM4.7,11.049h.023l6.558.283a.464.464,0,0,1,.329.14.5.5,0,0,1,.092.119.494.494,0,0,1-.018.492L6.858,19.79a2.88,2.88,0,0,0,2.178-.9c.482-.6,1.14-1.433,1.954-2.473,1.339-1.7,2.842-3.605,3.834-4.8a.486.486,0,0,1,.377-.178h.012l5.781.08H21a1.089,1.089,0,0,0,.634-.346,1.359,1.359,0,0,0,.428-.783,1.312,1.312,0,0,0-.428-.782A1.053,1.053,0,0,0,21,9.264h-.005l-5.788.081h-.012a.486.486,0,0,1-.377-.178c-1-1.191-2.5-3.1-3.819-4.778l-.015-.019C10.266,3.456,9.57,2.579,9.025,1.9A2.887,2.887,0,0,0,6.847,1l4.832,7.7a.5.5,0,0,1,.018.492.49.49,0,0,1-.417.262l-6.558.283H4.7a.49.49,0,0,1-.39-.189c-.006-.01-1.236-1.6-1.972-2.33a.757.757,0,0,0-.557-.191,2.162,2.162,0,0,0-.62.108L2.544,10.
119a.484.484,0,0,1,0,.4L1.161,13.652a2.145,2.145,0,0,0,.619.107.76.76,0,0,0,.558-.191c.74-.738,1.966-2.32,1.972-2.33A.491.491,0,0,1,4.7,11.049Z","transform","translate(-0.001 0)","fill","#dc291e",1,"path-color"],["data-name","Fill 12","d","M.155.772A.436.436,0,0,1,0,.452.49.49,0,0,1,.521,0H2.642a.49.49,0,0,1,.521.452A.49.49,0,0,1,2.642.9H.521A.556.556,0,0,1,.155.772","transform","translate(6.779 34.236)","fill","#dc291e",1,"path-color"],["data-name","Fill 14","d","M.155.772A.436.436,0,0,1,0,.452.49.49,0,0,1,.521,0H2.642a.49.49,0,0,1,.521.452A.49.49,0,0,1,2.642.9H.521A.556.556,0,0,1,.155.772","transform","translate(6.779 25.65)","fill","#dc291e",1,"path-color"],["type","radio","id","domestic","name","shippingType","value","domestic",1,"form-check-input",3,"disabled","checked"],["xmlns","http://www.w3.org/2000/svg","width","26.969","height","18.816","viewBox","0 0 26.969 18.816"],["data-name","Fill 1","d","M20.676,18.816a3.139,3.139,0,0,1-3.111-2.688H9.4a3.144,3.144,0,0,1-6.222,0H2.247A1.35,1.35,0,0,1,.9,14.784V13.44H.449a.451.451,0,0,1-.318-.132A.443.443,0,0,1,0,12.992V1.344A1.35,1.35,0,0,1,1.348,0H17.08a1.35,1.35,0,0,1,1.349,1.344V4.032h4.09a1.355,1.355,0,0,1,1.011.452l3.1,3.475a1.334,1.334,0,0,1,.343.893v5.932a1.349,1.349,0,0,1-1.348,1.344H23.787a3.139,3.139,0,0,1-3.111,2.688Zm0-5.376a2.24,2.24,0,1,0,2.247,2.24A2.246,2.246,0,0,0,20.676,13.44Zm-14.384,0a2.24,2.24,0,1,0,2.247,2.24A2.246,2.246,0,0,0,6.293,13.44ZM18.429,4.928v7.616h2.247a3.145,3.145,0,0,1,3.111,2.688h1.834a.449.449,0,0,0,.449-.448V10.752H21.575a1.349,1.349,0,0,1-1.348-1.344V4.928ZM8.491,13.44A3.145,3.145,0,0,1,9.4,15.231h8.162a3.142,3.142,0,0,1,.913-1.792H8.491Zm-6.693,0v1.344a.45.45,0,0,0,.449.448h.935A3.146,3.146,0,0,1,4.1,13.44ZM1.348.9A.451.451,0,0,0,.9,1.344v11.2H17.53V1.344A.45.45,0,0,0,17.08.9H11.908V5.1a.436.436,0,0,1-.21.375.445.445,0,0,1-.431.017L9.215,4.45,7.162,5.49a.445.445,0,0,1-.2.048.441.441,0,0,1-.441-.44V.9ZM21.126,4.928v4.48a.45.45,0,0,0,.449.448H26.07v-1a.448.448,0,0,0-.115-.3l-3.1-3.477a.453.453,0,0,0-.336-.15ZM9.215,3.517a.438.438,0,0,1,.2.048l1.613.817V.9H7.4V4.382l1.612-.817A.438.438,0,0,1,9.215,3.517Z","transform","translate(0 0)","fill","#dc291e",1,"path-color"],[1,"mb-sm-5","mb-4"],[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"form-row"],[1,"form-group"],["for","name"],[1,"required"],["type","text","formControlName","name","placeholder","Enter Name",1,"form-control","form-control-sm"],["billToName",""],["class","invalid-feedback",4,"ngIf"],["type","text","formControlName","email","placeholder","Enter Email",1,"form-control","form-control-sm"],["for","country"],["formControlName","billToCountryId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country",3,"items","change"],["select",""],["for","phone"],[1,"phone-input"],["type","text","formControlName","billToPhone1","maxlength","13","minlength","13","placeholder","Enter Phone number",1,"form-control","form-control-sm",3,"pattern","keypress"],["for","fromCountryId"],["formControlName","billToCity","bindValue","countyId","bindLabel","countyName","placeholder","Select City",3,"items","change"],["for","street"],["type","text","formControlName","address","placeholder","Enter Street Name",1,"form-control","form-control-sm"],["type","text","formControlName","billToBuilding","placeholder","Enter Building Name/Number",1,"form-control","form-control-sm"],["type","text","formControlName","billToLandMark","placeholder","Enter Nearest Landmark",1,"form-control","form-control-sm"],[1,"button-group"],["type","button",1,"go-back",3,"click"],["type","submit",1,"continue",3,"disabled","click"],[1,"invalid-feedback"],["type","text","formControlName","shipToName","placeholder","Enter Name",1,"form-control","form-control-sm"],["shipToNameInput",""],["type","text","formControlName","shipToEmail","placeholder","Enter Email",1,"form-control","form-control-sm"],["formControlName","shipToCountryId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country",3,"items","change"],["type","text","formControlName","shipToPhone1","maxlength","13","minlength","13","placeholder","Enter Phone number",1,"form-control","form-control-sm",3,"pattern","keypress"],["formControlName","shipToCity","bindValue","countyId","bindLabel","countyName","placeholder","Select City",3,"items","change"],["type","text","formControlName","shipToAddress","placeholder","Enter Street Name",1,"form-control","form-control-sm"],["type","text","formControlName","shipToBuilding","placeholder","Enter Building Name/Number",1,"form-control","form-control-sm"],["type","text","formControlName","shipToLandMark","placeholder","Enter Nearest Landmark",1,"form-control","form-control-sm"],["type","button",1,"go-back",3,"disabled","click"],["type","text","formControlName","shipmentContent","placeholder","Enter Shipment Content",1,"form-control","form-control-sm",3,"keypress","paste"],["shipmentContentInput",""],["type","text","formControlName","totalGrossWeight","placeholder","Enter Total Gross Weight",1,"form-control","form-control-sm",3,"keypress"],["formControlName","unit","bindValue","id","bindLabel","name","placeholder","Select Unit",3,"items"],["type","text","formControlName","qty","placeholder","Enter Qty",1,"form-control","form-control-sm",3,"keypress"],["formControlName","ProductTypeId","bindValue","id","bindLabel","name","placeholder","Select Shipment Type",3,"items","change"],["class","warning-message",4,"ngIf"],["type","submit",1,"continue",3,"click"],[1,"warning-message"],["href","javascript:void(0)",3,"click"],[1,"price-warning"],[2,"font-weight","bold","text-align","center","font-size","16px"],[2,"text-align","center"],["target","_blank",3,"href"],[1,"bi","bi-whatsapp",2,"color","green"],[1,"mb-sm-4","mb-3"],[1,"payment-options"],[1,"payment-card",3,"click"],[1,"payment-card-icon"],["src","assets/images/cash-on-delivery.png","alt","Cash"],["class","checkmark",4,"ngIf"],[1,"payment-card","disabled"],["src","assets/images/credit-card.png","alt","Credit Card"],[2,"line-height","1","text-align","left"],[2,"line-height","1"],[1,"disabled-text"],[1,"checkmark"],[1,"pick-up-header"],[1,"pickup-image"],["src","assets/images/delivery-man.png","alt","Delivery Guy",1,"avatar"],["type","date","formControlName","pickupDate",1,"date-input",3,"min","change"],[1,"time-selection"],[1,"pickup-headers"],[1,"range-slider"],["type","range","step","0.5","formControlName","pickupTime",3,"min","max","ngModel","ngModelChange","input"],["type","range","step","0.5","formControlName","endPickUpTime",3,"min","max","ngModel","ngModelChange","input"],[1,"slider-track"],[1,"time-labels"],["class","validation-message",4,"ngIf"],[1,"total-amount"],[1,"amount-box"],["class","vat-label",4,"ngIf"],[1,"terms"],["type","checkbox","formControlName","documentsReady"],["type","checkbox","formControlName","documentsShipping"],["type","checkbox","formControlName","termsAccepted"],["href","#"],[1,"buttons"],[1,"back-btn",3,"click"],[1,"create-btn",3,"disabled","click"],[1,"validation-message"],[1,"vat-label"],[1,"shipment-success"],[1,"success-message"],["src","assets/success-icon.png","alt","Success"],[1,"shipment-details"],[1,"action-buttons"],[1,"create-btn",3,"click"]],template:function(e,t){1&e&&(c.Cc(0,uo,27,13,"div",0),c.Cc(1,mo,2,1,"div",0),c.Cc(2,go,44,6,"div",1)),2&e&&(c.kc("ngIf",!t.pickUp&&!t.sucess),c.zb(1),c.kc("ngIf",t.pickUp),c.zb(1),c.kc("ngIf",t.sucess))},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f,O.a,a.j,a.k,a.o,a.p,a.a],styles:[".container[_ngcontent-%COMP%]{max-width:800px;margin:auto;background:#fff;padding:20px;border-radius:8px}.step-progress[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding-bottom:20px;border-bottom:2px solid #eee;margin-bottom:20px}.step[_ngcontent-%COMP%]{text-align:center;color:#ccc}.step[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;width:30px;height:30px;line-height:30px;border-radius:50%;background:#eee;color:#fff;margin:auto}.step.active[_ngcontent-%COMP%]{color:#e63946}.step.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background:#e63946}h2[_ngcontent-%COMP%]{font-weight:400}
1form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin-bottom:15px}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{width:48%;display:flex;flex-direction:column}@media (max-width:600px){form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{width:100%}}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:400;margin-bottom:5px}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   .required[_ngcontent-%COMP%]{color:#e63946}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:100%;padding:10px;border:1px solid #ccc;border-radius:5px;font-size:16px;transition:border-color .3s}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus, form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:focus{border-color:#e63946;outline:none}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#e63946;font-size:14px;display:none}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:invalid ~ .error-message[_ngcontent-%COMP%]{display:block}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .phone-input[_ngcontent-%COMP%]{display:flex;align-items:center;border:1px solid #ccc;border-radius:5px;overflow:hidden}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .phone-input[_ngcontent-%COMP%]   .flag[_ngcontent-%COMP%]{background:#eee;padding:10px;font-weight:700;border-right:1px solid #ccc}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .phone-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;padding:10px;flex:1}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .phone-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:20px}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:10px 20px;border:none;border-radius:5px;font-size:16px;cursor:pointer;transition:background .3s}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button.go-back[_ngcontent-%COMP%]{background:#ccc;color:#333}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button.go-back[_ngcontent-%COMP%]:hover{background:#bbb}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button.continue[_ngcontent-%COMP%]{background:#e63946;color:#fff}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button.continue[_ngcontent-%COMP%]:hover{background:#d21a28}@media (max-width:600px){.form-row[_ngcontent-%COMP%]{flex-direction:column}.form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{width:100%}.button-group[_ngcontent-%COMP%]{flex-direction:column;gap:10px}}.step-progress-wraper[_ngcontent-%COMP%]{margin-top:10rem;margin-bottom:4rem;padding:40px 50px}.warning-message[_ngcontent-%COMP%]{font-size:14px;color:red;text-align:center;margin-bottom:10px}.warning-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:red;text-decoration:underline;font-weight:700}.price-warning[_ngcontent-%COMP%]{font-size:12px;color:#333}.button-group[_ngcontent-%COMP%]{margin-top:20px;display:flex;justify-content:center;gap:15px}.continue[_ngcontent-%COMP%], .go-back[_ngcontent-%COMP%]{padding:10px 20px;border:none;border-radius:5px;cursor:pointer}.go-back[_ngcontent-%COMP%]{background-color:#fff;border:1px solid red;color:red}.continue[_ngcontent-%COMP%]{background-color:red;color:#fff}.header[_ngcontent-%COMP%]{padding:20px}
1.avatar[_ngcontent-%COMP%]{width:80px;height:80px}.date-input[_ngcontent-%COMP%]{width:100%;padding:10px;border:1px solid #ccc;border-radius:5px;font-size:16px}.time-selection[_ngcontent-%COMP%]{width:100%;padding:20px;box-sizing:border-box}.time-labels[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:14px;color:#666}.amount-box[_ngcontent-%COMP%]{padding:10px;font-size:18px;font-weight:700;color:red}.terms[_ngcontent-%COMP%]{padding:20px;text-align:left}.terms[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;font-size:14px;margin-bottom:10px}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:20px}.back-btn[_ngcontent-%COMP%], .create-btn[_ngcontent-%COMP%]{padding:10px 20px;border:none;cursor:pointer;font-size:16px;border-radius:5px}.back-btn[_ngcontent-%COMP%]{background:#ddd}.create-btn[_ngcontent-%COMP%]{background:red;color:#fff}.slider-container[_ngcontent-%COMP%]{position:relative;width:100%;height:30px}.slider[_ngcontent-%COMP%]{position:absolute;width:100%;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;z-index:2}.slider[_ngcontent-%COMP%]::-webkit-slider-runnable-track{width:100%;height:5px;background:#ddd;border-radius:5px}.slider[_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;background:red;border-radius:50%;cursor:pointer;position:relative;pointer-events:all;z-index:3}.slider-track[_ngcontent-%COMP%]{position:absolute;height:5px;background:#007bff;border-radius:5px;z-index:1}.shipment-success[_ngcontent-%COMP%]{text-align:center;padding:20px}.success-message[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:80px;margin:10px 0}.shipment-details[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;margin:20px 0}.shipment-details[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .shipment-details[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border:1px solid #ddd;padding:10px;text-align:center}.shipment-details[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background:red;color:#fff}.action-buttons[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:15px;margin-top:20px}.btn-outline[_ngcontent-%COMP%]{background:red;background:none;color:red;border-radius:5px}.btn-outline[_ngcontent-%COMP%], .btn-primary[_ngcontent-%COMP%]{padding:10px 15px;cursor:pointer}.btn-primary[_ngcontent-%COMP%]{background-color:red;color:#fff;border:none;border-radius:5px}.btn-outline[_ngcontent-%COMP%]:hover, .btn-primary[_ngcontent-%COMP%]:hover{opacity:.8}.vat-label[_ngcontent-%COMP%]{padding:10px;font-size:20px;font-weight:700;color:#fe2815;text-align:center}.validation-message[_ngcontent-%COMP%]{color:red;font-size:14px;font-weight:700}"]}),e})();function bo(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div"),c.Rb(1,"dx-button",18),c.ac("onClick",(function(n){c.wc(e);const i=t.$implicit;return c.ec().onPrintClick(n,i)})),c.Qb(),c.Qb()}}const vo=function(){return[5,10,20]};function yo(e,t){1&e&&(c.Rb(0,"h1",5),c.Ec(1,"Rate"),c.Qb())}function wo(e,t){1&e&&(c.Rb(0,"h4"),c.Rb(1,"span"),c.Ec(2," +5% VAT"),c.Qb(),c.Qb())}function Co(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div",14),c.ac("click",(function(){c.wc(e);const n=t.$implicit;return c.ec(2).selectService(n)})),c.Rb(1,"div",15),c.Rb(2,"div",16),c.Ec(3,"\u2714"),c.Qb(),c.Rb(4,"div",17),c.dc(),c.Rb(5,"svg",18),c.Mb(6,"path",19),c.Qb(),c.Qb(),c.cc(),c.Rb(7,"h4"),c.Ec(8),c.Qb(),c.Rb(9,"h2"),c.Rb(10,"span"),c.Ec(11),c.Qb(),c.Ec(12," AED"),c.Qb(),c.Cc(13,wo,3,0,"h4",20),c.Qb(),c.Qb()}if(2&e){const e=t.$implicit,n=c.ec(2);c.Db("selected",n.selectedServiceId===e.shipmentRateId),c.zb(2),c.Db("selected",n.selectedServiceId===e.id),c.zb(6),c.Fc(e.shipTypeName),c.zb(3),c.Fc(e.price),c.zb(2),c.kc("ngIf",2==n.sector)}}function xo(e,t){if(1&e){const e=c.Sb();c.Rb(0,"section",6),c.Rb(1,"div",7),c.Rb(2,"h2"),c.Ec(3,"Service Type"),c.Qb(),c.Rb(4,"p",8),c.Ec(5,"Please help us send your shipment with ease and answer the below:"),c.Qb(),c.Rb(6,"div",9),c.Cc(7,Co,14,7,"div",10),c.Qb(),c.Rb(8,"div",11),c.Rb(9,"button",12),c.ac("click",(function(t){return c.wc(e),c.ec().onClickGoBack(t)})),c.Ec(10,"Go Back"),c.Qb(),c.Rb(11,"button",13),c.ac("click",(function(t){return c.wc(e),c.ec().onClickProceed(t)})),c.Ec(12,"Proceed"),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.zb(7),c.kc("ngForOf",e.servicetype)}}function So(e,t){if(1&e){const e=c.Sb();c.Rb(0,"section",6),c.Rb(1,"div",7),c.Rb(2,"p"),c.Ec(3," Thank y
1ou for your interest in our services! Connect with us directly, click the link below and start a WhatsApp conversation. "),c.Qb(),c.Rb(4,"p",21),c.Rb(5,"a",22),c.Mb(6,"i",23),c.Ec(7," Contact via WhatsApp "),c.Qb(),c.Ec(8,". "),c.Qb(),c.Rb(9,"div",11),c.Rb(10,"button",12),c.ac("click",(function(t){return c.wc(e),c.ec().onClickGoBack(t)})),c.Ec(11,"Go Back"),c.Qb(),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.zb(5),c.kc("href",e.whatsappLink,c.yc)}}const ko=["startRange"],To=["endRange"];function Eo(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div",7),c.Rb(1,"div",8),c.Rb(2,"input",9),c.ac("change",(function(){return c.wc(e),c.ec(2).onShippingTypeChange("international")})),c.Qb(),c.Rb(3,"div",10),c.Rb(4,"span"),c.dc(),c.Rb(5,"svg",11),c.Rb(6,"defs"),c.Rb(7,"clipPath",12),c.Mb(8,"path",13),c.Qb(),c.Qb(),c.Rb(9,"g",14),c.Rb(10,"g",15),c.Mb(11,"path",16),c.Rb(12,"g",17),c.Mb(13,"path",18),c.Qb(),c.Qb(),c.Mb(14,"path",19),c.Mb(15,"path",20),c.Qb(),c.Qb(),c.Qb(),c.cc(),c.Rb(16,"p"),c.Ec(17,"International"),c.Qb(),c.Qb(),c.Qb(),c.Rb(18,"div",8),c.Rb(19,"input",21),c.ac("change",(function(){return c.wc(e),c.ec(2).onShippingTypeChange("domestic")})),c.Qb(),c.Rb(20,"div",10),c.Rb(21,"span"),c.dc(),c.Rb(22,"svg",22),c.Mb(23,"path",23),c.Qb(),c.Qb(),c.cc(),c.Rb(24,"p"),c.Ec(25,"Domestic"),c.Qb(),c.Qb(),c.Qb(),c.Qb()}}function Io(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Name is required"),c.Qb())}function Do(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Io,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.name||null==e.f.name.errors?null:e.f.name.errors.required)}}function Mo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email length should be less than 50"),c.Qb())}function Oo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid email"),c.Qb())}function Ro(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email is required"),c.Qb())}function Lo(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Mo,2,0,"div",6),c.Cc(2,Oo,2,0,"div",6),c.Cc(3,Ro,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",e.f.email.errors.maxlength),c.zb(1),c.kc("ngIf",e.f.email.errors.pattern),c.zb(1),c.kc("ngIf",e.f.email.errors.required)}}function Ao(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Country is required"),c.Qb())}function Po(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Ao,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",e.f.billToCountryId.errors.required)}}function Fo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number is required"),c.Qb())}function Bo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number length should be 13 characters. "),c.Qb())}function Ho(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number length should be 13 characters. "),c.Qb())}function Vo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only numbers and the '+' symbol"),c.Qb())}function No(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Fo,2,0,"div",6),c.Cc(2,Bo,2,0,"div",6),c.Cc(3,Ho,2,0,"div",6),c.Cc(4,Vo,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.billToPhone1||null==e.f.billToPhone1.errors?null:e.f.billToPhone1.errors.required),c.zb(1),c.kc("ngIf",null==e.f.billToPhone1||null==e.f.billToPhone1.errors?null:e.f.billToPhone1.errors.minlength),c.zb(1),c.kc("ngIf",null==e.f.billToPhone1||null==e.f.billToPhone1.errors?null:e.f.billToPhone1.errors.maxlength),c.zb(1),c.kc("ngIf",null==e.f.billToPhone1||null==e.f.billToPhone1.errors?null:e.f.billToPhone1.errors.pattern)}}function zo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"City is required"),c.Qb())}function jo(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,zo,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.billToCity||null==e.f.billToCity.errors?null:e.f.billToCity.errors.required)}}function Yo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Street Name is required"),c.Qb())}function Wo(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Yo,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.address||null==e.f.address.errors?null:e.f.address.errors.required)}}function Qo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Building Name/Number is required"),c.Qb())}function $o(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Qo,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f.billToBuilding||null==e.f.billToBuilding.errors?null:e.f.billToBuilding.errors.required)}}function Go(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",27),c.Rb(2,"div",28),c.Rb(3,"label",29),c.Ec(4,"Name "),c.Rb(5,"span",30),c.Ec(6,"*"),c.Qb(),c.Qb(),c.Mb(7,"input",31),c.Cc(8,Do,2,1,"div",32),c.Qb(),c.Rb(9,"div",28),c.Rb(10,"label"),c.Ec(11,"Email "),c.Rb(12,"span",30),c.Ec(13,"*"),c.Qb(),c.Qb(),c.Mb(14,"input",33),c.Cc(15,Lo,4,3,"div",32),c.Qb(),c.Qb(),c.Rb(16,"div",27),c.Rb(17,"div",28),c.Rb(18,"label",34),c.Ec(19,"Country "),c.Rb(20,"span",30),c.Ec(21,"*"),c.Qb(),c.Qb(),c.Rb(22,"ng-select",35,36),c.ac("change",(function(t){return c.wc(e),c.ec(3).onBillToCountrySelect(t)})),c.Qb(),c.Cc(24,Po,2,1,"div",32),c.Qb(),c.Rb(25,"div",28),c.Rb(26,"label",37),c.Ec(27,"Phone number "),c.Rb(28,"span",30),c.Ec(29,"*"),c.Qb(),c.Qb(),c.Rb(30,"div",38),c.Rb(31,"input",39),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber(t)})),c.Qb(),c.Qb(),c.Cc(32,No,5,4,"div",32),c.Qb(),c.Qb(),c.Rb(33,"div",27),c.Rb(34,"div",28),c.Rb(35,"label",40),c.Ec(36,"City "),c.Rb(37,"span",30),c.Ec(38,"*"),c.Qb(),c.Qb(),c.Rb(39,"ng-select",41,36),c.ac("change",(function(t){return c.wc(e),c.ec(3).onBillToCountySelect(t)})),c.Qb(),c.Cc(41,jo,2,1,"div",32),c.Qb(),c.Rb(42,"div",28),c.Rb(43,"label",42),c.Ec(44,"Street Name "),c.Rb(45,"span",30),c.Ec(46,"*"),c.Qb(),c.Qb(),c.Mb(47,"input",43),c.Cc(48,Wo,2,1,"div",32),c.Qb(),c.Qb(),c.Rb(49,"div",27),c.Rb(50,"div",28),c.Rb(51,"label",42),c.Ec(52,"Bu
1ilding Name/Number "),c.Rb(53,"span",30),c.Ec(54,"*"),c.Qb(),c.Qb(),c.Mb(55,"input",44),c.Cc(56,$o,2,1,"div",32),c.Qb(),c.Rb(57,"div",28),c.Rb(58,"label",42),c.Ec(59,"Nearest Landmark "),c.Qb(),c.Mb(60,"input",45),c.Qb(),c.Qb(),c.Rb(61,"div",46),c.Rb(62,"button",47),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickContinue(t)})),c.Ec(63," Continue"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(3);c.kc("formGroup",e.shipperDetailsForm),c.zb(8),c.kc("ngIf",e.submitted&&(null==e.f.name?null:e.f.name.errors)),c.zb(7),c.kc("ngIf",1==e.submitted&&e.f.email.errors),c.zb(7),c.kc("items",e.billToCountries),c.zb(2),c.kc("ngIf",1==e.submitted&&e.f.billToCountryId.errors),c.zb(7),c.kc("pattern","^\\+?[0-9]*$"),c.zb(1),c.kc("ngIf",e.submitted&&(null==e.f.billToPhone1?null:e.f.billToPhone1.errors)),c.zb(7),c.kc("items",e.billToCounties),c.zb(2),c.kc("ngIf",e.submitted&&(null==e.f.billToCity?null:e.f.billToCity.errors)),c.zb(7),c.kc("ngIf",e.submitted&&(null==e.f.address?null:e.f.address.errors)),c.zb(8),c.kc("ngIf",e.submitted&&(null==e.f.billToBuilding?null:e.f.billToBuilding.errors)),c.zb(6),c.kc("disabled",e.isProcessing)}}function Ko(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"h5",24),c.Ec(2,"Please fill in the shipper details"),c.Qb(),c.Cc(3,Go,64,12,"form",25),c.Qb()),2&e){const e=c.ec(2);c.zb(3),c.kc("ngIf",e.shipperDetailsForm)}}function Uo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Name is required"),c.Qb())}function qo(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Uo,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToName?null:e.f1.shipToName.errors.required)}}function Jo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email length should be less than 50"),c.Qb())}function Xo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Invalid email"),c.Qb())}function Zo(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Email is required"),c.Qb())}function es(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Jo,2,0,"div",6),c.Cc(2,Xo,2,0,"div",6),c.Cc(3,Zo,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToEmail?null:e.f1.shipToEmail.errors.maxlength),c.zb(1),c.kc("ngIf",null==e.f1.shipToEmail?null:e.f1.shipToEmail.errors.pattern),c.zb(1),c.kc("ngIf",null==e.f1.shipToEmail?null:e.f1.shipToEmail.errors.required)}}function ts(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Country is required"),c.Qb())}function ns(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,ts,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToCountryId?null:e.f1.shipToCountryId.errors.required)}}function is(e,t){if(1&e&&(c.Rb(0,"div",59),c.Ec(1),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.Gc(" ",e.validationMessage," ")}}function rs(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number is required"),c.Qb())}function os(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number length should be 13 characters. "),c.Qb())}function ss(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Phone number length should be 13 characters. "),c.Qb())}function as(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Enter only numbers and the '+' symbol"),c.Qb())}function ls(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,rs,2,0,"div",6),c.Cc(2,os,2,0,"div",6),c.Cc(3,ss,2,0,"div",6),c.Cc(4,as,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToPhone1||null==e.f1.shipToPhone1.errors?null:e.f1.shipToPhone1.errors.required),c.zb(1),c.kc("ngIf",null==e.f1.shipToPhone1||null==e.f1.shipToPhone1.errors?null:e.f1.shipToPhone1.errors.minlength),c.zb(1),c.kc("ngIf",null==e.f1.shipToPhone1||null==e.f1.shipToPhone1.errors?null:e.f1.shipToPhone1.errors.maxlength),c.zb(1),c.kc("ngIf",null==e.f1.shipToPhone1||null==e.f1.shipToPhone1.errors?null:e.f1.shipToPhone1.errors.pattern)}}function cs(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"City is required"),c.Qb())}function us(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,cs,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToCity||null==e.f1.shipToCity.errors?null:e.f1.shipToCity.errors.required)}}function ds(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Street Name is required"),c.Qb())}function hs(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,ds,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToAddress||null==e.f1.shipToAddress.errors?null:e.f1.shipToAddress.errors.required)}}function ps(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Building Name/Number is required"),
1c.Qb())}function fs(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,ps,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f1.shipToBuilding||null==e.f1.shipToBuilding.errors?null:e.f1.shipToBuilding.errors.required)}}function ms(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",27),c.Rb(2,"div",28),c.Rb(3,"label",29),c.Ec(4,"Name "),c.Rb(5,"span",30),c.Ec(6,"*"),c.Qb(),c.Qb(),c.Mb(7,"input",49),c.Cc(8,qo,2,1,"div",32),c.Qb(),c.Rb(9,"div",28),c.Rb(10,"label"),c.Ec(11,"Email"),c.Qb(),c.Mb(12,"input",50),c.Cc(13,es,4,3,"div",32),c.Qb(),c.Qb(),c.Rb(14,"div",27),c.Rb(15,"div",28),c.Rb(16,"label",34),c.Ec(17,"Country "),c.Rb(18,"span",30),c.Ec(19,"*"),c.Qb(),c.Qb(),c.Rb(20,"ng-select",51,36),c.ac("change",(function(t){return c.wc(e),c.ec(3).onShipToCountrySelect(t)})),c.Qb(),c.Cc(22,ns,2,1,"div",32),c.Cc(23,is,2,1,"div",52),c.Qb(),c.Rb(24,"div",28),c.Rb(25,"label",37),c.Ec(26,"Phone number "),c.Rb(27,"span",30),c.Ec(28,"*"),c.Qb(),c.Qb(),c.Rb(29,"div",38),c.Rb(30,"input",53),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber(t)})),c.Qb(),c.Qb(),c.Cc(31,ls,5,4,"div",32),c.Qb(),c.Qb(),c.Rb(32,"div",27),c.Rb(33,"div",28),c.Rb(34,"label",40),c.Ec(35,"City "),c.Rb(36,"span",30),c.Ec(37,"*"),c.Qb(),c.Qb(),c.Rb(38,"ng-select",54,36),c.ac("change",(function(t){return c.wc(e),c.ec(3).onShipToCountySelect(t)})),c.Qb(),c.Cc(40,us,2,1,"div",32),c.Qb(),c.Rb(41,"div",28),c.Rb(42,"label",42),c.Ec(43,"Street Name "),c.Qb(),c.Mb(44,"input",55),c.Cc(45,hs,2,1,"div",32),c.Qb(),c.Qb(),c.Rb(46,"div",27),c.Rb(47,"div",28),c.Rb(48,"label",42),c.Ec(49,"Building Name/Number "),c.Qb(),c.Mb(50,"input",56),c.Cc(51,fs,2,1,"div",32),c.Qb(),c.Rb(52,"div",28),c.Rb(53,"label",42),c.Ec(54,"Nearest Landmark "),c.Qb(),c.Mb(55,"input",57),c.Qb(),c.Qb(),c.Rb(56,"div",46),c.Rb(57,"button",58),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickGoBack1(t)})),c.Ec(58,"Go Back"),c.Qb(),c.Rb(59,"button",47),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickContinue1(t)})),c.Ec(60," Continue"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(3);c.kc("formGroup",e.receiverDetailsForm),c.zb(8),c.kc("ngIf",e.submitted2&&(null==e.f1.shipToName?null:e.f1.shipToName.errors)),c.zb(5),c.kc("ngIf",1==e.submitted2&&(null==e.f1.shipToEmail?null:e.f1.shipToEmail.errors)),c.zb(7),c.kc("items",e.shipToCountries),c.zb(2),c.kc("ngIf",1==e.submitted2&&(null==e.f1.shipToCountryId?null:e.f1.shipToCountryId.errors)),c.zb(1),c.kc("ngIf",e.validationMessage),c.zb(7),c.kc("pattern","^\\+?[0-9]*$"),c.zb(1),c.kc("ngIf",e.submitted2&&(null==e.f1.shipToPhone1?null:e.f1.shipToPhone1.errors)),c.zb(7),c.kc("items",e.shipToCounties),c.zb(2),c.kc("ngIf",e.submitted2&&(null==e.f1.shipToCity?null:e.f1.shipToCity.errors)),c.zb(5),c.kc("ngIf",e.submitted2&&(null==e.f1.shipToAddress?null:e.f1.shipToAddress.errors)),c.zb(6),c.kc("ngIf",e.submitted2&&(null==e.f1.shipToBuilding?null:e.f1.shipToBuilding.errors)),c.zb(6),c.kc("disabled",e.isProcessing1),c.zb(2),c.kc("disabled",e.isProcessing1)}}function gs(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"h5",24),c.Ec(2,"Please fill in the Receiver details"),c.Qb(),c.Cc(3,ms,61,14,"form",25),c.Qb()),2&e){const e=c.ec(2);c.zb(3),c.kc("ngIf",e.receiverDetailsForm)}}function _s(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Shipment Content is required"),c.Qb())}function bs(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,_s,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.shipmentContent||null==e.f2.shipmentContent.errors?null:e.f2.shipmentContent.errors.required)}}function vs(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Total Gross Weight is required"),c.Qb())}function ys(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,vs,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.totalGrossWeight?null:e.f2.totalGrossWeight.errors.required)}}function ws(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Unit is required"),c.Qb())}function Cs(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,ws,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.unit||null==e.f2.unit.errors?null:e.f2.unit.errors.required)}}
1function xs(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Qty is required"),c.Qb())}function Ss(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,xs,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.qty||null==e.f2.qty.errors?null:e.f2.qty.errors.required)}}function ks(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Shipment Type is required"),c.Qb())}function Ts(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,ks,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f2.ProductTypeId||null==e.f2.ProductTypeId.errors?null:e.f2.ProductTypeId.errors.required)}}function Es(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div",69),c.Rb(1,"p"),c.Ec(2," Please check the list of the prohibited items "),c.Rb(3,"a",70),c.ac("click",(function(){return c.wc(e),c.ec(4).openProhibitedItemPage()})),c.Ec(4,"here"),c.Qb(),c.Qb(),c.Rb(5,"p",71),c.Ec(6," Price may change in case of any weight difference. "),c.Qb(),c.Qb()}}function Is(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"p",72),c.Ec(2," Thank you for your interest in our services! Connect with us directly, click the link below and start a WhatsApp conversation. "),c.Qb(),c.Mb(3,"br"),c.Rb(4,"p",73),c.Rb(5,"a",74),c.Mb(6,"i",75),c.Ec(7," Contact via WhatsApp "),c.Qb(),c.Ec(8,". "),c.Qb(),c.Qb()),2&e){const e=c.ec(4);c.zb(5),c.kc("href",e.whatsappLink,c.yc)}}function Ds(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",27),c.Rb(2,"div",28),c.Rb(3,"label",29),c.Ec(4,"Shipment Content "),c.Rb(5,"span",30),c.Ec(6,"*"),c.Qb(),c.Qb(),c.Rb(7,"input",60),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateCharacter(t)}))("paste",(function(t){return c.wc(e),c.ec(3).validateOnPaste(t)})),c.Qb(),c.Cc(8,bs,2,1,"div",32),c.Qb(),c.Rb(9,"div",28),c.Rb(10,"label"),c.Ec(11,"Total Gross Weight"),c.Rb(12,"span",30),c.Ec(13,"*"),c.Qb(),c.Qb(),c.Rb(14,"input",61),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber1(t)})),c.Qb(),c.Cc(15,ys,2,1,"div",32),c.Qb(),c.Qb(),c.Rb(16,"div",27),c.Rb(17,"div",28),c.Rb(18,"label"),c.Ec(19,"Unit "),c.Rb(20,"span",30),c.Ec(21,"*"),c.Qb(),c.Qb(),c.Mb(22,"ng-select",62),c.Cc(23,Cs,2,1,"div",32),c.Qb(),c.Rb(24,"div",28),c.Rb(25,"label",37),c.Ec(26,"Quantity "),c.Rb(27,"span",30),c.Ec(28,"*"),c.Qb(),c.Qb(),c.Rb(29,"div",63),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber(t)})),c.Rb(30,"input",64),c.ac("keypress",(function(t){return c.wc(e),c.ec(3).validateNumber(t)})),c.Qb(),c.Qb(),c.Cc(31,Ss,2,1,"div",32),c.Qb(),c.Qb(),c.Rb(32,"div",27),c.Rb(33,"div",28),c.Rb(34,"label",37),c.Ec(35,"Shipment Type "),c.Rb(36,"span",30),c.Ec(37,"*"),c.Qb(),c.Qb(),c.Rb(38,"ng-select",65),c.ac("change",(function(t){return c.wc(e),c.ec(3).onProductTypeChange(t)})),c.Qb(),c.Cc(39,Ts,2,1,"div",32),c.Qb(),c.Qb(),c.Cc(40,Es,7,0,"div",66),c.Mb(41,"br"),c.Cc(42,Is,9,1,"div",6),c.Mb(43,"br"),c.Rb(44,"div",46),c.Rb(45,"button",67),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickGoBack2(t)})),c.Ec(46,"Go Back"),c.Qb(),c.Rb(47,"button",68),c.ac("click",(function(t){return c.wc(e),c.ec(3).onClickContinue2(t)})),c.Ec(48," Continue"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(3);c.kc("formGroup",e.shipmentDetailsForm),c.zb(8),c.kc("ngIf",e.submitted3&&(null==e.f2.shipmentContent?null:e.f2.shipmentContent.errors)),c.zb(7),c.kc("ngIf",1==e.submitted3&&(null==e.f2.totalGrossWeight?null:e.f2.totalGrossWeight.errors)),c.zb(7),c.kc("items",e.UnitCategories),c.zb(1),c.kc("ngIf",e.submitted3&&(null==e.f2.unit?null:e.f2.unit.errors)),c.zb(8),c.kc("ngIf",e.submitted3&&(null==e.f2.qty?null:e.f2.qty.errors)),c.zb(7),c.kc("items",e.ShipmentCategories),c.zb(1),c.kc("ngIf",e.submitted3&&(null==e.f2.ProductTypeId?null:e.f2.ProductTypeId.errors)),c.zb(1),c.kc("ngIf",!e.noRate),c.zb(2),c.kc("ngIf",e.noRate)}}function Ms(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"h5",24),c.Ec(2,"Please fill in the Shipment details"),c.Qb(),c.Cc(3,Ds,49,10,"form",25),c.Qb()),2&e){const e=c.ec(2);c.zb(3),c.kc("ngIf",e.shipmentDetailsForm)}}function Os(e,t){1&e&&(c.Rb(0,"span",87),c.Ec(1,"\u2714"),c.Qb())}function Rs(e,t){1&e&&(c.Rb(0,"div"),c.Ec(1,"Payment method is required"),c.Qb())}function Ls(e,t){if(1&e&&(c.Rb(0,"div",48),c.Cc(1,Rs,2,0,"div",6),c.Qb()),2&e){const e=c.ec(4);c.zb(1),c.kc("ngIf",null==e.f4.paymentMethod||null==e.f4.paymentMethod.errors?null:e.f4.paymentMethod.errors.required)}}function As(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",77),c.Rb(2,"div",78),c.ac("click",(function(){return c.wc(e),c.ec(3).selectPaymentMethod("cash/COD")})),c.Rb(3,"div",79),c.Mb(4,"img",80),c.Qb(),c.Rb(5,"p"),c.Ec(6,"Cash/COD"),c.Qb(),c.Cc(7,Os,2,0,"span",81),c.Qb(),c.Rb(8,"div",82),c.Rb(9,"div",79),c.Mb(10,"img",83),c.Qb(),c.Rb(11,"div",84),c.Rb(12,"p",85),c.Ec(13,"Credit Card"),c.Qb(),c.Rb(14,"span",86),c.Ec(15,"Unavailable"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Cc(16,Ls,2,1,"div",32),c.Rb(17,"div",46),c.Rb(18,"button",67),c.ac("click",(function(){return c.wc(e),c.ec(3).onClickGoBack4()})),c.Ec(19,"Go Back"),c.Qb(),c.Rb(20,"button",68),c.ac("click",(function(){return c.wc(e),c.ec(3).onClickContinue4()})),c.Ec(21,"Continue"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(3);
1c.kc("formGroup",e.paymentForm),c.zb(2),c.Db("selected","cash/COD"===e.selectedPaymentMethod),c.zb(5),c.kc("ngIf","cash/COD"===e.selectedPaymentMethod),c.zb(9),c.kc("ngIf",e.submitted4&&(null==e.f4.paymentMethod?null:e.f4.paymentMethod.errors))}}function Ps(e,t){if(1&e&&(c.Rb(0,"div"),c.Rb(1,"h5",76),c.Ec(2,"Amazing, we are almost done"),c.Qb(),c.Rb(3,"p"),c.Ec(4,"Please select the payment method"),c.Qb(),c.Cc(5,As,22,5,"form",25),c.Qb()),2&e){const e=c.ec(2);c.zb(5),c.kc("ngIf",e.paymentForm)}}function Fs(e,t){if(1&e&&(c.Rb(0,"div",2),c.Cc(1,Eo,26,0,"div",3),c.Rb(2,"div",4),c.Rb(3,"div",5),c.Rb(4,"span"),c.Ec(5,"1"),c.Qb(),c.Rb(6,"p"),c.Ec(7,"Shipper details"),c.Qb(),c.Qb(),c.Rb(8,"div",5),c.Rb(9,"span"),c.Ec(10,"2"),c.Qb(),c.Rb(11,"p"),c.Ec(12,"Receiver details"),c.Qb(),c.Qb(),c.Rb(13,"div",5),c.Rb(14,"span"),c.Ec(15,"3"),c.Qb(),c.Rb(16,"p"),c.Ec(17,"Shipment details"),c.Qb(),c.Qb(),c.Rb(18,"div",5),c.Rb(19,"span"),c.Ec(20,"4"),c.Qb(),c.Rb(21,"p"),c.Ec(22,"Payment options"),c.Qb(),c.Qb(),c.Qb(),c.Cc(23,Ko,4,1,"div",6),c.Cc(24,gs,4,1,"div",6),c.Cc(25,Ms,4,1,"div",6),c.Cc(26,Ps,6,1,"div",6),c.Qb()),2&e){const e=c.ec();c.zb(1),c.kc("ngIf",1===e.currentStep),c.zb(2),c.Db("active",1===e.currentStep),c.zb(5),c.Db("active",2===e.currentStep),c.zb(5),c.Db("active",3===e.currentStep),c.zb(5),c.Db("active",4===e.currentStep),c.zb(5),c.kc("ngIf",1===e.currentStep),c.zb(1),c.kc("ngIf",2===e.currentStep),c.zb(1),c.kc("ngIf",3===e.currentStep),c.zb(1),c.kc("ngIf",4===e.currentStep)}}function Bs(e,t){if(1&e&&(c.Rb(0,"div",111),c.Ec(1),c.Qb()),2&e){const e=c.ec(3);c.zb(1),c.Gc(" ",e.validationMessage," ")}}function Hs(e,t){1&e&&(c.Rb(0,"span",112),c.Ec(1," +5% VAT"),c.Qb())}function Vs(e,t){if(1&e){const e=c.Sb();c.Rb(0,"form",26),c.Rb(1,"div",88),c.Rb(2,"div",89),c.Mb(3,"img",90),c.Qb(),c.Rb(4,"h3"),c.Ec(5,"Pickup Date"),c.Qb(),c.Rb(6,"p"),c.Ec(7,"Which day will you be available?"),c.Qb(),c.Rb(8,"input",91),c.ac("change",(function(t){return c.wc(e),c.ec(2).onDateChange(t.target.value)})),c.Qb(),c.Qb(),c.Rb(9,"div",92),c.Rb(10,"h4",93),c.Ec(11,"Pickup Time Preference"),c.Qb(),c.Rb(12,"div",94),c.Rb(13,"input",95),c.ac("ngModelChange",(function(t){return c.wc(e),c.ec(2).minValue=t}))("input",(function(){return c.wc(e),c.ec(2).onInputChange()})),c.Qb(),c.Rb(14,"input",96),c.ac("ngModelChange",(function(t){return c.wc(e),c.ec(2).maxValue=t}))("input",(function(){return c.wc(e),c.ec(2).onInputChange()})),c.Qb(),c.Mb(15,"div",97),c.Qb(),c.Rb(16,"div",98),c.Rb(17,"span"),c.Ec(18),c.Qb(),c.Rb(19,"span"),c.Ec(20),c.Qb(),c.Qb(),c.Cc(21,Bs,2,1,"div",99),c.Qb(),c.Rb(22,"div",100),c.Rb(23,"h4",93),c.Ec(24,"Total amount to be paid"),c.Qb(),c.Rb(25,"div",101),c.Rb(26,"span"),c.Ec(27),c.Qb(),c.Cc(28,Hs,2,0,"span",102),c.Qb(),c.Qb(),c.Rb(29,"div",103),c.Rb(30,"label"),c.Mb(31,"input",104),c.Ec(32," I have read and prepared all the documents required for this shipment. "),c.Qb(),c.Rb(33,"label"),c.Mb(34,"input",105),c.Ec(35," Rates and delivery times may vary for rural cities across all Emirates. "),c.Qb(),c.Rb(36,"label"),c.Mb(37,"input",106),c.Ec(38," I accept the "),c.Rb(39,"a",107),c.Ec(40,"Shipping Terms and Conditions"),c.Qb(),c.Ec(41,". "),c.Qb(),c.Qb(),c.Rb(42,"div",108),c.Rb(43,"button",109),c.ac("click",(function(){return c.wc(e),c.ec(2).onClickGoBac()})),c.Ec(44,"Go Back"),c.Qb(),c.Rb(45,"button",110),c.ac("click",(function(){return c.wc(e),c.ec(2).ShipmentCreate()})),c.Ec(46,"Create "),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec(2);c.kc("formGroup",e.pickupForm),c.zb(8),c.kc("min",e.minDate),c.zb(5),c.kc("min",6)("max",21)("ngModel",e.minValue),c.zb(1),c.kc("min",6)("max",21)("ngModel",e.maxValue),c.zb(4),c.Gc("Ready Time: ",e.formattedStartTime,""),c.zb(2),c.Gc("Latest Time: ",e.formattedEndTime,""),c.zb(1),c.kc("ngIf",e.validationMessage),c.zb(6),c.Gc("",e.price," AED"),c.zb(1),c.kc("ngIf",2==e.sectorId),c.zb(17),c.kc("disabled",!e.pickupForm.valid)}}function Ns(e,t){if(1&e&&(c.Rb(0,"div",2),c.Cc(1,Vs,47,14,"form",25),c.Qb()),2&e){const e=c.ec();c.zb(1),c.kc("ngIf",e.pickupForm)}}function zs(e,t){if(1&e){const e=c.Sb();c.Rb(0,"div",113),c.Rb(1,"div",114),c.Rb(2,"h2"),c.Ec(3,"That's it!"),c.Qb(),c.Rb(4,"p"),c.Ec(5,"Thank you for shipping with us"),c.Qb(),c.Mb(6,"img",115),c.Qb(),c.Rb(7,"div",116),c.Rb(8,"table"),c.Rb(9,"thead"),c.Rb(10,"tr"),c.Rb(11,"th"),c.Ec(12,"Tracking Number"),c.Qb(),c.Rb(13,"th"),c.Ec(14,"Collection Reference"),c.Qb(),c.Rb(15,"th"),c.Ec(16,"Shipper Name"),c.Qb(),c.Rb(17,"th"),c.Ec(18,"Consignee Name"),c.Qb(),c.Rb(19,"th"),c.Ec(20,"Shipper Phone Number"),c.Qb(),c.Rb(21,"th"),c.Ec(22,"Fees"),c.Qb(),c.Qb(),c.Qb(),c.Rb(23,"tbody"),c.Rb(24,"tr"),c.Rb(25,"td"),c.Ec(26),c.Qb(),c.Rb(27,"td"),c.Ec(28),c.Qb(),c.Rb(29,"td"),c.Ec(30),c.Qb(),c.Rb(31,"td"),c.Ec(32),c.Qb(),c.Rb(33,"td"),c.Ec(34),c.Qb(),c.Rb(35,"td"),c.Ec(36),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(37,"div",117),c.Rb(38,"button",118),c.ac("click",(function(){return c.wc(e),c.ec().createNewPickup()})),c.Ec(39,"Create new pickup"),c.Qb(),c.Rb(40,"button",118),c.ac("click",(function(){return c.wc(e),c.ec().printAWB()})),c.Ec(41,"Print AWBs"),c.Qb(),c.Rb(42,"button",118),c.ac("click",(function(){return c.wc(e),c.ec().done()})),c.Ec(43,"Done"),c.Qb(),c.Qb(),c.Qb()}if(2&e){const e=c.ec();c.zb(26),c.Fc(e.shipment.awbNumber),c.zb(2),c.Fc(e.shipment.docNum),c.zb(2),c.Fc(e.shipment.billToName),c.zb(2),c.Fc(e.shipment.shipToName),c.zb(2),c.Fc(e.shipment.billToPhone1),c.zb(2),c.Gc("",e.shipment.price," AED")}}const js=[{path:"",canActivate:[o.a],children:[{path:"invoicebooking",component:Ae},{path:"invoicebooking-edit/:customerInvoiceBookingId",component:Ae},{path:"tracking",component:Ri},{path:"raterequest",component:Fn},{path:"myinvoice",component:St},{path:"myinvoiceBooking",component:Zt},{path:"cbmcalculator",component:T},{path:"myraterequest",component:tn},{path:"dashboard",component:s.a},{path:"ticket-mangement",component:ei},{path:"ticket-create",component:Zn},{path:"ticket-edit/:ticketId",component:yi},{path:"my-profile",component:_n},{path:"ratecalculator",component:Ui},{path:"shipperdetails",component:_o},{path:"shipperdetails",component:_o},{path:"myshipperdetails",component:(()=>{class e{constructor(e,t,n,i,r){this.httpService=e,this.toastrService=t,this.router=n,this.fb=i,this.modalService=r,this.title="My Shipment Details",this.getGridDataApi=l.a.getpriceService+"/customerBookingRateBased",this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn"))}ngOnInit(){this.bindData()}bindData(){this.httpService.post(this.getGridDataApi,{custPhone:this.logggedInUser.phone_number,iuserId:this.logggedInUser.sub}).subscribe(e=>{e&&Array.isArray(e)?this.dataSource=e.map((e,t)=>Object.assign(Object.assign({},e),{slNo:t+1})):(console.error("Invalid response format:",e),this.dataSource=[])},e=>{console.error("Error fetching data:",e)})}customizeColumns(e){e[0].alignment="left",e[2].alignment="left",e[0].allowSorting=!0,e[1].allowSorting=!0,e[2].allowSorting=!0,e[3].allowSorting=!0}onPrintClick(e,t){console.log(t),this.bsModalRef=this.modalService.show(qi.a,{initialState:{id:t.data.customerBookingRateBasedId},class:"modal-lg package-invoice-popup"})}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(u.a),c.Lb(d.b),c.Lb(r.c),c.Lb(a.c),c.Lb(Fe.b))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-myshipperdetails"]],decls:21,vars:15,consts:[[1,"my-invoice-page",3,"formGroup"],[1,"col-12","pr-5","pl-5","d-flex","justify-content-between","flex-wrap","dashboard-right-wrap"],[1,"col-12","head-card","mb-5"],[1,"row","align-items-center","justify-content-between"],[1,"col-8"],[1,"col-12","each-input-box","invoice-table","p-3",2,"background-color","#fff"],["id","gridContainer",3,"dataSource","showBorders","columns","customizeColumns"],["grid",""],["dataField","slNo","caption","Sl No","width","100"],["dataField","docDate","caption","Date","dataType","date"],["dataField","billToName","caption","Sender Name"],["dataField","docNum","caption","Doc Number"],["dataField","awbNumber","caption","AWB Number"],["dataField","billToEmail","caption","Email ID"],["type","buttons","width","80","caption","Print","cellTemplate","invoicePrintTemplate"],[4,"dxTemplate","dxTemplateOf"],[3,"visible"],[3,"visible","showNavigationButtons","showPageSizeSelector","allowedPageSizes","showInfo"],["hint","Print","icon","/assets/printer.svg",3,"onClick"]],template:function(e,t){1&e&&(c.Rb(0,"form",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"div",3),c.Rb(4,"div",4),c.Rb(5,"h4"),c.Ec(6),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(7,"div",5),c.Rb(8,"dx-data-grid",6,7),c.Mb(10,"dxi-column",8),c.Mb(11,"dxi-column",9),c.Mb(12,"dxi-column",10),c.Mb(13,"dxi-column",11),c.Mb(14,"dxi-column",12),c.Mb(15,"dxi-column",13),c.Mb(16,"dxi-column",14),c.Cc(17,bo,2,0,"div",15),c.Mb(18,"dxo-filter-row",16),c.Mb(19,"dxo-search-panel",16),c.Mb(20,"dxo-pager",17),c.Qb(),c.Qb(),c.Qb(),c.Qb()),2&e&&(c.kc("formGroup",t.gridManagementForm),
1c.zb(6),c.Fc(t.title),c.zb(2),c.kc("dataSource",t.dataSource)("showBorders",!0)("columns",t.columnDefs)("customizeColumns",t.customizeColumns),c.zb(9),c.kc("dxTemplateOf","invoicePrintTemplate"),c.zb(1),c.kc("visible",!0),c.zb(1),c.kc("visible",!0),c.zb(1),c.kc("visible",!0)("showNavigationButtons",!0)("showPageSizeSelector",!0)("allowedPageSizes",c.oc(14,vo))("showInfo",!0))},directives:[a.s,a.n,a.h,dt.a,vt.c,mt.d,vt.H,vt.jb,vt.ab,_t],styles:[""]}),e})()},{path:"servicecreate",component:(()=>{class e{constructor(e,t,n,i){this.route=e,this.httpService=t,this.router=n,this.toastrService=i,this.servicetype=[],this.selectedServiceId=null,this.noRate=!0,this.ratelength=[],this.ShipmentCategories=[{id:1,name:"Document"},{id:2,name:"Parcel"}],this.UnitCategories=[{id:1,name:"Kg"},{id:2,name:"Lb"}],this.loadingRates=!1}ngOnInit(){window.scrollTo({top:0,left:0,behavior:"instant"}),this.route.queryParams.subscribe(e=>{if(e.payload)try{const t=JSON.parse(e.payload);this.sector=t.sectorId,this.shipment=t.shipTypeId,this.fromCity=t.billToCountyName,this.receiverCountry=t.shiptoCountryName,this.toCity=t.shiptoCountyName,this.weight=t.weight,this.quantity=t.qty,this.unit=t.unit;const n=localStorage.getItem("storedPayload");this.rateData=t,n&&n===JSON.stringify(t)||(console.log("New Payload detected! Clearing old data..."),localStorage.removeItem("serviceTypeData"),localStorage.removeItem("selectedServiceId"),localStorage.setItem("storedPayload",JSON.stringify(t)),this.rateData=t,this.fetchServiceTypes())}catch(t){console.error("Error parsing payload:",t)}this.fetchServiceTypes()})}loadFromLocalStorage(){console.log("Loading data from localStorage..."),this.servicetype=JSON.parse(localStorage.getItem("serviceTypeData")||"[]"),this.selectedServiceId=localStorage.getItem("selectedServiceId")?Number(localStorage.getItem("selectedServiceId")):null,this.servicetype.length||(console.log("No data found in localStorage, fetching from API..."),this.fetchServiceTypes())}fetchServiceTypes(){this.httpService.post(l.a.getpriceService+"/getrate/",this.rateData).subscribe({next:e=>{console.log("API Response:",e.length,this.noRate),this.ratelength=e,this.ratelength.length>0?(this.noRate=!1,this.servicetype=e,localStorage.setItem("serviceTypeData",JSON.stringify(e))):this.noRate=!0,this.loadingRates=!0},error:e=>{this.noRate=!0,this.loadingRates=!0}})}selectService(e){this.selectedServiceId=this.selectedServiceId===e?null:e.shipmentRateId,localStorage.setItem("selectedServiceId",this.selectedServiceId?this.selectedServiceId.toString():""),localStorage.setItem("Price",e.price)}onClickGoBack(e){this.router.navigate(["admin/ratecalculator"])}onClickProceed(e){null===this.selectedServiceId?this.toastrService.warning("Please select a service option before proceeding!"):this.router.navigate(["admin/shipperdetails"])}get whatsappLink(){const e=this.fromCity,t=this.receiverCountry,n=this.receiverCountry,i=1===this.sector?"International":2===this.sector?"Domestic":"Not Provided";let r="Not Provided";const o=this.ShipmentCategories.find(e=>e.id===this.shipment);o&&(r=o.name);const s=this.weight||"Not Provided";let a="Not Provided";const l=this.UnitCategories.find(e=>e.id===this.unit);return l&&(a=l.name),`https://api.whatsapp.com/send?phone=971800916&text=${encodeURIComponent(`Hello, I am interested in your service. Here are my rate request details:\n\n    Sender Country: UNITED ARAB EMIRATES\n    From City: ${e}\n    Receiver Country: ${t}\n    To City: ${n}\n    Sector: ${i}\n    Weight: ${s}\n    Unit: ${a}\n    Shipment Type: ${r}`)}`}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(r.a),c.Lb(u.a),c.Lb(r.c),c.Lb(d.b))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-service-create"]],decls:6,vars:3,consts:[[1,"career-page"],[1,"max-1490"],[1,"about-us-header"],["class","section-head words chars splitting mb-0",4,"ngIf"],["class","career-item-wraper mt-0 p-3",4,"ngIf"],[1,"section-head","words","chars","splitting","mb-0"],[1,"career-item-wraper","mt-0","p-3"],[1,"container"],[1,"description"],[1,"service-options"],["class","service-card",3,"selected","click",4,"ngFor","ngForOf"],[1,"buttons"],[1,"button","go-back",3,"click"],[1,"button","proceed",3,"click"],[1,"service-card",3,"click"],[1,"service-card-inner"],[1,"checkmark"],[1,"service-card-icon"],["width","128","height","90","viewBox","0 0 128 90","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M36.6806 90C32.2141 90 28.4112 88.4357 25.2718 85.3071C22.1325 82.1914 20.5628 78.3986 20.5628 73.9286H10.1203C9.20557 73.9286 8.44113 73.62 7.82699 73.0029C7.21286 72.3857 6.90364 71.6207 6.89935 70.7079C6.89505 69.795 7.20427 69.0321 7.82699 68.4193C8.44971 67.8064 9.21416 67.5 10.1203 67.5H22.2119C23.3758 64.6414 25.2547 62.3186 27.8486 60.5314C30.4426 58.7486 33.3823 57.8571 36.6677 57.8571C39.9531 57.8571 42.8949 58.7486 45.4932 60.5314C48.0828 62.3186 49.9596 64.6414 51.1235 67.5H80.8725L95.019 6.42857H28.3704C27.4557 6.42857 26.6891 6.12 26.0706 5.50286C25.4522 4.88571 25.1451 4.12071 25.1494 3.20786C25.1537 2.295 25.4608 1.53214 26.0706 0.919286C26.6805 0.306429 27.4471 0 28.3704 0H96.5071C98.1563 0 99.5005 0.660001 100.54 1.98C101.583 3.3 101.918 4.77 101.545 6.39L97.8535 22.5H106.041C107.69 22.5 109.251 22.8
1686 110.725 23.6057C112.202 24.3386 113.417 25.3543 114.371 26.6529L125.947 42.0686C126.883 43.32 127.491 44.625 127.77 45.9836C128.053 47.3379 128.075 48.7607 127.834 50.2521L123.982 69.7757C123.742 71.0271 123.132 72.0321 122.153 72.7907C121.173 73.5493 120.061 73.9286 118.816 73.9286H115.704C115.704 78.3814 114.141 82.1743 111.014 85.3071C107.888 88.44 104.087 90.0043 99.6122 90C95.1371 89.9957 91.3342 88.4314 88.2034 85.3071C85.0683 82.1871 83.5008 78.3943 83.5008 73.9286H52.7726C52.7726 78.3814 51.2094 82.1743 48.0829 85.3071C44.9563 88.44 41.1556 90.0043 36.6806 90ZM90.6965 53.0357H120.658L121.798 47.3143L108.025 28.9286H96.3139L90.6965 53.0357ZM82.4314 61.0586L83.2689 57.33C83.8272 54.8443 84.5358 51.8014 85.3947 48.2014C85.88 46.23 86.3052 44.4086 86.6702 42.7371C87.031 41.0657 87.3187 39.6814 87.5335 38.5843L88.3709 34.8557C88.9292 32.37 89.6378 29.3271 90.4968 25.7271C91.3557 22.1271 92.0643 19.0843 92.6226 16.5986L93.4601 12.87L95.019 6.42857L80.866 67.5L82.4314 61.0586ZM3.09859 51.4157C2.21818 51.4157 1.48165 51.1071 0.888992 50.49C0.296331 49.8729 0 49.11 0 48.2014C0 47.2929 0.307067 46.5279 0.921201 45.9064C1.53534 45.285 2.30193 44.9786 3.22098 44.9871H25.639C26.5538 44.9871 27.3204 45.2957 27.9388 45.9129C28.5572 46.53 28.8643 47.295 28.86 48.2079C28.8557 49.1207 28.5487 49.8836 27.9388 50.4964C27.329 51.1093 26.5624 51.4157 25.639 51.4157H3.09859ZM15.9825 28.9414C15.0678 28.9414 14.3012 28.6329 13.6827 28.0157C13.0643 27.3986 12.7551 26.6336 12.7551 25.7207C12.7551 24.8079 13.0643 24.045 13.6827 23.4321C14.3012 22.8193 15.0656 22.5129 15.9761 22.5129H44.9649C45.8797 22.5129 46.6463 22.8214 47.2647 23.4386C47.8789 24.0557 48.1859 24.8207 48.1859 25.7336C48.1859 26.6464 47.8789 27.4093 47.2647 28.0221C46.6506 28.635 45.884 28.9414 44.9649 28.9414H15.9825ZM36.6677 83.5714C39.3175 83.5714 41.5915 82.6264 43.4897 80.7364C45.3837 78.8421 46.3306 76.5729 46.3306 73.9286C46.3306 71.2843 45.3837 69.015 43.4897 67.1207C41.5958 65.2264 39.3218 64.2814 36.6677 64.2857C34.0136 64.29 31.7396 65.235 29.8456 67.1207C27.9517 69.015 27.0047 71.2843 27.0047 73.9286C27.0047 76.5729 27.9517 78.8421 29.8456 80.7364C31.7439 82.6264 34.0179 83.5714 36.6677 83.5714ZM99.6057 83.5714C102.256 83.5714 104.527 82.6264 106.421 80.7364C108.315 78.8421 109.262 76.5729 109.262 73.9286C109.262 71.2843 108.315 69.015 106.421 67.1207C104.527 65.2264 102.253 64.2814 99.5993 64.2857C96.9452 64.29 94.6733 65.235 92.7837 67.1207C90.8854 69.015 89.9363 71.2843 89.9363 73.9286C89.9363 76.5729 90.8833 78.8421 92.7772 80.7364C94.6755 82.6264 96.9516 83.5714 99.6057 83.5714Z","fill","black"],[4,"ngIf"],[2,"text-align","center"],["target","_blank",3,"href"],[1,"bi","bi-whatsapp",2,"color","green"]],template:function(e,t){1&e&&(c.Rb(0,"main",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Cc(3,yo,2,0,"h1",3),c.Qb(),c.Cc(4,xo,13,1,"section",4),c.Cc(5,So,12,1,"section",4),c.Qb(),c.Qb()),2&e&&(c.zb(3),c.kc("ngIf",t.loadingRates&&!t.noRate),c.zb(1),c.kc("ngIf",t.loadingRates&&!t.noRate),c.zb(1),c.kc("ngIf",t.loadingRates&&t.noRate))},directives:[i.l,i.k],styles:[".container[_ngcontent-%COMP%]{text-align:center;padding:20px}.service-options[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap;margin:20px auto auto;width:100%;max-width:900px}.service-card[_ngcontent-%COMP%]{padding:0 12px;max-width:33.333%;width:100%;margin-bottom:25px}@media (max-width:767px){.service-card[_ngcontent-%COMP%]{max-width:50%}}@media (max-width:576px){.service-card[_ngcontent-%COMP%]{max-width:100%}}.service-card-inner[_ngcontent-%COMP%]{padding:20px 22px;border-radius:10px;box-shadow:0 4px 6px rgba(0,0,0,.1);border:1px solid rgba(0,0,0,.1);background-color:#f9f9f9;text-align:center;transition:all .3s ease;cursor:pointer;position:relative;height:100%}.service-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:50px;height:auto}.buttons[_ngcontent-%COMP%]{margin-top:20px}.button[_ngcontent-%COMP%]{padding:10px 20px;margin:5px;border:none;border-radius:5px;cursor:pointer}.go-back[_ngcontent-%COMP%]{background-color:#d3d3d3}.proceed[_ngcontent-%COMP%]{background-color:red;color:#fff}
1.service-card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-bottom:16px;color:#e64a3c;font-size:18px}.service-card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:20px;font-weight:400;color:#716e6e;text-align:center;line-height:1.2}.service-card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;position:relative;width:100%;font-size:42px;font-weight:600}.service-card-inner.selected[_ngcontent-%COMP%], .service-card-inner[_ngcontent-%COMP%]:hover{background-color:#fff0f0;border:1px solid rgba(0,0,0,.1)}.service-card-inner[_ngcontent-%COMP%]   .checkmark[_ngcontent-%COMP%]{position:absolute;top:10px;left:10px;width:20px;height:20px;background-color:#e64a3c;color:#fff;font-size:14px;font-weight:700;text-align:center;line-height:20px;border-radius:50%;display:none}.service-card.selected[_ngcontent-%COMP%]   .checkmark[_ngcontent-%COMP%]{display:block}.service-card-icon[_ngcontent-%COMP%]{margin-bottom:16px}.service-card-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{max-width:60px;height:auto}.service-card-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#716e6e}.career-page[_ngcontent-%COMP%]{padding-bottom:3rem}.about-us-header[_ngcontent-%COMP%]{padding-bottom:0}.service-type-wraper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:10px;font-size:27px}.service-type-wraper[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{margin:auto auto 25px;max-width:600px;font-size:16px;color:#7e7e7e}.about-us-header[_ngcontent-%COMP%]   .section-head[_ngcontent-%COMP%]{font-size:42px}.about-us-header[_ngcontent-%COMP%]{padding-top:124px}@media (max-width:991px){.career-item-wraper[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}}@media (max-width:991px){.career-item-wraper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding-top:10px}}"]}),e})()},{path:"shippercreate",component:(()=>{class e{constructor(e,t,n,i,r){this.fb=e,this.modalService=t,this.httpService=n,this.router=i,this.toastrService=r,this.submitted=!1,this.cities=[],this.countryServiceApi=l.a.countryService,this.resourceCreateApi=l.a.userService+"/page1CustomerBooking",this.resourceCreate2Api=l.a.userService+"/page2CustomerBooking",this.resourceCreate4Api=l.a.userService+"/page4CustomerBooking",this.resourceCreate3Api=l.a.userService+"/page3CustomerBooking",this.shipmentcreateApi=l.a.userService+"/shipmentCreate",this.currentStep=1,this.selectedPaymentMethod="Cash/COD",this.UnitCategories=[{id:1,name:"Kg"},{id:2,name:"Lb"}],this.ShipmentCategories=[{id:1,name:"Document"},{id:2,name:"Parcel"}],this.sectorId=1,this.pickUp=!1,this.formattedTime="11:30 AM",this.minValue=6,this.maxValue=21,this.formattedStartTime="6:00 AM",this.formattedEndTime="9:00 PM",this.minDate=E().format("yyyy-MM-DD"),this.isProcessing=!1,this.isProcessing1=!1,this.ProductTypeId=null,this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn"))}ngOnInit(){this.createForm(),this.getBillToCountries(),this.getShipToCountries(),this.getcity(3),this.updateTimeLabels(),this.scrollToTop()}scrollToTop(){window.scrollTo({top:0,left:0,behavior:"instant"})}onShippingTypeChange(e){console.log(e),this.sectorId="international"===e?1:2,this.getShipToCountries(),this.receiverDetailsForm.controls.shipToPhone1.setValue(null),this.receiverDetailsForm.controls.shipToCountryId.setValue(null),this.receiverDetailsForm.controls.shipToCity.setValue(null)}createForm(){this.shipperDetailsForm=this.fb.group({name:new a.d(null,a.r.required),email:new a.d("",[a.r.required,a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")]),billToPhone1:new a.d("+971",a.r.compose([a.r.required,a.r.minLength(13),a.r.maxLength(13),a.r.pattern("^[0-9,+]*$")])),billToCountryId:new a.d(3,a.r.required),billToCity:new a.d(null,a.r.required),address:new a.d(null,a.r.required),billToBuilding:new a.d(null,a.r.required),billToLandMark:new a.d(null)}),this.receiverDetailsForm=this.fb.group({shipToName:new a.d(null,a.r.required),shipToEmail:new a.d("",[a.r.maxLength(50),a.r.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")]),shipToPhone1:new a.d(null,a.r.compose([a.r.required,a.r.minLength(10),a.r.maxLength(15),a.r.pattern("^[0-9,+]*$")])),shipToCountryId:new a.d(null,a.r.required),shipToCity:new a.d(null,a.r.required),shipToAddress:new a.d(null),shipToBuilding:new a.d(null),shipToLandMark:new a.d(null)}),this.shipmentDetailsForm=this.fb.group({shipmentContent:new a.d("",a.r.required),totalGrossWeight:new a.d("",a.r.required),unit:new a.d(1,a.r.required),qty:new a.d(1,a.r.required),ProductTypeId:new a.d(1,a.r.required)}),this.paymentForm=this.fb.group({paymentMethod:new a.d("",a.r.required)});const e=E().hour();let t;t=E().minute()<30?e+.5:e+1,this.pickupForm=this.fb.group({pickupDate:new a.d(E().format("yyyy-MM-DD"),a.r.required),pickupTime:new a.d(t,a.r.required),endPickUpTime:new a.d(21,a.r.required),termsAccepted:[!1,a.r.requiredTrue],documentsReady:[!1,a.r.requiredTrue],documentsShipping:[!1,a.r.requiredTrue]}),this.minValue=t,this.maxValue=21}validateNumber1(e){const t=String.fromCharCode(e.keyCode);/[\d.]/.test(t)||"Backspace"===e.key||e.preventDefault()}selectPaymentMethod(e){"credit-card"!==e&&(this.selectedPaymentMethod=e,this.paymentForm.patchValue({paymentMethod:e}))}getBillToCountries(){this.httpService.get(this.countryServiceApi).subscribe(e=>
1{e&&(console.log(e),this.billToCountries=e.filter(e=>3==e.countryId),this.selectedBillCountryId=this.billToCountries[0].countryId)})}getShipToCountries(){this.httpService.get(this.countryServiceApi).subscribe(e=>{e&&(1==this.sectorId?this.shipToCountries=e:(this.shipToCountries=e.filter(e=>3==e.countryId),this.receiverDetailsForm.controls.shipToPhone1.setValue(this.shipToCountries[0].countryCode),this.receiverDetailsForm.controls.shipToCountryId.setValue(3),this.getShipToCounty(3)))})}validateNumber(e){/^[0-9+]*$/.test(e.key)||e.preventDefault()}validateCharacter(e){/^[a-zA-Z\s]$/.test(e.key)||e.preventDefault()}validateOnPaste(e){var t;const n=(null===(t=e.clipboardData)||void 0===t?void 0:t.getData("text"))||"";/^[a-zA-Z\s]*$/.test(n)||e.preventDefault()}onBillToCountrySelect(e){this.selectedBillCountryId=e.countryId,this.shipperDetailsForm.controls.billToCountryId.setValue(e.countryId)}onClickContinue(e){if(this.isProcessing)return;this.isProcessing=!0;const t=this.shipperDetailsForm.value;t.invoiceType=this.sectorId,t.createdBy=this.logggedInUser.sub,t.bookingId=this.bookingId,this.submitted=!0,this.shipperDetailsForm.invalid?this.isProcessing=!1:this.httpService.post(this.resourceCreateApi,t).subscribe(e=>{e&&(this.bookingId=e,this.currentStep<4&&(this.currentStep++,this.scrollToTop())),this.isProcessing=!1})}onFromCountrySelect(e){this.shipperDetailsForm.controls.billToCountryId.setValue(e.countryId)}getcity(e){this.httpService.get(l.a.cityService+e).subscribe(e=>{e&&(console.log(this.selectedcountyId),this.selectedcountyId?(this.billToCounties=e.filter(e=>e.countyId==this.selectedcountyId),this.shipperDetailsForm.controls.billToCity.setValue(this.selectedcountyId)):this.billToCounties=e)})}onShipToCountrySelect(e){this.validationMessage="",this.selectedCountryId=e.countryId,this.getShipToCounty(this.selectedCountryId),this.receiverDetailsForm.controls.shipToPhone1.setValue(e.countryCode)}getShipToCounty(e){this.httpService.get(l.a.cityService+e).subscribe(e=>{e&&(this.shipToCounties=e)})}onBillToCountySelect(e){}onShipToCountySelect(e){}onClickGoBack(e){this.isProcessing||(this.isProcessing=!0,this.router.navigate(["ratecalculator/servicetypes"]),this.scrollToTop(),this.isProcessing=!1)}onClickGoBack1(e){this.currentStep>1&&this.currentStep--,this.getDetails(),this.scrollToTop(),this.isProcessing=!1}getDetails(){this.httpService.get(l.a.userService+"/shipmentDetails/"+this.bookingId).subscribe(e=>{e&&(this.data=e,this.bookingId=e.customerBookingRateBasedId,this.shipperDetailsForm.patchValue({name:e.billToName,email:e.billToEmail,billToPhone1:e.billToPhone1,billToCountryId:e.billToCountryId,billToCity:e.billToCountyId,address:e.billToAddress}),this.receiverDetailsForm.patchValue({shipToName:e.shipToName,shipToEmail:e.shipToEmail,shipToPhone1:e.shipToPhone1,shipToCountryId:e.shipToCountryId,shipToCity:e.shipToCountyId,shipToAddress:e.shipToAddress}))})}getShipmentDetils(){this.httpService.get(l.a.userService+"/shipmentDetails/rateDetails"+this.bookingId).subscribe(e=>{e&&(this.shipmentDeatils=e,this.shipmentDetailsForm.patchValue({shipmentContent:e.shipmentContent,totalGrossWeight:e.totalGrossWeight,unit:e.unit,qty:e.qty,ProductTypeId:e.ProductTypeId}))})}onClickGoBack2(e){this.currentStep>1&&this.currentStep--,this.getDetails(),this.scrollToTop()}onClickContinue1(e){if(this.isProcessing1)return;this.isProcessing1=!0,this.submitted2=!0;const t=this.receiverDetailsForm.value;t.bookingId=this.bookingId,this.receiverDetailsForm.invalid?this.isProcessing1=!1:this.receiverDetailsForm.controls.shipToCountryId.value!=this.shipperDetailsForm.controls.billToCountryId.value||1!=this.sectorId?this.httpService.post(this.resourceCreate2Api,t).subscribe(e=>{e&&this.currentStep<4&&(this.currentStep++,this.scrollToTop()),this.isProcessing1=!1}):this.validationMessage="Destination country should not be the same as the origin country for an international shipment."}onClickContinue2(e){const t=this.shipmentDetailsForm.value;t.customerBookingRateBasedId=this.bookingId,this.submitted3=!0,this.shipmentDetailsForm.invalid||this.httpService.post(this.resourceCreate3Api,t).subscribe(e=>{e&&(this.rateCalculate(),this.scrollToTop())})}rateCalculate(){this.httpService.post(l.a.getpriceService+"/getrate/",{sectorId:this.sectorId,shipTypeId:this.shipmentDetailsForm.controls.ProductTypeId.value,billToCountryId:this.shipperDetailsForm.controls.billToCountryId.value,shipToCountryId:this.receiverDetailsForm.controls.shipToCountryId.value,billToCountyId:this.shipperDetailsForm.controls.billToCity.value,shipToCountyId:this.receiverDetailsForm.controls.shipToCity.value,unit:this.shipmentDetailsForm.controls.unit.value,weight:this.shipmentDetailsForm.controls.totalGrossWeight.value}).subscribe({next:e=>{console.log("API Response:",e.length),this.rateDetails=e,this.rateDetails.length>0?(this.price=e[0].price,this.currentStep<4&&this.currentStep++):this.noRate=!0}})}onClickGoBack4(){this.currentStep>
11&&this.currentStep--,this.scrollToTop(),this.getShipmentDetils()}onClickContinue4(){this.rateCalculate(),this.submitted4=!0;const e=this.paymentForm.value;e.bookingId=this.bookingId,this.paymentForm.invalid||this.httpService.post(this.resourceCreate4Api,e).subscribe(e=>{e&&(this.pickUp=!0,this.scrollToTop())})}get f(){return this.shipperDetailsForm.controls}get f1(){return this.receiverDetailsForm.controls}get f2(){return this.shipmentDetailsForm.controls}get f4(){return this.paymentForm.controls}ShipmentCreate(){this.validationMessage="";let e=this.pickupForm.controls.pickupTime.value,t=this.pickupForm.controls.endPickUpTime.value;const n=E(this.pickupForm.controls.pickupDate.value).format("YYYY-MM-DD"),i=E().format("YYYY-MM-DD"),r=E().hour(),o=E().minute();if(n===i&&e<(o<30?r+.5:r+1))return void(this.validationMessage="Ready Time should not be less than the current time.");if(t<e+2)return void(this.validationMessage="Latest Time should be at least 2 hours ahead of Ready Time.");if(this.pickupForm.invalid)return void(this.validationMessage="Please fill all required fields correctly.");this.shimpmentcreate=!0;const s=this.pickupForm.value;s.bookingId=this.bookingId,s.price=this.price,s.pickupTime=this.formattedStartTime,s.endPickUpTime=this.formattedEndTime,this.httpService.post(this.shipmentcreateApi,s).subscribe(e=>{e&&(this.sucess=!0,this.pickUp=!1,this.getDetailsAfterSucess(),this.scrollToTop())}),window.scrollTo({top:0,left:0,behavior:"instant"})}getDetailsAfterSucess(){this.httpService.get(l.a.userService+"/getdetails/shipmentDetils/"+this.bookingId).subscribe(e=>{this.shipment=e,console.log(this.shipment)})}onClickGoBac(){this.pickUp=!1,this.currentStep=4,this.scrollToTop()}updateTimeLabels(){let e=this.pickupForm.value.pickupTime,t=this.pickupForm.value.endPickUpTime;t<e&&(this.pickupForm.patchValue({pickupEndTime:e},{emitEvent:!1}),t=e),this.formattedStartTime=this.convertTo12HourFormat(e),this.formattedEndTime=this.convertTo12HourFormat(t),this.updateSliderTrack()}updateSliderTrack(){const e=(this.pickupForm.value.pickupStartTime-9)/8*100,t=(this.pickupForm.value.pickupEndTime-9)/8*100,n=document.querySelector(".slider-track");n&&(n.style.left=`${e}%`,n.style.width=`${t-e}%`)}convertTo12HourFormat(e){let t=Math.floor(e);return`${12===t?12:t>12?t-12:t}:${e%1==.5?"30":"00"} ${t>=12?"PM":"AM"}`}createNewPickup(){this.sucess=!1,this.pickUp=!1,this.currentStep=1}printAWB(){this.bsModalRef=this.modalService.show(qi.a,{initialState:{id:this.bookingId},class:"modal-lg package-invoice-popup"})}done(){return this.router.navigate(["report/dashboard"],{replaceUrl:!0})}onInputChange(){let e=this.pickupForm.controls.pickupTime.value,t=this.pickupForm.controls.endPickUpTime.value;const n=E(this.pickupForm.controls.pickupDate.value).format("YYYY-MM-DD"),i=E().format("YYYY-MM-DD"),r=E().hour();let o=E().minute()<30?r+.5:r+1;this.validationMessage="",n===i&&e<o&&(this.validationMessage="Ready Time should not be less than the current time.",e=o,this.pickupForm.controls.pickupTime.setValue(e)),t<e+2&&(this.validationMessage="Latest Time should be at least 2 hours ahead of Ready Time.",t=Math.min(e+2,21),this.pickupForm.controls.endPickUpTime.setValue(t)),e<6&&(e=6,this.pickupForm.controls.pickupTime.setValue(6)),e>21&&(e=21,this.pickupForm.controls.pickupTime.setValue(21)),t>21&&(t=21,this.pickupForm.controls.endPickUpTime.setValue(21)),this.updateFormattedTimes()}convertToTime(e){let t=Math.floor(e),n=e%1*60,i=t>=12?"PM":"AM";return t>12&&(t-=12),`${t}:${0===n?"00":n} ${i}`}onProductTypeChange(e){this.ProductTypeId=null==e?void 0:e.id,console.log(this.ProductTypeId)}openProhibitedItemPage(){window.open("/prohibiteditem","_blank")}get whatsappLink(){var e,t,n,i,r,o;const s=this.shipperDetailsForm.controls.billToCity.value,a=(null===(e=this.billToCounties.find(e=>e.countyId===s))||void 0===e?void 0:e.countyName)||"Not Provided",l=this.receiverDetailsForm.controls.shipToCountryId.value,c=(null===(t=this.shipToCountries.find(e=>e.countryId===l))||void 0===t?void 0:t.countryName)||"Not Provided",u=this.receiverDetailsForm.controls.shipToCity.value,d=(null===(n=this.shipToCounties.find(e=>e.countyId===u))||void 0===n?void 0:n.countyName)||"Not Provided",h=this.sectorId,p=1===h?"International":2===h?"Domestic":"Not Provided",f=this.shipmentDetailsForm.controls.totalGrossWeight.value||"Not Provided",m=(null===(i=this.shipmentDetailsForm.controls.qty)||void 0===i?void 0:i.value)||"Not Provided",g=this.shipmentDetailsForm.controls.unit.value||"Not Provided",_=(null===(r=this.Unit
1Categories.find(e=>e.id===g))||void 0===r?void 0:r.name)||"Not Provided",b=this.shipmentDetailsForm.controls.ProductTypeId.value||"Not Provided",v=(null===(o=this.ShipmentCategories.find(e=>e.id===b))||void 0===o?void 0:o.name)||"Not Provided";return`https://api.whatsapp.com/send?phone=971800916&text=${encodeURIComponent(`Hello, I am interested in your service. Here are my rate request details:\n    \n    Sender Country: UNITED ARAB EMIRATES\n    From City: ${a}\n    Receiver Country: ${c}\n    To City: ${d}\n    Sector: ${p}\n    Weight: ${f}\n    Quantity: ${m}\n    Unit: ${_}\n    Shipment Type: ${v}`)}`}onDateChange(e){const t=E().format("YYYY-MM-DD"),n=E(e).format("YYYY-MM-DD");if(this.validationMessage="",n===t){const e=E().hour(),t=E().minute();this.minValue=t<30?e+.5:e+1,this.maxValue=21,this.pickupForm.patchValue({pickupTime:this.minValue,endPickUpTime:21})}else this.minValue=6,this.maxValue=21,this.pickupForm.patchValue({pickupTime:6,endPickUpTime:21});this.updateFormattedTimes()}updateFormattedTimes(){this.formattedStartTime=this.convertToTime(this.pickupForm.controls.pickupTime.value),this.formattedEndTime=this.convertToTime(this.pickupForm.controls.endPickUpTime.value)}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(a.c),c.Lb(Fe.b),c.Lb(u.a),c.Lb(r.c),c.Lb(d.b))},e.\u0275cmp=c.Fb({type:e,selectors:[["app-shipper-create"]],viewQuery:function(e,t){var n;1&e&&(c.Jc(ko,!0),c.Jc(To,!0)),2&e&&(c.tc(n=c.bc())&&(t.startRange=n.first),c.tc(n=c.bc())&&(t.endRange=n.first))},decls:3,vars:3,consts:[["class","container step-progress-wraper",4,"ngIf"],["class","shipment-success",4,"ngIf"],[1,"container","step-progress-wraper"],["class","d-flex justify-content-center mb-3",4,"ngIf"],[1,"step-progress"],[1,"step"],[4,"ngIf"],[1,"d-flex","justify-content-center","mb-3"],[1,"custom-abc-radio-btn","me-3","mb-3"],["type","radio","id","international","name","shippingType","value","international","checked","",1,"form-check-input",3,"change"],[1,"custom-abc-radio-btn-content"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","23.048","height","20.789","viewBox","0 0 23.048 20.789"],["id","clip-path"],["id","Clip_2","data-name","Clip 2","d","M0,0H23.048V20.788H0Z","fill","none"],["id","Group_16_Copy","data-name","Group 16 Copy","transform","translate(0 -20)"],["id","Group_3","data-name","Group 3","transform","translate(0 20)"],["id","Clip_2-2","data-name","Clip 2","d","M0,0H23.048V20.788H0Z","fill","none"],["id","Group_3-2","data-name","Group 3","clip-path","url(#clip-path)"],["data-name","Fill 1","d","M6.668,20.788a5.579,5.579,0,0,1-.753-.05l-.013,0a.573.573,0,0,1-.266-.147.542.542,0,0,1-.1-.143.489.489,0,0,1,.031-.465l4.826-7.7-5.452-.234c-.458.58-1.314,1.639-1.9,2.222a1.7,1.7,0,0,1-1.251.481,3.65,3.65,0,0,1-1.525-.393.5.5,0,0,1-.221-.639l1.5-3.323L.044,7.074a.5.5,0,0,1,.221-.64,3.673,3.673,0,0,1,1.527-.4,1.7,1.7,0,0,1,1.246.479c.583.582,1.44,1.642,1.9,2.222l5.452-.234L5.566.8A.5.5,0,0,1,5.534.338.5.5,0,0,1,5.906.052h.009A5.509,5.509,0,0,1,6.673,0,3.907,3.907,0,0,1,9.8,1.278c.568.707,1.31,1.651,1.961,2.48,1.116,1.417,2.641,3.355,3.666,4.594l5.553-.076H21a1.989,1.989,0,0,1,1.328.633l.014.013a2.2,2.2,0,0,1,.7,1.471,2.211,2.211,0,0,1-.722,1.489A1.991,1.991,0,0,1,21,12.513h-.02l-5.553-.076c-1.022,1.238-2.55,3.177-3.666,4.594-.85,1.084-1.492,1.9-1.961,2.48A3.909,3.909,0,0,1,6.668,20.788ZM4.7,11.049h.023l6.558.283a.464.464,0,0,1,.329.14.5.5,0,0,1,.092.119.494.494,0,0,1-.018.492L6.858,19.79a2.88,2.88,0,0,0,2.178-.9c.482-.6,1.14-1.433,1.954-2.473,1.339-1.7,2.842-3.605,3.834-4.8a.486.486,0,0,1,.377-.178h.012l5.781.08H21a1.089,1.089,0,0,0,.634-.346,1.359,1.359,0,0,0,.428-.783,1.312,1.312,0,0,0-.428-.782A1.053,1.053,0,0,0,21,9.264h-.005l-5.788.081h-.012a.486.486,0,0,1-.377-.178c-1-1.191-2.5-3.1-3.819-4.778l-.015-.019C10.266,3.456,9.57,2.579,9.025,1.9A2.887,2.887,0,0,0,6.847,1l4.832,7.7a.5.5,0,0,1,.018.492.49.49,0,0,1-.417.262l-6.558.283H4.7a.49.49,0,0,1-.39-.189c-.006-.01-1.236-1.6-1.972-2.33a.757.757,0,0,0-.557-.191,2.162,2.162,0,0,0-.62.108L2.544,10.19a.484.484,0,0,1,0,.4L1.161,13.652a2.145,2.145,0,0,0,.619.107.76.76,0,0,0,.558-.191c.74-.738,1.966-2.32,1.972-2.33A.491.491,0,0,1,4.7,11.049Z","transform","translate(-0.001 0)","fill","#dc291e",1,"path-color"],["data-name","Fill 12","d","M.155.772A.436.436,0,0,1,0,.452.49.49,0,0,1,.521,0H2.642a.49.49,0,0,1,.521.452A.49.49,0,0,1,2.642.9H.521A.556.556,0,0,1,.155.772","transform","translate(6.779 34.236)","fill","#dc291e",1,"path-color"],["data-name","Fill 14","d","M.155.772A.436.436,0,0,1,0,.452.49.49,0,0,1,.521,0H2.642a.49.49,0,0,1,.521.452A.49.49,0,0,1,2.642.9H.521A.556.556,0,0,1,.155.772","transform","translate(6.779 25.65)","fill","#dc291e",1,"path-color"],["type","radio","id","domestic","name","shippingType","value","domestic",1,"form-check-input",3,"change"],["xmlns","http://www.w3.org/2000/svg","width","26.969","height","18.816","viewBox","0 0 26.969 18.816"],["data-name","Fill 1","d","M20.676,18.816a3.139,3.139,0,0,1-3.111-2.688H9.4a3.144,3.144,0,0,1-6.222,0H2.247A1.35,1.35,0,0,1,.9,14.784V13.44H.449a.451.451,0,0,1-.318-.132A.443.443,0,0,1,0,12.992V1.344A1.35,1.35,0,0,1,1.348,0H17.08a1.35,1.35,0,0,1,1.349,1.344V4.032h4.09a1.355,1.355,0,0,1,1.011.452l3.1,3.475a1.334,1.334,0,0,1,.343.893v5.932a1.349,1.349,0,0,1-1.348,1.344H23.787a3.139,3.139,0,0,1-3.111,2.688Zm0-5.376a2.24,2.24,0,1,0,2.247,2.24A2.246,2.246,0,0,0,20.676,13.44Zm-14.384,0a2.24,2.24,0,1,0,2.247,2.24A2.246,2.246,0,0,0,6.293,13.44ZM18.429,4.928v7.616h2.247a3.145,3.145,0,0,1,3.111,2.688h1.834a.449.449,0,0,0,.449-.448V10.752H21.575a1.349,1.349,0,0,1-1.348-1.344V4.928ZM8.491,13.44A3.145,3.145,0,0,1,9.4,15.231h8.162a3.142,3.142,0,0,1,.913-1.792H8.491Zm-6.693,0v1.344a.45.45,0,0,0,.449.448h.935A3.146,3.146,0,0,1,4.1,13.44ZM1.348.9A.451.451,0,0,0,.9,1.344v11.2H17.53V1.344A.45.45,0,0,0,17.08.9H11.908V5.1a.436.436,0,0,1-.21.375.445.445,0,0,1-.431.017L9.215,4.45,7.162,5.49a.445.445,0,0,1-.2.048.441.441,0,0,1-.441-.44V.9ZM21.126,4.928v4.48a.45.45,0,0,0,.449.448H26.07v-1a.448.448,0,0,0-.115-.3l-3.1-3.477a.453.453,0,0,0-.336-.15ZM9.215,3.517a.438.438,0,0,1,.2.048l1.613.817V.9H7.4V4.382l1.612-.817A.438.438,0,0,1,9.215,3.517Z","transform","translate(0 0)","fill","#dc291e",1,"path-color"],[1,"mb-sm-5","mb-4"],[3,"formGroup",4,"ngIf"],[3,"formGroup"],[1,"form-row"],[1,"form-group"],["for","name"],[1,"required"],["type","text","formControlName","name","placeholder","Enter Name",1,"form-control","form-control-sm"],["class","invali
1d-feedback",4,"ngIf"],["type","text","formControlName","email","placeholder","Enter Email",1,"form-control","form-control-sm"],["for","country"],["formControlName","billToCountryId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country",3,"items","change"],["select",""],["for","phone"],[1,"phone-input"],["type","text","formControlName","billToPhone1","maxlength","13","minlength","13","placeholder","Enter Phone number",1,"form-control","form-control-sm",3,"pattern","keypress"],["for","fromCountryId"],["formControlName","billToCity","bindValue","countyId","bindLabel","countyName","placeholder","Select City",3,"items","change"],["for","street"],["type","text","formControlName","address","placeholder","Enter Street Name",1,"form-control","form-control-sm"],["type","text","formControlName","billToBuilding","placeholder","Enter Building Name/Number",1,"form-control","form-control-sm"],["type","text","formControlName","billToLandMark","placeholder","Enter Nearest Landmark",1,"form-control","form-control-sm"],[1,"button-group"],["type","submit",1,"continue",3,"disabled","click"],[1,"invalid-feedback"],["type","text","formControlName","shipToName","placeholder","Enter Name",1,"form-control","form-control-sm"],["type","text","formControlName","shipToEmail","placeholder","Enter Email",1,"form-control","form-control-sm"],["formControlName","shipToCountryId","bindValue","countryId","bindLabel","countryName","placeholder","Select Country",3,"items","change"],["class","text-danger",4,"ngIf"],["type","text","formControlName","shipToPhone1","maxlength","13","minlength","13","placeholder","Enter Phone number",1,"form-control","form-control-sm",3,"pattern","keypress"],["formControlName","shipToCity","bindValue","countyId","bindLabel","countyName","placeholder","Select City",3,"items","change"],["type","text","formControlName","shipToAddress","placeholder","Enter Street Name",1,"form-control","form-control-sm"],["type","text","formControlName","shipToBuilding","placeholder","Enter Building Name/Number",1,"form-control","form-control-sm"],["type","text","formControlName","shipToLandMark","placeholder","Enter Nearest Landmark",1,"form-control","form-control-sm"],["type","button",1,"go-back",3,"disabled","click"],[1,"text-danger"],["type","text","formControlName","shipmentContent","placeholder","Enter Shipment Content",1,"form-control","form-control-sm",3,"keypress","paste"],["type","text","formControlName","totalGrossWeight","placeholder","Enter Total  Gross Weight",1,"form-control","form-control-sm",3,"keypress"],["formControlName","unit","bindValue","id","bindLabel","name","placeholder","Select Unit",3,"items"],[1,"phone-input",3,"keypress"],["type","text","formControlName","qty","placeholder","Enter Qty",1,"form-control","form-control-sm",3,"keypress"],["formControlName","ProductTypeId","bindValue","id","bindLabel","name","placeholder","Select Shipment Type",3,"items","change"],["class","warning-message",4,"ngIf"],["type","button",1,"go-back",3,"click"],["type","submit",1,"continue",3,"click"],[1,"warning-message"],["href","javascript:void(0)",3,"click"],[1,"price-warning"],[2,"font-weight","bold","text-align","center","font-size","16px"],[2,"text-align","center"],["target","_blank",3,"href"],[1,"bi","bi-whatsapp",2,"color","green"],[1,"mb-sm-4","mb-3"],[1,"payment-options"],[1,"payment-card",3,"click"],[1,"payment-card-icon"],["src","assets/images/cash-on-delivery.png","alt","Cash"],["class","checkmark",4,"ngIf"],[1,"payment-card","disabled"],["src","assets/images/credit-card.png","alt","Credit Card"],[2,"line-height","1","text-align","left"],[2,"line-height","1"],[1,"disabled-text"],[1,"checkmark"],[1,"pick-up-header"],[1,"pickup-image"],["src","assets/images/delivery-man.png","alt","Delivery Guy",1,"avatar"],["type","date","formControlName","pickupDate",1,"date-input",3,"min","change"],[1,"time-selection"],[1,"pickup-headers"],[1,"range-slider"],["type","range","step","0.5","formControlName","pickupTime",3,"min","max","ngModel","ngModelChange","input"],["type","range","step","0.5","formControlName","endPickUpTime",3,"min","max","ngModel","ngModelChange","input"],[1,"slider-track"],[1,"time-labels"],["class","validation-message",4,"ngIf"],[1,"total-amount"],[1,"amount-box","p-0"],["class","vat-label",4,"ngIf"],[1,"terms"],["type","checkbox","formControlName","documentsReady"],["type","checkbox","formControlName","documentsShipping"],["type","checkbox","formControlName","termsAccepted"],["href","#"],[1,"buttons"],[1,"back-btn",3,"click"],[1,"create-btn",3,"disabled","click"],[1,"validation-message"],[1,"vat-label"],[1,"shipment-success"],[1,"success-message"],["src","assets/success-icon.png","alt","Success"],[1,"shipment-details"],[1,"action-buttons"],[1,"create-btn",3,"click"]],template:function(e,t){1&e&&(c.Cc(0,Fs,27,13,"div",0),c.Cc(1,Ns,2,1,"div",0),c.Cc(2,zs,44,6,"div",1)),2&e&&(c.kc("ngIf",!t.pickUp&&!t.sucess),c.zb(1),c.kc("ngIf",t.pickUp),c.zb(1),c.kc("ngIf",t.sucess))},directives:[i.l,a.s,a.n,a.h,a.b,a.m,a.f,O.a,a.j,a.k,a.o,a.p,a.a],styles:[".container[_ngcontent-%COMP%]{max-width:800px;margin:auto;background:#fff;padding:20px;border-radius:8px}.step-progress[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding-bottom:20px;border-bottom:2px solid #eee;margin-bottom:20px}.step[_ngcontent-%COMP%]{text-align:center;color:#ccc}.step[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;width:30px;height:30px;line-height:30px;border-radius:50%;background:#eee;color:#fff;margin:auto}.step.active[_ngcontent-%COMP%]{color:#e63946}.step.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background:#e63946}h2[_ngcontent-%COMP%]{font-weight:400}
1form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin-bottom:15px}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{width:48%;display:flex;flex-direction:column}@media (max-width:600px){form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{width:100%}}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:400;margin-bottom:5px}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   .required[_ngcontent-%COMP%]{color:#e63946}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:100%;padding:10px;border:1px solid #ccc;border-radius:5px;font-size:16px;transition:border-color .3s}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus, form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:focus{border-color:#e63946;outline:none}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#e63946;font-size:14px;display:none}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:invalid ~ .error-message[_ngcontent-%COMP%]{display:block}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .phone-input[_ngcontent-%COMP%]{display:flex;align-items:center;border:1px solid #ccc;border-radius:5px;overflow:hidden}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .phone-input[_ngcontent-%COMP%]   .flag[_ngcontent-%COMP%]{background:#eee;padding:10px;font-weight:700;border-right:1px solid #ccc}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .phone-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;padding:10px;flex:1}form[_ngcontent-%COMP%]   .form-row[_ngcontent-%COMP%]   .phone-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:20px}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:10px 20px;border:none;border-radius:5px;font-size:16px;cursor:pointer;transition:background .3s}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button.go-back[_ngcontent-%COMP%]{background:#ccc;color:#333}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button.go-back[_ngcontent-%COMP%]:hover{background:#bbb}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button.continue[_ngcontent-%COMP%]{background:#e63946;color:#fff}form[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]   button.continue[_ngcontent-%COMP%]:hover{background:#d21a28}@media (max-width:600px){.form-row[_ngcontent-%COMP%]{flex-direction:column}.form-row[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{width:100%}.button-group[_ngcontent-%COMP%]{flex-direction:column;gap:10px}}.step-progress-wraper[_ngcontent-%COMP%]{margin-top:10rem;margin-bottom:4rem;padding:40px 50px}.warning-message[_ngcontent-%COMP%]{font-size:14px;color:#fe2815;text-align:center;margin-bottom:10px}.warning-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fe2815;text-decoration:underline;font-weight:700}.price-warning[_ngcontent-%COMP%]{font-size:12px;color:#333}.button-group[_ngcontent-%COMP%]{margin-top:20px;display:flex;justify-content:center;gap:15px}.continue[_ngcontent-%COMP%], .go-back[_ngcontent-%COMP%]{padding:10px 20px;border:none;border-radius:5px;cursor:pointer}.go-back[_ngcontent-%COMP%]{background-color:#fff;border:1px solid red;color:#fe2815}.continue[_ngcontent-%COMP%]{background-color:#fe2815;color:#fff}.header[_ngcontent-%COMP%]{padding:20px}
1.avatar[_ngcontent-%COMP%]{width:80px;height:80px}.date-input[_ngcontent-%COMP%]{width:100%;padding:10px;border:1px solid #ccc;border-radius:5px;font-size:16px}.time-labels[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:14px;color:#666}.terms[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;font-size:14px;margin-bottom:10px}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:20px}.back-btn[_ngcontent-%COMP%], .create-btn[_ngcontent-%COMP%]{padding:10px 20px;border:none;cursor:pointer;font-size:16px;border-radius:5px}.back-btn[_ngcontent-%COMP%]{background:#ddd}.create-btn[_ngcontent-%COMP%]{background:red;color:#fff}.slider-container[_ngcontent-%COMP%]{position:relative;width:100%;height:30px}.slider[_ngcontent-%COMP%]{position:absolute;width:100%;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;z-index:2}.slider[_ngcontent-%COMP%]::-webkit-slider-runnable-track{width:100%;height:5px;background:#ddd;border-radius:5px}.slider[_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;background:red;border-radius:50%;cursor:pointer;position:relative;pointer-events:all;z-index:3}.slider-track[_ngcontent-%COMP%]{position:absolute;height:5px;background:red;border-radius:5px;z-index:1}.shipment-success[_ngcontent-%COMP%]{text-align:center;padding:20px}.success-message[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:80px;margin:10px 0}.shipment-details[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;margin:20px 0}.shipment-details[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .shipment-details[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border:1px solid #ddd;padding:10px;text-align:center}.shipment-details[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background:red;color:#fff}.action-buttons[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:15px;margin-top:20px}.vat-label[_ngcontent-%COMP%]{padding:10px;font-size:20px;font-weight:700;color:#fe2815;text-align:center}.btn-outline[_ngcontent-%COMP%]{border:2px solid #d32f2f;background:none;color:#d32f2f;border-radius:5px}.btn-outline[_ngcontent-%COMP%], .btn-primary[_ngcontent-%COMP%]{padding:10px 15px;cursor:pointer}.btn-primary[_ngcontent-%COMP%]{background-color:#d32f2f;color:#fff;border:none;border-radius:5px}.btn-outline[_ngcontent-%COMP%]:hover, .btn-primary[_ngcontent-%COMP%]:hover{opacity:.8}.validation-message[_ngcontent-%COMP%]{color:red;font-size:14px;font-weight:700}"]}),e})()},{path:"prohibiteditem",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Fb({type:e,selectors:[["app-prohibiteditem"]],decls:266,vars:0,consts:[[1,"nav-down"],[1,"header-wraper"],[1,"logo"],["href","https://abccargo.ae/"],["src","assets/images/abclogo.png","alt",""],[1,"menu-container"],[1,"hand-burger-box","d-lg-none"],[1,"hand-burger","one"],[1,"hand-burger","two"],[1,"hand-burger","three"],[1,"menu-item-wraper"],["id","menu-header-menu",1,"menu"],[1,"backdrop","d-lg-none"],[1,"prohibited-header-wraper"],[1,"max-1490"],[1,"prohibited-item-wraper"],[1,"prohibited-header-item"],[1,"prohibited-header-item","text-end"],[1,"arabic_list"],[1,"prohibited-item-list"],[1,"prohibited-item-list-wraper"],[1,"row"],[1,"col-xl-2","col-lg-3","col-md-4","col-sm-6"],[1,"prohibited-item"],[1,"prohibited-item-icon"],["src","../../../../assets/images/no-money.png","alt",""],["src","../../../../assets/images/no-metal.png","alt",""],["src","../../../../assets/images/no-liquids.png","alt",""],["src","../../../../assets/images/no-drugs.png","alt",""],["src","../../../../assets/images/no-bombs.png","alt",""],["src","../../../../assets/images/no-weapons.png","alt",""],["src","../../../../assets/images/no-alcohol.png","alt",""],[1,"footer-container"],[1,"col-xl-2"],[1,"d-flex","flex-column","justify-content-between","h-100","align-items-center"],[1,"footer-logo"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/abc-footer-logo.png","alt","Footer Logo"],[1,"qr-code","mt-3","text-center"],[1,"mb-1","dwnload_text",2,"color","#E64A3C"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/abc-qr-code.png"],[1,"social-icons"],[1,"footer-links","d-none","d-xl-block","text-center"],[1,"dwnload_text"],[1,"d-flex","align-items-center","mt-2"],["href","https://play.google.com/store/apps/details?id=com.myabccustomer","target","blank",1,"me-2"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/android-icon.png",1,"w-100"],["href","https://apps.apple.com/us/app/my-abc/id6443482756","target","blank"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/apple-icon.png",1,"w-100"],[1,"justify-content-center"],["href","https://www.linkedin.com/company/abc-cargo-courier","target","_blank"],["width","15","height","14","viewBox","0 0 15 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M14.8747 13.6316V13.631H14.8785V8.71954C14.8785 6.31681 14.3037 4.46594 11.1827 4.46594C9.68228 4.46594 8.67541 5.20696 8.26435 5.90948H8.22096V4.69026H5.26172V13.631H8.34309V9.20388C8.34309 8.03823 8.58861 6.91108 10.1925 6.91108C11.7729 6.91108 11.7965 8.24134 11.7965 9.27866V13.6316H14.8747Z","fill","black"],["d","M0.244141 4.69104H3.32924V13.6318H0.244141V4.69104Z","fill","black"],["d","M1.78683 0.239746C0.800414 0.239746 0 0.960119 0 1.84789C0 2.73566 0.800414 3.4711 1.78683 3.4711C2.77324 3.4711 3.57365 2.73566 3.57365 1.84789C3.57303 0.960119 2.77262 0.239746 1.78683 0.239746V0.239746Z","fill","black"],["href","https://www.instagram.com/abccargoandcourier/","target","_blank"],["width","17","height","17","viewBox","0 0 17 17","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11.6366 0H4.88183C2.29982 0 0.199219 2.10061 0.199219 4.68261V11.4374C0.199219 14.0194 2.29982 16.12 4.88183 16.12H11.6366C14.2186 16.12 16.3192 14.0194 16.3192 11.4374V4.68261C16.3192 2.10061 14.2186 0 11.6366 0ZM15.0598 11.4374C15.0598 13.325 13.5242 14.8606 11.6366 14.8606H4.88183C2.99424 14.8606 1.45859 13.325 1.45859 11.4374V4.68261C1.45859 2.79503 2.99424 1.25938 4.88183 1.25938H11.6366C13.5242 1.25938 15.0598 2.79503 15.0598 4.68261V11.4374Z","fill","black"],["d","M8.25891 3.71521C5.86313 3.71521 3.91406 5.66428 3.91406 8.06005C3.91406 10.4558 5.86313 12.4049 8.25891 12.4049C10.6547 12.4049 12.6038 10.4558 12.6038 8.06005C12.6038 5.66428 10.6547 3.71521 8.25891 3.71521ZM8.25891 11.1455C6.55759 11.1455 5.17344 9.76137 5.17344 8.06005C5.17344 6.35873 6.55759 4.97459 8.25891 4.97459C9.96023 4.97459 11.3444 6.35873 11.3444 8.06005C11.3444 9.76137 9.96023 11.1455 8.25891 11.1455Z","fill","black"],["d","M12.6668 4.28171C13.0146 4.28171 13.2965 3.99979 13.2965 3.65203C13.2965 3.30426 13.0146 3.02234 12.6668 3.02234C12.319 3.02234 12.0371 3.30426 12.0371 3.65203C12.0371 3.99979 12.319 4.28171 12.6668 4.28171Z","fill","black"],["href","https://www.facebook.com/abccargocourier","target","_blank"],["width","10","height","18","viewBox","0 0 10 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.73593 2.88224H9.32063V0.122233C9.04723 0.0846229 8.10697 0 7.01194 0C4.72712 0 3.16196 1.43714 3.16196 4.07854V6.50946H0.640625V9.59494H3.16196V17.3586H6.25322V9.59566H8.67257L9.05663 6.51018H6.2525V4.38448C6.25322 3.49269 6.49335 2.88224 7.73593 2.88224Z","fill","black"],["href","https://twitter.com/abccargocourier","target","_blank"],["width","18","height","16","viewBox","0 0 18 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M16.2166 3.94816C16.2279 4.1109 16.2279 4.27363 16.2279 4.43744C16.2279 9.40032 12.6476 15.1197 6.10494 15.1197C4.08914 15.1197 2.2163 14.5033 0.640625 13.4342C0.927576 13.4687 1.20329 13.4795 1.50046 13.4795C3.16395 13.4795 4.69367 12.8867 5.91704 11.8758C4.3526 11.8413 3.04243 10.7593 2.59107 9.27099C2.81062 9.30548 3.0312 9.32919 3.26096 9.32919C3.58161 9.32919 3.90124 9.28285 4.1984 9.20202C2.56861 8.85284 1.34524 7.34188 1.34524 5.51731C1.34524 5.50546 1.34524 5.48175 1.34524 5.47097C1.81906 5.74902 2.36948 5.92361 2.95359 5.94732C1.99573 5.27267 1.3677 4.12167 1.3677 2.82087C1.3677 2.12359 
11.54437 1.48343 1.85276 0.925172C3.60408 3.20454 6.23667 4.69286 9.18889 4.85452C9.13273 4.57539 9.10005 4.28441 9.10005 3.99342C9.10005 1.92529 10.687 0.239746 12.6578 0.239746C13.6821 0.239746 14.6073 0.692386 15.2577 1.42523C16.0614 1.2625 16.8314 0.948882 17.5156 0.518874C17.2511 1.39074 16.6894 2.12359 15.9511 2.58701C16.668 2.50618 17.3614 2.2971 18.0006 2.00612C17.5156 2.74974 16.91 3.41361 16.2166 3.94816Z","fill","black"],[1,"col-xl-10"],[1,"footer-link-wraper"],[1,"footer-link-container","d-flex","justify-content-between","w-100","flex-wrap","flex-lg-nowrap"],["id","menu-item-63",1,"menu-item","menu-item-type-custom","menu-item-object-custom","menu-item-has-children","menu-item-63","footer-links"],["href","#0"],[1,"sub-menu"],["id","menu-item-3880",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3880"],["href","https://abccargo.ae/services/road-freight/"],["id","menu-item-3879",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3879"],["href","https://abccargo.ae/services/sea-freight/"],["id","menu-item-3878",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3878"],["href","https://abccargo.ae/services/air-freight/"],["id","menu-item-3877",1,"menu-item","menu-item-type-post_type","menu-item-object-services","menu-item-3877"],["href","https://abccargo.ae/services/international-and-domestic-door-to-door-pickup-and-delivery/"],["id","menu-item-3885",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3885"],["href","https://abccargo.ae/solution/customs-clearance/"],["id","menu-item-3884",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3884"],["href","https://abccargo.ae/solution/documentation/"],["id","menu-item-3883",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3883"],["href","https://abccargo.ae/solution/insurance/"],["id","menu-item-3882",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3882"],["href","https://abccargo.ae/solution/warehousing-and-distribution/"],["id","menu-item-3881",1,"menu-item","menu-item-type-post_type","menu-item-object-solution","menu-item-3881"],["href","https://abccargo.ae/solution/packing-and-shipping/"],["href","/ratecalc"],["id","menu-item-74",1,"menu-item","menu-item-type-custom","menu-item-object-custom","menu-item-has-children","menu-item-74","footer-links"],["id","menu-item-153",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-home","menu-item-153"],["id","menu-item-116",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-116"],["href","https://abccargo.ae/about-us/"],["id","menu-item-112",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-112"],["href","https://abccargo.ae/services/"],["id","menu-item-113",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-113"],["href","https://abccargo.ae/features/"],["id","menu-item-115",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-115"],["href","https://abccargo.ae/blog/"],["id","menu-item-81",1,"menu-item","menu-item-type-custom","menu-item-object-custom","current-menu-ancestor","current-menu-parent","menu-item-has-children","menu-item-81","footer-links"],["id","menu-item-184",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-184"],["href","https://abccargo.ae/locations/"],["id","menu-item-111",1,"menu-item","menu-item-type-post_type","menu-item-object-page","current-menu-item","page_item","page-item-11","current_page_item","menu-item-111"],["href","https://abccargo.ae/careers/","aria-current","page"],["id","menu-item-109",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-109"],["href","https://abccargo.ae/testimonial/"],["id","menu-item-110",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-110"],["href","https://abccargo.ae/customer-info/"],["id","menu-item-107",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-107"],["href","https://abccargo.ae/contact/"],["id","menu-item-192",1,"menu-item","menu-item-type-post_type","menu-item-object-page","menu-item-192"],["href","https://abccargo.ae/abc-cargo-faq/"],[1,"footer-links","ftr-contact","me-0"],[1,"contact-links"],[1,"toll-free"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1 16V10C1 7.61305 1.94821 5.32387 3.63604 3.63604C5.32387 1.94821 7.61305 1 10 1C12.3869 1 14.6761 1.94821 16.364 3.63604C18.0518 5.32387 19 7.61305 19 10V16","
1stroke","#E64A3C","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M19 17C19 17.5304 18.7893 18.0391 18.4142 18.4142C18.0391 18.7893 17.5304 19 17 19H16C15.4696 19 14.9609 18.7893 14.5858 18.4142C14.2107 18.0391 14 17.5304 14 17V14C14 13.4696 14.2107 12.9609 14.5858 12.5858C14.9609 12.2107 15.4696 12 16 12H19V17ZM1 17C1 17.5304 1.21071 18.0391 1.58579 18.4142C1.96086 18.7893 2.46957 19 3 19H4C4.53043 19 5.03914 18.7893 5.41421 18.4142C5.78929 18.0391 6 17.5304 6 17V14C6 13.4696 5.78929 12.9609 5.41421 12.5858C5.03914 12.2107 4.53043 12 4 12H1V17Z","stroke","#E64A3C","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["href","tel:+971 800 916"],["width","20","height","24","viewBox","0 0 20 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M19 10C19 17 10 23 10 23C10 23 1 17 1 10C1 7.61305 1.94821 5.32387 3.63604 3.63604C5.32387 1.94821 7.61305 1 10 1C12.3869 1 14.6761 1.94821 16.364 3.63604C18.0518 5.32387 19 7.61305 19 10Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["d","M10 13C11.6569 13 13 11.6569 13 10C13 8.34315 11.6569 7 10 7C8.34315 7 7 8.34315 7 10C7 11.6569 8.34315 13 10 13Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["width","21","height","17","viewBox","0 0 21 17","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M2.875 1H17.875C18.9063 1 19.75 1.84375 19.75 2.875V14.125C19.75 15.1563 18.9063 16 17.875 16H2.875C1.84375 16 1 15.1563 1 14.125V2.875C1 1.84375 1.84375 1 2.875 1Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["d","M19.75 2.875L10.375 9.4375L1 2.875","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],["href","mailto:[email protected]",2,"text-transform","lowercase"],["d","M18.9994 14.4765V17.1862C19.0005 17.4377 18.9488 17.6867 18.8479 17.9172C18.7469 18.1477 18.5988 18.3546 18.413 18.5247C18.2273 18.6947 18.008 18.8242 17.7693 18.9048C17.5305 18.9854 17.2775 19.0153 17.0265 18.9927C14.2415 18.6907 11.5664 17.7409 9.21601 16.2197C7.02929 14.8329 5.17534 12.9827 3.7858 10.8003C2.25627 8.44389 1.30442 5.76107 1.00735 2.96915C0.98473 2.71938 1.01447 2.46764 1.09468 2.22996C1.17489 1.99229 1.30381 1.77389 1.47323 1.58866C1.64265 1.40343 1.84885 1.25544 2.07872 1.15411C2.30858 1.05278 2.55707 1.00032 2.80837 1.00009H5.52347C5.96269 0.995773 6.3885 1.151 6.72152 1.43683C7.05455 1.72267 7.27207 2.11961 7.33354 2.55366C7.44814 3.42084 7.66067 4.27229 7.96707 5.09177C8.08883 5.41507 8.11519 5.76642 8.043 6.1042C7.97082 6.44198 7.80313 6.75203 7.5598 6.99761L6.41041 8.14473C7.69877 10.406 9.57482 12.2784 11.8406 13.5642L12.99 12.4171C13.2361 12.1742 13.5467 12.0069 13.8852 11.9348C14.2236 11.8628 14.5757 11.8891 14.8996 12.0106C15.7207 12.3164 16.5739 12.5285 17.4428 12.6429C17.8824 12.7048 18.2839 12.9258 18.5709 13.2639C18.858 13.6019 19.0105 14.0335 18.9994 14.4765Z","stroke","#E64A3C","stroke-linecap","round","stroke-linejoin","round"],[1,"contact-num"],["href","tel:+971 4 3332378"],["href","tel:+971 56 5395358"],[1,"mt-3"],[1,"d-xl-none"],[1,"d-flex","align-items-center","mt-2","d-xl-none"],["href","https://play.google.com/store/apps/details?id=com.myabccustomer","target","blank",1,"me-3"],[1,"footer-credit"],[1,"row","align-items-center"],[1,"col-md-8"],[1,"mb-2","mb-md-0"],["href","https://abccargo.ae/privacy-policy"],["href","https://abccargo.ae/fraud-awareness"],[1,"col-md-4","text-end"],[1,"d-flex","align-items-center","justify-content-center","justify-content-md-end"],["href","https://wefttechnologies.com/","target","_blank"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/weft.gif",1,"c-logo"],["href","https://api.whatsapp.com/send?phone=+971800916&text=Hi, I\u2019m interested to know more about services.","target","_blank",1,"whatzapp-float"],["src","https://abccargo.ae/wp-content/themes/abc-cargo/img/icons/whatsapp-icon.svg","alt",""]],template:function(e,t){1&e&&(c.Rb(0,"header",0),c.Rb(1,"div",1),c.Rb(2,"div",2),c.Rb(3,"a",3),c.Mb(4,"img",4),c.Qb(),c.Qb(),c.Rb(5,"div",5),c.Rb(6,"div",6),c.Mb(7,"div",7),c.Mb(8,"div",8),c.Mb(9,"div",9),c.Qb(),c.Rb(10,"div",10),c.Mb(11,"ul",11),c.Qb(),c.Qb(),c.Qb(),c.Mb(12,"div",12),c.Qb(),c.Rb(13,"main"),c.Rb(14,"section",13),c.Rb(15,"div",14),c.Rb(16,"div",15),c.Rb(17,"div",16),c.Rb(18,"h3"),c.Ec(19,"Items are Prohibited"),c.Qb(),c.Rb(20,"p"),
1c.Ec(21,"Make sure your shipment abides by international safety & security regulations by:"),c.Qb(),c.Rb(22,"ul"),c.Rb(23,"li"),c.Ec(24,"Kindly allowing us to inspect your shipment in your presence."),c.Qb(),c.Rb(25,"li"),c.Ec(26,"Ensuring that it doesn\u2019t contain items that are considered prohibited, illegal or dangerous as per international shipping regulations. Examples include:"),c.Qb(),c.Qb(),c.Qb(),c.Rb(27,"div",17),c.Rb(28,"h3"),c.Ec(29,"\u0627\u0644\u0645\u0648\u0627\u062f \u0645\u062d\u0638\u0648\u0631\u0629"),c.Qb(),c.Rb(30,"p"),c.Ec(31," :\ufe97\ufe84\ufedb\ufeaa \ufea9\ufe8d\ufe8b\ufee4\ufe8e\u064b \ufee3\ufee6 \ufe83\ufee5 \ufeb7\ufea4\ufee8\ufe98\ufeda \ufee3\ufee0\ufe98\ufeb0\ufee3\ufe94 \ufe91\ufed8\ufeee\ufe8d\ufee7\ufef4\ufee6 \ufe8d\ufef7\ufee3\ufee6 \ufeed \ufe8d\ufedf\ufeb4\ufefc\ufee3\ufe94 \ufe8d\ufedf\ufecc\ufe8e\ufedf\ufee4\ufef4\ufe94 \ufeed\ufeab\ufedf\ufeda \ufee3\ufee6 \ufea7\ufefc\ufedd "),c.Qb(),c.Rb(32,"ul",18),c.Rb(33,"li"),c.Ec(34," \ufeb3\ufee4\ufe8e\ufea3\ufeda \ufedf\ufee8\ufe8e \ufe91\ufe98\ufed4\ufe98\ufef4\ufeb6 \ufeed\ufed3\ufea4\ufeba \ufeb7\ufea4\ufee8\ufe98\ufeda \ufe91\ufea4\ufec0\ufeee\ufead\ufed9 \ufedf\ufeaa\ufeed\ufe8d\ufecb\ufef2 \ufe8d\ufef7\ufee3\ufee6 \ufeed\ufe8d\ufedf\ufeb4\ufefc\ufee3\ufe94."),c.Qb(),c.Rb(35,"li"),c.Ec(36," \ufe83\ufead\ufe8d\ufee3\ufedc\ufeb2 \ufefb \ufe97\ufeb8\ufea4\ufee6 \ufe83\ufef3\ufe8e\u064b \ufee3\ufee6 \ufe8d\ufedf\ufee4\ufeee\ufe8d\ufea9 \ufe8d\ufedf\ufee4\ufee4\ufee8\ufeee\ufecb\ufe94 \ufe83\ufeed \ufecf\ufef4\ufeae \ufe8d\ufedf\ufed8\ufe8e\ufee7\ufeee\ufee7\ufef4\ufe94 \ufe83\ufeed \ufe8d\ufedf\ufea8\ufec4\ufeae\ufe93 \ufeed\ufed3\ufed8\ufe8e\u064b \ufef7\ufee7\ufec8\ufee4\ufe94 \ufe8d\ufedf\ufeb8\ufea4\ufee6 \ufe8d\ufedf\ufeaa\ufeed\ufedf\ufef4\ufe94. \ufe97\ufe98\ufec0\ufee4\ufee6 \ufe83\ufee3\ufe9c\ufee0\ufe94 \ufeeb\ufeac\ufee9 \ufe8d\ufedf\ufee4\ufea4\ufec8\ufeee\ufead\ufe8d\ufe95 : "),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(37,"section",19),c.Rb(38,"div",14),c.Rb(39,"div",20),c.Rb(40,"div",21),c.Rb(41,"div",22),c.Rb(42,"div",23),c.Rb(43,"div",24),c.Mb(44,"img",25),c.Qb(),c.Rb(45,"h5"),c.Ec(46,"Cash (\u0627\u0644\u0646\u0642\u0648\u062f)"),c.Qb(),c.Qb(),c.Qb(),c.Rb(47,"div",22),c.Rb(48,"div",23),c.Rb(49,"div",24),c.Mb(50,"img",26),c.Qb(),c.Rb(51,"h5"),c.Ec(52,"Precious Metals (\u0627\u0644\u0645\u0639\u0627\u062f\u0646 \u0627\u0644\u062b\u0645\u064a\u0646\u0629)"),c.Qb(),c.Qb(),c.Qb(),c.Rb(53,"div",22),c.Rb(54,"div",23),c.Rb(55,"div",24),c.Mb(56,"img",27),c.Qb(),c.Rb(57,"h5"),c.Ec(58,"Liquids (\u0627\u0644\u0633\u0648\u0627\u0626\u0644)"),c.Qb(),c.Qb(),c.Qb(),c.Rb(59,"div",22),c.Rb(60,"div",23),c.Rb(61,"div",24),c.Mb(62,"img",28),c.Qb(),c.Rb(63,"h5"),c.Ec(64,"Drugs/Narcotics (\u0627\u0644\u0645\u062e\u062f\u0631\u0627\u062a)"),c.Qb(),c.Qb(),c.Qb(),c.Rb(65,"div",22),c.Rb(66,"div",23),c.Rb(67,"div",24),c.Mb(68,"img",29),c.Qb(),c.Rb(69,"h5"),c.Ec(70,"Explosive Materials (\u0627\u0644\u0645\u0648\u0627\u062f \u0627\u0644\u0645\u062a\u0641\u062c\u0631\u0629)"),c.Qb(),c.Qb(),c.Qb(),c.Rb(71,"div",22),c.Rb(72,"div",23),c.Rb(73,"div",24),c.Mb(74,"img",30),c.Qb(),c.Rb(75,"h5"),c.Ec(76,"Weapons (\u0627\u0644\u0623\u0633\u0644\u062d\u0629)"),c.Qb(),c.Qb(),c.Qb(),c.Rb(77,"div",22),c.Rb(78,"div",23),c.Rb(79,"div",24),c.Mb(80,"img",31),c.Qb(),c.Rb(81,"h5"),c.Ec(82,"Chemicals in all forms (\u0627\u0644\u0643\u064a\u0645\u0627\u0648\u064a\u0627\u062a)"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(83,"footer"),c.Rb(84,"div",14),c.Rb(85,"div",32),c.Rb(86,"div",21),c.Rb(87,"div",33),c.Rb(88,"div",34),c.Rb(89,"div",35),c.Rb(90,"a",3),c.Mb(91,"img",36),c.Qb(),c.Qb(),c.Rb(92,"div",37),c.Rb(93,"p",38),c.Ec(94,"Scan & Download App"),c.Qb(),c.Mb(95,"img",39),c.Qb(),c.Rb(96,"div",40),c.Rb(97,"div",41),c.Rb(98,"p",42),c.Ec(99,"Download App"),c.Qb(),c.Rb(100,"div",43),c.Rb(101,"a",44),c.Mb(102,"img",45),c.Qb(),c.Rb(103,"a",46),c.Mb(104,"img",47),c.Qb(),c.Qb(),c.Qb(),c.Rb(105,"ul",48),c.Rb(106,"li"),c.Rb(107,"a",49),c.dc(),c.Rb(108,"svg",50),c.Mb(109,"path",51),c.Mb(110,"path",52),c.Mb(111,"path",53),c.Qb(),c.Qb(),c.Qb(),c.cc(),c.Rb(112,"li"),c.Rb(113,"a",54),c.dc(),c.Rb(114,"svg",55),c.Mb(115,"path",56),c.Mb(116,"path",57),c.Mb(117,"path",58),c.Qb(),c.Qb(),c.Qb(),c.cc(),c.Rb(118,"li"),c.Rb(119,"a",59),c.dc(),c.Rb(120,"svg",60),c.Mb(121,"path",61),c.Qb(),c.Qb(),c.Qb(),c.cc(),c.Rb(122,"li"),c.Rb(123,"a",62),c.dc(),c.Rb(124,"svg",63),c.Mb(125,"path",64),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.cc(),c.Rb(126,"div",65),c.Rb(127,"div",66),c.Rb(128,"ul",67),c.Rb(129,"li",68),c.Rb(130,"a",69),c.Ec(131,"
1Solutions & Services"),c.Qb(),c.Rb(132,"ul",70),c.Rb(133,"li",71),c.Rb(134,"a",72),c.Ec(135,"Road Freight"),c.Qb(),c.Qb(),c.Rb(136,"li",73),c.Rb(137,"a",74),c.Ec(138,"Sea Freight"),c.Qb(),c.Qb(),c.Rb(139,"li",75),c.Rb(140,"a",76),c.Ec(141,"Air Freight"),c.Qb(),c.Qb(),c.Rb(142,"li",77),c.Rb(143,"a",78),c.Ec(144,"Domestic and International Courier"),c.Qb(),c.Qb(),c.Rb(145,"li",79),c.Rb(146,"a",80),c.Ec(147,"Customs Clearance"),c.Qb(),c.Qb(),c.Rb(148,"li",81),c.Rb(149,"a",82),c.Ec(150,"Documentation"),c.Qb(),c.Qb(),c.Rb(151,"li",83),c.Rb(152,"a",84),c.Ec(153,"Insurance"),c.Qb(),c.Qb(),c.Rb(154,"li",85),c.Rb(155,"a",86),c.Ec(156,"Warehousing and Distribution"),c.Qb(),c.Qb(),c.Rb(157,"li",87),c.Rb(158,"a",88),c.Ec(159,"Packing and Shipping"),c.Qb(),c.Qb(),c.Rb(160,"li",87),c.Rb(161,"a",89),c.Ec(162,"Rate Calculator"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(163,"li",90),c.Rb(164,"a",69),c.Ec(165,"Company Info"),c.Qb(),c.Rb(166,"ul",70),c.Rb(167,"li",91),c.Rb(168,"a",3),c.Ec(169,"Home"),c.Qb(),c.Qb(),c.Rb(170,"li",92),c.Rb(171,"a",93),c.Ec(172,"About Us"),c.Qb(),c.Qb(),c.Rb(173,"li",94),c.Rb(174,"a",95),c.Ec(175,"Solutions"),c.Qb(),c.Qb(),c.Rb(176,"li",96),c.Rb(177,"a",97),c.Ec(178,"Services"),c.Qb(),c.Qb(),c.Rb(179,"li",98),c.Rb(180,"a",99),c.Ec(181,"Blog"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(182,"li",100),c.Rb(183,"a",69),c.Ec(184,"Support"),c.Qb(),c.Rb(185,"ul",70),c.Rb(186,"li",101),c.Rb(187,"a",102),c.Ec(188,"Locations"),c.Qb(),c.Qb(),c.Rb(189,"li",103),c.Rb(190,"a",104),c.Ec(191,"Careers"),c.Qb(),c.Qb(),c.Rb(192,"li",105),c.Rb(193,"a",106),c.Ec(194,"Testimonials"),c.Qb(),c.Qb(),c.Rb(195,"li",107),c.Rb(196,"a",108),c.Ec(197,"Prohibited Itineraries"),c.Qb(),c.Qb(),c.Rb(198,"li",109),c.Rb(199,"a",110),c.Ec(200,"Contact"),c.Qb(),c.Qb(),c.Rb(201,"li",111),c.Rb(202,"a",112),c.Ec(203,"FAQ"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(204,"div",113),c.Rb(205,"ul",114),c.Rb(206,"li",115),c.Rb(207,"span"),c.dc(),c.Rb(208,"svg",116),c.Mb(209,"path",117),c.Mb(210,"path",118),c.Qb(),c.Qb(),c.cc(),c.Rb(211,"a",119),c.Ec(212,"800 916"),c.Qb(),c.Qb(),c.Rb(213,"li"),c.Rb(214,"span"),c.dc(),c.Rb(215,"svg",120),c.Mb(216,"path",121),c.Mb(217,"path",122),c.Qb(),c.Qb(),c.cc(),c.Rb(218,"address"),c.Rb(219,"span"),c.Ec(220,"Head Quarters:"),c.Qb(),c.Ec(221," Al Quoz Opp. Al Khail Mall, Al Quoz"),c.Qb(),c.Qb(),c.Rb(222,"li"),c.Rb(223,"span"),c.dc(),c.Rb(224,"svg",123),c.Mb(225,"path",124),c.Mb(226,"path",125),c.Qb(),c.Qb(),c.cc(),c.Rb(227,"a",126),c.Ec(228,"[email protected]"),c.Qb(),c.Qb(),c.Rb(229,"li"),c.Rb(230,"span"),c.dc(),c.Rb(231,"svg",116),c.Mb(232,"path",127),c.Qb(),c.Qb(),c.cc(),c.Rb(233,"div",128),c.Rb(234,"a",129),c.Ec(235,"+971 4 3332378"),c.Qb(),c.Rb(236,"a",130),c.Ec(237,"+971 56 5395358"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(238,"div",131),c.Rb(239,"p",132),c.Ec(240,"Download the MYABC App"),c.Qb(),c.Rb(241,"div",133),c.Rb(242,"a",134),c.Mb(243,"img",45),c.Qb(),c.Rb(244,"a",46),c.Mb(245,"img",47),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(246,"div",135),c.Rb(247,"div",136),c.Rb(248,"div",137),c.Rb(249,"p",138),c.Ec(250," \xa92025 ABC CARGO. All rights reserved. "),c.Rb(251,"span"),c.Rb(252,"a",139),c.Ec(253,"Privacy Policy"),c.Qb(),c.Qb(),c.Ec(254," | "),c.Rb(255,"span"),c.Rb(256,"a",140),c.Ec(257,"Fraud Awareness"),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(258,"div",141),c.Rb(259,"p",142),c.Ec(260,"Design & Developed by "),c.Rb(261,"span"),c.Rb(262,"a",143),c.Mb(263,"img",144),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Qb(),c.Rb(264,"a",145),c.Mb(265,"img",146),c.Qb(),c.Qb())},styles:[".prohibited-header-wraper[_ngcontent-%COMP%]{margin-top:100px;background:#fff2f2}@media (max-width:1199px){.prohibited-header-wraper[_ngcontent-%COMP%]{margin-top:87px}}@media (max-width:991px){.prohibited-header-wraper[_ngcontent-%COMP%]{margin-top:100px}}.prohibited-item-wraper[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media (max-width:576px){.prohibited-item-wraper[_ngcontent-%COMP%]{display:block}}.prohibited-item-wraper[_ngcontent-%COMP%]   .prohibited-header-item[_ngcontent-%COMP%]:last-child{padding-right:0;padding-left:10px}@media (max-width:576px){.prohibited-item-wraper[_ngcontent-%COMP%]   .prohibited-header-item[_ngcontent-%COMP%]:last-child{padding-left:0;padding-top:0}}.prohibited-header-item[_ngcontent-%COMP%]{max-width:500px;width:100%;padding:30px 20px 30px 0}@media (max-width:576px){.prohibited-header-item[_ngcontent-%COMP%]{padding-right:0}}.prohibited-header-item[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:23px;font-weight:500;margin-bottom:13px}@media (max-width:576px){.prohibited-header-item[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:21px}}.prohibited-header-item[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:10px;font-weight:500}.prohibited-header-item[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-left:17px;font-size:15px}@media (max-width:767px){.prohibited-header-item[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{font-size:14px}}.prohibited-item-list[_ngcontent-%COMP%]{padding:70px 0}@media (max-width:1600px){.prohibited-item-list[_ngcontent-%COMP%]{padding:59px 0}}@media (max-width:1400px){.prohibited-item-list[_ngcontent-%COMP%]{padding:48px 0}}@media (max-width:576px){.prohibited-item-list[_ngcontent-%COMP%]{padding:37px 0}}.arabic_list[_ngcontent-%COMP%]{text-align:right;list-style-position:inside}.arabic_list[_ngcontent-%COMP%], .arabic_list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{direction:rtl}.prohibited-item[_ngcontent-%COMP%]{padding:20px 25px;border-radius:10px;border:1px solid rgba(0,0,0,.1);height:100%;text-align:center;background:#fff}@media (max-width:1600px){.prohibited-item[_ngcontent-%COMP%]{padding:18px 20px}}.prohibited-item[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:18px}@media (max-width:1600px){.prohibited-item[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:16px}}@media (max-width:576px){.prohibited-item-list-wraper[_ngcontent-%COMP%]{max-width:300px;margin:auto}}.prohibited-item-list-wraper[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   [class*=col-][_ngcontent-%COMP%]{margin-bottom:20px}.prohibited-item-icon[_ngcontent-%COMP%]{margin-bottom:16px}.prohibited-item-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:80px}@media (max-width:1600px){.prohibited-item-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:65px}}"]}),e})()},{path:"printawb",component:qi.a}]}];let Ys=(()=>{class e{}return e.\u0275mod=c.Jb({type:e}),e.\u0275inj=c.Ib({factory:function(t){return new(t||e)},imports:[[r.g.forChild(js)],r.g]}),e})(),Ws=(()=>{class e{}return e.\u0275mod=c.Jb({type:e}),e.\u0275inj=c.Ib({factory:function(t){return new(t||e)},imports:[[i.b,dt.b,a.q,bt]]}),e})();var Qs=n("9OaD"),$s=n("ThLa");let Gs=(()=>{class e{}return e.\u0275mod=c.Jb({type:e}),e.\u0275inj=c.Ib({factory:function(t){return new(t||e)},imports:[[i.b,Ys,a.q,Qs.a,O.b,dt.b,bt,Fe.d.forRoot(),Ws,$s.a,a.i]]}),e})()},alGs:function(e,t,n){"use strict";var i=n("FKN7"),r=n("8Qh0").inherit({_renderWatchers:function(){this.callBase(),this._startWatcher("badge",this._renderBadge.bind(this))},_renderBadge:function(e){if(this._$element.children(".dx-badge").remove(),e){var t=i("<div>").addClass("dx-tabs-item-badge").addClass("dx-badge").text(e);this._$element.append(t)}}});e.exports=r},asJF:function(e,t,n){"use strict";var i=a(n("FKN7")),r=a(n("jeLr")),o=a(n("XCcL")),s=n("zl3R");
1function a(e){return e&&e.__esModule?e:{default:e}}var l=a(n("GYHJ")).default.ViewController.inherit({init:function(){this._columnHeadersView=this.getView("columnHeadersView"),this._rowsView=this.getView("rowsView")},_createErrorRow:function(e,t){var n,a,l=this,c=this._renderErrorMessage(e);return t?(n=(0,i.default)("<tr>").addClass("dx-error-row"),a=(0,i.default)("<div>").addClass("dx-closebutton").addClass(l.addWidgetPrefix("action")),r.default.on(a,o.default.name,l.createAction((function(e){var n,r=e.event,o=(0,i.default)(r.currentTarget).closest(".dx-error-row").index();r.stopPropagation(),(0,s.each)(t,(function(e,t){n=(0,i.default)(t).children("tbody").children("tr").eq(o),l.removeErrorRow(n)})),l.getController("resizing")&&l.getController("resizing").fireContentReadyAction()}))),(0,i.default)("<td>").attr({colSpan:l.getController("columns").getVisibleColumns().length,role:"presentation"}).prepend(a).append(c).appendTo(n),n):c},_renderErrorMessage:function(e){var t=e.url?e.message.replace(e.url,""):e.message||e,n=(0,i.default)("<div>").addClass("dx-error-message").text(t);return e.url&&(0,i.default)("<a>").attr("href",e.url).text(e.url).appendTo(n),n},renderErrorRow:function(e,t,n){var r,o,a=this;if(n)return n.find(".dx-error-message").remove(),r=a._createErrorRow(e),n.prepend(r),r;var l=t>=0||!a._columnHeadersView.isVisible()?a._rowsView:a._columnHeadersView,c=n||l.getTableElements();if((0,s.each)(c,(function(n,s){if(r=a._createErrorRow(e,c),o=o||r,t>=0){var u=l._getRowElements((0,i.default)(s)).eq(t);a.removeErrorRow(u.next()),r.insertAfter(u)}else{var d=(0,i.default)(s).children("tbody"),h=d.children("tr");a._columnHeadersView.isVisible()?(a.removeErrorRow(h.last()),(0,i.default)(s).append(r)):(a.removeErrorRow(h.first()),d.first().prepend(r))}})),!n){var u=a.getController("resizing");u&&u.fireContentReadyAction()}return o},removeErrorRow:function(e){if(!e){var t=this._columnHeadersView&&this._columnHeadersView.element();if(!(e=t&&t.find(".dx-error-row"))||!e.length){var n=this._rowsView.element();e=n&&n.find(".dx-error-row")}}e&&e.hasClass("dx-error-row")&&e.remove()},optionChanged:function(e){switch(e.name){case"errorRowEnabled":e.handled=!0;break;default:this.callBase(e)}}});e.exports={defaultOptions:function(){return{errorRowEnabled:!0}},controllers:{errorHandling:l},extenders:{controllers:{data:{init:function(){var e=this,t=e.getController("errorHandling");e.callBase(),e.dataErrorOccurred.add((function(n,i){e.option("errorRowEnabled")&&t.renderErrorRow(n,void 0,i)})),e.changed.add((function(t){if(!t||"loadError"!==t.changeType){var n=e.getController("errorHandling"),i=e.getController("editing");i&&!i.hasChanges()&&n&&n.removeErrorRow()}}))}}}}}},b1Dy:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},b1t7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BindableTemplate=void 0;var i=l(n("FKN7")),r=n("PfKZ"),o=n("jeLr"),s=l(n("fGF2")),a=n("ti0F");function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.BindableTemplate=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,n,r,l=(n=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(n);if(r){var i=h(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return d(this,e)});function c(e,t,n,i){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(r=l.call(this))._render=e,r._fields=t,r._fieldsMap=i||{},r._watchMethod=n,r}return(t=[{key:"_renderCore",value:function(e){var t,n,r,l,c,u,d=this,h=(0,i.default)(e.container),p=(n=this._fields,r=this._fieldsMap,l=function(t){h.empty(),d._render(h,t,e.model)},u=function(e,t,n){return t((function(){return e}),n)}(e.model,t=this._watchMethod,(function(e){c&&c(),(0,a.isPrimitive)(e)?l(e):c=function(e,t,n,i,r){var o={},s=n.slice(),a=n.map((function(n){var a=i[n];return t(a?function(){return a(e)}:function(){return e[n]},(function(e){if(o[n]=e,s.length){var t=s.indexOf(n);t>=0&&s.splice(t,1)}s.length||r(o)}))}));return function(){a.forEach((function(e){return e()}))}}(e,t,n,r,l)})),function(){c&&c(),u&&u()});return(0,o.on)(h,s.default,p),h.contents()}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(c.prototype,t),c}(r.TemplateBase)},bCcq:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__("PDX0"),ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(n){return new Sha256(t,!0).update(n)[e]()}},createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<OUTPUT_TYPES.length;++n){var i=OUTPUT_TYPES[n];t[i]=createOutputMethod(i,e)}return t},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(e){if("string"==typeof e)return crypto.createHash(algorithm).update(e,"utf8").digest("hex");
1if(null==e)throw new Error(ERROR);return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod},createHmacOutputMethod=function(e,t){return function(n,i){return new HmacSha256(n,t,!0).update(i)[e]()}},createHmacMethod=function(e){var t=createHmacOutputMethod("hex",e);t.create=function(t){return new HmacSha256(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var i=OUTPUT_TYPES[n];t[i]=createHmacOutputMethod(i,e)}return t};function Sha256(e,t){t?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function HmacSha256(e,t,n){var i,r=typeof e;if("string"===r){var o,s=[],a=e.length,l=0;for(i=0;i<a;++i)(o=e.charCodeAt(i))<128?s[l++]=o:o<2048?(s[l++]=192|o>>6,s[l++]=128|63&o):o<55296||o>=57344?(s[l++]=224|o>>12,s[l++]=128|o>>6&63,s[l++]=128|63&o):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++i)),s[l++]=240|o>>18,s[l++]=128|o>>12&63,s[l++]=128|o>>6&63,s[l++]=128|63&o);e=s}else{if("object"!==r)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR)}e.length>64&&(e=new Sha256(t,!0).update(e).array());var c=[],u=[];for(i=0;i<64;++i){var d=e[i]||0;c[i]=92^d,u[i]=54^d}Sha256.call(this,t,n),this.update(u),this.oKeyPad=c,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===e)throw new Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||ARRAY_BUFFER&&ArrayBuffer.isView(e)))throw new Error(ERROR);t=!0}for(var i,r,o=0,s=e.length,a=this.blocks;o<s;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),t)for(r=this.start;o<s&&r<64;++o)a[r>>2]|=e[o]<<SHIFT[3&r++];else for(r=this.start;o<s&&r<64;++o)(i=e.charCodeAt(o))<128?a[r>>2]|=i<<SHIFT[3&r++]:i<2048?(a[r>>2]|=(192|i>>6)<<SHIFT[3&r++],a[r>>2]|=(128|63&i)<<SHIFT[3&r++]):i<55296||i>=57344?(a[r>>2]|=(224|i>>12)<<SHIFT[3&r++],a[r>>2]|=(128|i>>6&63)<<SHIFT[3&r++],a[r>>2]|=(128|63&i)<<SHIFT[3&r++]):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++o)),a[r>>2]|=(240|i>>18)<<SHIFT[3&r++],a[r>>2]|=(128|i>>12&63)<<SHIFT[3&r++],a[r>>2]|=(128|i>>6&63)<<SHIFT[3&r++],a[r>>2]|=(128|63&i)<<SHIFT[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.block=a[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,n,i,r,o,s=this.h0,a=this.h1,l=this.h2,c=this.h3,u=this.h4,d=this.h5,h=this.h6,p=this.h7,f=this.blocks;for(e=16;e<64;++e)f[e]=f[e-16]+(((t=f[e-15])>>>7|t<<25)^(t>>>18|t<<14)^t>>>3)+f[e-7]+(((t=f[e-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)<<0;for(o=a&l,e=0;e<64;e+=4)this.first?(this.is224?(n=300032,p=(t=f[0]-1413257819)-150054599<<0,c=t+24177077<<0):(n=704751109,p=(t=f[0]-210244248)-1521486534<<0,c=t+143694565<<0),this.first=!1):(p=c+(t=p+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&d^~u&h)+K[e]+f[e])<<0,c=t+(((s>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10))+((n=s&a)^s&l^o))<<0),h=l+(t=h+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&u^~p&d)+K[e+1]+f[e+1])<<0,l=t+(((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+((i=c&s)^c&a^n))<<0,d=a+(t=d+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&p^~h&u)+K[e+2]+f[e+2])<<0,a=t+(((l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10))+((r=l&c)^l&s^i))<<0,u=s+(t=u+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>
125|d<<7))+(d&h^~d&p)+K[e+3]+f[e+3])<<0,s=t+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((o=a&l)^a&c^r))<<0;this.h0=this.h0+s<<0,this.h1=this.h1+a<<0,this.h2=this.h2+l<<0,this.h3=this.h3+c<<0,this.h4=this.h4+u<<0,this.h5=this.h5+d<<0,this.h6=this.h6+h<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4,o=this.h5,s=this.h6,a=this.h7,l=HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s];return this.is224||(l+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),l},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4,o=this.h5,s=this.h6,a=this.h7,l=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o,s>>24&255,s>>16&255,s>>8&255,255&s];return this.is224||l.push(a>>24&255,a>>16&255,a>>8&255,255&a),l},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return exports}).call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("5+tZ"),r=n("SpAZ");function o(e=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,e)}},bMtV:function(e,t,n){"use strict";var i=v(n("FKN7")),r=v(n("tUd6")),o=v(n("jeLr")),s=n("xZEH"),a=n("1LL4"),l=n("cGv3"),c=n("zl3R"),u=n("ti0F"),d=v(n("YQNt")),h=v(n("5qrJ")),p=v(n("hn2h")),f=v(n("LdFP")),m=n("JDOJ"),g=n("KAnu"),_=v(n("Ait/")),b=n("tJvG");function v(e){return e&&e.__esModule?e:{default:e}}var y,w,C="android"===f.default.real.platform,x="horizontal",S=C?.95:.92,k=Math.round(1e3/60),T=(1-Math.pow(S,(C?300:400)/k))/(1-S),E=p.default.inherit({ctor:function(e){this.callBase(),this.scroller=e},VELOCITY_LIMIT:1,_isFinished:function(){return Math.abs(this.scroller._velocity)<=this.VELOCITY_LIMIT},_step:function(){this.scroller._scrollStep(this.scroller._velocity),this.scroller._velocity
1*=this._acceleration()},_acceleration:function(){return this.scroller._inBounds()?S:.5},_complete:function(){this.scroller._scrollComplete()},_stop:function(){this.scroller._stopComplete()}}),I=E.inherit({VELOCITY_LIMIT:.2,_isFinished:function(){return this.scroller._crossBoundOnNextStep()||this.callBase()},_acceleration:function(){return S},_complete:function(){this.scroller._move(this.scroller._bounceLocation),this.callBase()}}),D=h.default.inherit({ctor:function(e){this._initOptions(e),this._initAnimators(),this._initScrollbar()},_initOptions:function(e){var t=this;this._location=0,this._topReached=!1,this._bottomReached=!1,this._axis=e.direction===x?"x":"y",this._prop=e.direction===x?"left":"top",this._dimension=e.direction===x?"width":"height",this._scrollProp=e.direction===x?"scrollLeft":"scrollTop",(0,c.each)(e,(function(e,n){t["_"+e]=n}))},_initAnimators:function(){this._inertiaAnimator=new E(this),this._bounceAnimator=new I(this)},_initScrollbar:function(){this._scrollbar=new _.default((0,i.default)("<div>").appendTo(this._$container),{direction:this._direction,visible:this._scrollByThumb,visibilityMode:this._visibilityModeNormalize(this._scrollbarVisible),expandable:this._scrollByThumb}),this._$scrollbar=this._scrollbar.$element()},_visibilityModeNormalize:function(e){return!0===e?"onScroll":!1===e?"never":e},_scrollStep:function(e){var t=this._location;this._location+=e,this._suppressBounce(),this._move(),Math.abs(t-this._location)<1||o.default.triggerHandler(this._$container,{type:"scroll"})},_suppressBounce:function(){this._bounceEnabled||this._inBounds(this._location)||(this._velocity=0,this._location=this._boundLocation())},_boundLocation:function(e){return e=void 0!==e?e:this._location,Math.max(Math.min(e,this._maxOffset),this._minOffset)},_move:function(e){this._location=void 0!==e?e*this._getScaleRatio():this._location,this._moveContent(),this._moveScrollbar()},_moveContent:function(){var e=this._location;this._$container[this._scrollProp](-e/this._getScaleRatio()),this._moveContentByTranslator(e)},_getScaleRatio:function(){if((0,l.hasWindow)()&&!this._scaleRatio){var e=this._$element.get(0),t=this._getRealDimension(e,this._dimension),n=this._getBaseDimension(e,this._dimension);this._scaleRatio=Math.round(t/n*100)/100}return this._scaleRatio||1},_getRealDimension:function(e,t){return Math.round(e.getBoundingClientRect()[t])},_getBaseDimension:function(e,t){return e["offset"+(0,s.titleize)(t)]},_moveContentByTranslator:function(e){var t,n=-this._maxScrollPropValue;if(this._translateOffset!==(t=e>0?e:e<=n?e-n:e%1)){var i={};i[this._prop]=t,this._translateOffset=t,0!==t?d.default.move(this._$content,i):d.default.resetPosition(this._$content)}},_moveScrollbar:function(){this._scrollbar.moveTo(this._location)},_scrollComplete:function(){this._inBounds()&&(this._hideScrollbar(),this._completeDeferred&&this._completeDeferred.resolve()),this._scrollToBounds()},_scrollToBounds:function(){this._inBounds()||(this._bounceAction(),this._setupBounce(),this._bounceAnimator.start())},_setupBounce:function(){var e=this._bounceLocation=this._boundLocation();this._velocity=(e-this._location)/T},_inBounds:function(e){return this._boundLocation(e=void 0!==e?e:this._location)===e},_crossBoundOnNextStep:function(){var e=this._location,t=e+this._velocity;return e<this._minOffset&&t>=this._minOffset||e>this._maxOffset&&t<=this._maxOffset},_initHandler:function(e){return this._stopDeferred=new b.Deferred,this._stopScrolling(),this._prepareThumbScrolling(e),this._stopDeferred.promise()},_stopScrolling:(0,g.deferRenderer)((function(){this._hideScrollbar(),this._inertiaAnimator.stop(),this._bounceAnimator.stop()})),_prepareThumbScrolling:function(e){if(!(0,m.isDxMouseWheelEvent)(e.originalEvent)){var t=(0,i.default)(e.originalEvent.target),n=this._isScrollbar(t);n&&this._moveToMouseLocation(e),this._thumbScrolling=n||this._isThumb(t),this._crossThumbScrolling=!this._thumbScrolling&&this._isAnyThumbScrolling(t),this._thumbScrolling&&this._scrollbar.feedbackOn()}},_isThumbScrollingHandler:function(e){return this._isThumb(e)},_moveToMouseLocation:function(e){var t=e["page"+this._axis.toUpperCase()]-this._$element.offset()[this._prop],n=this._location+t/this._containerToContentRatio()-this._$container.height()/2;this._scrollStep(-Math.round(n))},_stopComplete:function(){this._stopDeferred&&this._stopDeferred.resolve()},_startHandler:function(){this._showScrollbar()},_moveHandler:function(e){this._crossThumbScrolling||(this._thumbScrolling&&(e[this._axis]=-Math.round(e[this._axis]
1/this._containerToContentRatio())),this._scrollBy(e))},_scrollBy:function(e){e=e[this._axis],this._inBounds()||(e*=.5),this._scrollStep(e)},_scrollByHandler:function(e){this._scrollBy(e),this._scrollComplete()},_containerToContentRatio:function(){return this._scrollbar.containerToContentRatio()},_endHandler:function(e){return this._completeDeferred=new b.Deferred,this._velocity=e[this._axis],this._inertiaHandler(),this._resetThumbScrolling(),this._completeDeferred.promise()},_inertiaHandler:function(){this._suppressInertia(),this._inertiaAnimator.start()},_suppressInertia:function(){this._inertiaEnabled&&!this._thumbScrolling||(this._velocity=0)},_resetThumbScrolling:function(){this._thumbScrolling=!1,this._crossThumbScrolling=!1},_stopHandler:function(){this._thumbScrolling&&this._scrollComplete(),this._resetThumbScrolling(),this._scrollToBounds()},_disposeHandler:function(){this._stopScrolling(),this._$scrollbar.remove()},_updateHandler:function(){this._update(),this._moveToBounds()},_update:function(){var e=this;return this._stopScrolling(),(0,g.deferUpdate)((function(){e._resetScaleRatio(),e._updateLocation(),e._updateBounds(),e._updateScrollbar(),(0,g.deferRender)((function(){e._moveScrollbar(),e._scrollbar.update()}))}))},_resetScaleRatio:function(){this._scaleRatio=null},_updateLocation:function(){this._location=(d.default.locate(this._$content)[this._prop]-this._$container[this._scrollProp]())*this._getScaleRatio()},_updateBounds:function(){this._maxOffset=Math.round(this._getMaxOffset()),this._minOffset=Math.round(this._getMinOffset())},_getMaxOffset:function(){return 0},_getMinOffset:function(){return this._maxScrollPropValue=Math.max(this._contentSize()-this._containerSize(),0),-this._maxScrollPropValue},_updateScrollbar:(0,g.deferUpdater)((function(){var e=this,t=this._containerSize(),n=this._contentSize(),i=this._getBaseDimension(this._$container.get(0),this._dimension),r=this._getBaseDimension(this._$content.get(0),this._dimension);(0,g.deferRender)((function(){e._scrollbar.option({containerSize:t,contentSize:n,baseContainerSize:i,baseContentSize:r,scaleRatio:e._getScaleRatio()})}))})),_moveToBounds:(0,g.deferRenderer)((0,g.deferUpdater)((0,g.deferRenderer)((function(){var e=this._boundLocation(),t=e!==this._location;this._location=e,this._move(),t&&this._scrollAction()})))),_createActionsHandler:function(e){this._scrollAction=e.scroll,this._bounceAction=e.bounce},_showScrollbar:function(){this._scrollbar.option("visible",!0)},_hideScrollbar:function(){this._scrollbar.option("visible",!1)},_containerSize:function(){return this._getRealDimension(this._$container.get(0),this._dimension)},_contentSize:function(){var e="hidden"===this._$content.css("overflow"+this._axis.toUpperCase()),t=this._getRealDimension(this._$content.get(0),this._dimension);if(!e){var n=this._$content[0]["scroll"+(0,s.titleize)(this._dimension)]*this._getScaleRatio();t=Math.max(n,t)}return t},_validateEvent:function(e){var t=(0,i.default)(e.originalEvent.target);return this._isThumb(t)||this._isScrollbar(t)||this._isContent(t)},_isThumb:function(e){return this._scrollByThumb&&this._scrollbar.isThumb(e)},_isScrollbar:function(e){return this._scrollByThumb&&e&&e.is(this._$scrollbar)},_isContent:function(e){return this._scrollByContent&&!!e.closest(this._$element).length},_reachedMin:function(){return this._location<=this._minOffset},_reachedMax:function(){return this._location>=this._maxOffset},_cursorEnterHandler:function(){this._resetScaleRatio(),this._updateScrollbar(),this._scrollbar.cursorEnter()},_cursorLeaveHandler:function(){this._scrollbar.cursorLeave()},dispose:g.noop}),M=h.default.inherit({ctor:function(e){this._init(e)},_init:function(e){this._component=e,this._$element=e.$element(),this._$container=e._$container,this._$wrapper=e._$wrapper,this._$content=e._$content,this.option=e.option.bind(e),this._createActionByOption=e._createActionByOption.bind(e),this._isLocked=e._isLocked.bind(e),this._isDirection=e._isDirection.bind(e),this._allowedDirection=e._allowedDirection.bind(e)},render:function(){this._$element.addClass("dx-scrollable-simulated"),this._createScrollers(),this.option("useKeyboard")&&this._$container.prop("tabIndex",0),this._attachKeyboardHandler(),this._attachCursorHandlers()},_createScrollers:function(){this._scrollers={}
1,this._isDirection(x)&&this._createScroller(x),this._isDirection("vertical")&&this._createScroller("vertical"),this._$element.toggleClass("dx-scrollable-scrollbars-alwaysvisible","always"===this.option("showScrollbar")),this._$element.toggleClass("dx-scrollable-scrollbars-hidden",!this.option("showScrollbar"))},_createScroller:function(e){this._scrollers[e]=new D(this._scrollerOptions(e))},_scrollerOptions:function(e){return{direction:e,$content:this._$content,$container:this._$container,$wrapper:this._$wrapper,$element:this._$element,scrollByContent:this.option("scrollByContent"),scrollByThumb:this.option("scrollByThumb"),scrollbarVisible:this.option("showScrollbar"),bounceEnabled:this.option("bounceEnabled"),inertiaEnabled:this.option("inertiaEnabled"),isAnyThumbScrolling:this._isAnyThumbScrolling.bind(this)}},_applyScaleRatio:function(e){for(var t in this._scrollers){var n=this._getPropByDirection(t);(0,u.isDefined)(e[n])&&(e[n]*=this._scrollers[t]._getScaleRatio())}return e},_isAnyThumbScrolling:function(e){var t=!1;return this._eventHandler("isThumbScrolling",e).done((function(e,n){t=e||n})),t},handleInit:function(e){this._suppressDirections(e),this._eventForUserAction=e,this._eventHandler("init",e).done(this._stopAction)},_suppressDirections:function(e){(0,m.isDxMouseWheelEvent)(e.originalEvent)?this._prepareDirections(!0):(this._prepareDirections(),this._eachScroller((function(t,n){var i=t._validateEvent(e);this._validDirections[n]=i})))},_prepareDirections:function(e){e=e||!1,this._validDirections={},this._validDirections[x]=e,this._validDirections.vertical=e},_eachScroller:function(e){e=e.bind(this),(0,c.each)(this._scrollers,(function(t,n){e(n,t)}))},handleStart:function(e){this._eventForUserAction=e,this._eventHandler("start").done(this._startAction)},_saveActive:function(){w=this},_resetActive:function(){w===this&&(w=null)},handleMove:function(e){if(this._isLocked())return e.cancel=!0,void this._resetActive();this._saveActive(),e.preventDefault&&e.preventDefault(),this._adjustDistance(e,e.delta),this._eventForUserAction=e,this._eventHandler("move",e.delta)},_adjustDistance:function(e,t){t.x*=this._validDirections[x],t.y*=this._validDirections.vertical;var n=this._tryGetDevicePixelRatio();n&&(0,m.isDxMouseWheelEvent)(e.originalEvent)&&(t.x=Math.round(t.x/n*100)/100,t.y=Math.round(t.y/n*100)/100)},_tryGetDevicePixelRatio:function(){if((0,l.hasWindow)())return(0,l.getWindow)().devicePixelRatio},handleEnd:function(e){return this._resetActive(),this._refreshCursorState(e.originalEvent&&e.originalEvent.target),this._adjustDistance(e,e.velocity),this._eventForUserAction=e,this._eventHandler("end",e.velocity).done(this._endAction)},handleCancel:function(e){return this._resetActive(),this._eventForUserAction=e,this._eventHandler("end",{x:0,y:0})},handleStop:function(){this._resetActive(),this._eventHandler("stop")},handleScroll:function(){this._scrollAction()},_attachKeyboardHandler:function(){o.default.off(this._$element,".".concat("dxSimulatedScrollableKeyboard")),!this.option("disabled")&&this.option("useKeyboard")&&o.default.on(this._$element,(0,m.addNamespace)("keydown","dxSimulatedScrollableKeyboard"),this._keyDownHandler.bind(this))},_keyDownHandler:function(e){var t=this;if(clearTimeout(this._updateHandlerTimeout),this._updateHandlerTimeout=setTimeout((function(){"tab"===(0,m.normalizeKeyName)(e)&&t._eachScroller((function(e){e._updateHandler()}))})),this._$container.is(r.default.getActiveElement())){var n=!0;switch((0,m.normalizeKeyName)(e)){case"downArrow":this._scrollByLine({y:1});break;case"upArrow":this._scrollByLine({y:-1});break;case"rightArrow":this._scrollByLine({x:1});break;case"leftArrow":this._scrollByLine({x:-1});break;case"pageDown":this._scrollByPage(1);break;case"pageUp":this._scrollByPage(-1);break;case"home":this._scrollToHome();break;case"end":this._scrollToEnd();break;default:n=!1}n&&(e.stopPropagation(),e.preventDefault())}},_scrollByLine:function(e){var t=this._tryGetDevicePixelRatio(),n=40;t&&(n=Math.abs(n/t*100)/100),this.scrollBy({top:(e.y||0)*-n,left:(e.x||0)*-n})},_scrollByPage:function(e){var t=this._wheelProp(),n=this._dimensionByProp(t),i={};i[t]=e*-this._$container[n](),this.scrollBy(i)},_dimensionByProp:function(e){return"left"===e?"width":"height"},_getPropByDirection:function(e){return e===x?"left":"top"},_scrollToHome:function(){var e={};e[this._wheelProp()]=0,this._component.scrollTo(e)},_scrollToEnd:function(){var e=this._wheelProp(),t=this._dimensionByProp(e),n={};n[e]=this._$content[t]()-this._$container[t](),this._component.scrollTo(n)},createActions:function(){this._startAction=this._createActionHandler("onStart"),this._stopAction=this._createActionHandler("onStop"),this._endAction=this._createActionHandler("onEnd"),this._updateAction=this._createActionHandler("onUpdated"),this._createScrollerActions()},_createScrollerActions:function(){this._scrollAction=this._createActionHandler("onScroll"),this._bounceAction=this._createActionHandler("onBounce"),this._eventHandler("createActions",{scroll:this._scrollAction,bounce:this._bounceAction})},_createActionHandler:function(e){var t=arguments,n=this,i=this._createActionByOption(e);return function(){i((0,a.extend)(n._createActionArgs(),t))}},_createActionArgs:function(){var e=this._scrollers[x],t=this._scrollers.vertical,n=this.location();
1return this._scrollOffset={top:t&&-n.top,left:e&&-n.left},{event:this._eventForUserAction,scrollOffset:this._scrollOffset,reachedLeft:e&&e._reachedMax(),reachedRight:e&&e._reachedMin(),reachedTop:t&&t._reachedMax(),reachedBottom:t&&t._reachedMin()}},_eventHandler:function(e){var t=[].slice.call(arguments).slice(1),n=(0,c.map)(this._scrollers,(function(n){return n["_"+e+"Handler"].apply(n,t)}));return b.when.apply(i.default,n).promise()},location:function(){var e=d.default.locate(this._$content);return e.top-=this._$container.scrollTop(),e.left-=this._$container.scrollLeft(),e},disabledChanged:function(){this._attachCursorHandlers()},_attachCursorHandlers:function(){o.default.off(this._$element,".".concat("dxSimulatedScrollableCursor")),!this.option("disabled")&&this._isHoverMode()&&(o.default.on(this._$element,(0,m.addNamespace)("mouseenter","dxSimulatedScrollableCursor"),this._cursorEnterHandler.bind(this)),o.default.on(this._$element,(0,m.addNamespace)("mouseleave","dxSimulatedScrollableCursor"),this._cursorLeaveHandler.bind(this)))},_isHoverMode:function(){return"onHover"===this.option("showScrollbar")},_cursorEnterHandler:function(e){(e=e||{}).originalEvent=e.originalEvent||{},w||e.originalEvent._hoverHandled||(y&&y._cursorLeaveHandler(),y=this,this._eventHandler("cursorEnter"),e.originalEvent._hoverHandled=!0)},_cursorLeaveHandler:function(e){y===this&&w!==y&&(this._eventHandler("cursorLeave"),y=null,this._refreshCursorState(e&&e.relatedTarget))},_refreshCursorState:function(e){if(this._isHoverMode()||e&&!w){var t=(0,i.default)(e).closest(".".concat("dx-scrollable-simulated",":not(.dx-state-disabled)")),n=t.length&&t.data("dxScrollableStrategy");y&&y!==n&&y._cursorLeaveHandler(),n&&n._cursorEnterHandler()}},update:function(){var e=this,t=this._eventHandler("update").done(this._updateAction);return(0,b.when)(t,(0,g.deferUpdate)((function(){var t=e._allowedDirections();return(0,g.deferRender)((function(){var n=t.vertical?"pan-x":"";n=t.horizontal?"pan-y":n,e._$container.css("touchAction",n=t.vertical&&t.horizontal?"none":n)})),(0,b.when)().promise()})))},_allowedDirections:function(){var e=this.option("bounceEnabled"),t=this._scrollers.vertical,n=this._scrollers[x];return{vertical:t&&(t._minOffset<0||e),horizontal:n&&(n._minOffset<0||e)}},updateBounds:function(){this._scrollers[x]&&this._scrollers[x]._updateBounds()},scrollBy:function(e){var t=this._scrollers.vertical,n=this._scrollers[x];t&&(e.top=t._boundLocation(e.top+t._location)-t._location),n&&(e.left=n._boundLocation(e.left+n._location)-n._location),this._prepareDirections(!0),this._startAction(),this._eventHandler("scrollBy",{x:e.left,y:e.top}),this._endAction()},validate:function(e){return!this.option("disabled")&&(!!this.option("bounceEnabled")||((0,m.isDxMouseWheelEvent)(e)?this._validateWheel(e):this._validateMove(e)))},_validateWheel:function(e){var t=this,n=this._scrollers[this._wheelDirection(e)],i=n._reachedMin(),r=n._reachedMax(),o=(!i||!r)&&(!i&&!r||i&&e.delta>0||r&&e.delta<0);return(o=o||void 0!==this._validateWheelTimer)&&(clearTimeout(this._val
1idateWheelTimer),this._validateWheelTimer=setTimeout((function(){t._validateWheelTimer=void 0}),500)),o},_validateMove:function(e){return!(!this.option("scrollByContent")&&!(0,i.default)(e.target).closest(".".concat("dx-scrollable-scrollbar")).length)&&this._allowedDirection()},getDirection:function(e){return(0,m.isDxMouseWheelEvent)(e)?this._wheelDirection(e):this._allowedDirection()},_wheelProp:function(){return this._wheelDirection()===x?"left":"top"},_wheelDirection:function(e){switch(this.option("direction")){case x:return x;case"vertical":return"vertical";default:return e&&e.shiftKey?x:"vertical"}},verticalOffset:function(){return 0},dispose:function(){this._resetActive(),y===this&&(y=null),this._eventHandler("dispose"),this._detachEventHandlers(),this._$element.removeClass("dx-scrollable-simulated"),this._eventForUserAction=null,clearTimeout(this._validateWheelTimer),clearTimeout(this._updateHandlerTimeout)},_detachEventHandlers:function(){o.default.off(this._$element,".".concat("dxSimulatedScrollableCursor")),o.default.off(this._$container,".".concat("dxSimulatedScrollableKeyboard"))}});t.SimulatedStrategy=M,t.Scroller=D},bOMt:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("5+tZ");function r(e,t){return Object(i.a)(e,t,1)}},bQjx:function(e,t,n){"use strict";var i=p(n("jeLr")),r=n("cGv3"),o=p(n("GYHJ")),s=p(n("D8Ap")),a=p(n("uHaw")),l=n("yxpO"),c=n("1LL4"),u=n("zl3R"),d=n("ti0F"),h=n("tJvG");function p(e){return e&&e.__esModule?e:{default:e}}var f,m,g=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/,_=function e(t){t&&(0,u.each)(t,(function(n,i){if((0,d.isPlainObject)(i)||Array.isArray(i))e(i);else if("string"==typeof i){var r=g.exec(i);r&&(t[n]=new Date(Date.UTC(+r[1],+r[2]-1,+r[3],+r[4],+r[5],+r[6])))}}))};t.StateStoringController=o.default.ViewController.inherit((f=function(e){var t="sessionStorage"===e.type?(0,l.sessionStorage)():(0,r.getWindow)().localStorage;if(!t)throw"file:"===(0,r.getWindow)().location.protocol&&a.default.msie?new Error("E1038"):new Error("E1007");return t},m=function(e){return(0,d.isDefined)(e.storageKey)?e.storageKey:"storage"},{_loadState:function(){var e=this.option("stateStoring");if("custom"===e.type)return e.customLoad&&e.customLoad();try{return JSON.parse(f(e).getItem(m(e)))}catch(t){s.default.log(t.message)}},_saveState:function(e){var t=this.option("stateStoring");if("custom"!==t.type)try{f(t).setItem(m(t),JSON.stringify(e))}catch(n){}else t.customSave&&t.customSave(e)},publicMethods:function(){return["state"]},isEnabled:function(){return this.option("stateStoring.enabled")},init:function(){var e=this;return e._state={},e._isLoaded=!1,e._isLoading=!1,e._windowUnloadHandler=function(){void 0!==e._savingTimeoutID&&e._saveState(e.state())},i.default.on((0,r.getWindow)(),"unload",e._windowUnloadHandler),e},isLoaded:function(){return this._isLoaded},isLoading:function(){return this._isLoading},load:function(){var e=this;e._isLoading=!0;var t=(0,h.fromPromise)(e._loadState());return t.done((function(t){e._isLoaded=!0,e._isLoading=!1,e.state(t)})),t},state:function(e){var t=this;if(!arguments.length)return(0,c.extend)(!0,{},t._state);t._state=(0,c.extend)({},e),_(t._state)},save:function(){var e=this;clearTimeout(e._savingTimeoutID),e._savingTimeoutID=setTimeout((function(){e._saveState(e.state()),e._savingTimeoutID=void 0}),e.option("stateStoring.savingTimeout"))},optionChanged:function(e){switch(e.name){case"stateStoring":this.isEnabled()&&!this.isLoading()&&this.load(),e.handled=!0;break;default:this.callBase(e)}},dispose:function(){clearTimeout(this._savingTimeoutID),i.default.off((0,r.getWindow)(),"unload",this._windowUnloadHandler)}}))},"bUO+":function(e,t,n){"use strict";var i=g(n("FKN7")),r=g(n("jeLr")),o=g(n("D6VQ")),s=n("1LL4"),a=n("KAnu"),l=g(n("cGv3")),c=g(n("xZEH")),u=n("ti0F"),d=g(n("m6TM")),h=n("zl3R"),p=g(n("uHaw")),f=g(n("8Qh0")),m=g(n("3wDN"));
1function g(e){return e&&e.__esModule?e:{default:e}}function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function w(e,t,n){return(w="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=k(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function C(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=k(e);if(t){var r=k(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T={row:"minWidth",col:"minHeight"},E={row:"maxWidth",col:"maxHeight"},I={start:"flex-start",end:"flex-end",center:"center","space-between":"space-between","space-around":"space-around"},D={start:"flex-start",end:"flex-end",center:"center",stretch:"stretch"},M={row:"row",col:"column"},O=function(e,t,n){if(n=d.default.normalizeStyleProp(t,n),e.style[d.default.styleProp(t)]=n,!l.default.hasWindow()){if(""===n||!(0,u.isDefined)(n))return;var i=c.default.dasherize(t)+": "+n+";";e.attributes.style?e.attributes.style.value.indexOf(i)<0&&(e.attributes.style.value+=" "+i):e.setAttribute("style",i)}},R={row:"nowrap",col:"normal"},L={row:"width",col:"height"},A={row:"height",col:"width"},P={row:"marginLeft",col:"marginTop"},F={row:"marginRight",col:"marginBottom"},B={row:"marginTop",col:"marginLeft"},H={row:"marginBottom",col:"marginRight"},V={marginLeft:"marginRight",marginRight:"marginLeft"},N=function(e){C(n,e);var t=x(n);function n(){return b(this,n),t.apply(this,arguments)}return y(n,[{key:"_renderVisible",value:function(e,t){w(k(n.prototype),"_renderVisible",this).call(this,e),(0,u.isDefined)(t)&&this._options.fireItemStateChangedAction({name:"visible",state:e,oldState:t})}}]),n}(f.default),z=function(){function e(t,n){b(this,e),this._$element=t,this._option=n,this.initSize=a.noop,this.update=a.noop}return y(e,[{key:"renderBox",value:function(){this._$element.css({display:d.default.stylePropPrefix("flexDirection")+"flex"}),O(this._$element.get(0),"flexDirection",M[this._option("direction")])}},{key:"renderAlign",value:function(){this._$element.css({justifyContent:this._normalizedAlign()})}},{key:"_normalizedAlign",value:function(){var e=this._option("align");return e in I?I[e]:e}},{key:"renderCrossAlign",value:function(){this._$element.css({alignItems:this._normalizedCrossAlign()})}},{key:"_normalizedCrossAlign",value:function(){var e=this._option("crossAlign");return e in D?D[e]:e}},{key:"renderItems",value:function(e){var t=d.default.stylePropPrefix("flexDirection"),n=this._option("direction");(0,h.each)(e,(function(){var e=(0,i.default)(this),r=e.data("dxBoxItemData");e.css({display:t+"flex"}).css(E[n],r.maxSize||"none").css(T[n],r.minSize||"0"),O(e.get(0),"flexBasis",r.baseSize||0),O(e.get(0),"flexGrow",r.ratio),O(e.get(0),"flexShrink",(0,u.isDefined)(r.shrink)?r.shrink:1),e.children().each((function(e,t){(0,i.default)(t).css({width:"auto",height:"auto",display:d.default.stylePropPrefix("flexDirection")+"flex",flexBasis:0}),O(t,"flexGrow",1),O(t,"flexDirection",(0,i.default)(t)[0].style.flexDirection||"column")}))}
1))}}]),e}(),j=function(){function e(t,n){b(this,e),this._$element=t,this._option=n}return y(e,[{key:"renderBox",value:function(){this._$element.css({fontSize:0,whiteSpace:R[this._option("direction")],verticalAlign:"top"}),r.default.off(this._$element,"dxupdate.dxBox"),r.default.on(this._$element,"dxupdate.dxBox",this.update.bind(this))}},{key:"renderAlign",value:function(){var e=this._$items;if(e){var t=this._option("align"),n=this.totalItemSize,i=this._option("direction"),r=this._$element[L[i]]()-n,o=0;switch(this._setItemsMargins(e,i,0),t){case"start":break;case"end":o=r,e.first().css(this._chooseMarginSide(P[i]),o);break;case"center":o=.5*r,e.first().css(this._chooseMarginSide(P[i]),o),e.last().css(this._chooseMarginSide(F[i]),o);break;case"space-between":this._setItemsMargins(e,i,o=.5*r/(e.length-1)),e.first().css(this._chooseMarginSide(P[i]),0),e.last().css(this._chooseMarginSide(F[i]),0);break;case"space-around":this._setItemsMargins(e,i,o=.5*r/e.length)}}}},{key:"_setItemsMargins",value:function(e,t,n){e.css(this._chooseMarginSide(P[t]),n).css(this._chooseMarginSide(F[t]),n)}},{key:"renderCrossAlign",value:function(){var e=this._$items;if(e){var t=this._option("crossAlign"),n=this._option("direction"),r=this._$element[A[n]](),o=this;switch(t){case"start":break;case"end":(0,h.each)(e,(function(){var e=(0,i.default)(this),t=e[A[n]](),s=r-t;e.css(o._chooseMarginSide(B[n]),s)}));break;case"center":(0,h.each)(e,(function(){var e=(0,i.default)(this),t=e[A[n]](),s=.5*(r-t);e.css(o._chooseMarginSide(B[n]),s).css(o._chooseMarginSide(H[n]),s)}));break;case"stretch":e.css(o._chooseMarginSide(B[n]),0).css(o._chooseMarginSide(H[n]),0).css(A[n],"100%")}}}},{key:"_chooseMarginSide",value:function(e){return this._option("rtlEnabled")&&V[e]||e}},{key:"renderItems",value:function(e){var t=this;this._$items=e;var n=this._option("direction"),r=0,o=0,s=0;(0,h.each)(e,(function(e,a){var l=(0,i.default)(a);l.css({display:"inline-block",verticalAlign:"top"}),l[L[n]]("auto"),l.removeClass("dx-box-fallback-item");var c=l.data("dxBoxItemData"),d=c.ratio||0,h=t._baseSize(l),p=(0,u.isDefined)(c.shrink)?c.shrink:1;r+=d,o+=p*h,s+=h}));var a=this._boxSize()-s,l=0;(0,h.each)(e,(function(e,s){var c=(0,i.default)(s),d=(0,i.default)(s).data("dxBoxItemData"),h=function(e){var n=e.data("dxBoxItemData"),i=t._baseSize(e),s=a>=0?n.ratio||0:((0,u.isDefined)(n.shrink)?n.shrink:1)*i,l=a>=0?r:o;return i+(l?Math.round(a*s/l):0)}(c);l+=h,c.css(E[n],d.maxSize||"none").css(T[n],d.minSize||"0").css(L[n],h),c.addClass("dx-box-fallback-item")})),this.totalItemSize=l}},{key:"_baseSize",value:function(e){var t=(0,i.default)(e).data("dxBoxItemData");return null==t.baseSize?0:"auto"===t.baseSize?this._contentSize(e):this._parseSize(t.baseSize)}},{key:"_contentSize",value:function(e){return(0,i.default)(e)[L[this._option("direction")]]()}},{key:"_parseSize",value:function(e){return String(e).match(/.+%$/)?.01*parseFloat(e)*this._boxSizeValue:e}},{key:"_boxSize",value:function(e){if(!arguments.length)return this._boxSizeValue=this._boxSizeValue||this._totalBaseSize(),this._boxSizeValue;this._boxSizeValue=e}},{key:"_totalBaseSize",value:function(){var e=this,t=0;return(0,h.each)(this._$items,(function(n,i){t+=e._baseSize(i)})),t}},{key:"initSize",value:function(){this._boxSize(this._$element[L[this._option("direction")]]())}},{key:"update",value:function(){if(this._$items&&!this._$element.is(":hidden")){this._$items.detach(),this.initSize(),this._$element.append(this._$items),this.renderItems(this._$items),this.renderAlign(),this.renderCrossAlign();var e=this._$element.get(0);this._$items.find(".dx-box").each((function(){e===(0,i.default)(this).parent().closest(".dx-box").get(0)&&r.default.triggerHandler(this,"dxupdate.dxBox")}))}}}]),e}(),Y=function(e){C(n,e);var t=x(n);function n(){return b(this,n),t.apply(this,arguments)}return y(n,[{key:"_getDefaultOptions",value:function(){return(0,s.extend)(w(k(n.prototype),"_getDefaultOptions",this).call(this),{direction:"row",align:"start",crossAlign:"stretch",activeStateEnabled:!1,focusStateEnabled:!1,onItemStateChanged:void 0,_layoutStrategy:"flex",_queue:void 0})}},{key:"_defaultOptionsRules",value:function(){return w(k(n.prototype),"_defaultOptionsRules",this).call(this).concat([{device:function(){return p.default.msie},options:{_layoutStrategy:"fallback"}}])}},{key:"_itemClass",value:function(){return"dx-box-item"}},{key:"_itemDataKey",value:function(){return"dxBoxItemData"}},{key:"_itemElements",value:function(){return this._itemContainer().children(this._itemSelector())}},{key:"_init",value:function(){w(k(n.prototype),"_init",this).call(this),this.$element().addClass("".concat("dx-box","-").concat(this.option("_layoutStrategy"))),this._initLayout(),this._initBoxQueue()}},{key:"_initLayout",value:function(){this._layout="fallback"===this.option("_layoutStrategy")?new j(this.$element(),this.option.bind(this)):new z(this.$element(),this.option.bind(this))}},{key:"_initBoxQueue",value:function(){this._queue=this.option("_queue")||[]}},{key:"_queueIsNotEmpty",value:function(){return!this.option("_queue")&&!!this._queue.length}},{key:"_pushItemToQueue",value:function(e,t){this._queue.push({$item:e,config:t})}},{key:"_shiftItemFromQueue",value:function(){return this._queue.shift()}},{key:"_initMarkup",value:function(){this.$element().addClass("dx-box"),this._layout.renderBox(),w(k(n.prototype),"_initMarkup",this).call(this),this._renderAlign(),this._renderActions()}},{key:"_renderActions",value:function(){this._onItemStateChanged=this._createActionByOption("onItemStateChanged")}},{key:"_renderAlign",value:function(){this._layout.renderAlign(),this._layout.renderCrossAlign()}},{key:"_renderItems",value:function(e){var t=this;for(this._layout.initSize(),w(k(n.prototype),"_renderItems",this).call(this,e);this._queueIsNotEmpty();){var i=this._shiftItemFromQueue();this._createComponent(i.$item,n,(0,s.extend)({_layoutStrategy:this.option("_layoutStrategy"),itemTemplate:this.option("itemTemplate"),itemHoldTimeout:this.option("itemHoldTimeout"),onItemHold:this.option("onItemHold"),onItemClick:this.option("onItemClick"),onItemContextMenu:this.option("onItemContextMenu"),onItemRendered:this.option("onItemRendered"),_queue:this._queue}
1,i.config))}this._layout.renderItems(this._itemElements()),clearTimeout(this._updateTimer),this._updateTimer=setTimeout((function(){t._isUpdated||t._layout.update(),t._isUpdated=!1,t._updateTimer=null}))}},{key:"_renderItemContent",value:function(e){var t=e.itemData&&e.itemData.node;return t?this._renderItemContentByNode(e,t):w(k(n.prototype),"_renderItemContent",this).call(this,e)}},{key:"_postprocessRenderItem",value:function(e){var t=e.itemData.box;t&&this._pushItemToQueue(e.itemContent,t)}},{key:"_createItemByTemplate",value:function(e,t){return t.itemData.box?e.source?e.source():(0,i.default)():w(k(n.prototype),"_createItemByTemplate",this).call(this,e,t)}},{key:"_visibilityChanged",value:function(e){e&&this._dimensionChanged()}},{key:"_dimensionChanged",value:function(){this._updateTimer||(this._isUpdated=!0,this._layout.update())}},{key:"_dispose",value:function(){clearTimeout(this._updateTimer),w(k(n.prototype),"_dispose",this).apply(this,arguments)}},{key:"_itemOptionChanged",value:function(e,t,i,r){"visible"===t&&this._onItemStateChanged({name:t,state:i,oldState:!1!==r}),w(k(n.prototype),"_itemOptionChanged",this).call(this,e,t,i)}},{key:"_optionChanged",value:function(e){switch(e.name){case"_layoutStrategy":case"_queue":case"direction":this._invalidate();break;case"align":this._layout.renderAlign();break;case"crossAlign":this._layout.renderCrossAlign();break;default:w(k(n.prototype),"_optionChanged",this).call(this,e)}}},{key:"_itemOptions",value:function(){var e=this,t=w(k(n.prototype),"_itemOptions",this).call(this);return t.fireItemStateChangedAction=function(t){e._onItemStateChanged(t)},t}},{key:"repaint",value:function(){this._dimensionChanged()}}]),n}(m.default);Y.ItemClass=N,(0,o.default)("dxBox",Y),e.exports=Y,e.exports.default=e.exports},bXm7:function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u064
11\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},blPF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mod10=function(e){for(var t=0,n=0;n<e.length;n++){var i=parseInt(e[n]);t+=(n+e.length)%2==0?i:2*i%10+Math.floor(2*i/10)}return(10-t%10)%10},t.mod11=function(e){for(var t=0,n=[2,3,4,5,6,7],i=0;i<e.length;i++){var r=parseInt(e[e.length-1-i]);t+=n[i%n.length]*r}return(11-t%11)%11}},bpih:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
1d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"bqN/":function(e,t,n){"use strict";var i=n("jeLr"),r=n("1LL4").extend,o=n("ti0F").isNumeric,s=n("uHaw"),a=n("LdFP"),l=n("z7z0").fitIntoRange,c=n("z7z0").inRange,u=n("Bhoz"),d=n("8wSl"),h=n("YNCv").getFormat,p=n("WqNo"),f=n("JDOJ"),m=n("ti0F"),g=n("KAnu"),_=g.ensureDefined,b=g.escapeRegExp,v=s.msie?300:0,y=p.inherit({_getDefaultOptions:function(){return r(this.callBase(),{useMaskBehavior:!0,format:null})},_isDeleteKey:function(e){return"del"===e},_supportedKeys:function(){return this._useMaskBehavior()?r(this.callBase(),{minus:this._revertSign.bind(this),del:this._removeHandler.bind(this),backspace:this._removeHandler.bind(this),leftArrow:this._arrowHandler.bind(this,-1),rightArrow:this._arrowHandler.bind(this,1),home:this._moveCaretToBoundaryEventHandler.bind(this,1),enter:this._updateFormattedValue.bind(this),end:this._moveCaretToBoundaryEventHandler.bind(this,-1)}):this.callBase()},_focusInHandler:function(e){this._preventNestedFocusEvent(e)||(this.clearCaretTimeout(),this._caretTimeout=setTimeout((function(){this._caretTimeout=null;var t=this._caret();if(t.start===t.end&&this._useMaskBehavior()){var n=this._getInputVal(),i=u.getDecimalSeparator(),r=n.indexOf(i);r>=0?this._caret({start:r,end:r}):this._moveCaretToBoundaryEventHandler(-1,e)}}).bind(this),v)),this.callBase(e)},_focusOutHandler:function(e){var t=!this._preventNestedFocusEvent(e);t&&(this._focusOutOccurs=!0,this._useMaskBehavior()&&this._updateFormattedValue()),this.callBase(e),t&&(this._focusOutOccurs=!1)},_hasValueBeenChanged:function(e){var t=this._getFormatPattern(),n=this.option("value");return(this._format(n,t)||"")!==e},_updateFormattedValue:function(){var e=this._getInputVal();this._hasValueBeenChanged(e)&&(this._parsedValue=this._tryParse(e,this._caret()),this._adjustParsedValue(),this._setTextByParsedValue(),this._parsedValue!==this.option("value")&&i.trigger(this._input(),"change"))},_arrowHandler:function(e,t){if(this._useMaskBehavior()){var n=this._getInputVal(),i=this._getFormatPattern(),r=d.getCaretWithOffset(this._caret(),e);d.isCaretInBoundaries(r,n,i)||(r=1===e?r.end:r.start,t.preventDefault(),this._caret(d.getCaretInBoundaries(r,n,i)))}},_moveCaretToBoundary:function(e){var t=d.getCaretBoundaries(this._getInputVal(),this._getFormatPattern()),n=d.getCaretWithOffset(1===e?t.start:t.end,0);this._caret(n)},_moveCaretToBoundaryEventHandler:function(e,t){!this._useMaskBehavior()||t&&t.shiftKey||(this._moveCaretToBoundary(e),t&&t.preventDefault())},_shouldMoveCaret:function(e,t){var n=u.getDecimalSeparator(),i=e.charAt(t.end)===n,r="0"===e.charAt(t.end);return(this._lastKey===n||"."===this._lastKey)&&i||"0"===this._lastKey&&r},_getInputVal:function(){return u.convertDigits(this._input().val(),!0)},_keyboardHandler:function(e){if(this.clearCaretTimeout(),this._lastKey=u.convertDigits(f.getChar(e),!0),this._lastKeyName=f.normalizeKeyName(e),!this._shouldHandleKey(e.originalEvent))return this.callBase(e);var t=this._getInputVal(),n=this._caret(),i=this._tryParse(t,n,"minus"===this._lastKeyName?"":this._lastKey);return this._shouldMoveCaret(t,n)&&(this._moveCaret(1),e.originalEvent.preventDefault()),void 0===i?"minus"!==this._lastKeyName&&e.originalEvent.preventDefault():this._parsedValue=i,this.callBase(e)},_keyPressHandler:function(e){this._useMaskBehavior()||this.callBase(e)},_removeHandler:function(e){var t=this._caret(),n=this._getInputVal(),i=t.start,r=t.end;this._lastKey=f.getChar(e),this._lastKeyName=f.normalizeKeyName(e);var o=this._isDeleteKey(this._lastKeyName),s=!o;if(i===r){if(!(s&&i>0||o&&i<n.length))return void e.preventDefault();o&&r++,s&&i--}var a=n.slice(i,r);if(this._isStub(a))return this._moveCaret(o?1:-1),(this._parsedValue<0||1/this._parsedValue==-1/0)&&(this._revertSign(e),this._setTextByParsedValue()),void e.preventDefault();var l=u.getDecimalSeparator();if(a!==l){if(r-i<n.length&&this._replaceSelectedText(n,{start:i,end:r},"").search(/[0-9]/)<0&&this._isValueInRange(0))return void(this._parsedValue=this._parsedValue<0||1/this._parsedValue==-1/0?-0:0);var c=this._tryParse(n,{start:i,end:r},"");void 0===c?e.preventDefault():this._parsedValue=c}else{var d=n.indexOf(l);this._isNonStubAfter(d+1)&&(this._moveCaret(o?1:-1),e.preventDefault())}},_isPercentFormat:function(){return-1!==this._getFormatPattern().replace(/'[^']+'/g,"").indexOf("%")},_parse:function(e,t){var n=this.option("format"),i=m.isFunction(n.parser)?n.parser:u.parse,r=t.indexOf("."),o=e.indexOf(u.getDecimalSeparator()),s=-1!==r?r:t.length,a=-1!==o?o:e.length;return a>s&&-1===t.indexOf("#")&&(e=e.substr(a-s)),i(e,t)},_format:function(e,t){var n=this.option("format");return(m.isFunction(n.formatter)?n.formatter:u.format)(e,t)},_getFormatPattern:function(){var e=this.option("format");return"string"==typeof e&&(e.indexOf("0")>=0||e.indexOf("#")>=0)?e:h((function(t){var n=this._format(t,e);return u.convertDigits(n,!0)}).bind(this))},_getFormatForSign:function(e){var t=this._getFormatPattern(),n=t.split(";"),i=u.getSign(e,t);return n[1]=n[1]||"-"+n[0],i<0?n[1]:n[0]},_removeStubs:function(e,t){var n=this._getFormatForSign(e),i=u.getThousandsSeparator(),r=this._getStubs(n),o=e;if(r.length){var s=r[0],a=new RegExp("("+b(r[1]||"")+")$","g"),l=new RegExp("[-"+b(t?"":i)+"]","g");o=o.replace(s,"").replace(a,"").replace(l,"")}return o},_getStubs:function(e){var t=/[^']([#0.,]+)/g.exec(e),n=t&&t[0].trim();return e.split(n).map((function(e){return e.replace(/'/g,"")}))},_truncateToPrecision:function(e,t){if(m.isDefined(e)){var n=e.toString(),i=n.indexOf(".");if(n&&i>-1){var r=parseFloat(n.substr(0,i+t+1));return isNaN(r)?e:r}}return e},_tryParse:function(e,t,n){var i=this._replaceSelectedText(e,t,n),r=this._getFormatPattern(),o=t.start!==t.end,s=this._getParsedValue(i,r),a=this._getPrecisionLimits(r,i).max,l=s!==this._parsedValue,c=n===u.getDecimalSeparator()&&0===a,d=!o&&!l&&"-"!==n&&!this._isValueIncomplete(i)&&this._isStub(n);if(!c&&!d&&(""===this._removeStubs(i)&&(s=0*this._parsedValue),!isNaN(s)))return s=this._truncateToPrecision(null===s?this._parsedValue:s,a),this._isPercentFormat()?s&&s/100:s},_getParsedValue:function(e,t){var n=u.getSign(e,t),i=this._removeStubs(e,!0),r=this._parse(i,t);return r?n*r:r},_isValueIncomplete:function(e){if(!this._useMaskBehavior())return this.callBase(e);var t=this._caret(),n=u.getDecimalSeparator(),i=e.indexOf(n),r=i>=0&&i<t.start,o=this._removeStubs(e,!0).split(n);if(!r||2!==o.length)return!1;var s=o[1].length,a=this._getPrecisionLimits(this._getFormatPattern(),e),l=c(s,a.min,a.max),d="0"===o[1].charAt(s-1);return l&&(d||!s)},_isValueInRange:function(e){var t=_(this.option("min"),-1/0),n=_(this.option("max"),1/0);
1return c(e,t,n)},_setInputText:function(e){var t=u.convertDigits(e,!0),n=d.getCaretAfterFormat(this._getInputVal(),t,this._caret(),this._getFormatPattern());this._input().val(e),this._toggleEmptinessEventHandler(),this._formattedValue=e,this._focusOutOccurs||this._caret(n)},_useMaskBehavior:function(){return!!this.option("format")&&this.option("useMaskBehavior")},_renderInputType:function(){var e="number"===this.option("mode"),t="desktop"===a.real().deviceType;this._useMaskBehavior()&&e?this._setInputType(t||this._isSupportInputMode()?"text":"tel"):this.callBase()},_isChar:function(e){return"string"==typeof e&&1===e.length},_moveCaret:function(e){if(e){var t=d.getCaretWithOffset(this._caret(),e),n=d.getCaretInBoundaries(t,this._getInputVal(),this._getFormatPattern());this._caret(n)}},_shouldHandleKey:function(e){var t=f.normalizeKeyName(e),n=e.ctrlKey||e.shiftKey||e.altKey||!this._isChar(t),i="minus"===t;return this._useMaskBehavior()&&!n&&!i},_renderInput:function(){this.callBase(),this._renderFormatter()},_renderFormatter:function(){this._clearCache(),this._detachFormatterEvents(),this._useMaskBehavior()&&this._attachFormatterEvents()},_detachFormatterEvents:function(){i.off(this._input(),".dxNumberFormatter")},_isInputFromPaste:function(e){var t=e.originalEvent&&e.originalEvent.inputType;return m.isDefined(t)?"insertFromPaste"===t:this._isValuePasted},_attachFormatterEvents:function(){var e=this._input();i.on(e,f.addNamespace("input","dxNumberFormatter"),(function(e){this._formatValue(e),this._isValuePasted=!1}).bind(this)),s.msie&&s.version<12&&i.on(e,f.addNamespace("paste","dxNumberFormatter"),(function(){this._isValuePasted=!0}).bind(this)),i.on(e,f.addNamespace("dxclick","dxNumberFormatter"),(function(){this._caretTimeout||(this._caretTimeout=setTimeout((function(){this._caret(d.getCaretInBoundaries(this._caret(),this._getInputVal(),this._getFormatPattern()))}).bind(this),v))}).bind(this)),i.on(e,"dxdblclick",(function(){this.clearCaretTimeout()}).bind(this))},clearCaretTimeout:function(){clearTimeout(this._caretTimeout),this._caretTimeout=null},_forceRefreshInputValue:function(){if(!this._useMaskBehavior())return this.callBase()},_isNonStubAfter:function(e,t){return(t=(t||this._getInputVal()).slice(e))&&!this._isStub(t,!0)},_isStub:function(e,t){var n=b(u.getDecimalSeparator());return new RegExp("^[^0-9"+n+"]+$","g").test(e)&&(t||this._isChar(e))},_parseValue:function(e){return this._useMaskBehavior()?this._parsedValue:this.callBase(e)},_getPrecisionLimits:function(e){var t=(this._getFormatForSign(e).split(".")[1]||"").replace(/[^#0]/g,"");return{min:t.replace(/^(0*)#*/,"$1").length,max:t.length}},_revertSign:function(e){if(this._useMaskBehavior()){var t=this._caret();if(t.start!==t.end){if("minus"===f.normalizeKeyName(e))return void this._applyRevertedSign(e,t,!0);this._caret(d.getCaretInBoundaries(0,this._getInputVal(),this._getFormatPattern()))}this._applyRevertedSign(e,t)}},_applyRevertedSign:function(e,t,n){var r=-1*_(this._parsedValue,null);if(this._isValueInRange(r)){if(this._parsedValue=r,n){var o=this._getFormatPattern(),a=this._getInputVal();this._setTextByParsedValue(),e.preventDefault();var l=this._getInputVal(),c=d.getCaretOffset(a,l,o);t=d.getCaretWithOffset(t,c);var u=d.getCaretInBoundaries(t,l,o);s.msie?(clearTimeout(this._caretTimeout),this._caretTimeout=setTimeout(this._caret.bind(this,u))):this._caret(u)}"Subtract"===e.key&&i.trigger(this._input(),"input")}},_removeMinusFromText:function(e,t){return"minus"===this._lastKeyName&&"-"===e.charAt(t.start-1)?this._replaceSelectedText(e,{start:t.start-1,end:t.start},""):e},_setTextByParsedValue:function(){var e=this._getFormatPattern(),t=this._parseValue(),n=this._format(t,e)||"";this._setInputText(n)},_formatValue:function(e){var t=this._getInputVal(),n=this._caret(),i=this._removeMinusFromText(t,n),r=i!==t;if(t=i,!this._isInputFromPaste(e)&&this._isValueIncomplete(i))return this._formattedValue=t,void(r&&this._setTextByParsedValue());if(u.convertDigits(this._formattedValue,!0)!==t){var o=this._tryParse(t,n,"");m.isDefined(o)&&(this._parsedValue=o)}this._setTextByParsedValue()},_renderDisplayText:function(){this._useMaskBehavior()?this._toggleEmptinessEventHandler():this.callBase.apply(this,arguments)},_renderValue:function(){return this._useMaskBehavior()&&(this._parsedValue=this.option("value"),this._setTextByParsedValue()),this.callBase()},_adjustParsedValue:function(){if(this._useMaskBehavior()){var e=this._removeStubs(this._getInputVal())?this._parseValue():null;this._parsedValue=o(e)?l(e,this.option("min"),this.option("max")):e}},_valueChangeEventHandler:function(e){if(!this._useMaskBehavior())return this.callBase(e);var t=this._caret();this._saveValueChangeEvent(e),this._lastKey=null,this._lastKeyName=null,this._adjustParsedValue(),this.option("value",this._parsedValue),t&&this._caret(t)},_optionChanged:function(e){switch(e.name){case"format":case"useMaskBehavior":this._renderFormatter(),this._renderValue();break;case"min":case"max":this._adjustParsedValue(),this.callBase(e);break;default:this.callBase(e)}},_clearCache:function(){delete this._formattedValue,delete this._lastKey,delete this._lastKeyName,delete this._parsedValue,delete this._focusOutOccurs,clearTimeout(this._caretTimeout),delete this._caretTimeout},_clean:function(){this._clearCache(),this.callBase()}});e.exports=y},bxKX:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
1d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},byS7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("SyMb")),r=o(n("u12M"));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(e,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),/^[\x00-\x7F\xC8-\xD3]+$/.test(e))var i=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,r.default)(e),n));else i=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return s(i)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(i.default);t.default=a},c0xi:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("AytR");const r=`${window.location.protocol}//${window.location.host}`;let o=(()=>{class e{}return e.stsAuthority=i.a.identityUrl,e.clientId="abccargo.admin",e.clientRoot=r,e.clientScope=["openid","profile","read","write","delete"].join(" "),e.apiRoot=i.a.apiUrl,e})();const s={issuer:o.stsAuthority,tokenEndpoint:`${o.stsAuthority}/connect/token`,userinfoEndpoint:`${o.stsAuthority}/connect/userinfo`,silentRefreshRedirectUri:`${o.clientRoot}/assets/silent-refresh.html`,clientId:o.clientId,dummyClientSecret:"secret",responseType:"code id_token token",scope:o.clientScope,showDebugInformation:!0,oidc:!1,requireHttps:!1}},c2HN:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return i}))},c44P:function(e,t,n){"use strict";var i=n("cGv3").getWindow(),r=n("ti0F"),o=["auto","none","inherit","initial"],s=function(e,t){var n=0;return t.forEach((function(t){n+=parseFloat(e[t])||0})),n},a=function(e,t){var n="width"===e?"Left":"Top",i="width"===e?"Right":"Bottom";return{padding:s(t,["padding"+n,"padding"+i]),border:s(t,["border"+n+"Width","border"+i+"Width"]),margin:s(t,["margin"+n,"margin"+i])}},l=function(e,t){return e.indexOf("px")>0?e=parseInt(e.replace("px","")):e.indexOf("%")>0?e=parseInt(e.replace("%",""))*function(e){return r.isWindow(e)?e.innerHeight:e.offsetHeight}(t)/100:isNaN(e)||(e=parseInt(e)),e},c=function(e,t,n){return e?o.indexOf(e)>-1?t?null:e:(r.isString(e)&&(e=l(e,n)),r.isNumeric(e)?Math.max(0,e+t):"calc("+e+(t<0?" - ":" ")+Math.abs(t)+"px)"):null};t.getSize=function(e,t,n){var r=i.getComputedStyle(e),o=a(t,r),s=e.getClientRects().length,l=e.getBoundingClientRect()[t],c=s?l:0;return c<=0?(c=parseFloat(r[t]||e.style[t])||0,c-=function(e,t,n){var i=t[e];return"border-box"===t.boxSizing&&i.length&&"%"!==i[i.length-1]?n.border+n.padding:0}(t,r,o)):c-=o.padding+o.border,n.paddings&&(c+=o.padding),n.borders&&(c+=o.border),n.margins&&(c+=o.margin),c},t.getElementBoxParams=a,t.addOffsetToMaxHeight=function(e,t,n){var i=c(e,t,n);return null!==i?i:"none"},t.addOffsetToMinHeight=function(e,t,n){var i=c(e,t,n);return null!==i?i:0},t.getVerticalOffsets=function(e,t){if(!e)return 0;var n=a("height",i.getComputedStyle(e));return n.padding+n.border+(t?n.margin:0)},t.getVisibleHeight=function(e){if(e){var t=e.getBoundingClientRect();if(t.height)return t.height}return 0},t.parseHeight=l},cGV2:function(e,t,n){"use strict";var i=m(n("5qrJ")),r=n("1LL4"),o=n("XpgS"),s=n("zl3R"),a=m(n("CQoW")),l=m(n("/7L9")),c=n("KAnu"),u=m(n("ti0F")),d=m(n("Bhoz")),h=m(n("imRD")),p=m(n("RwLY")),f=n("tJvG");function m(e){return e&&e.__esModule?e:{default:e}}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=y(e);if(t){var r=y(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function x(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),e}var S=function(){function e(){w(this,e),this.NAME="base"}return x(e,[{key:"defaultMessage",value:function(e){return h.default.getFormatter("validation-".concat(this.NAME))(e)}},{key:"defaultFormattedMessage",value:function(e){return h.default.getFormatter("validation-".concat(this.NAME,"-formatted"))(e)}},{key:"_isValueEmpty",value:function(e){return!A.required.validate(e,{})}},{key:"validate",value:function(e,t){var n=this,i=Array.isArray(e)?e:[e],r=!0;return i.length?i.every((function(e){return r=n._validate(e,t)})):r=this._validate(null,t),r}}]),e}(),k=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="required",e}return x(n,[{key:"_validate",value:function(e,t){return!!u.default.isDefined(e)&&!1!==e&&(e=String(e),!t.trim&&u.default.isDefined(t.trim)||(e=e.trim()),""!==e)}}]),n}(S),T=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="numeric",e}return x(n,[{key:"_validate",value:function(e,t){return!(!1===t.ignoreEmptyValue||!this._isValueEmpty(e))||(t.useCultureSettings&&u.default.isString(e)?!isNaN(d.default.parse(e)):u.default.isNumeric(e))}}]),n}(S),E=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="range",e}return x(n,[{key:"_validate",value:function(e,t){if(!1!==t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;var n=A.numeric.validate(e,t),i=u.default.isDefined(e)&&""!==e,r=n?parseFloat(e):i&&e.valueOf(),o=t.min,s=t.max;if(!n&&!u.default.isDate(e)&&!i)return!1;if(u.default.isDefined(o))return u.default.isDefined(s)?r>=o&&r<=s:r>=o;if(u.default.isDefined(s))return r<=s;throw l.default.Error("E0101")}}]),n}(S),I=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="stringLength",e}return x(n,[{key:"_validate",value:function(e,t){return e=u.default.isDefined(e)?String(e):"",!t.trim&&u.default.isDefined(t.trim)||(e=e.trim()),!(!t.ignoreEmptyValue||!this._isValueEmpty(e))||A.range.validate(e.length,(0,r.extend)({},t))}}]),n}(S),D=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="custom",e}return x(n,[{key:"validate",value:function(e,t){if(t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;var n=t.validator,i=n&&u.default.isFunction(n.option)&&n.option("dataGetter"),o=u.default.isFunction(i)&&i(),s={value:e,validator:n,rule:t};return o&&(0,r.extend)(s,o),t.validationCallback(s)}}]),n}(S),M=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="async",e}return x(n,[{key:"validate",value:function(e,t){if(u.default.isDefined(t.reevaluate)||(0,r.extend)(t,{reevaluate:!0}),t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;var n=t.validator,i=n&&u.default.isFunction(n.option)&&n.option("dataGetter"),o=u.default.isFunction(i)&&i(),s={value:e,validator:n,rule:t};o&&(0,r.extend)(s,o);var a=t.validationCallback(s);if(!u.default.isPromise(a))throw l.default.Error("E0103");return this._getWrappedPromise((0,f.fromPromise)(a).promise())}},{key:"_getWrappedPromise",value:function(e){var t=new f.Deferred;return e.then((function(e){t.resolve(e)}),(function(e){var n={isValid:!1};u.default.isDefined(e)&&(u.default.isString(e)?n.message=e:u.default.isObject(e)&&u.default.isDefined(e.message)&&u.default.isString(e.message)&&(n.message=e.message)),t.resolve(n)})),t.promise()}}]),n}(D),O=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="compare",e}return x(n,[{key:"_validate",value:function(e,t){if(!t.comparisonTarget)throw l.default.Error("E0102");if(t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;(0,r.extend)(t,{reevaluate:!0});var n=t.comparisonTarget();switch(t.comparisonType||"=="){case"==":return e==n;case"!=":return e!=n;case"===":return e===n;case"!==":return e!==n;case">":return e>n;case">=":return e>=n;case"<":return e<n;case"<=":return e<=n}}}]),n}(S),R=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="pattern",e}return x(n,[{key:"_validate",value:function(e,t){if(!1!==t.ignoreEmptyValue&&this._isValueEmpty(e))return!0;var n=t.pattern;return u.default.isString(n)&&(n=new RegExp(n)),n.test(e)}}]),n}(S),L=function(e){_(n,e);var t=b(n);function n(){var e;return w(this,n),(e=t.call(this)).NAME="email",e}return x(n,[{key:"_validate",value:function(e,t){return!(!1===t.ignoreEmptyValue||!this._isValueEmpty(e))||A.pattern.validate(e,(0,r.extend)({},t,{pattern:/^[\d\w._-]+@([\d\w._-]+\.)+[\w]+$/i}))}}]),n}(S),A={required:new k,numeric:new T,range:new E,stringLength:new I,custom:new D,async:new M,compare:new O,pattern:new R,email:new L},P=i.default.inherit({ctor:function(e){this.group=e,this.validators=[],this._pendingValidators=[],this._onValidatorStatusChanged=this._onValidatorStatusChanged.bind(this),this._resetValidationInfo()},validate:function(){var e=this,t={isValid:!0,brokenRules:[],validators:[],status:"val
1id",complete:null};return this._unsubscribeFromAllChangeEvents(),this._pendingValidators=[],this._resetValidationInfo(),(0,s.each)(this.validators,(function(n,i){var r=i.validate();t.isValid=t.isValid&&r.isValid,r.brokenRules&&(t.brokenRules=t.brokenRules.concat(r.brokenRules)),t.validators.push(i),"pending"===r.status&&e._addPendingValidator(i),e._subscribeToChangeEvents(i)})),this._pendingValidators.length?t.status="pending":(t.status=t.isValid?"valid":"invalid",this._unsubscribeFromAllChangeEvents(),this._raiseValidatedEvent(t)),this._updateValidationInfo(t),(0,r.extend)({},this._validationInfo.result)},_subscribeToChangeEvents:function(e){e.on("validating",this._onValidatorStatusChanged),e.on("validated",this._onValidatorStatusChanged)},_unsubscribeFromChangeEvents:function(e){e.off("validating",this._onValidatorStatusChanged),e.off("validated",this._onValidatorStatusChanged)},_unsubscribeFromAllChangeEvents:function(){var e=this;(0,s.each)(this.validators,(function(t,n){e._unsubscribeFromChangeEvents(n)}))},_updateValidationInfo:function(e){this._validationInfo.result=e,"pending"===e.status&&(this._validationInfo.deferred||(this._validationInfo.deferred=new f.Deferred,this._validationInfo.result.complete=this._validationInfo.deferred.promise()))},_addPendingValidator:function(e){(0,c.grep)(this._pendingValidators,(function(t){return t===e}))[0]||this._pendingValidators.push(e)},_removePendingValidator:function(e){var t=(0,o.inArray)(e,this._pendingValidators);t>=0&&this._pendingValidators.splice(t,1)},_orderBrokenRules:function(e){var t=[];return(0,s.each)(this.validators,(function(n,i){var r=(0,c.grep)(e,(function(e){return e.validator===i}));r.length&&(t=t.concat(r))})),t},_updateBrokenRules:function(e){if(this._validationInfo.result){var t=this._validationInfo.result.brokenRules,n=(0,c.grep)(t,(function(t){return t.validator!==e.validator}));e.brokenRules&&(t=n.concat(e.brokenRules)),this._validationInfo.result.brokenRules=this._orderBrokenRules(t)}},_onValidatorStatusChanged:function(e){"pending"!==e.status?this._resolveIfComplete(e):this._addPendingValidator(e.validator)},_resolveIfComplete:function(e){if(this._removePendingValidator(e.validator),this._updateBrokenRules(e),!this._pendingValidators.length){if(this._unsubscribeFromAllChangeEvents(),!this._validationInfo.result)return;this._validationInfo.result.status=0===this._validationInfo.result.brokenRules.length?"valid":"invalid",this._validationInfo.result.isValid="valid"===this._validationInfo.result.status;var t=(0,r.extend)({},this._validationInfo.result,{complete:null}),n=this._validationInfo.deferred;this._resetValidationInfo(),this._raiseValidatedEvent(t),n&&setTimeout((function(){n.resolve(t)}))}},_raiseValidatedEvent:function(e){this.fireEvent("validated",[e])},_resetValidationInfo:function(){this._validationInfo={result:null,deferred:null}},_synchronizeValidationInfo:function(){this._validationInfo.result&&(this._validationInfo.result.validators=this.validators)},removeRegisteredValidator:function(e){var t=(0,o.inArray)(e,this.validators);t>-1&&(this.validators.splice(t,1),this._synchronizeValidationInfo(),this._resolveIfComplete({validator:e}))},registerValidator:function(e){(0,o.inArray)(e,this.validators)<0&&(this.validators.push(e),this._synchronizeValidationInfo())},reset:function(){(0,s.each)(this.validators,(function(e,t){t.reset()})),this._pendingValidators=[],this._resetValidationInfo()}}).include(a.default),F={groups:[],getGroupConfig:function(e){var t=(0,c.grep)(this.groups,(function(t){return t.group===e}));if(t.length)return t[0]},findGroup:function(e,t){var n=e.parents(".dx-validationgroup").first();return n.length?n.dxValidationGroup("instance"):t},initGroups:function(){this.groups=[],this.addGroup()},addGroup:function(e){var t=this.getGroupConfig(e);return t||(t=new P(e),this.groups.push(t)),t},removeGroup:function(e){var t=this.getGroupConfig(e),n=(0,o.inArray)(t,this.groups);return n>-1&&this.groups.splice(n,1),t},_setDefaultMessage:function(e){var t=e.rule,n=e.validator,i=e.name;u.default.isDefined(t.message)||(t.message=n.defaultFormattedMessage&&u.default.isDefined(i)?n.defaultFormattedMessage(i):n.defaultMessage())},_addBrokenRule:function(e){var t=e.result,n=e.rule;t.brokenRule||(t.brokenRule=n),t.brokenRules||(t.brokenRules=[]),t.brokenRules.push(n)},validate:function(e,t,n){var i=this,r={name:n,value:e,brokenRule:null,brokenRules:null,isValid:!0,validationRules:t,pendingRules:null,status:"val
1id",complete:null},o=[];return(0,s.each)(t||[],(function(t,s){var a,c=A[s.type];if(!c)throw l.default.Error("E0100");return u.default.isDefined(s.isValid)&&s.value===e&&!s.reevaluate?!!s.isValid||(r.isValid=!1,i._addBrokenRule({result:r,rule:s}),!1):(s.value=e,"async"===s.type?(o.push({rule:s,ruleValidator:c}),!0):(a=c.validate(e,s),s.isValid=a,a||(r.isValid=!1,i._setDefaultMessage({rule:s,validator:c,name:n}),i._addBrokenRule({result:r,rule:s})),!!s.isValid&&void 0))})),r.isValid&&!r.brokenRules&&o.length&&(r=this._validateAsyncRules({value:e,items:o,result:r,name:n})),r.status=r.pendingRules?"pending":r.isValid?"valid":"invalid",r},_validateAsyncRules:function(e){var t=this,n=e.result,i=e.value,r=e.name,o=[];return(0,s.each)(e.items,(function(e,s){var a=s.ruleValidator.validate(i,s.rule);if(u.default.isPromise(a)){n.pendingRules||(n.pendingRules=[]),n.pendingRules.push(s.rule);var l=a.then((function(e){var n=t._getPatchedRuleResult(e);return t._updateRuleConfig({rule:s.rule,ruleResult:n,validator:s.ruleValidator,name:r}),n}));o.push(l)}else t._updateRuleConfig({rule:s.rule,ruleResult:t._getPatchedRuleResult(a),validator:s.ruleValidator,name:r})})),o.length&&(n.complete=p.default.all(o).then((function(e){return t._getAsyncRulesResult({result:n,values:e})}))),n},_updateRuleConfig:function(e){var t=e.rule,n=e.ruleResult,i=e.validator,r=e.name;t.isValid=n.isValid,n.isValid||(u.default.isDefined(n.message)&&u.default.isString(n.message)&&n.message.length?t.message=n.message:this._setDefaultMessage({rule:t,validator:i,name:r}))},_getPatchedRuleResult:function(e){var t;return u.default.isObject(e)?(t=(0,r.extend)({},e),u.default.isDefined(t.isValid)||(t.isValid=!0)):t={isValid:!u.default.isBoolean(e)||e},t},_getAsyncRulesResult:function(e){var t=this,n=e.result;return(0,s.each)(e.values,(function(e,i){!1===i.isValid&&(n.isValid=i.isValid,t._addBrokenRule({result:n,rule:n.pendingRules[e]}))}
1)),n.pendingRules=null,n.complete=null,n.status=n.isValid?"valid":"invalid",n},registerValidatorInGroup:function(e,t){var n=F.addGroup(e);n.registerValidator.call(n,t)},_shouldRemoveGroup:function(e,t){return!(void 0===e||e&&"dxValidationGroup"===e.NAME||t.length)},removeRegisteredValidator:function(e,t){var n=F.getGroupConfig(e);n&&(n.removeRegisteredValidator.call(n,t),this._shouldRemoveGroup(e,n.validators)&&this.removeGroup(e))},initValidationOptions:function(e){var t=this,n={};return e&&["isValid","validationStatus","validationError","validationErrors"].forEach((function(i){i in e&&(0,r.extend)(n,t.synchronizeValidationOptions({name:i,value:e[i]},e))})),n},synchronizeValidationOptions:function(e,t){var n=e.value;switch(e.name){case"validationStatus":var i="valid"===n||"pending"===n;return t.isValid!==i?{isValid:i}:{};case"isValid":var r=t.validationStatus,o=r;return n&&"invalid"===r?o="valid":n||"invalid"===r||(o="invalid"),o!==r?{validationStatus:o}:{};case"validationErrors":var s=n&&n.length?n[0]:null;return t.validationError!==s?{validationError:s}:{};case"validationError":var a=t.validationErrors;if(!n&&a)return{validationErrors:null};if(n&&!a)return{validationErrors:[n]};if(n&&a&&n!==a[0])return a[0]=n,{validationErrors:a.slice()}}return{}},validateGroup:function(e){var t=F.getGroupConfig(e);if(!t)throw l.default.Error("E0110");return t.validate()},resetGroup:function(e){var t=F.getGroupConfig(e);if(!t)throw l.default.Error("E0110");return t.reset()}};F.initGroups(),e.exports=F,e.exports.default=e.exports},cGv3:function(e,t,n){"use strict";var i=n("tUd6"),r="undefined"!=typeof window,o=r&&window;o||((o={}).window=o),e.exports={hasWindow:function(){return r},getWindow:function(){return o},hasProperty:function(e){return this.hasWindow()&&e in o},defaultScreenFactorFunc:function(e){return e<768?"xs":e<992?"sm":e<1200?"md":"lg"},getCurrentScreenFactor:function(e){return(e||this.defaultScreenFactorFunc)(i.getDocumentElement().clientWidth)},getNavigator:function(){return this.hasWindow()?o.navigator:{userAgent:""}}}},cHJt:function(e,t,n){"use strict";var i=n("FKN7"),r=n("KAnu").noop,o=n("zl3R").each,s=n("/7L9"),a=n("yxXJ").compileGetter,l=n("5qrJ"),c=n("XPWh"),u=l.abstract,d=l.inherit({ctor:function(e){this._toolbar=e},render:function(){this._renderMenuButton(),this._renderWidget()},_widgetOptions:function(){var e=this._toolbar._createActionByOption("onItemClick");return{itemTemplate:this._getMenuItemTemplate.bind(this),onItemClick:(function(t){this._toggleMenu(!1,!0),e(t)}).bind(this)}},_getMenuItemTemplate:function(){return this._toolbar._getTemplateByOption("menuItemTemplate")},_renderWidget:function(){var e=i("<div>").appendTo(this._menuContainer());this._menu=this._toolbar._createComponent(e,this._menuWidgetClass(),this._widgetOptions()),this.renderMenuItems()},_menuContainer:u,_menuWidgetClass:u,_hasVisibleMenuItems:function(e){var t=e||this._toolbar.option("items"),n=!1,i=a("visible"),r=a("locateInMenu"),l=!1;return o(t,(function(e,t){var o=i(t,{functionsAsIs:!0}),s=r(t,{functionsAsIs:!0});"menu"===t.location&&(l=!0),!1===o||"auto"!==s&&"always"!==s&&"menu"!==t.location||(n=!0)})),l&&s.log("W0001","dxToolbar - 'location' item field","menu","16.1","Use 'locateInMenu' item field instead."),n},_getMenuItems:function(){return this._toolbar._getMenuItems()},_updateMenuVisibility:r,_renderMenuButton:function(){var e=this._menuButtonOptions();this._renderMenuButtonContainer(),this._$button=i("<div>").appendTo(this._$menuButtonContainer).addClass("dx-toolbar-menu-button"),this._toolbar._createComponent(this._$button,c,e)},_menuButtonOptions:function(){return{onClick:this._menuButtonClickHandler.bind(this)}},_menuButtonClickHandler:function(){this._toggleMenu(!this._menuShown,!0)},_renderMenuButtonContainer:function(){var e=this._toolbar._$afterSection;this._$menuButtonContainer=i("<div>").appendTo(e).addClass(this._toolbar._buttonClass()).addClass("dx-toolbar-menu-container")},renderMenuItems:function(){this._menu&&this._menu.option("items",this._getMenuItems())},toggleMenuVisibility:function(e,t){this._menu&&this._toggleMenu(e,t)},_toggleMenu:function(e){this._menuShown=e},getMenuWidget:function(){return this._menu},widgetOption:function(e,t){this._menu&&this._menu.option(e,t)},handleToolbarVisibilityChange:r});e.exports=d},cLAh:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n("SyMb"))&&i.__esModule?i:{default:i},s=n("8I5R"),a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,s.B_START_CHAR+e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return new RegExp("^"+s.B_CHARS+"+$").test(this.data)}}]),t}(o.default);t.default=a},cP9x:function(e,t,n){"use strict";var i=M(n("FKN7")),r=M(n("tUd6")),o=n("cGv3"),s=M(n("jeLr")),a=M(n("0osO")),l=M(n("ti0F")),c=n("zl3R"),u=n("1LL4"),d=M(n("GYHJ")),h=M(n("XCcL")),p=M(n("7j00")),f=M(n("T4bj")),m=n("8S5z"),g=n("JDOJ"),_=M(n("XF11")),b=M(n("imRD")),v=M(n("XPWh")),y=M(n("IF55")),w=M(n("D8Ap")),C=M(n("LdFP")),x=M(n("I1je")),S=M(n("0Ms2")),k=n("tJvG"),T=M(k),E=M(n("KAnu")),I=M(n("CBR9")),D=M(n("ZA3g"));function M(e){return e&&e.__esModule?e:{default:e}}function O(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return R(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var L,A,P,F="__DX_INSERT_INDEX__",B=["batch","row","cell","form","popup"],H=["row","form","popup"],V=["batch","cell"],N=["form","popup"],z=["row","form"],j={save:"dx-link-save",cancel:"dx-link-cancel",edit:"dx-link-edit",undelete:"dx-link-undelete",delete:"dx-link-delete",add:"dx-link-add"},Y={save:"save",cancel:"revert",edit:"edit",undelete:"revert",delete:"trash",add:"add"},W={edit:"editRow",delete:"deleteRow",undelete:"undeleteRow",save:"saveEditData",cancel:"cancelEditData",add:"addRowByRowIndex"},Q={add:"allowAdding",edit:"allowUpdating",delete:"allowDeleting"},$=["edit","save","cancel","delete","undelete"],G=function(e){return function(t){var n=t instanceof Error?t:new Error(t&&String(t)||"Unknown error");e.reject(n)}},K=function(e){var t=e.option("editing.mode");return-1!==B.indexOf(t)?t:"row"},U=function(e){var t=K(e);return-1!==H.indexOf(t)},q=d.default.ViewController.inherit((L=function(e){return function(t,n){var r=(0,i.default)("<div>").appendTo(t);e.getController("editorFactory").createEditor(r,(0,u.extend)({},n.column,{value:n.value,setValue:n.setValue,row:n.row,parentType:"dataRow",width:null,readOnly:!n.setValue,isOnForm:n.isOnForm,id:n.id}))}},A=function(e,t){var n=-1;return e.some((function(e,i){if(P(e)===t)return n=i,!0})),n},P=function(e){return l.default.isObject(e)?e.name:e},{init:function(){var e,t=this;t._editRowIndex=-1,t._editData=[],t._editColumnIndex=-1,t._columnsController=t.getController("columns"),t._dataController=t.getController("data"),t._rowsView=t.getView("rowsView"),t._editForm=null,t._updateEditFormDeferred=null,t._deferreds&&t._deferreds.forEach((function(e){return e.reject("cancel")}
1)),t._deferreds=[],t._dataChangedHandler||(t._dataChangedHandler=t._handleDataChanged.bind(t),t._dataController.changed.add(t._dataChangedHandler)),t._saveEditorHandler||(t.createAction("onInitNewRow",{excludeValidators:["disabled","readOnly"]}),t.createAction("onRowInserting",{excludeValidators:["disabled","readOnly"]}),t.createAction("onRowInserted",{excludeValidators:["disabled","readOnly"]}),t.createAction("onEditingStart",{excludeValidators:["disabled","readOnly"]}),t.createAction("onRowUpdating",{excludeValidators:["disabled","readOnly"]}),t.createAction("onRowUpdated",{excludeValidators:["disabled","readOnly"]}),t.createAction("onRowRemoving",{excludeValidators:["disabled","readOnly"]}),t.createAction("onRowRemoved",{excludeValidators:["disabled","readOnly"]}),t._pointerDownEditorHandler=function(t){return e=(0,i.default)(t.target)},t._saveEditorHandler=t.createAction((function(n){var r=n.event,s=(0,i.default)(r.target),a=r.targetComponent;if((!e||!e.is("input")||e.is(s))&&!U(t)&&!t._editCellInProgress){var l=f(s)||f(e),c=!!s.closest((0,o.getWindow)().document).length,u=a&&a!==t.component,d=!!s.closest(".".concat(t.addWidgetPrefix("addrow-button"))).length,h=s.hasClass(t.addWidgetPrefix("focus-overlay")),p="cell"===K(t);l||h||d&&p&&t.isEditing()||!c&&!u||t._closeEditItem.bind(t)(s)}function f(e){return e&&!!e.closest(".".concat("dx-dropdowneditor-overlay")).length}})),s.default.on(r.default.getDocument(),f.default.down,t._pointerDownEditorHandler),s.default.on(r.default.getDocument(),h.default.name,t._saveEditorHandler)),t._updateEditColumn(),t._updateEditButtons()},getUpdatedData:function(e){var t=this._dataController.keyOf(e),n=this._editData,i=(0,m.getIndexByKey)(t,n);return n[i]?(0,m.createObjectWithChanges)(e,n[i].data):e},getInsertedData:function(){return this._editData.filter((function(e){return e.data&&"insert"===e.type})).map((function(e){return e.data}))},getRemovedData:function(){return this._editData.filter((function(e){return e.oldData&&"remove"===e.type})).map((function(e){return e.oldData}))},_fireDataErrorOccurred:function(e){if("cancel"!==e){var t=this.getPopupContent();this._dataController.dataErrorOccurred.fire(e,t)}},_needToCloseEditableCell:function(e){var t=this.component.$element(),n=this.isEditing();if((!t||e.closest(t).length)&&e.closest(".dx-data-row").length){var i=this.getView("rowsView"),r=e.closest(".dx-row> td"),o=i.getRowIndex(r.parent()),s=i.getCellElements(o).index(r),a=this._columnsController.getVisibleColumns();n=n&&!(a[s]&&a[s].allowEditing)&&!this.isEditCell(o,s)}return n},_closeEditItem:function(e){this._needToCloseEditableCell(e)&&this.closeEditCell()},_handleDataChanged:function(e){var t=this._editForm;"standard"===this.option("scrolling.mode")&&this.resetRowAndPageIndices(),"prepend"===e.changeType&&(0,c.each)(this._editData,(function(t,n){n.rowIndex+=e.items.length})),"refresh"===e.changeType&&"popup"===K(this)&&t&&t.option("visible")&&this._repaintEditPopup()},_isDefaultButtonVisible:function(e,t){var n=!0,i=U(this),r=t.row&&t.row.rowIndex===this._getVisibleEditRowIndex()&&i;switch(e.name){case"edit":n=!r&&this.allowUpdating(t)&&i;break;case"save":case"cancel":n=r;break;case"delete":n=!r&&this.allowDeleting(t)&&!t.row.removed;break;case"undelete":n=this.allowDeleting(t)&&t.row.removed}return n},_isButtonVisible:function(e,t){var n=e.visible;return l.default.isDefined(n)?l.default.isFunction(n)?n.call(e,{component:t.component,row:t.row,column:t.column}):n:this._isDefaultButtonVisible(e,t)},_getButtonConfig:function(e,t){var n=this,i=l.default.isObject(e)?e:{},r=P(e),o=function(e){var t=e.component.option("editing.texts")||{};return{save:t.saveRowChanges,cancel:t.cancelRowChanges,edit:t.editRow,undelete:t.undeleteRow,delete:t.deleteRow,add:t.addRowToNode}}(t),s=W[r],a=this.option("editing"),c=Q[r],d=!c||a[c];return(0,u.extend)({name:r,text:o[r],cssClass:j[r],onClick:function(e){var i=e.event;i.stopPropagation(),i.preventDefault(),setTimeout((function(){t.row&&d&&n[s]&&n[s](t.row.rowIndex)}))}},i)},_getEditingButtons:function(e){var t,n=this,i=!!e.column.buttons,r=(e.column.buttons||[]).slice();return i?((t=A(r,"edit"))>=0&&(A(r,"save")<0&&r.splice(t+1,0,"save"),A(r,"cancel")<0&&r.splice(A(r,"save")+1,0,"cancel")),(t=A(r,"delete"))>=0&&A(r,"undelete")<0&&r.splice(t+1,0,"undelete")):r=$.slice(),r.map((function(t){return n._getButtonConfig(t,e)}))},_renderEditingButtons:function(e,t,n){var i=this;t.forEach((function(t){i._isButtonVisible(t,n)&&i._createButton(e,t,n)}))},_getEditCommandCellTemplate:function(){var e=this;return function(t,n){var r=(0,i.default)(t);if("data"===n.rowType){n.rtlEnabled=e.option("rtlEnabled");var o=e._getEditingButtons(n);e._renderEditingButtons(r,o,n),n.watch&&n.watch((function(){return o.map((function(t){return e._isButtonVisible(t,n)}))}),(function(){r.empty(),e._renderEditingButtons(r,o,n)}))}else(0,m.setEmptyText)(r)}},correctEditRowIndexAfterExpand:function(e){this._editRowIndex>this._dataController.getRowIndexByKey(e)&&this._editRowIndex++},correctEditRowIndex:function(e){this._editRowIndex+=e(this._getVisibleEditRowIndex())},isRowEditMode:function(){return U(this)},isFormEditMode:function(){var e=K(this);return-1!==N.indexOf(e)},isCellOrBatchEditMode:function(){var e=this.getEditMode();return"batch"===e||"cell"===e},getEditMode:function(){return K(this)},getFirstEditableColumnIndex:function(){var e,t=this.getController("columns"),n=this._firstFormItem;if("form"===K(this)&&n){var i=this._rowsView.getCellElements(this._editRowIndex);e=this._rowsView._getEditFormEditorVisibleIndex(i,n.column)}else{var r=t.getVisibleColumns();(0,c.each)(r,(function(t,n){if(n.allowEditing)return e=t,!1}))}return e},getFirstEditableCellInRow:function(e){var t=this.getView("rowsView");return t&&t._getCellElement(e||0,this.getFirstEditableColumnIndex())},getFocusedCellInRow:function(e){return this.getFirstEditableCellInRow(e)},getIndexByKey:function(e,t){return(0,m.getIndexByKey)(e,t)},hasChanges:function(e){for(var t=!1,n=0;n<this._editData.length;n++)if(this._editData[n].type&&(!l.default.isDefined(e)||this._dataController.getRowIndexByKey(this._editData[n].key)===e)){t=!0;break}return t},dispose:function(){this.callBase(),clearTimeout(this._inputFocusTimeoutID),s.default.off(r.default.getDocument(),f.default.down,this._pointerDownEditorHandler),s.default.off(r.default.getDocument(),h.default.name,this._saveEditorHandler)},optionChanged:function(e){if("editing"===e.name){var t=e.fullName,n=this._editPopup;if(t&&0===t.indexOf("editing.popup")){if(n){var i=t.slice("editing.popup".length+1);i?n.option(i,e.value):n.option(e.value)}}else n&&n.option("visible")&&0===t.indexOf("editing.form")?this._repaintEditPopup():this.init();e.handled=!0}else this.callBase(e)},publicMethods:function(){return["insertRow","addRow","removeRow","deleteRow","undeleteRow","editRow","editCell","closeEditCell","saveEditData","cancelEditData","hasEditData"]},refresh:function(e){var t=K(this),n="batch"===t||e&&"virtual"!==this.option("scrolling.mode");"batch"!==t&&"cell"!==t?this.init():n&&(this._editRowIndex=-1,this._editColumnIndex=-1)},isEditing:function(){return this._editRowIndex>-1}
1,isEditRow:function(e){var t=K(this);return this._getVisibleEditRowIndex()===e&&-1!==H.indexOf(t)},getEditRowKey:function(){var e=this._dataController.items()[this._getVisibleEditRowIndex()];return e&&e.key},getEditRowIndex:function(){return this._getVisibleEditRowIndex()},getEditFormRowIndex:function(){var e=K(this);return"form"===e||"popup"===e?this._getVisibleEditRowIndex():-1},isEditCell:function(e,t){return!(!Array.isArray(this._editData)||!this._editData.length)&&this._getVisibleEditRowIndex()===e&&this._editColumnIndex===t},getPopupContent:function(){var e=K(this),t=this._editPopup&&this._editPopup.option("visible");if("popup"===e&&t)return this._$popupContent},getEditForm:function(){return this._editForm},_needInsertItem:function(e,t){var n=this._dataController.dataSource(),i=this.option("scrolling.mode"),r=n.pageIndex(),o=n.beginPageIndex?n.beginPageIndex():r,s=n.endPageIndex?n.endPageIndex():r;if("standard"!==i)switch(t){case"append":return e.key.pageIndex===s;case"prepend":return e.key.pageIndex===o;case"refresh":e.key.rowIndex=0,e.key.dataRowIndex=0,e.key.pageIndex=0;break;default:return e.key.pageIndex>=o&&e.key.pageIndex<=s}return e.key.pageIndex===r},_generateNewItem:function(e){var t={key:e};return e&&e[F]&&(t[F]=e[F]),t},processItems:function(e,t){var n=t.changeType,i=this._dataController,r=-1;this.update(n);for(var o=this._editData,s=0;s<o.length;s++){var a=o[s].key;if(a){var l=i.getRowIndexOffset();r=a.dataRowIndex-l+i.getRowIndexDelta(),"append"===n&&(r-=i.items(!0).length,t.removeCount&&(r+=t.removeCount));var c=this._generateNewItem(a);r>=0&&"insert"===o[s].type&&this._needInsertItem(o[s],n,e,c)&&e.splice(a.dataRowIndex?r:0,0,c)}}return e},processDataItem:function(e,t,n){var i,r=t.visibleColumns,o=e.data[F]?e.data.key:e.key,s=(0,m.getIndexByKey)(o,this._editData);if(s>=0){var a=K(this),l=this._editData[s];switch(i=l.data,e.isEditing=!1,l.type){case"insert":"popup"===a&&(e.visible=!1),e.isNewRow=!0,e.key=o,e.data=i;break;case"update":e.modified=!0,e.oldData=e.data,e.data=(0,m.createObjectWithChanges)(e.data,i),e.modifiedValues=n(i,r,!0);break;case"remove":"batch"===a&&(e.data=(0,m.createObjectWithChanges)(e.data,i)),e.removed=!0}}},insertRow:function(){return w.default.log("W0002","dxDataGrid","insertRow","15.2","Use the 'addRow' method instead"),this.addRow()},_initNewRow:function(e){var t=this;if(this.executeAction("onInitNewRow",e),e.promise){var n=new k.Deferred;return(0,k.when)((0,k.fromPromise)(e.promise)).done(n.resolve).fail(G(n)).fail((function(e){return t._fireDataErrorOccurred(e)})),n}},_getInsertKey:function(e){var t=this._dataController,n=t.items(),i=K(this),r={parentKey:e,pageIndex:t.pageIndex(),rowIndex:this._getInsertRowIndex(e)},o=n[r.rowIndex];return o&&(!o.isEditing&&"detail"===o.rowType||"detailAdaptive"===o.rowType)&&r.rowIndex++,r.dataRowIndex=t.getRowIndexOffset()+n.filter((function(e,t){return t<r.rowIndex&&("data"===e.rowType||"group"===e.rowType||e.isNewRow)})).length,"batch"!==i&&(this._editRowIndex=r.rowIndex+this._dataController.getRowIndexOffset()),r[F]=this._getInsertIndex(),r},_getInsertRowIndex:function(e){var t=this.getView("rowsView"),n=this._dataController.getRowIndexByKey(e);return n>=0?n+1:t?t.getTopVisibleItemIndex(!0):0},_getInsertIndex:function(){var e=0;return this._editData.forEach((function(t){"insert"===t.type&&t.key[F]>e&&(e=t.key[F])})),e+1},addRow:function(e){var t=this,n=t._dataController,i=n.store(),r=i&&i.key(),o={data:{}},s=K(t),l=t._getVisibleEditRowIndex(),c=new k.Deferred;return i?"cell"===s&&t.hasChanges()?(t.saveEditData().done((function(){t.hasChanges()?c.reject("cancel"):t.addRow(e).done(c.resolve).fail(c.reject)})),c.promise()):(t.refresh(),t._allowRowAdding()?(r||(o.data.__KEY__=String(new a.default)),(0,k.when)(t._initNewRow(o,e)).done((function(){t._allowRowAdding()?(t._addRowCore(o.data,e,l),c.resolve()):c.reject("cancel")})).fail(c.reject),c.promise()):c.reject("cancel")):(n.fireError("E1052",this.component.NAME),c.reject())},_allowRowAdding:function(){var e=K(this),t=this._getInsertIndex();return!("batch"!==e&&t>1)},_addRowCore:function(e,t,n){var i=this._getVisibleEditRowIndex(),r=this._getInsertKey(t),o=K(this);this._addEditData({key:r,data:e,type:"insert"}),this._dataController.updateItems({changeType:"update",rowIndices:[n,i,r.rowIndex]}),"popup"===o?this._showEditPopup(r.rowIndex):this._focusFirstEditableCellInRow(r.rowIndex),this._afterInsertRow({key:r,data:e})},_focusFirstEditableCellInRow:function(e){var t=this,n=t.getFirstEditableCellInRow(e);t._editCellInProgress=!0,t._delayedInputFocus(n,(function(){t._editCellInProgress=!1;var n=t.getFirstEditableCellInRow(e),i="dblClick"===t.option("editing.startEditAction")?p.default.name:h.default.name;n&&s.default.trigger(n,i)}))},_isEditingStart:function(e){return this.executeAction("onEditingStart",e),e.cancel},_beforeEditCell:function(e,t,n){var i=this;if("cell"===K(i)&&!n.isNewRow&&i.hasChanges()){var r=new k.Deferred;return i.saveEditData().always((function(){r.resolve(i.hasChanges())})),r}},_beforeUpdateItems:function(){},_getVisibleEditRowIndex:function(){return this._editRowIndex>=0?this._editRowIndex-this._dataController.getRowIndexOffset():-1},editRow:function(e){var t,n=this,i=n._dataController,r=i.items(),o=r[e],s={data:o&&o.data,cancel:!1},a=n._getVisibleEditRowIndex();if(o){if(e===a)return!0;
1if(o.isNewRow||(s.key=o.key),!n._isEditingStart(s)){n.init(),n._pageIndex=i.pageIndex(),n._editRowIndex=(r[0].isNewRow?e-1:e)+n._dataController.getRowIndexOffset(),n._addEditData({data:{},key:o.key,oldData:o.data});var l=[a,e],c=K(n);n._beforeUpdateItems(l,e,a),"popup"===c?n._showEditPopup(e):i.updateItems({changeType:"update",rowIndices:l}),-1!==z.indexOf(c)&&(t=n.getFocusedCellInRow(n._getVisibleEditRowIndex()),n._delayedInputFocus(t,(function(){t&&n.component.focus(t)})))}}},_showEditPopup:function(e,t){var n=this,r="desktop"!==C.default.current().deviceType,o=(0,u.extend)({showTitle:!1,fullScreen:r,toolbarItems:[{toolbar:"bottom",location:"after",widget:"dxButton",options:n._getSaveButtonConfig()},{toolbar:"bottom",location:"after",widget:"dxButton",options:n._getCancelButtonConfig()}],contentTemplate:n._getPopupEditFormTemplate(e)},n.option("editing.popup"));if(!n._editPopup){var a=(0,i.default)("<div>").appendTo(n.component.$element()).addClass(n.addWidgetPrefix("edit-popup"));n._editPopup=n._createComponent(a,y.default,{}),n._editPopup.on("hiding",n._getEditPopupHiddenHandler()),n._editPopup.on("shown",(function(e){s.default.trigger(e.component.$content().find("[tabindex], input:not([type='hidden'])").not(".dx-scrollable-container").first(),"focus"),t&&n._editForm&&n._editForm.repaint()}))}n._editPopup.option(o),n._editPopup.show()},_repaintEditPopup:function(){var e=this._getVisibleEditRowIndex();if(this._editPopup&&this._editPopup.option("visible")&&e>=0){var t=this._editPopup.option("animation");this._editPopup.option("animation",null),this._showEditPopup(e,!0),this._editPopup.option("animation",t)}},_getEditPopupHiddenHandler:function(){var e=this;return function(t){e.isEditing()&&e.cancelEditData()}},_getPopupEditFormTemplate:function(e){var t=this,n=t.component.getVisibleRows()[e],r={row:n,rowType:n.rowType,key:n.key};return function(e){var n=t.getEditFormTemplate(),o=t._createComponent((0,i.default)("<div>").appendTo(e),D.default);t._$popupContent=o.$content(),n(t._$popupContent,r,!0)}},_getSaveButtonConfig:function(){return{text:this.option("editing.texts.saveRowChanges"),onClick:this.saveEditData.bind(this)}},_getCancelButtonConfig:function(){return{text:this.option("editing.texts.cancelRowChanges"),onClick:this.cancelEditData.bind(this)}},_removeEditDataItem:function(e){e>=0&&this._editData.splice(e,1)},editCell:function(e,t){var n,i=this,r=new k.Deferred;return k.when.apply(void 0,O(this._deferreds)).done((function(){n=i._editCellCore(e,t),(0,k.when)(n).done(r.resolve).fail(r.reject)})),void 0!==n?n:r.promise()},_editCellCore:function(e,t){var n=this,i=n._columnsController,r=n._dataController,o=r.items()[e],s={data:o&&o.data,cancel:!1},a=n._getVisibleEditRowIndex(),c=i.getVisibleColumns(),u=c[n._editColumnIndex];l.default.isString(t)&&(t=i.columnOption(t,"index"),t=i.getVisibleIndex(t));var d=s.column=c[t];if(d&&o&&("data"===o.rowType||"detailAdaptive"===o.rowType)&&!o.removed&&!U(n)){if(n.isEditCell(e,t))return!0;var h=e+r.getRowIndexOffset();return(0,k.when)(n._beforeEditCell(e,t,o)).done((function(e){e||(n._prepareEditCell(s,o,t,h)?E.default.deferRender((function(){n._repaintEditCell(d,u,a)})):n._processCanceledEditingCell())}))}return!1},_processCanceledEditingCell:function(){},_prepareEditCell:function(e,t,n,i){return t.isNewRow||(e.key=t.key),!this._isEditingStart(e)&&(this._editRowIndex=i,this._editColumnIndex=n,this._pageIndex=this._dataController.pageIndex(),this._addEditData({data:{},key:t.key,oldData:t.data}),!0)},_repaintEditCell:function(e,t,n){var i=this,r=i._rowsView;e&&e.showEditorAlways&&(!t||t.showEditorAlways)||(i._editCellInProgress=!0,i.getController("editorFactory").loseFocus(),i._dataController.updateItems({changeType:"update",rowIndices:[n,i._getVisibleEditRowIndex()]}));var o=r&&r._getCellElement(i._getVisibleEditRowIndex(),i._editColumnIndex);o&&!o.find(":focus").length?i._focusEditingCell((function(){i._editCellInProgress=!1}),o,!0):i._editCellInProgress=!1},_delayedInputFocus:function(e,t,n){var i=this;function r(){if(t&&t(),e){var n=e.find("[tabindex], input:not([type='hidden'])").first();(0,m.focusAndSelectElement)(i,n)}i._beforeFocusCallback=null}C.default.real().ios||C.default.real().android?r():(i._beforeFocusCallback&&i._beforeFocusCallback(),clearTimeout(i._inputFocusTimeoutID),n&&(i._beforeFocusCallback=t),i._inputFocusTimeoutID=setTimeout(r))},_focusEditingCell:function(e,t,n){var i=this.getView("rowsView");t=t||i&&i._getCellElement(this._getVisibleEditRowIndex(),this._editColumnIndex),this._delayedInputFocus(t,e,n)},removeRow:function(e){return w.default.log("W0002","dxDataGrid","removeRow","15.2","Use the 'deleteRow' method instead"),this.deleteRow(e)},deleteRow:function(e){var t=this;if("cell"===this.option("editing.mode")&&this.isEditing()){var n=this._dataController.items()[e].isNewRow;this.closeEditCell(null,n).always((function(){t._checkAndDeleteRow(e)}))}else this._checkAndDeleteRow(e)},_checkAndDeleteRow:function(e){var t=this,n=t.option("editing"),i=n&&n.texts,r=n&&"batch"===n.mode,o=i&&i.confirmDeleteMessage,s=t._dataController.items()[e],a=r||!t.isEditing()||s.isNew
1Row;if(s&&a)if(r||!o)t._deleteRowCore(e);else{var c=i&&i.confirmDeleteTitle,u=l.default.isDefined(c)&&c.length>0;_.default.confirm(o,c,u).done((function(n){n&&t._deleteRowCore(e)}))}},_deleteRowCore:function(e){var t=this._dataController,n=t.items()[e],i=n&&n.key,r=this._getVisibleEditRowIndex(),o="batch"===this.option("editing.mode");this.refresh();var s=(0,m.getIndexByKey)(i,this._editData);s>=0?"insert"===this._editData[s].type?this._removeEditDataItem(s):this._addEditData({key:i,type:"remove"}):this._addEditData({key:i,oldData:n.data,type:"remove"}),o?t.updateItems({changeType:"update",rowIndices:[r,e]}):this.saveEditData()},undeleteRow:function(e){var t=this._dataController,n=t.items()[e],i=this._getVisibleEditRowIndex(),r=n&&n.key;if(n){var o=(0,m.getIndexByKey)(r,this._editData);o>=0&&(l.default.isEmptyObject(this._editData[o].data)?this._removeEditDataItem(o):this._addEditData({key:r,type:"update"}),t.updateItems({changeType:"update",rowIndices:[i,e]}))}},_saveEditDataCore:function(e,t,n){var i=this,r=i._dataController.store(),o=!0;function s(e,t,n){var r=new k.Deferred;return i.executeAction(e,t),(0,k.when)((0,k.fromPromise)(t.cancel)).done((function(e){e?setTimeout((function(){r.resolve("cancel")})):n(t).done(r.resolve).fail(G(r))})).fail(G(r)),r}return(0,c.each)(i._editData,(function(a,c){var u,d,h=c.data,p=c.oldData,f=c.type;if(!i._beforeSaveEditData(c,a)){switch(f){case"remove":u=s("onRowRemoving",d={data:p,key:c.key,cancel:!1},(function(){return r.remove(c.key).done((function(e){n.push({type:"remove",key:e})}))}));break;case"insert":u=s("onRowInserting",d={data:h,cancel:!1},(function(){return r.insert(d.data).done((function(e,t){l.default.isDefined(t)&&(c.key=t),e&&l.default.isObject(e)&&e!==d.data&&(c.data=e),n.push({type:"insert",data:e,index:0})}))}));break;case"update":u=s("onRowUpdating",d={newData:h,oldData:p,key:c.key,cancel:!1},(function(){return r.update(c.key,d.newData).done((function(e,t){e&&l.default.isObject(e)&&e!==d.newData&&(c.data=e),n.push({type:"update",key:t,data:e})}))}))}if(u){var m=new k.Deferred;u.always((function(e){o="cancel"!==e,t.push({key:c.key,result:e})})).always(m.resolve),e.push(m.promise())}}})),o},_processSaveEditDataResult:function(e){for(var t=!1,n=K(this),i=0;i<e.length;i++){var r=e[i].result,o="cancel"===r,s=(0,m.getIndexByKey)(e[i].key,this._editData),a=this._editData[s];if(r&&r instanceof Error){if(a&&(a.error=r),this._fireDataErrorOccurred(r),"batch"!==n){a&&"remove"===a.type&&this._removeEditDataItem(s);break}}else o&&a&&("batch"===n||"remove"!==a.type)||(this._removeEditDataItem(s),t=!o)}return t},_fireSaveEditDataEvents:function(e){var t=this;(0,c.each)(e,(function(e,n){var i=n.type,r={key:n.key,data:n.data};switch(n.error&&(r.error=n.error),i){case"remove":t.executeAction("onRowRemoved",(0,u.extend)({},r,{data:n.oldData}));break;case"insert":t.executeAction("onRowInserted",r);break;case"update":t.executeAction("onRowUpdated",r)}}))},saveEditData:function(){var e=this,t=new k.Deferred,n=function(){(0,k.when)(e._afterSaveEditData()).done((function(){t.resolve()}))};return k.when.apply(void 0,O(this._deferreds)).done((function(){e._saving?n():(0,k.when)(e._beforeSaveEditData()).done((function(i){i?n():e._saveEditDataInner().done(t.resolve).fail(t.reject)}))})).fail(t.reject),t.promise()},_saveEditDataInner:function(){var e=this,t=[],n=[],r=[],o=this._dataController,s=o.dataSource(),a=K(this),l=new k.Deferred,c=function(){"cell"!==a&&(e._editColumnIndex=-1,e._editRowIndex=-1)},u=function(t){(0,k.when)(e._afterSaveEditData()).done((function(){l.resolve(t)}))},d=this._editData.slice(0);return this._saveEditDataCore(n,t,r)||"cell"!==a||this._focusEditingCell(),n.length?(this._saving=!0,s&&s.beginLoading(),k.when.apply(i.default,n).done((function(){if(e._processSaveEditDataResult(t)){c(),"popup"===a&&e._editPopup&&e._editPopup.hide(),s&&s.endLoading();var n=e.option("editing.refreshMode"),i="reshape"!==n&&"repaint"!==n;i||o.push(r),(0,k.when)(o.refresh({selection:i,reload:i,load:"reshape"===n,changesOnly:e.option("repaintChangesOnly")})).always((function(){e._fireSaveEditDataEvents(d)})).done((function(){u()}
1)).fail((function(e){u(e)}))}else s&&s.endLoading(),l.resolve()})).fail((function(e){s&&s.endLoading(),l.resolve(e)})),l.always((function(){e._focusEditingCell(),e._saving=!1})).promise()):(U(this)?this.hasChanges()||this.cancelEditData():-1!==V.indexOf(a)?(c(),o.updateItems()):this._focusEditingCell(),u(),l.promise())},isSaving:function(){return this._saving},_updateEditColumn:function(){var e=this._isEditColumnVisible(),t="dx-command-edit"+(this.option("editing.useIcons")?" dx-command-edit-with-icons":"");this._columnsController.addCommandColumn({type:"buttons",command:"edit",visible:e,cssClass:t,width:"auto",alignment:"center",cellTemplate:this._getEditCommandCellTemplate(),fixedPosition:"right"}),this._columnsController.columnOption("command:edit",{visible:e,cssClass:t})},_isEditColumnVisible:function(){var e=this.option("editing");if(e){var t=!1;switch(K(this)){case"row":t=e.allowUpdating||e.allowAdding;break;case"form":case"popup":t=e.allowUpdating}return e.allowDeleting||t}},_updateEditButtons:function(){var e=this.getView("headerPanel"),t=this.hasChanges();e&&(e.setToolbarItemDisabled("saveButton",!t),e.setToolbarItemDisabled("revertButton",!t))},_applyModified:function(e){e&&e.addClass("dx-cell-modified")},_beforeCloseEditCellInBatchMode:function(){},cancelEditData:function(){var e=K(this),t=this._getVisibleEditRowIndex(),n=this._dataController;this._beforeCancelEditData(),this.init(),-1!==H.indexOf(e)&&t>=0?n.updateItems({changeType:"update",rowIndices:[t,t+1]}):n.updateItems({repaintChangesOnly:this.option("repaintChangesOnly")}),"popup"===e&&this._hideEditPopup()},_hideEditPopup:function(){this._editPopup&&this._editPopup.option("visible",!1)},hasEditData:function(){return this.hasChanges()},closeEditCell:function(e,t){var n=this,i=T.default.when(),r=this._getVisibleEditRowIndex();return U(this)||(i=T.default.Deferred(),k.when.apply(void 0,O(this._deferreds)).done((function(){n._closeEditCellCore(e,r,t),i.resolve()})).fail(i.reject)),i.promise()},_closeEditCellCore:function(e,t,n){var i=this,r=K(i),o=i._dataController;if("cell"===r&&i.hasChanges())n||i.saveEditData().done((function(e){i.hasChanges()||i.closeEditCell(!!e)}));else if(t>=0){var s=[t];i._editRowIndex=-1,i._editColumnIndex=-1,i._beforeCloseEditCellInBatchMode(s),e||o.updateItems({changeType:"update",rowIndices:s})}},update:function(e){var t=this._dataController;t&&this._pageIndex!==t.pageIndex()&&("refresh"===e&&this.refresh(!0),this._pageIndex=t.pageIndex()),this._updateEditButtons()},_getRowIndicesForCascadeUpdating:function(e,t){return t?[]:[e.rowIndex]},_prepareEditDataParams:function(e,t,n){var r,o=this,s={},a=null===(r=e.row)||void 0===r?void 0:r.data,c=e.key,d=(0,i.default)(e.cellElement),h=K(o),p=new k.Deferred;if(void 0!==c){"batch"===h&&o._applyModified(d,e),e.value=t;var f=(0,k.fromPromise)(e.column.setCellValue(s,t,(0,u.extend)(!0,{},a),n));f.done((function(){p.resolve({data:s,key:c,oldData:a,type:"update"})})).fail(G(p)).fail((function(e){return o._fireDataErrorOccurred(e)})),l.default.isDefined(n)&&e.column.displayValueMap&&(e.column.displayValueMap[t]=n),e.values&&(e.values[e.columnIndex]=t),o._deferreds.push(f),f.always((function(){var e=o._deferreds.indexOf(f);e>=0&&o._deferreds.splice(e,1)}))}return p},updateFieldValue:function(e,t,n,i){var r=this;void 0===e.key&&this._dataController.fireError("E1043"),e.column.setCellValue&&this._prepareEditDataParams(e,t,n).done((function(t){r._applyEditDataParams(e,t,i)}))},_focusPreviousEditingCellIfNeed:function(e){if(this.hasEditData()&&!this.isEditCell(e.rowIndex,e.columnIndex))return this._focusEditingCell(),this._updateEditRow(e.row,!0),!0},_applyEditDataParams:function(e,t,n){var i=K(this),r=e.column.setCellValue!==e.column.defaultSetCellValue,o=e.column.showEditorAlways,s="cell"===i&&e.row&&!e.row.isNewRow,a=o&&!n&&s&&this.hasEditData()&&!this.isEditCell(e.rowIndex,e.columnIndex),l=this._columnsController.getVisibleColumns().some((function(e){return e.calculateCellValue!==e.defaultCalculateCellValue})),c=!1;if(a)return this._focusEditingCell(),void this._updateEditRow(e.row,!0,r);if(this._addEditData(t,e.row),this._updateEditButtons(),"cell"===i&&(r||l)&&(n=c=!0),o&&!n){if(s)return this._editRowIndex=e.row.rowIndex+this._dataController.getRowIndexOffset(),this._editColumnIndex=e.columnIndex,this.saveEditData();"batch"===i&&(n=r||l)}var u=e.row;u&&(n||r?(this._updateEditRow(u,n,r),c&&this._focusEditingCell()):u.update&&u.update(
1))},_updateEditRowCore:function(e,t,n){var i=this._editForm;"popup"===K(this)?this.option("repaintChangesOnly")?e.update&&e.update(e):i&&(this._updateEditFormDeferred=(new k.Deferred).done((function(){return i.repaint()})),this._updateLockCount||this._updateEditFormDeferred.resolve()):this._dataController.updateItems({changeType:"update",rowIndices:this._getRowIndicesForCascadeUpdating(e,t)}),n&&this._editForm&&!e.isNewRow&&this._editForm.validate()},_endUpdateCore:function(){this._updateEditFormDeferred&&this._updateEditFormDeferred.resolve()},_updateEditRow:function(e,t,n){var o=this;t||!U(o)?(o._updateEditRowCore(e,!t,n),t||o._focusEditingCell()):setTimeout((function(){var t=(0,i.default)(r.default.getActiveElement()),s=o._rowsView.getCellIndex(t,e.rowIndex),a=t.get(0),l=(0,m.getSelectionRange)(a);if(o._updateEditRowCore(e,!1,n),s>=0){var c=o._rowsView._getCellElement(e.rowIndex,s);o._delayedInputFocus(c,(function(){setTimeout((function(){a=r.default.getActiveElement(),l.selectionStart>=0&&(0,m.setSelectionRange)(a,l)}))}))}}))},_addEditData:function(e,t){var n=(0,m.getIndexByKey)(e.key,this._editData);return n<0&&(n=this._editData.length,this._editData.push(e)),this._editData[n]&&(e.data&&(this._editData[n].data=(0,m.createObjectWithChanges)(this._editData[n].data,e.data)),this._editData[n].type&&e.data||!e.type||(this._editData[n].type=e.type),t&&(t.oldData=this._editData[n].oldData,t.data=(0,m.createObjectWithChanges)(t.data,e.data))),n},_getFormEditItemTemplate:function(e,t){return t.editCellTemplate||L(this)},renderFormEditTemplate:function(e,t,n,r,s){var a=this,l=(0,i.default)(r),c=t.column,d=function(e){var t=e.column;return e.isCustomEditorType?e.editorType:t.formItem&&t.formItem.editorType}(t),h=null==e?void 0:e.row.data,p=(0,u.extend)({},e,{data:h,cellElement:null,isOnForm:!0,item:t,column:(0,u.extend)({},c,{editorType:d,editorOptions:t.editorOptions}),id:n.getItemID(t.name||t.dataField),columnIndex:c.index,setValue:!s&&c.allowEditing&&function(e){a.updateFieldValue(p,e)}});p.value=c.calculateCellValue(h);var f=a._getFormEditItemTemplate.bind(a)(p,c);return a._rowsView.renderTemplate(l,f,p,!!l.closest((0,o.getWindow)().document).length).done((function(){a._rowsView._updateCell(l,p)})),p},getFormEditorTemplate:function(e,t){var n=this,r=this.component.columnOption(t.dataField);return function(o,s){var a=(0,i.default)(s);e.row.watch&&e.row.watch((function(){return r.selector(e.row.data)}),(function(){var i,r=a.find(".dx-widget").first(),s=r.data("dxValidator"),l=null===(i=s)||void 0===i?void 0:i.option();a.contents().remove(),e=n.renderFormEditTemplate.bind(n)(e,t,o.component,a),s=(r=a.find(".dx-widget").first()).data("dxValidator"),l&&!s&&r.dxValidator({validationRules:l.validationRules,validationGroup:l.validationGroup,dataGetter:l.dataGetter})})),e=n.renderFormEditTemplate.bind(n)(e,t,o.component,a)}},getEditFormTemplate:function(){var e=this;return function(t,n,r){var o=e.option("editing.form"),s=e.option("editing.form.items"),d=e.option("editing.form.customizeItem"),h=e._editData[(0,m.getIndexByKey)(n.key,e._editData)],p=e.addWidgetPrefix("edit-form-item"),f={};if(s)!function e(t,n){t.forEach((function(t){t.items||t.tabs?e(t.items||t.tabs,n):n(t)}))}(s,(function(e){var t=(null==e?void 0:e.name)||(null==e?void 0:e.dataField);t&&(f[t]=!!e.editorType)}));else{var g=e.getController("columns").getColumns();s=[],(0,c.each)(g,(function(e,t){t.isBand||t.type||s.push({column:t,name:t.name,dataField:t.dataField})}))}if(e._firstFormItem=void 0,e._editForm=e._createComponent((0,i.default)("<div>").appendTo(t),x.default,(0,u.extend)({},o,{items:s,formID:"dx-"+new a.default,validationGroup:h,customizeItem:function(t){var i,r=t.name||t.dataField;if((t.column||r)&&(i=t.column||e._columnsController.columnOption(t.name?"name:"+t.name:"dataField:"+t.dataField)),i){t.label=t.label||{},t.label.text=t.label.text||i.caption,t.template=t.template||e.getFormEditorTemplate(n,t),t.column=i,t.isCustomEditorType=f[r],i.formItem&&(0,u.extend)(t,i.formItem),void 0===t.isRequired&&i.validationRules&&(t.isRequired=i.validationRules.some((function(e){return"required"===e.type})),t.validationRules=[]);var o=!l.default.isDefined(t.visible)||t.visible;!e._firstFormItem&&o&&(e._firstFormItem=t)}d&&d.call(this,t),t.cssClass=l.default.isString(t.cssClass)?t.cssClass+" "+p:p}})),!r){var _=(0,i.default)("<div>").addClass(e.addWidgetPrefix("form-buttons-container")).appendTo(t);e._createComponent((0,i.default)("<div>").appendTo(_),v.default,e._getSaveButtonConfig()),e._createComponent((0,i.default)("<div>").appendTo(_),v.default,e._getCancelButtonConfig())}e._editForm.on("contentReady",(function(){e._editPopup&&e._editPopup.repaint()}))}},getColumnTemplate:function(e){var t,n,i=this,r=e.column,o=e.row&&e.row.rowIndex,s=U(i),a=i.isEditRow(o),l=i.isEditCell(o,e.columnIndex);return!(r.showEditorAlways||r.setCellValue&&(a&&r.allowEditing||l))||"data"!==e.rowType&&"detailAdaptive"!==e.rowType||r.command?"detail"===r.command&&"detail"===e.rowType&&a&&(t=i.getEditFormTemplate(e)):(((i.allowUpdating(e)||a)&&r.allowEditing||l)&&(s&&a||!s)&&(r.showEditorAlways&&!s&&i._isEditingStart(n={cancel:!1,key:e.row.isNewRow?void 0:e.row.key,data:e.row.data,column:r}),n&&n.cancel||(e.setValue=function(t,n){i.updateFieldValue(e,t,n)})),t=r.editCellTemplate||L(i)),t},_createButton:function(e,t,n){var r=Y[t.name],o=this.option("editing.useIcons"),a=(0,i.default)("<a>").attr("href","#").addClass("dx-link").addClass(t.cssClass);if(t.template)this._rowsView.renderTemplate(e,t.template,n,!0);else{if(o&&r||t.icon){var c=I.default.getImageSourceType(r=t.icon||r);"image"===c||"svg"===c?a=I.default.getImageContainer(r).addClass(t.cssClass):a.addClass("dx-icon"+("dxIcon"===c?"-":" ")+r).attr("title",t.text),a.addClass("dx-link-icon"),e.addClass("dx-command-edit-with-icons");var d=this.getButtonLocalizationNames()[t.name];d&&a.attr("aria-label",b.default.format(d))}else a.text(t.text);l.default.isDefined(t.hint)&&a.attr("title",t.hint),s.default.on(a,(0,g.addNamespace)("click","dxDataGridEditing"),this.createAction((function(e){t.onClick.call(t,(0,u.extend)({},e,{row:n.row,column:n.column})),e.event.preventDefault(),e.event.stopPropagation()}
1))),n.rtlEnabled?e.prepend(a,"&nbsp;"):e.append(a,"&nbsp;")}},getButtonLocalizationNames:function(){return{edit:"dxDataGrid-editingEditRow",save:"dxDataGrid-editingSaveRowChanges",delete:"dxDataGrid-editingDeleteRow",undelete:"dxDataGrid-editingUndeleteRow",cancel:"dxDataGrid-editingCancelRowChanges"}},prepareEditButtons:function(e){var t=this,n=t.option("editing")||{},r=t.option("editing.texts")||{},o={revert:r.cancelAllChanges,save:r.saveAllChanges,addRow:r.addRow},s={revert:"cancel",save:"save",addRow:"addrow"},a=[],l=function(n,r,a){var l=s[n],c=o[n],u=("save"===l||"cancel"===l)&&!t.hasChanges();return{widget:"dxButton",options:{onInitialized:function(n){(0,i.default)(n.element).addClass(e._getToolbarButtonClass("dx-edit-button "+t.addWidgetPrefix(l)+"-button"))},icon:"edit-button-"+l,disabled:u,onClick:function(){setTimeout((function(){t[r]()}))},text:c,hint:c},showText:"inMenu",name:n+"Button",location:"after",locateInMenu:"auto",sortIndex:a}};return n.allowAdding&&a.push(l("addRow","addRow",20)),(n.allowUpdating||n.allowAdding||n.allowDeleting)&&"batch"===K(t)&&(a.push(l("save","saveEditData",21)),a.push(l("revert","cancelEditData",22))),a},showHighlighting:function(e){var t=e.find(".dx-highlight-outline");"TD"!==e.get(0).tagName||t.length||e.wrapInner((0,i.default)("<div>").addClass("dx-highlight-outline dx-pointer-events-target"))},resetRowAndPageIndices:function(){var e=this;(0,c.each)(e._editData,(function(t,n){n.pageIndex!==e._pageIndex&&(delete n.pageIndex,delete n.rowIndex)}))},_afterInsertRow:function(){},_beforeSaveEditData:function(e){if(e&&!l.default.isDefined(e.key)&&l.default.isDefined(e.type))return!0},_afterSaveEditData:function(){},_beforeCancelEditData:function(){},_allowEditAction:function(e,t){var n=this.option("editing."+e);return l.default.isFunction(n)&&(n=n({component:this.component,row:t.row})),n},allowUpdating:function(e,t){var n=this.option("editing.startEditAction")||"click",i=!(arguments.length>1)||n===t||"down"===t;return i&&this._allowEditAction("allowUpdating",e)},allowDeleting:function(e){return this._allowEditAction("allowDeleting",e)}}));e.exports={defaultOptions:function(){return{editing:{mode:"row",refreshMode:"full",allowAdding:!1,allowUpdating:!1,allowDeleting:!1,useIcons:!1,selectTextOnEditStart:!1,texts:{editRow:b.default.format("dxDataGrid-editingEditRow"),saveAllChanges:b.default.format("dxDataGrid-editingSaveAllChanges"),saveRowChanges:b.default.format("dxDataGrid-editingSaveRowChanges"),cancelAllChanges:b.default.format("dxDataGrid-editingCancelAllChanges"),cancelRowChanges:b.default.format("dxDataGrid-editingCancelRowChanges"),addRow:b.default.format("dxDataGrid-editingAddRow"),deleteRow:b.default.format("dxDataGrid-editingDeleteRow"),undeleteRow:b.default.format("dxDataGrid-editingUndeleteRow"),confirmDeleteMessage:b.default.format("dxDataGrid-editingConfirmDeleteMessage"),confirmDeleteTitle:""},form:{colCount:2},popup:{},startEditAction:"click"}}},controllers:{editing:q},extenders:{controllers:{data:{init:function(){this._editingController=this.getController("editing"),this.callBase()},reload:function(e,t){return!t&&this._editingController.refresh(),this.callBase.apply(this,arguments)},repaintRows:function(){if(!this.getController("editing").isSaving())return this.callBase.apply(this,arguments)},_updateEditRow:function(e){var t=this._editingController,n=e[t.getEditRowIndex()];n&&(n.isEditing=!0,"form"===t.getEditMode()&&(n.rowType="detail"))},_updateItemsCore:function(e){this.callBase(e),this._updateEditRow(this.items())},_applyChangeUpdate:function(e){this._updateEditRow(e.items),this.callBase(e)},_applyChangesOnly:function(e){this._updateEditRow(e.items),this.callBase(e)},_processItems:function(e,t){return e=this._editingController.processItems(e,t),this.callBase(e,t)},_processDataItem:function(e,t){return this._editingController.processDataItem(e,t,this.generateDataValues),this.callBase(e,t)}
1,_processItem:function(e,t){return(e=this.callBase(e,t)).isNewRow&&(t.dataIndex--,delete e.dataIndex),e},_correctRowIndices:function(e){this.callBase.apply(this,arguments),this._editingController.correctEditRowIndex(e)},_getChangedColumnIndices:function(e,t,n,i){var r=this.getController("editing"),o=r.isRowEditMode();if(!(e.isNewRow!==t.isNewRow||e.removed!==t.removed||o&&e.isEditing!==t.isEditing))return e.rowType===t.rowType&&o&&r.isEditRow(n)&&i?[]:this.callBase.apply(this,arguments)},_isCellChanged:function(e,t,n,i,r){var o=this.getController("editing"),s=e.cells&&e.cells[i],a=o&&o.isEditCell(n,i);return(!r||!a)&&(!(!s||!s.column||s.column.showEditorAlways||s.isEditing===a)||this.callBase.apply(this,arguments))}}},views:{rowsView:{init:function(){this.callBase(),this._editingController=this.getController("editing")},getCellElements:function(e){var t=this.callBase(e),n=this._editingController,i=n.getEditForm();return n.getEditFormRowIndex()===e&&t&&i?i.$element().find("."+this.addWidgetPrefix("edit-form-item")+", .dx-button"):t},getCellIndex:function(e,t){if(!e.is("td")&&t>=0){var n=this.getCellElements(t),r=-1;return(0,c.each)(n,(function(t,n){(0,i.default)(n).find(e).length&&(r=t)})),r}return this.callBase.apply(this,arguments)},_getVisibleColumnIndex:function(e,t,n){var i=this._editingController.getEditFormRowIndex();if(i===t&&l.default.isString(n)){var r=this._columnsController.columnOption(n);return this._getEditFormEditorVisibleIndex(e,r)}return this.callBase.apply(this,arguments)},_getEditFormEditorVisibleIndex:function(e,t){var n=-1;return(0,c.each)(e,(function(e,r){var o=(0,i.default)(r).find(".dx-field-item-content").data("dx-form-item");if(o&&o.column&&t&&o.column.index===t.index)return n=e,!1})),n},publicMethods:function(){return this.callBase().concat(["cellValue"])},_getCellTemplate:function(e){return this._editingController.getColumnTemplate(e)||this.callBase(e)},_isNativeClick:function(){return(C.default.real().ios||C.default.real().android)&&this.option("editing.allowUpdating")},_createTable:function(){var e=this,t=e.callBase.apply(e,arguments);return!U(e)&&e.option("editing.allowUpdating")&&s.default.on(t,(0,g.addNamespace)(S.default.name,"dxDataGridRowsView"),"td:not(.dx-editor-cell)",e.createAction((function(){var t=e._editingController;t.isEditing()&&t.closeEditCell()}))),t},_createRow:function(e){var t=this.callBase(e);if(e){var n=this._editingController.isEditRow(e.rowIndex),i=!!e.removed,r=!!e.isNewRow,o=!!e.modified;"batch"===K(this)?i&&t.addClass("dx-row-removed"):n&&t.addClass("dx-edit-row"),r&&t.addClass("dx-row-inserted"),o&&t.addClass("dx-row-modified"),(n||r||i)&&t.removeClass("dx-selection"),n&&"detail"===e.rowType&&t.addClass(this.addWidgetPrefix("edit-form"))}return t},_getColumnIndexByElement:function(e){for(var t=e.closest("table"),n=this.getTableElements();t.length&&!n.filter(t).length;)e=t.closest("td"),t=e.closest("table");return this._getColumnIndexByElementCore(e)},_getColumnIndexByElementCore:function(e){var t=e.closest(".dx-row> td:not(.dx-master-detail-cell)");return this.getCellIndex(t)},_editCellByClick:function(e,t){var n=this._editingController,r=(0,i.default)(e.event.target),o=this._getColumnIndexByElement(r),s=this._dataController.items()[e.rowIndex],a=n.allowUpdating({row:s},t)||s&&s.isNewRow,l=this._columnsController.getVisibleColumns()[o],c=a&&l&&(l.allowEditing||n.isEditCell(e.rowIndex,o)),u=this.option("editing.startEditAction")||"click";return"down"===t?l&&l.showEditorAlways&&c&&n.editCell(e.rowIndex,o):("click"!==t||"dblClick"!==u||n.isEditCell(e.rowIndex,o)||n.closeEditCell(),c&&t===u?n.editCell(e.rowIndex,o)||n.isEditRow(e.rowIndex):void 0)},_rowPointerDown:function(e){var t=this;this._pointerDownTimeout=setTimeout((function(){t._editCellByClick(e,"down")}))},_rowClick:function(e){var t=(0,i.default)(e.rowElement).hasClass(this.addWidgetPrefix("edit-form"));e.event.targetComponent=this.component,this._editCellByClick(e,"click")||t||this.callBase.apply(this,arguments)},_rowDblClick:function(e){this._editCellByClick(e,"dblClick")||this.callBase.apply(this,arguments)},_cellPrepared:function(e,t){var n=t.columnIndex,i=this._editingController,r=!!t.column.command,o=t.setValue,s=t.isEditing||i.isEditRow(t.rowIndex)&&t.column.allowEditing;if("data"===t.rowType&&!t.column.command&&(s||t.column.showEditorAlways)){var a=t.column.alignment;e.addClass("dx-editor-cell").toggleClass(this.addWidgetPrefix("readonly"),!o).toggleClass("dx-cell-focus-disabled",!o),a&&e.find("input:not([type='hidden'])").first().css("textAlign",a)}s&&this._editCellPrepared(e);var l=t.row&&(t.row.isNewRow?t.row.values:t.row.modifiedValues);l&&void 0!==l[n]&&t.column&&!r&&t.column.setCellValue?(i.showHighlighting(e),e.addClass("dx-cell-modified")):o&&i.showHighlighting(e,!0),this.callBase.apply(this,arguments)},_editCellPrepared:function(e){},_formItemPrepared:function(){},_isFormItem:function(e){var t="detail"===e.rowType||"detailAdaptive"===e.rowType,n="data"===e.rowType&&"popup"===K(this);return(t||n)&&e.item},_updateCell:function(e,t){this._isFormItem(t)?this._formItemPrepared(t,e):this.callBase(e,t)},_update:function(e){this.callBase(e),"updateSelection"===e.changeType&&this.getTableElements().children("tbody").children(".dx-edit-row").removeClass("dx-selection")},_getCellOptions:function(e){var t=this.callBase(e);return t.isEditing=this._editingController.isEditCell(t.rowIndex,t.columnIndex),t},_renderCellContent:function(e,t){"data"===t.rowType&&"popup"===K(this)&&!1===t.row.visible||this.callBase.apply(this,arguments)}
1,cellValue:function(e,t,n,i){var r=this.getCellOptions(e,t);if(r){if(void 0===n)return r.value;this._editingController.updateFieldValue(r,n,i,!0)}},dispose:function(){this.callBase.apply(this,arguments),clearTimeout(this._pointerDownTimeout)}},headerPanel:{_getToolbarItems:function(){var e=this.callBase();return this.getController("editing").prepareEditButtons(this).concat(e)},optionChanged:function(e){var t=e.fullName;switch(e.name){case"editing":t&&0===t.indexOf("editing.popup")||this._invalidate(),this.callBase(e);break;default:this.callBase(e)}},isVisible:function(){var e=this.getController("editing").option("editing");return this.callBase()||e&&(e.allowAdding||(e.allowUpdating||e.allowDeleting)&&"batch"===e.mode)}}}}}},cRix:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cWtc:function(e,t,n){"use strict";var i=n("1LL4"),r=n("A8u/");function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s,a=/[\u200E\u200F]/g,l=function(e){return function(t){if(!e.timeZoneName){var n=t.getFullYear(),r=String(n).length<3,o=new Date(Date.UTC(r?n+400:n,t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds()));r&&o.setFullYear(n);var s=(0,i.extend)({timeZone:"UTC"},e);return u(o,s)}return u(t,e)}},c={},u=function(e,t){return function(e){var t=(0,r.locale)()+"/"+JSON.stringify(e);return c[t]||(c[t]=new Intl.DateTimeFormat((0,r.locale)(),e).format),c[t]}(t)(e).replace(a,"")},d=function(e){return new Intl.NumberFormat((0,r.locale)()).format(e)},h=(s={},function(e){if(!(e in s)){if("0"===d(0))return s[e]=!1,!1;s[e]={};for(var t=0;t<10;++t)s[e][d(t)]=t}return s[e]}),p=function(e){var t=h((0,r.locale)());return t?e.split("").map((function(e){return e in t?String(t[e]):e})).join(""):e},f=function(e){return e.replace(/(\D)0+(\d)/g,"$1$2")},m=function(e){return e.replace("d\u2019","de ")},g={day:{day:"numeric"},dayofweek:{weekday:"long"},longdate:{weekday:"long",year:"numeric",month:"long",day:"numeric"},longdatelongtime:{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},longtime:{hour:"numeric",minute:"numeric",second:"numeric"},month:{month:"long"},monthandday:{month:"long",day:"numeric"},monthandyear:{year:"numeric",month:"long"},shortdate:{},shorttime:{hour:"numeric",minute:"numeric"},shortyear:{year:"2-digit"},year:{year:"numeric"}};Object.defineProperty(g,"shortdateshorttime",{get:function(){var e=Intl.DateTimeFormat((0,r.locale)()).resolvedOptions();return{year:e.year,month:e.month,day:e.day,hour:"numeric",minute:"numeric"}}});var _=function(e){return"string"==typeof e&&g[e.toLowerCase()]},b={standalone:function(e,t){var n=new Date(1999,e,13,1);return l({month:t})(n)},format:function(e,t){var n=new Date(0,e,13,1),i=m(l({day:"numeric",month:t})(n)).split(" ").filter((function(e){return e.indexOf("13")<0}));return 1===i.length?i[0]:2===i.length?i[0].length>i[1].length?i[0]:i[1]:b.standalone(e,t)}};e.exports={engine:function(){return"intl"},getMonthNames:function(e,t){var n={wide:"long",abbreviated:"short",narrow:"narrow"}[e||"wide"];return t="format"===t?t:"standalone",Array.apply(null,new Array(12)).map((function(e,i){return b[t](i,n)}))},getDayNames:function(e){return function(e){return Array.apply(null,new Array(7)).map((function(t,n){return l({weekday:e})(new Date(0,0,n))}))}({wide:"long",abbreviated:"short",short:"narrow",narrow:"narrow"}[e||"wide"])},getPeriodNames:function(){var e=l({hour:"numeric",hour12:!0});return[1,13].map((function(t){var n=d(1),i=e(new Date(0,0,1,t)).split(n);return 2!==i.length?"":(i[0].length>i[1].length?i[0]:i[1]).trim()}))},format:function(e,t){if(e){if(!t)return e;"function"==typeof t||t.formatter||(t=t.type||t);var n=_(t);if(n)return l(n)(e);var i=o(t);return t.formatter||"function"===i||"string"===i?this.callBase.apply(this,arguments):l(t)(e)}},parse:function(e,t){var n,i=this;return t&&!t.parser&&"string"==typeof e&&(e=m(e),n=function(e){return m(i.format(e,t))}),this.callBase(e,n||t)},_parseDateBySimpleFormat:function(e,t){var n=this;e=p(e);var i=this.getFormatParts(t),r=e.split(/\D+/).filter((function(e){return e.length>0}));
1if(i.length===r.length){var o=this._generateDateArgs(i,r),s=function(i){var r,s,a=function(e,t){return new Date(e.year,e.month,e.day,(e.hours+(t?12:0))%24,e.minutes,e.seconds)}(o,i);if(r=p(n.format(a,t)),s=e,f(r)===f(s))return a};return s(!1)||s(!0)}},_generateDateArgs:function(e,t){var n=new Date,i={year:n.getFullYear(),month:n.getMonth(),day:n.getDate(),hours:0,minutes:0,seconds:0};return e.forEach((function(e,n){var r=parseInt(t[n],10);"month"===e&&(r-=1),i[e]=r})),i},formatUsesMonthName:function(e){return"object"!==o(e)||e.type||e.format?this.callBase.apply(this,arguments):"long"===e.month},formatUsesDayName:function(e){return"object"!==o(e)||e.type||e.format?this.callBase.apply(this,arguments):"long"===e.weekday},getFormatParts:function(e){if("string"==typeof e)return this.callBase(e);var t=(0,i.extend)({},g[e.toLowerCase()]),n=new Date(2001,2,4,5,6,7),r=l(t)(n);return r=p(r),[{name:"year",value:1},{name:"month",value:3},{name:"day",value:4},{name:"hours",value:5},{name:"minutes",value:6},{name:"seconds",value:7}].map((function(e){return{name:e.name,index:r.indexOf(e.value)}})).filter((function(e){return e.index>-1})).sort((function(e,t){return e.index-t.index})).map((function(e){return e.name}))}}},cYys:function(e,t,n){"use strict";var i=function(e){this._options=e||{},this._list=[],this._queue=[],this._firing=!1,this._fired=!1,this._firingIndexes=[]};i.prototype._fireCore=function(e,t){var n=this._firingIndexes,i=this._list,r=this._options.stopOnFalse,o=n.length;for(n[o]=0;n[o]<i.length&&(!1!==i[n[o]].apply(e,t)||!r);n[o]++);n.pop()},i.prototype.add=function(e){return"function"!=typeof e||this._options.unique&&this.has(e)||this._list.push(e),this},i.prototype.remove=function(e){var t=this._list,n=this._firingIndexes,i=t.indexOf(e);if(i>-1&&(t.splice(i,1),this._firing&&n.length))for(var r=0;r<n.length;r++)i<=n[r]&&n[r]--;return this},i.prototype.has=function(e){var t=this._list;return e?t.indexOf(e)>-1:!!t.length},i.prototype.empty=function(e){return this._list=[],this},i.prototype.fireWith=function(e,t){var n=this._queue;if(t=(t=t||[]).slice?t.slice():t,this._options.syncStrategy)this._firing=!0,this._fireCore(e,t);else{if(n.push([e,t]),this._firing)return;for(this._firing=!0;n.length;){var i=n.shift();this._fireCore(i[0],i[1])}}return this._firing=!1,this._fired=!0,this},i.prototype.fire=function(){this.fireWith(this,arguments)},i.prototype.fired=function(){return this._fired},e.exports=function(e){return new i(e)}},cap0:function(e,t,n){"use strict";e.exports=n("wlIu"),e.exports.default=e.exports},ccQb:function(e,t,n){"use strict";var i=n("ti0F").isFunction,r=function(){},o=function(e){return"undefined"!=typeof console&&i(console[e])?console[e].bind(console):r},s={info:o("info"),warn:o("warn"),error:o("error")},a=function(){function e(e,t){if(!e)throw new Error(t)}return{assert:e,assertParam:function(t,n){e(null!=t,n)}}}();t.logger=s,t.debug=a},cho7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n("/XyT"))&&i.__esModule?i:{default:i},s=n("q1t9"),a=function(){function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.canvas=t,this.encodings=n,this.options=i}return r(e,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var e=0;e<this.encodings.length;e++){var t=(0,o.default)(this.options,this.encodings[e].options);this.drawCanvasBarcode(t,this.encodings[e]),this.drawCanvasText(t,this.encodings[e]),this.moveCanvasDrawing(this.encodings[e])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var e=this.canvas.getContext("2d");e.save(),(0,s.calculateEncodingAttributes)(this.encodings,this.options,e);var t=(0,s.getTotalWidthOfEncodings)(this.encodings),n=(0,s.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=t+this.options.marginLeft+this.options.marginRight,this.canvas.height=n,e.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(e.fillStyle=this.options.background,e.fillRect(0,0,this.canvas.width,this.canvas.height)),e.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(e,t){var n,i=this.canvas.getContext("2d"),r=t.data;n="top"==e.textPosition?e.marginTop+e.fontSize+e.textMargin:e.marginTop,i.fillStyle=e.lineColor;for(var o=0;o<r.length;o++){var s=o*e.width+t.barcodePadding;
1"1"===r[o]?i.fillRect(s,n,e.width,e.height):r[o]&&i.fillRect(s,n,e.width,e.height*r[o])}}},{key:"drawCanvasText",value:function(e,t){var n,i,r=this.canvas.getContext("2d");e.displayValue&&(i="top"==e.textPosition?e.marginTop+e.fontSize-e.textMargin:e.height+e.textMargin+e.marginTop+e.fontSize,r.font=e.fontOptions+" "+e.fontSize+"px "+e.font,"left"==e.textAlign||t.barcodePadding>0?(n=0,r.textAlign="left"):"right"==e.textAlign?(n=t.width-1,r.textAlign="right"):(n=t.width/2,r.textAlign="center"),r.fillText(t.text,n,i))}},{key:"moveCanvasDrawing",value:function(e){this.canvas.getContext("2d").translate(e.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),e}();t.default=a},"cjX/":function(e,t,n){"use strict";var i=n("FKN7"),r=n("5qrJ"),o=n("KAnu").equalByValue,s=r.abstract,a=r.inherit({ctor:function(e){this._collectionWidget=e},getIndexByItemData:s,getItemDataByIndex:s,getKeysByItems:s,getItemsByKeys:s,itemsGetter:s,getKeyByIndex:function(e){var t=this._denormalizeItemIndex(e);return this.getKeysByItems([this.getItemDataByIndex(t)])[0]},_equalKeys:function(e,t){return this._collectionWidget._isKeySpecified()?o(e,t):e===t},beginCache:function(){this._cache={}},endCache:function(){this._cache=null},getIndexByKey:s,getNormalizedIndex:function(e){return this._isNormalizedItemIndex(e)?e:this._isItemIndex(e)?this._normalizeItemIndex(e):this._isDOMNode(e)?this._getNormalizedItemIndex(e):this._normalizeItemIndex(this.getIndexByItemData(e))},getIndex:function(e){return this._isNormalizedItemIndex(e)?this._denormalizeItemIndex(e):this._isItemIndex(e)?e:this._isDOMNode(e)?this._denormalizeItemIndex(this._getNormalizedItemIndex(e)):this.getIndexByItemData(e)},getItemElement:function(e){if(this._isNormalizedItemIndex(e))return this._getItemByNormalizedIndex(e);if(this._isItemIndex(e))return this._getItemByNormalizedIndex(this._normalizeItemIndex(e));if(this._isDOMNode(e))return i(e);var t=this._normalizeItemIndex(this.getIndexByItemData(e));return this._getItemByNormalizedIndex(t)},deleteItemAtIndex:s,itemPlacementFunc:function(e,t){return this._itemsFromSameParent(e,t)&&e<t?"after":"before"},moveItemAtIndexToIndex:s,_isNormalizedItemIndex:function(e){return"number"==typeof e&&Math.round(e)===e},_isDOMNode:function(e){var t;try{t=i(e)}catch(n){return!1}return t&&t.length&&t.get(0).nodeType},_isItemIndex:s,_getNormalizedItemIndex:s,_normalizeItemIndex:s,_denormalizeItemIndex:s,_getItemByNormalizedIndex:s,_itemsFromSameParent:s});e.exports=a},czMo:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},czNW:function(e,t,n){"use strict";var i=n("XpgS"),r=n("tUd6"),o=n("KAnu"),s=u(n("heGP")),a=u(n("cGv3")),l=u(n("LdFP")),c=u(n("m6TM"));function u(e){return e&&e.__esModule?e:{default:e}}var d,h,p,f,m=a.default.getNavigator(),g=m.maxTouchPoints,_=m.msMaxTouchPoints,b=m.pointerEnabled,v=a.default.hasProperty.bind(a.default),y={webkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MsTransitionEnd",transition:"transitionend"},w=function(e){return!!c.default.styleProp(e)},C=function(e,t){return(e("ontouchstart")||!!t)&&!e("callPhantom")}(v,g),x=function(e,t){var n=(0,o.ensureDefined)(t,!0),i=(0,o.ensureDefined)(t,!1);return e("PointerEvent")&&n||i}(v,b),S=!!g||!!_;t.touchEvents=C,t.pointerEvents=x,t.touch=C||x&&S,t.transition=(0,s.default)((function(){return w("transition")})),t.transitionEndEventName=(0,s.default)((function(){return y[c.default.styleProp("transition")]})),t.animation=(0,s.default)((function(){return w("animation")})),t.nativeScrolling=(h=(d=l.default.real()).platform,f=d.mac,!((p=d.version)&&p[0]<4&&"android"===h)&&(0,i.inArray)(h,["ios","android"])>-1||f),t.styleProp=c.default.styleProp,t.stylePropPrefix=c.default.stylePropPrefix,t.supportProp=w,t.inputType=function(e){if("text"===e)return!0;var t=(0,r.createElement)("input");try{return t.setAttribute("type",e),t.value="wrongValue",!t.value}catch(n){return!1}}},"d+kW":function(e,t,n){"use strict";e.exports=n("JyGs"),e.exports.default=e.exports},"d+p3":function(e,t,n){"use strict";var i=n("1LL4");e.exports={_getEmptyCell:function(){return{text:"",value:void 0,colspan:1,rowspan:1}},_defaultSetter:function(e){return e||1},_cloneItem:function(e){return(0,i.extend)({},e,this._getEmptyCell())},_prepareItems:function(e){var t=this,n=[],i=(e[0]||[]).reduce((function(e,n){return e+t._defaultSetter(n.colspan)}),0),r=function(e){var n=0,i=0;return function(){var r=e[n]||[],o=r[i++];return i>=r.length&&(n++,i=0),o&&(o.colspan=t._defaultSetter(o.colspan),o.rowspan=t._defaultSetter(o.rowspan)),o}}(e);function o(e,i,r){if((n[e]=n[e]||[])[i]=r,r.colspan>1||r.rowspan>1){for(var s=t._cloneItem(r),a=1;a<r.colspan;a++)o(e,i+a,s);for(var l=1;l<r.rowspan;l++)for(var c=0;c<r.colspan;c++)o(e+l,i+c,s)}}for(var s=r(),a=0;s;){for(var l=0;l<i&&s;l++)n[a]&&n[a][l]||(o(a,l,s),l+=s.colspan-1,s=r());a++}return n}}},dNwA:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dRNr:function(e,t,n){"use strict";var i=n("cGv3"),r=i.hasWindow()?i.getWindow():{},o=n("heGP"),s=function(e){return setTimeout(e,1e3/60)},a=function(e){clearTimeout(e)},l=o((function(){var e=r.requestAnimationFrame||r.webkitRequestAnimationFrame||r.mozRequestAnimationFrame||r.oRequestAnimationFrame||r.msRequestAnimationFrame,t=r.cancelAnimationFrame||r.webkitCancelAnimationFrame||r.mozCancelAnimationFrame||r.oCancelAnimationFrame||r.msCancelAnimationFrame;if(e&&t&&(s=e,a=t),e&&!t){var n={};s=function(t){var i=e.call(r,(function(){try{if(i in n)return;t.apply(this,arguments)}finally{delete n[i]}}));return i},a=function(e){n[e]=!0}}}));t.requestAnimationFrame=function(){return l(),s.apply(r,arguments)},t.cancelAnimationFrame=function(){l(),a.apply(r,arguments)}},dScr:function(e,t,n){"use strict";var i=l(n("FKN7")),r=n("KAnu"),o=n("v4HY"),s=n("vlix"),a=n("1LL4");
1function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t,n){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(m,e);var t,n,l,c=(n=m,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(n);if(l){var i=f(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return p(this,e)});function m(){return u(this,m),c.apply(this,arguments)}return(t=[{key:"_getDefaultOptions",value:function(){return(0,a.extend)(d(f(m.prototype),"_getDefaultOptions",this).call(this),{orientation:"horizontal",tabIndex:null,onHoverStart:r.noop})}},{key:"_initDataAdapter",value:function(){this._dataAdapter=this.option("_dataAdapter"),this._dataAdapter||d(f(m.prototype),"_initDataAdapter",this).call(this)}},{key:"_renderContentImpl",value:function(){this._renderContextMenuOverlay(),d(f(m.prototype),"_renderContentImpl",this).call(this);var e=this._dataAdapter.getNodeByKey(this.option("_parentKey"));e&&this._renderItems(this._getChildNodes(e)),this._renderDelimiter()}},{key:"_renderDelimiter",value:function(){this.$contentDelimiter=(0,i.default)("<div>").appendTo(this._itemContainer()).addClass("dx-context-menu-content-delimiter")}},{key:"_getOverlayOptions",value:function(){return(0,a.extend)(d(f(m.prototype),"_getOverlayOptions",this).call(this),{onPositioned:this._overlayPositionedActionHandler.bind(this)})}},{key:"_overlayPositionedActionHandler",value:function(e){this._showDelimiter(e)}},{key:"_hoverEndHandler",value:function(e){d(f(m.prototype),"_hoverEndHandler",this).call(this,e),this._toggleFocusClass(!1,e.currentTarget)}},{key:"_isMenuHorizontal",value:function(){return"horizontal"===this.option("orientation")}},{key:"_hoverStartHandler",value:function(e){this.option("onHoverStart")(e),d(f(m.prototype),"_hoverStartHandler",this).call(this,e),this._toggleFocusClass(!0,e.currentTarget)}},{key:"_drawSubmenu",value:function(e){this._actions.onShowing({rootItem:(0,o.getPublicElement)(e),submenu:this}),d(f(m.prototype),"_drawSubmenu",this).call(this,e),this._actions.onShown({rootItem:(0,o.getPublicElement)(e),submenu:this})}},{key:"_hideSubmenu",value:function(e){this._actions.onHiding({cancel:!0,rootItem:(0,o.getPublicElement)(e),submenu:this}),d(f(m.prototype),"_hideSubmenu",this).call(this,e),this._actions.onHidden({rootItem:(0,o.getPublicElement)(e),submenu:this})}},{key:"_showDelimiter",value:function(e){if(this.$contentDelimiter){var t=this._itemContainer().children(".".concat("dx-submenu")).eq(0),n=this.option("position").of,i={of:t},r=e.position,o=r.v.location,a=r.h.location,l=n.offset(),c=Math.round(l.left),u=Math.round(l.top),d=n.width(),h=n.height(),p=t.width(),f=t.height();this.$contentDelimiter.css("display","block"),this.$contentDelimiter.width(this._isMenuHorizontal()?d<p?d-2:p:2),this.$contentDelimiter.height(this._isMenuHorizontal()?2:h<f?h-2:f),this._isMenuHorizontal()?o>u?Math.round(a)===c?(i.offset="1 -1",i.at=i.my="left top"):(i.offset="-1 -1",i.at=i.my="right top"):(this.$contentDelimiter.height(5),Math.round(a)===c?(i.offset="1 4",i.at=i.my="left bottom"):(i.offset="-1 2",i.at=i.my="right bottom")):a>c?Math.round(o)===u?(i.offset="-1 1",i.at=i.my="left top"):(i.offset="-1 -1",i.at=i.my="left bottom"):Math.round(o)===u?(i.offset="1 1",i.at=i.my="right top"):(i.offset="1 -1",i.at=i.my="right bottom"),(0,s.setup)(this.$contentDelimiter,i)}}},{key:"_getContextMenuPosition",value:function(){return this.option("position")}},{key:"isOverlayVisible",value:function(){return this._overlay.option("visible")}},{key:"getOverlayContent",value:function(){return this._overlay.$content()}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(m.prototype,t),m}(l(n("zrYi")).default);e.exports=m},dSvQ:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("cho7")),r=s(n("vl4V")),o=s(n("TO02"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={CanvasRenderer:i.default,SVGRenderer:r.default,ObjectRenderer:o.default}},dYUP:function(e,t,n){"use strict";var i=g(n("eWCF")),r=n("ti0F"),o=g(n("zl3R")),s=n("XpgS"),a=g(n("/7L9")),l=n("S3Ua"),c=n("/DUC"),u=n("FwfD"),d=g(n("Y0yK")),h=g(n("URBM")),p=n("A8u/"),f=g(n("Bhoz")),m=g(n("cWtc"));function g(e){return e&&e.__esModule?e:{default:e}}var _="undefined"!=typeof Intl,b={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",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"},v={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"]},y=(0,i.default)({engine:function(){return"base"},_getPatternByFormat:function(e){return b[e.toLowerCase()]},_expandPattern:function(e){return this._getPatternByFormat(e)||e},formatUsesMonthName:function(e){return-1!==this._expandPattern(e).indexOf("MMMM")},formatUsesDayName:function(e){return-1!==this._expandPattern(e).indexOf("EEEE")},getFormatParts:function(e){var t=this._getPatternByFormat(e)||e,n=[];return o.default.each(t.split(/\W+/),(function(e,t){o.default.each(v,(function(e,i){(0,s.inArray)(t,i)>-1&&n.push(e)}))})),n},getMonthNames:function(e){return d.default.getMonthNames(e)},getDayNames:function(e){return d.default.getDayNames(e)},getQuarterNames:function(e){return d.default.getQuarterNames(e)},getPeriodNames:function(e){return d.default.getPeriodNames(e)},getTimeSeparator:function(){return":"},is24HourFormat:function(e){for(var t=new Date(2017,0,20,11,0,0,0),n=new Date(2017,0,20,23,0,0,0),i=this.format(t,e),r=this.format(n,e),o=0;o<i.length;o++)if(i[o]!==r[o])return!isNaN(parseInt(i[o]))},format:function(e,t){if(e){if(!t)return e;var n;if("function"==typeof t)n=t;else if(t.formatter)n=t.formatter;else if((0,r.isString)(t=t.type||t))return t=b[t.toLowerCase()]||t,f.default.convertDigits((0,l.getFormatter)(t,this)(e));if(n)return n(e)}},parse:function(e,t){var n,i=this;if(e){if(!t)return this.parse(e,"shortdate");if(t.parser)return t.parser(e);if("string"!=typeof t||b[t.toLowerCase()])try{n=(0,c.getFormat)((function(e){var n=i.format(e,t);return f.default.convertDigits(n,!0)}))}catch(o){}else n=t;if(n)return e=f.default.convertDigits(e,!0),(0,u.getParser)(n,this)(e);a.default.log("W0012");var r=new Date(e);if(r&&!isNaN(r.getTime()))return r}},firstDayOfWeekIndex:function(){var e=(0,p.getValueByClosestLocale)((function(e){return h.default[e]}));return void 0===e?0:e}});_&&y.inject(m.default),e.exports=y},drlf:function(e,t,n){"use strict";var i=m(n("FKN7")),r=m(n("GYHJ")),o=m(n("KAnu")),s=m(n("cGv3")),a=n("zl3R"),l=m(n("ti0F")),c=m(n("8S5z")),u=m(n("imRD")),d=n("tJvG"),h=m(n("tUd6")),p=m(n("uHaw")),f=m(n("Yt8F"));function m(e){return e&&e.__esModule?e:{default:e}}var g=["columnsSeparatorView","blockSeparatorView","trackerView","headerPanel","columnHeadersView","rowsView","footerView","columnChooserView","filterPanelView","pagerView","draggingHeaderView","contextMenuView","errorView","headerFilterView","filterBuilderView"],_=function(e){return l.default.isString(e)&&"%"===e.slice(-1)},b=function(e,t){var n=[];if(e&&t&&e.length&&e.length===t.length)for(var i=0;i<e.length;i++)n.push(e[i]>t[i]?e[i]:t[i]);else e&&e.length?n=e:t&&(n=t);return n},v=function(e,t){var n=e._rowsView.contentWidth();return n-e._getTotalWidth(t,n)},y=function(e,t,n,i){return v(e,i.map((function(e,i){return i===t?n:e})))},w=function(e,t){f.default.hiddenFocus(e),c.default.setSelectionRange(e,t)},C=r.default.ViewController.inherit({_initPostRenderHandlers:function(){var e=this,t=e._dataController;e._refreshSizesHandler||(e._refreshSizesHandler=function(n){var i;t.changed.remove(e._refreshSizesHandler);var r=n&&n.changeType,s=n&&n.isDelayed,a=t.items();n&&"refresh"!==r&&"prepend"!==r&&"append"!==r?"update"===r&&n.changeTypes&&(!(a.length>1||"insert"!==n.changeTypes[0])||0===a.length&&"remove"===n.changeTypes[0]||n.needUpdateDimensions?i=e.resize():o.default.deferUpdate((function(){e._rowsView.resize()}))):s||(i=e.resize()),r&&"updateSelection"!==r&&"updateFocusedRow"!==r&&!s&&(0,d.when)(i).done((function(){e._setAriaRowColCount(),e.fireContentReadyAction()}))},e._dataController.changed.add((function(){e._dataController.changed.add(e._refreshSizesHandler)})))},fireContentReadyAction:function(){this.component._fireContentReadyAction()},_setAriaRowColCount:function(){var e=this.component;e.setAria({rowCount:this._dataController.totalItemsCount(),colCount:e.columnCount()},e.$element().children(".dx-gridbase-container"))},_getBestFitWidths:function(){if(!this.option("legacyRendering"))return this._rowsView.getColumnWidths();var e=this._rowsView.getColumnWidths(),t=this._columnHeadersView&&this._columnHeadersView.getColumnWidths(),n=this._footerVie
1w&&this._footerView.getColumnWidths(),i=b(e,t);return b(i,n)},_setVisibleWidths:function(e,t){var n=this._columnsController;n.beginUpdate(),(0,a.each)(e,(function(e,i){var r=n.getColumnId(i);n.columnOption(r,"visibleWidth",t[e])})),n.endUpdate()},_toggleBestFitModeForView:function(e,t,n){var r=this;if(e&&e.isVisible()){var o=this._rowsView.getTableElements(),s=e.getTableElements();(0,a.each)(o,(function(e,o){var a,l=(0,i.default)(o),c=s.eq(e);c&&c.length&&((a=n?c.children("tbody").appendTo(l):l.children("."+t).appendTo(c)).toggleClass(t,n),a.toggleClass(r.addWidgetPrefix("best-fit"),n))}))}},_toggleBestFitMode:function(e){var t=this.component.$element();if(this.option("legacyRendering"))t.find("."+this.addWidgetPrefix("table")).toggleClass(this.addWidgetPrefix("table-fixed"),!e),t.find("input:not([type='hidden'])").toggleClass("dx-hidden",e),t.find(".dx-group-cell").toggleClass("dx-hidden",e),t.find(".dx-header-row ."+this.addWidgetPrefix("text-content")).css("maxWidth","");else{var n=this._rowsView._getTableElement(),i=this._rowsView.getTableElements().eq(1);if(!n)return;n.css("tableLayout",e?"auto":"fixed"),n.children("colgroup").css("display",e?"none":""),i.toggleClass(this.addWidgetPrefix("table-fixed"),!e),this._toggleBestFitModeForView(this._columnHeadersView,"dx-header",e),this._toggleBestFitModeForView(this._footerView,"dx-footer",e),this._needStretch()&&(n.get(0).style.width=e?"auto":""),p.default.msie&&11===parseInt(p.default.version)&&n.find("."+this.addWidgetPrefix("table-fixed")).each((function(){this.style.width=e?"10px":""}))}},_synchronizeColumns:function(){var e,t,n,i=this,r=i._columnsController,s=r.getVisibleColumns(),u=i.option("columnAutoWidth"),d=i.option("legacyRendering"),f=i._needBestFit(),m=!1,g=!1,_=[];!f&&(0,a.each)(s,(function(e,t){if("auto"===t.width||d&&t.fixed)return f=!0,!1})),(0,a.each)(s,(function(e,t){if(t.minWidth)return m=!0,!1})),i._setVisibleWidths(s,[]),f&&(t=h.default.getActiveElement(),n=c.default.getSelectionRange(t),i._toggleBestFitMode(!0),e=!0),o.default.deferUpdate((function(){var c;f?(_=i._getBestFitWidths(),(0,a.each)(s,(function(e,t){var n=r.getColumnId(t);r.columnOption(n,"bestFitWidth",_[e],!0)}))):m&&(_=i._getBestFitWidths()),(0,a.each)(s,(function(e){var t=this.width;"auto"!==t&&(l.default.isDefined(t)?_[e]=l.default.isNumeric(t)||function(e){return l.default.isString(e)&&"px"===e.slice(-2)}(t)?parseFloat(t):t:u||(_[e]=void 0))})),e&&(i._toggleBestFitMode(!1),e=!1,t&&t!==h.default.getActiveElement()&&(t.getBoundingClientRect().bottom<0||(p.default.msie?setTimeout((function(){w(t,n)})):w(t,n)))),g=i._correctColumnWidths(_,s),u&&((0,a.each)(s,(function(e,t){"groupExpand"===t.type&&(c=_[e])})),(0,a.each)(s,(function(e,t){"groupExpand"===t.type&&c&&(_[e]=c)})),i._needStretch()&&i._processStretch(_,s)),o.default.deferRender((function(){(f||g)&&i._setVisibleWidths(s,_)}))}))},_needBestFit:function(){return this.option("columnAutoWidth")},_needStretch:function(){return this.option("legacyRendering")||this._columnsController.getVisibleColumns().some((function(e){return"auto"===e.width&&!e.command}))},_getAverageColumnsWidth:function(e){return v(this,e)/e.filter((function(e){return void 0===e})).length},_correctColumnWidths:function(e,t){var n,i=!1,r=!1,o=!1,s=this.component.$element(),a=this._hasWidth;for(n=0;n<t.length;n++){var u=n,d=t[u],h="adaptiveHidden"===e[u],p=e[u],f=d.minWidth;f&&(void 0===p?p=this._getAverageColumnsWidth(e):_(p)&&y(this,u,f,e)<0&&(p=-1)),f&&this._getRealColumnWidth(p)<f&&!h&&(e[u]=f,o=!0,n=-1),l.default.isDefined(d.width)||(r=!0),_(d.width)&&(i=!0)}if(s&&this._maxWidth&&(delete this._maxWidth,s.css("maxWidth","")),!r&&e.length){var m=this._rowsView.contentWidth(),g=this._rowsView.getScrollbarWidth(),b=this._getTotalWidth(e,m);if(b<m){var v=c.default.getLastResizableColumnIndex(t,e);v>=0&&(e[v]="auto",o=!0,!1!==a||i||(this._maxWidth=b+g+(this.option("showBorders")?2:0),s.css("maxWidth",this._maxWidth)))}}return o},_processStretch:function(e,t){var n=this._rowsView.contentWidth(),i=this._getTotalWidth(e,n),r={length:0};if(e.length){(0,a.each)(t,(function(t){(this.width||"adaptiveHidden"===e[t])&&(r[t]=!0,r.length++)}));var o=n-i,s=Math.floor(o/(e.length-r.length)),l=o-s*(e.length-r.length);if(o>=0)for(var c=0;c<e.length;c++)r[c]||(e[c]+=s,l>0&&(l<1?(e[c]+=l,l=0):(e[c]++,l--)))}},_getRealColumnWidth:function(e,t){return _(e)?(t=t||this._rowsView.contentWidth(),parseFloat(e)*t/100):parseFloat(e)},_getTotalWidth:function(e,t){for(var n=0,i=0;i<e.length;i++){var r=e[i];r&&"adaptiveHidden"!==r&&(n+=this._getRealColumnWidth(r,t))}return n},updateSize:function(e){var t,n,i,r=this.addWidgetPrefix("important-margin");void 0===this._hasHeight&&e&&e.is(":visible")&&e.width()&&((t=e.children("."+this.getWidgetContainerClass())).length&&t.detach(),this._hasHeight=!!((i=e).get(0).clientHeight-parseFloat(i.css("paddingTop"))-parseFloat(i.css("paddingBottom"))),n=e.width(),e.addClass(r),this._hasWidth=e.width()===n,e.removeClass(r),t.length&&t.appendTo(e))},publicMethods:function(){return["resize","updateDimensions"]},resize:function(){return!this.component._requireResize&&this.updateDimensions()},updateDimensions:function(e){var t=this;if(t._initPostRenderHandlers(),t._checkSize(e)){var n=t._resizeDeferred,i=t._resizeDeferred=new d.Deferred;return(0,d.when)(n).always((function(){o.default.deferRender((function(){t._dataController.isLoaded()&&t._synchronizeColumns(),t._resetGroupElementHeight(),o.default.deferUpdate((function(){o.default.deferRender((function(){o.default.deferUpdate((function(){t._updateDimensionsCore()}))}))}))})).done(i.resolve).fail(i.reject)})),i.promise()}},_resetGroupElementHeight:function(){var e=this.component.$element().children().get(0),t=this._rowsView.getScrollable();!e||!e.style.height||t&&t.scrollTop()||(e.style.height="")},_checkSize:function(e){var t=this.component.$element();return!(e&&(this._lastWidth===t.width()&&this._lastHeight===t.height()||!t.is(":visible")))},_setScrollerSpacingCore:function(e){var t=this,n=e?t._rowsView.getScrollbarWidth():0,i=t._rowsView.getScrollbarWidth(!0);o.default.deferRender((function(){t._columnHeadersView&&t._columnHeadersView.setScrollerSpacing(n),t._footerVie
1w&&t._footerView.setScrollerSpacing(n),t._rowsView.setScrollerSpacing(n,i)}))},_setScrollerSpacing:function(e){var t=this;!0===this.option("scrolling.useNative")?o.default.deferRender((function(){o.default.deferUpdate((function(){t._setScrollerSpacingCore(e)}))})):this._setScrollerSpacingCore(e)},_updateDimensionsCore:function(){var e,t=this,n=t._dataController,r=t._rowsView,s=t.component.$element(),l=s.children().get(0),c=s&&(s.get(0).clientHeight||s.height()),u=parseInt(s.css("maxHeight")),d=u&&c>=u,h=t.option("height")||s.get(0).style.height,p=t.getController("editorFactory"),f=d&&l.scrollHeight===l.offsetHeight;t.updateSize(s);var m=t._hasHeight||d;h&&t._hasHeight^"auto"!==h&&(e=(0,i.default)("<div>").height(h).appendTo(s),t._hasHeight=!!e.height(),e.remove()),o.default.deferRender((function(){r.height(null,m),d&&!f&&(0,i.default)(l).css("height",u),n.isLoaded()?o.default.deferUpdate((function(){t._updateLastSizes(s),t._setScrollerSpacing(m),(0,a.each)(g,(function(e,n){var i=t.getView(n);i&&i.resize()})),p&&p.resize()})):r.setLoading(n.isLoading())}))},_updateLastSizes:function(e){this._lastWidth=e.width(),this._lastHeight=e.height()},optionChanged:function(e){switch(e.name){case"width":case"height":this.component._renderDimensions(),this.resize();case"legacyRendering":case"renderAsync":return void(e.handled=!0);default:this.callBase(e)}},init:function(){this._dataController=this.getController("data"),this._columnsController=this.getController("columns"),this._columnHeadersView=this.getView("columnHeadersView"),this._footerView=this.getView("footerView"),this._rowsView=this.getView("rowsView")}}),x=r.default.ViewController.inherit({_scrollChangedHandler:function(e,t,n){for(var i=0;i<e.length;i++)e[i]&&e[i].name!==n&&e[i].scrollTo({left:t.left,top:t.top})},init:function(){for(var e=[this.getView("columnHeadersView"),this.getView("footerView"),this.getView("rowsView")],t=0;t<e.length;t++){var n=e[t];n&&n.scrollChanged.add(this._scrollChangedHandler.bind(this,e))}}}),S=r.default.View.inherit({_endUpdateCore:function(){this.component._requireResize&&(this.component._requireResize=!1,this._resizingController.resize())},_getWidgetAriaLabel:function(){return"dxDataGrid-ariaDataGrid"},init:function(){this._resizingController=this.getController("resizing"),this._dataController=this.getController("data")},getView:function(e){return this.component._views[e]},element:function(){return this._groupElement},optionChanged:function(e){l.default.isDefined(this._groupElement)&&"showBorders"===e.name?(this._groupElement.toggleClass(this.addWidgetPrefix("borders"),!!e.value),e.handled=!0):this.callBase(e)},_renderViews:function(e){var t=this;(0,a.each)(g,(function(n,i){var r=t.getView(i);r&&r.render(e)}))},_getTableRoleName:function(){return"grid"},render:function(e){var t=!this._groupElement,n=this._groupElement||(0,i.default)("<div>").addClass(this.getWidgetContainerClass());n.addClass("dx-gridbase-container"),n.toggleClass(this.addWidgetPrefix("borders"),!!this.option("showBorders")),this.setAria("role","presentation",e),this.component.setAria({role:this._getTableRoleName(),label:u.default.format(this._getWidgetAriaLabel())},n),this._rootElement=e||this._rootElement,t&&(this._groupElement=n,s.default.hasWindow()&&this.getController("resizing").updateSize(e),n.appendTo(e)),this._renderViews(n)},update:function(){var e=this._rootElement,t=this._groupElement,n=this.getController("resizing");e&&t&&(n.resize(),this._dataController.isLoaded()&&this._resizingController.fireContentReadyAction())}});e.exports={defaultOptions:function(){return{showBorders:!1,renderAsync:!1,legacyRendering:!1}},controllers:{resizing:C,synchronizeScrolling:x},views:{gridView:S}}},"e+ae":function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var o=e+" ";switch(n){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";
vendor: 1,866 bytes, line 1
1case"ss":return t||r?o+(i(e)?"sekundy":"sek\xfand"):o+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?o+(i(e)?"min\xfaty":"min\xfat"):o+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?o+(i(e)?"hodiny":"hod\xedn"):o+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?o+(i(e)?"dni":"dn\xed"):o+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?o+(i(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?o+(i(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},e0El:function(e,t,n){"use strict";var i=n("XWek"),r=n("jeLr"),o=n("TEOj"),s=n("zl3R").each,a=n("JDOJ"),l=n("1LL4").extend,c=n("
1Cc4C"),u={onStart:i.start,onUpdated:i.swipe,onEnd:i.end,onCancel:"dxswipecancel"},d=o.inherit({_getDefaultOptions:function(){return l(this.callBase(),{elastic:!0,immediate:!1,direction:"horizontal",itemSizeFunc:null,onStart:null,onUpdated:null,onEnd:null,onCancel:null})},_render:function(){this.callBase(),this.$element().addClass("dx-swipeable"),this._attachEventHandlers()},_attachEventHandlers:function(){if(this._detachEventHandlers(),!this.option("disabled")){var e=this.NAME;this._createEventData(),s(u,(function(t,n){var i=this._createActionByOption(t,{context:this});n=a.addNamespace(n,e),r.on(this.$element(),n,this._eventData,(function(e){return i({event:e})}))}).bind(this))}},_createEventData:function(){this._eventData={elastic:this.option("elastic"),itemSizeFunc:this.option("itemSizeFunc"),direction:this.option("direction"),immediate:this.option("immediate")}},_detachEventHandlers:function(){r.off(this.$element(),".dxSwipeable")},_optionChanged:function(e){switch(e.name){case"disabled":case"onStart":case"onUpdated":case"onEnd":case"onCancel":case"elastic":case"immediate":case"itemSizeFunc":case"direction":this._detachEventHandlers(),this._attachEventHandlers();break;case"rtlEnabled":break;default:this.callBase(e)}}});c.name(d,"dxSwipeable"),e.exports=d},e5PH:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n("XDlg"),o=n("yxXJ"),s=n("KAnu"),a=n("ti0F"),l=n("1LL4").extend,c=n("OdII"),u=n("+12O"),d=n("V2fm"),h=n("tJvG").Deferred,p=l({},c,{_dataExpressionDefaultOptions:function(){return{items:[],dataSource:null,itemTemplate:"item",value:null,valueExpr:"this",displayExpr:void 0}},_initDataExpressions:function(){this._compileValueGetter(),this._compileDisplayGetter(),this._initDynamicTemplates(),this._initDataSource(),this._itemsToDataSource()},_itemsToDataSource:function(){this.option("dataSource")||(this._dataSource=new u.DataSource({store:new d(this.option("items")),pageSize:0}))},_compileDisplayGetter:function(){this._displayGetter=o.compileGetter(this._displayGetterExpr())},_displayGetterExpr:function(){return this.option("displayExpr")},_compileValueGetter:function(){this._valueGetter=o.compileGetter(this._valueGetterExpr())},_valueGetterExpr:function(){return this.option("valueExpr")||"this"},_loadValue:function(e){var t=new h;return e=this._unwrappedValue(e),a.isDefined(e)?(this._loadSingle(this._valueGetterExpr(),e).done((function(n){this._isValueEquals(this._valueGetter(n),e)?t.resolve(n):t.reject()}).bind(this)).fail((function(){t.reject()})),t.promise()):t.reject().promise()},_getCurrentValue:function(){return this.option("value")},_unwrappedValue:function(e){return(e=a.isDefined(e)?e:this._getCurrentValue())&&this._dataSource&&"this"===this._valueGetterExpr()&&(e=this._getItemKey(e)),r.unwrap(e)},_getItemKey:function(e){var t=this._dataSource.key();if(Array.isArray(t)){for(var n={},r=0,o=t.length;r<o;r++)n[t[r]]=e[t[r]];return n}return t&&"object"===i(e)&&(e=e[t]),e},_isValueEquals:function(e,t){var n=this._dataSource&&this._dataSource.key(),i=a.isDefined,r=this._compareValues(e,t);return!r&&n&&i(e)&&i(t)&&(r=Array.isArray(n)?this._compareByCompositeKey(e,t,n):this._compareByKey(e,t,n)),r},_compareByCompositeKey:function(e,t,n){var i=a.isObject;if(!i(e)||!i(t))return!1;for(var r=0,o=n.length;r<o;r++)if(e[n[r]]!==t[n[r]])return!1;return!0},_compareByKey:function(e,t,n){var i=s.ensureDefined,o=r.unwrap,a=i(o(e[n]),e),l=i(o(t[n]),t);return this._compareValues(a,l)},_compareValues:function(e,t){return o.toComparable(e,!0)===o.toComparable(t,!0)},_initDynamicTemplates:s.noop,_setCollectionWidgetItemTemplate:function(){this._initDynamicTemplates(),this._setCollectionWidgetOption("itemTemplate",this.option("itemTemplate"))},_getCollectionKeyExpr:function(){var e=this.option("valueExpr");return a.isString(e)&&"this"!==e||a.isFunction(e)?e:null},_dataExpressionOptionChanged:function(e){switch(e.name){case"items":this._itemsToDataSource(),this._setCollectionWidgetOption("items");break;case"dataSource":this._initDataSource();break;case"itemTemplate":this._setCollectionWidgetItemTemplate();break;case"valueExpr":this._compileValueGetter();break;case"displayExpr":this._compileDisplayGetter(),this._initDynamicTemplates(),this._setCollectionWidgetOption("displayExpr")}}});e.exports=p},e8y9:function(e,t,n){"use strict";var i=n("/7L9"),r=n("tJvG").when;function o(e){var t=[],n=!1;function o(){for(;t.length;){n=!0;var e=t.shift()();if(void 0!==e){if(e.then)return void r(e).always(o);throw i.Error("E0015")}}n=!1}return{add:function(i,r){e?(t[0]&&r&&r(t[0]),t=[i]):t.push(i),n||o()},busy:function(){return n}}}t.create=o,t.enqueue=o().add},"eBB/":function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionTemplate=void 0;var i=n("PfKZ"),r=n("v4HY");function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.FunctionTemplate=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(c,e);var t,n,i,o=(n=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(n);if(i){var r=l(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return a(this,e)});function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=o.call(this))._render=e,t}return(t=[{key:"_renderCore",value:function(e){return(0,r.normalizeTemplateElement)(this._render(e))}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(c.prototype,t),c}(i.TemplateBase)},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("l7GE"),r=n("51Dv"),o=n("ZUHj"),s=n("lJxs"),a=n("Cfvw");function l(e,t){return"function"==typeof t?n=>n.pipe(l((n,i)=>Object(a.a)(e(n,i)).pipe(Object(s.a)((e,r)=>t(n,e,i,r))))):t=>t.lift(new c(e))}class c{constructor(e){this.project=e}call(e,t){return t.subscribe(new u(e,this.project))}}class u extends i.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)}_innerSub(e,t,n){const i=this.innerSubscription;i&&i.unsubscribe();const s=new r.a(this,t,n),a=this.destination;a.add(s),this.innerSubscription=Object(o.a)(this,e,void 0,void 0,s),this.innerSubscription!==s&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,i,r){this.destination.next(t)}}},eNwd:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("3N8a");class r extends i.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var o=n("IjjT");class s extends o.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i<r&&(e=t.shift()));if(this.active=!1,n){for(;++i<r&&(e=t.shift());)e.unsubscribe();throw n}}}const a=new s(r)},eWCF:function(e,t,n){"use strict";e.exports=function(e){var t=n("1LL4").extend,i=n("ti0F").isFunction,r=n("zl3R").each,o=n("5qrJ").inherit(e),s=o,a=new s(e),l={},c=function(t,n){r(t,(function(t){i(a[t])?!n&&e[t]||(e[t]=function(){return a[t].apply(e,arguments)}):(n&&(l[t]=e[t]),e[t]=a[t])}))};return c(e,!0),e.inject=function(e){s=s.inherit(e),a=new s,c(e)},e.resetInjection=function(){t(e,l),s=o,a=new o},e}},efHi:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.marginTop=e.marginTop||e.margin,e.marginBottom=e.marginBottom||e.margin,e.marginRight=e.marginRight||e.margin,e.marginLeft=e.marginLeft||e.margin,e}},ewzI:function(e,t,n){"use strict";n.d(t,"a",(function(){return L}));var i=n("AytR"),r=n("tk/3"),o=n("LRne"),s=n("z6cu"),a=n("EY2u"),l=n("XNiG"),c=n("l7GE"),u=n("ZUHj");class d{constructor(e,t){this.notifier=e,this.source=t}call(e,t){return t.subscribe(new h(e,this.notifier,this.source))}}class h extends c.a{constructor(e,t,n){super(e),this.notifier=t,this.source=n}error(e){if(!this.isStopped){let n=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{n=new l.a;try{const{notifier:e}=this;i=e(n)}catch(t){return super.error(t)}r=Object(u.a)(this,i)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=r,n.next(e)}}_unsubscribe(){const{errors:e,retriesSubscription:t}=this;e&&(e.unsubscribe(),this.errors=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null}notifyNext(e,t,n,i,r){const{_unsubscribe:o}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=o,this.source.subscribe(this)}}var p=n("3E0/"),f=n("5+tZ"),m=n("lJxs"),g=n("JIr8"),_=n("3N8a");class b extends _.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var v=n("IjjT");class y extends v.a{}const w=new y(b);var C=n("quSY"),x=n("7o/Q"),S=n("WMd4");class k extends x.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(k.dispatch,this.delay,new T(e,this.destination)))}_next(e){this.scheduleMessage(S.a.createNext(e))}_error(e){this.scheduleMessage(S.a.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(S.a.createComplete()),this.unsubscribe()}}class T{constructor(e,t){this.notification=e,this.destination=t}}var E=n("9ppp"),I=n("Ylt2");class D extends l.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new M(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let o;if(this.closed)throw new E.a;if(this.isStopped||this.hasError?o=C.a.EMPTY:(this.observers.push(e),o=new I.a(this,e)),i&&e.add(e=new k(e,i)),t)for(let s=0;s<r&&!e.closed;s++)e.next(n[s]);else for(let s=0;s<r&&!e.closed;s++)e.next(n[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||w).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,r=i.length;let o=0;for(;o<r&&!(e-i[o].time<n);)o++;return r>t&&(o=Math.max(o,r-t)),o>0&&i.splice(0,o),i}}class M{constructor(e,t){this.time=e,this.value=t}}function O(e,t,n){let i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let r,o,s=0,a=!1,l=!1;return function(c){s++,r&&!a||(a=!1,r=new D(e,t,i),o=c.subscribe({next(e){r.next(e)},error(e){a=!0,r.error(e)},complete(){l=!0,o=void 0,r.complete()}}));const u=r.subscribe(this);this.add(()=>{s--,u.unsubscribe(),o&&!l&&n&&0===s&&(o.unsubscribe(),o=void 0,r=void 0)})}}(i))}var R=n("fXoL");let L=(()=>{class e{constructor(e){this.http=e,this.apiUrl=i.a.apiUrl,this.commonHeaders=new r.d({Authorization:"Bearer YxeUWAcRsTM2VL7quDOX16yhWRwOjl7fwx1JUX5P0LSybccYYHaOXplfkEG82Pc",YAppKey:"c46dc602-84a9"})}delayedRetry(e,t=5){let n=t;return i=>{return i.pipe((r=i=>i.pipe(Object(p.a)(e),Object(f.a)(e=>n-- >0?Object(o.a)(e):Object(s.a)((e=>`Tried to load resource over XHR for ${e}times without success.Giving up.`)(t)))),e=>e.lift(new d(r,e))));var r}}get(e,t,n){return this.url=this.apiUrl+e,this.http.get(this.url,{headers:this.commonHeaders,params:t}).pipe(Object(m.a)(e=>e)).pipe(this.delayedRetry(1e3,3),Object(g.a)(e=>(console.error(e),a.a)),O())}post(e,t,n,i){this.url=this.apiUrl+e;const r={headers:this.commonHeaders,params:n};return this.body=t,this.http.post(this.url,this.body,r).pipe(Object(m.a)(e=>e)).pipe(this.delayedRetry(1e3,3),Object(g.a)(e=>(console.error(e),a.a)),O())}put(e,t,n,i){this.url=this.apiUrl+e;const r={headers:this.commonHeaders,params:n};return this.body=t,this.http.put(this.url,this.body,r).pipe(Object(m.a)(e=>e)).pipe(this.delayedRetry(1e3,3),Object(g.a)(e=>(console.error(e),a.a)),O())}delete(e,t,n){return this.url=this.apiUrl+e,this.http.delete(this.url,{headers:this.commonHeaders,params:t}).pipe(Object(m.a)(e=>e)).pipe(this.delayedRetry(1e3,3),Object(g.a)(e=>(console.error(e),a.a)),O())}}return e.\u0275fac=function(t){return new(t||e)(R.Wb(r.b))},e.\u0275prov=R.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},f6AH:function(e,t,n){"use strict";var i=n("FKN7"),r=n("0osO"),o=n("D6VQ"),s=n("1LL4").extend,a=n("wjBO").inherit({_getDefaultOptions:function(){return s(this.callBase(),{toolbarItems:[],showCloseButton:!1,showTitle:!1,title:null,titleTemplate:null,onTitleRendered:null,bottomTemplate:null,propagateOutsideClick:!0})},_render:function(){this.$element().addClass("dx-tooltip"),this._wrapper().addClass("dx-tooltip-wrapper"),this.callBase()},_renderContent:function(){this.callBase(),this._contentId="dx-"+new r,this._$content.attr({id:this._contentId,role:"tooltip"}),this._toggleAriaDescription(!0)},_toggleAriaDescription:function(e){var t=i(this.option("target"));this.setAria("describedby",e?this._contentId:void 0,t)}});o("dxTooltip",a),e.exports=a},f7cP:function(e,t,n){"use strict";e.exports={_menuEnabled:function(){return!!this._menuItems().length},_menuItems:function(){return this._list.option("menuItems")},_deleteEnabled:function(){return this._list.option("allowItemDeleting")},_fireMenuAction:function(e,t){this._list._itemEventHandlerByHandler(e,t,{},{excludeValidators:["disabled","readOnly"]}
1)}}},f94d:function(e,t,n){"use strict";var i,r=h(n("FKN7")),o=h(n("tUd6")),s=n("ti0F"),a=n("yxXJ"),l=n("zl3R"),c=n("8S5z"),u=h(n("imRD")),d=h(n("Q7sy"));function h(e){return e&&e.__esModule?e:{default:e}}function p(e){return(0,s.isDefined)(e.allowSearch)?e.allowSearch:e.allowFiltering}function f(e,t){var n=e.lookup;return e.parseValue?n?e.parseValue.call(n,t):e.parseValue(t):t}e.exports={defaultOptions:function(){return{searchPanel:{visible:!1,width:160,placeholder:u.default.format("dxDataGrid-searchPanelPlaceholder"),highlightSearchText:!0,highlightCaseSensitive:!1,text:"",searchVisibleColumnsOnly:!1}}},extenders:{controllers:{data:{publicMethods:function(){return this.callBase().concat(["searchByText"])},_calculateAdditionalFilter:function(){var e=this.callBase(),t=function(e,t){var n,i,r,o=e._columnsController.getColumns(),s=e.option("searchPanel.searchVisibleColumnsOnly"),l=[];if(!t)return null;function u(e){for(var t=(0,a.compileGetter)(r.valueExpr),n=0;n<e.length;n++){var o=t(e[n]);l.push(i.createFilterExpression(o,null,"search"))}}for(n=0;n<o.length;n++)if(i=o[n],(!s||i.visible)&&p(i)&&i.calculateFilterExpression){r=i.lookup;var h=f(i,t);r&&r.items?(0,d.default)(r.items).filter(i.createFilterExpression.call({dataField:r.displayExpr,dataType:r.dataType,calculateFilterExpression:i.calculateFilterExpression},h,null,"search")).enumerate().done(u):void 0!==h&&l.push(i.createFilterExpression(h,null,"search"))}return(0,c.combineFilters)(l,"or")}(this,this.option("searchPanel.text"));return(0,c.combineFilters)([e,t])},searchByText:function(e){this.option("searchPanel.text",e)},optionChanged:function(e){switch(e.fullName){case"searchPanel.text":case"searchPanel":this._applyFilter(),e.handled=!0;break;default:this.callBase(e)}}}},views:{headerPanel:(i=function(e){return e.option("searchPanel")},{_getToolbarItems:function(){var e=this.callBase();return this._prepareSearchItem(e)},_prepareSearchItem:function(e){var t=this,n=t.getController("data"),o=i(t);return o&&o.visible&&e.push({template:function(e,i,s){var a=(0,r.default)("<div>").addClass(t.addWidgetPrefix("search-panel")).appendTo(s);t.getController("editorFactory").createEditor(a,{width:o.width,placeholder:o.placeholder,parentType:"searchPanel",value:t.option("searchPanel.text"),updateValueTimeout:700,setValue:function(e){n.searchByText(e)},editorOptions:{inputAttr:{"aria-label":u.default.format("dxDataGrid-ariaSearchInGrid")}}}),t.resize()},name:"searchPanel",location:"after",locateInMenu:"never",sortIndex:40}),e},getSearchTextEditor:function(){var e=this,t=e.element(),n=t.find("."+e.addWidgetPrefix("search-panel")).filter((function(){return(0,r.default)(this).closest("."+e.addWidgetPrefix("header-panel")).is(t)}));return n.length?n.dxTextBox("instance"):null},isVisible:function(){var e=i(this);return this.callBase()||e&&e.visible},optionChanged:function(e){if("searchPanel"===e.name){if("searchPanel.text"===e.fullName){var t=this.getSearchTextEditor();t&&t.option("value",e.value)}else this._invalidate();e.handled=!0}else this.callBase(e)}}),rowsView:{init:function(){this.callBase.apply(this,arguments),this._searchParams=[]},_getFormattedSearchText:function(e,t){var n=f(e,t),i=(0,c.getFormatOptionsByColumn)(e,"search");return(0,c.formatValue)(n,i)},_getStringNormalizer:function(){var e=this.option("searchPanel.highlightCaseSensitive");return function(t){return e?t:t.toLowerCase()}},_findHighlightingTextNodes:function(e,t,n){var i,o=t.parent(),s=this._getStringNormalizer(),a=s(n);if(o.length){if(e)if(e.groupIndex>=0&&!e.showWhenGrouped)i=t;else{var l=this._columnsController.getVisibleIndex(e.index);i=o.children("td").eq(l).find("*")}}else o=(0,r.default)("<div>").append(t);return(i=i&&i.length?i:o.find("*")).filter((function(e,t){for(var n=(0,r.default)(t).contents(),i=0;i<n.length;i++){var o=n.get(i);return 3===o.nodeType&&s(o.textContent||o.nodeValue).indexOf(a)>-1}}))},_highlightSearchTextCore:function(e,t){var n=(0,r.default)("<span>").addClass(this.addWidgetPrefix("search-text")),i=e.text(),s=e[0],a=this._getStringNormalizer(),l=a(i).indexOf(a(t));if(l>=0)return s.textContent?s.textContent=i.substr(0,l):s.nodeValue=i.substr(0,l),e.after(n.text(i.substr(l,t.length))),e=(0,r.default)(o.default.createTextNode(i.substr(l+t.length))).insertAfter(n),this._highlightSearchTextCore(e,t)},_highlightSearchText:function(e,t,n){var i=this,o=this._getStringNormalizer(),s=i.option("searchPanel.text");if(t&&n&&(s=s&&i._getFormattedSearchText(n,s)),s&&i.option("searchPanel.highlightSearchText")){var a=i._findHighlightingTextNodes(n,e,s);(0,l.each)(a,(function(e,n){(0,l.each)((0,r.default)(n).contents(),(function(e,n){t?o((0,r.default)(n).text())===o(s)&&(0,r.default)(this).replaceWith((0,r.default)("<span>").addClass(i.addWidgetPrefix("search-text")).text((0,r.default)(n).text())):i._highlightSearchTextCore((0,r.default)(n),s)}))}))}},_renderCore:function(){this.callBase.apply(this,arguments),this.option("rowTemplate")&&(this.option("templatesRenderAsynchronously")?(clearTimeout(this._highlightTimer),this._highlightTimer=setTimeout((function(){this._highlightSearchText(this._getTableElement())}).bind(this))):this._highlightSearchText(this._getTableElement()))},_updateCell:function(e,t){var n=t.column,i="string"!==(n.lookup&&n.lookup.dataType||n.dataType);p(n)&&(this.option("templatesRenderAsynchronously")?(this._searchParams.length||(clearTimeout(this._highlightTimer),this._highlightTimer=setTimeout((function(){this._searchParams.forEac
1h((function(e){this._highlightSearchText.apply(this,e)}).bind(this)),this._searchParams=[]}).bind(this))),this._searchParams.push([e,i,n])):this._highlightSearchText(e,i,n)),this.callBase(e,t)},dispose:function(){clearTimeout(this._highlightTimer),this.callBase()}}}}}},fGF2:function(e,t,n){"use strict";var i=n("FKN7"),r=n("1B4V").beforeCleanData,o=n("jeLr"),s=n("GBv4");r((function(e){e=[].slice.call(e);for(var t=0;t<e.length;t++){var n=i(e[t]);n.prop("dxRemoveEvent")&&(n[0].dxRemoveEvent=null,o.triggerHandler(n,"dxremove"))}})),s("dxremove",{noBubble:!0,setup:function(e){i(e).prop("dxRemoveEvent",!0)}}),e.exports="dxremove"},fHlW:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("naEX"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("stateStoring",r.default)},fLmL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pharmacode=void 0;var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.number=parseInt(e,10),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"encode",value:function(){for(var e=this.number,t="";!isNaN(e)&&0!=e;)e%2==0?(t="11100"+t,e=(e-2)/2):(t="100"+t,e=(e-1)/2);return{data:t=t.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),t}(((i=n("52Lf"))&&i.__esModule?i:{default:i}).default);t.pharmacode=o},fQg5:function(e,t,n){"use strict";var i=n("KAnu").noop,r=n("l9EA"),o=n("czNW"),s=n("XpgS").inArray,a=n("LI0J"),l=n("3IPI"),c=r.inherit({NAME:"Native",popupConfig:i,getParsedText:function(e){return e?"datetime"===this.dateBox.option("type")?new Date(e.replace(/-/g,"/").replace("T"," ").split(".")[0]):a.fromStandardDateFormat(e):null},renderPopupContent:i,_getWidgetName:i,_getWidgetOptions:i,_getDateBoxType:function(){var e=this.dateBox.option("type");return-1===s(e,a.SUPPORTED_FORMATS)?e="date":"datetime"!==e||o.inputType(e)||(e="datetime-local"),e},customizeButtons:function(){var e=this.dateBox.getButton("dropDown");e&&e.on("click",(function(){this.dateBox._input().get(0).click()}).bind(this))},getDefaultOptions:function(){return{mode:this._getDateBoxType()}},getDisplayFormat:function(e){var t=this._getDateBoxType();return e||a.FORMATS_MAP[t]},renderInputMinMax:function(e){e.attr({min:l.serializeDate(this.dateBox.dateOption("min"),"yyyy-MM-dd"),max:l.serializeDate(this.dateBox.dateOption("max"),"yyyy-MM-dd")})}});e.exports=c},fXoL:function(e,t,n){"use strict";n.d(t,"a",(function(){return Lo})),n.d(t,"b",(function(){return kc})),n.d(t,"c",(function(){return yc})),n.d(t,"d",(function(){return bc})),n.d(t,"e",(function(){return vc})),n.d(t,"f",(function(){return _u})),n.d(t,"g",(function(){return au})),n.d(t,"h",(function(){return go})),n.d(t,"i",(function(){return Fc})),n.d(t,"j",(function(){return ba})),n.d(t,"k",(function(){return Ic})),n.d(t,"l",(function(){return va})),n.d(t,"m",(function(){return Cn})),n.d(t,"n",(function(){return ql})),n.d(t,"o",(function(){return $})),n.d(t,"p",(function(){return u})),n.d(t,"q",(function(){return Q})),n.d(t,"r",(function(){return Ro})),n.d(t,"s",(function(){return Ha})),n.d(t,"t",(function(){return Va})),n.d(t,"u",(function(){return Ec})),n.d(t,"v",(function(){return se})),n.d(t,"w",(function(){return cu})),n.d(t,"x",(function(){return oe})),n.d(t,"y",(function(){return nu})),n.d(t,"z",(function(){return Nc})),n.d(t,"A",(function(){return d})),n.d(t,"B",(function(){return Sc})),n.d(t,"C",(function(){return xc})),n.d(t,"D",(function(){return xa})),n.d(t,"E",(function(){return wa})),n.d(t,"F",(function(){return Ca})),n.d(t,"G",(function(){return ka})),n.d(t,"H",(function(){return ui})),n.d(t,"I",(function(){return p})),n.d(t,"J",(function(){return hu})),n.d(t,"K",(function(){return Ya})),n.d(t,"L",(function(){return Kc})),n.d(t,"M",(function(){return Ta})),n.d(t,"N",(function(){return Qa})),n.d(t,"O",(function(){return ge})),n.d(t,"P",(function(){return zo})),n.d(t,"Q",(function(){return iu})),n.d(t,"R",(function(){return Nn})),n.d(t,"S",(function(){return M})),n.d(t,"T",(function(){return Vn})),n.d(t,"U",(function(){return mu})),n.d(t,"V",(function(){return Jc})),n.d(t,"W",(function(){return Tc}
1)),n.d(t,"X",(function(){return bo})),n.d(t,"Y",(function(){return al})),n.d(t,"Z",(function(){return li})),n.d(t,"ab",(function(){return pi})),n.d(t,"bb",(function(){return Wn})),n.d(t,"cb",(function(){return Mn})),n.d(t,"db",(function(){return Rn})),n.d(t,"eb",(function(){return Fn})),n.d(t,"fb",(function(){return An})),n.d(t,"gb",(function(){return Ln})),n.d(t,"hb",(function(){return Pn})),n.d(t,"ib",(function(){return il})),n.d(t,"jb",(function(){return fu})),n.d(t,"kb",(function(){return rl})),n.d(t,"lb",(function(){return ol})),n.d(t,"mb",(function(){return On})),n.d(t,"nb",(function(){return B})),n.d(t,"ob",(function(){return jo})),n.d(t,"pb",(function(){return ds})),n.d(t,"qb",(function(){return us})),n.d(t,"rb",(function(){return No})),n.d(t,"sb",(function(){return nl})),n.d(t,"tb",(function(){return Ne})),n.d(t,"ub",(function(){return E})),n.d(t,"vb",(function(){return Dn})),n.d(t,"wb",(function(){return Zs})),n.d(t,"xb",(function(){return oa})),n.d(t,"yb",(function(){return ma})),n.d(t,"zb",(function(){return Fi})),n.d(t,"Ab",(function(){return Go})),n.d(t,"Bb",(function(){return Ls})),n.d(t,"Cb",(function(){return Us})),n.d(t,"Db",(function(){return Rs})),n.d(t,"Eb",(function(){return dc})),n.d(t,"Fb",(function(){return ye})),n.d(t,"Gb",(function(){return Ee})),n.d(t,"Hb",(function(){return _})),n.d(t,"Ib",(function(){return b})),n.d(t,"Jb",(function(){return Se})),n.d(t,"Kb",(function(){return Ie})),n.d(t,"Lb",(function(){return Xo})),n.d(t,"Mb",(function(){return os})),n.d(t,"Nb",(function(){return ls})),n.d(t,"Ob",(function(){return as})),n.d(t,"Pb",(function(){return ss})),n.d(t,"Qb",(function(){return rs})),n.d(t,"Rb",(function(){return is})),n.d(t,"Sb",(function(){return cs})),n.d(t,"Tb",(function(){return bn})),n.d(t,"Ub",(function(){return qs})),n.d(t,"Vb",(function(){return El})),n.d(t,"Wb",(function(){return te})),n.d(t,"Xb",(function(){return Zo})),n.d(t,"Yb",(function(){return _c})),n.d(t,"Zb",(function(){return es})),n.d(t,"ac",(function(){return hs})),n.d(t,"bc",(function(){return hc})),n.d(t,"cc",(function(){return Lt})),n.d(t,"dc",(function(){return Rt})),n.d(t,"ec",(function(){return ms})),n.d(t,"fc",(function(){return Ql})),n.d(t,"gc",(function(){return $l})),n.d(t,"hc",(function(){return Gl})),n.d(t,"ic",(function(){return ys})),n.d(t,"jc",(function(){return _s})),n.d(t,"kc",(function(){return ts})),n.d(t,"lc",(function(){return ws})),n.d(t,"mc",(function(){return Cs})),n.d(t,"nc",(function(){return xs})),n.d(t,"oc",(function(){return Bl})),n.d(t,"pc",(function(){return Hl})),n.d(t,"qc",(function(){return Vl})),n.d(t,"rc",(function(){return Nl})),n.d(t,"sc",(function(){return zl})),n.d(t,"tc",(function(){return ac})),n.d(t,"uc",(function(){return Jo})),n.d(t,"vc",(function(){return Zt})),n.d(t,"wc",(function(){return st})),n.d(t,"xc",(function(){return fi})),n.d(t,"yc",(function(){return mi})),n.d(t,"zc",(function(){return ke})),n.d(t,"Ac",(function(){return lc})),n.d(t,"Bc",(function(){return Os})),n.d(t,"Cc",(function(){return qo})),n.d(t,"Dc",(function(){return gc})),n.d(t,"Ec",(function(){return Qs})),n.d(t,"Fc",(function(){return $s})),n.d(t,"Gc",(function(){return Gs})),n.d(t,"Hc",(function(){return Ks})),n.d(t,"Ic",(function(){return Js})),n.d(t,"Jc",(function(){return cc}));var i=n("XNiG"),r=n("quSY"),o=n("HDdC"),s=n("VRyK"),a=n("w1tV");function l(e){return{toString:e}.toString()}function c(e,t,n){return l(()=>{const i=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,i){const r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const u=c("Inject",e=>({token:e})),d=c("Optional"),h=c("Self"),p=c("SkipSelf");var f=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function m(e){for(let t in e)if(e[t]===m)return t;throw Error("Could not find renamed property on target object.")}function g(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function b(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function v(e){return y(e,e[C])||y(e,e[k])}function y(e,t){return t&&t.token===e?t:null}function w(e){return e&&(e.hasOwnProperty(x)||e.hasOwnProperty(T))?e[x]:null}const C=m({"\u0275prov":m}),x=m({"\u0275inj":m}),S=m({"\u0275provFallback":m}),k=m({ngInjectableDef:m}),T=m({ngInjectorDef:m});function E(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(E).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function I(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const D=m({__forward_ref__:m});function M(e){return e.__forward_ref__=M,e.toString=function(){return E(this())},e}function O(e){return R(e)?e():e}function R(e){return"function"==typeof e&&e.hasOwnProperty(D)&&e.__forward_ref__===M}const L="undefined"!=typeof globalThis&&globalThis,A="undefined"!=typeof window&&window,P="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,F="undefined"!=typeof global&&global,B=L||F||A||P,H=m({"\u0275cmp":m}),V=m({"\u0275dir":m}),N=m({"\u0275pipe":m}),z=m({"\u0275mod":m}),j=m({"\u0275loc":m}),Y=m({"\u0275fac":m}),W=m({__NG_ELEMENT_ID__:m});class Q{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=_({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const $=new Q("INJECTOR",-1),G={},K=/\n/gm,U=m({provide:String,useValue:m});let q,J=void 0;function X(e){const t=J;return J=e,t}function Z(e){const t=q;return q=e,t}function ee(e,t=f.Default){if(void 0===J)throw new Error("inject() must be called from an injection context");return null===J?ne(e,void 0,t):J.get(e,t&f.Optional?null:void 0,t)}function te(e,t=f.Default){return(q||ee)(O(e),t)}function ne(e,t,n){const i=v(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&f.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${E(e)}]`)}function ie(e){const t=[];for(let n=0;n<e.length;n++){const i=O(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=f.Default;for(let t=0;t<i.length;t++){const r=i[t];r instanceof d||"Optional"===r.ngMetadataName||r===d?n|=f.Optional:r instanceof p||"SkipSelf"===r.ngMetadataName||r===p?n|=f.SkipSelf:r instanceof h||"Self"===r.ngMetadataName||r===h?n|=f.Self:e=r instanceof u||r===u?r.token:r}t.push(te(e,n))}else t.push(te(i))}return t}class re{get(e,t=G){if(t===G){const t=new Error(`NullInjectorError: No provider for ${E(e)}!`);throw t.name="NullInjectorError",t}return t}}class oe{}class se{}function ae(e,t){for(let n=0;n<e.length;n++)t.push(e[n])}
vendor: 4,342 bytes, line 1
1function le(e,t){e.forEach(e=>Array.isArray(e)?le(e,t):t(e))}function ce(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ue(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function de(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function he(e,t,n){let i=fe(e,t);return i>=0?e[1|i]=n:(i=~i,function(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function pe(e,t){const n=fe(e,t);if(n>=0)return e[1|n]}function fe(e,t){return function(e,t,n){let i=0,r=e.length>>1;for(;r!==i;){const n=i+(r-i>>1),o=e[n<<1];if(t===o)return n<<1;o>t?r=n:i=n+1}return~(r<<1)}(e,t)}const me=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),ge=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),_e={},be=[];let ve=0;function ye(e){return l(()=>{const t=e.type,n=t.prototype,i={},r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===me.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||be,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ge.Emulated,id:"c",styles:e.styles||be,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,s=e.features,a=e.pipes;return r.id+=ve++,r.inputs=Te(e.inputs,i),r.outputs=Te(e.outputs),s&&s.forEach(e=>e(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(we):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(Ce):null,r})}function we(e){return De(e)||function(e){return e[V]||null}(e)}function Ce(e){return function(e){return e[N]||null}(e)}const xe={};function Se(e){const t={type:e.type,bootstrap:e.bootstrap||be,declarations:e.declarations||be,imports:e.imports||be,exports:e.exports||be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&l(()=>{xe[e.id]=e.type}),t}function ke(e,t){return l(()=>{const n=Oe(e,!0);n.declarations=t.declarations||be,n.imports=t.imports||be,n.exports=t.exports||be})}function Te(e,t){if(null==e)return _e;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}const Ee=ye;function Ie(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function De(e){return e[H]||null}function Me(e,t){return e.hasOwnProperty(Y)?e[Y]:null}function Oe(e,t){const n=e[z]||null;if(!n&&!0===t)throw new Error(`Type ${E(e)} does not have '\u0275mod' property.`);return n}function Re(e){return Array.isArray(e)&&"object"==typeof e[1]}function Le(e){return Array.isArray(e)&&!0===e[1]}function Ae(e){return 0!=(8&e.flags)}function Pe(e){return 2==(2&e.flags)}function Fe(e){return 1==(1&e.flags)}function Be(e){return null!==e.template}function He(e){return 0!=(512&e[2])}let Ve=void 0;function Ne(e){Ve=e}function ze(){return void 0!==Ve?Ve:"undefined"!=typeof document?document:void 0}function je(e){return!!e.listen}const Ye={createRenderer:(e,t)=>ze()};function We(e){for(;Array.isArray(e);)e=e[0];return e}function Qe(e,t){return We(t[e+20])}function $e(e,t){return We(t[e.index])}function Ge(e,t){return e.data[t+20]}function Ke(e,t){return e[t+20]}function Ue(e,t){const n=t[e];return Re(n)?n:n[0]}function qe(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Je(e){return 4==(4&e[2])}function Xe(e){return 128==(128&e[2])}function Ze(e,t){return null===e||null==t?null:e[t]}function et(e){e[18]=0}function tt(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}
1const nt={lFrame:kt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function it(){return nt.bindingsEnabled}function rt(){return nt.lFrame.lView}function ot(){return nt.lFrame.tView}function st(e){nt.lFrame.contextLView=e}function at(){return nt.lFrame.previousOrParentTNode}function lt(e,t){nt.lFrame.previousOrParentTNode=e,nt.lFrame.isParent=t}function ct(){return nt.lFrame.isParent}function ut(){nt.lFrame.isParent=!1}function dt(){return nt.checkNoChangesMode}function ht(e){nt.checkNoChangesMode=e}function pt(){const e=nt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ft(){return nt.lFrame.bindingIndex}function mt(){return nt.lFrame.bindingIndex++}function gt(e){const t=nt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _t(e,t){const n=nt.lFrame;n.bindingIndex=n.bindingRootIndex=e,bt(t)}function bt(e){nt.lFrame.currentDirectiveIndex=e}function vt(e){const t=nt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function yt(){return nt.lFrame.currentQueryIndex}function wt(e){nt.lFrame.currentQueryIndex=e}function Ct(e,t){const n=St();nt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function xt(e,t){const n=St(),i=e[1];nt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex}function St(){const e=nt.lFrame,t=null===e?null:e.child;return null===t?kt(e):t}function kt(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Tt(){const e=nt.lFrame;return nt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const Et=Tt;function It(){const e=Tt();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Dt(){return nt.lFrame.selectedIndex}function Mt(e){nt.lFrame.selectedIndex=e}function Ot(){const e=nt.lFrame;return Ge(e.tView,e.selectedIndex)}function Rt(){nt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Lt(){nt.lFrame.currentNamespace=null}function At(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const t=e.data[n];t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked)),t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked)),null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}}function Pt(e,t,n){Ht(e,t,3,n)}function Ft(e,t,n,i){(3&e[2])===n&&Ht(e,t,n,i)}function Bt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ht(e,t,n,i){const r=null!=i?i:-1;let o=0;for(let s=void 0!==i?65535&e[18]:0;s<t.length;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=i&&o>=i)break}else t[s]<0&&(e[18]+=65536),(o<r||-1==r)&&(Vt(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function Vt(e,t,n,i){const r=n[i]<0,o=n[i+1],s=e[r?-n[i]:n[i]];r?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}class Nt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function zt(e,t,n){const i=je(e);let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const s=n[r++],a=n[r++],l=n[r++];i?e.setAttribute(t,a,l,s):t.setAttributeNS(s,a,l)}else{const s=o,a=n[++r];Yt(s)?i&&e.setProperty(t,s,a):i?e.setAttribute(t,s,a):t.setAttribute(s,a),r++}}return r}function jt(e){return 3===e||4===e||6===e}function Yt(e){return 64===e.charCodeAt(0)}function Wt(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||Qt(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function Qt(e,t,n,i,r){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){s=-1;break}if(n>t){s=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function $t(e){return-1!==e}function Gt(e){return 32767&e}function Kt(e){return e>>16}function Ut(e,t){let n=Kt(e),i=t;for(;n>0;)i=i[15],n--;return i}function qt(e){return"string"==typeof e?e:null==e?"":""+e}function Jt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():qt(e)}const Xt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(B))();function Zt(e){return{name:"window",target:e.ownerDocument.defaultView}}function en(e){return e instanceof Function?e():e}let tn=!0;function nn(e){const t=tn;return tn=e,t}let rn=0;function on(e,t){const n=an(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,sn(i.data,e),sn(t,null),sn(i.blueprint,null));const r=ln(e,t),o=e.injectorIndex;if($t(r)){const e=Gt(r),n=Ut(r,t),i=n[1].data;for(let r=0;r<8;r++)t[o+r]=n[e+r]|i[e+r]}return t[o+8]=r,o}function sn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function an(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function ln(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[6],i=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function cn(e,t,n){!function(e,t,n){let i="string"!=typeof n?n[W]:n.charCodeAt(0)||0;null==i&&(i=n[W]=rn++);const r=255&i,o=1<<r,s=64&r,a=32&r,l=t.data;128&r?s?a?l[e+7]|=o:l[e+6]|=o:a?l[e+5]|=o:l[e+4]|=o:s?a?l[e+3]|=o:l[e+2]|=o:a?l[e+1]|=o:l[e]|=o}
1(e,t,n)}function un(e,t,n,i=f.Default,r){if(null!==e){const r=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e[W];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof r){Ct(t,e);try{const e=r();if(null!=e||i&f.Optional)return e;throw new Error(`No provider for ${Jt(n)}!`)}finally{Et()}}else if("number"==typeof r){if(-1===r)return new _n(e,t);let o=null,s=an(e,t),a=-1,l=i&f.Host?t[16][6]:null;for((-1===s||i&f.SkipSelf)&&(a=-1===s?ln(e,t):t[s+8],gn(i,!1)?(o=t[1],s=Gt(a),t=Ut(a,t)):s=-1);-1!==s;){a=t[s+8];const e=t[1];if(mn(r,s,e.data)){const e=hn(s,t,n,o,i,l);if(e!==dn)return e}gn(i,t[1].data[s+8]===l)&&mn(r,s,t)?(o=e,s=Gt(a),t=Ut(a,t)):s=-1}}}if(i&f.Optional&&void 0===r&&(r=null),0==(i&(f.Self|f.Host))){const e=t[9],o=Z(void 0);try{return e?e.get(n,r,i&f.Optional):ne(n,r,i&f.Optional)}finally{Z(o)}}if(i&f.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${Jt(n)}]`)}const dn={};function hn(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],l=pn(a,s,n,null==i?Pe(a)&&tn:i!=s&&3===a.type,r&f.Host&&o===a);return null!==l?fn(t,s,l,a):dn}function pn(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=65535&o,l=e.directiveStart,c=o>>16,u=r?a+c:e.directiveEnd;for(let d=i?a:a+c;d<u;d++){const e=s[d];if(d<l&&n===e||d>=l&&e.type===n)return d}if(r){const e=s[l];if(e&&Be(e)&&e.type===n)return l}return null}function fn(e,t,n,i){let r=e[n];const o=t.data;if(r instanceof Nt){const s=r;if(s.resolving)throw new Error(`Circular dep for ${Jt(o[n])}`);const a=nn(s.canSeeViewProviders);let l;s.resolving=!0,s.injectImpl&&(l=Z(s.injectImpl)),Ct(e,i);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{onChanges:i,onInit:r,doCheck:o}=t;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{s.injectImpl&&Z(l),nn(a),s.resolving=!1,Et()}}return r}function mn(e,t,n){const i=64&e,r=32&e;let o;return o=128&e?i?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:i?r?n[t+3]:n[t+2]:r?n[t+1]:n[t],!!(o&1<<e)}function gn(e,t){return!(e&f.Self||e&f.Host&&t)}class _n{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return un(this._tNode,this._lView,e,void 0,t)}}function bn(e){return l(()=>{const t=Object.getPrototypeOf(e.prototype).constructor,n=t[Y]||function e(t){const n=t;if(R(t))return()=>{const t=e(O(n));return t?t():null};let i=Me(n);if(null===i){const e=w(n);i=e&&e.factory}return i||null}(t);return null!==n?n:e=>new e})}function vn(e){return e.ngDebugContext}function yn(e){return e.ngOriginalError}function wn(e,...t){e.error(...t)}class Cn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||wn}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?vn(e)?vn(e):this._findContext(yn(e)):null}_findOriginalError(e){let t=yn(e);for(;t&&yn(t);)t=yn(t);return t}}class xn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class Sn extends xn{getTypeName(){return"HTML"}}class kn extends xn{getTypeName(){return"Style"}}class Tn extends xn{getTypeName(){return"Script"}}class En extends xn{getTypeName(){return"URL"}}class In extends xn{getTypeName(){return"ResourceURL"}}function Dn(e){return e instanceof xn?e.changingThisBreaksApplicationSecurity:e}function Mn(e,t){const n=On(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}function On(e){return e instanceof xn&&e.getTypeName()||null}function Rn(e){return new Sn(e)}function Ln(e){return new kn(e)}function An(e){return new Tn(e)}function Pn(e){return new En(e)}function Fn(e){return new In(e)}let Bn=!0,Hn=!1;function Vn(){return Hn=!0,Bn}function Nn(){if(Hn)throw new Error("Cannot enable prod mode after platform setup.");Bn=!1}class zn{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let t=this.inertDocument.body;if(null==t){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),t=this.inertDocument.createElement("body"),e.appendChild(t)}t.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!t.querySelector||t.querySelector("svg")?(t.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(i){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0<i;i--){const n=t.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const jn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Yn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Wn(e){return(e=String(e)).match(jn)||e.match(Yn)?e:(Vn()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Qn(e){return(e=String(e)).split(",").map(e=>Wn(e.trim())).join(", ")}function $n(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Gn(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Kn=$n("area,br,col,hr,img,wbr"),Un=$n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qn=$n("rp,rt"),Jn=Gn(qn,Un),Xn=Gn(Kn,Gn(Un,$n("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Gn(qn,$n("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Jn),Zn=$n("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ei=$n("srcset"),ti=Gn(Zn,ei,$n("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),$n("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ni=$n("script,style,template");class ii{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Xn.hasOwnProperty(t))return this.sanitizedSomething=!0,!ni.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i<n.length;i++){const e=n.item(i),t=e.name,r=t.toLowerCase();if(!ti.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=e.value;Zn[r]&&(o=Wn(o)),ei[r]&&(o=Qn(o)),this.buf.push(" ",t,'="',si(o),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Xn.hasOwnProperty(t)&&!Kn.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(si(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const ri=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oi=/([^\#-~ |!])/g;function si(e){return e.replace(/&/g,"&amp;").replace(ri,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(oi,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ai;function li(e,t){let n=null;try{ai=ai||new zn(e);let i=t?String(t):"";n=ai.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=ai.getInertBodyElement(i)}while(i!==o);const s=new ii,a=s.sanitizeChildren(ci(n)||n);return Vn()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=ci(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function ci(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const ui=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),di=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),hi=/^url\(([^)]+)\)$/;function pi(e){if(!(e=String(e).trim()))return"";const t=e.match(hi);return t&&Wn(t[1])===t[1]||e.match(di)&&function(e){let t=!0,n=!0;for(let i=0;i<e.length;i++){const r=e.charAt(i);"'"===r&&n?t=!t:'"'===r&&t&&(n=!n)}return t&&n}(e)?e:(Vn()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}function fi(e){const t=gi();return t?t.sanitize(ui.HTML,e)||"":Mn(e,"HTML")?Dn(e):li(ze(),qt(e))}function mi(e){const t=gi();return t?t.sanitize(ui.URL,e)||"":Mn(e,"URL")?Dn(e):Wn(qt(e))}function gi(){const e=rt();return e&&e[12]}function _i(e,t){e.__ngContext__=t}function bi(e){throw new Error(`Multiple components match node with tagname ${e.tagName}`)}function vi(){throw new Error("Cannot mix multi providers and regular providers")}function yi(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const n=t.length;if(r+n===i||e.charCodeAt(r+n)<=32)return r}n=r+1}}function wi(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==yi(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Ci(e){return 0===e.type&&"ng-template"!==e.tagName}function xi(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function Si(e,t,n){let i=4;const r=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++)if(jt(e[t]))return t;return e.length}(r);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!xi(e,l,n)||""===l&&1===t.length){if(ki(i))return!1;s=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!wi(e.attrs,c,n)){if(ki(i))return!1;s=!0}continue}const u=Ti(8&i?"class":l,r,Ci(e),n);if(-1===u){if(ki(i))return!1;s=!0;continue}if(""!==c){let e;e=u>o?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==yi(t,c,0)||2&i&&c!==e){if(ki(i))return!1;s=!0}}}}else{if(!s&&!ki(i)&&!ki(l))return!1;if(s&&ki(l))continue;s=!1,i=l|1&i}}return ki(i)||s}function ki(e){return 0==(1&e)}function Ti(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r<t.length;){const i=t[r];
vendor: 5,099 bytes, line 1
1if(i===e)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let e=t[++r];for(;"string"==typeof e;)e=t[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Ei(e,t,n=!1){for(let i=0;i<t.length;i++)if(Si(e,t[i],n))return!0;return!1}function Ii(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let t=0;t<e.length;t++)if(e[t]!==i[t])continue e;return!0}}return!1}function Di(e,t){return e?":not("+t.trim()+")":t}function Mi(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const t=e[++n];r+="["+s+(t.length>0?'="'+t+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||ki(s)||(t+=Di(o,r),r=""),i=s,o=o||!ki(i);n++}return""!==r&&(t+=Di(o,r)),t}const Oi={};function Ri(e){const t=e[3];return Le(t)?t[3]:t}function Li(e){return Pi(e[13])}function Ai(e){return Pi(e[4])}function Pi(e){for(;null!==e&&!Le(e);)e=e[4];return e}function Fi(e){Bi(ot(),rt(),Dt()+e,dt())}function Bi(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Pt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ft(t,i,0,n)}Mt(n)}const Hi={marker:"element"},Vi={marker:"comment"};function Ni(e,t){return e<<17|t<<2}function zi(e){return e>>17&32767}function ji(e){return 2|e}function Yi(e){return(131068&e)>>2}function Wi(e,t){return-131069&e|t<<2}function Qi(e){return 1|e}function $i(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],o=n[i+1];if(-1!==o){const n=e.data[o];wt(r),n.contentQueries(2,t[o],o)}}}function Gi(e,t,n){return je(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ki(e,t,n,i,r,o,s,a,l,c){const u=t.blueprint.slice();return u[0]=r,u[2]=140|i,et(u),u[3]=u[15]=e,u[8]=n,u[10]=s||e&&e[10],u[11]=a||e&&e[11],u[12]=l||e&&e[12]||null,u[9]=c||e&&e[9]||null,u[6]=o,u[16]=2==t.type?e[16]:u,u}function Ui(e,t,n,i,r,o){const s=n+20,a=e.data[s]||function(e,t,n,i,r,o){const s=at(),a=ct(),l=a?s:s&&s.parent,c=e.data[n]=or(0,l&&l!==t?l:null,i,n,r,o);return null===e.firstChild&&(e.firstChild=c),s&&(!a||null!=s.child||null===c.parent&&2!==s.type?a||(s.next=c):s.child=c),c}(e,t,s,i,r,o);return lt(a,!0),a}function qi(e,t,n){xt(t,t[6]);try{const i=e.viewQuery;null!==i&&Ir(1,i,n);const r=e.template;null!==r&&Zi(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&$i(e,t),e.staticViewQueries&&Ir(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)xr(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),i}finally{t[2]&=-5,It()}}function Ji(e,t,n,i){const r=t[2];if(256==(256&r))return;xt(t,t[6]);const o=dt();try{et(t),nt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Zi(e,t,n,2,i);const s=3==(3&r);if(!o)if(s){const n=e.preOrderCheckHooks;null!==n&&Pt(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Ft(t,n,0,null),Bt(t,0)}if(function(e){for(let t=Li(e);null!==t;t=Ai(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],i=n[3];0==(1024&n[2])&&tt(i,1),n[2]|=1024}}}(t),function(e){for(let t=Li(e);null!==t;t=Ai(t))for(let e=10;e<t.length;e++){const n=t[e],i=n[1];Xe(n)&&Ji(i,n,i.template,n[8])}}(t),null!==e.contentQueries&&$i(e,t),!o)if(s){const n=e.contentCheckHooks;null!==n&&Pt(t,n)}else{const n=e.contentHooks;null!==n&&Ft(t,n,1),Bt(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let i=e.expandoStartIndex,r=-1,o=-1;for(let e=0;e<n.length;e++){const s=n[e];"number"==typeof s?s<=0?(o=0-s,Mt(o),i+=9+n[++e],r=i):i+=s:(null!==s&&(_t(i,r),s(2,t[r])),r++)}}}finally{Mt(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Cr(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&Ir(2,l,i),!o)if(s){const n=e.viewCheckHooks;null!==n&&Pt(t,n)}else{const n=e.viewHooks;null!==n&&Ft(t,n,2),Bt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,tt(t[3],-1))}finally{It()}}function Xi(e,t,n,i){const r=t[10],o=!dt(),s=Je(t);try{o&&!s&&r.begin&&r.begin(),s&&qi(e,t,i),Ji(e,t,n,i)}finally{o&&!s&&r.end&&r.end()}}function Zi(e,t,n,i,r){const o=Dt();try{Mt(-1),2&i&&t.length>20&&Bi(e,t,0,dt()),n(i,r)}finally{Mt(o)}}function er(e,t,n){if(Ae(t)){const i=t.directiveEnd;for(let r=t.directiveStart;r<i;r++){const t=e.data[r];t.contentQueries&&t.contentQueries(1,n[r],r)}}}function tr(e,t,n){it()&&(function(e,t,n,i){const r=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||on(n,t),_i(i,t);const s=n.initialInputs;for(let a=r;a<o;a++){const i=e.data[a],o=Be(i);o&&_r(t,n,i);const l=fn(t,e,a,n);_i(l,t),null!==s&&vr(0,a-r,l,i,0,s),o&&(Ue(n.index,t)[8]=l)}}(e,t,n,$e(n,t)),128==(128&n.flags)&&function(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=e.expandoInstructions,s=e.firstCreatePass,a=n.index-20,l=nt.lFrame.currentDirectiveIndex;try{Mt(a);for(let n=i;n<r;n++){const i=e.data[n],r=t[n];bt(n),null!==i.hostBindings||0!==i.hostVars||null!==i.hostAttrs?dr(i,r):s&&o.push(null)}}finally{Mt(-1),bt(l)}}
1(e,t,n))}function nr(e,t,n=$e){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?n(t,e):e[s];e[r++]=a}}}function ir(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=rr(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function rr(e,t,n,i,r,o,s,a,l,c){const u=20+i,d=u+r,h=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Oi);return n}(u,d);return h[1]={type:e,id:t,blueprint:h,template:n,queries:null,viewQuery:a,node:null,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:c,incompleteFirstPass:!1}}function or(e,t,n,i,r,o){return{type:n,index:i,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function sr(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function ar(e,t,n,i,r,o,s,a){const l=$e(t,n);let c,u=t.inputs;var d;!a&&null!=u&&(c=u[i])?(Lr(e,n,c,i,r),Pe(t)&&function(e,t){const n=Ue(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(i="class"===(d=i)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,r=null!=s?s(r,t.tagName||"",i):r,je(o)?o.setProperty(l,i,r):Yt(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}function lr(e,t,n,i){let r=!1;if(it()){const o=function(e,t,n){const i=e.directiveRegistry;let r=null;if(i)for(let o=0;o<i.length;o++){const s=i[o];Ei(n,s.selectors,!1)&&(r||(r=[]),cn(on(n,t),e,s.type),Be(s)?(2&n.flags&&bi(n),pr(e,n),r.unshift(s)):r.push(s))}return r}(e,t,n),s=null===i?null:{"":-1};if(null!==o){let i=0;r=!0,mr(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}hr(e,n,o.length);let a=!1,l=!1;for(let r=0;r<o.length;r++){const c=o[r];n.mergedAttrs=Wt(n.mergedAttrs,c.hostAttrs),gr(e,t,c),fr(e.data.length-1,c,s),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!a&&(c.onChanges||c.onInit||c.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),a=!0),l||!c.onChanges&&!c.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),l=!0),cr(e,c),i+=c.hostVars}!function(e,t){const n=t.directiveEnd,i=e.data,r=t.attrs,o=[];let s=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=i[l],n=e.inputs,c=null===r||Ci(t)?null:yr(n,r);o.push(c),s=sr(n,l,s),a=sr(e.outputs,l,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n),ur(e,t,i)}s&&function(e,t,n){if(t){const i=e.localNames=[];for(let e=0;e<t.length;e+=2){const r=n[t[e+1]];if(null==r)throw new Error(`Export of name '${t[e+1]}' not found!`);i.push(t[e],r)}}}(n,i,s)}return n.mergedAttrs=Wt(n.mergedAttrs,n.attrs),r}function cr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function ur(e,t,n){for(let i=0;i<n;i++)t.push(Oi),e.blueprint.push(Oi),e.data.push(null)}function dr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function hr(e,t,n){const i=20-t.index,r=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(i,r,n)}function pr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function fr(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Be(t)&&(n[""]=e)}}function mr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t
1+n,e.providerIndexes=t}function gr(e,t,n){e.data.push(n);const i=n.factory||(n.factory=Me(n.type)),r=new Nt(i,Be(n),null);e.blueprint.push(r),t.push(r)}function _r(e,t,n){const i=$e(t,e),r=ir(n),o=e[10],s=Sr(e,Ki(e,r,null,n.onPush?64:16,i,t,o,o.createRenderer(i,n)));e[t.index]=s}function br(e,t,n,i,r,o){const s=$e(e,t),a=t[11];if(null==i)je(a)?a.removeAttribute(s,n,o):s.removeAttribute(n);else{const t=null==r?qt(i):r(i,e.tagName||"",n);je(a)?a.setAttribute(s,n,t,o):o?s.setAttributeNS(o,n,t):s.setAttribute(n,t)}}function vr(e,t,n,i,r,o){const s=o[t];if(null!==s){const e=i.setInput;for(let t=0;t<s.length;){const r=s[t++],o=s[t++],a=s[t++];null!==e?i.setInput(n,a,r,o):n[o]=a}}}function yr(e,t){let n=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function wr(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function Cr(e,t){const n=Ue(t,e);if(Xe(n)){const e=n[1];80&n[2]?Ji(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let i=Li(t);null!==i;i=Ai(i))for(let t=10;t<i.length;t++){const n=i[t];if(1024&n[2]){const e=n[1];Ji(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let i=0;i<n.length;i++){const r=Ue(n[i],t);Xe(r)&&r[5]>0&&e(r)}}(n)}}function xr(e,t){const n=Ue(t,e),i=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),qi(i,n,n[8])}function Sr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function kr(e){for(;e;){e[2]|=64;const t=Ri(e);if(He(e)&&!t)return e;e=t}return null}function Tr(e,t,n){const i=t[10];i.begin&&i.begin();try{Ji(e,t,e.template,n)}catch(r){throw Rr(t,r),r}finally{i.end&&i.end()}}function Er(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=qe(n),r=i[1];Xi(r,i,r.template,n)}}(e[8])}function Ir(e,t,n){wt(0),t(e,n)}const Dr=(()=>Promise.resolve(null))();function Mr(e){return e[7]||(e[7]=[])}function Or(e){return e.cleanup||(e.cleanup=[])}function Rr(e,t){const n=e[9],i=n?n.get(Cn,null):null;i&&i.handleError(t)}function Lr(e,t,n,i,r){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=t[s],c=e.data[s];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function Ar(e,t,n){const i=Qe(t,e),r=e[11];je(r)?r.setValue(i,n):i.textContent=n}function Pr(e,t){const n=t[3];return-1===e.index?Le(n)?n:null:n}function Fr(e,t){const n=Pr(e,t);return n?Ur(t[11],n[7]):null}function Br(e,t,n,i,r){if(null!=i){let o,s=!1;Le(i)?o=i:Re(i)&&(s=!0,i=i[0]);const a=We(i);0===e&&null!==n?null==r?Gr(t,n,a):$r(t,n,a,r||null):1===e&&null!==n?$r(t,n,a,r||null):2===e?Zr(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,i,r){const o=n[7];o!==We(n)&&Br(t,e,i,o,r);for(let s=10;s<n.length;s++){const r=n[s];to(r[1],r,e,t,i,o)}}(t,e,o,n,r)}}function Hr(e,t){return je(t)?t.createText(e):t.createTextNode(e)}function Vr(e,t,n,i){const r=Fr(e.node,t);r&&to(e,t,t[11],n?1:2,r,i)}function Nr(e,t){const n=e[9],i=n.indexOf(t);1024&t[2]&&tt(t[3],-1),n.splice(i,1)}function zr(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&Nr(r,i),t>0&&(e[n-1][4]=i[4]);const o=ue(e,10+t);Vr(i[1],i,!1,null);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function jr(e,t){if(!(256&t[2])){const n=t[11];je(n)&&n.destroyNode&&to(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Wr(e[1],e);for(;t;){let n=null;if(Re(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Re(t)&&Wr(t[1],t),t=Yr(t,e);null===t&&(t=e),Re(t)&&Wr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Yr(e,t){let n;return Re(e)&&(n=e[6])&&2===n.type?Pr(n,e):e[3]===t?null:e[3]}function Wr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const e=t[n[i]];if(!(e instanceof Nt)){const t=n[i+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const r=n[i+1],o="function"==typeof r?r(t):We(t[r]),s=e[n[i+2]],a=n[i+3];"boolean"==typeof a?o.removeEventListener(n[i],s,a):a>
1=0?e[a]():e[-a].unsubscribe(),i+=2}else n[i].call(e[n[i+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&je(t[11])&&t[11].destroy();const i=t[17];if(null!==i&&Le(t[3])){i!==t[3]&&Nr(i,t);const n=t[19];null!==n&&n.detachView(e)}}}function Qr(e,t,n){let i=t.parent;for(;null!=i&&(4===i.type||5===i.type);)i=(t=i).parent;if(null==i){const e=n[6];return 2===e.type?Fr(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return $e(t,n).parentNode;if(2&i.flags){const t=e.data,n=t[t[i.index].directiveStart].encapsulation;if(n!==ge.ShadowDom&&n!==ge.Native)return null}return $e(i,n)}function $r(e,t,n,i){je(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function Gr(e,t,n){je(e)?e.appendChild(t,n):t.appendChild(n)}function Kr(e,t,n,i){null!==i?$r(e,t,n,i):Gr(e,t,n)}function Ur(e,t){return je(e)?e.parentNode(t):t.parentNode}function qr(e,t){if(2===e.type){const n=Pr(e,t);return null===n?null:Xr(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?$e(e,t):null}function Jr(e,t,n,i){const r=Qr(e,i,t);if(null!=r){const e=t[11],o=qr(i.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)Kr(e,r,n[t],o);else Kr(e,r,n,o)}}function Xr(e,t){const n=10+e+1;if(n<t.length){const e=t[n],i=e[1].firstChild;if(null!==i)return function e(t,n){if(null!==n){const i=n.type;if(3===i)return $e(n,t);if(0===i)return Xr(-1,t[n.index]);if(4===i||5===i){const i=n.child;if(null!==i)return e(t,i);{const e=t[n.index];return Le(e)?Xr(-1,e):We(e)}}{const i=t[16],r=i[6],o=Ri(i),s=r.projection[n.projection];return null!=s?e(o,s):e(t,n.next)}}return null}(e,i)}return t[7]}function Zr(e,t,n){const i=Ur(e,t);i&&function(e,t,n,i){je(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}function eo(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],l=n.type;s&&0===t&&(a&&_i(We(a),i),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(eo(e,t,n.child,i,r,o,!1),Br(t,e,r,a,o)):1===l?io(e,t,i,n,r,o):Br(t,e,r,a,o)),n=s?n.projectionNext:n.next}}function to(e,t,n,i,r,o){eo(n,i,e.node.child,t,r,o,!1)}function no(e,t,n){io(t[11],0,t,n,Qr(e,n,t),qr(n.parent||t[6],t))}function io(e,t,n,i,r,o){const s=n[16],a=s[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Br(t,e,r,a[l],o);else eo(e,t,a,s[3],r,o,!0)}function ro(e,t,n){je(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function oo(e,t,n){je(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class so{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,i,r,o=!1){for(;null!==i;){const s=n[i.index];if(null!==s&&r.push(We(s)),Le(s))for(let t=10;t<s.length;t++){const n=s[t],i=n[1].firstChild;null!==i&&e(n[1],n,i,r)}const a=i.type;if(4===a||5===a)e(t,n,i.child,r);else if(1===a){const t=n[16],o=t[6].projection[i.projection];if(Array.isArray(o))r.push(...o);else{const n=Ri(t);e(n[1],n,o,r,!0)}}i=o?i.projectionNext:i.next}return r}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}jr(this._lView[1],this._lView)}onDestroy(e){var t,n,i;t=this._lView[1],i=e,Mr(n=this._lView).push(i),t.firstCreatePass&&Or(t).push(n[7].length-1,null)}markForCheck(){kr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Tr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){ht(!0);try{Tr(e,t,n)}finally{ht(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,to(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class ao extends so{constructor(e){super(e),this._view=e}detectChanges(){Er(this._view)}checkNoChanges(){!function(e){ht(!0);try{Er(e)}finally{ht(!1)}}(this._view)}get context(){return null}}let lo,co,uo;
1function ho(e,t,n){return lo||(lo=class extends e{}),new lo($e(t,n))}function po(e,t,n,i){return co||(co=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Ki(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),qi(t,n,e),new so(n)}}),0===n.type?new co(i,n,ho(t,n,i)):null}function fo(e,t,n,i){let r;uo||(uo=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return ho(t,this._hostTNode,this._hostView)}get injector(){return new _n(this._hostTNode,this._hostView)}get parentInjector(){const e=ln(this._hostTNode,this._hostView),t=Ut(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let i=Kt(e),r=t,o=t[6];for(;i>1;)r=r[15],o=r[6],i--;return o}(e,this._hostView,this._hostTNode);return $t(e)&&null!=n?new _n(n,t):new _n(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){const e=o.get(oe,null);e&&(r=e)}const s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Le(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new uo(t,t[6],t[3]);i.detach(i.indexOf(e))}}const r=this._adjustIndex(t);return function(e,t,n,i){const r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i<o-10?(t[4]=n[r],ce(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,n,this._lContainer,r),Vr(i,n,!0,Xr(r,this._lContainer)),e.attachToViewContainerRef(this),ce(this._lContainer[8],r,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1);!function(e,t){const n=zr(e,t);n&&jr(n[1],n)}(this._lContainer,t),ue(this._lContainer[8],t)}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=zr(this._lContainer,t);return n&&null!=ue(this._lContainer[8],t)?new so(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=i[n.index];if(Le(o))r=o;else{let e;if(4===n.type)e=We(o);else if(e=i[11].createComment(""),He(i)){const t=i[11],r=$e(n,i);$r(t,Ur(t,r),e,function(e,t){return je(e)?e.nextSibling(t):t.nextSibling}(t,r))}else Jr(i[1],i,e,n);i[n.index]=r=wr(o,i,e,n),Sr(i,r)}return new uo(r,n,i)}function mo(e=!1){return function(e,t,n){if(!n&&Pe(e)){const n=Ue(e.index,t);return new so(n,n)}return 3===e.type||0===e.type||4===e.type||5===e.type?new so(t[16],t):null}(at(),rt(),e)}let go=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>_o(),e})();const _o=mo,bo=new Q("Set Injector scope."),vo={},yo={},wo=[];let Co=void 0;function xo(){return void 0===Co&&(Co=new re),Co}function So(e,t=null,n=null,i){return new ko(e,n,t||xo(),i)}class ko{constructor(e,t,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];t&&le(t,n=>this.processProvider(n,e,t)),le([e],e=>this.processInjectorType(e,[],r)),this.records.set($,Io(void 0,this));const o=this.records.get(bo);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:E(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;
vendor: 5,152 bytes, line 1
1try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=G,n=f.Default){this.assertNotDestroyed();const i=X(this);try{if(!(n&f.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Q)&&v(e);t=n&&this.injectableDefInScope(n)?Io(To(e),vo):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&f.Self?xo():this.parent).get(e,t=n&f.Optional&&t===G?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(E(e)),i)throw o;return function(e,t,n,i){const r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=E(t);if(Array.isArray(t))r=t.map(E).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):E(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(K,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{X(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(E(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=O(e)))return!1;let i=w(e);const r=null==i&&e.ngModule||void 0,o=void 0===r?e:r,s=-1!==n.indexOf(o);if(void 0!==r&&(i=w(r)),null==i)return!1;if(null!=i.imports&&!s){let e;n.push(o);try{le(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:i}=e[t];le(i,e=>this.processProvider(e,n,i||wo))}}this.injectorDefTypes.add(o),this.records.set(o,Io(i.factory,vo));const a=i.providers;if(null!=a&&!s){const t=e;le(a,e=>this.processProvider(e,t,a))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=Mo(e=O(e))?e:O(e&&e.provide);const r=function(e,t,n){return Do(e)?Io(void 0,e.useValue):Io(Eo(e,t,n),vo)}(e,t,n);if(Mo(e)||!0!==e.multi){const e=this.records.get(i);e&&void 0!==e.multi&&vi()}else{let t=this.records.get(i);t?void 0===t.multi&&vi():(t=Io(void 0,vo,!0),t.factory=()=>ie(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,r)}hydrate(e,t){var n;return t.value===yo?function(e){throw new Error(`Cannot instantiate cyclic dependency! ${e}`)}(E(e)):t.value===vo&&(t.value=yo,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function To(e){const t=v(e),n=null!==t?t.factory:Me(e);if(null!==n)return n;const i=w(e);if(null!==i)return i.factory;if(e instanceof Q)throw new Error(`Token ${E(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=de(t,"?");throw new Error(`Can't resolve all parameters for ${E(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[C]||e[k]||e[S]&&e[S]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Eo(e,t,n){let i=void 0;if(Mo(e)){const t=O(e);return Me(t)||To(t)}if(Do(e))i=()=>O(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...ie(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>te(O(e.useExisting));else{const r=O(e&&(e.useClass||e.provide));if(r||function(e,t,n){let i="";throw e&&t&&(i=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${E(e)}'`+i)}(t,n,e),!function(e){return!!e.deps}(e))return Me(r)||To(r);i=()=>new r(...ie(e.deps))}var r;return i}function Io(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Do(e){return null!==e&&"object"==typeof e&&U in e}function Mo(e){return"function"==typeof e}const Oo=function(e,t,n){return function(e,t=null,n=null,i){const r=So(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let Ro=(()=>{class e{static create(e,t){return Array.isArray(e)?Oo(e,t,""):Oo(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=G,e.NULL=new re,e.\u0275prov=_({token:e,providedIn:"any",factory:()=>te($)}),e.__NG_ELEMENT_ID__=-1,e})();const Lo=new Q("AnalyzeForEntryComponents");let Ao=new Map;const Po=new Set;function Fo(e){return"string"==typeof e?e:e.text()}
1function Bo(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const e=t[s];"number"==typeof e?o=e:1==o?r=I(r,e):2==o&&(i=I(i,e+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}let Ho=null;function Vo(){if(!Ho){const e=B.Symbol;if(e&&e.iterator)Ho=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ho=n)}}}return Ho}function No(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}class zo{constructor(e){this.wrapped=e}static wrap(e){return new zo(e)}static unwrap(e){return zo.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof zo}}function jo(e){return!!Yo(e)&&(Array.isArray(e)||!(e instanceof Map)&&Vo()in e)}function Yo(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Wo(e,t,n){return e[t]=n}function Qo(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function $o(e,t,n,i){const r=Qo(e,t,n);return Qo(e,t+1,i)||r}function Go(e,t,n,i){const r=rt();return Qo(r,mt(),t)&&(ot(),br(Ot(),r,e,t,n,i)),Go}function Ko(e,t,n,i){return Qo(e,mt(),n)?t+qt(n)+i:Oi}function Uo(e,t,n,i,r,o){const s=$o(e,ft(),n,r);return gt(2),s?t+qt(n)+i+qt(r)+o:Oi}function qo(e,t,n,i,r,o,s,a){const l=rt(),c=ot(),u=e+20,d=c.firstCreatePass?function(e,t,n,i,r,o,s,a,l){const c=t.consts,u=Ui(t,n[6],e,0,s||null,Ze(c,a));lr(t,n,u,Ze(c,l)),At(t,u);const d=u.tViews=rr(2,-1,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c),h=or(0,null,2,-1,null,null);return h.injectorIndex=u.injectorIndex,d.node=h,null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(e,c,l,t,n,i,r,o,s):c.data[u];lt(d,!1);const h=l[11].createComment("");Jr(c,l,h,d),_i(h,l),Sr(l,l[u]=wr(h,l,h,d)),Fe(d)&&tr(c,l,d),null!=s&&nr(l,d,a)}function Jo(e){return Ke(nt.lFrame.contextLView,e)}function Xo(e,t=f.Default){const n=rt();return null==n?te(e,t):un(at(),n,O(e),t)}function Zo(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i<e;){const r=n[i];if(jt(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<e&&"string"==typeof n[i];)i++;else{if(r===t)return n[i+1];i+=2}}}return null}(at(),e)}function es(){throw new Error("invalid")}function ts(e,t,n){const i=rt();return Qo(i,mt(),t)&&ar(ot(),Ot(),i,e,t,i[11],n,!1),ts}function ns(e,t,n,i,r){const o=r?"class":"style";Lr(e,n,t.inputs[o],o,i)}function is(e,t,n,i){const r=rt(),o=ot(),s=20+e,a=r[11],l=r[s]=Gi(t,a,nt.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,i,r,o,s){const a=t.consts,l=Ze(a,o),c=Ui(t,n[6],e,3,r,l);return lr(t,n,c,Ze(a,s)),null!==c.attrs&&Bo(c,c.attrs,!1),null!==c.mergedAttrs&&Bo(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(e,o,r,0,t,n,i):o.data[s];lt(c,!0);const u=c.mergedAttrs;null!==u&&zt(a,l,u);const d=c.classes;null!==d&&oo(a,l,d);const h=c.styles;null!==h&&ro(a,l,h),Jr(o,r,l,c),0===nt.lFrame.elementDepthCount&&_i(l,r),nt.lFrame.elementDepthCount++,Fe(c)&&(tr(o,r,c),er(o,c,r)),null!==i&&nr(r,c)}function rs(){let e=at();ct()?ut():(e=e.parent,lt(e,!1));const t=e;nt.lFrame.elementDepthCount--;const n=ot();n.firstCreatePass&&(At(n,e),Ae(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&ns(n,t,rt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&ns(n,t,rt(),t.stylesWithoutHost,!1)}function os(e,t,n,i){is(e,t,n,i),rs()}function ss(e,t,n){const i=rt(),r=ot(),o=e+20,s=r.firstCreatePass?function(e,t,n,i,r){const o=t.consts,s=Ze(o,i),a=Ui(t,n[6],e,4,"ng-container",s);return null!==s&&Bo(a,s,!0),lr(t,n,a,Ze(o,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(e,r,i,t,n):r.data[o];lt(s,!0);const a=i[o]=i[11].createComment("");Jr(r,i,a,s),_i(a,i),Fe(s)&&(tr(r,i,s),er(r,s,i)),null!=n&&nr(i,s)}function as(){let e=at();const t=ot();ct()?ut():(e=e.parent,lt(e,!1)),t.firstCreatePass&&(At(t,e),Ae(e)&&t.queries.elementEnd(e))}
vendor: 8,873 bytes, line 1
1function ls(e,t,n){ss(e,t,n),as()}function cs(){return rt()}function us(e){return!!e&&"function"==typeof e.then}function ds(e){return!!e&&"function"==typeof e.subscribe}function hs(e,t,n=!1,i){const r=rt(),o=ot(),s=at();return function(e,t,n,i,r,o,s=!1,a){const l=Fe(i),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=Mr(t);let d=!0;if(3===i.type){const h=$e(i,t),p=a?a(h):_e,f=p.target||h,m=u.length,g=a?e=>a(We(e[i.index])).target:i.index;if(je(n)){let s=null;if(!a&&l&&(s=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const e=r[o];if(e===n&&r[o+1]===i){const e=t[7],n=r[o+2];return e.length>n?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,r,i.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,d=!1;else{o=fs(i,t,o,!1);const e=n.listen(p.name||f,r,o);u.push(o,e),c&&c.push(r,g,m,m+1)}}else o=fs(i,t,o,!0),f.addEventListener(r,o,s),u.push(o),c&&c.push(r,g,m,s)}const h=i.outputs;let p;if(d&&null!==h&&(p=h[r])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(o),s=u.length;u.push(o,e),c&&c.push(r,i.index,s,-(s+1))}}}(o,r,r[11],s,e,t,n,i),hs}function ps(e,t,n){try{return!1!==t(n)}catch(i){return Rr(e,i),!1}}function fs(e,t,n,i){return function r(o){if(o===Function)return n;const s=2&e.flags?Ue(e.index,t):t;0==(32&t[2])&&kr(s);let a=ps(t,n,o),l=r.__ngNextListenerFn__;for(;l;)a=ps(t,l,o)&&a,l=l.__ngNextListenerFn__;return i&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function ms(e=1){return function(e){return(nt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,nt.lFrame.contextLView))[8]}(e)}function gs(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r<t.length;r++){const o=t[r];if("*"!==o){if(null===i?Ei(e,o,!0):Ii(i,o))return r}else n=r}return n}function _s(e){const t=rt()[16][6];if(!t.projection){const n=t.projection=de(e?e.length:1,null),i=n.slice();let r=t.child;for(;null!==r;){const t=e?gs(r,e):0;null!==t&&(i[t]?i[t].projectionNext=r:n[t]=r,i[t]=r),r=r.next}}}let bs=!1;function vs(e){bs=e}function ys(e,t=0,n){const i=rt(),r=ot(),o=Ui(r,i[6],e,1,null,n||null);null===o.projection&&(o.projection=t),ut(),bs||no(r,i,o)}function ws(e,t,n){return Cs(e,"",t,"",n),ws}function Cs(e,t,n,i,r){const o=rt(),s=Ko(o,t,n,i);return s!==Oi&&ar(ot(),Ot(),o,e,s,o[11],r,!1),Cs}function xs(e,t,n,i,r,o,s){const a=rt(),l=Uo(a,t,n,i,r,o);return l!==Oi&&ar(ot(),Ot(),a,e,l,a[11],s,!1),xs}const Ss=[];function ks(e,t,n,i,r){const o=e[n+1],s=null===t;let a=i?zi(o):Yi(o),l=!1;for(;0!==a&&(!1===l||s);){const n=e[a+1];Ts(e[a],t)&&(l=!0,e[a+1]=i?Qi(n):ji(n)),a=i?zi(n):Yi(n)}l&&(e[n+1]=i?ji(o):Qi(o))}function Ts(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&fe(e,t)>=0}const Es={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Is(e){return e.substring(Es.key,Es.keyEnd)}function Ds(e,t){const n=Es.textEnd;return n===t?-1:(t=Es.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Es.key=t,n),Ms(e,t,n))}function Ms(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Os(e,t,n){return Ps(e,t,n,!1),Os}function Rs(e,t){return Ps(e,t,null,!0),Rs}function Ls(e){Fs(he,As,e,!0)}function As(e,t){for(let n=function(e){return function(e){Es.key=0,Es.keyEnd=0,Es.value=0,Es.valueEnd=0,Es.textEnd=e.length}(e),Ds(e,Ms(e,0,Es.textEnd))}(t);n>=0;n=Ds(t,n))he(e,Is(t),!0)}function Ps(e,t,n,i){const r=rt(),o=ot(),s=gt(2);if(o.firstUpdatePass&&Hs(o,e,s,i),t!==Oi&&Qo(r,s,t)){let a;null==n&&(a=function(){const e=nt.lFrame;return null===e?null:e.currentSanitizer}())&&(n=a),zs(o,o.data[Dt()+20],r,r[11],e,r[s+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=E(Dn(e)))),e}(t,n),i,s)}}function Fs(e,t,n,i){const r=ot(),o=gt(2);r.firstUpdatePass&&Hs(r,null,o,i);const s=rt();if(n!==Oi&&Qo(s,o,n)){const a=r.data[Dt()+20];if(Ws(a,i)&&!Bs(r,o)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=I(e,n||"")),ns(r,a,s,n,i)}else!function(e,t,n,i,r,o,s,a){r===Oi&&(r=Ss);let l=0,c=0,u=0<r.length?r[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const h=l<r.length?r[l+1]:void 0,p=c<o.length?o[c+1]:void 0;let f=null,m=void 0;u===d?(l+=2,c+=2,h!==p&&(f=d,m=p)):null===d||null!==u&&u<d?(l+=2,f=u):(c+=2,f=d,m=p),null!==f&&zs(e,t,n,i,f,m,s,a),u=l<r.length?r[l]:null,d=c<o.length?o[c]:null}}(r,a,s,s[11],s[o+1],s[o+1]=function(e,t,n){if(null==n||""===n)return Ss;const i=[],r=Dn(n);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}function Bs(e,t){return t>=e.expandoStartIndex}function Hs(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Dt()+20],s=Bs(e,n);Ws(o,i)&&null===t&&!s&&(t=!1),t=function(e,t,n,i){const r=vt(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Ns(n=Vs(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=Vs(r,e,t,n,i),null===o){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Yi(i))return e[zi(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=Vs(null,e,t,n[1],i),n=Ns(n,t.attrs,i),function(e,t,n,i){e[zi(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else o=function(e,t,n){let i=void 0;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=Ns(i,e[o].hostAttrs,n);return Ns(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function(e,t,n,i,r,o){let s=o?t.classBindings:t.styleBindings,a=zi(s),l=Yi(s);e[i]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||fe(e,c)>0)&&(u=!0)}else c=n;if(r)if(0!==l){const t=zi(e[a+1]);e[i+1]=Ni(t,a),0!==t&&(e[t+1]=Wi(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=Ni(a,0),0!==a&&(e[a+1]=Wi(e[a+1],i)),a=i;else e[i+1]=Ni(l,0),0===a?a=i:e[l+1]=Wi(e[l+1],i),l=i;u&&(e[i+1]=ji(e[i+1])),ks(e,c,i,!0),ks(e,c,i,!1),function(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&fe(o,t)>=0&&(n[i+1]=Qi(n[i+1]))}(t,c,e,i,o),s=Ni(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function Vs(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],i=Ns(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function Ns(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),he(e,s,!!n||t[++o]))}return void 0===e?null:e}function zs(e,t,n,i,r,o,s,a){if(3!==t.type)return;const l=e.data,c=l[a+1];Ys(1==(1&c)?js(l,t,n,r,Yi(c),s):void 0)||(Ys(o)||function(e){return 2==(2&e)}(c)&&(o=js(l,null,n,r,a,s)),function(e,t,n,i,r){const o=je(e);if(t)r?o?e.addClass(n,i):n.classList.add(i):o?e.removeClass(n,i):n.classList.remove(i);else{const t=-1==i.indexOf("-")?void 0:2;null==r?o?e.removeStyle(n,i,t):n.style.removeProperty(i):o?e.setStyle(n,i,r,t):n.style.setProperty(i,r)}}(i,s,Qe(Dt(),n),r,o))}function js(e,t,n,i,r,o){const s=null===t;let a=void 0;for(;r>0;){const t=e[r],o=Array.isArray(t),l=o?t[1]:t,c=null===l;let u=n[r+1];u===Oi&&(u=c?Ss:void 0);let d=c?pe(u,i):l===i?u:void 0;if(o&&!Ys(d)&&(d=pe(t,i)),Ys(d)&&(a=d,s))return a;const h=e[r+1];r=s?zi(h):Yi(h)}if(null!==t){let e=o?t.residualClasses:t.residualStyles;null!=e&&(a=pe(e,i))}return a}function Ys(e){return void 0!==e}function Ws(e,t){return 0!=(e.flags&(t?16:32))}function Qs(e,t=""){const n=rt(),i=ot(),r=e+20,o=i.firstCreatePass?Ui(i,n[6],e,3,null,null):i.data[r],s=n[r]=Hr(t,n[11]);Jr(i,n,s,o),lt(o,!1)}function $s(e){return Gs("",e,""),$s}function Gs(e,t,n){const i=rt(),r=Ko(i,e,t,n);return r!==Oi&&Ar(i,Dt(),r),Gs}function Ks(e,t,n,i,r){const o=rt(),s=Uo(o,e,t,n,i,r);return s!==Oi&&Ar(o,Dt(),s),Ks}function Us(e,t,n){Fs(he,As,Ko(rt(),e,t,n),!0)}function qs(e,t,n){const i=rt();return Qo(i,mt(),t)&&ar(ot(),Ot(),i,e,t,i[11],n,!0),qs}function Js(e,t,n){const i=rt();if(Qo(i,mt(),t)){const r=ot(),o=Ot();ar(r,o,i,e,t,function(e,t,n){return(null===e||Be(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}(vt(r.data),o,i),n,!0)}return Js}function Xs(e,t){const n=qe(e)[1],i=n.data.length-1;At(n,{directiveStart:i,directiveEnd:i+1})}function Zs(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const i=[e];for(;t;){let r=void 0;if(Be(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const t=e;t.inputs=ea(e.inputs),t.declaredInputs=ea(e.declaredInputs),t.outputs=ea(e.outputs);const n=r.hostBindings;n&&ia(e,n);const o=r.viewQuery,s=r.contentQueries;
vendor: 18,976 bytes, line 1
1if(o&&ta(e,o),s&&na(e,s),g(e.inputs,r.inputs),g(e.declaredInputs,r.declaredInputs),g(e.outputs,r.outputs),Be(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}t.afterContentChecked=t.afterContentChecked||r.afterContentChecked,t.afterContentInit=e.afterContentInit||r.afterContentInit,t.afterViewChecked=e.afterViewChecked||r.afterViewChecked,t.afterViewInit=e.afterViewInit||r.afterViewInit,t.doCheck=e.doCheck||r.doCheck,t.onDestroy=e.onDestroy||r.onDestroy,t.onInit=e.onInit||r.onInit}const t=r.features;if(t)for(let i=0;i<t.length;i++){const r=t[i];r&&r.ngInherit&&r(e),r===Zs&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Wt(r.hostAttrs,n=Wt(n,r.hostAttrs))}}(i)}function ea(e){return e===_e?{}:e===be?[]:e}function ta(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function na(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function ia(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}class ra{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function oa(e){e.type.prototype.ngOnChanges&&(e.setInput=sa,e.onChanges=function(){const e=aa(this),t=e&&e.current;if(t){const n=e.previous;if(n===_e)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function sa(e,t,n,i){const r=aa(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:_e,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new ra(l&&l.currentValue,t,s===_e),e[i]=t}function aa(e){return e.__ngSimpleChanges__||null}function la(e,t,n,i,r){if(e=O(e),Array.isArray(e))for(let o=0;o<e.length;o++)la(e[o],t,n,i,r);else{const o=ot(),s=rt();let a=Mo(e)?e:O(e.provide),l=Eo(e);const c=at(),u=65535&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>16;if(Mo(e)||!e.multi){const i=new Nt(l,r,Xo),p=da(a,t,r?u:u+h,d);-1===p?(cn(on(c,s),o,a),ca(o,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=65536),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=da(a,t,u+h,d),f=da(a,t,u,u+h),m=p>=0&&n[p],g=f>=0&&n[f];if(r&&!g||!r&&!m){cn(on(c,s),o,a);const u=function(e,t,n,i,r){const o=new Nt(e,n,Xo);return o.multi=[],o.index=t,o.componentProviders=0,ua(o,r,i&&!n),o}(r?pa:ha,n.length,r,i,l);!r&&g&&(n[f].providerFactory=u),ca(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=65536),n.push(u),s.push(u)}else ca(o,e,p>-1?p:f,ua(n[r?f:p],l,!r&&i));!r&&i&&g&&n[f].componentProviders++}}}function ca(e,t,n,i){const r=Mo(t);if(r||t.useClass){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const s=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[i,o]):s[e+1].push(i,o)}else s.push(n,o)}}}function ua(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function da(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function ha(e,t,n,i){return fa(this.multi,[])}function pa(e,t,n,i){const r=this.multi;let o;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=fn(n,n[1],this.providerFactory.index,i);o=t.slice(0,e),fa(r,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],fa(r,o);return o}function fa(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ma(e,t=[]){return n=>{n.providersResolver=(n,i)=>function(e,t,n){const i=ot();if(i.firstCreatePass){const r=Be(e);la(n,i.data,i.blueprint,r,!0),la(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}oa.ngInherit=!0;class ga{}class _a{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${E(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let ba=(()=>{class e{}return e.NULL=new _a,e})(),va=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>ya(e),e})();const ya=function(e){return ho(e,at(),rt())};class wa{}const Ca=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let xa=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Sa(),e})();const Sa=function(){const e=rt(),t=Ue(at().index,e);return function(e){const t=e[11];if(je(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Re(t)?t:e)};let ka=(()=>{class e{}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null}),e})();class Ta{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Ea=new Ta("9.1.11");class Ia{constructor(){}supports(e){return jo(e)}create(e){return new Ma(e)}}const Da=(e,t)=>t;class Ma{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Da}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const o=!n||t&&t.currentIndex<Aa(n,i,r)?t:n,s=Aa(o,i,r),a=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{r||(r=[]);const e=s-i,t=a-i;if(e!=t){for(let n=0;n<e;n++){const i=n<r.length?r[n]:r[n]=0,o=i+n;t<=o&&o<e&&(r[n]=i+1)}r[o.previousIndex]=t-e}}s!==a&&e(o,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!jo(e))throw new Error(`Error trying to diff '${E(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,i,r=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],i=this._trackByFn(t,n),null!==r&&No(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,n,i,t)),No(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,t),o=!0),r=r._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Vo()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(e,e=>{i=this._trackByFn(t,e),null!==r&&No(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,e,i,t)),No(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),o=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(No(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(No(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):e=this._addAfter(new Oa(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new La),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new La),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Oa{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ra{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&No(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class La{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Ra,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Aa(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class Pa{constructor(){}supports(e){return e instanceof Map||Yo(e)}create(){return new Fa}}class Fa{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Yo(e)))throw new Error(`Error trying to diff '${E(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Ba(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){No(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Ba{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Ha=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new p,new d]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e([new Ia])}),e})(),Va=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new p,new d]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e([new Pa])}),e})();const Na=[new Pa],za=new Ha([new Ia]),ja=new Va(Na);let Ya=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Wa(e,va),e})();const Wa=function(e,t){return po(e,t,at(),rt())};let Qa=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>$a(e,va),e})();const $a=function(e,t){return fo(e,t,at(),rt())},Ga={};class Ka extends ba{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=De(e);return new Ja(t,this.ngModule)}}function Ua(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const qa=new Q("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Xt});class Ja extends ga{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Mi).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Ua(this.componentDef.inputs)}get outputs(){return Ua(this.componentDef.outputs)}create(e,t,n,i){const r=(i=i||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const o=e.get(n,Ga,r);return o!==Ga||i===Ga?o:t.get(n,i,r)}}}(e,i.injector):e,o=r.get(wa,Ye),s=r.get(ka,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(je(e))return e.selectRootElement(t,n===ge.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Gi(l,o.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,d="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),h={components:[],scheduler:Xt,clean:Dr,playerHandler:null,flags:0},p=rr(0,-1,null,1,0,null,null,null,null,null),f=Ki(null,p,h,u,null,null,o,a,s,r);let m,g;xt(f,null);try{const e=function(e,t,n,i,r,o){const s=n[1];n[20]=e;const a=Ui(s,null,0,3,null,null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Bo(a,l,!0),null!==e&&(zt(r,e,l),null!==a.classes&&oo(r,e,a.classes),null!==a.styles&&ro(r,e,a.styles)));const c=i.createRenderer(e,t),u=Ki(n,ir(t),null,t.onPush?64:16,n[20],a,i,c,void 0);return s.firstCreatePass&&(cn(on(a,n),s,t.type),pr(s,a),mr(a,n.length,1)),Sr(n,u),n[20]=u}(c,this.componentDef,f,o,a);if(c)if(n)zt(a,c,["ng-version",Ea.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!ki(r))break;r=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&zt(a,c,e),t&&t.length>0&&oo(a,c,t.join(" "))}if(g=Ge(p,0),void 0!==t){const e=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=t[n];e.push(null!=i?Array.from(i):null)}}m=function(e,t,n,i,r){const o=n[1],s=function(e,t,n){const i=at();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),hr(e,i,1),gr(e,t,n));const r=fn(t,e,t.length-1,i);_i(r,t);const o=$e(i,t);return o&&_i(o,t),r}(o,n,t);
1i.components.push(s),e[8]=s,r&&r.forEach(e=>e(s,t)),t.contentQueries&&t.contentQueries(1,s,n.length-1);const a=at();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Mt(a.index-20);const e=n[1];cr(e,t),ur(e,n,t.hostVars),dr(t,s)}return s}(e,this.componentDef,f,h,[Xs]),qi(p,f,null)}finally{It()}const _=new Xa(this.componentType,m,ho(va,g,f),f,g);return n&&!d||(p.node.child=g),_}}class Xa extends class{}{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new ao(i),function(e,t,n,i){let r=e.node;null==r&&(e.node=r=or(0,null,2,-1,null,null)),i[6]=r}(i[1],0,0,i),this.componentType=e}get injector(){return new _n(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const Za=void 0;var el=["en",[["a","p"],["AM","PM"],Za],[["AM","PM"],Za,Za],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Za,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Za,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Za,"{1} 'at' {0}",Za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let tl={};function nl(e,t,n){"string"!=typeof t&&(n=t,t=e[al.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),tl[t]=e,n&&(tl[t][al.ExtraData]=n)}function il(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=sl(t);if(n)return n;const i=t.split("-")[0];if(n=sl(i),n)return n;if("en"===i)return el;throw new Error(`Missing locale data for the locale "${e}".`)}function rl(e){return il(e)[al.CurrencyCode]||null}function ol(e){return il(e)[al.PluralCase]}function sl(e){return e in tl||(tl[e]=B.ng&&B.ng.common&&B.ng.common.locales&&B.ng.common.locales[e]),tl[e]}const al=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),ll=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,cl=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,ul=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,dl=/\ufffd(\d+):?\d*\ufffd/gi;function hl(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(e);){const r=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);ll.test(n)?i.push(pl(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const s=e.substring(t);return i.push(s),i}function pl(e){const t=[],n=[];let i=1,r=0;const o=hl(e=e.replace(ll,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""})));for(let s=0;s<o.length;){let e=o[s++].trim();1===i&&(e=e.replace(/\s*(?:=)?(\w+)\s*/,"$1")),e.length&&t.push(e);const r=hl(o[s++]);t.length>n.length&&n.push(r)}return{type:i,mainBinding:r,cases:t,values:n}}function fl(e){let t,n,i="",r=0,o=!1;for(;null!==(t=cl.exec(e));)o?t[0]===`\ufffd/*${n}\ufffd`&&(r=t.index,o=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],o=!0);return i+=e.substr(r),i}
1function ml(e,t,n,i=null){const r=[null,null],o=e.split(dl);let s=0;for(let a=0;a<o.length;a++){const e=o[a];if(1&a){const t=parseInt(e,10);r.push(-1-t),s|=vl(t)}else""!==e&&r.push(e)}return r.push(t<<2|(n?1:0)),n&&r.push(n,i),r[0]=s,r[1]=r.length-2,r}function gl(e,t=0){let n;t|=vl(e.mainBinding);for(let i=0;i<e.values.length;i++){const r=e.values[i];for(let e=0;e<r.length;e++){const i=r[e];if("string"==typeof i)for(;n=dl.exec(i);)t|=vl(parseInt(n[1],10));else t=gl(i,t)}}return t}const _l=[];let bl=-1;function vl(e){return 1<<Math.min(e,31)}const yl=[];let wl;function Cl(e){return e+wl++}function xl(e,t,n,i,r){const o=t.next;i||(i=n),i===n&&t!==n.child?(t.next=n.child,n.child=t):i!==n&&t!==i.next?(t.next=i.next,i.next=t):t.next=null,n!==r[6]&&(t.parent=n);let s=t.next;for(;s;)s.next===t&&(s.next=o),s=s.next;if(1===t.type)return no(e,r,t),t;Jr(e,r,$e(t,r),t);const a=r[t.index];return 0!==t.type&&Le(a)&&Jr(e,r,a[7],t),t}function Sl(e){return void 0===e}function kl(e,t,n,i,r,o){const s=at();t[n+20]=r;const a=Ui(e,t[6],n,i,o,null);return s&&s.next===a&&(s.next=null),a}function Tl(e,t,n,i){const r=Ge(e,n),o=Qe(n,t);o&&Zr(t[11],o);const s=Ke(t,n);if(Le(s)){const e=s;0!==r.type&&Zr(t[11],e[7])}i&&(r.flags|=64)}function El(e,t,n){(function(e,t,n){const i=ot();_l[++bl]=e,vs(!0),i.firstCreatePass&&null===i.data[e+20]&&function(e,t,n,i,r){const o=t.blueprint.length-20;wl=0;const s=at(),a=ct()?s:s&&s.parent;let l=a&&a!==e[6]?a.index-20:n,c=0;yl[c]=l;const u=[];if(n>0&&s!==a){let e=s.index-20;ct()||(e=~e),u.push(e<<3|0)}const d=[],h=[];if(""===i&&Sl(r))u.push(i,Cl(o),l<<17|1);else{const e=function(e,t){if(Sl(t))return fl(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,i=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return fl(e.substring(n,i))}}(i,r),t=(p=e,p.replace(Ol," ")).split(ul);for(let n=0;n<t.length;n++){let i=t[n];if(1&n)if("/"===i.charAt(0)){if("#"===i.charAt(1)){const e=parseInt(i.substr(2),10);l=yl[--c],u.push(e<<3|5)}}else{const e=parseInt(i.substr(1),10),t="#"===i.charAt(0);u.push((t?e:~e)<<3|0,l<<17|1),t&&(yl[++c]=l=e)}else{const t=hl(i);for(let n=0;n<t.length;n++)if(1&n){const i=t[n];if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${e}" message.`);const r=Cl(o);u.push(Vi,"",r,l<<17|1);const s=gl(i);Il(h,i,r,r);const a=h.length-1;d.push(vl(i.mainBinding),3,-1-i.mainBinding,r<<2|2,a,s,2,r<<2|3,a)}else if(""!==t[n]){const e=t[n],i=e.match(dl),r=Cl(o);u.push(i?"":e,r,l<<17|1),i&&ae(ml(e,r),d)}}}}var p;wl>0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(let i=0;i<n;i++)e.blueprint.push(null),e.data.push(null),t.push(null);e.expandoInstructions?e.expandoInstructions.push(n):e.expandoStartIndex+=n}}(t,e,wl),t.data[n+20]={vars:wl,create:u,update:d,icus:h.length?h:null}}(rt(),i,e,t,n)})(e,t,n),function(){const e=rt();!function(e,t){const n=_l[bl--],i=e.data[n+20],r=at(),o=function(e,t,n,i){const r=i[11];let o=null,s=null;const a=[];for(let l=0;l<t.length;l++){const c=t[l];if("string"==typeof c){const e=Hr(c,r),u=t[++l];s=o,o=kl(n,i,u,3,e,null),a.push(u),ut()}else if("number"==typeof c)switch(7&c){case 1:const r=c>>>17;let u;u=r===e?i[6]:Ge(n,r),s=xl(n,o,u,s,i);break;case 0:const d=c>=0,h=(d?c:~c)>>>3;a.push(h),s=o,o=Ge(n,h),o&&lt(o,d);break;case 5:s=o=Ge(n,c>>>3),lt(o,!1);break;case 4:const p=t[++l],f=t[++l];br(Ge(n,c>>>3),i,p,f,null,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case Vi:const e=t[++l],u=t[++l],d=r.createComment(e);s=o,o=kl(n,i,u,5,d,null),a.push(u),_i(d,i),o.activeCaseIndex=null,ut();break;case Hi:const h=t[++l],p=t[++l];s=o,o=kl(n,i,p,3,r.createElement(h),h),a.push(p);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}}return ut(),a}(n,i.create,e,t);let s=n+1;for(;s<=r.index-20;){-1===o.indexOf(s)&&Tl(e,t,s,!0);const n=Ge(e,s);!n||0!==n.type&&3!==n.type&&4!==n.type||null===n.localNames||(s+=n.localNames.length>>1),s++}}(ot(),e),vs(!1)}()}function Il(e,t,n,i){const r=[],o=[],s=[],a=[],l=[];for(let c=0;c<t.values.length;c++){const u=t.values[c],d=[];for(let e=0;e<u.length;e++){const t=u[e];if("string"!=typeof t){const n=d.push(t)-1;u[e]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}const h=Dl(u.join(""),n,d,e,i);r.push(h.create),o.push(h.remove),s.push(h.update),a.push(h.vars),l.push(h.childIcus)}e.push({type:t.type,vars:a,childIcus:l,cases:t.cases,create:r,remove:o,update:s}),wl+=Math.max(...a)}function Dl(e,t,n,i,r){const o=new zn(ze()).getInertBodyElement(e);
1if(!o)throw new Error("Unable to generate inert body element");const s={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,i,r,o,s){if(t){const a=[];for(;t;){const l=t.nextSibling,c=s+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:const l=t,u=l.tagName.toLowerCase();if(Xn.hasOwnProperty(u)){n.create.push(Hi,u,c,i<<17|1);const a=l.attributes;for(let e=0;e<a.length;e++){const t=a.item(e),i=t.name.toLowerCase();t.value.match(dl)?ti.hasOwnProperty(i)&&ae(Zn[i]?ml(t.value,c,t.name,Wn):ei[i]?ml(t.value,c,t.name,Qn):ml(t.value,c,t.name),n.update):n.create.push(c<<3|4,t.name,t.value)}e(t.firstChild,n,c,r,o,s),n.remove.push(c<<3|3)}else n.vars--;break;case Node.TEXT_NODE:const d=t.textContent||"",h=d.match(dl);n.create.push(h?"":d,c,i<<17|1),n.remove.push(c<<3|3),h&&ae(ml(d,c),n.update);break;case Node.COMMENT_NODE:const p=Ml.exec(t.textContent||"");if(p){const e=parseInt(p[1],10);n.create.push(Vi,"",c,i<<17|1),a.push([r[e],c])}else n.vars--;break;default:n.vars--}t=l}for(let e=0;e<a.length;e++){const t=a[e][0],i=a[e][1];Il(o,t,i,s+n.vars);const r=o.length-1;n.vars+=Math.max(...o[r].vars),n.childIcus.push(r);const l=gl(t);n.update.push(vl(t.mainBinding),3,-1-t.mainBinding,i<<2|2,r,l,2,i<<2|3,r),n.remove.push(r<<3|6,i<<3|3)}}}((ci(o)||o).firstChild,s,t,n,i,r),s}const Ml=/\ufffd(\d+)\ufffd/,Ol=/\uE500/g;let Rl="en-US";function Ll(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Rl=e.toLowerCase().replace(/_/g,"-"))}const Al=new Map;class Pl extends oe{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ka(this);const n=Oe(e),i=e[j]||null;i&&Ll(i),this._bootstrapComponents=en(n.bootstrap),this._r3Injector=So(e,t,[{provide:oe,useValue:this},{provide:ba,useValue:this.componentFactoryResolver}],E(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ro.THROW_IF_NOT_FOUND,n=f.Default){return e===Ro||e===oe||e===$?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Fl extends se{constructor(e){super(),this.moduleType=e,null!==Oe(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${E(t)} vs ${E(t.name)}`)})(e,Al.get(e),t),Al.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Pl(this.moduleType,e)}}function Bl(e,t,n){const i=pt()+e,r=rt();return r[i]===Oi?Wo(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function Hl(e,t,n,i){return Yl(rt(),pt(),e,t,n,i)}function Vl(e,t,n,i,r){return Wl(rt(),pt(),e,t,n,i,r)}function Nl(e,t,n,i,r,o){return function(e,t,n,i,r,o,s,a){const l=t+n;return function(e,t,n,i,r){const o=$o(e,t,n,i);return Qo(e,t+2,r)||o}(e,l,r,o,s)?Wo(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):jl(e,l+3)}(rt(),pt(),e,t,n,i,r,o)}function zl(e,t,n,i,r,o,s){return function(e,t,n,i,r,o,s,a,l){const c=t+n;return function(e,t,n,i,r,o){const s=$o(e,t,n,i);return $o(e,t+2,r,o)||s}(e,c,r,o,s,a)?Wo(e,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):jl(e,c+4)}(rt(),pt(),e,t,n,i,r,o,s)}function jl(e,t){const n=e[t];return n===Oi?void 0:n}function Yl(e,t,n,i,r,o){const s=t+n;return Qo(e,s,r)?Wo(e,s+1,o?i.call(o,r):i(r)):jl(e,s+1)}function Wl(e,t,n,i,r,o,s){const a=t+n;return $o(e,a,r,o)?Wo(e,a+2,s?i.call(s,r,o):i(r,o)):jl(e,a+2)}function Ql(e,t){const n=ot();let i;const r=e+20;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Me(i.type)),s=Z(Xo),a=nn(!1),l=o();return nn(a),Z(s),function(e,t,n,i){const r=n+20;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}(n,rt(),e,l),l}function $l(e,t,n){const i=rt(),r=Ke(i,e);return Ul(i,Kl(i,e)?Yl(i,pt(),t,r.transform,n,r):r.transform(n))}function Gl(e,t,n,i){const r=rt(),o=Ke(r,e);return Ul(r,Kl(r,e)?Wl(r,pt(),t,o.transform,n,i,o):o.transform(n,i))}function Kl(e,t){return e[1].data[t+20].pure}function Ul(e,t){return zo.isWrapped(t)&&(t=zo.unwrap(t),e[ft()]=Oi),t}class ql extends i.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,o=e=>null,s=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()}
1)):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(i,o,s);return e instanceof r.a&&e.add(a),a}}function Jl(){return this._results[Vo()]()}class Xl{constructor(){this.dirty=!0,this._results=[],this.changes=new ql,this.length=0;const e=Vo(),t=Xl.prototype;t[e]||(t[e]=Jl)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let i=0;i<t.length;i++){let r=t[i];Array.isArray(r)?(n===t&&(n=t.slice(0,i)),e(r,n)):n!==t&&n.push(r)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Zl{constructor(e){this.queryList=e,this.matches=null}clone(){return new Zl(this.queryList)}setDirty(){this.queryList.setDirty()}}class ec{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);i.push(this.queries[n.indexInDeclarationView].clone())}return new ec(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==mc(e,t).matches&&this.queries[t].setDirty()}}class tc{constructor(e,t,n,i=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=i}}class nc{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const i=null!==t?t.length:0,r=this.getByIndex(n).embeddedTView(e,i);r&&(r.indexInDeclarationView=n,null!==t?t.push(r):t=[r])}return null!==t?new nc(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class ic{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new ic(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let i=0;i<n.length;i++)this.matchTNodeWithReadOption(e,t,rc(t,n[i]))}else{const n=this.metadata.predicate;n===Ya?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,pn(t,e,n,!1,!1))}}matchTNodeWithReadOption(e,t,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===va||i===Qa||i===Ya&&0===t.type)this.addMatch(t.index,-2);else{const n=pn(t,e,i,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function rc(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function oc(e,t,n,i){return-1===n?function(e,t){return 3===e.type||4===e.type?ho(va,e,t):0===e.type?po(Ya,va,e,t):null}(t,e):-2===n?function(e,t,n){return n===va?ho(va,t,e):n===Ya?po(Ya,va,t,e):n===Qa?fo(Qa,va,t,e):void 0}(e,t,i):fn(e,e[1],n,t)}function sc(e,t,n,i){const r=t[19].queries[i];if(null===r.matches){const i=e.data,o=n.matches,s=[];for(let e=0;e<o.length;e+=2){const r=o[e];s.push(r<0?null:oc(t,i[r],o[e+1],n.metadata.read))}r.matches=s}return r.matches}function ac(e){const t=rt(),n=ot(),i=yt();wt(i+1);const r=mc(n,i);if(e.dirty&&Je(t)===r.metadata.isStatic){if(null===r.matches)e.reset([]);else{const o=r.crossesNgTemplate?function e(t,n,i,r){const o=t.queries.getByIndex(i),s=o.matches;if(null!==s){const a=sc(t,n,o,i);for(let t=0;t<s.length;t+=2){const i=s[t];if(i>0)r.push(a[t/2]);else{const o=s[t+1],a=n[-i];for(let t=10;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,o,r)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const i=t[n];e(i[1],i,o,r)}}}}}return r}(n,t,i,[]):sc(n,t,r,i);e.reset(o),e.notifyOnChanges()}return!0}return!1}function lc(e,t,n){uc(ot(),rt(),e,t,n,!0)}function cc(e,t,n){uc(ot(),rt(),e,t,n,!1)}function uc(e,t,n,i,r,o){e.firstCreatePass&&(fc(e,new tc(n,i,o,r),-1),o&&(e.staticViewQueries=!0)),pc(e,t)}function dc(e,t,n,i){!function(e,t,n,i,r,o,s,a){e.firstCreatePass&&(fc(e,new tc(n,i,!1,r),s.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,a)),pc(e,t)}(ot(),rt(),t,n,i,0,at(),e)}function hc(){return e=rt(),t=yt(),e[19].queries[t].queryList;var e,t}function pc(e,t){const n=new Xl;!function(e,t,n,i){const r=Mr(t);r.push(n),e.firstCreatePass&&Or(e).push(i,r.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new ec),t[19].queries.push(new Zl(n))}
vendor: 8,441 bytes, line 1
1function fc(e,t,n){null===e.queries&&(e.queries=new nc),e.queries.track(new ic(t,n))}function mc(e,t){return e.queries.getByIndex(t)}function gc(e,t){return po(Ya,va,e,t)}function _c(e=f.Default){const t=mo(!0);if(null!=t||e&f.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}const bc=new Q("Application Initializer");let vc=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();us(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(te(bc,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const yc=new Q("AppId"),wc={provide:yc,useFactory:function(){return`${Cc()}${Cc()}${Cc()}`},deps:[]};function Cc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xc=new Q("Platform Initializer"),Sc=new Q("Platform ID"),kc=new Q("appBootstrapListener");let Tc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Ec=new Q("LocaleId"),Ic=new Q("DefaultCurrencyCode");class Dc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Mc=function(e){return new Fl(e)},Oc=Mc,Rc=function(e){return Promise.resolve(Mc(e))},Lc=function(e){const t=Mc(e),n=en(Oe(e).declarations).reduce((e,t)=>{const n=De(t);return n&&e.push(new Ja(n)),e},[]);return new Dc(t,n)},Ac=Lc,Pc=function(e){return Promise.resolve(Lc(e))};let Fc=(()=>{class e{constructor(){this.compileModuleSync=Oc,this.compileModuleAsync=Rc,this.compileModuleAndAllComponentsSync=Ac,this.compileModuleAndAllComponentsAsync=Pc}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Bc=new Q("compilerOptions"),Hc=(()=>Promise.resolve(0))();function Vc(e){"undefined"==typeof Zone?Hc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Nc{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ql(!1),this.onMicrotaskEmpty=new ql(!1),this.onStable=new ql(!1),this.onError=new ql(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=B.requestAnimationFrame,t=B.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(B,()=>{e.lastRequestAnimationFrameId=-1,Wc(e),Yc(e)}),Wc(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,i,r,o,s,a)=>{try{return Qc(e),n.invokeTask(r,o,s,a)}finally{t&&"eventTask"===o.type&&t(),$c(e)}},onInvoke:(t,n,i,r,o,s,a)=>{try{return Qc(e),t.invoke(i,r,o,s,a)}finally{$c(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Wc(e),Yc(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Nc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Nc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,e,jc,zc,zc);try{return r.runTask(o,t,n)}finally{r.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function zc(){}const jc={};function Yc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Wc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Qc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $c(e){e._nesting--,Yc(e)}class Gc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ql,this.onMicrotaskEmpty=new ql,this.onStable=new ql,this.onError=new ql}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}let Kc=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Nc.assertNotInAngularZone(),Vc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Vc(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(te(Nc))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})(),Uc=(()=>{class e{constructor(){this._applications=new Map,Zc.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Zc.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();class qc{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}
1function Jc(e){Zc=e}let Xc,Zc=new qc,eu=function(e,t,n){const i=e.get(Bc,[]).concat(t),r=new Fl(n);if(0===Ao.size)return Promise.resolve(r);const o=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(i.map(e=>e.providers));if(0===o.length)return Promise.resolve(r);const s=function(){const e=B.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),a=Ro.create({providers:o}).get(s.ResourceLoader);return function(e){const t=[],n=new Map;function i(e){let t=n.get(e);if(!t){const i=(e=>Promise.resolve(a.get(e)))(e);n.set(e,t=i.then(Fo))}return t}return Ao.forEach((e,n)=>{const r=[];e.templateUrl&&r.push(i(e.templateUrl).then(t=>{e.template=t}));const o=e.styleUrls,s=e.styles||(e.styles=[]),a=e.styles.length;o&&o.forEach((t,n)=>{s.push(""),r.push(i(t).then(i=>{s[a+n]=i,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)}))});const l=Promise.all(r).then(()=>function(e){Po.delete(e)}(n));t.push(l)}),Ao=new Map,Promise.all(t).then(()=>{})}().then(()=>r)};const tu=new Q("AllowMultipleToken");class nu{constructor(e,t){this.name=e,this.token=t}}function iu(e,t,n=[]){const i=`Platform: ${t}`,r=new Q(i);return(t=[])=>{let o=ru();if(!o||o.injector.get(tu,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:bo,useValue:"platform"});!function(e){if(Xc&&!Xc.destroyed&&!Xc.injector.get(tu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Xc=e.get(ou);const t=e.get(xc,null);t&&t.forEach(e=>e())}(Ro.create({providers:e,name:i}))}return function(e){const t=ru();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function ru(){return Xc&&!Xc.destroyed?Xc:null}let ou=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Gc:("zone.js"===e?void 0:e)||new Nc({enableLongStackTrace:Vn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),i=[{provide:Nc,useValue:n}];return n.run(()=>{const t=Ro.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),o=r.injector.get(Cn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>lu(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const i=n();return us(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(o,n,()=>{const e=r.injector.get(vc);return e.runInitializers(),e.donePromise.then(()=>(Ll(r.injector.get(Ec,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=su({},t);return eu(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(au);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${E(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(te(Ro))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function su(e,t){return Array.isArray(t)?t.reduce(su,e):Object.assign(Object.assign({},e),t)}let au=(()=>{class e{constructor(e,t,n,i,r,l){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Vn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new o.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new o.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Nc.assertNotInAngularZone(),Vc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Nc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(c,u.pipe(Object(a.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializer
1s running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof ga?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(oe),r=n.create(Ro.NULL,[],t||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const o=r.injector.get(Kc,null);return o&&r.injector.get(Uc).registerApplication(r.location.nativeElement,o),this._loadComponent(r),Vn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;lu(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(kc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),lu(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(te(Nc),te(Tc),te(Ro),te(Cn),te(ba),te(vc))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function lu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class cu{}class uu{}const du={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let hu=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||du}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("zn8P")(t).then(e=>e[i]).then(e=>pu(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>pu(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(te(Fc),te(uu,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function pu(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const fu=function(e){return null},mu=iu(null,"core",[{provide:Sc,useValue:"unknown"},{provide:ou,deps:[Ro]},{provide:Uc,deps:[]},{provide:Tc,deps:[]}]),gu=[{provide:au,useClass:au,deps:[Nc,Tc,Ro,Cn,ba,vc]},{provide:qa,deps:[Nc],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:vc,useClass:vc,deps:[[new d,bc]]},{provide:Fc,useClass:Fc,deps:[]},wc,{provide:Ha,useFactory:function(){return za},deps:[]},{provide:Va,useFactory:function(){return ja},deps:[]},{provide:Ec,useFactory:function(e){return Ll(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new u(Ec),new d,new p]]},{provide:Ic,useValue:"USD"}];let _u=(()=>{class e{constructor(e){}}return e.\u0275mod=Se({type:e}),e.\u0275inj=b({factory:function(t){return new(t||e)(te(au))},providers:gu}),e})()},fZgB:function(e,t,n){"use strict";var i,r=(i=n("8S5z"))&&i.__esModule?i:{default:i},o=n("IRs2");t.createGroupFilter=function(e,t){for(var n=(0,o.normalizeSortingInfo)(t.group),i=[],s=0;s<e.length;s++)i.push([n[s].selector,"=",e[s]]);return t.filter&&i.push(t.filter),r.default.combineFilters(i)}},fiQ6:function(e,t,n){"use strict";var i=y(n("FKN7")),r=y(n("jeLr")),o=y(n("D6VQ")),s=n("KAnu"),a=n("v4HY"),l=n("zl3R"),c=n("ti0F"),u=n("1LL4"),d=n("Q5pv"),h=n("JDOJ"),p=y(n("T4bj")),f=y(n("plrq")),m=y(n("iTdP")),g=y(n("uHSv")),_=y(n("dScr")),b=y(n("XPWh")),v=y(n("23xU"));function y(e){return e&&e.__esModule?e:{default:e}}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t,n){return(x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=T(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}
1function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E={show:50,hide:300},I=["onSubmenuShowing","onSubmenuShown","onSubmenuHiding","onSubmenuHidden","onItemContextMenu","onItemClick","onSelectionChanged"],D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(y,e);var t,n,o,m=(n=y,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=T(n);if(o){var i=T(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return k(this,e)});function y(){return C(this,y),m.apply(this,arguments)}return(t=[{key:"_getDefaultOptions",value:function(){return(0,u.extend)(x(T(y.prototype),"_getDefaultOptions",this).call(this),{orientation:"horizontal",submenuDirection:"auto",showFirstSubmenuMode:{name:"onClick",delay:{show:50,hide:300}},hideSubmenuOnMouseLeave:!1,onSubmenuShowing:null,onSubmenuShown:null,onSubmenuHiding:null,onSubmenuHidden:null,adaptivityEnabled:!1})}},{key:"_setOptionsByReference",value:function(){x(T(y.prototype),"_setOptionsByReference",this).call(this),(0,u.extend)(this._optionsByReference,{animation:!0,selectedItem:!0})}},{key:"_itemElements",value:function(){var e=x(T(y.prototype),"_itemElements",this).call(this),t=this._submenuItemElements();return e.add(t)}},{key:"_submenuItemElements",value:function(){var e=[],t=".".concat("dx-menu-item"),n=this._submenus.length&&this._submenus[0];return n&&n.itemsContainer()&&(e=n.itemsContainer().find(t)),e}},{key:"_focusTarget",value:function(){return this.$element()}},{key:"_isMenuHorizontal",value:function(){return"horizontal"===this.option("orientation")}},{key:"_moveFocus",value:function(e){var t,n,i=this._getAvailableItems(),r=this._isMenuHorizontal(),o=this._getActiveItem(!0);switch(e){case"up":t=r?"showSubmenu":this._getItemsNavigationOperation("prevItem"),n=this._getKeyboardNavigationAction(t,r?o:i)();break;case"down":t=r?"showSubmenu":this._getItemsNavigationOperation("nextItem"),n=this._getKeyboardNavigationAction(t,r?o:i)();break;case"right":t=r?this._getItemsNavigationOperation("nextItem"):"showSubmenu",n=this._getKeyboardNavigationAction(t,r?i:o)();break;case"left":t=r?this._getItemsNavigationOperation("prevItem"):"showSubmenu",n=this._getKeyboardNavigationAction(t,r?i:o)();break;default:return x(T(y.prototype),"_moveFocus",this).call(this,e)}n&&0!==n.length&&this.option("focusedElement",(0,a.getPublicElement)(n))}},{key:"_getItemsNavigationOperation",value:function(e){var t=e;return this.option("rtlEnabled")&&(t="prevItem"===e?"nextItem":"prevItem"),t}},{key:"_getKeyboardNavigationAction",value:function(e,t){var n=s.noop;switch(e){case"showSubmenu":t.hasClass("dx-state-disabled")||(n=this._showSubmenu.bind(this,t));break;case"nextItem":n=this._nextItem.bind(this,t);break;case"prevItem":n=this._prevItem.bind(this,t)}return n}},{key:"_clean",value:function(){x(T(y.prototype),"_clean",this).call(this),this.option("templatesRenderAsynchronously")&&clearTimeout(this._resizeEventTimer)}},{key:"_visibilityChanged",value:function(e){e&&(this._menuItemsWidth||this._updateItemsWidthCache(),this._dimensionChanged())}},{key:"_isAdaptivityEnabled",value:function(){return this.option("adaptivityEnabled")&&"horizontal"===this.option("orientation")}},{key:"_updateItemsWidthCache",value:function(){var e=this.$element().find("ul").first().children("li").children(".".concat("dx-menu-item"));this._menuItemsWidth=this._getSummaryItemsWidth(e,!0)}},{key:"_dimensionChanged",value:function(){if(this._isAdaptivityEnabled()){var e=this.$element().outerWidth();this._toggleAdaptiveMode(this._menuItemsWidth>e)}}},{key:"_init",value:function(){x(T(y.prototype),"_init",this).call(this),this._submenus=[]}},{key:"_initActions",value:function(){var e=this;this._actions={},(0,l.each)(I,(function(t,n){e._actions[n]=e._createActionByOption(n)}))}},{key:"_initMarkup",value:function(){this._visibleSubmenu=null,this.$element().addClass("dx-menu"),x(T(y.prototype),"_initMarkup",this).call(this),this.setAria("role","menubar")}},{key:"_render",value:function(){x(T(y.prototype),"_render",this).call(this),this._initAdaptivity()}},{key:"_renderHamburgerButton",value:function(){return this._hamburger=new b.default((0,i.default)("<div>").addClass("dx-menu-hamburger-button"),{icon:"menu",activeStateEnabled:!1,onClick:this._toggleTreeView.bind(this)}),this._hamburger.$element()}},{key:"_toggleTreeView",value:function(e){(0,c.isPlainObject)(e)&&(e=!this._overlay.option("visible")),this._overlay.option("visible",e),this._toggleHamburgerActiveState(e)}},{key:"_toggleHamburgerActiveState",value:function(e){this._hamburger&&this._hamburger.$element().toggleClass("dx-state-active",e)}},{key:"_toggleAdaptiveMode",value:function(e){var t=this.$element().find(".".concat("dx-menu-horizontal")),n=this.$element().find(".".concat("dx-menu-adaptive-mode"));e?this._hideVisibleSubmenu():(this._treeView&&this._treeView.collapseAll(),this._overlay&&this._toggleTreeView(e)),t.toggle(!e),n.toggle(e)}},{key:"_removeAdaptivity",value:function(){this._$adaptiveContainer&&(this._toggleAdaptiveMode(!1),this._$adaptiveContainer.remove(),this._$adaptiveContainer=null,this._treeView=null,this._hamburger=null,this._overlay=null)}},{key:"_treeviewItemClickHandler",value:function(e){this._actions.onItemClick(e),e.node.children.length||this._toggleTreeView(!1)}},{key:"_getAdaptiveOverlayOptions",value:function(){var e=this,t=this.option("rtlEnabled")?"right":"left";return{maxHeight:function(){return(0,d.getElementMaxHeightByWindow)(e.$element())},deferRendering:!1,shading:!1,animation:!1,closeOnTargetScroll:!0,onHidden:function(){e._toggleHamburgerActiveState(!1)},height:"auto",closeOnOutsideClick:function(e){return!(0,i.default)(e.target).closest(".".concat("dx-menu-hamburger-button")).length},position:{collision:"flipfit",at:"bottom "+t,my:"top "+t,of:this._hamburger.$element()}}}},{key:"_getTreeViewOptions",value:function(){var e=this,t={};return(0,l.each)(["rtlEnabled","width","accessKey","activeStateEnabled","animation","dataSource","disabled","displayExpr","displayExpr","focusStateEnabled","hint","hoverStateEnabled","itemsExpr","items","itemTemplate","selectedExpr","selectionMode","tabIndex","visible"],(function(n,i){t[i]=e.option(i)})),(0,l.each)(["onItemContextMenu","onSelectionChanged"],(function(n,i){t[i]=function(t){e._actions[i](t)}})),(0,u.extend)(t,{dataSource:this.getDataSource(),animationEnabled:!!this.option("animation"),onItemClick:this._treeviewItemClickHandler.bind(this),onItemExpanded:function(t){e._overlay.repaint(),e._actions.onSubmenuShown(t)},onItemCollapsed:function(t){e._overlay.repaint(),e._actions.onSubmenuHidden(t)},selectNodesRecursive:!1,selectByClick:this.option("selectByClick"),expandEvent:"click"})}},{key:"_initAdaptivity",value:function(){if(this._isAdaptivityEnabled()){this._$adaptiveContainer=(0,i.default)("<div>").addClass("dx-menu-adaptive-mode");var e=this._renderHamburgerButton();this._treeView=this._createComponent((0,i.default)("<div>"),v.default,this._getTreeViewOptions()),this._overlay=this._createComponent((0,i.default)("<div>"),g.default,this._getAdaptiveOverlayOptions()),this._overlay.$content().append(this._treeView.$element()).addClass("dx-menu-adaptive-mode").addClass(this.option("cssClass")),this._overlay._wrapper().addClass("dx-menu-adaptive-mode-overlay-wrapper"),this._$adaptiveContainer.append(e),this._$adaptiveContainer.append(this._overlay.$element()),this.$element().append(this._$adaptiveContainer),this._updateItemsWidthCache(),this._dimensionChanged()}}},{key:"_getDelay",value:function(e){var t=this.option("showFirstSubmenuMode").delay;return(0,c.isDefined)(t)?(0,c.isObject)(t)?t[e]:t:E[e]}},{key:"_keyboardHandler",value:function(e){return!!this._visibleSubmenu||x(T(y.prototype),"_keyboardHandler",this).call(this,e)}},{key:"_renderContainer",value:function(){var e=(0,i.default)("<div>");return e.appendTo(this.$element()).addClass(this._isMenuHorizontal()?"dx-menu-horizontal":"dx-menu-vertical"),x(T(y.prototype),"_renderContainer",this).call(this,e)}},{key:"_renderSubmenuItems",value:function(e,t){var n=this._createSubmenu(e,t);return this._submenus.push(n),this._renderBorderElement(t),n}},{key:"_createSubmenu",value:function(e,t){var n=(0,i.default)("<div>").addClass("dx-context-menu").appendTo(t),r=this._keyboardProcessor&&this._keyboardProcessor.attachChildProcessor(),o=this._getChildNodes(e),s=this._createComponent(n,_.default,(0,u.extend)(this._getSubmenuOptions(),{_keyboardProcessor:r,_dataAdapter:this._dataAdapter,_parentKey:e.internalFields.key,items:o,onHoverStart:this._clearTimeouts.bind(this),position:this.getSubmenuPosition(t)}));
1return this._attachSubmenuHandlers(t,s),s}},{key:"_getSubmenuOptions",value:function(){var e=this,t=(0,i.default)("<div>"),n=this._isMenuHorizontal();return{itemTemplate:this.option("itemTemplate"),target:t,orientation:this.option("orientation"),selectionMode:this.option("selectionMode"),cssClass:this.option("cssClass"),selectByClick:this.option("selectByClick"),hoverStateEnabled:this.option("hoverStateEnabled"),activeStateEnabled:this.option("activeStateEnabled"),focusStateEnabled:this.option("focusStateEnabled"),animation:this.option("animation"),showSubmenuMode:this.option("showSubmenuMode"),displayExpr:this.option("displayExpr"),disabledExpr:this.option("disabledExpr"),selectedExpr:this.option("selectedExpr"),itemsExpr:this.option("itemsExpr"),onFocusedItemChanged:function(t){t.component.option("visible")&&e.option("focusedElement",t.component.option("focusedElement"))},onSelectionChanged:this._nestedItemOnSelectionChangedHandler.bind(this),onItemClick:this._nestedItemOnItemClickHandler.bind(this),onItemRendered:this.option("onItemRendered"),onLeftFirstItem:n?null:this._moveMainMenuFocus.bind(this,"prevItem"),onLeftLastItem:n?null:this._moveMainMenuFocus.bind(this,"nextItem"),onCloseRootSubmenu:this._moveMainMenuFocus.bind(this,n?"prevItem":null),onExpandLastSubmenu:n?this._moveMainMenuFocus.bind(this,"nextItem"):null}}},{key:"_getShowFirstSubmenuMode",value:function(){if(!this._isDesktopDevice())return"onClick";var e=this.option("showFirstSubmenuMode");return(0,c.isObject)(e)?e.name:e}},{key:"_moveMainMenuFocus",value:function(e){var t=this._getAvailableItems(),n=t.length,i=t.filter(".".concat("dx-menu-item-expanded")).eq(0),r=t.index(i);this._hideSubmenu(this._visibleSubmenu),(r+="prevItem"===e?-1:1)>=n?r=0:r<0&&(r=n-1);var o=t.eq(r);this.option("focusedElement",(0,a.getPublicElement)(o))}}
1,{key:"_nestedItemOnSelectionChangedHandler",value:function(e){var t=e.addedItems.length&&e.addedItems[0],n=_.default.getInstance(e.element);(0,this._actions.onSelectionChanged)(e),t&&this._clearSelectionInSubmenus(t[0],n),this._clearRootSelection(),this._setOptionSilent("selectedItem",t)}},{key:"_clearSelectionInSubmenus",value:function(e,t){var n=this,i=!arguments.length;(0,l.each)(this._submenus,(function(e,r){var o=r._itemContainer(),s=!o.is(t&&t._itemContainer()),a=o.find(".".concat(n._selectedItemClass()));if(s&&a.length||i){a.removeClass(n._selectedItemClass());var l=n._getItemData(a);l&&(l.selected=!1),r._clearSelectedItems()}}))}},{key:"_clearRootSelection",value:function(){var e=this.$element().find(".".concat("dx-menu-items-container")).first().children().children().filter(".".concat(this._selectedItemClass()));e.length&&(this._getItemData(e).selected=!1,e.removeClass(this._selectedItemClass()))}},{key:"_nestedItemOnItemClickHandler",value:function(e){this._actions.onItemClick(e)}},{key:"_attachSubmenuHandlers",value:function(e,t){var n=this,i=t.getOverlayContent().find(".".concat("dx-submenu")),o=(0,h.addNamespace)(f.default.end,this.NAME+"_submenu");t.option({onShowing:this._submenuOnShowingHandler.bind(this,e,t),onShown:this._submenuOnShownHandler.bind(this,e,t),onHiding:this._submenuOnHidingHandler.bind(this,e,t),onHidden:this._submenuOnHiddenHandler.bind(this,e,t)}),(0,l.each)(i,(function(t,i){r.default.off(i,o),r.default.on(i,o,null,n._submenuMouseLeaveHandler.bind(n,e))}))}},{key:"_submenuOnShowingHandler",value:function(e,t){var n=e.children(".".concat("dx-context-menu-container-border"));this._actions.onSubmenuShowing({rootItem:(0,a.getPublicElement)(e),submenu:t}),n.show(),e.addClass("dx-menu-item-expanded")}},{key:"_submenuOnShownHandler",value:function(e,t){this._actions.onSubmenuShown({rootItem:(0,a.getPublicElement)(e),submenu:t})}},{key:"_submenuOnHidingHandler",value:function(e,t,n){var i=e.children(".".concat("dx-context-menu-container-border")),r=n;r.rootItem=(0,a.getPublicElement)(e),r.submenu=t,this._actions.onSubmenuHiding(r),(n=r).cancel||(this._visibleSubmenu===t&&(this._visibleSubmenu=null),i.hide(),e.removeClass("dx-menu-item-expanded"))}},{key:"_submenuOnHiddenHandler",value:function(e,t){this._actions.onSubmenuHidden({rootItem:(0,a.getPublicElement)(e),submenu:t})}},{key:"_submenuMouseLeaveHandler",value:function(e,t){var n=(0,i.default)(t.relatedTarget).parents(".".concat("dx-context-menu"))[0],r=this._getSubmenuByRootElement(e).getOverlayContent()[0];this.option("hideSubmenuOnMouseLeave")&&n!==r&&(this._clearTimeouts(),setTimeout(this._hideSubmenuAfterTimeout.bind(this),this._getDelay("hide")))}},{key:"_hideSubmenuAfterTimeout",value:function(){if(this._visibleSubmenu){var e=(0,i.default)(this._visibleSubmenu.$element().context).hasClass("dx-state-hover"),t=this._visibleSubmenu.getOverlayContent().find(".".concat("dx-state-hover")).length;this._visibleSubmenu.getOverlayContent().get(0).querySelector(":hover")||t||e||this._visibleSubmenu.hide()}}},{key:"_getSubmenuByRootElement",value:function(e){if(!e)return!1;var t=e.children(".".concat("dx-context-menu"));return t.length&&_.default.getInstance(t)}},{key:"getSubmenuPosition",value:function(e){var t=this._isMenuHorizontal(),n=this.option("submenuDirection").toLowerCase(),i=this.option("rtlEnabled"),r={collision:"flip",of:e};switch(n){case"leftortop":r.at="left top",r.my=t?"left bottom":"right top";break;case"rightorbottom":r.at=t?"left bottom":"right top",r.my="left top";break;default:t?(r.at=i?"right bottom":"left bottom",r.my=i?"right top":"left top"):(r.at=i?"left top":"right top",r.my=i?"right top":"left top")}return r}},{key:"_renderBorderElement",value:function(e){(0,i.default)("<div>").appendTo(e).addClass("dx-context-menu-container-border").hide()}},{key:"_itemPointerDownHandler",value:function(e){(0,i.default)(e.target).closest(this._itemElements()).hasClass("dx-menu-item-has-submenu")?this.option("focusedElement",null):x(T(y.prototype),"_itemPointerDownHandler",this).call(this,e)}},{key:"_hoverStartHandler",value:function(e){var t=(0,h.addNamespace)(p.default.move,this.NAME),n=this._getItemElementByEventArgs(e),i=this._dataAdapter.getNodeByItem(this._getItemData(n)),o=(0,c.isDefined)(e.buttons)&&1===e.buttons||!(0,c.isDefined)(e.buttons)&&1===e.which;if(!this._isItemDisabled(n))if(r.default.off(n,t),this._hasChildren(i)){if("on
1Hover"===this._getShowFirstSubmenuMode()&&!o){var s=this._getSubmenuByElement(n);this._clearTimeouts(),s.isOverlayVisible()||(r.default.on(n,t,this._itemMouseMoveHandler.bind(this)),this._showSubmenuTimer=this._getDelay("hide"))}}else this._showSubmenuTimer=setTimeout(this._hideSubmenuAfterTimeout.bind(this),this._getDelay("hide"))}},{key:"_hoverEndHandler",value:function(e){var t=this,n=this._getItemElementByEventArgs(e),r=(0,i.default)(e.relatedTarget);x(T(y.prototype),"_hoverEndHandler",this).call(this,e),this._clearTimeouts(),this._isItemDisabled(n)||r.hasClass("dx-context-menu-content-delimiter")||this.option("hideSubmenuOnMouseLeave")&&!r.hasClass("dx-menu-items-container")&&(this._hideSubmenuTimer=setTimeout((function(){t._hideSubmenuAfterTimeout()}),this._getDelay("hide")))}},{key:"_hideVisibleSubmenu",value:function(){return!!this._visibleSubmenu&&(this._hideSubmenu(this._visibleSubmenu),!0)}},{key:"_showSubmenu",value:function(e){var t=this._getSubmenuByElement(e);this._visibleSubmenu!==t&&this._hideVisibleSubmenu(),t&&(t.show(),this.option("focusedElement",t.option("focusedElement"))),this._visibleSubmenu=t,this._hoveredRootItem=e}},{key:"_hideSubmenu",value:function(e){e&&e.hide(),this._visibleSubmenu===e&&(this._visibleSubmenu=null),this._hoveredRootItem=null}},{key:"_itemMouseMoveHandler",value:function(e){var t=this;if(!e.pointers||!e.pointers.length){var n=(0,i.default)(e.currentTarget);(0,c.isDefined)(this._showSubmenuTimer)&&(this._clearTimeouts(),this._showSubmenuTimer=setTimeout((function(){var e=t._getSubmenuByElement(n);e&&!e.isOverlayVisible()&&t._showSubmenu(n)}),this._getDelay("show")))}}},{key:"_clearTimeouts",value:function(){clearTimeout(this._hideSubmenuTimer),clearTimeout(this._showSubmenuTimer)}},{key:"_getSubmenuByElement",value:function(e,t){var n=this._getSubmenuByRootElement(e);if(n)return n;t=t||this._getItemData(e);var i=this._dataAdapter.getNodeByItem(t);return this._hasChildren(i)&&this._renderSubmenuItems(i,e)}},{key:"_updateSubmenuVisibilityOnClick",value:function(e){var t=e.args.length&&e.args[0];if(t&&!this._disabledGetter(t.itemData)){var n=(0,i.default)(t.itemElement),r=this._getSubmenuByElement(n,t.itemData);if(this._updateSelectedItemOnClick(e),this._visibleSubmenu){if(this._visibleSubmenu===r)return void("onClick"===this.option("showFirstSubmenuMode")&&this._hideSubmenu(this._visibleSubmenu));this._hideSubmenu(this._visibleSubmenu)}r&&(r.isOverlayVisible()||this._showSubmenu(n))}}},{key:"_optionChanged",value:function(e){switch(e.name){case"orientation":case"submenuDirection":this._invalidate();break;case"showFirstSubmenuMode":case"hideSubmenuOnMouseLeave":break;case"showSubmenuMode":this._changeSubmenusOption(e.name,e.value);break;case"onSubmenuShowing":case"onSubmenuShown":case"onSubmenuHiding":case"onSubmenuHidden":this._initActions();break;case"adaptivityEnabled":e.value?this._initAdaptivity():this._removeAdaptivity();break;case"width":this._isAdaptivityEnabled()&&(this._treeView.option(e.name,e.value),this._overlay.option(e.name,e.value)),x(T(y.prototype),"_optionChanged",this).call(this,e),this._dimensionChanged();break;case"animation":this._isAdaptivityEnabled()&&this._treeView.option("animationEnabled",!!e.value),x(T(y.prototype),"_optionChanged",this).call(this,e);break;default:this._isAdaptivityEnabled()&&this._treeView.option(e.name,e.value),x(T(y.prototype),"_optionChanged",this).call(this,e)}}},{key:"_changeSubmenusOption",value:function(e,t){(0,l.each)(this._submenus,(function(n,i){i.option(e,t)}))}},{key:"selectItem",value:function(e){this._hideSubmenu(this._visibleSubmenu),x(T(y.prototype),"selectItem",this).call(this,e)}},{key:"unselectItem",value:function(e){this._hideSubmenu(this._visibleSubmenu),x(T(y.prototype),"selectItem",this).call(this,e)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(y.prototype,t),y}(m.default);(0,o.default)("dxMenu",D),e.exports=D},fnJn:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("Bm0k"));
1function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("rowDragging",r.default)},fwRs:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3"),o=r.getWindow(),s=r.getNavigator(),a=n("uHaw"),l=n("jeLr"),c=n("LdFP"),u=n("XpgS").inArray,d=n("1LL4").extend,h=n("D6VQ"),p=n("7Wk1"),f=n("JDOJ"),m=s.userAgent,g=["backspace","tab","enter","pageUp","pageDown","end","home","leftArrow","rightArrow","downArrow","upArrow","del"],_=p.inherit({ctor:function(e,t){t&&(this._showClearButton=t.showClearButton),this.callBase.apply(this,arguments)},_getDefaultOptions:function(){return d(this.callBase(),{value:"",mode:"text",maxLength:null})},_initMarkup:function(){this.$element().addClass("dx-textbox"),this.callBase(),this.setAria("role","textbox")},_renderContentImpl:function(){this._renderMaxLengthHandlers(),this.callBase()},_renderInputType:function(){this.callBase(),this._renderSearchMode()},_renderMaxLengthHandlers:function(){this._isAndroidOrIE()&&(l.on(this._input(),f.addNamespace("keydown",this.NAME),this._onKeyDownCutOffHandler.bind(this)),l.on(this._input(),f.addNamespace("change",this.NAME),this._onChangeCutOffHandler.bind(this)))},_renderProps:function(){this.callBase(),this._toggleMaxLengthProp()},_toggleMaxLengthProp:function(){var e=this._getMaxLength();e&&e>0?this._input().attr("maxLength",e):this._input().removeAttr("maxLength")},_renderSearchMode:function(){var e=this._$element;"search"===this.option("mode")?(e.addClass("dx-searchbox"),this._renderSearchIcon(),void 0===this._showClearButton&&(this._showClearButton=this.option("showClearButton"),this.option("showClearButton",!0))):(e.removeClass("dx-searchbox"),this._$searchIcon&&this._$searchIcon.remove(),this.option("showClearButton",void 0===this._showClearButton?this.option("showClearButton"):this._showClearButton),delete this._showClearButton)},_renderSearchIcon:function(){var e=i("<div>").addClass("dx-icon").addClass("dx-icon-search");e.prependTo(this._input().parent()),this._$searchIcon=e},_optionChanged:function(e){switch(e.name){case"maxLength":this._toggleMaxLengthProp(),this._renderMaxLengthHandlers();break;case"mask":this.callBase(e),this._toggleMaxLengthProp();break;default:this.callBase(e)}},_onKeyDownCutOffHandler:function(e){var t=this._getMaxLength();if(t){var n=i(e.target),r=f.normalizeKeyName(e);return this._cutOffExtraChar(n),n.val().length<t||-1!==u(r,g)||""!==o.getSelection().toString()}return!0},_onChangeCutOffHandler:function(e){var t=i(e.target);this.option("maxLength")&&this._cutOffExtraChar(t)},_cutOffExtraChar:function(e){var t=this._getMaxLength(),n=e.val();t&&n.length>t&&e.val(n.substr(0,t))},_getMaxLength:function(){return this.option("mask")?null:this.option("maxLength")},_isAndroidOrIE:function(){var e=c.real(),t=e.version.join(".");return a.msie||"android"===e.platform&&t&&/^(2\.|4\.1)/.test(t)&&!/chrome/i.test(m)}});h("dxTextBox",_),e.exports=_},fzPg:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}
1/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},"gF+w":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=(i=n("Ek++"))&&i.__esModule?i:{default:i},o=n("blPF"),s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e+=(0,o.mod11)(e),e+=(0,o.mod10)(e),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default);t.default=s},gKXv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(n("FKN7")),r=c(n("jeLr")),o=c(n("aNBS")),s=n("JDOJ"),a=n("T4bj"),l=n("XCcL");function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(u,e);var t,n,o,c=(n=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(n);if(o){var i=m(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return f(this,e)});function u(){return d(this,u),c.apply(this,arguments)}return(t=[{key:"_create",value:function(){var e=(0,i.default)("<span>").addClass("dx-clear-button-area").append((0,i.default)("<span>").addClass("dx-icon").addClass("dx-icon-clear"));return this._addToContainer(e),this.update(!0),{instance:e,$element:e}}},{key:"_isVisible",value:function(){return this.editor._isClearButtonVisible()}},{key:"_attachEvents",value:function(e,t){var n=this.editor,i=n.NAME;r.default.on(t,(0,s.addNamespace)(a.down,i),(function(e){"mouse"===e.pointerType?e.preventDefault():n._clearValueHandler(e)})),r.default.on(t,(0,s.addNamespace)(l.name,i),(function(e){return n._clearValueHandler(e)}))}},{key:"_legacyRender",value:function(e,t){e.toggleClass("dx-show-clear-button",t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!e&&h(m(u.prototype),"update",this).call(this);var t=this.editor,n=this.instance,i=t.$element(),r=this._isVisible();n&&n.toggleClass("dx-state-invisible",!r),this._legacyRender(i,r)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(u.prototype,t),u}(o.default);t.default=g},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("2fFW"),r=n("NJ4a");const o={closed:!0,next(e){},error(e){if(i.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete(){}}},gU7H:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(n("jeLr")),r=n("JDOJ"),o=l(n("uHaw")),s=n("XpgS"),a=n("v4HY");function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=t,this.DIRECTION={FORWARD:"forward",BACKWARD:"backward"},this.NAME=this._getStrategyName()}var t;return(t=[{key:"_getStrategyName",value:function(){return"base"}},{key:"editorOption",value:function(){var e;return(e=this.editor).option.apply(e,arguments)}},{key:"editorInput",value:function(){return this.editor._input()}},{key:"editorCaret",value:function(e){if(!e)return this.editor._caret();this.editor._caret(e)}},{key:"getHandler",value:function(e){return(this["_".concat(e,"Handler")]||function(){}).bind(this)}},{key:"attachEvents",value:function(){var e=this,t=this.editorInput();this.getHandleEventNames().forEach((function(n){var o=(0,r.addNamespace)(n.toLowerCase(),"dxMask");i.default.on(t,o,e.getEventHandler(n))})),this._attachChangeEventHandlers()}},{key:"getHandleEventNames",value:function(){return["focusIn","focusOut","keyDown","input","paste","cut","drop"]}},{key:"getEventHandler",value:function(e){return this["_".concat(e,"Handler")].bind(this)}},{key:"detachEvents",value:function(){i.default.off(this.editorInput(),".".concat("dxMask"))}},{key:"_attachChangeEventHandlers",value:function(){-1!==(0,s.inArray)("change",this.editorOption("valueChangeEvent").split(" "))&&i.default.on(this.editorInput(),(0,r.addNamespace)("blur beforedeactivate","dxMask"),(function(e){this._suppressCaretChanging(this._changeHandler,[e]),this._changeHandler(e)}).bind(this.editor))}},{key:"_focusInHandler",value:function(){if(this.editor._showMaskPlaceholder(),this.editor._direction(this.DIRECTION.FORWARD),!this.editor._isValueEmpty()&&this.editorOption("isValid"))this.editor._adjustCaret();else{var e=this.editor._maskRulesChain.first();this._caretTimeout=setTimeout((function(){this._caret({start:e,end:e})}).bind(this.editor),0)}}},{key:"_focusOutHandler",value:function(e){this.editor._changeHandler(e),"onFocus"===this.editorOption("showMaskMode")&&this.editor._isValueEmpty()&&(this.editorOption("text",""),this.editor._renderDisplayText(""))}},{key:"_cutHandler",value:function(e){var t=this.editorCaret(),n=this.editorInput().val().substring(t.start,t.end);this.editor._maskKeyHandler(e,(function(){return(0,a.clipboardText)(e,n)}))}},{key:"_dropHandler",value:function(){this._clearDragTimer(),this._dragTimer=setTimeout((function(){this.option("value",this._convertToValue(this._input().val()))}).bind(this.editor))}},{key:"_clearDragTimer",value:function(){clearTimeout(this._dragTimer)}},{key:"_keyDownHandler",value:function(){this._keyPressHandled=!1}},{key:"_pasteHandler",value:function(e){var t=this.editor;this._keyPressHandled=!0;var n=this.editorCaret();t._maskKeyHandler(e,(function(){var i=(0,a.clipboardText)(e),r=t._maskRulesChain.text().substring(n.end),o=t._handleChain({text:i,start:n.start,length:i.length}),s=n.start+o;t._handleChain({text:r,start:s,length:r.length}),t._caret({start:s,end:s})}))}},{key:"_autoFillHandler",value:function(e){var t=this,n=this.editor,i=this.editorInput().val();this._inputHandlerTimer=setTimeout((function(){t._keyPressHandled=!0,t._isAutoFill()&&(t._keyPressHandled=!0,n._maskKeyHandler(e,(function(){n._handleChain({text:i,start:0,length:i.length})})),n._validateMask())}))}},{key:"_isAutoFill",value:function(){var e=this.editor._input(),t=!1;if(o.default.msie&&o.default.version>11)t=e.hasClass("edge-autofilled");else if(o.default.webkit){var n=e.get(0);t=n&&n.matches(":-webkit-autofill")}return t}},{key:"runWithoutEventProcessing",value:function(e){var t=this._keyPressHandled;this._keyPressHandled=!0,e(),this._keyPressHandled=t}},{key:"_backspaceHandler",value:function(){}},{key:"_delHandler",value:function(e){var t=this.editor;this._keyPressHandled=!0,t._maskKeyHandler(e,(function(){return!t._hasSelection()&&t._handleKey(" ")}))}},{key:"clean",value:function(){this._clearDragTimer(),clearTimeout(this._backspaceHandlerTimeout),clearTimeout(this._caretTimeout),clearTimeout(this._inputHandlerTimer)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();t.default=c},gVVK:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return r+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return r+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return r+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,r,o){var s="";switch(r){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":s=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":s=o?"tunnin":"tuntia";break;case"d":return o?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":s=o?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return o?"kuukauden":"kuukausi";case"MM":s=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":s=o?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,o)+" "+s}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_t
1i_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},gpjr:function(e,t,n){"use strict";var i=n("FKN7"),r=n("tUd6"),o=function(e,t){if(!s(e))return!1;var n=e.nodeName.toLowerCase(),i=!isNaN(t),r=e.disabled;return/^(input|select|textarea|button|object|iframe)$/.test(n)||e.isContentEditable?!r:"a"===n&&e.href||i},s=function(e){var t=i(e);
1return t.is(":visible")&&"hidden"!==t.css("visibility")&&"hidden"!==t.parents().css("visibility")};e.exports={focusable:function(e,t){return o(t,i(t).attr("tabIndex"))},tabbable:function(e,t){var n=i(t).attr("tabIndex");return(isNaN(n)||n>=0)&&o(t,n)},focused:function(e){var t=i(e).get(0);return r.getActiveElement()===t}}},gq2o:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cGv3").getWindow(),o=n("2S0u"),s=n("l9EA"),a=n("czNW"),l=n("1LL4").extend,c=n("LI0J"),u=n("imRD"),d=s.inherit({NAME:"DateView",getDefaultOptions:function(){return l(this.callBase(),{openOnFieldClick:!0,applyButtonText:u.format("OK")})},getDisplayFormat:function(e){return e||c.FORMATS_MAP[this.dateBox.option("type")]},popupConfig:function(e){return{showTitle:!0,toolbarItems:this.dateBox._popupToolbarItemsConfig(),onInitialized:e.onInitialized,defaultOptionsRules:[{device:{platform:"android"},options:{width:333,height:331}},{device:function(e){var t=e.platform;return"generic"===t||"ios"===t},options:{width:"auto",height:"auto"}},{device:function(e){return"generic"===e.platform&&e.phone},options:{width:333,maxWidth:"100%",maxHeight:"100%",height:"auto",position:{collision:"flipfit flip"}}},{device:{platform:"ios",phone:!0},options:{width:"100%",position:{my:"bottom",at:"bottom",of:r}}}]}},_renderWidget:function(){if(a.inputType(this.dateBox.option("mode"))&&this.dateBox._isNativeType()||this.dateBox.option("readOnly"))this._widget&&(this._widget.$element().remove(),this._widget=null);else{var e=this._getPopup();if(this._widget)this._widget.option(this._getWidgetOptions());else{var t=i("<div>").appendTo(e.$content());this._widget=this._createWidget(t)}this._widget.$element().appendTo(this._getWidgetContainer())}},_getWidgetName:function(){return o},renderOpenedState:function(){this.callBase(),this._widget&&this._widget.option("value",this._widget._getCurrentDate())},_getWidgetOptions:function(){return{value:this.dateBoxValue()||new Date,type:this.dateBox.option("type"),minDate:this.dateBox.dateOption("min")||new Date(1900,0,1),maxDate:this.dateBox.dateOption("max")||new Date(Date.now()+50*c.ONE_YEAR),onDisposing:(function(){this._widget=null}).bind(this)}}});e.exports=d},hINx:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("2Ji4"),r=n("fXoL"),o=n("ewzI"),s=n("tyNb");let a=(()=>{class e{constructor(e,t){this.httpService=e,this.router=t,this.getCustomerApi=i.a.userService+"/getCustomerByUserId/",this.getDashBoardApi=i.a.userService+"/dashBoard/",this.logggedInUser=JSON.parse(localStorage.getItem("userLoggedIn"))}ngOnInit(){this.getCustomer()}getCustomer(){this.httpService.get(this.getCustomerApi+this.logggedInUser.sub).subscribe(e=>{e&&(this.customer=e,this.bindData())})}bindData(){this.httpService.get(this.getDashBoardApi+this.customer.result.data.customerId).subscribe(e=>{e&&(this.dashBoard=e)})}booking(){this.router.navigate(["/admin/myshipperdetails"],{replaceUrl:!0})}invoice(){this.router.navigate(["/admin/myinvoice"],{replaceUrl:!0})}ticket(){this.router.navigate(["/admin/ticket-mangement"],{replaceUrl:!0})}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(o.a),r.Lb(s.c))},e.\u0275cmp=r.Fb({type:e,selectors:[["app-dashboard"]],decls:44,vars:4,consts:[[1,"about-us-header"],[1,"section-head","words","chars","splitting"],[1,"content","mb-5"],[1,"container-fluid"],[1,"row","d-flex","justify-content-center"],[1,"col-md-5","col-sm-5","col-md-3"],[1,"pointer",3,"click"],[1,"info-box-icon","bg-info","elevation-1"],[1,"info-box-content","dashItem"],["src","assets/images/appointment.png"],[1,"info-box-text","titleSpan"],[1,"info-box-number","itemSpan"],[1,"info-box-icon","bg-danger","elevation-1"],["src","assets/images/invoice.png"],["src","assets/images/folder.png"],["src","assets/images/folder-total.png"],[1,"clearfix","hidden-md-up"]],template:function(e,t){1&e&&(r.Rb(0,"div",0),r.Rb(1,"h1",1),r.Ec(2,"Dashboard"),r.Qb(),r.Qb(),r.Rb(3,"section",2),r.Rb(4,"div"),r.Rb(5,"div",3),r.Rb(6,"div",4),r.Rb(7,"div",5),r.Rb(8,"div",6),r.ac("click",(function(){return t.booking()})),r.Mb(9,"span",7),r.Rb(10,"div",8),r.Mb(11,"img",9),r.Rb(12,"span",10),r.Ec(13,"Total Shipment"),r.Qb(),r.Rb(14,"span",11),r.Ec(15),r.Qb(),r.Qb(),r.Qb(),r.Qb(),r.Rb(16,"div",5),r.Rb(17,"div",6),r.ac("click",(function(){return t.invoice()})),r.Mb(18,"span",12),r.Rb(19,"div",8),r.Mb(20,"img",13),r.Rb(21,"span",10),r.Ec(22,"Total Invoices"),r.Qb(),r.Rb(23,"span",11),r.Ec(24),r.Qb(),r.Qb(),r.Qb(),r.Qb(),r.Rb(25,"div",5),r.Rb(26,"div",6),r.ac("click",(function(){return t.ticket()})),r.Mb(27,"span",12),r.Rb(28,"div",8),r.Mb(29,"img",14),r.Rb(30,"span",10),r.Ec(31,"Total Open Ticket"),r.Qb(),r.Rb(32,"span",11),r.Ec(33),r.Qb(),r.Qb(),r.Qb(),r.Qb(),r.Rb(34,"div",5),r.Rb(35,"div",6),r.ac("click",(function(){return t.ticket()})),r.Mb(36,"span",12),r.Rb(37,"div",8),r.Mb(38,"img",15),r.Rb(39,"span",10),r.Ec(40,"Total Ticket"),r.Qb(),r.Rb(41,"span",11),r.Ec(42),r.Qb(),r.Qb(),r.Qb(),r.Qb(),r.Mb(43,"div",16),r.Qb(),r.Qb(),r.Qb(),r.Qb()),2&e&&(r.zb(15),r.Gc(" ",t.dashBoard.shipmentCount," "),r.zb(9),r.Fc(t.dashBoard.invoiceCount),r.zb(9),r.Fc(t.dashBoard.openCount),r.zb(9),r.Fc(t.dashBoard.ticketCount))},styles:[".info-box-content[_ngcontent-%COMP%]{text-align:center;margin-bottom:20px}.info-box-content[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:45px;margin-bottom:10px}.pointer[_ngcontent-%COMP%]{cursor:pointer}"]}),e})()},hKrs:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hMAE:function(e,t,n){"use strict";var i,r=n("5qrJ"),o=n("KAnu"),s=n("v4HY").contains,a=n("LdFP"),l=n("JDOJ"),c=n("T4bj"),u=n("kgAh"),d=n("Z/aR"),h=r.inherit({ctor:function(e,t){this._timeout=e,this._fire=t},start:function(){var e=this;this._schedule((function(){e.force()}))},_schedule:function(e){this.stop(),this._timer=setTimeout(e,this._timeout)},stop:function(){clearTimeout(this._timer)},force:function(){this._fired||(this.stop(),this._fire(),this._fired=!0)},fired:function(){return this._fired}}),p=u.inherit({ctor:function(){this.callBase.apply(this,arguments),this._active=new h(0,o.noop),this._inactive=new h(0,o.noop)},configure:function(e,t){switch(t){case"dxactive":e.activeTimeout=e.timeout;break;case"dxinactive":e.inactiveTimeout=e.timeout}this.callBase(e)},start:function(e){if(i){var t=s(this.getElement().get(0),i.getElement().get(0)),n=!i._active.fired();if(t&&n)return void this._cancel();i._inactive.force()}i=this,this._initEvents(e),this._active.start()},_initEvents:function(e){var t=this,n=this._getEmitterTarget(e),r=l.isMouseEvent(e),s=a.isSimulator()||!r,c=o.ensureDefined(this.activeTimeout,30),u=o.ensureDefined(this.inactiveTimeout,400);this._active=new h(s?c:0,(function(){t._fireEvent("dxactive",e,{target:n})})),this._inactive=new h(s?u:0,(function(){t._fireEvent("dxinactive",e,{target:n}),i=null}))},cancel:function(e){this.end(e)},end:function(e){var t=e.type!==c.up;t?this._active.stop():this._active.force(),this._inactive.start(),t&&this._inactive.force()},dispose:function(){this._active.stop(),this._inactive.stop(),this.callBase()},lockInactive:function(){return this._active.force(),this._inactive.stop(),i=null,this._cancel(),this._inactive.force.bind(this._inactive)}
1});p.lock=function(e){var t=i?i.lockInactive():o.noop;e.done(t)},d({emitter:p,events:["dxactive","dxinactive"]}),t.lock=p.lock,t.active="dxactive",t.inactive="dxinactive"},hMwJ:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n("FKN7"),o=n("cGv3").getWindow(),s=n("jeLr"),a=n("/7L9"),l=n("v4HY").getPublicElement,c=n("1LL4").extend,u=n("ti0F"),d=n("zl3R"),h=n("YQNt"),p=n("66GJ"),f=n("dRNr"),m=n("czNW"),g=n("vlix"),_=n("fGF2"),b=n("JDOJ"),v=n("tJvG"),y=v.when,w=v.Deferred,C=b.addNamespace(_,"dxFX"),x=u.isFunction,S=u.isPlainObject,k=n("KAnu").noop,T=/^([+-])=(.*)/i,E={initAnimation:function(e,t){e.css({transitionProperty:"none"}),"string"==typeof t.from?e.addClass(t.from):U(e,t.from);var n=this,i=new w,r=t.cleanupWhen;t.transitionAnimation={deferred:i,finish:function(){n._finishTransition(e),r?y(i,r).always((function(){n._cleanup(e,t)})):n._cleanup(e,t),i.resolveWith(e,[t,e])}},this._completeAnimationCallback(e,t).done((function(){t.transitionAnimation.finish()})).fail((function(){i.rejectWith(e,[t,e])})),t.duration||t.transitionAnimation.finish(),e.css("transform")},animate:function(e,t){return this._startAnimation(e,t),t.transitionAnimation.deferred.promise()},_completeAnimationCallback:function(e,t){var n,i=this,r=Date.now()+t.delay,o=new w,a=new w,l=new w,c=m.transitionEndEventName()+".dxFX";t.transitionAnimation.cleanup=function(){clearTimeout(n),clearTimeout(u),s.off(e,c),s.off(e,C)},s.one(e,c,(function(){Date.now()-r>=t.duration&&a.reject()})),s.off(e,C),s.on(e,C,(function(){i.stop(e,t),o.reject()}));var u=setTimeout((function(){n=setTimeout((function(){l.reject()}),t.duration+t.delay+q._simulatedTransitionEndDelay),y(a,l).fail((function(){o.resolve()}).bind(this))}));return o.promise()},_startAnimation:function(e,t){e.css({transitionProperty:"all",transitionDelay:t.delay+"ms",transitionDuration:t.duration+"ms",transitionTimingFunction:t.easing}),"string"==typeof t.to?e[0].className+=" "+t.to:t.to&&U(e,t.to)},_finishTransition:function(e){e.css("transition","none")},_cleanup:function(e,t){t.transitionAnimation.cleanup(),"string"==typeof t.from&&(e.removeClass(t.from),e.removeClass(t.to))},stop:function(e,t,n){t&&(n?t.transitionAnimation.finish():(S(t.to)&&d.each(t.to,(function(t){e.css(t,e.css(t))})),this._finishTransition(e),this._cleanup(e,t)))}},I={initAnimation:function(e,t){U(e,t.from)},animate:function(e,t){var n=new w,i=this;return t?(d.each(t.to,(function(n){void 0===t.from[n]&&(t.from[n]=i._normalizeValue(e.css(n)))})),t.to.transform&&(t.from.transform=i._parseTransform(t.from.transform),t.to.transform=i._parseTransform(t.to.transform)),t.frameAnimation={to:t.to,from:t.from,currentValue:t.from,easing:p.convertTransitionTimingFuncToEasing(t.easing),duration:t.duration,startTime:(new Date).valueOf(),finish:function(){this.currentValue=this.to,this.draw(),f.cancelAnimationFrame(t.frameAnimation.animationFrameId),n.resolve()},draw:function(){if(t.draw)t.draw(this.currentValue);else{var n=c({},this.currentValue);n.transform&&(n.transform=d.map(n.transform,(function(e,t){return"translate"===t?h.getTranslateCss(e):"scale"===t?"scale("+e+")":"rotate"===t.substr(0,t.length-1)?t+"("+e+"deg)":void 0})).join(" ")),e.css(n)}}},t.delay?(t.frameAnimation.startTime+=t.delay,t.frameAnimation.delayTimeout=setTimeout((function(){i._startAnimation(e,t)}),t.delay)):i._startAnimation(e,t),n.promise()):n.reject().promise()},_startAnimation:function(e,t){s.off(e,C),s.on(e,C,(function(){t.frameAnimation&&f.cancelAnimationFrame(t.frameAnimation.animationFrameId)})),this._animationStep(e,t)},_parseTransform:function(e){var t={};return d.each(e.match(/(\w|\d)+\([^)]*\)\s*/g),(function(e,n){var i=h.parseTranslate(n),r=n.match(/scale\((.+?)\)/),o=n.match(/(rotate.)\((.+)deg\)/);i&&(t.translate=i),r&&r[1]&&(t.scale=parseFloat(r[1])),o&&o[1]&&(t[o[1]]=parseFloat(o[2]))})),t},stop:function(e,t,n){var i=t&&t.frameAnimation;i&&(f.cancelAnimationFrame(i.animationFrameId),clearTimeout(i.delayTimeout),n&&i.finish(),delete t.frameAnimation)},_animationStep:function(e,t){var n=t&&t.frameAnimation;if(n){var i=(new Date).valueOf();if(i>=n.startTime+n.duration)n.finish();else{n.currentValue=this._calcStepValue(n,i-n.startTime),n.draw();var r=this;n.animationFrameId=f.requestAnimationFrame((function(){r._animationStep(e,t)}))}}},_calcStepValue:function(e,t){return function n(r,o){var s=Array.isArray(o)?[]:{};return d.each(o,(function(a,l){if("string"==typeof l&&!1===parseFloat(l,10))return!0;s[a]="object"===i(l)?n(r[a],l):function(n){var i=t/e.duration,s=t,a=1*r[n],l=o[n]-r[n],c=e.duration;return p.getEasing(e.easing)(i,s,a,l,c)}(a)})),s}(e.from,e.to)},_normalizeValue:function(e){var t=parseFloat(e,10);return!1===t?e:t}},D={initAnimation:function(){},animate:function(){return(new w).resolve().promise()},stop:k,isSynchronous:!0},M=function(e,t,n,i){d.each(["from","to"],(function(){if(!n(e[this]))throw a.Error("E0010",t,this,i)}))},O=function(e,t){return M(e,t,(function(e){return S(e)}),"a plain object")},R={top:{my:"bottom center",at:"top center"},bottom:{my:"top center",at:"bottom center"},right:{my:"left center",at:"right center"},left:{my:"right center",at:"left center"}},L={validateConfig:function(e){O(e,"slide")},setup:function(e,t){var n=h.locate(e);if("slide"!==t.type){var i="slideIn"===t.type?t.from:t.to;i.position=c({of:o},R[t.direction]),K(e,i)}this._setUpConfig(n,t.from),this._setUpConfig(n,t.to),h.clearCache(e)},_setUpConfig:function(e,t){t.left="left"in t?t.left:"+=0",t.top="top"in t?t.top:"+=0",this._initNewPosition(e,t)},_initNewPosition:function(e,t){var n={left:t.left,top:t.top};delete t.left,delete t.top;var i=this._getRelativeValue(n.left);void 0!==i?n.left=i+e.left:t.left=0,void 0!==(i=this._getRelativeValue(n.top))?n.top=i+e.top:t.top=0,t.transform=h.getTranslateCss({x:n.left,y:n.top})},_getRelativeValue:function(e){var t;if("string"==typeof e&&(t=T.exec(e)))return parseInt(t[1]+"1")*t[2]}},A={setup:function(e,t){var n,i=t.from,r=S(i)?t.skipElementInitialStyles?0:e.css("opacity"):String(i);switch(t.type){case"fadeIn":n=1;break;case"fadeOut":n=0;break;default:n=String(t.to)}t.from={visibility:"visible",opacity:r},t.to={opacity:n}}},P={custom:{setup:function(){}},slide:L,slideIn:L,slideOut:L,fade:A,fadeIn:A,fadeOut:A,pop:{validateConfig:function(e){O(e,"pop")},setup:function(e,t){var n=t.from,i=t.to,r="opacity"in n?n.opacity:e.css("opacity"),o="opacity"in i?i.opacity:1,s="scale"in n?n.scale:0,a="scale"in i?i.scale:1;t.from={opacity:r};var l=h.getTranslate(e);t.from.transform=this._getCssTransform(l,s),t.to={opacity:o},t.to.transform=this._getCssTransform(l,a)},_getCssTransform:function(e,t){return h.getTranslateCss(e)+"scale("+t+")"}},css:{validateConfig:function(e){!function(e,t){M(e,"css",(function(e){return"string"==typeof e}),"a string")}(e)},setup:function(){}}},F={type:"custom",from:{},to:{},duration:400,start:k,complete:k,easing:"ease",delay:0},B={duration:400,easing:"ease",delay:0},H=function(){var e=this.element,t=this.config;if(K(e,t.from),K(e,t.to),this.configurator.setup(e,t),e.data("dxAnimData",this),q.off&&(t.duration=0,t.delay=0),this.strategy.initAnimation(e,t),t.start){var n=l(e);t.start.apply(this,[n,t])}},V=function(){var e=this,t=e.element,n=e.config;return e.isStarted=!0,e.strategy.animate(t,n).done((function(){!function(e){var t=e.element,n=e.config;if(t.removeData("dxAnimData"),n.complete){var i=l(t);n.complete.apply(this,[i,n])}e.deferred.resolveWith(this,[t,n])}(e)})).fail((function(){e.deferred.rejectWith(this,[t,n])}))},N=function(e){var t=this.element,n=this.config;clearTimeout(this.startTimeout),this.isStarted||this.start(),this.strategy.stop(t,n,e)},z=b.addNamespace(_,"dxFXStartAnimation"),j=function(e,t){var n=c(!0,{},"css"===t.type?B:F,t),i=function(e){var t=P[e.type];if(!t)throw a.Error("E0011",e.type);return t}(n),o=function(e){e=e||{};var t={transition:m.transition()?E:I,frame:I,noAnimation:D},n=e.strategy||"transition";return"css"!==e.type||m.transition()||(n="noAnimation"),t[n]}(n),l={element:r(e),config:n,configurator:i,strategy:o,isSynchronous:o.isSynchronous,setup:H,start:V,stop:N,deferred:new w};return x(i.validateConfig)&&i.validateConfig(n),function(e){s.off(e.element,z),s.on(e.element,z,(function(){q.stop(e.element)})),e.deferred.always((function(){s.off(e.element,z)}))}(l),l},Y=function(e){return e.data("dxAnimQueue")||[]},W=function(e){e.removeData("dxAnimQueue")},Q=function(e){return!!e.data("dxAnimData")},$=function e(t,n){if((n=Y(t)).length){var i=n.shift();0===n.length&&W(t),G(i).done((function(){Q(t)||e(t)}))}},G=function(e){return e.setup(),q.off||e.isSynchronous?e.start():e.startTimeout=setTimeout((function(){e.start()})),e.deferred.promise()},K=function(e,t){if(t&&t.position){var n=r(o),i=0,s=0,a=g.calculate(e,t.position),l=e.offset(),u=e.position();u.top>l.top&&(s=n.scrollTop()),u.left>l.left&&(i=n.scrollLeft()),c(t,{left:a.h.location-l.left+u.left-i,top:a.v.location-l.top+u.top-s}),delete t.position}},U=function(e,t){d.each(t,(function(t,n){try{e.css(t,u.isFunction(n)?n():n)}catch(i){}}))},q={off:!1,animationTypes:P,animate:function(e,t){var n=r(e);
1if(!n.length)return(new w).resolve().promise();var i=j(n,t);return function(e,t){var n=Y(e);(function(e,t){e.data("dxAnimQueue",t)})(e,n),n.push(t),Q(e)||$(e,n)}(n,i),i.deferred.promise()},createAnimation:j,isAnimating:Q,stop:function(e,t){var n=r(e),i=Y(n);d.each(i,(function(e,t){t.config.delay=0,t.config.duration=0,t.isSynchronous=!0})),Q(n)||$(n,i);var o=n.data("dxAnimData");o&&o.stop(t),n.removeData("dxAnimData"),W(n)},_simulatedTransitionEndDelay:100};e.exports=q,e.exports.default=e.exports},hUrc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n("ti0F"),o=(i=n("OZWN"))&&i.__esModule?i:{default:i},s={tryCreateTag:function(e){var t=null;return(0,r.isDefined)(e)&&s.isEmpty(t={vertical:e.vertical,wrapText:e.wrapText,horizontal:e.horizontal})&&(t=null),t},copy:function(e){var t=null;return(0,r.isDefined)(e)&&(t={},void 0!==e.horizontal&&(t.horizontal=e.horizontal),void 0!==e.vertical&&(t.vertical=e.vertical),void 0!==e.wrapText&&(t.wrapText=e.wrapText)),t},areEqual:function(e,t){return s.isEmpty(e)&&s.isEmpty(t)||(0,r.isDefined)(e)&&(0,r.isDefined)(t)&&e.vertical===t.vertical&&e.wrapText===t.wrapText&&e.horizontal===t.horizontal},isEmpty:function(e){return!(0,r.isDefined)(e)||!(0,r.isDefined)(e.vertical)&&!(0,r.isDefined)(e.wrapText)&&!(0,r.isDefined)(e.horizontal)},toXml:function(e){return o.default.toXml("alignment",{vertical:e.vertical,wrapText:(0,r.isDefined)(e.wrapText)?Number(e.wrapText):void 0,horizontal:e.horizontal})}};t.default=s},heGP:function(e,t,n){"use strict";e.exports=function(e){var t,n=function(){return t=e.apply(this,arguments),n=function(){return t},t};return function(){return n.apply(this,arguments)}}},hjRR:function(e,t,n){"use strict";var i=n("1LL4").extend,r=n("cHJt"),o=n("Uus4"),s=n("Ny+d"),a=r.inherit({NAME:"dropDownMenu",render:function(){this._hasVisibleMenuItems()&&(this._renderMenuButtonContainer(),this._renderWidget())},renderMenuItems:function(){this._menu||this.render(),this.callBase(),this._menu&&!this._menu.option("items").length&&this._menu.close()},_menuWidgetClass:function(){return s},_widgetOptions:function(){var e=this;return i(this.callBase(),{deferRendering:!0,container:e._toolbar.option("menuContainer"),menuWidget:o,onOptionChanged:function(t){"items"===t.name&&e._updateMenuVisibility(t.value)},popupPosition:{at:"bottom right",my:"top right"}})},_updateMenuVisibility:function(e){var t=e||this._getMenuItems(),n=t.length&&this._hasVisibleMenuItems(t);this._toggleMenuVisibility(n)},_toggleMenuVisibility:function(e){this._menuContainer()&&this._menuContainer().toggleClass("dx-state-invisible",!e)},_menuContainer:function(){return this._$menuButtonContainer}});e.exports=a},hn2h:function(e,t,n){"use strict";var i=n("KAnu").noop,r=n("5qrJ"),o=r.abstract,s=n("dRNr"),a=r.inherit({ctor:function(){this._finished=!0,this._stopped=!1,this._proxiedStepCore=this._stepCore.bind(this)},start:function(){this._stopped=!1,this._finished=!1,this._stepCore()},stop:function(){this._stopped=!0,s.cancelAnimationFrame(this._stepAnimationFrame)},_stepCore:function(){if(this._isStopped())this._stop();else{if(this._isFinished())return this._finished=!0,void this._complete();this._step(),this._stepAnimationFrame=s.requestAnimationFrame(this._proxiedStepCore)}},_step:o,_isFinished:i,_stop:i,_complete:i,_isStopped:function(){return this._stopped},inProgress:function(){return!(this._stopped||this._finished)}});e.exports=a},honF:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u
11010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},huem:function(e,t,n){"use strict";var i=E(n("FKN7")),r=E(n("cYys")),o=n("XDlg"),s=E(n("yxXJ")),a=n("KAnu"),l=n("ti0F"),c=E(n("zl3R")),u=n("XgSC"),d=n("1LL4"),h=n("XpgS"),p=E(n("2Fn2")),f=n("3RoI"),m=E(n("D8Ap")),g=E(n("GYHJ")),_=n("8S5z"),b=E(n("xZEH")),v=E(n("3IPI")),y=E(n("Bhoz")),w=E(n("dYUP")),C=E(n("imRD")),x=n("tJvG"),S=E(n("L+Gw")),k=n("+12O"),T=E(n("AJM7"));function E(e){return e&&e.__esModule?e:{default:e}}var I,D,M,O,R,L,A,P,F,B,H,V,N,z,j,Y,W,Q,$,G,K,U,q,J,X,Z,ee,te,ne,ie,re,oe,se,ae,le,ce,ue,de=["filterValues","filterType","fixed","fixedPosition"],he=["visibleIndex","dataField","name","dataType","width","visible","sortOrder","lastSortOrder","sortIndex","groupIndex","filterValue","selectedFilterOperation","added"].concat(de),pe={visibleWidth:!0,bestFitWidth:!0,bufferedFilterValue:!0},fe=Number.MAX_SAFE_INTEGER||9007199254740991,me=/columns\[(\d+)\]\.?/gi,ge=1;e.exports={defaultOptions:function(){return{commonColumnSettings:{allowFiltering:!0,allowHiding:!0,allowSorting:!0,allowEditing:!0,encodeHtml:!0,trueText:C.default.format("dxDataGrid-trueText"),falseText:C.default.format("dxDataGrid-falseText")},allowColumnReordering:!1,allowColumnResizing:!1,columnResizingMode:"nextColumn",columnMinWidth:void 0,columnWidth:void 0,adaptColumnWidthByRatio:!0,columns:void 0,regenerateColumnsByVisibleItems:!1,customizeColumns:null,dateSerializationFormat:void 0}},controllers:{columns:g.default.Controller.inherit((I={visible:!0,showInColumnChooser:!0},D={number:["=","<>","<",">","<=",">=","between"],string:["contains","notcontains","startswith","endswith","=","<>"],date:["=","<>","<",">","<=",">=","between"],datetime:["=","<>","<",">","<=",">=","between"]},M={visibleIndex:!0,groupIndex:!0,grouped:!0,sortIndex:!0,sortOrder:!0},O=function(e){e.filterOperations=e.defaultFilterOperations},R=function(e,t,n,i){var r={};if(t){(0,l.isString)(t)&&(t={dataField:t});var o={};if(t.command)o=(0,f.deepExtendArraySafe)(r,t);else{r=e.getCommonSettings(t),n&&n.name&&n.dataField&&(t=(0,d.extend)({},t,{dataField:n.dataField}));var s=e._createCalculatedColumnOptions(t,i);t.dataField&&!t.type&&(o={headerId:"dx-col-".concat(ge++)}),o=(0,f.deepExtendArraySafe)(o,I),(0,f.deepExtendArraySafe)(o,r),(0,f.deepExtendArraySafe)(o,s),(0,f.deepExtendArraySafe)(o,t),(0,f.deepExtendArraySafe)(o,{selector:null})}return t.filterOperations===t.defaultFilterOperations&&O(o),o}},L=function e(t,n,i){var r=[];return n&&c.default.each(n,(function(n,o){var s=t._columnsUserState&&$(o,t._columnsUserState[n])&&t._columnsUserState[n],a=R(t,o,s,i);a&&(i&&(a.ownerBand=i),r.push(a),a.columns&&(r=r.concat(e(t,a.columns,a)),delete a.columns,a.hasColumns=!0))})),r},A=function(e,t){for(var n=[],i=t[e];i;)n.unshift(i),i=t[e=i.index];return n},P=function(e,t,n){var i=[],r=t[e];if(r)for(var o=0;o<r.length;o++){var s=r[o];(0,l.isDefined)(s.groupIndex)&&!s.showWhenGrouped||(i.push(s),n&&s.isBand&&(i=i.concat(P(s.index,t,n))))}return i},F=function(e,t){var n,i=[],r=e.getBandColumnsCache(),o=function(e){return e.ownerBand===t.ownerBand};if(r.isPlain){var s=e._columns.indexOf(t);s>=0&&(i=["columns[".concat(s,"]")])}else for(n=e._columns.filter(o);n.length&&-1!==n.indexOf(t);)i.unshift("columns[".concat(n.indexOf(t),"]")),n=(t=r.columnParentByIndex[t.index])?e._columns.filter(o):[];return i.join(".")},B=function e(t,n){var i=0,r=t.getChildrenByBandColumn(n,!0);return c.default.each(r,(function(n,r){r.isBand?(r.colspan=r.colspan||e(t,r.index),i+=r.colspan||1):i+=1})),i},H=function(e){var t=(0,l.type)(e);return"string"!==t&&"boolean"!==t&&"number"!==t&&"date"!==t&&"object"!==t&&(t=void 0),t},V=function(e,t){switch(e){case"date":case"datetime":return v.default.getDateSerializationFormat(t);case"number":if((0,l.isString)(t))return"string";if((0,l.isNumeric)(t))return null}},N=function(e,t){e.deserializeValue||((0,_.isDateType)(t)&&(e.deserializeValue=function(e){return v.default.deserializeDate(e)},e.serializeValue=function(e){return(0,l.isString)(e)?e:v.default.serializeDate(e,this.serializationFormat)}),"number"===t&&(e.deserializeValue=function(e){var t=parseFloat(e);return isNaN(t)?e:t},e.serializeValue=function(e,t){return"filter"===t?e:(0,l.isDefined)(e)&&"string"===this.serializationFormat?e.toString():e}))},z=function(e){return!0===e.value?this.trueText||"true":!1===e.value?this.falseText||"false":e.valueText||""},j=function(e){if("boolean"===e)return z},Y=function(e){c.default.each(e._columns,(function(e,t){t.index=e})),c.default.each(e._columns,(function(e,t){(0,l.isObject)(t.ownerBand)&&(t.ownerBand=t.ownerBand.index)})),c.default.each(e._commandColumns,(function(e,t){t.index=-(e+1)}))},W=function(e,t){(0,h.normalizeIndexes)(e._columns,"groupIndex",t,(function(e){var t=e.grouped;return delete e.grouped,t}))},Q=function(e,t,n){var i,r=(0,l.isObject)(t)?t.rowIndex:null,o="group"===n?e.getGroupColumns():"columnChooser"===n?e.getChooserColumns():e.getVisibleColumns(r);return t=(0,l.isObject)(t)?t.columnIndex:t,(i=o[t])&&"groupExpand"===i.type&&(i=e._columns.filter((function(e){return i.type===e.type}))[0]||i),i&&(0,l.isDefined)(i.index)?i.index:-1},$=function(e,t){return e&&t&&t.name===e.name&&(t.dataField===e.dataField||e.name)},G=function(e){var t,n,i,r=e._columnsUserState,o=e._ignoreColumnOptionNames||[],s=e._columns,a={},c=[],u=!0,d=[];function p(e,t){if(t)for(var n=0;n<he.length;n++){var i=he[n];(0,h.inArray)(i,o)>=0||("dataType"===i?e[i]=e[i]||t[i]:(0,h.inArray)(i,de)>=0?i in t&&(e[i]=t[i]):("selectedFilterOperation"===i&&t[i]&&(e.defaultSelectedFilterOperation=e[i]||null),e[i]=t[i]))}}function f(e,t){for(var n=t.name||t.dataField,i=a[n]||0,r=0;r<e.length;r++)if($(t,e[r])){if(!i)return a[n]=a[n]||0,a[n]++,r;i--}return-1}if(r){for(i=0;i<s.length;i++)n=f(r,s[i]),u=u&&n>=0,d.push(n);for(i=0;i<s.length;i++)t=s[i],n=d[i],(e._hasUserState||u)&&p(t,r[n]),n>=0&&(0,l.isDefined)(r[n].initialIndex)?c[n]=t:c.push(t);var m=!1;for(i=0;i<r.length;i++){var g=r[i];g.added&&f(s,g)<0&&(p(t=R(e,g.added),g),c.push(t),g.added.columns&&(m=!0))}m&&(Y(e),c=L(e,c)),q(e,c)}},K=function(e,t){Y(e),W(e,t),function(e,t){c.default.each(e._columns,(function(e,t){(0,l.isDefined)(t.sortIndex)&&!ne(t.sortOrder)&&delete t.sortIndex})),(0,h.normalizeIndexes)(e._columns,"sortIndex",t,(function(e){return!(0,l.isDefined)(e.groupIndex)&&ne(e.sortOrder)}))}(e,t),ue(e),function(e,t){for(var n,i,r={},o=[],s=e.getBandColumnsCache(),a=e._columns.filter((function(e){return!e.command})),l=0;l<a.length;l++){i=a[l];var c=A(l,s.columnParentByIndex);if(c.length){var u=c[c.length-1].index;r[u]=r[u]||[],r[u].push(i)}else o.push(i)}for(n in r)(0,h.normalizeIndexes)(r[n],"visibleIndex",t);(0,h.normalizeIndexes)(o,"visibleIndex",t)}(e,t)},U=function(e){e.resetColumnsCache()},q=function(e,t){e._columns=t,U(e),e.updateColumnDataTypes()},J=function(e,t,n,i){var r=e._columnChanges||{optionNames:{length:0},changeTypes:{length:0},columnIndex:i};n=(n=n||"all").split(".")[0];var o=r.changeTypes;t&&!o[t]&&(o[t]=!0,o.length++);var s=r.optionNames;n&&!s[n]&&(s[n]=!0,s.length++),void 0!==i&&i===r.columnIndex||delete r.columnIndex,e._columnChanges=r,U(e)},X=function(e){var t,n=e.option("onColumnsChanging"),i=e._columnChanges;e.isInitialized()&&!e._updateLockCount&&i&&(n&&(e._updateLockCount++,n((0,d.extend)({component:e.component},i)),e._updateLockCount--),e._columnChanges=void 0,(t=i.optionNames)&&["dataField","lookup","dataType","columns"].some((function(e){return t[e]}))?e.reinit():e.columnsChanged.fire(i))},Z=function(e,t,n){t>=0?n>=0||(e.lastSortOrder=e.sortOrder):e.sortOrder=e.lastSortOrder},ee=function(e,t){var n=t.value,i=t.optionName,r=t.prevValue,o="".concat(t.fullOptionName,".").concat(i);pe[i]||e._skipProcessingColumnsChange===o||(e._skipProcessingColumnsChange=o,e.component._notifyOptionChanged(o,n,r),e._skipProcessingColumnsChange=!1)},te=function(e,t,n,i,r){var o,a,c,u=s.default.compileGetter(n),d=t.index;if(3===arguments.length)return u(t,{functionsAsIs:!0});var p=u(t,{functionsAsIs:!0});if(p!==i){"groupIndex"===n||"calculateGroupValue"===n?(a="grouping",Z(t,i,p)):a="sortIndex"===n||"sortOrder"===n||"calculateSortValue"===n?"sorting":"columns";var f=s.default.compileSetter(n);f(t,i,{functionsAsIs:!0});var m=F(e,t);M[n]&&(K(e,t),i=u(t)),m&&ee(e,{fullOptionName:m,optionName:n,value:i,prevValue:p}),(0,l.isDefined)(p)||(0,l.isDefined)(i)||0===n.indexOf("buffer")||(r=!0),r?U(e):((0,h.inArray)(n,he)<0&&"visibleWidth"!==n&&(o=e.option("columns"),c=e.getColumnByPath(m,o),(0,l.isString)(c)&&(c=o[d]={dataField:c}),c&&$(c,t)&&f(c,i,{functionsAsIs:!0})),J(e,a,n,d))}},ne=function(e){return"asc"===e||"desc"===e},ie=function(e,t){var n=this.dataField.split("."),i=n.length-1;this.serializeValue&&(t=this.serializeValue(t));for(var r=0;r<i;r++){var o=n[r];e=e[o]=e[o]||{}}e[n[i]]=t},re=function(e,t){var n=e.option("rtlEnabled");return t.command&&!le(e,t)||!t.fixedPosition?n?"right":"left":t.fixedPosition},oe=function(e,t,n,i){var r,o=this.getRowCount(),s=e[i]&&e[i].rowspan,a=t.filter((function(e){return e.type===n}));return e.forEach((function(t,i){t.type===n&&(r=i,s=e[i+1]?e[i+1].rowspan:o)})),s>1&&(a=c.default.map(a,(function(e){return(0,d.extend)({},e,{rowspan:s})}))),a.unshift.apply(a,(0,l.isDefined)(r)?[r,1]:[i,0]),e.splice.apply(e,a),s||1},se=function(e,t){for(var n=e?e.toString():"0";n.length<t;)n="0"+n;return n},ae=function(e,t,n,i){for(var r,o,s=t.slice().map((function(e){return(0,d.extend)({},e)})),a=e._isColumnFixing(),l=n.slice().map((function(e){return(0,d.extend)({fixed:a},e)})),c=function(e){return n.reduce((function(t,n,r){return n.type===(i&&"groupExpand"===e.type?"expand":e.type)||n.command===e.command?r:t}),-1)},u=function(e){return e.command!==n[o].command},h=0;h<t.length;h++)(o=(r=t[h])&&(r.type||r.command)?c(r):-1)>=0&&(i?(s[h]=(0,d.extend)({fixed:a},n[o],r),"groupExpand"!==r.type&&(l=l.filter(u))):s[h]=(0,d.extend)({},r,n[o],"groupExpand"===r.type&&{visibleIndex:r.visibleIndex,index:r.index,headerId:r.headerId,allowFixing:0===r.groupIndex,allowReordering:0===r.groupIndex,groupIndex:r.groupIndex}));return t.length&&i&&l.length&&(s=s.concat(l)),s},le=function(e,t){return!!e._columns.filter((function(e){return e.type===t.type})).length},ce=function(e,t){return(0,l.isDefined)(t.fixed)||!t.type?t.fixed:e._isColumnFixing()},ue=function(e){return e._bandColumnsCache=void 0}
1,{_getExpandColumnOptions:function(){return{type:"expand",command:"expand",width:"auto",cssClass:"dx-command-expand",allowEditing:!1,allowGrouping:!1,allowSorting:!1,allowResizing:!1,allowReordering:!1,allowHiding:!1}},_getFirstItems:function(e){var t,n=[];return e&&e.items().length>0&&(t=(0,_.normalizeSortingInfo)(e.group()).length,n=function e(t,n){if(!t||!n)return t;for(var i=0;i<t.length;i++){var r=e(t[i].items||t[i].collapsedItems,n-1);if(r&&r.length)return r}}(e.items(),t)||[]),n},_endUpdateCore:function(){!this._skipProcessingColumnsChange&&X(this)},init:function(){var e,t,n=this.option("columns");this._commandColumns=this._commandColumns||[],this._columns=this._columns||[],this._isColumnsFromOptions=!!n,this._isColumnsFromOptions?(q(this,n?L(this,n):[]),G(this)):q(this,this._columnsUserState?L(this,this._columnsUserState):this._columns),t=(e=this)._getExpandColumnOptions(),e.addCommandColumn(t),this._dataSourceApplied?this.applyDataSource(this._dataSource,!0):K(this)},callbackNames:function(){return["columnsChanged"]},getColumnByPath:function(e,t){var n,i=[];return e.replace(me,(function(e,t){return i.push(parseInt(t)),""})),i.length&&(n=t?i.reduce((function(e,t){return e&&e.columns&&e.columns[t]}),{columns:t}):function(e,t){var n,i,r=function(e){return e.ownerBand===(n?n.index:void 0)};if(e.getBandColumnsCache().isPlain)n=e._columns[t[0]];else{i=e._columns.filter(r);for(var o=0;o<t.length;o++)(n=i[t[o]])&&(i=e._columns.filter(r))}return n}(this,i)),n},optionChanged:function(e){var t;switch(e.name){case"adaptColumnWidthByRatio":e.handled=!0;break;case"dataSource":e.value===e.previousValue||this.option("columns")||Array.isArray(e.value)&&Array.isArray(e.previousValue)||(this._columns=[]);break;case"columns":t=this._skipProcessingColumnsChange,e.handled=!0,this._skipProcessingColumnsChange||(e.name===e.fullName?(this._columnsUserState=null,this._ignoreColumnOptionNames=null,this.init()):(this._columnOptionChanged(e),t=!0)),t&&this._updateRequireResize(e);break;case"commonColumnSettings":case"columnAutoWidth":case"allowColumnResizing":case"allowColumnReordering":case"columnFixing":case"grouping":case"groupPanel":case"regenerateColumnsByVisibleItems":case"customizeColumns":case"editing":case"columnHidingEnabled":case"dateSerializationFormat":case"columnResizingMode":case"columnMinWidth":case"columnWidth":e.handled=!0;var n="columnWidth"===e.fullName&&["width"],i=e.fullName&&0===e.fullName.indexOf("editing.popup"),r=e.fullName&&0===e.fullName.indexOf("editing.form");i||r||this.reinit(n);break;case"rtlEnabled":this.reinit();break;default:this.callBase(e)}},_columnOptionChanged:function(e){var t={},n=this.getColumnByPath(e.fullName),i=e.fullName.replace(me,"");n&&(i?t[i]=e.value:t=e.value,this._skipProcessingColumnsChange=e.fullName,this.columnOption(n.index,t),this._skipProcessingColumnsChange=!1)},_updateRequireResize:function(e){var t=this.component;"width"===e.fullName.replace(me,"")&&t._updateLockCount&&(t._requireResize=!0)},publicMethods:function(){return["addColumn","deleteColumn","columnOption","columnCount","clearSorting","clearGrouping","getVisibleColumns","getVisibleColumnIndex"]},applyDataSource:function(e,t){var n=e&&e.isLoaded();if(this._dataSource=e,!this._dataSourceApplied||0===this._dataSourceColumnsCount||t||this.option("regenerateColumnsByVisibleItems")){if(n){if(!this._isColumnsFromOptions){var i=function(e,t){for(var n,i=e._getFirstItems(t),r={},s=[],a=0;a<i.length;
1a++)if(i[a])for(n in i[a])(0,l.isFunction)(i[a][n])&&!(0,o.isWrapped)(i[a][n])||(r[n]=!0);for(n in r)if(0!==n.indexOf("__")){var c=R(e,n);s.push(c)}return s}(this,e);i.length&&(q(this,i),this._dataSourceColumnsCount=this._columns.length,G(this))}return this.updateColumns(e,t)}this._dataSourceApplied=!1}else if(n&&!this.isAllDataTypesDefined(!0)&&this.updateColumnDataTypes(e))return J(this,"columns"),X(this),(new x.Deferred).reject().promise()},reset:function(){this._dataSourceApplied=!1,this._dataSourceColumnsCount=void 0,this.reinit()},resetColumnsCache:function(){this._visibleColumns=void 0,this._fixedColumns=void 0,this._rowCount=void 0,ue(this)},reinit:function(e){this._columnsUserState=this.getUserState(),this._ignoreColumnOptionNames=e||null,this.init(),e&&(this._ignoreColumnOptionNames=null)},isInitialized:function(){return!!this._columns.length||!!this.option("columns")},isDataSourceApplied:function(){return this._dataSourceApplied},getCommonSettings:function(e){var t=(!e||!e.type)&&this.option("commonColumnSettings")||{},n=this.option("grouping")||{},i=this.option("groupPanel")||{};return(0,d.extend)({allowFixing:this.option("columnFixing.enabled"),allowResizing:this.option("allowColumnResizing")||void 0,allowReordering:this.option("allowColumnReordering"),minWidth:this.option("columnMinWidth"),width:this.option("columnWidth"),autoExpandGroup:n.autoExpandAll,allowCollapsing:n.allowCollapsing,allowGrouping:i.allowColumnDragging&&i.visible||n.contextMenuEnabled},t)},isColumnOptionUsed:function(e){for(var t=0;t<this._columns.length;t++)if(this._columns[t][e])return!0},isAllDataTypesDefined:function(e){var t=this._columns;if(!t.length)return!1;for(var n=0;n<t.length;n++)if((t[n].dataField||t[n].calculateCellValue!==t[n].defaultCalculateCellValue)&&(!t[n].dataType||e&&t[n].deserializeValue&&void 0===t[n].serializationFormat))return!1;return!0},getColumns:function(){return this._columns},isBandColumnsUsed:function(){return this.getColumns().some((function(e){return e.isBand}))},getGroupColumns:function(){var e=[];return c.default.each(this._columns,(function(){(0,l.isDefined)(this.groupIndex)&&(e[this.groupIndex]=this)})),e},getVisibleColumns:function(e){return this._visibleColumns=this._visibleColumns||this._getVisibleColumnsCore(),e=(0,l.isDefined)(e)?e:this._visibleColumns.length-1,this._visibleColumns[e]||[]},getFixedColumns:function(e){return this._fixedColumns=this._fixedColumns||this._getFixedColumnsCore(),e=(0,l.isDefined)(e)?e:this._fixedColumns.length-1,this._fixedColumns[e]||[]},getFilteringColumns:function(){return this.getColumns().filter((function(e){return(e.dataField||e.name)&&(e.allowFiltering||e.allowHeaderFiltering)})).map((function(e){var t=(0,d.extend)(!0,{},e);return(0,l.isDefined)(t.dataField)||(t.dataField=t.name),t.filterOperations=e.filterOperations!==e.defaultFilterOperations?t.filterOperations:null,t}))},_getFixedColumnsCore:function(){var e,t,n,i=[],r=this.getRowCount(),o={command:"transparent"},s=0;if(this._isColumnFixing())for(var a=0;a<=r;a++){e=0,n=null,t=null;for(var c=this.getVisibleColumns(a,!0),u=0;u<c.length;u++){var d=c[u-1],h=c[u];h.fixed?d&&d.fixed&&re(this,d)!==re(this,h)?(0,l.isDefined)(t)||(t=u):n=h.fixedPosition:(0===a&&(h.isBand&&h.colspan?s+=h.colspan:s++),e++,(0,l.isDefined)(t)||(t=u))}if(0===a&&(0===e||e>=c.length))return[];(0,l.isDefined)(t)||(t="right"===n?0:c.length),i[a]=c.slice(0),o.colspan||(o.colspan=s),i[a].splice(t,e,o)}return i},_isColumnFixing:function(){var e=this.option("columnFixing.enabled");return!e&&c.default.each(this._columns,(function(t,n){if(n.fixed)return e=!0,!1})),e},_getExpandColumnsCore:function(){return this.getGroupColumns()},getExpandColumns:function(){var e,t=this._getExpandColumnsCore(),n=t.filter((function(e){return 0===e.groupIndex}))[0],i=n&&n.fixed,r=this._isColumnFixing();return t.length&&(e=this.columnOption("command:expand")),c.default.map(t,(function(t){return(0,d.extend)({},t,{visibleWidth:null,minWidth:null,cellTemplate:(0,l.isDefined)(t.groupIndex)?null:t.cellTemplate,headerCellTemplate:null,fixed:!(!(0,l.isDefined)(t.groupIndex)||!i)||r},e,{index:t.index,type:t.type||"groupExpand"})}))},getBandColumnsCache:function(){if(!this._bandColumnsCache){var e=this._columns,t={},n={},i=!0;e.forEach((function(r){var o=r.ownerBand,s=e[o];r.hasColumns&&(i=!1),r.colspan&&(r.colspan=void 0),r.rowspan&&(r.rowspan=void 0),s?n[r.index]=s:o=-1,t[o]=t[o]||[],t[o].push(r)})),this._bandColumnsCache={isPlain:i,columnChildrenByIndex:t,columnParentByIndex:n}}return this._bandColumnsCache},_isColumnVisible:function(e){return e.visible&&this.isParentColumnVisible(e.index)},_getVisibleColumnsCore:function(){var e,t,n=this,i=[],r=0,o=0,s=n.getRowCount(),a=[],u=[],d=0,h=n.option("rtlEnabled"),p=n.getBandColumnsCache(),m=ae(n,n.getExpandColumns(),n._columns),g=ae(n,n._columns,n._commandColumns,!0),_=function(e){var t;for(t=0;e>1;t++)e/=10;return t}(g.length);for(function(e,t,n){for(var i,r=0;r<t.length;r++){var o=t[r];(o.visible||o.command)&&(o.isBand&&(o.colspan=o.colspan||B(e,o.index)),o.isBand&&o.colspan||(i=e.getRowCount(),o.command||(0,l.isDefined)(o.groupIndex)&&!o.showWhenGrouped||(i-=A(o.index,n.columnParentByIndex).length),i>1&&(o.rowspan=i)))}}(n,g,p),e=0;e<s;e++)i[e]=[],u[e]=[{}],a[e]=[{},{},{}];return c.default.each(g,(function(){var i,r=this.visibleIndex,o=A(this.index,p.columnParentByIndex);if(n._isColumnVisible(this)&&(!(0,l.isDefined)(this.groupIndex)||this.showWhenGrouped)){var s=o.length;if(r<0?(r=-r,i=u[s]):(this.fixed=o.length?o[0].fixed:this.fixed,this.fixedPosition=o.length?o[0].fixedPosition:this.fixedPosition,this.fixed?(t="right"===this.fixedPosition,!h||this.command&&!le(n,this)||(t=!t),i=t?a[s][2]:a[s][0]):i=a[s][1]),o.length)for(r=se(r,_),e=o.length-1;e>=0;e--)r=se(o[e].visibleIndex,_)+r;i[r]=i[r]||[],i[r].push(this),d++}})),c.default.each(i,(function(e){(0,f.orderEach)(u[e],(function(t,n){i[e].unshift.apply(i[e],n)}));var t=i[e].length;c.default.each(a[e],(function(t,n){(0,f.orderEach)(n,(function(t,n){i[e].push.apply(i[e],n)}))})),o<e+1&&(o+=oe.call(n,i[e],m,"detailExpand",t)),r<e+1&&(r+=oe.call(n,i[e],m,"groupExpand",t))})),i.push(function e(t,n,i){var r=[];return t[n=n||0]&&c.default.each(t[n],(function(o,s){(s.ownerBand===i||(0,l.isDefined)(s.groupIndex))&&(s.isBand&&s.colspan?r.push.apply(r,e(t,n+1,s.index)):(!s.command||n<1)&&r.push(s))})),r}(i)),!d&&n._columns.length&&i[s].push({command:"empty"}),i},getInvisibleColumns:function(e,t){var n,i=this,r=[];return c.default.each(e=e||i._columns,(function(e,o){o.ownerBand===t&&(o.isBand?(n=o.visible?i.getInvisibleColumns(i.getChildrenByBandColumn(o.index),o.index):i.getChildrenByBandColumn(o.index)).length&&(r.push(o),r=r.concat(n)):o.visible||r.push(o))})),r},getChooserColumns:function(e){var t=e?this.getColumns():this.getInvisibleColumns();return(0,a.grep)(t,(function(e){return e.showInColumnChooser}))},allowMoveColumn:function(e,t,n,i){var r=Q(this,e,n),o=this._columns[r];return!(!o||!(o.allowReordering||o.allowGrouping||o.allowHiding))&&(n===i?"columnChooser"!==n&&(e=(0,l.isObject)(e)?e.columnIndex:e)!==(t=(0,l.isObject)(t)?t.columnIndex:t)&&e+1!==t:"group"===n&&"columnChooser"!==i||"group"===i?o&&o.allowGrouping:"columnChooser"!==n&&"columnChooser"!==i||o&&o.allowHiding)},moveColumn:function(e,t,n,i){var r,o,s={},a=Q(this,e,n),c=Q(this,t,i);if(a>=0){var u=this._columns[a];if(t=(0,l.isObject)(t)?t.columnIndex:t,o=c>=0?this._columns[c].groupIndex:-1,(0,l.isDefined)(u.groupIndex)&&"group"===n&&(o>
1u.groupIndex&&o--,"group"!==i?s.groupIndex=void 0:(r=u.groupIndex,delete u.groupIndex,W(this))),"group"===i)s.groupIndex=function(e,t,n){var i,r=e.getGroupColumns();if(n>=0)for(i=0;i<r.length;i++)r[i].groupIndex>=n&&r[i].groupIndex++;else for(n=0,i=0;i<r.length;i++)n=Math.max(n,r[i].groupIndex+1);return n}(this,0,o),u.groupIndex=r;else if(t>=0){var d=this._columns[c];s.visibleIndex=d&&u.ownerBand===d.ownerBand?ce(this,u)^ce(this,d)?fe:d.visibleIndex:fe}var h="columnChooser"!==i;u.visible!==h&&(s.visible=h),this.columnOption(u.index,s)}},changeSortOrder:function(e,t){var n={},i=this.option("sorting"),r=i&&i.mode,o=this._columns[e];("single"===r||"multiple"===r)&&o&&o.allowSorting&&(("single"===r||!t)&&!(0,l.isDefined)(o.groupIndex)&&c.default.each(this._columns,(function(t){t!==e&&this.sortOrder&&!(0,l.isDefined)(this.groupIndex)&&(delete this.sortOrder,delete this.sortIndex)})),ne(t)?o.sortOrder!==t&&(n.sortOrder=t):"none"===t?o.sortOrder&&(n.sortIndex=void 0,n.sortOrder=void 0):function(e){if("ctrl"===t){if(!("sortOrder"in e)||!("sortIndex"in e))return!1;n.sortOrder=void 0,n.sortIndex=void 0}else n.sortOrder=(0,l.isDefined)(e.groupIndex)||(0,l.isDefined)(e.sortIndex)?"desc"===e.sortOrder?"asc":"desc":"asc"}(o)),this.columnOption(o.index,n)},getSortDataSourceParameters:function(e){var t=[],n=[];return c.default.each(this._columns,(function(){(this.dataField||this.selector||this.calculateCellValue)&&(0,l.isDefined)(this.sortIndex)&&!(0,l.isDefined)(this.groupIndex)&&(t[this.sortIndex]=this)})),c.default.each(t,(function(){if(ne(this&&this.sortOrder)){var t={selector:this.calculateSortValue||this.displayField||this.calculateDisplayValue||e&&this.selector||this.dataField||this.calculateCellValue,desc:"desc"===this.sortOrder};this.sortingMethod&&(t.compare=this.sortingMethod.bind(this)),n.push(t)}})),n.length>0?n:null},getGroupDataSourceParameters:function(e){var t=[];return c.default.each(this.getGroupColumns(),(function(){var n=this.calculateGroupValue||this.displayField||this.calculateDisplayValue||e&&this.selector||this.dataField||this.calculateCellValue;if(n){var i={selector:n,desc:"desc"===this.sortOrder,isExpanded:!!this.autoExpandGroup};this.sortingMethod&&(i.compare=this.sortingMethod.bind(this)),t.push(i)}})),t.length>0?t:null},refresh:function(e){var t=[];return c.default.each(this._columns,(function(){var n=this.lookup;if(n&&!this.calculateDisplayValue){if(e&&n.valueMap)return;n.update&&t.push(n.update())}})),x.when.apply(i.default,t).done(U.bind(null,this))},_updateColumnOptions:function(e,t){e.selector=e.selector||function(t){return e.calculateCellValue(t)},c.default.each(["calculateSortValue","calculateGroupValue","calculateDisplayValue"],(function(n,i){var r=e[i];(0,l.isFunction)(r)&&!r.originalCallback&&(e[i]=function(t){return r.call(e,t)},e[i].originalCallback=r,e[i].columnIndex=t)})),(0,l.isString)(e.calculateDisplayValue)&&(e.displayField=e.calculateDisplayValue,e.calculateDisplayValue=s.default.compileGetter(e.displayField)),e.calculateDisplayValue&&(e.displayValueMap=e.displayValueMap||{}),N(e,e.dataType);var n=e.lookup;n&&N(n,n.dataType);var i=n?n.dataType:e.dataType;i&&(e.alignment=e.alignment||function(e,t){switch(e){case"number":return"right";case"boolean":return"center";default:return(0,u.getDefaultAlignment)(t)}}(i,this.option("rtlEnabled")),e.format=e.format||(0,_.getFormatByDataType)(i),e.customizeText=e.customizeText||j(i),e.defaultFilterOperations=e.defaultFilterOperations||!n&&D[i]||[],(0,l.isDefined)(e.filterOperations)||O(e),e.defaultFilterOperation=e.filterOperations&&e.filterOperations[0]||"=",e.showEditorAlways=(0,l.isDefined)(e.showEditorAlways)?e.showEditorAlways:"boolean"===i&&!e.cellTemplate)},updateColumnDataTypes:function(e){var t=this,n=t.option("dateSerializationFormat"),i=t._getFirstItems(e),r=!1;return c.default.each(t._columns,(function(e,o){var s,a,l,c,u,d=o.lookup;if((0,_.isDateType)(o.dataType)&&void 0===o.serializationFormat&&(o.serializationFormat=n),d&&(0,_.isDateType)(d.dataType)&&void 0===o.serializationFormat&&(d.serializationFormat=n),o.calculateCellValue&&i.length){if(!o.dataType||d&&!d.dataType){for(s=0;s<i.length;s++)a=o.calculateCellValue(i[s]),o.dataType||(u=H(a),(l=l||u)&&u&&l!==u&&(l="string")),d&&!d.dataType&&(u=H((0,_.getDisplayValue)(o,a,i[s])),(c=c||u)&&u&&c!==u&&(c="string"));(l||c)&&(l&&(o.dataType=l),d&&c&&(d.dataType=c),r=!0)}if(void 0===o.serializationFormat||d&&void 0===d.serializationFormat)for(s=0;s<i.length;s++)a=o.calculateCellValue(i[s],!0),void 0===o.serializationFormat&&(o.serializationFormat=V(o.dataType,a)),d&&void 0===d.serializationFormat&&(d.serializationFormat=V(d.dataType,d.calculateCellValue(a,!0)))}t._updateColumnOptions(o,e)})),r},_customizeColumns:function(e){var t=this.option("customizeColumns");t&&(e.some((function(e){return(0,l.isObject)(e.ownerBand)}))&&K(this),t(e),q(this,L(this,e)))},_checkAsyncValidationRules:function(){var e=this.option("editing.mode");"form"!==e&&"popup"!==e&&this._columns.some((function(e){return(e.validationRules||[]).some((function(e){return"async"===e.type}))}))&&m.default.log("E1057",this.component.NAME,e)},updateColumns:function(e,t){var n=this;if(t||n.updateSortingGrouping(e),!e||e.isLoaded()){var i=e?e.sort()||[]:n.get
1SortDataSourceParameters(),r=e?e.group()||[]:n.getGroupDataSourceParameters();n._customizeColumns(n._columns),n._checkAsyncValidationRules(),K(n);var o=n._columns;return(0,x.when)(n.refresh(!0)).always((function(){n._columns===o&&(n._updateChanges(e,{sorting:i,grouping:r}),X(n))}))}},_updateChanges:function(e,t){e&&(this.updateColumnDataTypes(e),this._dataSourceApplied=!0),(0,_.equalSortParameters)(t.sorting,this.getSortDataSourceParameters())||J(this,"sorting"),(0,_.equalSortParameters)(t.grouping,this.getGroupDataSourceParameters())||J(this,"grouping"),J(this,"columns")},updateSortingGrouping:function(e,t){var n,i,r=this,o=function(e,t,n){c.default.each(e,(function(e,i){if(delete i[n],t)for(var r=0;r<t.length;r++){var o=t[r].selector,s=t[r].isExpanded;if(o===i.dataField||o===i.name||o===i.selector||o===i.calculateCellValue||o===i.calculateGroupValue){i.sortOrder=i.sortOrder||(t[r].desc?"desc":"asc"),void 0!==s&&(i.autoExpandGroup=s),i[n]=r;break}}}))};if(e){n=(0,_.normalizeSortingInfo)(e.sort());var s=(0,_.normalizeSortingInfo)(e.group()),a=r.getGroupDataSourceParameters(),l=r.getSortDataSourceParameters();r._columns.length||(c.default.each(s,(function(e,t){r._columns.push(t.selector)})),c.default.each(n,(function(e,t){r._columns.push(t.selector)})),q(r,L(r,r._columns))),!t&&(a||r._hasUserState)||(0,_.equalSortParameters)(s,a)||(o(r._columns,s,"groupIndex"),t&&(J(r,"grouping"),i=!0)),!t&&(l||r._hasUserState)||(0,_.equalSortParameters)(n,l)||(o(r._columns,n,"sortIndex"),t&&(J(r,"sorting"),i=!0)),i&&X(r)}},updateFilter:function(e,t,n,i){if(!Array.isArray(e))return e;if(n=void 0!==(e=(0,d.extend)([],e)).columnIndex?e.columnIndex:n,i=void 0!==e.filterValue?e.filterValue:i,(0,l.isString)(e[0])){var r=this.columnOption(e[0]);t?(0,p.default)().forceIsoDateParsing&&r&&r.serializeValue&&e.length>1&&(e[e.length-1]=r.serializeValue(e[e.length-1],"filter")):r&&r.selector&&(e[0]=r.selector,e[0].columnIndex=r.index)}else(0,l.isFunction)(e[0])&&(e[0].columnIndex=n,e[0].filterValue=i);for(var o=0;o<e.length;o++)e[o]=this.updateFilter(e[o],t,n,i);return e},columnCount:function(){return this._columns?this._columns.length:0},columnOption:function(e,t,n,i){var r,o=this,s=(0,l.isString)(e)&&e.substr(0,e.indexOf(":")),a=o._columns.concat(o._commandColumns);if(void 0!==e){s&&(e=e.substr(s.length+1));for(var u=0;u<a.length;u++)if(s){if(""+a[u][s]===e){r=a[u];break}}else if(a[u].index===e||a[u].name===e||a[u].dataField===e||a[u].caption===e){r=a[u];break}if(r){if(1===arguments.length)return(0,d.extend)({},r);if((0,l.isString)(t)){if(2===arguments.length)return te(o,r,t);te(o,r,t,n,i)}else(0,l.isObject)(t)&&c.default.each(t,(function(e,t){te(o,r,e,t,i)}));X(o)}}},clearSorting:function(){var e=this.columnCount();this.beginUpdate();for(var t=0;t<e;t++)this.columnOption(t,"sortOrder",void 0);this.endUpdate()},clearGrouping:function(){var e=this.columnCount();this.beginUpdate();for(var t=0;t<e;t++)this.columnOption(t,"groupIndex",void 0);this.endUpdate()},getVisibleIndex:function(e,t){for(var n=this.getVisibleColumns(t),i=n.length-1;i>=0;i--)if(n[i].index===e)return i;return-1},getVisibleColumnIndex:function(e,t){var n=this.columnOption(e,"index");return this.getVisibleIndex(n,t)},addColumn:function(e){var t=R(this,e),n=this._columns.length;this._columns.push(t),t.isBand&&(this._columns=L(this,this._columns),t=this._columns[n]),t.added=e,K(this,t),this.updateColumns(this._dataSource)},deleteColumn:function(e){var t,n=this.columnOption(e);if(n&&n.index>=0){if((t=this._columns).forEach((function(e){(0,l.isDefined)(e.ownerBand)&&(e.ownerBand=t[e.ownerBand])})),this._columns.splice(n.index,1),n.isBand){var i=this.getChildrenByBandColumn(n.index).map((function(e){return e.index}));this._columns=this._columns.filter((function(e){return i.indexOf(e.index)<0}))}K(this),this.updateColumns(this._dataSource)}},addCommandColumn:function(e){var t=this._commandColumns.filter((function(t){return t.command===e.command}))[0];t||this._commandColumns.push(t=e)},getUserState:function(){var e,t=this._columns,n=[];function i(i,r){void 0!==t[e][r]&&(n[e][r]=t[e][r])}for(e=0;e<t.length;e++)n[e]={},c.default.each(he,i);return n},setUserState:function(e){var t=this._dataSource,n=this.option("stateStoring.ignoreColumnOptionNames");if(!n){n=[];var i=this.getCommonSettings();this.option("columnChooser.enabled")||n.push("visible"),"none"===this.option("sorting.mode")&&n.push("sortIndex","sortOrder"),i.allowGrouping||n.push("groupIndex"),i.allowFixing||n.push("fixed","fixedPosition"),i.allowResizing||n.push("width","visibleWidth");var r=!this.option("filterPanel.visible");!this.option("filterRow.visible")&&r&&n.push("filterValue","selectedFilterOperation"),!this.option("headerFilter.visible")&&r&&n.push("filterValues","filterType")}this._columnsUserState=e,this._ignoreColumnOptionNames=n,this._hasUserState=!!e,J(this,"filtering"),this.init(),t&&(t.sort(this.getSortDataSourceParameters()),t.group(this.getGroupDataSourceParameters()))},_createCalculatedColumnOptions:function(e,t){var n={},i=e.dataField;if((Array.isArray(e.columns)&&e.columns.length||e.isBand)&&(n.isBand=!0,i=null),i){if((0,l.isString)(i)){var a=s.default.compileGetter(i);n={caption:b.default.captionize(i),calculateCellValue:function(e,t){var n=a(e);return this.deserializeValue&&!t?this.deserializeValue(n):n},setCellValue:ie,parseValue:function(e){var t,n;return"number"===this.dataType?(0,l.isString)(e)&&this.format?(n=y.default.parse(e),(0,l.isNumeric)(n)&&(t=n)):(0,l.isDefined)(e)&&(0,l.isNumeric)(e)&&(t=Number(e)):"boolean"===this.dataType?e===this.trueText?t=!0:e===this.falseText&&(t=!1):(0,_.isDateType)(this.dataType)?(n=w.default.parse(e,this.format))&&(t=n):t=e,t}}}n.allowFiltering=!0}else n.allowFiltering=!!e.calculateFilterExpression;return n.calculateFilterExpression=function(){return T.default.defaultCalculateFilterExpression.apply(this,arguments)},n.createFilterExpression=function(e){var t;return this.calculateFilterExpression&&(t=this.calculateFilterExpression.apply(this,arguments)),(0,l.isFunction)(t)&&(t=[t,"=",!0]),t&&(t.columnIndex=this.index,t.filterValue=e),t},i&&(0,l.isString)(i)||(0,d.extend)(!0,n,{allowSorting:!1,allowGrouping:!1,
1calculateCellValue:function(){return null}}),t&&(n.allowFixing=!1),e.dataType&&(n.userDataType=e.dataType),e.selectedFilterOperation&&!("defaultSelectedFilterOperation"in n)&&(n.defaultSelectedFilterOperation=e.selectedFilterOperation),e.lookup&&(n.lookup={calculateCellValue:function(e,t){return this.valueExpr&&(e=this.valueMap&&this.valueMap[e]),this.deserializeValue&&!t?this.deserializeValue(e):e},updateValueMap:function(){if(this.valueMap={},this.items)for(var e=s.default.compileGetter(this.valueExpr),t=s.default.compileGetter(this.displayExpr),n=0;n<this.items.length;n++){var i=this.items[n],r=t(i);this.valueMap[e(i)]=r,this.dataType=this.dataType||H(r)}},update:function(){var e=this,t=e.dataSource;if(t)if((0,l.isFunction)(t)&&!(0,o.isWrapped)(t)&&(t=t({})),(0,l.isPlainObject)(t)||t instanceof S.default||Array.isArray(t)){if(e.valueExpr){var n=(0,k.normalizeDataSourceOptions)(t);return n.paginate=!1,(t=new k.DataSource(n)).load().done((function(t){e.items=t,e.updateValueMap&&e.updateValueMap()}))}}else m.default.log("E1016");else e.updateValueMap&&e.updateValueMap()}}),n.resizedCallbacks=(0,r.default)(),e.resized&&n.resizedCallbacks.add(e.resized.bind(e)),c.default.each(n,(function(e){if((0,l.isFunction)(n[e])&&0!==e.indexOf("default")){var t="default"+e.charAt(0).toUpperCase()+e.substr(1);n[t]=n[e]}})),n},getRowCount:function(){var e,t,n;return this._rowCount=this._rowCount||(t=1,n=(e=this).getBandColumnsCache().columnParentByIndex,e._columns.forEach((function(e){var i=A(e.index,n),r=i.filter((function(e){return!e.visible}));e.visible&&!r.length&&(t=Math.max(t,i.length+1))})),t),this._rowCount},getRowIndex:function(e,t){var n=this._columns[e],i=this.getBandColumnsCache();return n&&(t||n.visible&&!n.command&&!(0,l.isDefined)(n.groupIndex))?A(e,i.columnParentByIndex).length:0},getChildrenByBandColumn:function(e,t){var n=this.getBandColumnsCache(),i=P(e,n.columnChildrenByIndex,!t);return t?i.filter((function(e){return e.visible&&!e.command})).sort((function(e,t){return e.visibleIndex-t.visibleIndex})):i},isParentBandColumn:function(e,t){var n=!1,i=this._columns[e],r=this.getBandColumnsCache(),o=i&&A(e,r.columnParentByIndex);return o&&c.default.each(o,(function(e,i){if(i.index===t)return n=!0,!1})),n},isParentColumnVisible:function(e){var t=!0,n=this.getBandColumnsCache(),i=e>=0&&A(e,n.columnParentByIndex);return i&&c.default.each(i,(function(e,n){return t=t&&n.visible})),t},getColumnId:function(e){return e.command&&"groupExpand"===e.type?le(this,e)?"type:"+e.type:"command:"+e.command:e.index},getCustomizeTextByDataType:j,getHeaderContentAlignment:function(e){return this.option("rtlEnabled")?"left"===e?"right":"left":e}}))}}},i1ou:function(e,t,n){"use strict";e.exports={af:"\xa4#,##0.00;(\xa4#,##0.00)","af-NA":"\xa4#,##0.00;(\xa4#,##0.00)",agq:"#,##0.00\xa4",ak:"\xa4#,##0.00",am:"\xa4#,##0.00;(\xa4#,##0.00)",ar:"\xa4#,##0.00;(\xa4#,##0.00)","ar-AE":"\xa4#,##0.00;(\xa4#,##0.00)","ar-BH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DZ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EG":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-ER":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IL":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IQ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-JO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KW":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LB":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MR":"\xa4#,##0.00;(\xa4#,##0.00)","ar-OM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-PS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-QA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TN":"\xa4#,##0.00;(\xa4#,##0.00)","ar-YE":"\xa4#,##0.00;(\xa4#,##0.00)",as:"\xa4\xa0#,##,##0.00",asa:"#,##0.00\xa0\xa4",ast:"#,##0.00\xa0\xa4",az:"#,##0.00\xa0\xa4","az-Cyrl":"#,##0.00\xa0\xa4","az-Latn":"#,##0.00\xa0\xa4",bas:"#,##0.00\xa0\xa4",be:"#,##0.00\xa0\xa4",bem:"\xa4#,##0.00;(\xa4#,##0.00)",bez:"#,##0.00\xa4",bg:"0.00\xa0\xa4;(0.00\xa0\xa4)",bm:"\xa4#,##0.00;(\xa4#,##0.00)",bn:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","bn-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",bo:"\xa4\xa0#,##0.00","bo-IN":"\xa4\xa0#,##0.00",br:"#,##0.00\xa0\xa4",brx:"\xa4\xa0#,##,##0.00",bs:"#,##0.00\xa0\xa4","bs-Cyrl":"#,##0.00\xa0\xa4","bs-Latn":"#,##0.00\xa0\xa4",ca:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-AD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-ES-VALENCIA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-FR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-IT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ccp:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","ccp-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",ce:"#,##0.00\xa0\xa4",ceb:"\xa4#,##0.00;(\xa4#,##0.00)",cgg:"\xa4#,##0.00",chr:"\xa4#,##0.00;(\xa4#,##0.00)",ckb:"\xa4\xa0#,##0.00","ckb-IR":"\xa4\xa0#,##0.00",cs:"#,##0.00\xa0\xa4",cu:"\xa4\xa0#,##0.00",cy:"\xa4#,##0.00;(\xa4#,##0.00)",da:"#,##0.00\xa0\xa4","da-GL":"#,##0.00\xa0\xa4",dav:"\xa4#,##0.00;(\xa4#,##0.00)",de:"#,##0.00\xa0\xa4","de-AT":"#,##0.00\xa0\xa4","de-BE":"#,##0.00\xa0\xa4","de-CH":"#,##0.00\xa0\xa4","de-IT":"#,##0.00\xa0\xa4","de-LI":"#,##0.00\xa0\xa4","de-LU":"#,##0.00\xa0\xa4",dje:"#,##0.00\xa4",dsb:"#,##0.00\xa0\xa4",dua:"#,##0.00\xa0\xa4",dyo:"#,##0.00\xa0\xa4",dz:"\xa4#,##,##0.00",ebu:"\xa4#,##0.00;(\xa4#,##0.00)",ee:"\xa4#,##0.00;(\xa4#,##0.00)","ee-TG":"\xa4#,##0.00;(\xa4#,##0.00)",el:"#,##0.00\xa0\xa4","el-CY":"#,##0.00\xa0\xa4",en:"\xa4#,##0.00;(\xa4#,##0.00)","en-001":"\xa4#,##0.00;(\xa4#,##0.00)","en-150":"#,##0.00\xa0\xa4","en-AE":"\xa4#,##0.00;(\xa4#,##0.00)","en-AG":"\xa4#,##0.00;(\xa4#,##0.00)","en-AI":"\xa4#,##0.00;(\xa4#,##0.00)","en-AS":"\xa4#,##0.00;(\xa4#,##0.00)","en-AT":"\xa4\xa0#,##0.00","en-AU":"\xa4#,##0.00;(\xa4#,##0.00)","en-BB":"\xa4#,##0.00;(\xa4#,##0.00)","en-BE":"#,##0.00\xa0\xa4","en-BI":"\xa4#,##0.00;(\xa4#,##0.00)","en-BM":"\xa4#,##0.00;(\xa4#,##0.00)","en-BS":"\xa4#,##0.00;(\xa4#,##0.00)","en-BW":"\xa4#,##0.00;(\xa4#,##0.00)","en-BZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-CA":"\xa4#,##0.00;(\xa4#,##0.00)","en-CC":"\xa4#,##0.00;(\xa4#,##0.00)","en-CH":"\xa4\xa0#,##0.00;\xa4-#,##0.00","en-CK":"\xa4#,##0.00;(\xa4#,##0.00)","en-CM":"\xa4#,##0.00;(\xa4#,##0.00)","en-CX":"\xa4#,##0.00;(\xa4#,##0.00)","en-CY":"\xa4#,##0.00;(\xa4#,##0.00)","en-DE":"#,##0.00\xa0\xa4","en-DG":"\xa4#,##0.00;(\xa4#,##0.00)","en-DK":"#,##0.00\xa0\xa4","en-DM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ER":"\xa4#,##0.00;(\xa4#,##0.00)","en-FI":"#,##0.00\xa0\xa4","en-FJ":"\xa4#,##0.00;(\xa4#,##0.00)","en-FK":"\xa4#,##0.00;(\xa4#,##0.00)","en-FM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GB":"\xa4#,##0.00;(\xa4#,##0.00)","en-GD":"\xa4#,##0.00;(\xa4#,##0.00)","en-GG":"\xa4#,##0.00;(\xa4#,##0.00)","en-GH":"\xa4#,##0.00;(\xa4#,##0.00)","en-GI":"\xa4#,##0.00;(\xa4#,##0.00)","en-GM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GU":"\xa4#,##0.00;(\xa4#,##0.00)","en-GY":"\xa4#,##0.00;(\xa4#,##0.00)","en-HK":"\xa4#,##0.00;(\xa4#,##0.00)","en-IE":"\xa4#,##0.00;(\xa4#,##0.00)","en-IL":"\xa4#,##0.00;(\xa4#,##0.00)","en-IM":"\xa4#,##0.00;(\xa4#,##0.00)","en-IN":"\xa4#,##0.00;(\xa4#,##0.00)","en-IO":"\xa4#,##0.00;(\xa4#,##0.00)","en-JE":"\xa4#,##0.00;(\xa4#,##0.00)","en-JM":"\xa4#,##0.00;(\xa4#,##0.00)","en-KE":"\xa4#,##0.00;(\xa4#,##0.00)","en-KI":"\xa4#,##0.00;(\xa4#,##0.00)","en-KN":"\xa4#,##0.00;(\xa4#,##0.00)","en-KY":"\xa4#,##0.00;(\xa4#,##0.00)","en-LC":"\xa4#,##0.00;(\xa4#,##0.00)","en-LR":"\xa4#,##0.00;(\xa4#,##0.00)","en-LS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MG":"\xa4#,##0.00;(\xa4#,##0.00)","en-MH":"\xa4#,##0.00;(\xa4#,##0.00)","en-MO":"\xa4#,##0.00;(\xa4#,##0.00)","en-MP":"\xa4#,##0.00;(\xa4#,##0.00)","en-MS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MT":"\xa4#,##0.00;(\xa4#,##0.00)","en-MU":"\xa4#,##0.00;(\xa4#,##0.00)","en-MW":"\xa4#,##0.00;(\xa4#,##0.00)","en-MY":"\xa4#,##0.00;(\xa4#,##0.00)","en-NA":"\xa4#,##0.00;(\xa4#,##0.00)","en-NF":"\xa4#,##0.00;(\xa4#,##0.00)","en-NG":"\xa4#,##0.00;(\xa4#,##0.00)","en-NL":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","en-NR":"\xa4#,##0.00;(\xa4#,##0.00)","en-NU":"\xa4#,##0.00;(\xa4#,##0.00)","en-NZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-PG":"\xa4#,##0.00;(\xa4#,##0.00)","en-PH":"\xa4#,##0.00;(\xa4#,##0.00)","en-PK":"\xa4#,##0.00;(\xa4#,##0.00)","en-PN":"\xa4#,##0.00;(\xa4#,##0.00)","en-PR":"\xa4#,##0.00;(\xa4#,##0.00)","en-PW":"\xa4#,##0.00;(\xa4#,##0.00)","en-RW":"\xa4#,##0.00;(\xa4#,##0.00)","en-SB":"\xa4#,##0.00;(\xa4#,##0.00)","en-SC":"\xa4#,##0.00;(\xa4#,##0.00)","en-SD":"\xa4#,##0.00;(\xa4#,##0.00)","en-SE":"#,##0.00\xa0\xa4","en-SG":"\xa4#,##0.00;(\xa4#,##0.00)","en-SH":"\xa4#,##0.00;(\xa4#,##0.00)","en-SI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","en-SL":"\xa4#,##0.00;(\xa4#,##0.00)","en-SS":"\xa4#,##0.00;(\xa4#,##0.00)","en-SX":"\xa4#,##0.00;(\xa4#,##0.00)","en-SZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-TC":"\xa4#,##0.00;(\xa4#,##0.00)","en-TK":"\xa4#,##0.00;(\xa4#,##0.00)","en-TO":"\xa4#,##0.00;(\xa4#,##0.00)","en-TT":"\xa4#,##0.00;(\xa4#,##0.00)","en-TV":"\xa4#,##0.00;(\xa4#,##0.00)","en-TZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-UG":"\xa4#,##0.00;(\xa4#,##0.00)","en-UM":"\xa4#,##0.00;(\xa4#,##0.00)","en-US-POSIX":"\xa4#,##0.00;(\xa4#,##0.00)","en-VC":"\xa4#,##0.00;(\xa4#,##0.00)","en-VG":"\xa4#,##0.00;(\xa4#,##0.00)","en-VI":"\xa4#,##0.00;(\xa4#,##0.00)","en-VU":"\xa4#,##0.00;(\xa4#,##0.00)","en-WS":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZA":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZW":"\xa4#,##0.00;(\xa4#,##0.00)",eo:"\xa4\xa0#,##0.00",es:"#,##0.00\xa0\xa4","es-419":"\xa4#,##0.00","es-AR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-BO":"\xa4#,##0.00","es-BR":"\xa4#,##0.00","es-BZ":"\xa4#,##0.00","es-CL":"\xa4#,##0.00","es-CO":"\xa4#,##0.00","es-CR":"\xa4#,##0.00","es-CU":"\xa4#,##0.00","es-DO":"\xa4#,##0.00;(\xa4#,##0.00)","es-EA":"#,##0.00\xa0\xa4","es-EC":"\xa4#,##0.00","es-GQ":"#,##0.00\xa0\xa4","es-GT":"\xa4#,##0.00","es-HN":"\xa4#,##0.00","es-IC":"#,##0.00\xa0\xa4","es-MX":"\xa4#,##0.00","es-NI":"\xa4#,##0.00","es-PA":"\xa4#,##0.00","es-PE":"\xa4#,##0.00","es-PH":"#,##0.00\xa0\xa4","es-PR":"\xa4#,##0.00","es-PY":"\xa4#,##0.00","es-SV":"\xa4#,##0.00","es-US":"\xa4#,##0.00","es-UY":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-VE":"\xa4#,##0.00",et:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",eu:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ewo:"#,##0.00\xa0\xa4",fa:"\u200e\xa4\xa0#,##0.00;\u200e(\xa4\xa0#,##0.00)","fa-AF":"\xa4\xa0#,##0.00;
1\u200e(\xa4\xa0#,##0.00)",ff:"#,##0.00\xa0\xa4","ff-Latn":"#,##0.00\xa0\xa4","ff-Latn-BF":"#,##0.00\xa0\xa4","ff-Latn-CM":"#,##0.00\xa0\xa4","ff-Latn-GH":"#,##0.00\xa0\xa4","ff-Latn-GM":"#,##0.00\xa0\xa4","ff-Latn-GN":"#,##0.00\xa0\xa4","ff-Latn-GW":"#,##0.00\xa0\xa4","ff-Latn-LR":"#,##0.00\xa0\xa4","ff-Latn-MR":"#,##0.00\xa0\xa4","ff-Latn-NE":"#,##0.00\xa0\xa4","ff-Latn-NG":"#,##0.00\xa0\xa4","ff-Latn-SL":"#,##0.00\xa0\xa4",fi:"#,##0.00\xa0\xa4",fil:"\xa4#,##0.00;(\xa4#,##0.00)",fo:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fo-DK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GP":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-HT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-KM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-ML":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SY":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-VU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-WF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-YT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fur:"\xa4\xa0#,##0.00",fy:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",ga:"\xa4#,##0.00;(\xa4#,##0.00)","ga-GB":"\xa4#,##0.00;(\xa4#,##0.00)",gd:"\xa4#,##0.00;(\xa4#,##0.00)",gl:"#,##0.00\xa0\xa4",gsw:"#,##0.00\xa0\xa4","gsw-FR":"#,##0.00\xa0\xa4","gsw-LI":"#,##0.00\xa0\xa4",gu:"\xa4#,##,##0.00;(\xa4#,##,##0.00)",guz:"\xa4#,##0.00;(\xa4#,##0.00)",gv:"\xa4#,##0.00",ha:"\xa4\xa0#,##0.00","ha-GH":"\xa4\xa0#,##0.00","ha-NE":"\xa4\xa0#,##0.00",haw:"\xa4#,##0.00;(\xa4#,##0.00)",he:"#,##0.00\xa0\xa4",hi:"\xa4#,##,##0.00",hr:"#,##0.00\xa0\xa4","hr-BA":"#,##0.00\xa0\xa4",hsb:"#,##0.00\xa0\xa4",hu:"#,##0.00\xa0\xa4",hy:"#,##0.00\xa0\xa4",ia:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",id:"\xa4#,##0.00",ig:"\xa4#,##0.00;(\xa4#,##0.00)",ii:"\xa4\xa0#,##0.00",is:"#,##0.00\xa0\xa4",it:"#,##0.00\xa0\xa4","it-CH":"#,##0.00\xa0\xa4","it-SM":"#,##0.00\xa0\xa4","it-VA":"#,##0.00\xa0\xa4",ja:"\xa4#,##0.00;(\xa4#,##0.00)",jgo:"\xa4\xa0#,##0.00",jmc:"\xa4#,##0.00",jv:"\xa4\xa0#,##0.00",ka:"#,##0.00\xa0\xa4",kab:"#,##0.00\xa4",kam:"\xa4#,##0.00;(\xa4#,##0.00)",kde:"\xa4#,##0.00;(\xa4#,##0.00)",kea:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",khq:"#,##0.00\xa4",ki:"\xa4#,##0.00;(\xa4#,##0.00)",kk:"#,##0.00\xa0\xa4",kkj:"\xa4\xa0#,##0.00",kl:"\xa4#,##0.00;\xa4-#,##0.00",kln:"\xa4#,##0.00;(\xa4#,##0.00)",km:"#,##0.00\xa4;(#,##0.00\xa4)",kn:"\xa4#,##0.00;(\xa4#,##0.00)",ko:"\xa4#,##0.00;(\xa4#,##0.00)","ko-KP":"\xa4#,##0.00;(\xa4#,##0.00)",kok:"\xa4#,##0.00;(\xa4#,##0.00)",ks:"\xa4\xa0#,##,##0.00",ksb:"#,##0.00\xa4",ksf:"#,##0.00\xa0\xa4",ksh:"#,##0.00\xa0\xa4",ku:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",kw:"\xa4#,##0.00",ky:"#,##0.00\xa0\xa4",lag:"\xa4\xa0#,##0.00",lb:"#,##0.00\xa0\xa4",lg:"#,##0.00\xa4",lkt:"\xa4\xa0#,##0.00",ln:"#,##0.00\xa0\xa4","ln-AO":"#,##0.00\xa0\xa4","ln-CF":"#,##0.00\xa0\xa4","ln-CG":"#,##0.00\xa0\xa4",lo:"\xa4#,##0.00;\xa4-#,##0.00",lrc:"\xa4\xa0#,##0.00","lrc-IQ":"\xa4\xa0#,##0.00",lt:"#,##0.00\xa0\xa4",lu:"#,##0.00\xa4",luo:"#,##0.00\xa4",luy:"\xa4#,##0.00;\xa4-\xa0#,##0.00",lv:"#,##0.00\xa0\xa4",mas:"\xa4#,##0.00;(\xa4#,##0.00)","mas-TZ":"\xa4#,##0.00;(\xa4#,##0.00)",mer:"\xa4#,##0.00;(\xa4#,##0.00)",mfe:"\xa4\xa0#,##0.00",mg:"\xa4#,##0.00",mgh:"\xa4\xa0#,##0.00",mgo:"\xa4\xa0#,##0.00",mi:"\xa4\xa0#,##0.00",mk:"#,##0.00\xa0\xa4",ml:"\xa4#,##0.00;(\xa4#,##0.00)",mn:"\xa4\xa0#,##0.00",mr:"\xa4#,##0.00;(\xa4#,##0.00)",ms:"\xa4#,##0.00;(\xa4#,##0.00)","ms-BN":"\xa4#,##0.00;(\xa4#,##0.00)","ms-SG":"\xa4#,##0.00;(\xa4#,##0.00)",mt:"\xa4#,##0.00",mua:"\xa4#,##0.00;(\xa4#,##0.00)",my:"\xa4\xa0#,##0.00",mzn:"\xa4\xa0#,##0.00",naq:"\xa4#,##0.00",nb:"\xa4\xa0#,##0.00","
1nb-SJ":"\xa4\xa0#,##0.00",nd:"\xa4#,##0.00;(\xa4#,##0.00)",nds:"\xa4\xa0#,##0.00","nds-NL":"\xa4\xa0#,##0.00",ne:"\xa4\xa0#,##0.00","ne-IN":"\xa4\xa0#,##0.00",nl:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-AW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BE":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BQ":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-CW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SX":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nmg:"#,##0.00\xa0\xa4",nn:"#,##0.00\xa0\xa4",nnh:"\xa4\xa0#,##0.00",nus:"\xa4#,##0.00;(\xa4#,##0.00)",nyn:"\xa4#,##0.00",om:"\xa4#,##0.00","om-KE":"\xa4#,##0.00",or:"\xa4#,##0.00;(\xa4#,##0.00)",os:"\xa4\xa0#,##0.00","os-RU":"\xa4\xa0#,##0.00",pa:"\xa4\xa0#,##0.00","pa-Arab":"\xa4\xa0#,##0.00","pa-Guru":"\xa4\xa0#,##0.00",pl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",prg:"\xa4\xa0#,##0.00",ps:"\xa4#,##0.00;(\xa4#,##0.00)","ps-PK":"\xa4#,##0.00;(\xa4#,##0.00)",pt:"\xa4\xa0#,##0.00","pt-AO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CV":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-PT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-ST":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-TL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",qu:"\xa4\xa0#,##0.00","qu-BO":"\xa4\xa0#,##0.00","qu-EC":"\xa4\xa0#,##0.00",rm:"#,##0.00\xa0\xa4",rn:"#,##0.00\xa4",ro:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ro-MD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",rof:"\xa4#,##0.00",root:"\xa4\xa0#,##0.00",ru:"#,##0.00\xa0\xa4","ru-BY":"#,##0.00\xa0\xa4","ru-KG":"#,##0.00\xa0\xa4","ru-KZ":"#,##0.00\xa0\xa4","ru-MD":"#,##0.00\xa0\xa4","ru-UA":"#,##0.00\xa0\xa4",rw:"\xa4\xa0#,##0.00",rwk:"#,##0.00\xa4",sah:"#,##0.00\xa0\xa4",saq:"\xa4#,##0.00;(\xa4#,##0.00)",sbp:"#,##0.00\xa4",sd:"\xa4\xa0#,##0.00",se:"#,##0.00\xa0\xa4","se-FI":"#,##0.00\xa0\xa4","se-SE":"#,##0.00\xa0\xa4",seh:"#,##0.00\xa4",ses:"#,##0.00\xa4",sg:"\xa4#,##0.00;\xa4-#,##0.00",shi:"#,##0.00\xa4","shi-Latn":"#,##0.00\xa4","shi-Tfng":"#,##0.00\xa4",si:"\xa4#,##0.00;(\xa4#,##0.00)",sk:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",smn:"#,##0.00\xa0\xa4",sn:"\xa4#,##0.00;(\xa4#,##0.00)",so:"\xa4#,##0.00;(\xa4#,##0.00)","so-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","so-ET":"\xa4#,##0.00;(\xa4#,##0.00)","so-KE":"\xa4#,##0.00;(\xa4#,##0.00)",sq:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-MK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sv:"#,##0.00\xa0\xa4","sv-AX":"#,##0.00\xa0\xa4","sv-FI":"#,##0.00\xa0\xa4",sw:"\xa4\xa0#,##0.00","sw-CD":"\xa4\xa0#,##0.00","sw-KE":"\xa4\xa0#,##0.00","sw-UG":"\xa4\xa0#,##0.00",ta:"\xa4#,##0.00;(\xa4#,##0.00)","ta-LK":"\xa4#,##0.00;(\xa4#,##0.00)","ta-MY":"\xa4#,##0.00;(\xa4#,##0.00)","ta-SG":"\xa4#,##0.00;(\xa4#,##0.00)",te:"\xa4#,##0.00;(\xa4#,##0.00)",teo:"\xa4#,##0.00;(\xa4#,##0.00)","teo-KE":"\xa4#,##0.00;(\xa4#,##0.00)",tg:"#,##0.00\xa0\xa4",th:"\xa4#,##0.00;(\xa4#,##0.00)",ti:"\xa4#,##0.00","ti-ER":"\xa4#,##0.00",tk:"#,##0.00\xa0\xa4",to:"\xa4\xa0#,##0.00",tr:"\xa4#,##0.00;(\xa4#,##0.00)","tr-CY":"\xa4#,##0.00;(\xa4#,##0.00)",tt:"#,##0.00\xa0\xa4",twq:"#,##0.00\xa4",tzm:"#,##0.00\xa0\xa4",ug:"\xa4#,##0.00;(\xa4#,##0.00)",uk:"#,##0.00\xa0\xa4",ur:"\xa4#,##0.00;(\xa4#,##0.00)","ur-IN":"\xa4#,##0.00;(\xa4#,##0.00)",uz:"#,##0.00\xa0\xa4","uz-Arab":"\xa4\xa0#,##0.00","uz-Cyrl":"#,##0.00\xa0\xa4","uz-Latn":"#,##0.00\xa0\xa4",vai:"\xa4#,##0.00;(\xa4#,##0.00)","vai-Latn":"\xa4#,##0.00;(\xa4#,##0.00)","vai-Vaii":"\xa4#,##0.00;(\xa4#,##0.00)",vi:"#,##0.00\xa0\xa4",vo:"\xa4\xa0#,##0.00",vun:"\xa4#,##0.00",wae:"\xa4\xa0#,##0.00",wo:"\xa4\xa0#,##0.00",xh:"\xa4#,##0.00",xog:"#,##0.00\xa0\xa4",yav:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",yi:"\xa4\xa0#,##0.00",yo:"\xa4#,##0.00;(\xa4#,##0.00)","yo-BJ":"\xa4#,##0.00;(\xa4#,##0.00)",yue:"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hans":"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hant":"\xa4#,##0.00;(\xa4#,##0.00)",zgh:"#,##0.00\xa4",zh:"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans":"\xa4#,##0.00;
1(\xa4#,##0.00)","zh-Hans-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-MO":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-SG":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-MO":"\xa4#,##0.00;(\xa4#,##0.00)",zu:"\xa4#,##0.00;(\xa4#,##0.00)"}},i530:function(e,t,n){"use strict";var i=c(n("FKN7")),r=c(n("jeLr")),o=c(n("5qrJ")),s=n("XpgS"),a=n("zl3R"),l=n("JDOJ");function c(e){return e&&e.__esModule?e:{default:e}}var u=o.default.inherit({_keydown:(0,l.addNamespace)("keydown","KeyboardProcessor"),_compositionStart:(0,l.addNamespace)("compositionstart","KeyboardProcessor"),_compositionEnd:(0,l.addNamespace)("compositionend","KeyboardProcessor"),ctor:function(e){var t=this;(e=e||{}).element&&(this._element=(0,i.default)(e.element)),e.focusTarget&&(this._focusTarget=e.focusTarget),this._handler=e.handler,this._context=e.context,this._childProcessors=[],this._element&&(this._processFunction=function(e){var n=t._focusTarget&&t._focusTarget!==e.target&&(0,s.inArray)(e.target,t._focusTarget)<0,i=t._isComposingJustFinished&&229===e.which||t._isComposing||n;t._isComposingJustFinished=!1,i||t.process(e)},this._toggleProcessingWithContext=this.toggleProcessing.bind(this),r.default.on(this._element,this._keydown,this._processFunction),r.default.on(this._element,this._compositionStart,this._toggleProcessingWithContext),r.default.on(this._element,this._compositionEnd,this._toggleProcessingWithContext))},dispose:function(){this._element&&(r.default.off(this._element,this._keydown,this._processFunction),r.default.off(this._element,this._compositionStart,this._toggleProcessingWithContext),r.default.off(this._element,this._compositionEnd,this._toggleProcessingWithContext)),this._element=void 0,this._handler=void 0,this._context=void 0,this._childProcessors=void 0},clearChildren:function(){this._childProcessors=[]},push:function(e){return this._childProcessors||this.clearChildren(),this._childProcessors.push(e),e},attachChildProcessor:function(){var e=new u;return this._childProcessors.push(e),e},reinitialize:function(e,t){return this._context=t,this._handler=e,this},process:function(e){var t={keyName:(0,l.normalizeKeyName)(e),key:e.key,code:e.code,ctrl:e.ctrlKey,location:e.location,metaKey:e.metaKey,shift:e.shiftKey,alt:e.altKey,which:e.which,originalEvent:e};this._handler&&this._handler.call(this._context,t)&&this._childProcessors&&(0,a.each)(this._childProcessors,(function(t,n){n.process(e)}))},toggleProcessing:function(e){this._isComposing="compositionstart"===e.type,this._isComposingJustFinished=!this._isComposing}});e.exports=u},iEDd:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iGFM:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=(i=n("Ek++"))&&i.__esModule?i:{default:i},o=n("blPF"),s=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e+=(0,o.mod10)(e),e+=(0,o.mod10)(e),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default);t.default=s},iQIv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(n("FKN7")),r=l(n("3akY")),o=n("1LL4"),s=n("XpgS"),a=l(n("D8Ap"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(-1!==e.indexOf(t))throw a.default.Error("E1055",t);e.push(t)}var d=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.buttons=[],this.defaultButtonsInfo=n,this.editor=t}var t;return(t=[{key:"_compileButtonInfo",value:function(e){var t=this,n=[];return e.map((function(e){var i,l,d="string"==typeof e;if(d||(i=e,function(){if(!i||"object"!==c(i)||Array.isArray(i))throw a.default.Error("E1053")}(),function(){if(!("name"in i))throw a.default.Error("E1054")}(),function(){if("string"!=typeof i.name)throw a.default.Error("E1055")}(),function(){var e=i.location;"location"in i&&"after"!==e&&"before"!==e&&(i.location="after")}()),d||(l=e.name,(0,s.find)(t.defaultButtonsInfo,(function(e){return e.name===l})))){var h=(0,s.find)(t.defaultButtonsInfo,(function(t){var n=t.name;return n===e||n===e.name}));if(!h)throw a.default.Error("E1056",t.editor.NAME,e);return u(n,e),h}return u(n,e.name),(0,o.extend)(e,{Ctor:r.default})}))}},{key:"_createButton",value:function(e){var t=new(0,e.Ctor)(e.name,this.editor,e.options);return this.buttons.push(t),t}},{key:"_renderButtons",value:function(e,t,n){var r=this,o=null;return(e?this._compileButtonInfo(e):this.defaultButtonsInfo).forEach((function(e){var s=e.location;(void 0===s?"after":s)===n&&r._createButton(e).render((o=o||(0,i.default)("<div>").addClass("dx-texteditor-buttons-container"),"before"===n?t.prepend(o):t.append(o),o))})),o}},{key:"clean",value:function(){this.buttons.forEach((function(e){return e.dispose()})),this.buttons=[]}},{key:"getButton",value:function(e){var t=(0,s.find)(this.buttons,(function(t){return t.name===e}));return t&&t.instance}},{key:"renderAfterButtons",value:function(e,t){return this._renderButtons(e,t,"after")}},{key:"renderBeforeButtons",value:function(e,t){return this._renderButtons(e,t,"before")}},{key:"updateButtons",value:function(e){this.buttons.forEach((function(t){e&&-1===e.indexOf(t.name)||t.update()}))}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();t.default=d},iTdP:function(e,t,n){"use strict";var i=p(n("FKN7")),r=n("KAnu"),o=n("ti0F"),s=n("zl3R"),a=n("1LL4"),l=n("yUp2"),c=p(n("Wmz/")),u=p(n("Yek2")),d=p(n("LdFP")),h=p(n("8Qh0"));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t,n){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y={show:50,hide:300},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(p,e);var t,n,c,h=(n=p,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(n);if(c){var i=v(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return b(this,e)});function p(){return m(this,p),h.apply(this,arguments)}return(t=[{key:"_getDefaultOptions",value:function(){return(0,a.extend)(g(v(p.prototype),"_getDefaultOptions",this).call(this),{items:[],cssClass:"",activeStateEnabled:!0,showSubmenuMode:{name:"onHover",delay:{show:50,hide:300}},animation:{show:{type:"fade",from:0,to:1,duration:100},hide:{type:"fade",from:1,to:0,duration:100}},selectByClick:!1,focusOnSelectedItem:!1,keyExpr:null,_itemAttributes:{role:"menuitem"},useInkRipple:!1})}}
1,{key:"_itemDataKey",value:function(){return"dxMenuItemDataKey"}},{key:"_itemClass",value:function(){return"dx-menu-item"}},{key:"_setAriaSelected",value:function(){}},{key:"_selectedItemClass",value:function(){return"dx-menu-item-selected"}},{key:"_widgetClass",value:function(){return"dx-menu-base"}},{key:"_focusTarget",value:function(){return this._itemContainer()}},{key:"_clean",value:function(){this.option("focusedElement",null),g(v(p.prototype),"_clean",this).call(this)}},{key:"_supportedKeys",value:function(){var e=this;return(0,a.extend)(g(v(p.prototype),"_supportedKeys",this).call(this),{space:function(){var t=(0,i.default)(e.option("focusedElement"));t.length&&e._isSelectionEnabled()&&e.selectItem(t[0])},pageUp:r.noop,pageDown:r.noop})}},{key:"_isSelectionEnabled",value:function(){return"single"===this.option("selectionMode")}},{key:"_init",value:function(){this._activeStateUnit=".".concat("dx-menu-item"),g(v(p.prototype),"_init",this).call(this),this._renderSelectedItem(),this._initActions()}},{key:"_getTextContainer",value:function(e){var t=e.text,n=(0,i.default)("<span>").addClass("dx-menu-item-text"),r=(0,o.isPlainObject)(e)?t:String(e);return t&&n.text(r)}},{key:"_getPopoutContainer",value:function(e){var t,n=e.items;if(n&&n.length){var r=(0,i.default)("<div>").addClass("dx-menu-item-popout");t=(0,i.default)("<span>").addClass("dx-menu-item-popout-container").append(r)}return t}},{key:"_getDataAdapterOptions",value:function(){return{rootValue:0,multipleSelection:!1,recursiveSelection:!1,recursiveExpansion:!1,searchValue:""}}},{key:"_selectByItem",value:function(e){if(e){var t=this._dataAdapter.getNodeByItem(e);this._dataAdapter.toggleSelection(t.internalFields.key,!0)}}},{key:"_renderSelectedItem",value:function(){var e=this._dataAdapter.getSelectedNodesKeys(),t=e.length&&e[0],n=this.option("selectedItem");if(t){var i=this._dataAdapter.getNodeByKey(t);!1!==i.selectable&&(n?n!==i.internalFields.item&&(this._dataAdapter.toggleSelection(t,!1),this._selectByItem(n)):this.option("selectedItem",i.internalFields.item))}else this._selectByItem(n)}},{key:"_initActions",value:function(){}},{key:"_initMarkup",value:function(){g(v(p.prototype),"_initMarkup",this).call(this),this._addCustomCssClass(this.$element()),this.option("useInkRipple")&&this._renderInkRipple()}},{key:"_renderInkRipple",value:function(){this._inkRipple=(0,l.render)()}},{key:"_toggleActiveState",value:function(e,t,n){if(g(v(p.prototype),"_toggleActiveState",this).apply(this,arguments),this._inkRipple){var i={element:e,event:n};t?this._inkRipple.showWave(i):this._inkRipple.hideWave(i)}}},{key:"_getShowSubmenuMode",value:function(){var e=this.option("showSubmenuMode");return e=(0,o.isObject)(e)?e.name:e,this._isDesktopDevice()?e:"onClick"}},{key:"_initSelectedItems",value:function(){}},{key:"_isDesktopDevice",value:function(){return"desktop"===d.default.real().deviceType}},{key:"_initEditStrategy",value:function(){this._editStrategy=new(0,u.default)(this)}},{key:"_addCustomCssClass",value:function(e){e.addClass(this.option("cssClass"))}},{key:"_itemWrapperSelector",value:function(){return".".concat("dx-menu-item-wrapper")}},{key:"_hoverStartHandler",value:function(e){var t=this._getItemElementByEventArgs(e);t&&!this._isItemDisabled(t)&&(e.stopPropagation(),"onHover"===this._getShowSubmenuMode()&&(clearTimeout(this._showSubmenusTimeout),this._showSubmenusTimeout=setTimeout(this._showSubmenu.bind(this,t),this._getSubmenuDelay("show"))))}},{key:"_getAvailableItems",value:function(e){return g(v(p.prototype),"_getAvailableItems",this).call(this,e).filter((function(){return"hidden"!==(0,i.default)(this).css("visibility")}))}},{key:"_isItemDisabled",value:function(e){return this._disabledGetter(e.data(this._itemDataKey()))}},{key:"_showSubmenu",value:function(e){this._addExpandedClass(e)}},{key:"_addExpandedClass",value:function(e){(0,i.default)(e).addClass("dx-menu-item-expanded")}},{key:"_getSubmenuDelay",value:function(e){var t=this.option("showSubmenuMode").delay;return(0,o.isDefined)(t)?(0,o.isObject)(t)?t[e]:t:y[e]}},{key:"_getItemElementByEventArgs",value:function(e){var t=(0,i.default)(e.target);if(t.hasClass(this._itemClass())||t.get(0)===e.currentTarget)return t;for(;!t.hasClass(this._itemClass());)if((t=t.parent()).hasClass("dx-submenu"))return null;return t}},{key:"_hoverEndHandler",value:function(){clearTimeout(this._showSubmenusTimeout)}},{key:"_hasSubmenu",value:function(e){return e&&e.internalFields.childrenKeys.length}},{key:"_renderContentImpl",value:function(){this._renderItems(this._dataAdapter.getRootNodes())}},{key:"_renderItems",value:function(e,t){var n=this;if(e.length){this.hasIcons=!1;var i=this._renderContainer(this.$element(),t),r=-1,o=-1;(0,s.each)(e,(function(e,t){var s=!1!==t.visible;s&&r<0&&(r=e),r<e&&(t.beginGroup||e===o)&&(o=s?e:e+1),e===o&&r<e&&n._renderSeparator(i),n._renderItem(e,t,i)})),this.hasIcons||i.addClass("dx-menu-no-icons")}}},{key:"_renderContainer",value:function(e){return(0,i.default)("<ul>").appendTo(e).addClass("dx-menu-items-container")}},{key:"_createDOMElement",value:function(e){return(0,i.default)("<li>").appendTo(e).addClass("dx-menu-item-wrapper")}},{key:"_renderItem",value:function(e,t,n,i){var r=this.option("items"),o=i||this._createDOMElement(n);r[e+1]&&r[e+1].beginGroup&&o.addClass("dx-menu-last-group-item");var s=g(v(p.prototype),"_renderItem",this).call(this,e,t.internalFields.item,o);t.internalFields.item===this.option("selectedItem")&&s.addClass("dx-menu-item-selected"),s.attr("tabIndex",-1),this._hasSubmenu(t)&&this.setAria("hasp
1opup","true",s)}},{key:"_renderItemFrame",value:function(e,t,n){var i=n.children(".".concat("dx-menu-item"));return i.length?i:g(v(p.prototype),"_renderItemFrame",this).apply(this,arguments)}},{key:"_refreshItem",value:function(e,t){var n=this._dataAdapter.getNodeByItem(t),i=e.data(this._itemIndexKey()),r=e.closest("ul"),o=e.closest("li");this._renderItem(i,n,r,o)}},{key:"_addContentClasses",value:function(e,t){var n=!!e.icon,i=!!e.items&&!!e.items.length;t.toggleClass("dx-menu-item-has-text",!!e.text&&!!e.text.length),t.toggleClass("dx-menu-item-has-icon",n),this.hasIcons||(this.hasIcons=n),t.toggleClass("dx-menu-item-has-submenu",i)}},{key:"_getItemContent",value:function(e){var t=g(v(p.prototype),"_getItemContent",this).call(this,e);return t.length||(t=e.children(".".concat("dx-menu-item-content"))),t}},{key:"_postprocessRenderItem",value:function(e){var t=(0,i.default)(e.itemElement),n=this._dataAdapter.getSelectedNodesKeys();n.length&&this._selectedGetter(e.itemData)&&this._isItemSelectable(e.itemData)&&this._dataAdapter.getNodeByItem(e.itemData).internalFields.key===n[0]?(t.addClass(this._selectedItemClass()),this._setAriaSelected(t,"true")):this._setAriaSelected(t,"false")}},{key:"_isItemSelectable",value:function(e){return!1!==e.selectable}},{key:"_renderSeparator",value:function(e){(0,i.default)("<li>").appendTo(e).addClass("dx-menu-separator")}},{key:"_itemClickHandler",value:function(e){if(!e._skipHandling){var t=this._createAction(this._updateSubmenuVisibilityOnClick.bind(this));this._itemDXEventHandler(e,"onItemClick",{},{afterExecute:t.bind(this)}),e._skipHandling=!0}}},{key:"_updateSubmenuVisibilityOnClick",value:function(e){this._updateSelectedItemOnClick(e),"onClick"===this._getShowSubmenuMode()&&this._addExpandedClass(e.args[0].itemElement)}},{key:"_updateSelectedItemOnClick",value:function(e){var t=e.args?e.args[0]:e;if(this._isItemSelectionAllowed(t.itemData)){var n=this._dataAdapter.getSelectedNodesKeys(),i=n.length&&this._dataAdapter.getNodeByKey(n[0]);i&&this._toggleItemSelection(i,!1),i&&i.internalFields.item===t.itemData?(this._fireSelectionChangeEvent(null,this.option("selectedItem")),this._setOptionSilent("selectedItem",null)):this.selectItem(t.itemData)}}},{key:"_isItemSelectionAllowed",value:function(e){var t=this._isSelectionEnabled()&&this.option("selectByClick");return!this._isContainerEmpty()&&t&&this._isItemSelectable(e)&&!this._itemsGetter(e)}},{key:"_isContainerEmpty",value:function(){return this._itemContainer().is(":empty")}},{key:"_syncSelectionOptions",value:function(){return(0,r.asyncNoop)()}},{key:"_optionChanged",value:function(e){switch(e.name){case"showSubmenuMode":break;case"selectedItem":var t=this._dataAdapter.getNodeByItem(e.value),n=this._dataAdapter.getSelectedNodesKeys()[0];if(t&&t.internalFields.key!==n){if(!1===t.selectable)break;n&&this._toggleItemSelection(this._dataAdapter.getNodeByKey(n),!1),this._toggleItemSelection(t,!0),this._updateSelectedItems()}break;case"cssClass":case"position":case"selectByClick":case"animation":case"useInkRipple":this._invalidate();break;default:g(v(p.prototype),"_optionChanged",this).call(this,e)}}},{key:"_toggleItemSelection",value:function(e,t){var n=this._getElementByItem(e.internalFields.item);n&&(0,i.default)(n).toggleClass("dx-menu-item-selected"),this._dataAdapter.toggleSelection(e.internalFields.key,t)}},{key:"_getElementByItem",value:function(e){var t,n=this;return(0,s.each)(this._itemElements(),(function(r,o){return(0,i.default)(o).data(n._itemDataKey())!==e||(t=o,!1)})),t}},{key:"_updateSelectedItems",value:function(e,t){(e||t)&&this._fireSelectionChangeEvent(t,e)}},{key:"_fireSelectionChangeEvent",value:function(e,t){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})({addedItems:[e],removedItems:[t]})}},{key:"selectItem",value:function(e){var t=e.nodeType?this._getItemData(e):e,n=this._dataAdapter.getSelectedNodesKeys()[0],i=this.option("selectedItem"),r=this._dataAdapter.getNodeByItem(t);r.internalFields.key!==n&&(n&&this._toggleItemSelection(this._dataAdapter.getNodeByKey(n),!1),this._toggleItemSelection(r,!0),this._updateSelectedItems(i,t),this._setOptionSilent("selectedItem",t))}},{key:"unselectItem",value:function(e){var t=e.nodeType?this._getItemData(e):e,n=this._dataAdapter.getNodeByItem(t),i=this.option("selectedItem");n.internalFields.selected&&(this._toggleItemSelection(n,!1),this._updateSelectedItems(i,null),this._setOptionSilent("selectedItem",null))}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(p.prototype,t),p}(c.default);w.ItemClass=h.default,e.exports=w},iWOQ:function(e,t,n){"use strict";var i=h(n("FKN7")),r=h(n("GYHJ")),o=h(n("8S5z")),s=n("ti0F"),a=n("zl3R"),l=n("1LL4"),c=h(n("IF55")),u=h(n("23xU")),d=h(n("I0Qj"));
1function h(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!e.component.option("searchValue")){var n=(0,i.default)(e.element).find(".dx-list-select-all-checkbox").data("dxCheckBox");n&&t&&t.length&&n.option("value",void 0)}}function f(e,t){var n=t.headerFilter;return n&&(0,s.isDefined)(n.allowSearch)?n.allowSearch:e.option("headerFilter.allowSearch")}t.updateHeaderFilterItemSelectionState=function(e,t,n){if(t^n){if(e.selected=!0,n&&e.items)for(var i=0;i<e.items.length;i++)if(!e.items[i].selected){e.selected=void 0;break}}else(n||e.selected)&&(e.selected=!1,function e(t){t=t||[];for(var n=0;n<t.length;n++)t[n].selected=!1,e(t[n].items)}(e.items))},t.HeaderFilterView=r.default.View.inherit({getPopupContainer:function(){return this._popupContainer},getListContainer:function(){return this._listContainer},applyHeaderFilter:function(e){var t=this.getListContainer(),n=t.option("searchValue"),i=[];n||e.isFilterBuilder||!t.$element().find(".dx-checkbox").eq(0).hasClass("dx-checkbox-checked")?"tree"===e.type&&(e.filterType&&(e.filterType="include"),function e(i,r,o){(0,a.each)(r,(function(r,s){if(void 0!==s.selected&&!!s.selected^o){var a=t._getNode(s),l=t._hasChildren(a)&&s.items&&s.items.some((function(e){return e.selected}));if(!n||!l)return void i.push(s.value)}s.items&&s.items.length&&e(i,s.items,o)}))}(i,t.option("items"),!1),e.filterValues=i):("tree"===e.type&&(e.filterType="exclude"),Array.isArray(e.filterValues)&&(e.filterValues=[])),e.filterValues&&!e.filterValues.length&&(e.filterValues=null),e.apply(),this.hideHeaderFilterMenu()},showHeaderFilterMenu:function(e,t){if(t){this._initializePopupContainer(t);var n=this.getPopupContainer();this.hideHeaderFilterMenu(),this.updatePopup(e,t),n.show()}},hideHeaderFilterMenu:function(){var e=this.getPopupContainer();e&&e.hide()},updatePopup:function(e,t){var n="right"===t.alignment?"left":"right";this._popupContainer&&(this._cleanPopupContent(),this._popupContainer.option("position",{my:n+" top",at:n+" bottom",of:e,collision:"flip fit"}))},_getSearchExpr:function(e){var t=e.lookup,n=e.headerFilter&&e.headerFilter.dataSource;if(e.useDefaultSearchExpr||(0,s.isDefined)(n)&&!(0,s.isFunction)(n))return"text";if(t)return t.displayExpr||"this";if(e.dataSource){var i=e.dataSource.group;if(Array.isArray(i)&&i.length>0)return i[0].selector;if((0,s.isFunction)(i)&&!e.remoteFiltering)return i}return e.dataField||e.selector},_cleanPopupContent:function(){this._popupContainer&&this._popupContainer.$content().empty()},_initializePopupContainer:function(e){var t=this,n=t.element(),i=t.option("headerFilter"),r={width:e.headerFilter&&e.headerFilter.width||i&&i.width,height:e.headerFilter&&e.headerFilter.height||i&&i.height,visible:!1,shading:!1,showTitle:!1,showCloseButton:!1,closeOnTargetScroll:!1,dragEnabled:!1,closeOnOutsideClick:!0,focusStateEnabled:!1,toolbarItems:[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:i.texts.ok,onClick:function(){t.applyHeaderFilter(e)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:i.texts.cancel,onClick:function(){t.hideHeaderFilterMenu()}}}],resizeEnabled:!0,onShowing:function(n){n.component.$content().parent().addClass("dx-dropdowneditor-overlay"),t._initializeListContainer(e),e.onShowing&&e.onShowing(n)},onShown:function(){t.getListContainer().focus()},onHidden:e.onHidden,onInitialized:function(e){var t=e.component;t.option("animation",t._getDefaultOptions().animation)}};(0,s.isDefined)(t._popupContainer)?t._popupContainer.option(r):t._popupContainer=t._createComponent(n,c.default,r)},_initializeListContainer:function(e){var t=this,n=t._popupContainer.$content(),r={searchEnabled:f(t,e),searchTimeout:t.option("headerFilter.searchTimeout"),searchMode:e.headerFilter&&e.headerFilter.searchMode||"",dataSource:e.dataSource,onContentReady:function(){t.renderCompleted.fire()},itemTemplate:function(t,n,r){var o=(0,i.default)(r);return e.encodeHtml?o.text(t.text):o.html(t.text)}};t._listContainer="tree"===e.type?t._createComponent((0,i.default)("<div>").appendTo(n),u.default,(0,l.extend)(r,{showCheckBoxesMode:e.isFilterBuilder?"normal":"selectAll",keyExpr:"id"})):t._createComponent((0,i.default)("<div>").appendTo(n),d.default,(0,l.extend)(r,{searchExpr:t._getSearchExpr(e),pageLoadMode:"scrollBottom",showSelectionControls:!0,selectionMode:e.isFilterBuilder?"multiple":"all",onSelectionChanged:function(t){var n=t.component.option("items"),i=t.component.option("selectedItems");if(!t.component._selectedItemsUpdating&&!t.component.option("searchValue")&&!e.isFilterBuilder){var r=e.filterValues||[];0===i.length&&n.length&&(r.length<=1||"exclude"===e.filterType&&r.length===n.length-1)?(e.filterType="include",e.filterValues=[]):i.length===n.length&&(e.filterType="exclude",e.filterValues=[])}(0,a.each)(n,(function(t,n){var r=o.default.getIndexByKey(n,i,null)>=0;if(!!n.selected!==r){n.selected=r,e.filterValues=e.filterValues||[];var s=o.default.getIndexByKey(n.value,e.filterValues,null);s>=0&&e.filterValues.splice(s,1),r^"exclude"===e.filterType&&e.filterValues.push(n.value)}})),p(t,e.filterValues)},onContentReady:function(t){var n=t.component,i=n.option("items"),r=[];(0,a.each)(i,(function(){this.selected&&r.push(this)})),n._selectedItemsUpdating=!0,n.option("selectedItems",r),n._selectedItemsUpdating=!1,p(t,e.filterValues)}}))}
1,_renderCore:function(){this.element().addClass("dx-header-filter-menu")}});var m=t.allowHeaderFiltering=function(e){return(0,s.isDefined)(e.allowHeaderFiltering)?e.allowHeaderFiltering:e.allowFiltering};t.headerFilterMixin={_applyColumnState:function(e){var t,n=e.column;return"headerFilter"===e.name?(e.rootElement.find(".dx-header-filter").remove(),m(n)&&(t=this.callBase(e).toggleClass("dx-header-filter-empty",this._isHeaderFilterEmpty(n)),this.option("useLegacyKeyboardNavigation")||t.attr("tabindex",this.option("tabindex")||0)),t):this.callBase(e)},_isHeaderFilterEmpty:function(e){return!e.filterValues||!e.filterValues.length},_getIndicatorClassName:function(e){return"headerFilter"===e?"dx-header-filter":this.callBase(e)},_renderIndicator:function(e){var t=e.container,n=e.indicator;if("headerFilter"===e.name){var i=this.option("rtlEnabled");if(t.children().length&&(!i&&"right"===e.columnAlignment||i&&"left"===e.columnAlignment))return void t.prepend(n)}this.callBase(e)},optionChanged:function(e){if("headerFilter"===e.name){var t="columnHeadersView"===this.name;this._invalidate(t,t),e.handled=!0}else this.callBase(e)}}},iYuL:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha invalida"})}(n("wd/R"))},ia8j:function(e,t,n){"use strict";var i=c(n("FKN7")),r=n("JDOJ"),o=n("1LL4"),s=c(n("EjLx")),a=n("imRD"),l=c(n("rmYg"));function c(e){return e&&e.__esModule?e:{default:e}}var u=c(n("XDlL")).default.inherit({_supportedKeys:function(){var e=this,t=this,n=this.callBase(),i=function(i,r){var o=e._editStrategy,s=e.option("focusedElement"),a=o.getNormalizedIndex(s);if(a!==e._getLastItemIndex()||!e._isDataSourceLoading())if(i.shiftKey&&t.option("itemDragging.allowReordering")){var l=o.getItemElement(a+(r?-1:1));e.reorderItem(s,l),e.scrollToItem(s),i.preventDefault()}else e._editProvider.handleKeyboardEvents(a,r)||(r?n.upArrow(i):n.downArrow(i))};return(0,o.extend)({},n,{del:function(e){t.option("allowItemDeleting")&&(e.preventDefault(),t.deleteItem(t.option("focusedElement")))},upArrow:function(e){return i(e,!0)},downArrow:i,enter:function(e){this._editProvider.handleEnterPressing()||n.enter.apply(this,arguments)},space:function(e){this._editProvider.handleEnterPressing()||n.space.apply(this,arguments)}})},_updateSelection:function(){this._editProvider.afterItemsRendered(),this.callBase()},_getLastItemIndex:function(){return this._itemElements().length-1},_refreshItemElements:function(){this.callBase();var e=this._editProvider.getExcludedItemSelectors();e.length&&(this._itemElementsCache=this._itemElementsCache.not(e))},_setDeprecatedOptions:function(){this.callBase(),(0,o.extend)(this._deprecatedOptions,{allowItemReordering:{since:"19.2",alias:"itemDragging.allowReordering"}})},_getDefaultOptions:function(){return(0,o.extend)(this.callBase(),{showSelectionControls:!1,selectionMode:"none",selectAllMode:"page",onSelectAllValueChanged:null,selectAllText:(0,a.format)("dxList-selectAll"),menuItems:[],menuMode:"context",allowItemDeleting:!1,itemDeleteMode:"static",allowItemReordering:!1,itemDragging:{}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(e){return"ios"===e.platform},options:{menuMode:"slide",itemDeleteMode:"slideItem"}},{device:{platform:"android"},options:{itemDeleteMode:"swipe"}}])},_init:function(){this.callBase(),this._initEditProvider()},_initDataSource:function(){this.callBase(),this._isPageSelectAll()||this._dataSource&&this._dataSource.requireTotalCount(!0)},_isPageSelectAll:function(){return"page"===this.option("selectAllMode")},_initEditProvider:function(){this._editProvider=new l.default(this)},_disposeEditProvider:function(){this._editProvider&&this._editProvider.dispose()},_refreshEditProvider:function(){this._disposeEditProvider(),this._initEditProvider()},_initEditStrategy:function(){this.option("grouped")?this._editStrategy=new s.default(this):this.callBase()},_initMarkup:function(){this._refreshEditProvider(),this.callBase()},_renderItems:function(){this.callBase.apply(this,arguments),this._editProvider.afterItemsRendered()},_selectedItemClass:function(){return"dx-list-item-selected"},_itemResponseWaitClass:function(){return"dx-list-item-response-wait"},_itemClickHandler:function(e){var t=(0,i.default)(e.currentTarget);if(!t.is(".dx-state-disabled, .dx-state-disabled *")){var n=this._editProvider.handleClick(t,e);n||this.callBase.apply(this,arguments)}},_shouldFireContextMenuEvent:function(){return this.callBase.apply(this,arguments)||this._editProvider.contextMenuHandlerExists()},_itemHoldHandler:function(e){var t=(0,i.default)(e.currentTarget);if(!t.is(".dx-state-disabled, .dx-state-disabled *")){var n=(0,r.isTouchEvent)(e)&&this._editProvider.handleContextMenu(t,e);n?e.handledByEditProvider=!0:this.callBase.apply(this,arguments)}},_itemContextMenuHandler:function(e){var t=(0,i.default)(e.currentTarget);if(!t.is(".dx-state-disabled, .dx-state-disabled *")){var n=!e.handledByEditProvider&&this._editProvider.handleContextMenu(t,e);n?e.preventDefault():this.callBase.apply(this,arguments)}},_postprocessRenderItem:function(e){this.callBase.apply(this,arguments),this._editProvider.modifyItemElement(e)},_clean:function(){this._disposeEditProvider(),this.callBase()},focusListItem:function(e){var t=this._editStrategy.getItemElement(e);this.option("focusedElement",t),this.focus(),this.scrollToItem(this.option("focusedElement"))},_optionChanged:function(e){switch(e.name){case"selectAllMode":this._initDataSource(),this._dataSource.pageIndex(0),this._dataSource.load();break;case"grouped":this._clearSelectedItems(),delete this._renderingGroupIndex,this._initEditStrategy(),this.callBase(e);break;case"showSelectionControls":case"menuItems":case"menuMode":case"allowItemDeleting":case"itemDeleteMode":case"allowItemReordering":case"itemDragging":case"selectAllText":this._invalidate();break;case"onSelectAllValueChanged":break;default:this.callBase(e)}},selectAll:function(){return this._selection.selectAll(this._isPageSelectAll())},unselectAll:function(){return this._selection.deselectAll(this._isPageSelectAll())},isSelectAll:function(){return this._selection.getSelectAllState(this._isPageSelectAll())},getFlatIndexByItemElement:function(e){return this._itemElements().index(e)},getItemElementByFlatIndex:function(e){var t=this._itemElements();return e<0||e>=t.length?(0,i.default)():t.eq(e)},getItemByIndex:function(e){return this._editStrategy.getItemDataByIndex(e)}});e.exports=u},iaK4:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var s=r.get;return void 0!==s?s.call(i):void 0},s=n("wkMt"),a=(i=n("vf6K"))&&i.__esModule?i:{default:i},l=function(e){return(10-e.substr(0,12).split("").map((function(e){return+e})).reduce((function(e,t,n){return n%2?e+3*t:e+t}),0)%10)%10},c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),-1!==e.search(/^[0-9]{12}$/)&&(e+=l(e));var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.lastChar=n.lastChar,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===l(this.data)}},{key:"leftText",value:function(){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var e=this.data.substr(1,6),n=s.EAN13_STRUCTURE[this.data[0]];return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"leftEncode",this).call(this,e,n)}},{key:"rightText",value:function(){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var e=this.data.substr(7,6);return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"rightEncode",this).call(this,e,"RRRRRR")}},{key:"encodeGuarded",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(e.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(e.push({data:"00"}),e.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),e}}]),t}(a.default);t.default=c},imRD:function(e,t,n){"use strict";var i=d(n("FKN7")),r=d(n("eWCF")),o=n("1LL4"),s=n("zl3R"),a=n("TssP"),l=n("xZEH"),c=d(n("A8u/")),u=d(n("91Oz"));function d(e){return e&&e.__esModule?e:{default:e}}var h=(0,o.extend)(!0,{},u.default),p={},f=(0,r.default)({engine:function(){return"base"},_dictionary:h,load:function(e){(0,o.extend)(!0,this._dictionary,e)},_localizablePrefix:"@",setup:function(e){this._localizablePrefix=e},localizeString:function(e){var t=this,n=new RegExp("(^|[^a-zA-Z_0-9"+t._localizablePrefix+"-]+)("+t._localizablePrefix+"{1,2})([a-zA-Z_0-9-]+)","g"),i=t._localizablePrefix+t._localizablePrefix;return e.replace(n,(function(e,n,r,o){var s,a=t._localizablePrefix+o;return r!==i&&(s=t.format(o)),s||(p[o]=(0,l.humanize)(o)),n+(s||a)}))},localizeNode:function(e){var t=this;
1(0,i.default)(e).each((function(e,n){n.nodeType&&(3===n.nodeType?n.nodeValue=t.localizeString(n.nodeValue):(0,i.default)(n).is("iframe")||((0,s.each)(n.attributes||[],(function(e,n){if("string"==typeof n.value){var i=t.localizeString(n.value);n.value!==i&&(n.value=i)}})),(0,i.default)(n).contents().each((function(e,n){t.localizeNode(n)}))))}))},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(e){return e?p:(0,o.extend)({},p,this.getMessagesByLocales()[c.default.locale()])},getFormatter:function(e){return this._getFormatterBase(e)||this._getFormatterBase(e,"en")},_getFormatterBase:function(e,t){var n=this,i=c.default.getValueByClosestLocale((function(t){return function(e,t){return e[t]||{}}(n._dictionary,t)[e]}));if(i)return function(){var e=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return e.unshift(i),a.format.apply(this,e)}},format:function(e){var t=this.getFormatter(e),n=Array.prototype.slice.call(arguments,1);return t&&t.apply(this,n)||""}});e.exports=f},itXk:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("z+Ro"),r=n("DH7j"),o=n("l7GE"),s=n("ZUHj"),a=n("yCtX");const l={};function c(...e){let t=null,n=null;return Object(i.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(r.a)(e[0])&&(e=e[0]),Object(a.a)(e,n).lift(new u(t))}class u{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new d(e,this.resultSelector))}}class d extends o.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(l),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Object(s.a)(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,i,r){const o=this.values,s=this.toRespond?o[n]===l?--this.toRespond:this.toRespond:0;o[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},jBL4:function(e,t,n){"use strict";n("txO7");var i=s(n("BWGd")),r=s(n("cP9x")),o=n("1LL4");function s(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("editing",(0,o.extend)(!0,{},r.default,{extenders:{controllers:{data:{_changeRowExpandCore:function(e){var t=this._editingController;return Array.isArray(e)&&t&&t.refresh(),this.callBase.apply(this,arguments)}}}}}))},jUeY:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LT
1S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(i(e)?"godziny":"godzin");case"MM":return r+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?""===i?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("HDdC"),r=n("quSY");function o(e,t){return new i.a(n=>{const i=new r.a;let o=0;return i.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||i.add(this.schedule())):n.complete()}))),i})}},jeLr:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r,o,s,a=n("NNGq"),l=n("1LL4").extend,c=n("tUd6"),u=n("cGv3"),d=u.getWindow(),h=n("eWCF"),p=n("ti0F"),f=n("cYys"),m=p.isWindow,g=p.isFunction,_=p.isString,b=n("/7L9"),v=n("OaJ3"),y=n("KBLa"),w=n("heGP"),C={mouseenter:"mouseover",mouseleave:"mou
1seout",pointerenter:"pointerover",pointerleave:"pointerout"},x={focusin:"focus",focusout:"blur"},S=["blur","focus","load"],k=["touchmove","wheel","mousewheel","touchstart"],T=function(e,t){return!m(e)&&"#document"!==e.nodeName&&c.elementMatches(e,t)},E=new v,I=0,D=(o={},a.add((function(e,t){o[e]=t})),{getField:function(e,t){return o[e]&&o[e][t]},callMethod:function(e,t,n,i){return o[e]&&o[e][t]&&o[e][t].apply(n,i)}}),M=function e(t,n){var i=t[0];if(i)if(c.isNode(i)||m(i))n.apply(N,t);else{if(_(i)||!("length"in i))throw b.Error("E0025");var r=Array.prototype.slice.call(t,0);Array.prototype.forEach.call(i,(function(t){r[0]=t,e(r,n)}))}},O=function(e){return function(){M(arguments,e)}},R=w((function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});d.addEventListener("test",null,t)}catch(n){}return e})),L=function(e,t){var n=E.get(e),i=(t=t||"").split("."),o=i.slice(1),s=!!i[0];t=i[0]||"dxEmptyEventType",n||E.set(e,n={}),n[t]||(n[t]={handleObjects:[],nativeHandler:null});var a=n[t];return{addHandler:function(n,i,l){var u=function(i,r){var o,s,a=[i],c=i.currentTarget,u=i.relatedTarget;t in C&&(o=u&&c&&(u===c||c.contains(u))),void 0!==r&&a.push(r),D.callMethod(t,"handle",e,[i,l]),o||(s=n.apply(c,a)),!1===s&&(i.preventDefault(),i.stopPropagation())},d={handler:n,wrappedHandler:function(t,n){if(!r||t.type!==r)if(t.data=l,t.delegateTarget=e,i)for(var o=t.target;o&&o!==e;)T(o,i)&&(t.currentTarget=o,u(t,n)),o=o.parentNode;else t.currentTarget=t.delegateTarget||t.target,u(t,n)},selector:i,type:t,data:l,namespace:o.join("."),namespaces:o,guid:++I};a.handleObjects.push(d);var h,p=1===a.handleObjects.length&&s;p&&(p=!D.callMethod(t,"setup",e,[l,o,n])),p&&(a.nativeHandler=A(t),R()&&k.indexOf(t)>-1&&(h={passive:!1}),a.removeListener=c.listen(e,C[t]||t,a.nativeHandler,h)),D.callMethod(t,"add",e,[d])},removeHandler:function(i,r){var a=function(t){var s,a=n[t];a.handleObjects.length?(a.handleObjects=a.handleObjects.filter((function(n){var a=o.length&&!P(n.namespaces,o)||i&&n.handler!==i||r&&n.selector!==r;return a||(s=n.handler,D.callMethod(t,"remove",e,[n])),a})),!a.handleObjects.length&&"dxEmptyEventType"!==t&&(D.callMethod(t,"teardown",e,[o,s]),a.nativeHandler&&a.removeListener(),delete n[t])):delete n[t]};if(s)a(t);else for(var l in n)a(l);0===Object.keys(n).length&&E.delete(e)},callHandlers:function(e,t){var i=!1,r=function(n){i||o.length&&!P(n.namespaces,o)||(n.wrappedHandler(e,t),i=e.isImmediatePropagationStopped())};a.handleObjects.forEach(r),o.length&&n.dxEmptyEventType&&n.dxEmptyEventType.handleObjects.forEach(r)}}},A=function(e){return function(t,n){var i=L(this,e);t=N.Event(t),i.callHandlers(t,n)}},P=function(e,t){for(var n=0;n<t.length;n++)if(e.indexOf(t[n])<0)return!1;return!0},F=function(e){return function(t,n,i,r,o){o||(o=r,r=void 0),"string"!=typeof i&&(r=i,i=void 0),o||"string"!=typeof n||(o=r||i,i=void 0,r=void 0),e(t,n,i,r,o)}},B=function(e){return function(t,n,i){"string"==typeof n&&(n={type:n}),n.target||(n.target=t),n.currentTarget=t,n.delegateTarget||(n.delegateTarget=t),!n.type&&n.originalEvent&&(n.type=n.originalEvent.type),e(t,n instanceof N.Event?n:N.Event(n),i)}},H=function(e){var t=function(t,n){if(n&&n.indexOf(" ")>-1){var i=Array.prototype.slice.call(arguments,0);n.split(" ").forEach((function(t){i[1]=t,e.apply(this,i)}))}else e.apply(this,arguments)};return function(e,n){if("object"===i(n)){var r=Array.prototype.slice.call(arguments,0);for(var o in n)r[1]=o,r[r.length-1]=n[o],t.apply(this,r)}else t.apply(this,arguments)}},V=function(e){return function(e){return null==e.which&&0===e.type.indexOf("key")}(e)?null!=e.charCode?e.charCode:e.keyCode:function(e){return!e.which&&void 0!==e.button&&/^(?:mouse|pointer|contextmenu|drag|drop)|click/.test(e.type)}(e)?{1:1,2:3,3:1,4:2}[e.button]:e.which},N=h({on:O(F(H((function(e,t,n,i,r){L(e,t).addHandler(r,n,i)})))),one:O(F((function(e,t,n,i,r){N.on(e,t,n,i,(function i(){N.off(e,t,n,i),r.apply(this,arguments)}))}))),off:O((s=H((function(e,t,n,i){L(e,t).removeHandler(i,n)})),function(e,t,n,i){"function"==typeof n&&(i=n,n=void 0),s(e,t,n,i)})),trigger:O(B((function(e,t,n){var i=t.type,o=L(e,t.type);if(D.callMethod(i,"trigger",e,[t,n]),o.callHandlers(t,n),!D.getField(i,"noBubble")&&!t.isPropagationStopped()&&-1===S.indexOf(i)){var s=[];!function e(t){var n=t.parentNode;n&&(s.push(n),e(n))}(e),s.push(d);for(var a=0;s[a]&&!t.isPropagationStopped();)L(s[a],t.type).callHandlers(l(t,{currentTarget:s[a]}),n),a++}(e.nodeType||m(e))&&(D.callMethod(i,"_default",e,[t,n]),function(e,t){var n=x[e]||e;(function(e,t){return"click"===e&&"a"===t.localName})(e,t)||g(t[n])&&(r=e,t[n](),r=void 0)}(i,e))}))),triggerHandler:O(B((function(e,t,n){L(e,t.type).callHandlers(t,n)})))}),z=function(e){e&&(N.Event=e,N.Event.prototype=e.prototype)};z(function(e){return function(t,n){if(!(this instanceof N.Event))return new N.Event(t,n);t||(t={}),"string"==typeof t&&(t={type:t}),n||(n={}),e.call(this,t,n)}}((function(e,t){var n=this,i=!1,r=!1,o=!1;l(n,e),(e instanceof N.Event||u.hasWindow()&&e instanceof d.Event)&&(n.originalEvent=e,n.currentTarget=void 0),e instanceof N.Event||l(n,{isPropagationStopped:function(){return!!(i||n.originalEvent&&n.originalEvent.propagationStopped)},stopPropagation:function(){i=!0,n.originalEvent&&n.originalEvent.stopPropagation()},isImmediatePropagationStopped:function(){return r},stopImmediatePropagation:function(){this.stopPropagation(),r=!0,n.originalEvent&&n.originalEvent.stopImmediatePropagation()},isDefaultPrevented:function(){return!!(o||n.originalEvent&&n.originalEvent.defaultPrevented)},preventDefault:function(){o=!0,n.originalEvent&&n.originalEvent.preventDefault()}}),j("which",V,n),0===e.type.indexOf("touch")&&(delete t.pageX,delete t.pageY),l(n,t),n.guid=++I})));var j=function(e,t,n){Object.defineProperty(n||N.Event.prototype,e,{enumerable:!0,configurable:!0,get:function(){return this.originalEvent&&t(this.originalEvent)},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})};y(j);var Y=f(),W=f();
1N.set=function(e){Y.fire(),N.inject(e),z(e.Event),W.fire()},N.subscribeGlobal=function(){M(arguments,F((function(){var e=arguments;N.on.apply(this,e),Y.add((function(){var t=Array.prototype.slice.call(e,0);t.splice(3,1),N.off.apply(this,t)})),W.add((function(){N.on.apply(this,e)}))})))},N.forcePassiveFalseEventNames=k,N.passiveEventHandlersSupported=R,e.exports=N},jfSC:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"}
1,relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jhN1:function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return z})),n.d(t,"c",(function(){return O})),n.d(t,"d",(function(){return V})),n.d(t,"e",(function(){return H})),n.d(t,"f",(function(){return P})),n.d(t,"g",(function(){return w}));var i=n("ofXK"),r=n("fXoL");class o extends i.t{constructor(){super()}supportsDOMEvents(){return!0}}class s extends o{static makeCurrent(){Object(i.x)(new s)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==t?null:(n=t,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(i.w)(document.cookie,e)}}let a,l=null;const c=new r.q("TRANSITION_ID"),u=[{provide:r.d,useFactory:function(e,t,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.v)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[c,i.c,r.r],multi:!0}];class d{static init(){Object(r.V)(new d)}addToWindow(e){r.nb.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.nb.getAllAngularTestabilities=()=>e.getAllTestabilities(),r.nb.getAllAngularRootElements=()=>e.getAllRootElements(),r.nb.frameworkStabilizers||(r.nb.frameworkStabilizers=[]),r.nb.frameworkStabilizers.push(e=>{const t=r.nb.getAllAngularTestabilities();let n=t.length,i=!1;const o=function(t){i=i||t,n--,0==n&&e(i)};t.forEach((function(e){e.whenStable(o)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Object(i.v)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const h=new r.q("EventManagerPlugins");let p=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let i=0;i<n.length;i++){const t=n[i];
vendor: 6,568 bytes, line 1
1if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(h),r.Wb(r.z))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();class f{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Object(i.v)().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let m=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),g=(()=>{class e extends m{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Object(i.v)().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(i.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();const _={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},b=/%COMP%/g;function v(e,t,n){for(let i=0;i<t.length;i++){let r=t[i];Array.isArray(r)?v(e,r,n):(r=r.replace(b,e),n.push(r))}return n}function y(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let w=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.O.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case r.O.Native:case r.O.ShadowDom:return new S(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=v(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(p),r.Wb(g),r.Wb(r.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();class C{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(_[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=_[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=_[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&r.F.DashCase?e.style.setProperty(t,n,i&r.F.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&r.F.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,y(n)):this.eventManager.addEventListener(e,t,y(n))}}class x extends C{constructor(e,t,n,i){super(e),this.component=n;const r=v(i+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(b,i+"-"+n.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(b,e)}(i+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class S extends C{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===r.O.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=v(i.id,i.styles,[]);for(let r=0;r<o.length;r++){const e=document.createElement("style");e.textContent=o[r],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let k=(()=>{class e extends f{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(i.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();const T=["alt","control","meta","shift"],E={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},I={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},D={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let M=(()=>{class e extends f{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.v)().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let o="";
1if(T.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=r,0!=n.length||0===r.length)return null;const s={};return s.domEventName=i,s.fullKey=o,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&I.hasOwnProperty(t)&&(t=I[t]))}return E[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(i=>{i!=n&&(0,D[i])(e)&&(t+=i+".")}),t+=n,t}static eventCallback(t,n,i){return r=>{e.getEventFullKey(r)===t&&i.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(i.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),O=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Hb)({factory:function(){return Object(r.Wb)(L)},token:e,providedIn:"root"}),e})();function R(e){return new L(e.get(i.c))}let L=(()=>{class e extends O{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case r.H.NONE:return t;case r.H.HTML:return Object(r.cb)(t,"HTML")?Object(r.vb)(t):Object(r.Z)(this._doc,String(t));case r.H.STYLE:return Object(r.cb)(t,"Style")?Object(r.vb)(t):Object(r.ab)(t);case r.H.SCRIPT:if(Object(r.cb)(t,"Script"))return Object(r.vb)(t);throw new Error("unsafe value used in a script context");case r.H.URL:return Object(r.mb)(t),Object(r.cb)(t,"URL")?Object(r.vb)(t):Object(r.bb)(String(t));case r.H.RESOURCE_URL:if(Object(r.cb)(t,"ResourceURL"))return Object(r.vb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(r.db)(e)}bypassSecurityTrustStyle(e){return Object(r.gb)(e)}bypassSecurityTrustScript(e){return Object(r.fb)(e)}bypassSecurityTrustUrl(e){return Object(r.hb)(e)}bypassSecurityTrustResourceUrl(e){return Object(r.eb)(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(i.c))},e.\u0275prov=Object(r.Hb)({factory:function(){return R(Object(r.Wb)(r.o))},token:e,providedIn:"root"}),e})();const A=[{provide:r.B,useValue:i.u},{provide:r.C,useValue:function(){s.makeCurrent(),d.init()},multi:!0},{provide:i.c,useFactory:function(){return Object(r.tb)(document),document},deps:[]}],P=Object(r.Q)(r.U,"browser",A),F=[[],{provide:r.X,useValue:"root"},{provide:r.m,useFactory:function(){return new r.m},deps:[]},{provide:h,useClass:k,multi:!0,deps:[i.c,r.z,r.B]},{provide:h,useClass:M,multi:!0,deps:[i.c]},[],{provide:w,useClass:w,deps:[p,g,r.c]},{provide:r.E,useExisting:w},{provide:m,useExisting:g},{provide:g,useClass:g,deps:[i.c]},{provide:r.L,useClass:r.L,deps:[r.z]},{provide:p,useClass:p,deps:[h,r.z]},[]];let B=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:r.c,useValue:t.appId},{provide:c,useExisting:r.c},u]}}}return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)(r.Wb(e,12))},providers:F,imports:[i.b,r.f]}),e})();function H(e){return e}"undefined"!=typeof window&&window;let V=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static init(t){const n=new e;return n.store=t,n}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();function N(e,t){const n=e.getElementById(t+"-state");let i={};if(n&&n.textContent)try{i=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return V.init(i)}let z=(()=>{class e{}return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},providers:[{provide:V,useFactory:N,deps:[i.c,r.c]}]}),e})()},jlE0:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.MSI1110=t.MSI1010=t.MSI11=t.MSI10=t.MSI=void 0;var i=l(n("Ek++")),r=l(n("RyeT")),o=l(n("RGHy")),s=l(n("iGFM")),a=l(n("gF+w"));function l(e){return e&&e.__esModule?e:{default:e}}t.MSI=i.default,t.MSI10=r.default,t.MSI11=o.default,t.MSI1010=s.default,t.MSI1110=a.default},jnO4:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},o=function(e){return function(t,n,o,s){var a=i(t),l=r[e][i(t)];return 2===a&&(l=l[n?0:1]),l.replace(/%d/i,t)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jwYu:function(e,t,n){"use strict";var i=h(n("FKN7")),r=h(n("Lci2")),o=h(n("cap0")),s=h(n("PB16")),a=h(n("bUO+")),l=n("1LL4"),c=h(n("D6VQ")),u=n("dYUP"),d=n("LI0J");
1function h(e){return e&&e.__esModule?e:{default:e}}var p=function(e,t,n){f(e,t,n)},f=function(e,t,n){e.css("transform","rotate("+t+"deg) translate(0,"+n+"px)")},m=r.default.inherit({_getDefaultOptions:function(){return(0,l.extend)(this.callBase(),{value:new Date(Date.now()),use24HourFormat:!0,_showClock:!0,_arrowOffset:0,stylingMode:void 0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"android"},options:{_arrowOffset:15}},{device:{platform:"generic"},options:{_arrowOffset:5}}])},_getValue:function(){return this.option("value")||new Date},_init:function(){this.callBase(),this.$element().addClass("dx-timeview")},_render:function(){this.callBase(),this._renderBox(),this._updateTime()},_renderBox:function(){var e=(0,i.default)("<div>").appendTo(this.$element()),t=[];this.option("_showClock")&&t.push({ratio:1,shrink:0,baseSize:"auto",template:this._renderClock.bind(this)}),t.push({ratio:0,shrink:0,baseSize:50,template:this._renderField.bind(this)}),this._createComponent(e,a.default,{height:"100%",width:"100%",direction:"col",items:t})},_renderClock:function(e,t,n){this._$hourArrow=(0,i.default)("<div>").addClass("dx-timeview-hourarrow"),this._$minuteArrow=(0,i.default)("<div>").addClass("dx-timeview-minutearrow");var r=(0,i.default)(n);r.addClass("dx-timeview-clock").append(this._$hourArrow).append(this._$minuteArrow),this.setAria("role","presentation",r)},_updateClock:function(){var e=this._getValue(),t=e.getHours()/12*360+e.getMinutes()/60*30,n=e.getMinutes()/60*360;p(this._$hourArrow,t,this.option("_arrowOffset")),p(this._$minuteArrow,n,this.option("_arrowOffset"))},_getBoxItems:function(e){var t=this,n=[{ratio:0,shrink:0,baseSize:"auto",template:function(){return t._hourBox.$element()}},{ratio:0,shrink:0,baseSize:"auto",template:(0,i.default)("<div>").addClass("dx-timeview-time-separator").text((0,u.getTimeSeparator)())},{ratio:0,shrink:0,baseSize:"auto",template:function(){return t._minuteBox.$element()}}];return e&&n.push({ratio:0,shrink:0,baseSize:"auto",template:function(){return t._format12.$element()}}),n},_renderField:function(){var e=!this.option("use24HourFormat");return this._createHourBox(),this._createMinuteBox(),e&&this._createFormat12Box(),this._createComponent((0,i.default)("<div>").addClass("dx-timeview-field"),a.default,{direction:"row",align:"center",crossAlign:"center",items:this._getBoxItems(e)}).$element()},_attachKeyboardProcessorToEditor:function(e){var t=e._keyboardProcessor;t&&t.attachChildProcessor().reinitialize(this._keyboardHandler,this)},_createHourBox:function(){var e=this._hourBox=this._createComponent((0,i.default)("<div>"),o.default,(0,l.extend)({min:-1,max:24,value:this._getValue().getHours(),onValueChanged:this._onHourBoxValueChanged.bind(this)},this._getNumberBoxConfig()));e.setAria("label","hours"),this._attachKeyboardProcessorToEditor(e)},_isPM:function(){return!this.option("use24HourFormat")&&1===this._format12.option("value")},_onHourBoxValueChanged:function(e){var t=this._getValue(),n=new Date(t),i=this._convertMaxHourToMin(e.value);this._isPM()&&(i+=12),n.setHours(i),(0,d.normalizeTime)(n),this.option("value",n)},_convertMaxHourToMin:function(e){var t=this.option("use24HourFormat")?24:12;return(t+e)%t},_createMinuteBox:function(){var e=this,t=this._minuteBox=this._createComponent((0,i.default)("<div>"),o.default,(0,l.extend)({min:-1,max:60,value:this._getValue().getMinutes(),onValueChanged:function(t){var n=(60+t.value)%60;t.component.option("value",n);var i=new Date(e._getValue());i.setMinutes(n),(0,d.normalizeTime)(i),e.option("value",i)}},this._getNumberBoxConfig()));t.setAria("label","minutes"),this._attachKeyboardProcessorToEditor(t)},_createFormat12Box:function(){var e=this,t=(0,u.getPeriodNames)(),n=this._format12=this._createComponent((0,i.default)("<div>").addClass("dx-timeview-format12"),s.default,{items:[{value:-1,text:t[0]},{value:1,text:t[1]}],valueExpr:"value",displayExpr:"text",onValueChanged:function(t){var n=t.value,i=e._getValue().getHours(),r=new Date(e._getValue());r.setHours((i+12*n)%24),e.option("value",r)},value:this._getValue().getHours()>=12?1:-1,stylingMode:this.option("stylingMode")});this._attachKeyboardProcessorToEditor(n),n.setAria("label","type")},_refreshFormat12:function(){if(!this.option("use24HourFormat")){var e=this._getValue().getHours();this._silentEditorValueUpdate(this._format12,e>=12?1:-1)}},_silentEditorValueUpdate:function(e,t){e&&(e._suppressValueChangeAction(),e.option("value",t),e._resumeValueChangeAction())},_getNumberBoxConfig:function(){return{showSpinButtons:!0,displayValueFormatter:function(e){return(e<10?"0":"")+e},stylingMode:this.option("stylingMode")}},_normalizeHours:function(e){return this.option("use24HourFormat")?e:e%12||12},_updateField:function(){var e=this._normalizeHours(this._getValue().getHours());this._silentEditorValueUpdate(this._hourBox,e),this._silentEditorValueUpdate(this._minuteBox,this._getValue().getMinutes()),this._refreshFormat12()},_updateTime:function(){this.option("_showClock")&&this._updateClock(),this._updateField()},_visibilityChanged:function(e){e&&this._updateTime()},_optionChanged:function(e){switch(e.name){case"value":this._updateTime(),this.callBase(e);break;case"_arrowOffset":break;case"use24HourFormat":case"_showClock":case"stylingMode":this._invalidate();break;default:this.callBase(e)}}});(0,c.default)("dxTimeView",m),e.exports=m},k9kE:function(e,t,n){"use strict";var i=n("JDOJ"),r=n("ti0F"),o=n("v4HY"),s=n("1LL4"),a=n("z7z0"),l=g(n("jeLr")),c=n("Atjq"),u=g(n("dYUP")),d=n("FwfD"),h=n("/DUC"),p=g(n("YW9F")),f=g(n("Bhoz")),m=g(n("LdFP"));
1function g(e){return e&&e.__esModule?e:{default:e}}var _=p.default.inherit({_supportedKeys:function(e){var t=this,n=this.callBase(e),r=function(e){var r=n[(0,i.normalizeKeyName)(e)];return r&&r.apply(t,[e])},o=function(e,n){return t._shouldUseOriginalHandler(e)?r.apply(t,[e]):n.apply(t,[e])};return(0,s.extend)({},n,{del:function(e){return o(e,(function(e){t._revertPart(1),t._isAllSelected()||e.preventDefault()}))},backspace:function(e){return o(e,(function(e){t._revertPart(-1),t._isAllSelected()||e.preventDefault()}))},home:function(e){return o(e,(function(e){t._selectFirstPart(),e.preventDefault()}))},end:function(e){return o(e,(function(e){t._selectLastPart(),e.preventDefault()}))},escape:function(e){return o(e,(function(e){t._revertChanges(e)}))},enter:function(e){return o(e,(function(e){t._enterHandler(e)}))},leftArrow:function(e){return o(e,(function(e){t._selectNextPart(-1),e.preventDefault()}))},rightArrow:function(e){return o(e,(function(e){t._selectNextPart(1),e.preventDefault()}))},upArrow:function(e){return o(e,(function(e){t._upDownArrowHandler(1),e.preventDefault()}))},downArrow:function(e){return o(e,(function(e){t._upDownArrowHandler(-1),e.preventDefault()}))}})},_shouldUseOriginalHandler:function(e){var t=this.option("opened")&&e&&-1===["backspace","del"].indexOf((0,i.normalizeKeyName)(e));return!this._useMaskBehavior()||t||e&&e.altKey},_upDownArrowHandler:function(e){this._setNewDateIfEmpty();var t=this._getActivePartValue(this._initialMaskValue),n=this._getActivePartValue()-t;this._loadMaskValue(this._initialMaskValue),this._partIncrease(n+e,!0)},_getDefaultOptions:function(){return(0,s.extend)(this.callBase(),{useMaskBehavior:!1,emptyDateValue:new Date(2e3,0,1,0,0,0),advanceCaret:!0})},_isSingleCharKey:function(e){var t=e.originalEvent.data||e.originalEvent.key;return"string"==typeof t&&1===t.length&&!e.ctrl&&!e.alt},_useBeforeInputEvent:function(){var e=m.default.real();return e.android&&e.version[0]>4},_keyboardHandler:function(e){var t=e.originalEvent.key,n=this.callBase(e);return this._useMaskBehavior()&&!this._useBeforeInputEvent()&&this._isSingleCharKey(e)?(this._processInputKey(t),e.originalEvent.preventDefault(),n):n},_maskBeforeInputHandler:function(e){var t=this;this._maskInputHandler=null;var n=e.originalEvent.inputType;"insertCompositionText"===n&&(this._maskInputHandler=function(){t._renderDisplayText(t._getDisplayedText(t._maskValue)),t._selectNextPart()});var i="deleteContentBackward"===n;if(i||"deleteContentForward"===n){var r=i?-1:1;this._maskInputHandler=function(){t._revertPart(),t._selectNextPart(r)}}if(this._useMaskBehavior()&&this._isSingleCharKey(e))return this._processInputKey(e.originalEvent.data),e.preventDefault(),!0},_keyPressHandler:function(e){this.callBase(e),this._maskInputHandler&&(this._maskInputHandler(),this._maskInputHandler=null)},_processInputKey:function(e){this._isAllSelected()&&(this._activePartIndex=0),this._setNewDateIfEmpty(),isNaN(parseInt(e))?this._searchString(e):this._searchNumber(e)},_isAllSelected:function(){var e=this._caret();return e.end-e.start===this.option("text").length},_getFormatPattern:function(){if(this._formatPattern)return this._formatPattern;var e=this._strategy.getDisplayFormat(this.option("displayFormat")),t=(0,r.isString)(e)&&!u.default._getPatternByFormat(e);return this._formatPattern=t?e:(0,h.getFormat)((function(t){return u.default.format(t,e)})),this._formatPattern},_setNewDateIfEmpty:function(){if(!this._maskValue){var e="time"===this.option("type")?new Date(null):new Date;this._maskValue=e,this._initialMaskValue=e,this._renderDateParts()}},_searchNumber:function(e){var t=this._getActivePartLimits().max,n=String(t).length,i=this._getActivePartProp("pattern").length;if(this._searchValue=(this._searchValue+e).substr(-n),isNaN(this._searchValue)&&(this._searchValue=e),this._setActivePartValue(this._searchValue),this.option("advanceCaret")){var r=1===i?n:Math.min(i,n),o=this._searchValue.length===r,s=parseInt(this._searchValue+"0")>t;(o||s)&&this._selectNextPart(1)}},_searchString:function(e){if(isNaN(parseInt(this._getActivePartProp("text")))){for(var t=this._getActivePartProp("limits")(this._maskValue),n=this._searchValue+e.toLowerCase(),i=t.max-t.min,r=0;r<=i;r++)if(this._loadMaskValue(this._initialMaskValue),this._partIncrease(r+1),0===this._getActivePartProp("text").toLowerCase().indexOf(n))return void(this._searchValue=n);this._setNewDateIfEmpty(),this._searchValue&&(this._clearSearchValue(),this._searchString(e))}},_clearSearchValue:function(){this._searchValue=""},_revertPart:function(e){if(!this._isAllSelected()){var t=this._getActivePartValue(this.option("emptyDateValue"));this._setActivePartValue(t),this._selectNextPart(e)}this._clearSearchValue()},_useMaskBehavior:function(){return this.option("useMaskBehavior")&&"text"===this.option("mode")},_prepareRegExpInfo:function(){this._regExpInfo=(0,d.getRegExpInfo)(this._getFormatPattern(),u.default);var e=this._regExpInfo.regexp.flags,t=f.default.convertDigits(this._regExpInfo.regexp.source,!1);this._regExpInfo.regexp=RegExp(t,e)},_initMaskState:function(){this._activePartIndex=0,this._formatPattern=null,this._prepareRegExpInfo(),this._loadMaskValue()},_renderMask:function(){this.callBase(),this._detachMaskEvents(),this._clearMaskState(),this._useMaskBehavior()&&(this._attachMaskEvents(),this._initMaskState(),this._renderDateParts())},_renderDateParts:function(){if(this._useMaskBehavior()){var e=this.option("text")||this._getDisplayedText(this._maskValue);e&&(this._dateParts=(0,c.renderDateParts)(e,this._regExpInfo),this._isFocused()&&this._selectNextPart())}},_detachMaskEvents:function(){l.default.off(this._input(),".dateBoxMask")},_attachMaskEvents:function(){var e=this;l.default.on(this._input(),(0,i.addNamespace)("dxclick","dateBoxMask"),this._maskClickHandler.bind(this)),l.default.on(this._input(),(0,i.addNamespace)("paste","dateBoxMask"),this._maskPasteHandler.bind(this)),l.default.on(this._input(),(0,i.addNamespace)("drop","dateBoxMask"),(function(){e._renderDisplayText(e._getDisplayedText(e._maskValue)),e._selectNextPart()})),this._useBeforeInputEvent()&&l.default.on(this._input(),(0,i.addNamespace)("beforeinput","dateBoxMask"),this._maskBeforeInputHandler.bind(this))},_selectLastPart:function(){this.option("text")&&(this._activePartIndex=this._dateParts.length,this._selectNextPart(-1))},_selectFirstPart:function(){this.option("text")&&(this._activePartIndex=-1,this._selectNextPart(1))},_onMouseWheel:function(e){this._useMaskBehavior()&&this._partIncrease(e.delta>0?1:-1,e)},_selectNextPart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.option("text")&&!this._disposed){e&&(this._initialMaskValue=new Date(this._maskValue));var t=(0,a.fitIntoRange)(this._activePartIndex+e,0,this._dateParts.length-1);if(this._dateParts[t].isStub){var n=0===t&&e<0||t===this._dateParts.length-1&&e>0;if(!n)return void this._selectNextPart(e>=0?e+1:e-1);t=this._activePartIndex}this._activePartIndex!==t&&this._clearSearchValue(),this._activePartIndex=t,this._caret(this._getActivePartProp("c
1aret"))}},_getRealLimitsPattern:function(){if("d"===this._getActivePartProp("pattern")[0])return"dM"},_getActivePartLimits:function(e){return this._getActivePartProp("limits")(this._maskValue,e&&this._getRealLimitsPattern())},_getActivePartValue:function(e){e=e||this._maskValue;var t=this._getActivePartProp("getter");return(0,r.isFunction)(t)?t(e):e[t]()},_addLeadingZeroes:function(e){var t=this._searchValue.match(/^0+/),n=this._getActivePartLimits(),i=String(n.max).length;return((t&&t[0]||"")+String(e)).substr(-i)},_setActivePartValue:function(e,t){t=t||this._maskValue;var n=this._getActivePartProp("setter"),i=this._getActivePartLimits();e=(0,a.inRange)(e,i.min,i.max)?e:e%10,e=this._addLeadingZeroes((0,a.fitIntoRange)(e,i.min,i.max)),(0,r.isFunction)(n)?n(t,e):t[n](e),this._renderDisplayText(this._getDisplayedText(t)),this._renderDateParts()},_getActivePartProp:function(e){if(this._dateParts&&this._dateParts[this._activePartIndex])return this._dateParts[this._activePartIndex][e]},_loadMaskValue:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dateOption("value");this._maskValue=e&&new Date(e),this._initialMaskValue=e&&new Date(e)},_saveMaskValue:function(){var e=this._maskValue&&new Date(this._maskValue);this._initialMaskValue=new Date(e),this.dateOption("value",e)},_revertChanges:function(){this._loadMaskValue(),this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._renderDateParts()},_renderDisplayText:function(e){this.callBase(e),this._useMaskBehavior()&&this.option("text",e)},_partIncrease:function(e,t){this._setNewDateIfEmpty();var n=this._getActivePartLimits(t),i=n.max,r=n.min,o=i-r;1===o&&o++;var s=e+this._getActivePartValue();s>i?s=this._applyLimits(s,{limitBase:r,limitClosest:i,limitDelta:o}):s<r&&(s=this._applyLimits(s,{limitBase:i,limitClosest:r,limitDelta:o})),this._setActivePartValue(s)},_applyLimits:function(e,t){var n=t.limitClosest,i=(e-n)%t.limitDelta;return i?t.limitBase+i-1*(0,a.sign)(i):n},_maskClickHandler:function(){this.option("text")&&(this._activePartIndex=(0,c.getDatePartIndexByPosition)(this._dateParts,this._caret().start),this._caret(this._getActivePartProp("caret")))},_maskPasteHandler:function(e){var t=this._replaceSelectedText(this.option("text"),this._caret(),(0,o.clipboardText)(e)),n=u.default.parse(t,this._getFormatPattern());n&&(this._maskValue=n,this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._renderDateParts(),this._selectNextPart()),e.preventDefault()},_isValueDirty:function(){var e=this.dateOption("value");return(this._maskValue&&this._maskValue.getTime())!==(e&&e.getTime())},_fireChangeEvent:function(){this._clearSearchValue(),this._isValueDirty()&&l.default.trigger(this._input(),"change")},_enterHandler:function(e){this._fireChangeEvent(),this._selectNextPart(1),e.preventDefault()},_focusOutHandler:function(e){this.callBase(e),this._useMaskBehavior()&&!e.isDefaultPrevented()&&(this._fireChangeEvent(),this._selectFirstPart(e))},_valueChangeEventHandler:function(e){var t=this.option("text");this._useMaskBehavior()?(this._saveValueChangeEvent(e),t?null===this._maskValue&&this._loadMaskValue(t):this._maskValue=null,this._saveMaskValue()):this.callBase(e)},_optionChanged:function(e){switch(e.name){case"useMaskBehavior":this._renderMask();break;case"displayFormat":case"mode":this.callBase(e),this._renderMask();break;case"value":this._loadMaskValue(),this.callBase(e),this._renderDateParts();break;case"advanceCaret":case"emptyDateValue":break;default:this.callBase(e)}},_clearMaskState:function(){this._clearSearchValue(),delete this._dateParts,delete this._activePartIndex,delete this._maskValue},reset:function(){this.callBase(),this._clearMaskState(),this._activePartIndex=0},_clean:function(){this.callBase(),this._detachMaskEvents(),this._clearMaskState()}});e.exports=_},kEOa:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u
109ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kLP8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerTemplateEngine=function(e,t){a[e]=t},t.setTemplateEngine=function(e){if((0,o.isString)(e)){if(!(r=a[e]))throw s.default.Error("E0020",e)}else r=e},t.getCurrentTemplateEngine=function(){return r};var i,r,o=n("ti0F"),s=(i=n("/7L9"))&&i.__esModule?i:{default:i},a={}},kOZU:function(e,t,n){"use strict";var i=g(n("FKN7")),r=g(n("tUd6")),o=g(n("jeLr")),s=g(n("1B4V")),a=g(n("v4HY")),l=g(n("zBVi")),c=n("5u+F"),u=n("1LL4"),d=n("KAnu"),h=n("3IPI"),p=n("imRD"),f=n("JDOJ"),m=n("XCcL");function g(e){return e&&e.__esModule?e:{default:e}}var _=l.default.abstract,b=(0,f.addNamespace)(m.name,"dxCalendar"),v=l.default.inherit({_getViewName:function(){return"base"},_getDefaultOptions:function(){return(0,u.extend)(this.callBase(),{date:new Date,focusStateEnabled:!1,cellTemplate:null,disabledDates:null,onCellClick:null,rowCount:3,colCount:4,allowValueSelection:!0}
1)},_init:function(){this.callBase();var e=this.option("value");this.option("value",new Date(e)),this.option("value").valueOf()||this.option("value",new Date(0,0,0,0,0,0))},_initMarkup:function(){this.callBase(),this._renderImpl()},_renderImpl:function(){this.$element().append(this._createTable()),this._createDisabledDatesHandler(),this._renderBody(),this._renderContouredDate(),this._renderValue(),this._renderEvents()},_createTable:function(){return this._$table=(0,i.default)("<table>"),this.setAria({label:(0,p.format)("dxCalendar-ariaWidgetName"),role:"grid"},this._$table),this._$table},_renderBody:function(){this.$body=(0,i.default)("<tbody>").appendTo(this._$table);for(var e={cellDate:this._getFirstCellData(),prevCellDate:null},t=0,n=this.option("rowCount");t<n;t++){e.row=this._createRow();for(var r=0,o=this.option("colCount");r<o;r++)this._renderCell(e,r)}},_createRow:function(){var e=r.default.createElement("tr");return this.setAria("role","row",(0,i.default)(e)),this.$body.get(0).appendChild(e),e},_appendCell:function(e,t){this._appendMethodName||this._cacheAppendMethodName(),(0,i.default)(e)[this._appendMethodName](t)},_cacheAppendMethodName:function(e){this._appendMethodName=(null!=e?e:this.option("rtlEnabled"))?"prepend":"append"},_createCell:function(e){var t=r.default.createElement("td"),n=(0,i.default)(t);return t.className=this._getClassNameByDate(e),t.setAttribute("data-value",(0,h.serializeDate)(e,(0,c.getShortDateFormat)())),s.default.data(t,"dxDateValueKey",e),this.setAria({role:"gridcell",label:this.getCellAriaLabel(e)},n),{cell:t,$cell:n}},_renderCell:function(e,t){var n=e.cellDate,i=e.prevCellDate,r=e.row;i&&(0,c.fixTimezoneGap)(i,n),e.prevCellDate=n;var o=this._createCell(n),s=o.cell,a=o.$cell,l=this.option("cellTemplate");this._appendCell(r,s),l?l.render(this._prepareCellTemplateData(n,t,a)):s.innerHTML=this._getCellText(n),e.cellDate=this._getNextCellData(n)},_getClassNameByDate:function(e){var t="dx-calendar-cell";return this._isTodayCell(e)&&(t+=" ".concat("dx-calendar-today")),(this._isDateOutOfRange(e)||this.isDateDisabled(e))&&(t+=" ".concat("dx-calendar-empty-cell")),this._isOtherView(e)&&(t+=" ".concat("dx-calendar-other-view")),t},_prepareCellTemplateData:function(e,t,n){return{model:{text:this._getCellText(e),date:e,view:this._getViewName()},container:a.default.getPublicElement(n),index:t}},_renderEvents:function(){var e=this;this._createCellClickAction(),o.default.off(this._$table,b),o.default.on(this._$table,b,"td",(function(t){(0,i.default)(t.currentTarget).hasClass("dx-calendar-empty-cell")||e._cellClickAction({event:t,value:(0,i.default)(t.currentTarget).data("dxDateValueKey")})}))},_createCellClickAction:function(){this._cellClickAction=this._createActionByOption("onCellClick")},_createDisabledDatesHandler:function(){var e=this.option("disabledDates");this._disabledDatesHandler=Array.isArray(e)?this._getDefaultDisabledDatesHandler(e):e||d.noop},_getDefaultDisabledDatesHandler:function(e){return d.noop},_isTodayCell:_,_isDateOutOfRange:_,isDateDisabled:function(e){var t={date:e,view:this._getViewName()};return this._disabledDatesHandler(t)},_isOtherView:_,_getCellText:_,_getFirstCellData:_,_getNextCellData:_,_renderContouredDate:function(e){if(this.option("focusStateEnabled")){e=e||this.option("contouredDate");var t=this._$table.find(".".concat("dx-calendar-contoured-date")),n=this._getCellByDate(e);t.removeClass("dx-calendar-contoured-date"),n.addClass("dx-calendar-contoured-date")}},_dispose:function(){this._keyboardProcessor=void 0,this.callBase()},_changeValue:function(e){if(e){var t=this.option("value"),n=t?new Date(t):new Date;n.setDate(e.getDate()),n.setMonth(e.getMonth()),n.setFullYear(e.getFullYear()),n.setDate(e.getDate()),this.option("value",n)}else this.option("value",null)},_renderValue:function(){if(this.option("allowValueSelection")){var e=this.option("value"),t=this._getCellByDate(e);this._selectedCell&&this._selectedCell.removeClass("dx-calendar-selected-date"),t.addClass("dx-calendar-selected-date"),this._selectedCell=t}},getCellAriaLabel:function(e){return this._getCellText(e)},_getFirstAvailableDate:function(){var e=this.option("date"),t=this.option("min");
1return e=(0,c.getFirstDateView)(this._getViewName(),e),new Date(t&&e<t?t:e)},_getCellByDate:_,isBoundary:_,_optionChanged:function(e){var t=e.value;switch(e.name){case"value":this._renderValue();break;case"contouredDate":this._renderContouredDate(t);break;case"onCellClick":this._createCellClickAction();break;case"disabledDates":case"cellTemplate":this._invalidate();break;case"rtlEnabled":this._cacheAppendMethodName(t),this.callBase(e);break;default:this.callBase(e)}}});e.exports=v},kOkc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ti0F"),r=s(n("OZWN")),o=s(n("vt7q"));function s(e){return e&&e.__esModule?e:{default:e}}var a={tryCreateTag:function(e){var t=null;return(0,i.isDefined)(e)&&(t={patternFill:o.default.tryCreateTag(e.patternFill)},a.isEmpty(t)&&(t=null)),t},tryCreateFillFromSimpleFormat:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.backgroundColor,n=e.fillPatternType,r=e.fillPatternColor;return!(0,i.isDefined)(t)||(0,i.isDefined)(n)&&(0,i.isDefined)(r)?(0,i.isDefined)(n)&&(0,i.isDefined)(r)?{patternFill:{patternType:n,foregroundColor:{rgb:r},backgroundColor:{rgb:t}}}:void 0:{patternFill:{patternType:"solid",foregroundColor:{rgb:t}}}},copySimpleFormat:function(e,t){void 0!==e.backgroundColor&&(t.backgroundColor=e.backgroundColor),void 0!==e.fillPatternType&&(t.fillPatternType=e.fillPatternType),void 0!==e.fillPatternColor&&(t.fillPatternColor=e.fillPatternColor)},copy:function(e){var t=null;return(0,i.isDefined)(e)&&(t={},void 0!==e.patternFill&&(t.patternFill=o.default.copy(e.patternFill))),t},areEqual:function(e,t){return a.isEmpty(e)&&a.isEmpty(t)||(0,i.isDefined)(e)&&(0,i.isDefined)(t)&&o.default.areEqual(e.patternFill,t.patternFill)},isEmpty:function(e){return!(0,i.isDefined)(e)||o.default.isEmpty(e.patternFill)},toXml:function(e){return r.default.toXml("fill",{},o.default.toXml(e.patternFill))}};t.default=a},kOpN:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kaGW:function(e,t,n){"use strict";var i=n("FKN7"),r=n("KAnu").noop,o=n("jeLr"),s=n("ti0F"),a=n("XDlg").isWrapped,l=n("yxXJ").compileGetter,c=n("uHaw"),u=n("1LL4").extend,d=n("LdFP"),h=n("v4HY").getPublicElement,p=n("+12O").normalizeDataSourceOptions,f=n("JDOJ").normalizeKeyName;n("ynD9"),n("cap0"),n("Hv54"),n("PB16"),n("1XBF");var m,g,_,b,v,y=(m=function(e,t){return u(e,{readOnly:t.readOnly,placeholder:t.placeholder,inputAttr:{id:t.id},tabIndex:t.tabIndex},t.editorOptions)},g=function(){return c.msie||c.mozilla||d.real().ios},_=function(e){var t={},n=g(),r=e.sharedData||t;return m({placeholder:e.placeholder,width:e.width,value:e.value,onValueChanged:function(n){var i="filterRow"===e.parentType||"searchPanel"===e.parentType,o=n.event&&("input"===n.event.type||"ke
1yup"===n.event.type),a=function(t,n){e&&e.setValue(t.value,n)};clearTimeout(t.valueChangeTimeout),o&&i?r.valueChangeTimeout=t.valueChangeTimeout=setTimeout((function(){a(n,t.valueChangeTimeout!==r.valueChangeTimeout)}),s.isDefined(e.updateValueTimeout)?e.updateValueTimeout:0):a(n)},onKeyDown:function(e){n&&"enter"===f(e.event)&&o.trigger(i(e.component._input()),"change")},valueChangeEvent:"change"+("filterRow"===e.parentType?" keyup input":"")},e)},b=function(e){var t,n,i=e.lookup,r="filterRow"===e.parentType;if(i){var o=l(i.displayExpr);s.isFunction(t=i.dataSource)&&!a(t)&&(t=t(e.row||{}),function(e){if(e.row&&e.row.watch&&"dataRow"===e.parentType){var t,n=e.editorOptions||{};e.editorOptions=n;var i,r=n.onInitialized;n.onInitialized=function(e){r&&r.apply(this,arguments),(t=e.component).on("disposing",o)};var o=e.row.watch((function(){return(i=e.lookup.dataSource(e.row))&&i.filter}),(function(){t.option("dataSource",i)}),(function(t){e.row=t}))}}(e)),(s.isObject(t)||Array.isArray(t))&&(t=p(t),r&&(n=t.postProcess,t.postProcess=function(e){return 0===this.pageIndex()&&(e=e.slice(0)).unshift(null),n?n.call(this,e):e}));var c=Boolean(i.allowClearing&&!r);e.editorName="dxSelectBox",e.editorOptions=m({searchEnabled:!0,value:e.value,valueExpr:e.lookup.valueExpr,searchExpr:e.lookup.searchExpr||e.lookup.displayExpr,allowClearing:c,showClearButton:c,displayExpr:function(t){return null===t?e.showAllText:o(t)},dataSource:t,onValueChanged:function(t){var n=[t.value];!r&&n.push(t.component.option("text")),e.setValue.apply(this,n)}},e)}},v=function(e){e.editorName="dxCheckBox",e.editorOptions=m({value:s.isDefined(e.value)?e.value:void 0,hoverStateEnabled:!e.readOnly,focusStateEnabled:!e.readOnly,activeStateEnabled:!1,onValueChanged:function(t){e.setValue&&e.setValue(t.value,t)}},e)},{createEditor:function(e,t){if(t.cancel=!1,t.editorElement=h(e),s.isDefined(t.tabIndex)||(t.tabIndex=this.option("tabIndex")),t.lookup)b(t);else switch(t.dataType){case"date":case"datetime":!function(e){e.editorName="dxDateBox",e.editorOptions=m({value:e.value,onValueChanged:function(t){e.setValue(t.value)},onKeyDown:function(e){g()&&"enter"===f(e.event)&&(e.component.blur(),e.component.focus())},displayFormat:e.format,type:e.dataType,formatWidthCalculator:null,dateSerializationFormat:null,width:"filterBuilder"===e.parentType?void 0:"auto"},e)}(t);break;case"boolean":!function(e){"filterRow"===e.parentType||"filterBuilder"===e.parentType?b(u(e,{lookup:{displayExpr:function(t){return!0===t?e.trueText||"true":!1===t?e.falseText||"false":void 0},dataSource:[!0,!1]}})):v(e)}(t);break;case"number":!function(e){var t=_(e);t.value=s.isDefined(e.value)?e.value:null,e.editorName="dxNumberBox",e.editorOptions=t}(t);break;default:!function(e){var t,n=_(e),i="searchPanel"===e.parentType;n.value=e.editorType&&"dxTextBox"!==e.editorType?e.value:s.isDefined(t=e.value)?t.toString():"",n.valueChangeEvent+=i?" keyup input search":"",n.mode=n.mode||(i?"search":"text"),e.editorName="dxTextBox",e.editorOptions=n}(t)}var n=t.editorName;this.executeAction("onEditorPreparing",t),t.cancel||("dataRow"===t.parentType&&t.editorType&&n===t.editorName&&(t.editorName=t.editorType),function(e,t){var n=i(t.editorElement);t.editorName&&t.editorOptions&&n[t.editorName]&&("dxCheckBox"===t.editorName&&(t.isOnForm||(n.addClass(e.addWidgetPrefix("checkbox-size")),n.parent().addClass("dx-editor-inline-block"))),e._createComponent(n,t.editorName,t.editorOptions),"dxTextBox"===t.editorName&&n.dxTextBox("instance").registerKeyHandler("enter",r),"dxDateBox"===t.editorName&&n.dxDateBox("instance").registerKeyHandler("enter",(function(){return!0})),"dxTextArea"===t.editorName&&n.dxTextArea("instance").registerKeyHandler("enter",(function(e){"enter"!==f(e)||e.ctrlKey||e.shiftKey||e.stopPropagation()})))}(this,t),this.executeAction("onEditorPrepared",t))}});e.exports=y},kgAh:function(e,t,n){"use strict";var i=n("FKN7"),r=n("KAnu").noop,o=n("5qrJ"),s=n("cYys"),a=n("1LL4").extend,l=n("JDOJ"),c=o.inherit({ctor:function(e){this._$element=i(e),this._cancelCallback=s(),this._acceptCallback=s()},getElement:function(){return this._$element},validate:function(e){return!l.isDxMouseWheelEvent(e)},validatePointers:function(e){return 1===l.hasTouches(e)},allowInterruptionByMouseWheel:function(){return!0},configure:function(e){a(this,e)},addCancelCallback:function(e){this._cancelCallback.add(e)},removeCancelCallback:function(){this._cancelCallback.empty()},_cancel:function(e){this._cancelCallback.fire(this,e)},addAcceptCallback:function(e){this._acceptCallback.add(e)},removeAcceptCallback:function(){this._acceptCallback.empty()},_accept:function(e){this._acceptCallback.fire(this,e)},_requestAccept:function(e){this._acceptRequestEvent=e},_forgetAccept:function(){this._accept(this._acceptRequestEvent),this._acceptRequestEvent=null},start:r,move:r,end:r,cancel:r,reset:function(){this._acceptRequestEvent&&this._accept(this._acceptRequestEvent)},_fireEvent:function(e,t,n){var i=a({type:e,originalEvent:t,target:this._getEmitterTarget(t),delegateTarget:this.getElement().get(0)},n);return(t=l.fireEvent(i)).cancel&&this._cancel(t),t},_getEmitterTarget:function(e){return(this.delegateSelector?i(e.target).closest(this.delegateSelector):this.getElement()).get(0)},dispose:r});e.exports=c},"l2/R":function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("KAnu"),s=n("ti0F"),a=n("D8Ap"),l=n("cGv3"),c=l.getWindow(),u=n("zl3R"),d=n("1LL4").extend,h=n("D6VQ"),p=n("bUO+"),f=n("3wDN").inherit({_getDefaultOptions:function(){return d(this.callBase(),{rows:[],cols:[],screenByWidth:null,singleColumnScreen:"",he
1ight:"100%",width:"100%",activeStateEnabled:!1,focusStateEnabled:!1,onItemStateChanged:void 0,onLayoutChanged:null,currentScreenFactor:void 0,_layoutStrategy:void 0})},_init:function(){this.option("screenByWidth")||(this._options.screenByWidth=l.defaultScreenFactorFunc),this.callBase(),this._initLayoutChangedAction()},_initLayoutChangedAction:function(){this._layoutChangedAction=this._createActionByOption("onLayoutChanged",{excludeValidators:["disabled","readonly"]})},_itemClass:function(){return"dx-box-item"},_itemDataKey:function(){return"dxBoxItemData"},_initMarkup:function(){this.callBase(),this.$element().addClass("dx-responsivebox"),this._updateRootBox()},_updateRootBox:function(){clearTimeout(this._updateTimer),this._updateTimer=setTimeout((function(){this._$root&&r.triggerHandler(this._$root,"dxupdate")}).bind(this))},_renderItems:function(){this._setScreenSize(),this._screenItems=this._itemsByScreen(),this._prepareGrid(),this._spreadItems(),this._layoutItems(),this._linkNodeToItem()},_itemOptionChanged:function(e){var t=this._findItemElementByItem(e);t.length&&(this._refreshItem(t,e),this._clearItemNodeTemplates(),this._update())},_setScreenSize:function(){var e=this._getCurrentScreen();this._removeScreenSizeClass(),this.$element().addClass("dx-responsivebox-screen-"+e),this.option("currentScreenFactor",e)},_removeScreenSizeClass:function(){var e=this.option("currentScreenFactor");e&&this.$element().removeClass("dx-responsivebox-screen-"+e)},_prepareGrid:function(){var e=this._grid=[];this._prepareRowsAndCols(),u.each(this._rows,(function(){var t=[];e.push(t),u.each(this._cols,(function(){t.push(this._createEmptyCell())}).bind(this))}).bind(this))},getSingleColumnRows:function(){var e=this.option("rows"),t=this._screenItems.length;if(e.length){for(var n=this._filterByScreen(e),i=[],r=0;r<t;r++){var o=this._defaultSizeConfig();r<n.length&&s.isDefined(n[r].shrink)&&(o.shrink=n[r].shrink),i.push(o)}return i}return this._defaultSizeConfig(t)},_prepareRowsAndCols:function(){this._isSingleColumnScreen()?(this._prepareSingleColumnScreenItems(),this._rows=this.getSingleColumnRows(),this._cols=this._defaultSizeConfig(1)):(this._rows=this._sizesByScreen(this.option("rows")),this._cols=this._sizesByScreen(this.option("cols")))},_isSingleColumnScreen:function(){return this._screenRegExp().test(this.option("singleColumnScreen"))||!this.option("rows").length||!this.option("cols").length},_prepareSingleColumnScreenItems:function(){this._screenItems.sort((function(e,t){return e.location.row-t.location.row||e.location.col-t.location.col})),u.each(this._screenItems,(function(e,t){d(t.location,{row:e,col:0,rowspan:1,colspan:1})}))},_sizesByScreen:function(e){return u.map(this._filterByScreen(e),(function(e){return d(this._defaultSizeConfig(),e)}).bind(this))},_createDefaultSizeConfig:function(){return{ratio:1,baseSize:0,minSize:0,maxSize:0}},_defaultSizeConfig:function(e){var t=this._createDefaultSizeConfig();if(!arguments.length)return t;for(var n=[],i=0;i<e;i++)n.push(t);return n},_filterByScreen:function(e){var t=this._screenRegExp();return o.grep(e,(function(e){return!e.screen||t.test(e.screen)}))},_screenRegExp:function(){var e=this._getCurrentScreen();return new RegExp("(^|\\s)"+e+"($|\\s)","i")},_getCurrentScreen:function(){var e=this._screenWidth();return this.option("screenByWidth")(e)},_screenWidth:function(){return l.hasWindow()?i(c).width():1920},_createEmptyCell:function(){return{item:{},location:{colspan:1,rowspan:1}}},_spreadItems:function(){u.each(this._screenItems,(function(e,t){var n=t.location||{},i=this._grid[n.row];this._occupyCells(i&&i[n.col],t)}).bind(this))},_itemsByScreen:function(){var e=this;return this.option("items").reduce((function(t,n){var i=n.location||{};return i=s.isPlainObject(i)?[i]:i,e._filterByScreen(i).forEach((function(e){t.push({item:n,location:d({rowspan:1,colspan:1},e)})})),t}),[])},_occupyCells:function(e,t){e&&!this._isItemCellOccupied(e,t)&&(d(e,t),this._markSpanningCell(e))},_isItemCellOccupied:function(e,t){if(!s.isEmptyObject(e.item))return!0;var n=!1;return this._loopOverSpanning(t.location,(function(e){n=n||!s.isEmptyObject(e.item)})),n},_loopOverSpanning:function(e,t){var n=e.row+e.rowspan-1,i=e.col+e.colspan-1,r=Math.min(n,this._rows.length-1),o=Math.min(i,this._cols.length-1);e.rowspan-=n-r,e.colspan-=i-o;for(var s=e.row;s<=r;s++)for(var a=e.col;a<=o;a++)s===e.row&&a===e.col||t(this._grid[s][a])},_markSpanningCell:function(e){this._loopOverSpanning(e.location,(function(t){d(t,{item:e.item,spanningCell:e})}))},_linkNodeToItem:function(){u.each(this._itemElements(),(function(e,t){var n=i(t),r=n.data("dxBoxItemData");r.box||(r.node=n.children())}))},_layoutItems:function(){var e=this._grid.length,t=e&&this._grid[0].length;if(e||t){var n=this._layoutBlock({direction:"col",row:{start:0,end:e-1},col:{start:0,end:t-1}}),r=this._prepareBoxConfig(n.box||{direction:"row",items:[d(n,{ratio:1})]});d(r,this._rootBoxConfig(r.items)),this._$root=i("<div>").appendTo(this._itemContainer()),this._createComponent(this._$root,p,r)}},_rootBoxConfig:function(e){var t=u.each(e,(function(e,t){this._needApplyAutoBaseSize(t)&&d(t,{baseSize:"auto"})}).bind(this));return d({width:"100%",height:"100%",items:t,itemTemplate:this._getTemplateByOption("itemTemplate"),itemHoldTimeout:this.option("itemHoldTimeout"),onItemHold:this._createActionByOption("onItemHold"),onItemClick:this._createActionByOption("onItemClick"),onItemContextMenu:this._createActionByOption("onItemContextMenu"),onItemRendered:this._createActionByOption("onItemRendered")},{_layoutStrategy:this.option("_layoutStrategy")})},_needApplyAutoBaseSize:function(e){return!(e.baseSize||e.minSize&&"auto"!==e.minSize||e.maxSize&&"auto"!==e.maxSize)},_prepareBoxConfig:function(e){return d(e||{},{crossAlign:"stretch",onItemStateChanged:this.option("onItemStateChanged")})},_layoutBlock:function(e){return this._isSingleItem(e)?this._itemByCell(e.row.start,e.col.start):this._layoutDirection(e)},_isSingleItem:function(e){var t=this._grid[e.row.start][e.col.start].location;return e.row.end-e.row.start==t.rowspan-1&&e.col.end-e.col.start==t.colspan-1},_itemByCell:function(e,t){var n=this._grid[e][t];return n.spanningCell?null:n.item},_layoutDirection:function(e){for(var t,n=[],i=e.direction,r=this._crossDirection(i);t=this._nextBlock(e);){if(this._isBlockIndivisible(e.prevBlockOptions,t))throw a.Error("E1025");var o=this._layoutBlock({direction:r,row:t.row,col:t.col,prevBlockOptions:e});o&&(d(o,this._blockSize(t,r)),n.push(o)),e[r].start=t[r].end+1}return{box:this._prepareBoxConfig({direction:i,items:n})}},_isBlockIndivisible:function(e,t){return e&&e.col.start===t.col.start&&e.col.end===t.col.end&&e.row.start===t.row.start&&e.row.end===t.row.end},_crossDirection:function(e){return"col"===e?"row":"col"},_nextBlock:function(e){var t=e.direction,n=this._crossDirection(t),i=e[t].start,r=e[t].end,o=e[n].start;if(o>e[n].end)return null;for(var s=1,a=o;a<o+s;a++){for(var l=1,c=i;c<=r;c++){var u=this._cellByDirection(t,c,a);l=Math.max(l,u.location[n+"span"])}var d=a+l,h=o+s;d>h&&(s+=d-h)}var p={};return p[t]={start:i,end:r},p[n]={start:o,end:o+s-1},p},_cellByDirection:function(e,t,n){return"col"===e?this._grid[n][t]:this._grid[t][n]},_blockSize:function(e,t){for(var n="row"===t?"auto":0,i="row"===t?this._rows:this._cols,r=d(this._createDefaultSizeConfig(),{ratio:0}),o=e[t].start;o<=e[t].end;o++){var a=i[o];r.ratio+=a.ratio,r.baseSize+=a.baseSize,r.minSize+=a.minSize,r.maxSize+=a.maxSize,s.isDefined(a.shrink)&&(r.shrink=a.shrink)}return r.minSize=r.minSize?r.minSize:n,r.maxSize=r.maxSize?r.maxSize:"auto",this._isSingleColumnScreen()&&(r.baseSize="auto"),r},_update:function(){var e=this._$root;this._renderItems(),e&&e.detach(),this._saveAssistantRoot(e),this._layoutChangedAction(),this._updateRootBox()},_saveAssistantRoot:function(e){this._assistantRoots=this._assistantRoots||[],this._assistantRoots.push(e)},_dispose:function(){clearTimeout(this._updateTimer),this._clearItemNodeTemplates(),this._cleanUnusedRoots(),this.callBase.apply(this,arguments)},_cleanUnusedRoots:function(){this._assistantRoots&&u.each(this._assistantRoots,(function(e,t){i(t).remove()}))},_clearItemNodeTemplates:function(){u.each(this.option("items"),(function(){delete this.node}))},_toggleVisibility:function(e){this.callBase(e),e&&this._updateRootBox()},_attachClickEvent:o.noop,_optionChanged:function(e){switch(e.name){case"rows":case"cols":case"screenByWidth":case"_layoutStrategy":case"singleColumnScreen":this._clearItemNodeTemplates(),this._invalidate();break;case"width":case"height":this.callBase(e),this._update();break;case"onLayoutChanged":this._initLayoutChangedAction();break;case"itemTemplate":this._clearItemNodeTemplates(),this.callBase(e);break;case"currentScreenFactor":break;default:this.callBase(e)}},_dimensionChanged:function(){this._getCurrentScreen()!==this.option("currentScreenFactor")&&this._update()},repaint:function(){this._update()}});h("dxResponsiveBox",f),e.exports=f,e.exports.default=e.exports},l29I:function(e,t,n){"use strict";var i=C(n("FKN7")),r=C(n("jeLr")),o=C(n("GYHJ")),s=n("8S5z"),a=n("KAnu"),l=n("zl3R"),c=n("ti0F"),u=n("1LL4"),d=n("gpjr"),h=C(n("imRD")),p=C(n("XPWh")),f=C(n("T4bj")),m=C(n("cGV2")),g=C(n("ZbT9")),_=C(n("m1Bx")),b=C(n("uHSv")),v=C(n("+6qP")),y=C(n("D8Ap")),w=n("tJvG");
1function C(e){return e&&e.__esModule?e:{default:e}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var S=["popup","form"],k=o.default.Controller.inherit({init:function(){this._editingController=this.getController("editing"),this.createAction("onRowValidating")},_getBrokenRules:function(e,t){return t?t.brokenRules||t.brokenRule&&[t.brokenRule]:e.brokenRules||[]},_rowValidating:function(e,t){var n=new w.Deferred,i=this._getBrokenRules(e,t),r={brokenRules:i,isValid:t?t.isValid:e.isValid,key:e.key,newData:e.data,oldData:e.oldData,promise:null,errorText:this.getHiddenValidatorsErrorText(i)};return this.executeAction("onRowValidating",r),(0,w.when)(r.promise).always((function(){e.isValid=r.isValid,e.errorText=r.errorText,n.resolve(r)})),n.promise()},getHiddenValidatorsErrorText:function(e){var t=[];return(0,l.each)(e,(function(e,n){var i=n.column,r=i&&void 0!==i.groupIndex&&!i.showWhenGrouped,o=i&&i.visible;n.validator.$element().parent().length||o&&!r||t.push(n.message)})),t.join(", ")},validate:function(e){var t=this,n=!0,i=this._editingController,r=new w.Deferred,o=[];if(e=e||"row"===i.getEditMode(),this._isValidationInProgress)return r.resolve(!1).promise();if(this._isValidationInProgress=!0,e)(0,l.each)(i._editData,(function(e,r){if(r.type&&"remove"!==r.type){var s=t.validateGroup(r);o.push(s),s.done((function(e){e.isValid||(0,l.each)(e.brokenRules,(function(){var e=this.validator.option("adapter").getValue();void 0===e&&(e=null),this.column&&i.updateFieldValue({key:r.key,column:this.column},e,null,!0)})),n=n&&e.isValid}))}}));else if(this._currentCellValidator){var s=this.validateGroup(this._currentCellValidator._findGroup());o.push(s),s.done((function(e){n=e.isValid}))}return this._isValidationInProgress=!1,w.when.apply(void 0,o).done((function(){r.resolve(n)})),r.promise()},validateGroup:function(e){var t,n=this,i=new w.Deferred,r=m.default.getGroupConfig(e);return r&&r.validators.length&&(t=m.default.validateGroup(e)),(0,w.when)(t&&t.complete||t).done((function(t){(0,w.when)(n._rowValidating(e,t)).done(i.resolve)})),i.promise()},updateEditData:function(e){var t=this._editingController.getEditMode();if(-1===S.indexOf(t)){if(this.setDisableApplyValidationResults(!0),m.default.getGroupConfig(e)){var n=m.default.validateGroup(e);(0,w.when)(n.complete||n).done((function(t){e.isValid=t.isValid,e.brokenRules=t.brokenRules}))}else e.brokenRules&&e.brokenRules.length||(e.isValid=!0);this.setDisableApplyValidationResults(!1)}else e.isValid=!0},setValidator:function(e){this._currentCellValidator=e},getValidator:function(){return this._currentCellValidator},createValidator:function(e,t){var n,o,a=this,l=e.column,h=a._editingController,p=function(){var t=l.calculateCellValue(n.data||{});return void 0!==t?t:e.value},m=l.showEditorAlways;if(!(0,c.isDefined)(l.command)&&l.validationRules&&Array.isArray(l.validationRules)&&l.validationRules.length){if((o=h.getIndexByKey(e.key,h._editData))<0){if(!m){var _=a.getController("columns");m=(_&&_.getVisibleColumns()||[]).some((function(e){return e.showEditorAlways}))}m&&h.isCellOrBatchEditMode()&&h.allowUpdating({row:e.row})&&(o=h._addEditData({key:e.key,oldData:e.data}))}if(o>=0){if(t&&!t.length)return void y.default.log("E1050");n=h._editData[o];var b=t&&t.hasClass("dx-widget");t&&t.addClass(a.addWidgetPrefix("validator"));var v=new g.default(t||(0,i.default)("<div>"),{name:l.caption,validationRules:(0,u.extend)(!0,[],l.validationRules),validationGroup:n,adapter:b?null:{getValue:p,applyValidationResults:function(e){if(e.brokenRule&&(e.brokenRule.columnIndex=l.index,e.brokenRule.column=l),t&&!a.getDisableApplyValidationResults()){if(!e.isValid){var n=t.find(":focus");h.showHighlighting(t,!0),(0,d.focused)(n)||(r.default.trigger(n,"focus"),r.default.trigger(n,f.default.down))}t.toggleClass(a.addWidgetPrefix("invalid"),!e.isValid)}}},dataGetter:function(){return{data:(0,s.createObjectWithChanges)(n.oldData,n.data),column:l}}});if(b){var w=v.option("adapter");w&&(w.getValue=p)}return v}}},setDisableApplyValidationResults:function(e){this._disableApplyValidationResults=e},getDisableApplyValidationResults:function(){return this._disableApplyValidationResults}});e.exports={defaultOptions:function(){return{editing:{texts:{validationCancelChanges:h.default.format("dxDataGrid-validationCancelChanges")}
1}}},controllers:{validating:k},extenders:{controllers:{editing:{_addEditData:function(e,t){var n=this.getController("validating"),i=this.callBase(e,t);return i>=0&&n.updateEditData(this._editData[i]),i},_updateRowAndPageIndices:function(){var e=this,t=e.getView("rowsView").getTopVisibleItemIndex(),n=t;(0,l.each)(e._editData,(function(i,r){r.isValid||r.pageIndex===e._pageIndex||(r.pageIndex=e._pageIndex,r.rowIndex="insert"===r.type?t:n,n++)}))},_needInsertItem:function(e){var t=this.callBase.apply(this,arguments);return t&&!e.isValid&&(t=e.key.pageIndex===this._pageIndex),t},processItems:function(e,t){var n,i=this._editData,r=this.getController("data"),o=(e=this.callBase(e,t)).length,s=function(t){var n={key:t.key};if(!(function(e,t){var n=-1,i="insert"===e.type,o=e.key;return(0,l.each)(t,(function(e,t){if((0,a.equalByValue)(o,i?t:r.keyOf(t)))return n=e,!1})),n}(t,e)>=0)){t.rowIndex=t.rowIndex>o?t.rowIndex%o:t.rowIndex;var i=t.rowIndex;n.__DX_INSERT_INDEX__=1,e.splice(i,0,n)}};if("batch"===this.getEditMode()&&"prepend"!==t&&"append"!==t)for(n=0;n<i.length;n++)i[n].type&&i[n].pageIndex===this._pageIndex&&i[n].key.pageIndex!==this._pageIndex&&s(i[n]);return e},processDataItem:function(e){var t=this,n=e.data.__DX_INSERT_INDEX__,i=n?e.data.key:e.key,r=t.getEditMode();if("batch"===r&&n&&i){var o=(0,s.getIndexByKey)(i,t._editData);if(o>=0){var a=t._editData[o];"insert"!==a.type&&(e.data=(0,u.extend)(!0,{},a.oldData,a.data),e.key=i)}}t.callBase.apply(t,arguments)},_getInvisibleColumns:function(e){var t,n=this,i=this.getController("columns"),r=i.getInvisibleColumns();return this.isCellOrBatchEditMode()&&(t=e.some((function(e){return n._dataController.getRowIndexByKey(e.key)<0}))),t?i.getColumns():r},_createInvisibleColumnValidators:function(e){var t,n=this.getController("validating"),i=this.getController("columns"),r=this._getInvisibleColumns(e).filter((function(e){return!e.isBand})),o=i.getGroupColumns().filter((function(e){return!e.showWhenGrouped&&-1===r.indexOf(e)})),a=[];return r.push.apply(r,function(e){if(Array.isArray(e))return x(e)}(t=o)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return x(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,void 0):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),-1===S.indexOf(this.getEditMode())&&(0,l.each)(r,(function(t,i){e.forEach((function(e){var t;if("insert"===e.type?t=e.data:"update"===e.type&&(t=(0,s.createObjectWithChanges)(e.oldData,e.data)),t){var r=n.createValidator({column:i,key:e.key,value:i.calculateCellValue(t)});r&&a.push(r)}}))})),function(){a.forEach((function(e){e._dispose()}))}},_beforeSaveEditData:function(e,t){var n=this,i=this.callBase.apply(this,arguments),r=this.getController("validating");if(e){var o="remove"===e.type||e.isValid;i=i||!o}else{var s=this._createInvisibleColumnValidators(this._editData);i=new w.Deferred,r.validate(!0).done((function(e){switch(s(),n._updateRowAndPageIndices(),n.getEditMode()){case"cell":e||n._focusEditingCell();break;case"batch":e||(n._editRowIndex=-1,n._editColumnIndex=-1,n.getController("data").updateItems())}i.resolve(!e)}))}return i.promise?i.promise():i},_beforeEditCell:function(e,t,n){var i=this.callBase(e,t,n),r=this._rowsView._getCellElement(e,t),o=r&&r.data("dxValidator"),s=o&&o.option("adapter").getValue();if("cell"===this.getEditMode(this)&&(!o||void 0!==s&&o.validate().isValid))return i},_afterSaveEditData:function(){var e,t=this;if((0,l.each)(t._editData,(function(n,i){var r=t._showErrorRow(i);e=e||r})),e){var n=this._rowsView.getScrollable();n&&(n.update(),n.scrollToElement(e))}},_showErrorRow:function(e){var t,n=this.getController("errorHandling"),i=this.getController("data").items(),r=this.getIndexByKey(e.key,i);if(!e.isValid&&e.errorText&&r>=0)return t=this.getPopupContent(),n&&n.renderErrorRow(e.errorText,r,t)},updateFieldValue:function(e){var t=this,n=t.getEditMode();if(t.callBase.apply(t,arguments),"row"===n||"batch"===n&&e.column.showEditorAlways){var i=t.getController("validating").getValidator();i&&i.validate()}},showHighlighting:function(e,t){var n=this,i=!0,r=this.callBase;if(!t){var o=e.data("dxValidator");if(o){var s=o.validate();return void(0,w.when)(s.complete||s).done((function(t){(i=t.isValid)&&r.call(n,e)}))}}i&&r.call(this,e)},getEditDataByKey:function(e){return this._editData[(0,s.getIndexByKey)(e,this._editData)]}},editorFactory:{_showRevertButton:function(e,t){var n=this;if(t&&t.length){var r=(0,i.default)("<div>").addClass(this.addWidgetPrefix("revert-tooltip")).appendTo(e),o={animation:null,visible:!0,target:t,container:e,closeOnOutsideClick:!1,closeOnTargetScroll:!1,contentTemplate:function(){var e=(0,i.default)("<div>").addClass("dx-revert-button"),t={icon:"revert",hint:n.option("editing.texts.validationCancelChanges"),onClick:function(){n._editingController.cancelEditData()}};return new p.default(e,t).$element()},position:{my:"left top",at:"right top",of:t,offset:"1 0",collision:"flip",boundary:this._rowsView.element
1()},onPositioned:this._positionedHandler.bind(this)};return new _.default(r,o)}},_hideFixedGroupCell:function(e,t){var n,r,o=this._rowsView.isFixedColumns(),s=this._editingController.isFormEditMode();if(o&&!s){var a=e.closest(".dx-row").next().data("options");a&&"group"===a.rowType&&(n=(0,i.default)(this._rowsView.getRowElement(a.rowIndex)).last(),(r=n.find(".dx-group-cell")).length&&"hidden"!==r.get(0).style.visibility&&(r.css("visibility","hidden"),t.onDisposing=function(){r.css("visibility","")}))}},_positionedHandler:function(e,t){if(!e.component.__skipPositionProcessing){var n=(0,i.default)(e.element).hasClass(this.addWidgetPrefix("revert-tooltip")),r=!n&&this._rowsView.updateFreeSpaceRowHeight(),o=this._normalizeValidationMessagePositionAndMaxWidth(e,n,t);e.component.__skipPositionProcessing=!(!r&&!o),o?e.component.option(o):r&&e.component.repaint()}},_showValidationMessage:function(e,t,n,r){var o=this,s=e.find(".dx-highlight-outline"),a=v.default.isMaterial(),l=s.length&&!a?s:e,c=e.find(".dx-dropdowneditor-overlay").data("dxPopup"),u=c&&c.option("visible"),d=u?"top right":"top "+n,h=u?"top left":"bottom "+n,p=(0,i.default)("<div>").addClass("dx-invalid-message").addClass("dx-invalid-message-always").addClass(this.addWidgetPrefix("invalid-message")).text(t).appendTo(e),f={target:l,container:e,shading:!1,width:"auto",height:"auto",visible:!0,animation:!1,propagateOutsideClick:!0,closeOnOutsideClick:!1,closeOnTargetScroll:!1,position:{collision:"flip",boundary:this._rowsView.element(),boundaryOffset:"0 0",my:d,at:h},onPositioned:function(t){o._positionedHandler(t,u),o._shiftValidationMessageIfNeed(t.component.$content(),r&&r.$content(),e)}};this._hideFixedGroupCell(e,f),new b.default(p,f)},_normalizeValidationMessagePositionAndMaxWidth:function(e,t,n){var r=this._columnsController.getFixedColumns();if(r&&r.length){var o,s,a,l=!t&&(s=(0,i.default)(e.element).closest("tr").index(),a=(0,i.default)(this._rowsView.getRowElement(s)).first().children().filter(":not(.dx-hidden-cell)"),this._rowsView._getWidths(a).reduce((function(e,t){return e+t}),0)),c=(t?e.component.overlayContent():e.component.$content()).outerWidth(!0),u=!t&&c>l,d=this._rowsView.getCellIndex((0,i.default)(e.element).closest("td")),h=function(e){var t,n;return e.some((function(i,r){if("transparent"===i.command)return t=0===r?-1:r,n=r===e.length-1?-1:r+i.colspan-1,!0})),{startColumnIndex:t,endColumnIndex:n}}(r);return t||d!==h.startColumnIndex&&!u?d===h.endColumnIndex&&(o={collision:"none flip",my:"top right",at:t||n?"top left":"bottom right"},t&&(o.offset="-1 0")):o={collision:"none flip",my:"top left",at:n?"top right":"bottom left"},o&&{position:o,maxWidth:u?l-2:void 0}}},_shiftValidationMessageIfNeed:function(e,t,n){if(t){var i=e.offset(),r=t.offset();if(i.top===r.top&&i.left+e.width()>r.left){var o=t.width()+2;e.css("left",r.left<n.offset().left?-o:o)}}},_getTooltipsSelector:function(){var e=this.addWidgetPrefix("invalid-message");return".dx-editor-cell ."+this.addWidgetPrefix("revert-tooltip")+", .dx-editor-cell ."+e+", .dx-cell-modified ."+e},init:function(){this.callBase(),this._editingController=this.getController("editing"),this._columnsController=this.getController("columns"),this._rowsView=this.getView("rowsView")},loseFocus:function(e){e||this.getController("validating").setValidator(null),this.callBase()},focus:function(e,t){var n,i,r=this,o=e&&e.closest(r._getFocusCellSelector()),s=o&&(o.data("dxValidator")||e.find("."+r.addWidgetPrefix("validator")).eq(0).data("dxValidator")),a=o&&o.closest(".dx-row").data("options"),l=a?r.getController("editing").getEditDataByKey(a.key):null,c=o&&o.closest("."+r.addWidgetPrefix("rowsview")).find(r._getTooltipsSelector()),u=o&&o.is("td")?o:null,d=!1,h=u&&r.getController("columns").getVisibleColumns()[u.index()];return arguments.length?(c&&c.remove(),s&&(r.getController("validating").setValidator(s),void 0!==s.option("adapter").getValue()&&((n=s.validate()).isValid||(t=!0,d=!0))),(n&&!n.isValid||l&&"update"===l.type&&!r._editingController.isSaving())&&"cell"===r._editingController.getEditMode()&&(i=r._showRevertButton(o,u?o.find(".dx-highlight-outline").first():o)),d&&u&&h&&n.broken
1Rule.message&&r._showValidationMessage(o,n.brokenRule.message,h.alignment||"left",i),!t&&r._rowsView.element()&&r._rowsView.updateFreeSpaceRowHeight(),r.callBase(e,t)):r.callBase()}}},views:{rowsView:{updateFreeSpaceRowHeight:function(e){var t,n,i,r=this.element(),o=r&&r.find("."+this.addWidgetPrefix("invalid-message")+" .dx-overlay-content");if(this.callBase(e),o&&o.length&&(t=this._getRowElements(),(n=(i=this._getFreeSpaceRowElements(e)).first())&&1===t.length&&(!n.is(":visible")||o.outerHeight()>n.outerHeight())))return i.show(),i.height(o.outerHeight()),!0},_formItemPrepared:function(e,t){var n=this;this.callBase.apply(this,arguments),(0,a.deferUpdate)((function(){var i=t.find(".dx-widget").first();i.length&&!i.children().length||n.getController("validating").createValidator(e,i)}))},_cellPrepared:function(e,t){this.getController("editing").isFormEditMode()||this.getController("validating").createValidator(t,e),this.callBase.apply(this,arguments)}}}}}},l5ep:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},l6YY:function(e,t,n){"use strict";var i=n("1LL4");function r(e,t,n,i,o,s){s=s||[],(i=i||[])[n=n||0]=i[n]||0;var a=e[n],l=0;if(a){for(var c=s[n]+1||0;c<a.length;c++){var u=a[c],d=c+i[n],h=u.colspan||1;if(r(e,t,n+(u.rowspan||1),i,h,s),i[n]+=h-1,l+=h,u.rowspan)for(var p=n+1;p<n+u.rowspan;p++)i[p]=i[p]||0,i[p]+=u.colspan||1;if(!1===t(u,d,n,c))break;if(void 0!==o&&l>=o)break}s[n]=c}}t.foreachColumnInfo=r,t.createColumnsInfo=function(e,t,n){var o=[];r(e,(function(e,r,s){var a,l=e,c=l.colspan||1,u=r+c-1>=t&&r<n;if(o[s]=o[s]||[],u)r<t?(a=c-(t-r),r=t):a=c,r+a>n&&(a=n-r),a!==c&&(l=(0,i.extend)({},l,{colspan:a})),o[s].push(l);else if(r>n)return!1}));for(var s=0;s<o.length;s++)o[s]=o[s]||[];return o}},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");class r extends i.a{notifyNext(e,t,n,i,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},l9EA:function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("KAnu").noop,s=n("5qrJ"),a=n("dYUP"),l=s.abstract,c=s.inherit({ctor:function(e){this.dateBox=e},widgetOption:function(){return this._widget&&this._widget.option.apply(this._widget,arguments)},_renderWidget:function(e){e=e||i("<div>"),this._widget=this._createWidget(e),this._widget.$element().appendTo(this._getWidgetContainer())},_createWidget:function(e){var t=this._getWidgetName(),n=this._getWidgetOptions();return this.dateBox._createComponent(e,t,n)},_getWidgetOptions:l,_getWidgetName:l,getDefaultOptions:function(){return{mode:"text"}},getDisplayFormat:l,supportedKeys:o,customizeButtons:o,attachKeyboardEvents:function(e){this._widgetKeyboardProcessor=e.attachChildProcessor()},getParsedText:function(e,t){return a.parse(e,t)||a.parse(e)},renderInputMinMax:o,renderOpenedState:function(){this._updateValue()},popupConfig:l,renderPopupContent:function(){var e=this._getPopup();this._renderWidget();var t=e.$content().parent();r.off(t,"mousedown"),r.on(t,"mousedown",this._preventFocusOnPopup.bind(this))},getFirstPopupElement:o,getLastPopupElement:o,_preventFocusOnPopup:function(e){e.preventDefault()},_getWidgetContainer:function(){return this._getPopup().$content()},_getPopup:function(){return this.dateBox._popup}
1,popupShowingHandler:o,popupHiddenHandler:o,_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue())},useCurrentDateByDefault:o,getDefaultDate:function(){return new Date},textChangedHandler:o,renderValue:function(){this.dateBox.option("opened")&&this._updateValue()},getValue:function(){return this._widget.option("value")},isAdaptivityChanged:function(){return!1},dispose:function(){var e=this._getPopup();e&&e.$content().empty()},dateBoxValue:function(){return arguments.length?this.dateBox.dateValue.apply(this.dateBox,arguments):this.dateBox.dateOption.apply(this.dateBox,["value"])}});e.exports=c},lBBa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChildDefaultTemplate=void 0;var i=n("PfKZ");function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.ChildDefaultTemplate=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(r,e);var t,n,i=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,i=a(t);if(n){var r=a(this).constructor;e=Reflect.construct(i,arguments,r)}else e=i.apply(this,arguments);return s(this,e)});function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=i.call(this)).name=e,t}return r}(i.TemplateBase)},lGAf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionManager=void 0;var i=l(n("yxXJ")),r=n("sNoF"),o=l(n("ti0F")),s=n("KAnu"),a=n("1LL4");function l(e){return e&&e.__esModule?e:{default:e}}var c={},u={};t.OptionManager=function(){function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._options=t,this._optionsByReference=n,this._deprecatedOptions=i,this._cachedDeprecateNames=[]}var t;return(t=[{key:"_notifyDeprecated",value:function(e){var t=this._deprecatedOptions[e];t&&this._deprecatedCallback(e,t)}},{key:"_clearField",value:function(e,t){delete e[t];var n=this._getParentName(t),i=n?this._getValue(e,n,!1):e;i&&delete i[this._getFieldName(t)]}},{key:"_getParentName",value:function(e){return e.substr(0,e.lastIndexOf("."))}},{key:"_getFieldName",value:function(e){return e.substr(e.lastIndexOf(".")+1)}},{key:"_setField",value:function(e,t,n){var i,r="";do{r&&(r="."+r),r=this._getFieldName(t)+r,i=(t=this._getParentName(t))?this._getValue(e,t,!1):e}while(!i);i[r]=n}},{key:"_setValue",value:function(e,t,n){u[e]||(u[e]=i.default.compileSetter(e));var r=e.split(/[.[]/);n=o.default.isDefined(n)?n:!this._optionsByReference[e],u[e](this._options,t,{functionsAsIs:!0,merge:n,unwrapObservables:r.length>1&&!!this._optionsByReference[r[0]]})}},{key:"_setPreparedValue",value:function(e,t,n){var i=this._getValue(this._options,e,!1);(0,r.equals)(i,t)||(this._changingCallback(e,i,t),this._setValue(e,t,n),this._changedCallback(e,t,i))}},{key:"_setRelevantNames",value:function(e,t,n){if(t){var i=this._normalizeName(t);i&&i!==t&&(this._setField(e,i,n),this._clearField(e,t))}}},{key:"_normalizeName",value:function(e){if(e){if(!this._cachedDeprecateNames.length)for(var t in this._deprecatedOptions)this._cachedDeprecateNames.push(t);for(var n=0;n<this._cachedDeprecateNames.length;n++)if(this._cachedDeprecateNames[n]===e){var i=this._deprecatedOptions[e];if(i)return this._notifyDeprecated(e),i.alias||e}return e}}},{key:"_prepareRelevantNames",value:function(e,t,n){if(o.default.isPlainObject(n))for(var i in n)this._prepareRelevantNames(e,t+"."+i,n[i]);
1this._setRelevantNames(e,t,n)}},{key:"_getValue",value:function(e,t,n){var r=c[t];return r||(r=c[t]=i.default.compileGetter(t)),r(e,{functionsAsIs:!0,unwrapObservables:n})}},{key:"onChanging",value:function(e){this._changingCallback=e}},{key:"onChanged",value:function(e){this._changedCallback=e}},{key:"onDeprecated",value:function(e){this._deprecatedCallback=e}},{key:"setValueByReference",value:function(e,t){for(var n in(0,a.extend)(!0,e,t),this._optionsByReference)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}},{key:"getValue",value:function(e){return this._getValue(this._options,this._normalizeName(e))}},{key:"setValue",value:function(e,t){for(var n in e)this._prepareRelevantNames(e,n,e[n]);for(var i in e)this._setPreparedValue(i,e[i],t)}},{key:"getValueSilently",value:function(e){return this._options[e]}},{key:"setValueSilently",value:function(e){this.setValueByReference(this._options,e)}},{key:"dispose",value:function(){this._changingCallback=s.noop,this._changedCallback=s.noop,this._deprecatedCallback=s.noop}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}()},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}class o{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}class s extends i.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lPfS:function(e,t,n){"use strict";var i=n("D6VQ"),r=n("k9kE");i("dxDateBox",r),e.exports=r},lUod:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return u}));var i=n("fXoL");class r{constructor(e,t){this.open=e,this.close=t||e}isManual(){return"manual"===this.open||"manual"===this.close}}const o={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function s(e,t=o){const n=(e||"").trim();if(0===n.length)return[];const i=n.split(/\s+/).map(e=>e.split(":")).map(e=>{const n=t[e[0]]||e;return new r(n[0],n[1])}),s=i.filter(e=>e.isManual());if(s.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===s.length&&i.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return i}function a(e,t){const n=s(t.triggers),i=t.target;if(1===n.length&&n[0].isManual())return Function.prototype;const r=[],o=[],a=()=>{o.forEach(e=>r.push(e())),o.length=0};return n.forEach(n=>{const s=n.open===n.close,l=s?t.toggle:t.show;s||o.push(()=>e.listen(i,n.close,t.hide)),r.push(e.listen(i,n.open,()=>l(a)))}),()=>{r.forEach(e=>e())}}function l(e,t){return t.outsideClick?e.listen("document","click",e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some(t=>t.contains(e.target))||t.hide()}):Function.prototype}function c(e,t){return t.outsideEsc?e.listen("document","keyup.esc",e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some(t=>t.contains(e.target))||t.hide()}):Function.prototype}const u="undefined"!=typeof window&&window||{},d=u.document;let h;function p(){return void 0===u||(void 0===u.__theme?(h||(h=function(){if("undefined"==typeof document)return null;const e=document.createElement("span");e.innerText="test bs version",document.body.appendChild(e),e.classList.add("d-none");const t=e.getBoundingClientRect();return document.body.removeChild(e),t&&0===t.top?"bs4":"bs3"}()),"bs3"===h):"bs4"!==u.__theme)}function f(e){return function(e,t){const n=` __${t}Value`;Object.defineProperty(e,t,{get(){return this[n]},set(e){const i=this[n];this[n]=e,i!==e&&this[t+"Change"]&&this[t+"Change"].emit(e)}})}}class m{static reflow(e){}static getStyles(e){let t=e.ownerDocument.defaultView;return t&&t.opener||(t=u),t.getComputedStyle(e)}}const g={},_="undefined"==typeof console||!("warn"in console);function b(e){!Object(i.T)()||_||e in g||(g[e]=!0,console.warn(e))}},lXzo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u
1043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u
10445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n("wd/R"))},ldOY:function(e,t,n){"use strict";var i=n("FKN7"),r=n("cYys"),o=n("YQNt"),s=n("Ovs1"),a=n("XWCB"),l=n("zl3R").each,c=n("uHaw"),u=n("tJvG").Deferred,d=s.inherit({_init:function(e){this.callBase(e),this._$topPocket=e._$topPocket,this._$pullDown=e._$pullDown,this._$bottomPocket=e._$bottomPocket,this._$refreshingText=e._$refreshingText,this._$scrollViewContent=i(e.content()),this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=r(),this.releaseCallbacks=r(),this.reachBottomCallbacks=r()},render:function(){this.callBase(),this._renderPullDown(),this._releaseState()},_renderPullDown:function(){var e=i("<div>").addClass("dx-scrollview-pull-down-image"),t=i("<div>").addClass("dx-scrollview-pull-down-indicator"),n=new a(i("<div>")).$element(),r=this._$pullDownText=i("<div>").addClass("dx-scrollview-pull-down-text");this._$pullingDownText=i("<div>").text(this.option("pullingDownText")).appendTo(r),this._$pulledDownText=i("<div>").text(this.option("pulledDownText")).appendTo(r),this._$refreshingText=i("<div>").text(this.option("refreshingText")).appendTo(r),this._$pullDown.empty().append(e).append(t.append(n)).append(r)},_releaseState:function(){this._state=0,this._refreshPullDownText()},_pushBackFromBoundary:function(){this._isLocked()||this._component.isEmpty()||this.callBase()},_refreshPullDownText:function(){var e=this;l([{element:this._$pullingDownText,visibleState:0},{element:this._$pulledDownText,visibleState:1},{element:this._$refreshingText,visibleState:2}],(function(t,n){n.element[e._state===n.visibleState?"addClass":"removeClass"]("dx-scrollview-pull-down-text-visible")}))},update:function(){this.callBase(),this._setTopPocketOffset()},_updateDimensions:function(){this.callBase(),this._topPocketSize=this._$topPocket.height(),this._bottomPocketSize=this._$bottomPocket.height(),this._scrollOffset=c.msie?Math.round(100*(this._$container.height()-this._$content.height()))/100:this._$container.height()-this._$content.height()},_allowedDirections:function(){var e=this.callBase();return e.vertical=e.vertical||this._pullDownEnabled,e},_setTopPocketOffset:function(){this._$topPocket.css({top:-this._topPocketSize})},handleEnd:function(){this.callBase(),this._complete()},handleStop:function(){this.callBase(),this._complete()},_complete:function(){1===this._state&&(this._setPullDownOffset(this._topPocketSize),clearTimeout(this._pullDownRefreshTimeout),this._pullDownRefreshTimeout=setTimeout((function(){this._pullDownRefreshing()}).bind(this),400))},_setPullDownOffset:function(e){o.move(this._$topPocket,{top:e}),o.move(this._$scrollViewContent,{top:e})},handleScroll:function(e){if(this.callBase(e),2!==this._state){var t=this.location().top,n=(this._location||0)-t;this._location=t,this._isPullDown()?this._pullDownReady():n>0&&this._isReachBottom()?this._reachBottom():this._stateReleased()}},_isPullDown:function(){return this._pullDownEnabled&&this._location>=this._topPocketSize},_isReachBottom:function(){return this._reachBottomEnabled&&this._location-(this._scrollOffset+this._bottomPocketSize)<=.5},_reachBottom:function(){3!==this._state&&(this._state=3,this.reachBottomCallbacks.fire())},_pullDownReady:function(){1!==this._state&&(this._state=1,this._$pullDown.addClass("dx-scrollview-pull-down-ready"),this._refreshPullDownText())},_stateReleased:function(){0!==this._state&&(this._$pullDown.removeClass("dx-scrollview-pull-down-loading").removeClass("dx-scrollview-pull-down-ready"),this._releaseState())},_pullDownRefreshing:function(){2!==this._state&&(this._state=2,this._$pullDown.addClass("dx-scrollview-pull-down-loading").removeClass("dx-scrollview-pull-down-ready"),this._refreshPullDownText(),this.pullDownCallbacks.fire())},pullDownEnable:function(e){e&&(this._updateDimensions(),this._setTopPocketOffset()),this._pullDownEnabled=e},reachBottomEnable:function(e){this._reachBottomEnabled=e},pendingRelease:function(){this._state=1},release:function(){var e=new u;return this._updateDimensions(),clearTimeout(this._releaseTimeout),3===this._state&&(this._state=0),this._releaseTimeout=setTimeout((function(){this._setPullDownOffset(0),this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),e.resolve()}).bind(this),400),e.promise()},dispose:function(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),this.callBase()}});e.exports=d},lgnt:function(e,t,n){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lxHI:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("wd/R"),r=n("c0xi"),o=n("2Ji4"),s=n("fXoL"),a=n("tyNb"),l=n("5eHb"),c=n("LgUO");n("5+tZ"),n("CxY0"),n("Cfvw"),n("tk/3");const u=new s.q("JWT_OPTIONS"),d=new((()=>{let e=class{constructor(e=null){this.tokenGetter=e&&e.tokenGetter||function(){}}urlBase64Decode(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(t)}b64decode(e){let t="";if((e=String(e).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let n,i,r=0,o=0;i=e.charAt(o++);~i&&(n=r%4?64*n+i:i,r++%4)?t+=String.fromCharCode(255&n>>(-2*r&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=".indexOf(i);return t}b64DecodeUnicode(e){return decodeURIComponent(Array.prototype.map.call(this.b64decode(e),e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(e=this.tokenGetter()){if(!e||""===e)return null;const t=e.split(".");if(3!==t.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const n=this.urlBase64Decode(t[1]);if(!n)throw new Error("Cannot decode the token.");return JSON.parse(n)}getTokenExpirationDate(e=this.tokenGetter()){let t;if(t=this.decodeToken(e),!t||!t.hasOwnProperty("exp"))return null;const n=new Date(0);return n.setUTCSeconds(t.exp),n}isTokenExpired(e=this.tokenGetter(),t){if(!e||""===e)return!0;const n=this.getTokenExpirationDate(e);return t=t||0,null!==n&&!(n.valueOf()>(new Date).valueOf()+1e3*t)}getAuthScheme(e,t){return"function"==typeof e?e(t):e}};return e.\u0275fac=function(t){return new(t||e)(s.Wb(u))},e.\u0275prov=s.Hb({token:e,factory:e.\u0275fac}),e})());let h=(()=>{class e{constructor(){}getUserInfo(){return this.token=sessionStorage.getItem("token"),this.token?d.decodeToken(this.token):{}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var p=n("ewzI");let f=(()=>{class e{constructor(e){this.httpService=e}getSecurityFunctions(){this.httpService.get(o.a.securityFunctionService).subscribe(e=>{this.securityFunctions=e})}getAllowedRoles(e){var t=0,n=this.securityFunctions.filter(t=>t.functionKey===e);return 1===n.length&&(t=Number(n[0].allowedRoles)),t}}return e.\u0275fac=function(t){return new(t||e)(s.Wb(p.a))},e.\u0275prov=s.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),m=(()=>{class e{constructor(e,t,n,r,o,s,a){this.router=e,this.toastrService=t,this.oauthService=n,this.oauthStorage=r,this.userinfo=o,this.httpService=s,this.securityfunctionService=a,this.user=null,this.now=i()}startAuthentication(){return this.router.navigate(["/login"],{replaceUrl:!0})}completeAuthentication(e){return this.oauthService.loadUserProfile().then(t=>{this.user=t,console.log(this.user),"C"==this.user.UserType?(this.oauthStorage.setItem("expiresIn",e.expires_in.toString()),this.oauthStorage.setItem("userLogged",JSON.stringify(this.user)),this.oauthStorage.setItem("claims",JSON.stringify(this.oauthService.getIdentityClaims())),localStorage.setItem("userLoggedIn",JSON.stringify(this.user)),this.getUserProfile()):(this.toastrService.warning("Invalid User Name or Password"),this.logout())})}getUserProfile(){this.httpService.get(o.a.userService+"/getCustomerByUserId/"+this.user.sub).subscribe(e=>{e&&(console.log(e),localStorage.setItem("customer",JSON.stringify(e.result.data.customerName)),localStorage.setItem("email",JSON.stringify(e.result.data.email)),localStorage.setItem("phone",JSON.stringify(e.result.data.phoneNumber)),localStorage.setItem("id",JSON.stringify(e.result.data.customerId)))})}isLoggedIn(){return!!this.oauthService.hasValidAccessToken()||(this.router.navigate(["report/dashboard",{login:!0}]),!1)}getClaims(){return this.oauthService.getIdentityClaims()}getAuthorizationHeaderValue(){return this.oauthService.authorizationHeader()}logout(){this.oauthService.configure(r.a),this.oauthService.logOut(!0)}isAuthorized(e){var t=this.securityfunctionService.getAllowedRoles(e),n=Number(this.getClaims().role_value);return!!(t&&n>0)}renewToken(){return this.oauthService.refreshToken()}isSessionExpired(){const e=i.utc(this.now).unix();return!(sessionStorage.get("expires_at")>e)}}return e.\u0275fac=function(t){return new(t||e)(s.Wb(a.c),s.Wb(l.b),s.Wb(c.b),s.Wb(c.c),s.Wb(h),s.Wb(p.a),s.Wb(f))},e.\u0275prov=s.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},lyxo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u
10103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},"m+fQ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findChanges=void 0;var i=n("ti0F"),r=function(e,t){var n=t(e);if((0,i.isObject)(n))try{return JSON.stringify(n)}catch(r){return n}return n},o=function(e,t,n,i){return t[n[r(e,i)]]};t.findChanges=function(e,t,n,i){var s={},a={},l=0,c=0,u=[];e.forEach((function(e,t){var i=r(e,n);s[i]=t})),t.forEach((function(e,t){var i=r(e,n);a[i]=t}));for(var d=Math.max(e.length,t.length),h=0;h<d+l;h++){var p=t[h],f=h-l+c,m=e[f];if(!p||m&&!o(m,t,a,n))m&&(u.push({type:"remove",key:n(m),index:h,oldItem:m}),c++,h--);else{var g=r(p,n),_=s[g],b=e[_];if(b){if(_!==f)return;i(b,p)||u.push({type:"update",data:p,key:n(p),index:h,oldItem:b})}else l++,u.push({type:"insert",data:p,index:h})}}return u}},m1Bx:function(e,t,n){"use strict";e.exports=n("f6AH"),e.exports.show=n("5wU3").show,e.exports.hide=n("5wU3").hide,e.exports.default=e.exports},m6TM:function(e,t,n){"use strict";var i=n("xZEH").camelize,r=n("heGP"),o=n("ti0F"),s=n("tUd6"),a=["","Webkit","Moz","O","Ms"],l={"":"",Webkit:"-webkit-",Moz:"-moz-",O:"-o-",ms:"-ms-"},c=r((function(){return s.createElement("dx").style})),u=["fillOpacity","columnCount","flexGrow","flexShrink","fontWeight","lineHeight","opacity","zIndex","zoom"],d=function(e,t,n){if(e){n=o.isNumeric(n)?n+="px":n;for(var i=0;i<e.length;++i)e[i].style[t]=n}};t.styleProp=function(e){if(e in c())return e;var t=e;e=e.charAt(0).toUpperCase()+e.substr(1);for(var n=1;n<a.length;n++){var i=a[n].toLowerCase()+e;if(i in c())return i}return t},t.stylePropPrefix=function(e){return function(e,t){var n;e=i(e,!0);for(var r=0,o=a.length;r<o;r++){var s=a[r],l=s+e;if(void 0===(n=t(i(l),s))&&(n=t(l,s)),void 0!==n)break}return n||""}(e,(function(e,t){if(e in c())return l[t]}))},t.normalizeStyleProp=function(e,t){return o.isNumeric(t)&&-1===u.indexOf(e)&&(t+="px"),t},t.setWidth=function(e,t){d(e,"width",t)},t.setHeight=function(e,t){d(e,"height",t)}},mAus:function(e,t,n){"use strict";var i=n("FKN7"),r=n("0osO"),o=n("D6VQ"),s=n("KAnu").noop,a=n("ti0F"),l=n("z7z0").inRange,c=n("1LL4").extend,u=n("XPWh"),d=n("Lci2"),h=n("e0El"),p=n("Wku4"),f=n("Tlft"),m=n("YQNt"),g=n("uHaw"),_=n("5u+F"),b=n("3IPI"),v=n("LdFP"),y=n("hMwJ"),w=n("cGv3"),C=n("imRD"),x=n("eBB/").FunctionTemplate,S={month:3,year:2,decade:1,century:0},k=d.inherit({_activeStateUnit:".dx-calendar-cell",_getDefaultOptions:function(){return c(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,currentDate:new Date,value:null,dateSerializationFormat:void 0,min:new Date(1e3,0),max:new Date(3e3,0),firstDayOfWeek:void 0,zoomLevel:"month",maxZoomLevel:"month",minZoomLevel:"century",showTodayButton:!1,cellTemplate:"cell",disabledDates:null,onCellClick:null,onContouredChanged:null,hasFocus:function(e){return e.hasClass("dx-state-focused")}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===v.real().deviceType&&!v.isSimulator()},options:{focusStateEnabled:!0}}])},_supportedKeys:function(){return c(this.callBase(),{rightArrow:function(e){e.preventDefault(),e.ctrlKey?this._waitRenderView(1):this._moveCurrentDate(1*this._getRtlCorrection())},leftArrow:function(e){e.preventDefault(),e.ctrlKey?this._waitRenderView(-1):this._moveCurrentDate(-1*this._getRtlCorrection())},upArrow:function(e){if(e.preventDefault(),e.ctrlKey)this._navigateUp();else{if(y.isAnimating(this._view.$element()))return;this._moveCurrentDate(-1*this._view.option("colCount"))}},downArrow:function(e){if(e.preventDefault(),e.ctrlKey)this._navigateDown();else{if(y.isAnimating(this._view.$element()))return;this._moveCurrentDate(1*this._view.option("colCount"))}},home:function(e){e.preventDefault();var t=this.option("zoomLevel"),n=this.option("currentDate"),i=this._dateOption("min"),r=_.sameView(t,n,i)?i:_.getViewFirstCellDate(t,n);this._moveToClosestAvailableDate(r,1)},end:function(e){e.preventDefault();var t=this.option("zoomLevel"),n=this.option("currentDate"),i=this._dateOption("max"),r=_.sameView(t,n,i)?i:_.getViewLastCellDate(t,n);
1this._moveToClosestAvailableDate(r,-1)},pageUp:function(e){e.preventDefault(),this._waitRenderView(-1)},pageDown:function(e){e.preventDefault(),this._waitRenderView(1)},tab:s,enter:function(e){if(this._isMaxZoomLevel()){var t=this._updateTimeComponent(this.option("currentDate"));this._dateValue(t,e)}else this._navigateDown()}})},_getSerializationFormat:function(e){var t=this.option(e||"value");return this.option("dateSerializationFormat")?this.option("dateSerializationFormat"):a.isNumeric(t)?"number":a.isString(t)?b.getDateSerializationFormat(t):void 0},_convertToDate:function(e,t){return b.deserializeDate(e)},_dateValue:function(e,t){t&&this._saveValueChangeEvent(t),this._dateOption("value",e)},_dateOption:function(e,t){if(1===arguments.length)return this._convertToDate(this.option(e),e);var n=this._getSerializationFormat(e);this.option(e,b.serializeDate(t,n))},_moveCurrentDate:function(e,t){for(var n=t||new Date(this.option("currentDate")),i=this._getMaxDate(),r=this._getMinDate(),o=this.option("zoomLevel"),s=l(n,r,i),a=new Date(n),c=new Date(n),u=s,d=s,h=e||1;!e&&(u||d)||e&&u;){switch(o){case"month":a.setDate(a.getDate()+h),c.setDate(c.getDate()-h);break;case"year":a.setMonth(a.getMonth()+h),c.setMonth(c.getMonth()-h);break;case"decade":a.setFullYear(a.getFullYear()+h),c.setFullYear(c.getFullYear()-h);break;case"century":a.setFullYear(a.getFullYear()+10*h),c.setFullYear(c.getFullYear()-10*h)}if(u&&!this._view.isDateDisabled(a)){n=a;break}if(d&&!e&&!this._view.isDateDisabled(c)){n=c;break}d=l(c,r,i),u=l(a,r,i)}this.option("currentDate",n)},_moveToClosestAvailableDate:function(e,t){this._view.isDateDisabled(e)?this._moveCurrentDate(t,e):this.option("currentDate",e)},_init:function(){this.callBase(),this._correctZoomLevel(),this._initCurrentDate(),this._initActions()},_correctZoomLevel:function(){var e=this.option("minZoomLevel"),t=this.option("maxZoomLevel"),n=this.option("zoomLevel");S[t]<S[e]||(S[n]>S[t]?this.option("zoomLevel",t):S[n]<S[e]&&this.option("zoomLevel",e))},_initCurrentDate:function(){var e=this._getNormalizedDate(this._dateOption("value"))||this._getNormalizedDate(this.option("currentDate"));this.option("currentDate",e)},_getNormalizedDate:function(e){return e=_.normalizeDate(e,this._getMinDate(),this._getMaxDate()),a.isDefined(e)?new Date(e):e},_initActions:function(){this._cellClickAction=this._createActionByOption("onCellClick"),this._onContouredChanged=this._createActionByOption("onContouredChanged")},_initTemplates:function(){this.callBase(),this._defaultTemplates.cell=new x((function(e){var t=e.model;i(e.container).append(i("<span>").text(t&&t.text||String(t)))}))},_updateCurrentDate:function(e){if(y.isAnimating(this._$viewsWrapper)&&y.stop(this._$viewsWrapper,!0),this._getMinDate()>this._getMaxDate())this.option("currentDate",new Date);else{var t=this._getNormalizedDate(e);if(e.getTime()===t.getTime()){var n=this._getViewsOffset(this._view.option("date"),t);0!==n&&!this._isMaxZoomLevel()&&this._isOtherViewCellClicked&&(n=0),this._view&&0!==n&&!this._suppressNavigation?this._navigate(n,t):(this._renderNavigator(),this._setViewContoured(t),this._updateAriaId(t))}else this.option("currentDate",new Date(t))}},_setViewContoured:function(e){this.option("hasFocus")(this._focusTarget())&&this._view.option("contouredDate",e)},_getMinDate:function(){return this.min||(this.min=this._dateOption("min")||new Date(1e3,0)),this.min},_getMaxDate:function(){return this.max||(this.max=this._dateOption("max")||new Date(3e3,0)),this.max},_getViewsOffset:function(e,t){var n,i=this.option("zoomLevel");if("month"===i)return this._getMonthsOffset(e,t);switch(i){case"century":n=100;break;case"decade":n=10;break;default:n=1}return parseInt(t.getFullYear()/n)-parseInt(e.getFullYear()/n)},_getMonthsOffset:function(e,t){return 12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth())},_waitRenderView:function(e){if(!this._alreadyViewRender){this._alreadyViewRender=!0;var t=this._getDateByOffset(e*this._getRtlCorrection());this._moveToClosestAvailableDate(t,e),setTimeout((function(){this._alreadyViewRender=!1}).bind(this))}},_getRtlCorrection:function(){return this.option("rtlEnabled")?-1:1},_getDateByOffset:function(e,t){var n=(t=new Date(t||this.option("currentDate"))).getDate(),i=_.getDifferenceInMonth(this.option("zoomLevel"))*e;t.setDate(1),t.setMonth(t.getMonth()+i);var r=_.getLastMonthDate(t).getDate();return t.setDate(n>r?r:n),t},_focusTarget:function(){return this.$element()},_initMarkup:function(){this._renderSubmitElement(),this.callBase();var e=this.$element();e.addClass("dx-calendar"),this._renderBody(),e.append(this.$body),this._renderViews(),this._renderNavigator(),e.append(this._navigator.$element()),this._renderSwipeable(),this._renderFooter(),this._updateAriaSelected(),this._updateAriaId(),this._view.isDateDisabled(this.option("currentDate"))&&this._moveCurrentDate(0)}
1,_render:function(){this.callBase(),this._setViewContoured(this.option("currentDate"))},_renderBody:function(){this._$viewsWrapper||(this.$body=i("<div>").addClass("dx-calendar-body"),this._$viewsWrapper=i("<div>").addClass("dx-calendar-views-wrapper"),this.$body.append(this._$viewsWrapper))},_renderViews:function(){this.$element().addClass("dx-calendar-view-"+this.option("zoomLevel"));var e=this.option("currentDate");if(this._view=this._renderSpecificView(e),this._view.option("_keyboardProcessor",this._viewKeyboardProcessor),w.hasWindow()){var t=this._getDateByOffset(-1,e);this._beforeView=this._isViewAvailable(t)?this._renderSpecificView(t):null;var n=this._getDateByOffset(1,e);n.setDate(1),this._afterView=this._isViewAvailable(n)?this._renderSpecificView(n):null}this._translateViews()},_renderSpecificView:function(e){return new(0,f[this.option("zoomLevel")])(i("<div>").appendTo(this._$viewsWrapper),this._viewConfig(e))},_viewConfig:function(e){var t=this.option("disabledDates");return t=a.isFunction(t)?this._injectComponent(t.bind(this)):t,{date:e,min:this._getMinDate(),max:this._getMaxDate(),firstDayOfWeek:this.option("firstDayOfWeek"),value:this._dateOption("value"),rtlEnabled:this.option("rtlEnabled"),disabled:this.option("disabled"),tabIndex:void 0,focusStateEnabled:this.option("focusStateEnabled"),hoverStateEnabled:this.option("hoverStateEnabled"),disabledDates:t,onCellClick:this._cellClickHandler.bind(this),cellTemplate:this._getTemplateByOption("cellTemplate"),allowValueSelection:this._isMaxZoomLevel()}},_injectComponent:function(e){var t=this;return function(n){return c(n,{component:t}),e(n)}},_isViewAvailable:function(e){var t=this.option("zoomLevel"),n=_.getViewMinBoundaryDate(t,this._getMinDate()),i=_.getViewMaxBoundaryDate(t,this._getMaxDate());return _.dateInRange(e,n,i)},_translateViews:function(){m.move(this._view.$element(),{left:0,top:0}),this._beforeView&&m.move(this._beforeView.$element(),{left:this._getViewPosition(-1),top:0}),this._afterView&&m.move(this._afterView.$element(),{left:this._getViewPosition(1),top:0})},_getViewPosition:function(e){return 100*e*(this.option("rtlEnabled")&&!g.msie?-1:1)+"%"},_cellClickHandler:function(e){var t=this.option("zoomLevel"),n=_.getViewDown(t),i=this._isMaxZoomLevel();if(n&&!i)this._navigateDown(e.event.currentTarget);else{var r=this._updateTimeComponent(e.value);this._dateValue(r,e.event),this._cellClickAction(e)}},_updateTimeComponent:function(e){var t=new Date(e),n=this._dateOption("value");return n&&(t.setHours(n.getHours()),t.setMinutes(n.getMinutes()),t.setSeconds(n.getSeconds()),t.setMilliseconds(n.getMilliseconds())),t},_isMaxZoomLevel:function(){return this.option("zoomLevel")===this.option("maxZoomLevel")},_navigateDown:function(e){var t=this.option("zoomLevel");if(!this._isMaxZoomLevel()){var n=_.getViewDown(t);if(n){var r=this._view.option("contouredDate")||this._view.option("date");e&&(r=i(e).data("dxDateValueKey")),this._isOtherViewCellClicked=!0,this.option("currentDate",r),this.option("zoomLevel",n),this._isOtherViewCellClicked=!1,this._renderNavigator(),this._animateShowView(),this._setViewContoured(this._getNormalizedDate(r))}}},_renderNavigator:function(){this._navigator||(this._navigator=new p(i("<div>"),this._navigatorConfig())),this._navigator.option("text",this._view.getNavigatorCaption()),this._updateButtonsVisibility()},_navigatorConfig:function(){return{text:this._view.getNavigatorCaption(),onClick:this._navigatorClickHandler.bind(this),onCaptionClick:this._navigateUp.bind(this),rtlEnabled:this.option("rtlEnabled")}},_navigatorClickHandler:function(e){var t=this._getDateByOffset(e.direction,this.option("currentDate"));this._moveToClosestAvailableDate(t,1*e.direction),this._updateNavigatorCaption(-e.direction*this._getRtlCorrection())},_navigateUp:function(){var e=this.option("zoomLevel"),t=_.getViewUp(e);if(t&&!this._isMinZoomLevel(e)){var n=this._view.option("contouredDate");this.option("zoomLevel",t),this.option("currentDate",n||this._view.option("date")),this._renderNavigator(),this._animateShowView().done((function(){this._setViewContoured(n)}).bind(this))}},_isMinZoomLevel:function(e){var t=this._getMinDate(),n=this._getMaxDate();
1return _.sameView(e,t,n)||this.option("minZoomLevel")===e},_updateButtonsVisibility:function(){this._navigator.toggleButton("next",!a.isDefined(this._getRequiredView("next"))),this._navigator.toggleButton("prev",!a.isDefined(this._getRequiredView("prev")))},_renderSwipeable:function(){this._swipeable||(this._swipeable=this._createComponent(this.$element(),h,{onStart:this._swipeStartHandler.bind(this),onUpdated:this._swipeUpdateHandler.bind(this),onEnd:this._swipeEndHandler.bind(this),itemSizeFunc:this._viewWidth.bind(this)}))},_swipeStartHandler:function(e){y.stop(this._$viewsWrapper,!0),e.event.maxLeftOffset=this._getRequiredView("next")?1:0,e.event.maxRightOffset=this._getRequiredView("prev")?1:0},_getRequiredView:function(e){var t,n=this.option("rtlEnabled");return"next"===e?t=n?this._beforeView:this._afterView:"prev"===e&&(t=n?this._afterView:this._beforeView),t},_swipeUpdateHandler:function(e){var t=e.event.offset;m.move(this._$viewsWrapper,{left:t*this._viewWidth(),top:0}),this._updateNavigatorCaption(t)},_swipeEndHandler:function(e){var t=e.event.targetOffset,n=t?t/Math.abs(t):0;if(0!==n){var i=this._getDateByOffset(-n*this._getRtlCorrection());this._isDateInInvalidRange(i)&&(i=n>=0?new Date(this._getMinDate()):new Date(this._getMaxDate())),this.option("currentDate",i)}else this._animateWrapper(0,250)},_viewWidth:function(){return this._viewWidthValue||(this._viewWidthValue=this.$element().width()),this._viewWidthValue},_updateNavigatorCaption:function(e){e*=this._getRtlCorrection();var t=this._view;e>.5&&this._beforeView?t=this._beforeView:e<-.5&&this._afterView&&(t=this._afterView),this._navigator.option("text",t.getNavigatorCaption())},_isDateInInvalidRange:function(e){if(!this._view.isBoundary(e)){var t=this._getMinDate(),n=this._getMaxDate(),i=_.normalizeDate(e,t,n);return i===t||i===n}},_renderFooter:function(){var e=this.option("showTodayButton");if(e){var t=this._createComponent(i("<a>"),u,{focusStateEnabled:!1,text:C.format("dxCalendar-todayButtonText"),onClick:(function(){this._toTodayView()}).bind(this),integrationOptions:{}}).$element().addClass("dx-calendar-today-button");this._$footer=i("<div>").addClass("dx-calendar-footer").append(t),this.$element().append(this._$footer)}this.$element().toggleClass("dx-calendar-with-footer",e)},_renderSubmitElement:function(){this._$submitElement=i("<input>").attr("type","hidden").appendTo(this.$element()),this._setSubmitValue(this.option("value"))},_setSubmitValue:function(e){var t=this._convertToDate(e);this._getSubmitElement().val(b.serializeDate(t,"yyyy-MM-dd"))},_getSubmitElement:function(){return this._$submitElement},_animateShowView:function(){return y.stop(this._view.$element(),!0),this._popAnimationView(this._view,.6,1,250).promise()},_popAnimationView:function(e,t,n,i){return y.animate(e.$element(),{type:"pop",from:{scale:t,opacity:t},to:{scale:n,opacity:n},duration:i})},_navigate:function(e,t){if(0!==e&&1!==Math.abs(e)&&this._isViewAvailable(t)){var n=this._renderSpecificView(t);e>0?(this._afterView&&this._afterView.$element().remove(),this._afterView=n):(this._beforeView&&this._beforeView.$element().remove(),this._beforeView=n),this._translateViews()}var i=-this._getRtlCorrection()*(e>0?1:e<0?-1:0)*this._viewWidth();this._$viewsWrapper.position().left!==i&&(this._preventViewChangeAnimation?this._wrapperAnimationEndHandler(e,t):this._animateWrapper(i,250).done(this._wrapperAnimationEndHandler.bind(this,e,t)))},_animateWrapper:function(e,t){return y.animate(this._$viewsWrapper,{type:"slide",from:{left:this._$viewsWrapper.position().left},to:{left:e},duration:t})},_toTodayView:function(){var e=new Date;this._isMaxZoomLevel()?this._dateOption("value",e):(this._preventViewChangeAnimation=!0,this.option("zoomLevel",this.option("maxZoomLevel")),this._dateOption("value",e),this._animateShowView(),this._preventViewChangeAnimation=!1)},_wrapperAnimationEndHandler:function(e,t){this._rearrangeViews(e),this._translateViews(),this._resetLocation(),this._renderNavigator(),this._setViewContoured(t),this._updateAriaId(t)},_rearrangeViews:function(e){var t,n,i;if(0!==e&&(e<0?(t=1,n="_beforeView",i="_afterView"):(t=-1,n="_afterView",i="_beforeView"),this[n])){var r=this[n].option("date");this[i]&&this[i].$element().remove(),e===t?this[i]=this._view:(this[i]=this._renderSpecificView(this._getDateByOffset(t,r)),this._view.$element().remove()),this._view=this[n];var o=this._getDateByOffset(-t,r);this[n]=this._isViewAvailable(o)?this._renderSpecificView(o):null}}
1,_resetLocation:function(){m.move(this._$viewsWrapper,{left:0,top:0})},_clean:function(){this.callBase(),this._clearViewWidthCache(),delete this._$viewsWrapper,delete this._navigator,delete this._$footer},_clearViewWidthCache:function(){delete this._viewWidthValue},_disposeViews:function(){this._view.$element().remove(),this._beforeView&&this._beforeView.$element().remove(),this._afterView&&this._afterView.$element().remove(),delete this._view,delete this._beforeView,delete this._afterView},_refreshViews:function(){this._disposeViews(),this._renderViews()},_visibilityChanged:function(){this._translateViews()},_focusInHandler:function(){this.callBase.apply(this,arguments),this._view.option("contouredDate",this.option("currentDate"))},_focusOutHandler:function(){this.callBase.apply(this,arguments),this._view.option("contouredDate",null)},_updateViewsValue:function(e){var t=e?new Date(e):null;this._view.option("value",t),this._beforeView&&this._beforeView.option("value",t),this._afterView&&this._afterView.option("value",t)},_updateAriaSelected:function(e,t){e=e||this._dateOption("value");var n=this._view._getCellByDate(t),i=this._view._getCellByDate(e);this.setAria("selected",void 0,n),this.setAria("selected",!0,i),e&&this.option("currentDate").getTime()===e.getTime()&&this._updateAriaId(e)},_updateAriaId:function(e){e=e||this.option("currentDate");var t="dx-"+new r,n=this._view._getCellByDate(e);this.setAria("id",t,n),this.setAria("activedescendant",t),this._onContouredChanged(t)},_suppressingNavigation:function(e,t){this._suppressNavigation=!0,e.apply(this,t),delete this._suppressNavigation},_optionChanged:function(e){var t=e.value,n=e.previousValue;switch(e.name){case"width":this.callBase(e),this._clearViewWidthCache();break;case"min":case"max":this.min=void 0,this.max=void 0,this._suppressingNavigation(this._updateCurrentDate,[this.option("currentDate")]),this._refreshViews(),this._renderNavigator();break;case"firstDayOfWeek":this._refreshViews(),this._updateButtonsVisibility();break;case"currentDate":this.setAria("id",void 0,this._view._getCellByDate(n)),this._updateCurrentDate(t);break;case"zoomLevel":this.$element().removeClass("dx-calendar-view-"+n),this._correctZoomLevel(),this._refreshViews(),this._renderNavigator(),this._updateAriaId();break;case"minZoomLevel":case"maxZoomLevel":this._correctZoomLevel(),this._updateButtonsVisibility();break;case"value":t=this._convertToDate(t),n=this._convertToDate(n),this._updateAriaSelected(t,n),this.option("currentDate",a.isDefined(t)?new Date(t):new Date),this._updateViewsValue(t),this._setSubmitValue(t),this.callBase(e);break;case"disabled":this._view.option("disabled",t),this.callBase(e);break;case"onCellClick":this._view.option("onCellClick",t);break;case"onContouredChanged":this._onContouredChanged=this._createActionByOption("onContouredChanged");break;case"disabledDates":case"dateSerializationFormat":case"cellTemplate":case"showTodayButton":this._invalidate();break;case"hasFocus":break;default:this.callBase(e)}}});o("dxCalendar",k),e.exports=k},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n("SpAZ");function r(...e){return o(e)}function o(e){return 0===e.length?i.a:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},"mP+d":function(e,t,n){"use strict";var i=n("5qrJ"),r=n("1LL4").extend,o=n("XpgS").inArray,s=n("ti0F"),a=n("KAnu").noop,l=s.isFunction,c=i.inherit({ctor:function(e){this._value=" ",r(this,e)},next:function(e){if(!arguments.length)return this._next;this._next=e},text:a,value:a,rawValue:a,handle:a,_prepareHandlingArgs:function(e,t){t=t||{};var n=Object.prototype.hasOwnProperty.call(e,"value")?"value":"text";return e[n]=s.isDefined(t.str)?t.str:e[n],e.start=s.isDefined(t.start)?t.start:e.start,e.length=s.isDefined(t.length)?t.length:e.length,e.index=e.index+1,e},reset:a,clear:a,first:function(e){return e=e||0,this.next().first(e+1)},isAccepted:function(){return!1},adjustedCaret:function(e,t,n){return t?this._adjustedForward(e,0,n):this._adjustedBackward(e,0,n)},_adjustedForward:a,_adjustedBackward:a,isValid:a}),u=c.inherit({next:a,handle:function(){return 0},text:function(){return""},value:function(){return""},first:function(){return 0},rawValue:function(){return""},adjustedCaret:function(){return 0},isValid:function(){return!0}}),d=c.inherit({text:function(){return(" "!==this._value?this._value:this.maskChar)+this.next().text()}
1,value:function(){return this._value+this.next().value()},rawValue:function(){return this._value+this.next().rawValue()},handle:function(e){var t=Object.prototype.hasOwnProperty.call(e,"value")?e.value:e.text;if(!t||!t.length||!e.length)return 0;if(e.start)return this.next().handle(this._prepareHandlingArgs(e,{start:e.start-1}));var n=t[0],i=t.substring(1);return this._tryAcceptChar(n,e),this._accepted()?this.next().handle(this._prepareHandlingArgs(e,{str:i,length:e.length-1}))+1:this.handle(this._prepareHandlingArgs(e,{str:i,length:e.length-1}))},clear:function(e){this._tryAcceptChar(" ",e),this.next().clear(this._prepareHandlingArgs(e))},reset:function(){this._accepted(!1),this.next().reset()},_tryAcceptChar:function(e,t){if(this._accepted(!1),this._isAllowed(e,t)){var n=" "===e?this.maskChar:e;t.fullText=t.fullText.substring(0,t.index)+n+t.fullText.substring(t.index+1),this._accepted(!0),this._value=e}},_accepted:function(e){if(!arguments.length)return!!this._isAccepted;this._isAccepted=!!e},first:function(e){return" "===this._value?e||0:this.callBase(e)},_isAllowed:function(e,t){return" "===e||this._isValid(e,t)},_isValid:function(e,t){var n=this.allowedChars;return n instanceof RegExp?n.test(e):l(n)?n(e,t.index,t.fullText):Array.isArray(n)?o(e,n)>-1:n===e},isAccepted:function(e){return 0===e?this._accepted():this.next().isAccepted(e-1)},_adjustedForward:function(e,t,n){return t>=e?t:this.next()._adjustedForward(e,t+1,n)||t+1},_adjustedBackward:function(e,t){return t>=e-1?e:this.next()._adjustedBackward(e,t+1)||t+1},isValid:function(e){return this._isValid(this._value,e)&&this.next().isValid(this._prepareHandlingArgs(e))}}),h=d.inherit({value:function(){return this.next().value()},handle:function(e){var t=Object.prototype.hasOwnProperty.call(e,"value"),n=t?e.value:e.text;if(!n.length||!e.length)return 0;if(e.start||t)return this.next().handle(this._prepareHandlingArgs(e,{start:e.start&&e.start-1}));var i=n[0],r=n.substring(1);this._tryAcceptChar(i);var o=this._isAllowed(i)?this._prepareHandlingArgs(e,{str:r,length:e.length-1}):e;return this.next().handle(o)+1},clear:function(e){this._accepted(!1),this.next().clear(this._prepareHandlingArgs(e))},_tryAcceptChar:function(e){this._accepted(this._isValid(e))},_isValid:function(e){return e===this.maskChar},first:function(e){return e=e||0,this.next().first(e+1)},_adjustedForward:function(e,t,n){return t>=e&&n===this.maskChar?t:e===t+1&&this._accepted()?e:this.next()._adjustedForward(e,t+1,n)},_adjustedBackward:function(e,t){return t>=e-1?0:this.next()._adjustedBackward(e,t+1)},isValid:function(e){return this.next().isValid(this._prepareHandlingArgs(e))}});e.exports.MaskRule=d,e.exports.StubMaskRule=h,e.exports.EmptyMaskRule=u},mcV0:function(e,t,n){"use strict";var i=c(n("FKN7")),r=c(n("D6VQ")),o=c(n("TEOj")),s=c(n("HlXZ")),a=c(n("cGV2")),l=c(n("ZbT9"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(c,e);var t,n,r,o=(n=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(n);if(r){var i=m(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return f(this,e)});function c(){return d(this,c),o.apply(this,arguments)}return(t=[{key:"_getDefaultOptions",value:function(){return h(m(c.prototype),"_getDefaultOptions",this).call(this)}},{key:"_init",value:function(){h(m(c.prototype),"_init",this).call(this),a.default.addGroup(this)}},{key:"_initMarkup",value:function(){var e=this.$element();e.addClass("dx-validationgroup"),e.find(".".concat("dx-validator")).each((function(e,t){l.default.getInstance((0,i.default)(t))._initGroupRegistration()})),e.find(".".concat("dx-validationsummary")).each((function(e,t){s.default.getInstance((0,i.default)(t))._initGroupRegistration()})),h(m(c.prototype),"_initMarkup",this).call(this)}},{key:"validate",value:function(){return a.default.validateGroup(this)}},{key:"reset",value:function(){return a.default.resetGroup(this)}},{key:"_dispose",value:function(){a.default.removeGroup(this),this.$element().removeClass("dx-validationgroup"),h(m(c.prototype),"_dispose",this).call(this)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(c.prototype,t),c}(o.default);(0,r.default)("dxValidationGroup",g),e.exports=g,e.exports.default=e.exports},mdej:function(e,t,n){"use strict";e.exports=n("mAus"),e.exports.default=e.exports},mlxB:function(e,t,n){"use strict";function i(e){return e instanceof Date&&!isNaN(+e)}n.d(t,"a",(function(){return i}))},mrSG:function(e,t,n){"use strict";function i(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function r(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}
1function o(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))}n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}))},"n/pZ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ITF14=t.ITF=void 0;var i=o(n("PHz1")),r=o(n("B9+t"));function o(e){return e&&e.__esModule?e:{default:e}}t.ITF=i.default,t.ITF14=r.default},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",(function(){return i}))},nYho:function(e,t,n){(function(e){var i;!function(r){"object"==typeof global&&global;var o,s=2147483647,a=/^xn--/,l=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function p(e){throw RangeError(u[e])}function f(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function m(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+f((e=e.replace(c,".")).split("."),t).join(".")}function g(e){for(var t,n,i=[],r=0,o=e.length;r<o;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<o?56320==(64512&(n=e.charCodeAt(r++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--):i.push(t);return i}function _(e){return f(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+h(e)})).join("")}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function v(e,t,n){var i=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;i+=36)e=d(e/35);return d(i+36*e/(e+38))}function y(e){var t,n,i,r,o,a,l,c,u,h,f,m=[],g=e.length,b=0,y=128,w=72;for((n=e.lastIndexOf("-"))<0&&(n=0),i=0;i<n;++i)e.charCodeAt(i)>=128&&p("not-basic"),m.push(e.charCodeAt(i));for(r=n>0?n+1:0;r<g;){for(o=b,a=1,l=36;r>=g&&p("invalid-input"),((c=(f=e.charCodeAt(r++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||c>d((s-b)/a))&&p("overflow"),b+=c*a,!(c<(u=l<=w?1:l>=w+26?26:l-w));l+=36)a>d(s/(h=36-u))&&p("overflow"),a*=h;w=v(b-o,t=m.length+1,0==o),d(b/t)>s-y&&p("overflow"),y+=d(b/t),b%=t,m.splice(b++,0,y)}return _(m)}function w(e){var t,n,i,r,o,a,l,c,u,f,m,_,y,w,C,x=[];for(_=(e=g(e)).length,t=128,n=0,o=72,a=0;a<_;++a)(m=e[a])<128&&x.push(h(m));for(i=r=x.length,r&&x.push("-");i<_;){for(l=s,a=0;a<_;++a)(m=e[a])>=t&&m<l&&(l=m);for(l-t>d((s-n)/(y=i+1))&&p("overflow"),n+=(l-t)*y,t=l,a=0;a<_;++a)if((m=e[a])<t&&++n>s&&p("overflow"),m==t){for(c=n,u=36;!(c<(f=u<=o?1:u>=o+26?26:u-o));u+=36)x.push(h(b(f+(C=c-f)%(w=36-f),0))),c=d(C/w);x.push(h(b(c,0))),o=v(n,y,i==r),n=0,++i}++n,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:g,encode:_},decode:y,encode:w,toASCII:function(e){return m(e,(function(e){return l.test(e)?"xn--"+w(e):e}))},toUnicode:function(e){return m(e,(function(e){return a.test(e)?y(e.slice(4).toLowerCase()):e}))}},void 0===(i=(function(){return o}).call(t,n,t,e))||(e.exports=i)}()}).call(this,n("YuTi")(e))},naEX:function(e,t,n){"use strict";var i,r=n("KAnu"),o=n("ti0F"),s=n("1LL4"),a=(i=n("bQjx"))&&i.__esModule?i:{default:i},l=n("tJvG"),c=function(e){var t=e.getController("columns"),n=e.getController("selection"),i=e.getController("export"),r=e.getController("data");t&&t.columnsChanged.add((function(){e.updateState({columns:t.getUserState()})})),n&&n.selectionChanged.add((function(t){e.updateState({selectedRowKeys:t.selectedRowKeys,selectionFilter:t.selectionFilter})})),r&&(e._initialPageSize=e.option("paging.pageSize"),e._initialFilterValue=e.option("filterValue"),r.changed.add((function(){var t=function(e){var t=e.getView("pagerView"),n=e.getController("data"),i={allowedPageSizes:t?t.getPageSizes():void 0,filterPanel:{filterEnabled:e.option("filterPanel.filterEnabled")},filterValue:e.option("filterValue"),focusedRowKey:e.option("focusedRowEnabled")?e.option("focusedRowKey"):void 0};return(0,s.extend)(i,n.getUserState())}(e);e.updateState(t)}))),i&&i.selectionOnlyChanged.add((function(){e.updateState({exportSelectionOnly:i.selectionOnly()})}))};e.exports={defaultOptions:function(){return{stateStoring:{enabled:!1,storageKey:null,type:"localStorage",customLoad:null,customSave:null,savingTimeout:2e3}}},controllers:{stateStoring:a.default.StateStoringController},extenders:{views:{rowsView:{init:function(){var e=this,t=e.getController("data");e.callBase(),t.stateLoaded.add((function(){if(t.isLoaded()&&!t.getDataSource()){e.setLoading(!1),e.renderNoDataText();var n=e.component.getView("columnHeadersView");n&&n.render(),e.component._fireContentReadyAction()}}))}}}
1,controllers:{stateStoring:{init:function(){this.callBase.apply(this,arguments),c(this)},isLoading:function(){return this.callBase()||this.getController("data").isStateLoading()},state:function(e){var t=this.callBase.apply(this,arguments);return void 0!==e&&this.applyState((0,s.extend)({},e)),t},updateState:function(e){if(this.isEnabled()){var t=this.state(),n=(0,s.extend)({},t,e),i=(0,r.getKeyHash)(t),o=(0,r.getKeyHash)(n);(0,r.equalByValue)(i,o)||((0,s.extend)(this._state,e),this.save())}else(0,s.extend)(this._state,e)},applyState:function(e){var t=e.allowedPageSizes,n=e.searchText,i=e.selectedRowKeys,r=e.selectionFilter,s=this.getController("export"),a=this.getController("columns"),l=this.getController("data"),c=this.option("scrolling.mode"),u="virtual"===c||"infinite"===c,d=!0===this.option("pager.visible")&&this.option("pager.showPageSizeSelector");this.component.beginUpdate(),a&&a.setUserState(e.columns),s&&s.selectionOnly(e.exportSelectionOnly),i&&this.option("selectedRowKeys",i),this.option("selectionFilter",r),t&&"auto"===this.option("pager.allowedPageSizes")&&(this.option("pager").allowedPageSizes=t),this.option("focusedRowEnabled")&&this.option("focusedRowKey",e.focusedRowKey),this.component.endUpdate(),this.option("searchPanel.text",n||""),this.option("filterValue",function(e,t){var n=e.getController("filterSync"),i=e.getController("columns");return n?t.columns||void 0!==t.filterValue?t.filterValue||n.getFilterValueFromColumns(t.columns):e._initialFilterValue||n.getFilterValueFromColumns(i.getColumns()):null}(this,e)),this.option("filterPanel.filterEnabled",!e.filterPanel||e.filterPanel.filterEnabled),this.option("paging.pageSize",u&&!d||!(0,o.isDefined)(e.pageSize)?this._initialPageSize:e.pageSize),this.option("paging.pageIndex",e.pageIndex||0),l&&l.reset()}},columns:{getVisibleColumns:function(){var e=this.callBase.apply(this,arguments),t=this.getController("stateStoring");return t.isEnabled()&&!t.isLoaded()?[]:e}},data:{callbackNames:function(){return this.callBase().concat(["stateLoaded"])},_refreshDataSource:function(){var e=this,t=e.callBase,n=e.getController("stateStoring");if(n.isEnabled()&&!n.isLoaded()){clearTimeout(e._restoreStateTimeoutID);var i=new l.Deferred;return e._restoreStateTimeoutID=setTimeout((function(){n.load().always((function(){e._restoreStateTimeoutID=null,t.call(e),e.stateLoaded.fire(),i.resolve()}))})),i.promise()}e.isStateLoading()||t.call(e)},isLoading:function(){var e=this.getController("stateStoring");return this.callBase()||e.isLoading()},isStateLoading:function(){return(0,o.isDefined)(this._restoreStateTimeoutID)},isLoaded:function(){return this.callBase()&&!this.isStateLoading()},dispose:function(){clearTimeout(this._restoreStateTimeoutID),this.callBase()}},selection:{_fireSelectionChanged:function(e){var t=this.getController("stateStoring"),n=this.option("selection.deferred");t.isLoading()&&n||this.callBase.apply(this,arguments)}}}}}},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=e=>t=>{for(let n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()}},nyYc:function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o09w:function(e,t,n){"use strict";var i=_(n("FKN7")),r=_(n("czNW")),o=n("1LL4"),s=_(n("LdFP")),a=_(n("tUd6")),l=_(n("D6VQ")),c=_(n("ut1R")),u=_(n("CCnk")),d=_(n("FwU7")),h=n("CBR9"),p=n("v4HY"),f=n("ti0F"),m=n("b1t7"),g=_(n("cGv3"));
1function _(e){return e&&e.__esModule?e:{default:e}}var b=c.default.inherit({_getDefaultOptions:function(){return(0,o.extend)(this.callBase(),{itemTitleTemplate:"title",hoverStateEnabled:!0,showNavButtons:!1,scrollByContent:!0,scrollingEnabled:!0,onTitleClick:null,onTitleHold:null,onTitleRendered:null,badgeExpr:function(e){return e?e.badge:void 0}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===s.default.real().deviceType&&!s.default.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return!r.default.touch},options:{swipeEnabled:!1}},{device:{platform:"generic"},options:{animationEnabled:!1}}])},_init:function(){this.callBase(),this.$element().addClass("dx-tabpanel"),this.setAria("role","tabpanel")},_initMarkup:function(){this.callBase(),this._createTitleActions(),this._renderLayout()},_initTemplates:function(){this.callBase(),this._defaultTemplates.title=new m.BindableTemplate((function(e,t){if((0,f.isPlainObject)(t)){var n=(0,h.getImageContainer)(t.icon);n&&e.append(n),(0,f.isDefined)(t.title)&&!(0,f.isPlainObject)(t.title)&&e.append(a.default.createTextNode(t.title))}else(0,f.isDefined)(t)&&e.text(String(t));e.wrapInner((0,i.default)("<span>").addClass("dx-tab-text"))}),["title","icon"],this.option("integrationOptions.watchMethod"))},_createTitleActions:function(){this._createTitleClickAction(),this._createTitleHoldAction(),this._createTitleRenderedAction()},_createTitleClickAction:function(){this._titleClickAction=this._createActionByOption("onTitleClick")},_createTitleHoldAction:function(){this._titleHoldAction=this._createActionByOption("onTitleHold")},_createTitleRenderedAction:function(){this._titleRenderedAction=this._createActionByOption("onTitleRendered")},_renderContent:function(){var e=this;this.callBase(),this.option("templatesRenderAsynchronously")&&(this._resizeEventTimer=setTimeout((function(){e._updateLayout()}),0))},_renderLayout:function(){if(this._tabs)this._updateLayout();else{var e=this.$element();this._$tabContainer=(0,i.default)("<div>").addClass("dx-tabpanel-tabs").appendTo(e);var t=(0,i.default)("<div>").appendTo(this._$tabContainer);this._tabs=this._createComponent(t,u.default,this._tabConfig()),this._$container=(0,i.default)("<div>").addClass("dx-tabpanel-container").appendTo(e),this._$container.append(this._$wrapper),this._updateLayout()}},_updateLayout:function(){if(g.default.hasWindow()){var e=this._$tabContainer.outerHeight();this._$container.css({marginTop:-e,paddingTop:e})}},_refreshActiveDescendant:function(){if(this._tabs){var e=this._tabs,t=e.itemElements(),n=(0,i.default)(t[e.option("selectedIndex")]),r=this.getFocusedItemId();this.setAria("controls",void 0,(0,i.default)(t)),this.setAria("controls",r,n)}},_tabConfig:function(){return{selectOnFocus:!0,focusStateEnabled:this.option("focusStateEnabled"),hoverStateEnabled:this.option("hoverStateEnabled"),repaintChangesOnly:this.option("repaintChangesOnly"),tabIndex:this.option("tabIndex"),selectedIndex:this.option("selectedIndex"),badgeExpr:this.option("badgeExpr"),onItemClick:this._titleClickAction.bind(this),onItemHold:this._titleHoldAction.bind(this),itemHoldTimeout:this.option("itemHoldTimeout"),onSelectionChanged:(function(e){this.option("selectedIndex",e.component.option("selectedIndex")),this._refreshActiveDescendant()}).bind(this),onItemRendered:this._titleRenderedAction.bind(this),itemTemplate:this._getTemplateByOption("itemTitleTemplate"),items:this.option("items"),noDataText:null,scrollingEnabled:this.option("scrollingEnabled"),scrollByContent:this.option("scrollByContent"),showNavButtons:this.option("showNavButtons"),itemTemplateProperty:"tabTemplate",loopItemFocus:this.option("loop"),selectionRequired:!0,onOptionChanged:(function(e){if("focusedElement"===e.name)if(e.value){var t=(0,i.default)(e.value),n=this._itemElements().eq(t.index());this.option("focusedElement",(0,p.getPublicElement)(n))}else this.option("focusedElement",e.value)}).bind(this),onFocusIn:(function(e){this._focusInHandler(e.event)}).bind(this),onFocusOut:(function(e){this._isFocusOutHandlerExecuting||this._focusOutHandler(e.event)}).bind(this)}},_renderFocusTarget:function(){this._focusTarget().attr("tabIndex",-1)},_updateFocusState:function(e,t){this.callBase(e,t),e.target===this._tabs._focusTarget().get(0)&&this._toggleFocusClass(t,this._focusTarget())},_focusOutHandler:function(e){this._isFocusOutHandlerExecuting=!0,this.callBase.apply(this,arguments),this._tabs._focusOutHandler(e),this._isFocusOutHandlerExecuting=!1},_setTabsOption:function(e,t){this._tabs&&this._tabs.option(e,t)},_visibilityChanged:function(e){e&&(this._tabs._dimensionChanged(),this._updateLayout())},registerKeyHandler:function(e,t){this.callBase(e,t),this._tabs&&this._tabs.registerKeyHandler(e,t)},repaint:function(){this.callBase(),this._tabs.repaint()},_optionChanged:function(e){var t=e.name,n=e.value,r=e.fullName;switch(t){case"dataSource":this.callBase(e);break;case"items":this._setTabsOption(t,this.option(t)),this._updateLayout(),this.option("repaintChangesOnly")||this._tabs.repaint(),this.callBase(e);break;case"width":this.callBase(e),this._tabs.repaint();break;case"selectedIndex":case"selectedItem":if(this._setTabsOption(r,n),this.callBase(e),!0===this.option("focusStateEnabled")){var o=this.option("selectedIndex"),s=this._itemElements().eq(o);this.option("focusedElement",(0,p.getPublicElement)(s))}break;case"itemHoldTimeout":case"focusStateEnabled":case"hoverStateEnabled":this._setTabsOption(r,n),this.callBase(e);break;case"scrollingEnabled":case"scrollByContent":case"showNavButtons":this._setTabsOption(r,n);break;case"focusedElement":var a=n?(0,i.default)(n).index():n,l=n?this._tabs._itemElements().eq(a):n;this._setTabsOption("focusedElement",(0,p.getPublicElement)(l)),this.callBase(e);break;case"itemTitleTemplate":this._setTabsOption("itemTemplate",this._getTemplateByOption("itemTitleTemplate"));break;case"onTitleClick":this._createTitleClickAction(),this._setTabsOption("onItemClick",this._titleClickAction.bind(this));break;case"onTitleHold":this._createTitleHoldAction(),this._setTabsOption("onItemHold",this._titleHoldAction.bind(this));break;case"onTitleRendered":this._createTitleRenderedAction(),this._setTabsOption("onItemRendered",this._titleRenderedAction.bind(this));break;case"loop":this._setTabsOption("loopItemFocus",n);break;case"badgeExpr":this._invalidate();break;default:this.callBase(e)}},_clean:function(){clearTimeout(this._resizeEventTimer),this.callBase()}});b.ItemClass=d.default,(0,l.default)("dxTabPanel",b),e.exports=b,e.exports.default=e.exports},o1bE:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(i,r,o,s){var a=t(i),l=n[e][t(i)];return 2===a&&(l=l[r?0:1]),l.replace(/%d/i,i)}}
1,r=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},o3MM:function(e,t,n){"use strict";var i=n("5qrJ"),r=n("KAnu"),o=n("zl3R"),s=n("zl3R").each,a=n("ti0F"),l=n("1LL4").extend,c=n("D8Ap"),u=n("wqBK").getOperationBySearchMode,d=n("XpgS").inArray,h=n("Q7sy"),p=n("IEE5"),f=n("oZ/d"),m=i.inherit({ctor:function(e){this.options={},l(this.options,this._defaultOptions(),e),this.options.dataConverter.setDataAccessors(this.options.dataAccessors),this._selectedNodesKeys=[],this._expandedNodesKeys=[],this._dataStructure=[],this._createInternalDataStructure(),this.getTreeNodes()},setOption:function(e,t){this.options[e]=t,"recursiveSelection"===e&&this._updateSelection()},_defaultOptions:function(){return{dataAccessors:void 0,items:[],multipleSelection:!0,recursiveSelection:!1,recursiveExpansion:!1,rootValue:0,searchValue:"",dataType:"tree",searchMode:"contains",dataConverter:new f,onNodeChanged:r.noop,sort:null}},_createInternalDataStructure:function(){this._initialDataStructure=this.options.dataConverter.createPlainStructure(this.options.items,this.options.rootValue,this.options.dataType),this._dataStructure=this.options.searchValue.length?this.search(this.options.searchValue):this._initialDataStructure,this.options.dataConverter._dataStructure=this._dataStructure,this._updateSelection(),this._updateExpansion()},_updateSelection:function(){this.options.recursiveSelection&&(this._setChildrenSelection(),this._setParentSelection()),this._selectedNodesKeys=this._updateNodesKeysArray("selected")},_updateExpansion:function(e){this.options.recursiveExpansion&&(e?this._updateOneBranch(e):this._setParentExpansion()),this._expandedNodesKeys=this._updateNodesKeysArray("expanded")},_updateNodesKeysArray:function(e){var t=this,n=[];return s(t._getDataBySelectionMode(),(function(i,r){t._isNodeVisible(r)&&r.internalFields[e]&&("expanded"===e||t.options.multipleSelection?n.push(r.internalFields.key):(n.length&&t.toggleSelection(n[0],!1,!0),n=[r.internalFields.key]))})),n},_getDataBySelectionMode:function(){return this.options.multipleSelection?this.getData():this.getFullData()},_isNodeVisible:function(e){return!1!==e.internalFields.item.visible},_getByKey:function(e,t){return e===this._dataStructure?this.options.dataConverter._getByKey(t):this.options.dataConverter.getByKey(e,t)},_setChildrenSelection:function(){var e=this;s(this._dataStructure,(function(t,n){if(n.internalFields.childrenKeys.length){var i=n.internalFields.selected;!0===i&&e._toggleChildrenSelection(n,i)}}))},_setParentSelection:function(){var e=this;s(this._dataStructure,(function(t,n){e.options.dataConverter.getParentNode(n)&&n.internalFields.parentKey!==e.options.rootValue&&e._iterateParents(n,(function(t){var n=e._calculateSelectedState(t);e._setFieldState(t,"selected",n)}))}))},_setParentExpansion:function(){var e=this;s(this._dataStructure,(function(t,n){n.internalFields.expanded&&e._updateOneBranch(n.internalFields.key)}
1))},_updateOneBranch:function(e){var t=this,n=this.getNodeByKey(e);t._iterateParents(n,(function(e){t._setFieldState(e,"expanded",!0)}))},_iterateChildren:function(e,t,n,i){if(a.isFunction(n)){var r=this,o=e.internalFields.key;-1===(i=i||[]).indexOf(o)&&(i.push(o),s(e.internalFields.childrenKeys,(function(e,o){var s=r.getNodeByKey(o);n(s),s.internalFields.childrenKeys.length&&t&&r._iterateChildren(s,t,n,i)})))}},_iterateParents:function(e,t,n){if(e.internalFields.parentKey!==this.options.rootValue&&a.isFunction(t)){var i=e.internalFields.key;if(-1===(n=n||[]).indexOf(i)){n.push(i);var r=this.options.dataConverter.getParentNode(e);r&&(t(r),r.internalFields.parentKey!==this.options.rootValue&&this._iterateParents(r,t,n))}}},_calculateSelectedState:function(e){for(var t=e.internalFields.childrenKeys.length,n=0,i=0,r=!1,o=0;o<=t-1;o++){var s=this.getNodeByKey(e.internalFields.childrenKeys[o]),a=s.internalFields.selected;!1===s.internalFields.item.visible?i++:a?n++:void 0===a&&(n+=.5)}return n&&(r=n===t-i||void 0),r},_toggleChildrenSelection:function(e,t){var n=this;this._iterateChildren(e,!0,(function(e){n._isNodeVisible(e)&&n._setFieldState(e,"selected",t)}))},_setFieldState:function(e,t,n){e.internalFields[t]!==n&&(e.internalFields[t]=n,e.internalFields.publicNode&&(e.internalFields.publicNode[t]=n),this.options.dataAccessors.setters[t](e.internalFields.item,n),this.options.onNodeChanged(e))},_markChildren:function(e){var t=this;s(e,(function(e,n){var i=t.getIndexByKey(n),r=t.getNodeByKey(n);t._dataStructure[i]=0,r.internalFields.childrenKeys.length&&t._markChildren(r.internalFields.childrenKeys)}))},_removeNode:function(e){var t=this.getNodeByKey(e);this._dataStructure[this.getIndexByKey(e)]=0,this._markChildren(t.internalFields.childrenKeys);var n=this,i=0,r=l([],this._dataStructure);s(r,(function(e,t){t||(n._dataStructure.splice(e-i,1),i++)}))},_addNode:function(e){var t=this.options.dataConverter,n=t._convertItemToNode(e,this.options.dataAccessors.getters.parentKey(e));this._dataStructure=this._dataStructure.concat(n),this._initialDataStructure=this._initialDataStructure.concat(n),t._dataStructure=t._dataStructure.concat(n)},_updateFields:function(){this.options.dataConverter.updateChildrenKeys(),this._updateSelection(),this._updateExpansion()},getSelectedNodesKeys:function(){return this._selectedNodesKeys},getExpandedNodesKeys:function(){return this._expandedNodesKeys},getData:function(){return this._dataStructure},getFullData:function(){return this._initialDataStructure},getNodeByItem:function(e){var t=null;return s(this._dataStructure,(function(n,i){if(i.internalFields.item===e)return t=i,!1})),t},getNodesByItems:function(e){var t=this,n=[];return s(e,(function(e,i){var r=t.getNodeByItem(i);r&&n.push(r)})),n},getNodeByKey:function(e,t){return this._getByKey(t||this._getDataBySelectionMode(),e)},getTreeNodes:function(){return this.options.dataConverter.convertToPublicNodes(this.getRootNodes())},getItemsCount:function(){return this.options.dataConverter.getItemsCount()},getVisibleItemsCount:function(){return this.options.dataConverter.getVisibleItemsCount()},getPublicNode:function(e){return e.internalFields.publicNode},getRootNodes:function(){return this.getChildrenNodes(this.options.rootValue)},getChildrenNodes:function(e){return h(this._dataStructure).filter(["internalFields.parentKey",e]).toArray()},getIndexByKey:function(e){return this.options.dataConverter.getIndexByKey(e)},addItem:function(e){this._addNode(e),this._updateFields()},removeItem:function(e){this._removeNode(e),this._updateFields()},toggleSelection:function(e,t,n){var i=this._isSingleModeUnselect(t),r=this._getByKey(n||i?this._initialDataStructure:this._dataStructure,e);this._setFieldState(r,"selected",t),this.options.recursiveSelection&&!n&&(t?this._setChildrenSelection():this._toggleChildrenSelection(r,t),this._setParentSelection()),this._selectedNodesKeys=this._updateNodesKeysArray("selected")},_isSingleModeUnselect:function(e){return!this.options.multipleSelection&&!e},toggleNodeDisabledState:function(e,t){var n=this.getNodeByKey(e);this._setFieldState(n,"disabled",t)},toggleSelectAll:function(e){if(a.isDefined(e)){var t=this,n=t._selectedNodesKeys[t._selectedNodesKeys.length-1],i=t._isSingleModeUnselect(e)?this._initialDataStructure:this._dataStructure;s(i,(function(n,i){t._isNodeVisible(i)&&t._setFieldState(i,"selected",e)})),t._selectedNodesKeys=t._updateNodesKeysArray("selected"),!e&&t.options.selectionRequired&&t.toggleSelection(n,!0)}},isAllSelected:function(){return!!this.getSelectedNodesKeys().length&&(this.getSelectedNodesKeys().length===this.getVisibleItemsCount()||void 0)},toggleExpansion:function(e,t){var n=this.getNodeByKey(e);this._setFieldState(n,"expanded",t),t&&this._updateExpansion(e),this._expandedNodesKeys=this._updateNodesKeysArray("expanded")},isFiltered:function(e){return!this.options.searchValue.length||!!this._filterDataStructure(this.options.searchValue,[e]).length},_createCriteria:function(e,t,n){var i=[];return Array.isArray(e)?(o.each(e,(function(e,r){i.push([r,n,t],"or")})),i.pop(),i):[e,n,t]},_filterDataStructure:function(e,t){var n=this.options.searchExpr||this.options.dataAccessors.getters.display,i=u(this.options.searchMode),r=this._createCriteria(n,e,i);return h(t=t||this._initialDataStructure).filter(r).toArray()},search:function(e){var t=this,n=this._filterDataStructure(e),i=this.options.dataConverter;return function e(n,r){for(var o=n.length;r<o;){var s=n[r];if(s.internalFields.parentKey!==t.options.rootValue){var a=i.getParentNode(s);a?(a.internalFields.expanded||t._setFieldState(a,"expanded",!0),d(a,n)>-1?r++:(n.splice(r,0,a),e(n,r))):(c.log("W1007",s.internalFields.parentKey,s.internalFields.key),r++)}else r++}}(n,0),this.options.sort&&(n=p.queryByOptions(h(n),{sort:this.options.sort}).toArray()),i._indexByKey={},s(n,(function(e,t){t.internalFields.childrenKeys=[],i._indexByKey[t.internalFields.key]=e})),i._dataStructure=n,i.setChildrenKeys(),i._dataStructure}});e.exports=m},o64Y:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("fXoL"),r=n("lxHI"),o=n("tyNb");let s=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(e){return!!this.authService.isLoggedIn()||(this.authService.startAuthentication(),!1)}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(r.a),i.Wb(o.c))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},oVzw:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("JpqT"));
1function o(e){return e&&e.__esModule?e:{default:e}}t.ColumnHeadersView=r.default.views.columnHeadersView,i.default.registerModule("columnHeaders",r.default)},"oZ/d":function(e,t,n){"use strict";var i=n("5qrJ"),r=n("1LL4").extend,o=n("D8Ap"),s=n("zl3R").each,a=n("ti0F"),l=i.inherit({ctor:function(){this._dataStructure=[],this._itemsCount=0,this._visibleItemsCount=0},_indexByKey:{},_convertItemsToNodes:function(e,t){var n=this;s(e,(function(e,i){var r=a.isDefined(t)?t:n._getParentId(i),o=n._convertItemToNode(i,r);n._dataStructure.push(o),n._checkForDuplicateId(o.internalFields.key),n._indexByKey[o.internalFields.key]=n._dataStructure.length-1,n._itemHasChildren(i)&&n._convertItemsToNodes(n._dataAccessors.getters.items(i),o.internalFields.key)}))},_checkForDuplicateId:function(e){if(a.isDefined(this._indexByKey[e]))throw o.Error("E1040",e)},_getParentId:function(e){return"plain"===this._dataType?this._dataAccessors.getters.parentKey(e):void 0},_itemHasChildren:function(e){if("plain"!==this._dataType){var t=this._dataAccessors.getters.items(e);return t&&t.length}},_getUniqueKey:function(e){var t=this._dataAccessors.getters.key,n=t(e);return t&&(n||0===n)&&a.isPrimitive(n)?n:this.getItemsCount()},_convertItemToNode:function(e,t){this._itemsCount++,!1!==e.visible&&this._visibleItemsCount++;var n={internalFields:{disabled:this._dataAccessors.getters.disabled(e,{defaultValue:!1}),expanded:this._dataAccessors.getters.expanded(e,{defaultValue:!1}),selected:this._dataAccessors.getters.selected(e,{defaultValue:!1}),key:this._getUniqueKey(e),parentKey:a.isDefined(t)?t:this._rootValue,item:this._makeObjectFromPrimitive(e),childrenKeys:[]}};return r(n,e),delete n.items,n},setChildrenKeys:function(){var e=this;s(this._dataStructure,(function(t,n){if(n.internalFields.parentKey!==e._rootValue){var i=e.getParentNode(n);i&&i.internalFields.childrenKeys.push(n.internalFields.key)}}))},_makeObjectFromPrimitive:function(e){if(a.isPrimitive(e)){var t=e;this._dataAccessors.setters.key(e={},t)}return e},_convertToPublicNode:function(e,t){if(!e)return null;var n={text:this._dataAccessors.getters.display(e),key:e.internalFields.key,selected:e.internalFields.selected,expanded:e.internalFields.expanded,disabled:e.internalFields.disabled,parent:t||null,itemData:e.internalFields.item,children:[],items:[]};return n.parent&&(n.parent.children.push(n),n.parent.items.push(n)),n},convertToPublicNodes:function(e,t){if(!e.length)return[];var n=this,i=[];return s(e,(function(e,r){r=a.isPrimitive(r)?n._getByKey(r):r;var o=n._convertToPublicNode(r,t);o.children=n.convertToPublicNodes(r.internalFields.childrenKeys,o),i.push(o),r.internalFields.publicNode=o})),i},setDataAccessors:function(e){this._dataAccessors=e},_getByKey:function(e){return this._dataStructure[this.getIndexByKey(e)]||null},getParentNode:function(e){return this._getByKey(e.internalFields.parentKey)},getByKey:function(e,t){var n=null,i=this;return function(e,t){return s(e,(function(e,r){if((r.internalFields&&r.internalFields.key||i._dataAccessors.getters.key(r)).toString()===t.toString())return n=r,!1})),n}(e,t)},getItemsCount:function(){return this._itemsCount},getVisibleItemsCount:function(){return this._visibleItemsCount},updateIndexByKey:function(){var e=this;this._indexByKey={},s(this._dataStructure,(function(t,n){e._checkForDuplicateId(n.internalFields.key),e._indexByKey[n.internalFields.key]=t}))},updateChildrenKeys:function(){this._indexByKey={},this.removeChildrenKeys(),this.updateIndexByKey(),this.setChildrenKeys()},removeChildrenKeys:function(){this._indexByKey={},s(this._dataStructure,(function(e,t){t.internalFields.childrenKeys=[]}))},getIndexByKey:function(e){return this._indexByKey[e]},createPlainStructure:function(e,t,n){return this._itemsCount=0,this._visibleItemsCount=0,this._rootValue=t,this._dataType=n,this._indexByKey={},this._convertItemsToNodes(e),this.setChildrenKeys(),this._dataStructure}});e.exports=l},ofXK:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return be})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return ge})),n.d(t,"e",(function(){return _e})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return x})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return se})),n.d(t,"k",(function(){return le})),n.d(t,"l",(function(){return ue})),n.d(t,"m",(function(){return pe})),n.d(t,"n",(function(){return fe})),n.d(t,"o",(function(){return w})),n.d(t,"p",(function(){return c})),n.d(t,"q",(function(){return Ce})),n.d(t,"r",(function(){return ye})),n.d(t,"s",(function(){return we})),n.d(t,"t",(function(){return a})),n.d(t,"u",(function(){return ve})),n.d(t,"v",(function(){return o}
1)),n.d(t,"w",(function(){return oe})),n.d(t,"x",(function(){return s}));var i=n("fXoL");let r=null;function o(){return r}function s(e){r||(r=e)}class a{}const l=new i.q("DocumentToken");let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Hb)({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(i.Wb)(h)}const d=new i.q("Location Initialized");let h=(()=>{class e extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(l))},e.\u0275prov=Object(i.Hb)({factory:f,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function f(){return new h(Object(i.Wb)(l))}function m(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function g(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function _(e){return e&&"?"!==e[0]?"?"+e:e}let b=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Hb)({factory:v,token:e,providedIn:"root"}),e})();function v(e){const t=Object(i.Wb)(l).location;return new w(Object(i.Wb)(c),t&&t.origin||"")}const y=new i.q("appBaseHref");let w=(()=>{class e extends b{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(c),i.Wb(y,8))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),C=(()=>{class e extends b{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+_(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+_(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(c),i.Wb(y,8))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),x=(()=>
1{class e{constructor(e,t){this._subject=new i.n,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(k(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+_(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,k(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(b),i.Wb(c))},e.normalizeQueryParams=_,e.joinWithSlash=m,e.stripTrailingSlash=g,e.\u0275prov=Object(i.Hb)({factory:S,token:e,providedIn:"root"}),e})();function S(){return new x(Object(i.Wb)(b),Object(i.Wb)(c))}function k(e){return e.replace(/\/index.html$/,"")}const T=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),E=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),I=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),D=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),M=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),O=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function R(e,t){return H(Object(i.ib)(e)[i.Y.DateFormat],t)}function L(e,t){return H(Object(i.ib)(e)[i.Y.TimeFormat],t)}function A(e,t){return H(Object(i.ib)(e)[i.Y.DateTimeFormat],t)}function P(e,t){const n=Object(i.ib)(e),r=n[i.Y.NumberSymbols][t];if(void 0===r){if(t===O.CurrencyDecimal)return n[i.Y.NumberSymbols][O.Decimal];if(t===O.CurrencyGroup)return n[i.Y.NumberSymbols][O.Group]}return r}const F=i.lb;function B(e){if(!e[i.Y.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[i.Y.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function H(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function V(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const N=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,z={},j=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Y=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),W=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),Q=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function $(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function G(e,t,n="-",i,r){let o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=n));let s=String(e);for(;s.length<t;)s="0"+s;return i&&(s=s.substr(s.length-t)),o+s}function K(e,t,n=0,i=!1,r=!1){return function(o,s){let a=function(e,t){switch(e){case W.FullYear:return t.getFullYear();case W.Month:return t.getMonth();case W.Date:return t.getDate();case W.Hours:return t.getHours();case W.Minutes:return t.getMinutes();case W.Seconds:return t.getSeconds();case W.FractionalSeconds:return t.getMilliseconds();case W.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||a>-n)&&(a+=n),e===W.Hours)0===a&&-12===n&&(a=12);else if(e===W.FractionalSeconds)return l=t,G(a,3).substr(0,l);var l;const c=P(s,O.MinusSign);return G(a,t,c,i,r)}}function U(e,t,n=I.Format,r=!1){return function(o,s){return function(e,t,n,r,o,s){switch(n){case Q.Months:return function(e,t,n){const r=Object(i.ib)(e),o=H([r[i.Y.MonthsFormat],r[i.Y.MonthsStandalone]],t);return H(o,n)}(t,o,r)[e.getMonth()];case Q.Days:return function(e,t,n){const r=Object(i.ib)(e),o=H([r[i.Y.DaysFormat],r[i.Y.DaysStandalone]],t);return H(o,n)}(t,o,r)[e.getDay()];case Q.DayPeriods:const a=e.getHours(),l=e.getMinutes();if(s){const e=function(e){const t=Object(i.ib)(e);return B(t),(t[i.Y.ExtraData][2]||[]).map(e=>"string"==typeof e?V(e):[V(e[0]),V(e[1])])}(t),n=function(e,t,n){const r=Object(i.ib)(e);B(r);const o=H([r[i.Y.ExtraData][0],r[i.Y.ExtraData][1]],t)||[];return H(o,n)||[]}(t,o,r);let s;if(e.forEach((e,t)=>{if(Array.isArray(e)){const{hours:i,minutes:r}=e[0],{hours:o,minutes:c}=e[1];a>=i&&l>=r&&(a<o||a===o&&l<c)&&(s=n[t])}else{const{hours:i,minutes:r}=e;i===a&&r===l&&(s=n[t])}}),s)return s}return function(e,t,n){const r=Object(i.ib)(e),o=H([r[i.Y.DayPeriodsFormat],r[i.Y.DayPeriodsStandalone]],t);return H(o,n)}(t,o,r)[a<12?0:1];case Q.Eras:return function(e,t){return H(Object(i.ib)(e)[i.Y.Eras
vendor: 5,853 bytes, line 1
1],t)}(t,r)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(o,s,e,t,n,r)}}function q(e){return function(t,n,i){const r=-1*i,o=P(n,O.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case Y.Short:return(r>=0?"+":"")+G(s,2,o)+G(Math.abs(r%60),2,o);case Y.ShortGMT:return"GMT"+(r>=0?"+":"")+G(s,1,o);case Y.Long:return"GMT"+(r>=0?"+":"")+G(s,2,o)+":"+G(Math.abs(r%60),2,o);case Y.Extended:return 0===i?"Z":(r>=0?"+":"")+G(s,2,o)+":"+G(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}function J(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(n.getFullYear()),t=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(4-o.getDay()))).getTime()-e.getTime();r=1+Math.round(t/6048e5)}var o;return G(r,e,P(i,O.MinusSign))}}const X={};function Z(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ee(e){return e instanceof Date&&!isNaN(e.valueOf())}const te=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ne(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class ie{}let re=(()=>{class e extends ie{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(F(t||this.locale)(e)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(i.u))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();function oe(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}let se=(()=>{class e{constructor(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i.ob)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.ub)(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.s),i.Lb(i.t),i.Lb(i.l),i.Lb(i.D))},e.\u0275dir=i.Gb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class ae{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let le=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(i.T)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new ae(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new ce(e,n);t.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const o=new ce(e,r);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const e=this._viewContainer.get(n);
vendor: 10,570 bytes, line 1
1e.context.index=n,e.context.count=i,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.N),i.Lb(i.K),i.Lb(i.s))},e.\u0275dir=i.Gb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class ce{constructor(e,t){this.record=e,this.view=t}}let ue=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new de,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){he("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){he("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.N),i.Lb(i.K))},e.\u0275dir=i.Gb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class de{constructor(){this.$implicit=null,this.ngIf=null}}function he(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(i.ub)(t)}'.`)}let pe=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split(".");null!=(t=null!=t&&i?`${t}${i}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.l),i.Lb(i.t),i.Lb(i.D))},e.\u0275dir=i.Gb({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),fe=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.N))},e.\u0275dir=i.Gb({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.xb]}),e})();function me(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(i.ub)(e)}'`)}let ge=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",r,o){if(null==t||""===t||t!=t)return null;try{return function(e,t,n,r){let o=function(e){if(ee(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,n,i]=e.split("-").map(e=>+e);return new Date(t,n-1,i)}let n;if(n=e.match(N))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,s,a,l,c),t}(n)}const t=new Date(e);if(!ee(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const r=function(e){return Object(i.ib)(e)[i.Y.LocaleId]}(t);if(z[r]=z[r]||{},z[r][n])return z[r][n];let o="";switch(n){case"shortDate":o=R(t,M.Short);break;case"mediumDate":o=R(t,M.Medium);break;case"longDate":o=R(t,M.Long);break;case"fullDate":o=R(t,M.Full);break;case"shortTime":o=L(t,M.Short);break;case"mediumTime":o=L(t,M.Medium);break;case"longTime":o=L(t,M.Long);break;case"fullTime":o=L(t,M.Full);break;case"short":const n=e(t,"shortTime"),i=e(t,"shortDate");o=$(A(t,M.Short),[n,i]);break;case"medium":const r=e(t,"mediumTime"),s=e(t,"mediumDate");o=$(A(t,M.Medium),[r,s]);break;case"long":const a=e(t,"longTime"),l=e(t,"longDate");o=$(A(t,M.Long),[a,l]);break;case"full":const c=e(t,"fullTime"),u=e(t,"fullDate");o=$(A(t,M.Full),[c,u])}return o&&(z[r][n]=o),o}(n,t)||t;let s,a=[];for(;t;){if(s=j.exec(t),!s){a.push(t);break}{a=a.concat(s.slice(1));const e=a.pop();if(!e)break;t=e}}let l=o.getTimezoneOffset();r&&(l=Z(r,l),o=function(e,t,n){const i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Z(t,i)-i))}(o,r));let c="";return a.forEach(e=>{const t=function(e){if(X[e])return X[e];let t;switch(e){case"G":case"GG":case"GGG":t=U(Q.Eras,D.Abbreviated);break;case"GGGG":t=U(Q.Eras,D.Wide);break;case"GGGGG":t=U(Q.Eras,D.Narrow);break;case"y":t=K(W.FullYear,1,0,!1,!0);break;case"yy":t=K(W.FullYear,2,0,!0,!0);break;case"yyy":t=K(W.FullYear,3,0,!1,!0);break;case"yyyy":t=K(W.FullYear,4,0,!1,!0);break;case"M":case"L":t=K(W.Month,1,1);break;case"MM":case"LL":t=K(W.Month,2,1);break;case"MMM":t=U(Q.Months,D.Abbreviated);break;case"MMMM":t=U(Q.Months,D.Wide);break;case"MMMMM":t=U(Q.Months,D.Narrow);break;case"LLL":t=U(Q.Months,D.Abbreviated,I.Standalone);break;case"LLLL":t=U(Q.Months,D.Wide,I.Standalone);break;case"LLLLL":t=U(Q.Months,D.Narrow,I.Standalone);break;case"w":t=J(1);break;case"ww":t=J(2);break;case"W":t=J(1,!0);break;case"d":t=K(W.Date,1);break;case"dd":t=K(W.Date,2);break;case"E":case"EE":case"EEE":t=U(Q.Days,D.Abbreviated);break;case"EEEE":t=U(Q.Days,D.Wide);break;case"EEEEE":t=U(Q.Days,D.Narrow);break;case"EEEEEE":t=U(Q.Days,D.Short);break;case"a":case"aa":case"aaa":t=U(Q.DayPeriods,D.Abbreviated);break;case"aaaa":t=U(Q.DayPeriods,D.Wide);break;case"aaaaa":t=U(Q.DayPeriods,D.Narrow);break;case"b":case"bb":case"bbb":t=U(Q.DayPeriods,D.Abbreviated,I.Standalone,!0);break;case"bbbb":t=U(Q.DayPeriods,D.Wide,I.Standalone,!0);break;case"bbbbb":t=U(Q.DayPeriods,D.Narrow,I.Standalone,!0);break;case"B":case"BB":case"BBB":t=U(Q.DayPeriods,D.Abbreviated,I.Format,!0);break;case"BBBB":t=U(Q.DayPeriods,D.Wide,I.Format,!0);break;case"BBBBB":t=U(Q.DayPeriods,D.Narrow,I.Format,!0);break;case"h":t=K(W.Hours,1,-12);break;case"hh":t=K(W.Hours,2,-12);break;case"H":t=K(W.Hours,1);break;case"HH":t=K(W.Hours,2);break;case"m":t=K(W.Minutes,1);break;case"mm":t=K(W.Minutes,2);break;case"s":t=K(W.Seconds,1);break;case"ss":t=K(W.Seconds,2);break;case"S":t=K(W.FractionalSeconds,1);break;case"SS":t=K(W.FractionalSeconds,2);break;case"SSS":t=K(W.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=q(Y.Short);break;case"ZZZZZ":t=q(Y.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=q(Y.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=q(Y.Long);break;default:return null}return X[e]=t,t}(e);c+=t?t(o,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}(t,n,o||this.locale,r)}catch(s){throw me(e,s.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.u))},e.\u0275pipe=i.Kb({name:"date",type:e,pure:!0}),e})(),_e=(()=>{class e{constructor(e){this._locale=e}transform(t,n,r){if(function(e){return null==e||""===e||e!=e}(t))return null;r=r||this._locale;try{return function(e,t,n){return function(e,t,n,i,r,o,s=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,i,r,o,s=Math.abs(e)+"",a=0;for((n=s.indexOf("."))>-1&&(s=s.replace(".","")),(i=s.search(/e/i))>0?(n<0&&(n=i),n+=+s.slice(i+1),s=s.substring(0,i)):n<0&&(n=s.length),i=0;"0"===s.charAt(i);i++);if(i===(o=s.length))t=[0],n=1;else{for(o--;"0"===s.charAt(o);)o--;for(n-=i,t=[],r=0;i<=o;i++,r++)t[r]=Number(s.charAt(i))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);s&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(o){const e=o.match(te);if(null===e)throw new Error(`${o} is not a valid digit info`);const t=e[1],n=e[3],i=e[5];null!=t&&(u=ne(t)),null!=n&&(d=ne(n)),null!=i?h=ne(i):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let i=e.digits,r=i.length-e.integerLen;const o=Math.min(Math.max(t,r),n);let s=o+e.integerLen,a=i[s];if(s>0){i.splice(Math.max(e.integerLen,s));for(let e=s;e<i.length;e++)i[e]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,s=o+1),i[0]=0;for(let e=1;e<s;e++)i[e]=0}if(a>=5)if(s-1<0){for(let t=0;t>s;t--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[s-1]++;for(;r<Math.max(0,o);r++)i.push(0);let l=0!==o;const c=t+e.integerLen,u=i.reduceRight((function(e,t,n,i){return i[n]=(t+=e)<10?t:t-10,l&&(0===i[n]&&n>=c?i.pop():l=!1),t>=10?1:0}),0);u&&(i.unshift(u),e.integerLen++)}(c,d,h);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const _=[];for(p.length>=t.lgSize&&_.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)_.unshift(p.splice(-t.gSize,p.length).join(""));
1p.length&&_.unshift(p.join("")),a=_.join(P(n,i)),g.length&&(a+=P(n,r)+g.join("")),m&&(a+=P(n,O.Exponential)+"+"+m)}else a=P(n,O.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,function(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],o=i[1],s=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],a=s[0],l=s[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const e=l.charAt(u);"0"===e?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){const e=r.length-n.posPre.length-n.posSuf.length,t=o.indexOf("#");n.negPre=o.substr(0,t).replace(/'/g,""),n.negSuf=o.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return Object(i.ib)(e)[i.Y.NumberFormats][t]}(t,T.Decimal),P(t,O.MinusSign)),t,O.Group,O.Decimal,n)}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),r,n)}catch(o){throw me(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(i.u))},e.\u0275pipe=i.Kb({name:"number",type:e,pure:!0}),e})(),be=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:[{provide:ie,useClass:re}]}),e})();const ve="browser";function ye(e){return e===ve}function we(e){return"server"===e}let Ce=(()=>{class e{}return e.\u0275prov=Object(i.Hb)({token:e,providedIn:"root",factory:()=>new xe(Object(i.Wb)(l),window,Object(i.Wb)(i.m))}),e})();class xe{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector(`#${e}`);if(t)return void this.scrollToElement(t);const n=this.document.querySelector(`[name='${e}']`);if(n)return void this.scrollToElement(n)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}},orCN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return function e(n){if(Array.isArray(n))for(var i=0;i<n.length;i++)e(n[i]);else n.text=n.text||"",n.data=n.data||"",t.push(n)}(e),t}},oyr6:function(e,t,n){"use strict";var i,r=(i=n("FKN7"))&&i.__esModule?i:{default:i},o=n("KAnu"),s=n("1LL4"),a=n("XgSC");e.exports={_applyColumnState:function(e){var t,n=this.option("rtlEnabled"),i=this._getColumnAlignment(e.column.alignment,n),o=(0,s.extend)(!0,{columnAlignment:i},e),a=o.rootElement.hasClass("dx-group-panel-item"),l=this._createIndicatorContainer(o,a),c=(0,r.default)("<span>").addClass(this._getIndicatorClassName(e.name)),u=null===(t=this.component)||void 0===t?void 0:t.getController("columns"),d=(null==u?void 0:u.getHeaderContentAlignment(i))||i;return o.container=l,o.indicator=c,this._renderIndicator(o),l[!a&&e.showColumnLines||"left"!==d?"prependTo":"appendTo"](e.rootElement),c},_getIndicatorClassName:o.noop,_getColumnAlignment:function(e,t){return t=t||this.option("rtlEnabled"),e&&"center"!==e?e:(0,a.getDefaultAlignment)(t)},_createIndicatorContainer:function(e,t){var n=this._getIndicatorContainer(e.rootElement),i="left"===e.columnAlignment?"right":"left";return n.length||(n=(0,r.default)("<div>").addClass("dx-column-indicators")),this.setAria("role","presentation",n),n.css("float",e.showColumnLines&&!t?i:null)},_getIndicatorContainer:function(e){return e&&e.find(".dx-column-indicators")},_getIndicatorElements:function(e){var t=this._getIndicatorContainer(e);return t&&t.children()},_renderIndicator:function(e){var t=e.container,n=e.indicator;t&&n&&t.append(n)},_updateIndicators:function(e){var t,n=this.getColumns(),i=this.getColumnElements();if(i&&n.length===i.length)for(var r=0;r<n.length;r++){t=i.eq(r),this._updateIndicator(t,n[r],e);var o=t.parent().data("options");o&&o.cells&&(o.cells[t.index()].column=n[r])}},_updateIndicator:function(e,t,n){if(!t.command)return this._applyColumnState({name:n,rootElement:e,column:t,showColumnLines:this.option("showColumnLines")})}}},"p/U6":function(e,t,n){"use strict";var i=n("A8u/").locale,r={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:
173,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 r[i()]}},"p/rL":function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pE6o:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.Template=void 0;var i,r=(i=n("FKN7"))&&i.__esModule?i:{default:i},o=n("PfKZ"),s=n("v4HY"),a=n("kLP8");function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n("vCkT"),(0,a.registerTemplateEngine)("default",{compile:function(e){return(0,s.normalizeTemplateElement)(e)},render:function(e,t,n){return e.clone()}}),(0,a.setTemplateEngine)("default"),t.Template=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(s,e);var t,n,i,o=(n=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(n);if(i){var r=d(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return u(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=o.call(this))._element=e,t}return(t=[{key:"_renderCore",value:function(e){var t=e.transclude;return t||this._compiledTemplate||(this._compiledTemplate=(0,a.getCurrentTemplateEngine)().compile(this._element)),(0,r.default)("<div>").append(t?this._element:(0,a.getCurrentTemplateEngine)().render(this._compiledTemplate,e.model,e.index)).contents()}},{key:"source",value:function(){return(0,r.default)(this._element).clone()}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(s.prototype,t),s}(o.TemplateBase)},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){return n.lift(new o(e,t))}}class o{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))}}class s extends i.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},pP7y:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("drlf"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("gridView",r.default)},pSKZ:function(e,t,n){"use strict";var i=n("FKN7"),r=n("+6qP"),o=n("D6VQ"),s=n("KAnu").grep,a=n("1LL4").extend,l=n("XpgS"),c=n("zl3R"),u=n("PANA"),d=n("hjRR"),h=n("AQA1"),p=n("lBBa").ChildDefaultTemplate,f={actionSheet:u,dropDownMenu:d},m=h.inherit({_getDefaultOptions:function(){return a(this.callBase(),{menuItemTemplate:"menuItem",submenuType:"dropDownMenu",menuContainer:void 0})},_defaultOptionsRules:function(){var e=r.current();return this.callBase().concat([{device:function(){return r.isIos7(e)},options:{submenuType:"actionSheet"}}])},_dimensionChanged:function(e){"height"!==e&&(this._menuStrategy.toggleMenuVisibility(!1,!0),this.callBase(),this._menuStrategy.renderMenuItems())},_initTemplates:function(){this.callBase(),this._defaultTemplates.actionSheetItem=new p("item")},_initMarkup:function(){this.callBase(),this._renderMenu()},_postProcessRenderItems:function(){this._hideOverflowItems(),this._menuStrategy._updateMenuVisibility(),this.callBase(),this._menuStrategy.renderMenuItems()},_renderItem:function(e,t,n,i){var r=this.callBase(e,t,n,i);return"auto"===t.locateInMenu&&r.addClass("dx-toolbar-item-auto-hide"),"dxButton"===t.widget&&"inMenu"===t.showText&&r.toggleClass("dx-toolbar-text-auto-hide"),r},_getItemsWidth:function(){return this._getSummaryItemsWidth([this._$beforeSection,this._$centerSection,this._$afterSection])},_hideOverflowItems:function(e){var t=this.$element().find(".dx-toolbar-item-auto-hide");if(t.length){e=e||this.$element().width(),i(t).removeClass("dx-toolbar-item-invisible");for(var n=this._getItemsWidth();t.length&&e<n;){var r=t.eq(-1);n-=r.outerWidth(),r.addClass("dx-toolbar-item-invisible"),t.splice(-1,1)}}},_getMenuItems:function(){var e=this,t=s(this.option("items")||[],(function(t){return e._isMenuItem(t)})),n=this._itemContainer().children(".dx-toolbar-item-auto-hide.dx-toolbar-item-invisible").not(".dx-state-invisible");this._restoreItems=this._restoreItems||[];var r=[].slice.call(n).map((function(t){var n=e._getItemData(t),r=i(t).children(),o=r.children();return a({menuItemTemplate:function(){return e._restoreItems.push({container:r,item:o}),i("<div>").addClass("dx-toolbar-item-auto-hide").append(o)}},n)}));return l.merge(r,t)},_getToolbarItems:function(){var e=this;return s(this.option("items")||[],(function(t){return!e._isMenuItem(t)}))},_renderMenu:function(){this._renderMenuStrategy(),this._menuStrategy.render()},_renderMenuStrategy:function(){var e=this.option("submenuType");this._requireDropDownStrategy()&&(e="dropDownMenu"),this._menuStrategy&&this._menuStrategy.NAME===e||(this._menuStrategy=new(0,f[e])(this))},_requireDropDownStrategy:function(){var e=this.option("items")||[],t=!1;return c.each(e,(function(e,n){("auto"===n.locateInMenu||"always"===n.locateInMenu&&n.widget)&&(t=!0)})),t},_arrangeItems:function(){if(!this.$element().is(":hidden")){this._$centerSection.css({margin:"0 auto",float:"none"}),c.each(this._restoreItems||[],(function(e,t){i(t.container).append(t.item)})),this._restoreItems=[];var e=this.$element().width();this._hideOverflowItems(e),this.callBase(e)}},_itemOptionChanged:function(e,t,n){this._isMenuItem(e)?this._menuStrategy.renderMenuItems():this._isToolbarItem(e)?this.callBase(e,t,n):(this.callBase(e,t,n),this._menuStrategy.renderMenuItems()),"location"===t&&this.repaint()},_isMenuItem:function(e){return"menu"===e.location||"always"===e.locateInMenu},_isToolbarItem:function(e){return void 0===e.location||"never"===e.locateInMenu},_optionChanged:function(e){var t=e.name,n=e.value;switch(t){case"submenuType":this._invalidate();break;case"visible":this.callBase.apply(this,arguments),this._menuStrategy.handleToolbarVisibilityChange(n);break;case"menuItemTemplate":this._changeMenuOption("itemTemplate",this._getTemplate(n));break;case"onItemClick":this._changeMenuOption(t,n),this.callBase.apply(this,arguments);break;
1case"menuContainer":this._changeMenuOption("container",n);break;default:this.callBase.apply(this,arguments)}},_changeMenuOption:function(e,t){this._menuStrategy.widgetOption(e,t)}});o("dxToolbar",m),e.exports=m,e.exports.default=e.exports},pdJe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n("wkMt"),o=s(n("VyaE"));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var e=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,o.default)(this.data,e,"01"),text:this.text}}}]),t}(s(n("52Lf")).default);t.default=a},plrq:function(e,t,n){"use strict";var i=n("jeLr"),r=n("1B4V"),o=n("5qrJ"),s=n("LdFP"),a=n("GBv4"),l=n("JDOJ"),c=n("T4bj"),u=l.addNamespace(c.enter,"dxHoverStart"),d=l.addNamespace(c.leave,"dxHoverEnd"),h=o.inherit({noBubble:!0,ctor:function(){this._handlerArrayKeyPath=this._eventNamespace+"_HandlerStore"},setup:function(e){r.data(e,this._handlerArrayKeyPath,{})},add:function(e,t){var n=this,o=function(e){n._handler(e)};i.on(e,this._originalEventName,t.selector,o),r.data(e,this._handlerArrayKeyPath)[t.guid]=o},_handler:function(e){l.isTouchEvent(e)||s.isSimulator()||l.fireEvent({type:this._eventName,originalEvent:e,delegateTarget:e.delegateTarget})},remove:function(e,t){var n=r.data(e,this._handlerArrayKeyPath)[t.guid];i.off(e,this._originalEventName,t.selector,n)},teardown:function(e){r.removeData(e,this._handlerArrayKeyPath)}}),p=h.inherit({ctor:function(){this._eventNamespace="dxHoverStart",this._eventName="dxhoverstart",this._originalEventName=u,this.callBase()},_handler:function(e){(e.pointers||[]).length||this.callBase(e)}}),f=h.inherit({ctor:function(){this._eventNamespace="dxHoverEnd",this._eventName="dxhoverend",this._originalEventName=d,this.callBase()}});a("dxhoverstart",new p),a("dxhoverend",new f),t.start="dxhoverstart",t.end="dxhoverend"},q1t9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTotalWidthOfEncodings=t.calculateEncodingAttributes=t.getBarcodePadding=t.getEncodingHeight=t.getMaximumHeightOfEncodings=void 0;var i,r=(i=n("/XyT"))&&i.__esModule?i:{default:i};function o(e,t){return t.height+(t.displayValue&&e.text.length>0?t.fontSize+t.textMargin:0)+t.marginTop+t.marginBottom}function s(e,t,n){if(n.displayValue&&t<e){if("center"==n.textAlign)return Math.floor((e-t)/2);if("left"==n.textAlign)return 0;if("right"==n.textAlign)return Math.floor(e-t)}return 0}function a(e,t,n){var i;if(n)i=n;else{if("undefined"==typeof document)return 0;i=document.createElement("canvas").getContext("2d")}i.font=t.fontOptions+" "+t.fontSize+"px "+t.font;var r=i.measureText(e);return r?r.width:0}t.getMaximumHeightOfEncodings=function(e){for(var t=0,n=0;n<e.length;n++)e[n].height>t&&(t=e[n].height);return t},t.getEncodingHeight=o,t.getBarcodePadding=s,t.calculateEncodingAttributes=function(e,t,n){for(var i=0;i<e.length;i++){var l,c=e[i],u=(0,r.default)(t,c.options);l=u.displayValue?a(c.text,u,n):0;var d=c.data.length*u.width;c.width=Math.ceil(Math.max(l,d)),c.height=o(c,u),c.barcodePadding=s(l,d,u)}},t.getTotalWidthOfEncodings=function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].width;return t}},q43h:function(e,t,n){"use strict";var i,r=(i=n("fiQ6"))&&i.__esModule?i:{default:i};e.exports=r.default,e.exports.default=e.exports},q94W:function(e,t,n){"use strict";var i=s(n("BWGd")),r=s(n("K4No")),o=s(n("2BeW"));
1function s(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("virtualScrolling",o.default),r.default.extend(o.default.extenders.dataSourceAdapter)},qOm7:function(e,t,n){"use strict";e.exports={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","az-Arab":"root","az-Cyrl":"root","blt-Latn":"root","bm-Nkoo":"root","bs-Cyrl":"root","byn-Latn":"root","cu-Glag":"root","dje-Arab":"root","dyo-Arab":"root","en-Dsrt":"root","en-Shaw":"root","ff-Adlm":"root","ff-Arab":"root","ha-Arab":"root","iu-Latn":"root","kk-Arab":"root","ku-Arab":"root","ky-Arab":"root","ky-Latn":"root","ml-Arab":"root","mn-Mong":"root","ms-Arab":"root","pa-Arab":"root","sd-Deva":"root","sd-Khoj":"root","sd-Sind":"root","shi-Latn":"root","so-Arab":"root","sr-Latn":"root","sw-Arab":"root","tg-Arab":"root","ug-Cyrl":"root","uz-Arab":"root","uz-Cyrl":"root","vai-Latn":"root","wo-Arab":"root","yo-Arab":"root","yue-Hans":"root","zh-Hant":"root","zh-Hant-MO":"zh-Hant-HK"}},qSx5:function(e,t,n){"use strict";var i=n("YQNt"),r=n("hMwJ"),o=n("85Zg").register,s=n("AQWU"),a=n("tJvG").Deferred;o("delete","swipe",s.inherit({_shouldHandleSwipe:!0,_renderItemPosition:function(e,t,n){var o=new a,s=t*this._itemElementWidth;return n?r.animate(e,{to:{left:s},type:"slide",complete:function(){o.resolve(e,t)}}):(i.move(e,{left:s}),o.resolve()),o.promise()},_swipeStartHandler:function(e){return this._itemElementWidth=e.width(),!0},_swipeUpdateHandler:function(e,t){return this._renderItemPosition(e,t.offset),!0},_swipeEndHandler:function(e,t){return this._renderItemPosition(e,t.targetOffset,!0).done((function(e,t){Math.abs(t)&&this._list.deleteItem(e).fail((function(){this._renderItemPosition(e,0,!0)}).bind(this))}).bind(this)),!0}}))},qrNs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("UmEg")),r=o(n("yjKC"));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t={};for(var n in r.default)r.default.hasOwnProperty(n)&&(e.hasAttribute("jsbarcode-"+n.toLowerCase())&&(t[n]=e.getAttribute("jsbarcode-"+n.toLowerCase())),e.hasAttribute("data-"+n.toLowerCase())&&(t[n]=e.getAttribute("data-"+n.toLowerCase())));return t.value=e.getAttribute("jsbarcode-value")||e.getAttribute("data-value"),(0,i.default)(t)}},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("DH7j"),r=n("XoHu"),o=n("n6bG");const s=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:a,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(Object(o.a)(a))try{a.call(this)}catch(u){t=u instanceof s?l(u.errors):[u]}if(Object(i.a)(c)){let e=-1,n=c.length;for(;++e<n;){const n=c[e];if(Object(r.a)(n))try{n.unsubscribe()}catch(u){t=t||[],u instanceof s?t=t.concat(l(u.errors)):t.push(u)}}}if(t)throw new s(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var t;return e.EMPTY=((t=new e).closed=!0,t),e})();function l(e){return e.reduce((e,t)=>
vendor: 4,619 bytes, line 1
1e.concat(t instanceof s?t.errors:t),[])}},qvJo:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u
10935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},r8II:function(e,t,n){"use strict";t.decode=t.parse=n("YcCt"),t.encode=t.stringify=n("6MUB")},r8WS:function(e,t,n){"use strict";var i=c(n("FKN7")),r=c(n("pSKZ")),o=c(n("HZnW")),s=n("KAnu"),a=n("ti0F"),l=n("v4HY");function c(e){return e&&e.__esModule?e:{default:e}}n("Ny+d");var u=o.default.ColumnsView.inherit({_getToolbarItems:function(){return[]},_getButtonContainer:function(){return(0,i.default)("<div>").addClass(this.addWidgetPrefix("toolbar-button"))},_getToolbarButtonClass:function(e){var t=e?" "+e:"";return this.addWidgetPrefix("toolbar-button")+t},_getToolbarOptions:function(){var e={toolbarOptions:{items:this._getToolbarItems(),onItemRendered:function(e){var t=e.itemData.onItemRendered;t&&t(e)}}};if(this.executeAction("onToolbarPreparing",e),e.toolbarOptions&&!(0,a.isDefined)(e.toolbarOptions.visible)){var t=e.toolbarOptions.items;e.toolbarOptions.visible=!(!t||!t.length)}return e.toolbarOptions},_renderCore:function(){this._toolbar?this._toolbar.option(this._toolbarOptions):(this.element().addClass(this.addWidgetPrefix("header-panel")),this._toolbar=this._createComponent((0,i.default)("<div>").appendTo(this.element()),r.default,this._toolbarOptions))},_columnOptionChanged:s.noop,_handleDataChanged:function(){this._requireReady&&this.render()},init:function(){this.callBase(),this.createAction("onToolbarPreparing",{excludeValidators:["disabled","readOnly"]})},render:function(){this._toolbarOptions=this._getToolbarOptions(),this.callBase.apply(this,arguments)},setToolbarItemDisabled:function(e,t){var n=this._toolbar;if(n){var i=n.option("items")||[],r=i.indexOf(i.filter((function(t){return t.name===e}))[0]);if(r>=0){var o="items["+r+"]";n.option(o+".options")?n.option(o+".options.disabled",t):n.option(o+".disabled",t)}}},updateToolbarDimensions:function(){this._toolbar&&(0,l.triggerResizeEvent)(this.getHeaderPanel())},getHeaderPanel:function(){return this.element()},getHeight:function(){return this.getElementHeight()},optionChanged:function(e){"onToolbarPreparing"===e.name&&(this._invalidate(),e.handled=!0),this.callBase(e)},isVisible:function(){return this._toolbarOptions&&this._toolbarOptions.visible},allowDragging:s.noop});e.exports={defaultOptions:function(){return{}},views:{headerPanel:u},extenders:{controllers:{resizing:{_updateDimensionsCore:function(){this.callBase.apply(this,arguments),this.getView("headerPanel").updateToolbarDimensions()}}}}}},rA4u:function(e,t,n){"use strict";e.exports={}},rWRM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearStack=t.remove=t.create=t.base=void 0;var i=n("KAnu"),r=1500,o=[];t.base=function(e){return r=(0,i.ensureDefined)(e,r)},t.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=o.length,n=(t?o[t-1]:e)+1;return o.push(n),n},t.remove=function(e){var t=o.indexOf(e);t>=0&&o.splice(t,1)},t.clearStack=function(){o=[]}},raLr:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,r;return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}
1function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},rmYg:function(e,t,n){"use strict";var i=n("FKN7"),r=n("KAnu").noop,o=n("5qrJ"),s=n("1LL4").extend,a=n("zl3R").each,l=n("D8Ap"),c=n("85Zg");n("EP1Q"),n("zMhD"),n("6jZs"),n("qSx5"),n("/ElL"),n("ElD4"),n("+20D");var u=[],d=function(e,t,n){u.push({enabled:e,decoratorType:t,decoratorSubType:n})};d((function(){return this.option("menuItems").length}),(function(){return"menu"}),(function(){return this.option("menuMode")})),d((function(){return!this.option("menuItems").length&&this.option("allowItemDeleting")}),(function(){var e=this.option("itemDeleteMode");return"toggle"===e||"slideButton"===e||"swipe"===e||"static"===e?"delete":"menu"}),(function(){var e=this.option("itemDeleteMode");return"slideItem"===e&&(e="slide"),"hold"===e&&(e="context"),e})),d((function(){return"none"!==this.option("selectionMode")&&this.option("showSelectionControls")}),(function(){return"selection"}),(function(){return"default"})),d((function(){return this.option("itemDragging.allowReordering")||this.option("itemDragging.allowDropInsideItem")||this.option("itemDragging.group")}),(function(){return"reorder"}),(function(){return"default"}));var h=o.inherit({ctor:function(e){this._list=e,this._fetchRequiredDecorators()},dispose:function(){this._decorators&&this._decorators.length&&a(this._decorators,(function(e,t){t.dispose()}))},_fetchRequiredDecorators:function(){this._decorators=[],a(u,(function(e,t){if(t.enabled.call(this._list)){var n=t.decoratorType.call(this._list),i=t.decoratorSubType.call(this._list),r=this._createDecorator(n,i);this._decorators.push(r)}}).bind(this))},_createDecorator:function(e,t){return new(this._findDecorator(e,t))(this._list)},_findDecorator:function(e,t){var n=c.registry[e][t];if(!n)throw l.Error("E1012",e,t);return n},modifyItemElement:function(e){var t=i(e.itemElement),n={$itemElement:t};this._prependBeforeBags(t,n),this._appendAfterBags(t,n),this._applyDecorators("modifyElement",n)},afterItemsRendered:function(){this._applyDecorators("afterRender")},_prependBeforeBags:function(e,t){var n=this._collectDecoratorsMarkup("beforeBag",t,"dx-list-item-before-bag");
1e.prepend(n)},_appendAfterBags:function(e,t){var n=this._collectDecoratorsMarkup("afterBag",t,"dx-list-item-after-bag");e.append(n)},_collectDecoratorsMarkup:function(e,t,n){var r=i("<div>");return a(this._decorators,(function(){var o=i("<div>").addClass(n);this[e](s({$container:o},t)),o.children().length&&r.append(o)})),r.children()},_applyDecorators:function(e,t){a(this._decorators,(function(){this[e](t)}))},_handlerExists:function(e){if(!this._decorators)return!1;for(var t=this._decorators,n=t.length,i=0;i<n;i++)if(t[i][e]!==r)return!0;return!1},_eventHandler:function(e,t,n){if(!this._decorators)return!1;for(var i=!1,r=this._decorators,o=r.length,s=0;s<o&&!(i=r[s][e](t,n));s++);return i},handleClick:function(e,t){return this._eventHandler("handleClick",e,t)},handleKeyboardEvents:function(e,t){return this._eventHandler("handleKeyboardEvents",e,t)},handleEnterPressing:function(){return this._eventHandler("handleEnterPressing")},contextMenuHandlerExists:function(){return this._handlerExists("handleContextMenu")},handleContextMenu:function(e,t){return this._eventHandler("handleContextMenu",e,t)},getExcludedItemSelectors:function(){var e=[];return this._applyDecorators("getExcludedSelectors",e),e.join(",")}});e.exports=h},rwQK:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("y0aK"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("sorting",r.default)},"s+uk":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},s3DX:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n("FKN7"),o=n("tUd6"),s=n("cGv3"),a=n("xMpX").add,l=s.getWindow(),c=s.getNavigator(),u=n("jeLr"),d=n("hMwJ"),h=n("YQNt"),p=n("XWmc").compare,f=n("CWM8"),m=n("1LL4").extend,g=n("XpgS").inArray,_=n("v4HY").getPublicElement,b=f.changeCallback,v=n("tQ8k").hideCallback,y=n("vlix"),w=n("z7z0").fitIntoRange,C=n("v4HY"),x=n("KAnu").noop,S=n("ti0F"),k=n("zl3R").each,T=n("LdFP"),E=n("uHaw"),I=n("D6VQ"),D=n("zBVi"),M=n("i530"),O=n("gpjr"),R=n("KrLa"),L=n("JDOJ"),A=n("T4bj"),P=n("N+b8"),F=n("RG5Y").EmptyTemplate,B=n("tJvG").Deferred,H=n("rWRM"),V=n("6CN0"),N=["onShowing","onShown","onHiding","onHidden","onPositioning","onPositioned","onResizeStart","onResize","onResizeEnd"],z=[],j={top:{my:"top center",at:"top center"},bottom:{my:"bottom center",at:"bottom center"},right:{my:"right center",at:"right center"},left:{my:"left center",at:"left center"},center:{my:"center",at:"center"},"right bottom":{my:"right bottom",at:"right bottom"},"right top":{my:"right top",at:"right top"},"left bottom":{my:"left bottom",at:"left bottom"},"left top":{my:"left top",at:"left top"}},Y=T.real(),W=E.mozilla&&"desktop"===Y.deviceType,Q="ios"===Y.platform,$=E.safari&&"desktop"!==Y.deviceType,G="android"===Y.platform&&0===p(Y.version,[4,0],2)&&-1===c.userAgent.indexOf("Chrome"),K=function(e){return e&&r(e.target||e)};a((function(){u.subscribeGlobal(o.getDocument(),A.down,(function(e){for(var t=z.length-1;t>=0;t--)if(!z[t]._proxiedDocumentDownHandler(e))return}))}));var U=D.inherit({_supportedKeys:function(){var e=function(e,t,n){if(this.option("dragEnabled")){n.preventDefault(),n.stopPropagation();var i=this._allowedOffsets(),r={top:w(e,-i.top,i.bottom),left:w(t,-i.left,i.right)};this._changePosition(r)}};return m(this.callBase(),{escape:function(){this.hide()},upArrow:e.bind(this,-5,0),downArrow:e.bind(this,5,0),leftArrow:e.bind(this,0,-5),rightArrow:e.bind(this,0,5)})},_getDefaultOptions:function(){return m(this.callBase(),{activeStateEnabled:!1,visible:!1,deferRendering:!0,shading:!0,shadingColor:"",position:{my:"center",at:"center"},width:function(){return.8*r(l).width()},minWidth:null,maxWidth:null,height:function(){return.8*r(l).height()},minHeight:null,maxHeight:null,animation:{show:{type:"pop",duration:300,from:{scale:.55}},hide:{type:"pop",duration:300,to:{opacity:0,scale:.55},from:{opacity:1,scale:1}}},closeOnOutsideClick:!1,closeOnBackButton:!0,onShowing:null,onShown:null,onHiding:null,onHidden:null,contentTemplate:"content",dragEnabled:!1,resizeEnabled:!1,onResizeStart:null,onResize:null,onResizeEnd:null,innerOverlay:!1,target:void 0,container:void 0,hideTopOverlayHandler:void 0,closeOnTargetScroll:!1,onPositioned:null,boundaryOffset:{h:0,v:0},propagateOutsideClick:!1,ignoreChildEvents:!0,_checkParentVisibility:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){var e=T.real();return"android"===e.platform&&p(e.version,[4,2])<0},options:{animation:{show:{type:"fade",duration:400},hide:{type:"fade",duration:400,to:{opacity:0}
1,from:{opacity:1}}}}},{device:function(){return!s.hasWindow()},options:{width:null,height:null,animation:null,_checkParentVisibility:!1}}])},_setOptionsByReference:function(){this.callBase(),m(this._optionsByReference,{animation:!0})},_getAnonymousTemplateName:function(){return"content"},_wrapper:function(){return this._$wrapper},_container:function(){return this._$content},_eventBindingTarget:function(){return this._$content},_init:function(){this.callBase(),this._initActions(),this._initCloseOnOutsideClickHandler(),this._initTabTerminatorHandler(),this._$wrapper=r("<div>").addClass("dx-overlay-wrapper"),this._$content=r("<div>").addClass("dx-overlay-content"),this._initInnerOverlayClass();var e=this.$element();this._$wrapper.addClass(e.attr("class")),e.addClass("dx-overlay"),this._$wrapper.attr("data-bind","dxControlsDescendantBindings: true"),u.on(this._$wrapper,"MSPointerDown",x),u.on(this._$wrapper,"focusin",(function(e){e.stopPropagation()})),this._toggleViewPortSubscription(!0)},_initOptions:function(e){this._initTarget(e.target);var t=void 0===e.container?this.option("container"):e.container;this._initContainer(t),this._initHideTopOverlayHandler(e.hideTopOverlayHandler),this.callBase(e)},_initInnerOverlayClass:function(){this._$content.toggleClass("dx-inner-overlay",this.option("innerOverlay"))},_initTarget:function(e){if(S.isDefined(e)){var t=this.option();k(["position.of","animation.show.from.position.of","animation.show.to.position.of","animation.hide.from.position.of","animation.hide.to.position.of"],(function(n,i){for(var r=i.split("."),o=t;o;){if(1===r.length){S.isPlainObject(o)&&(o[r.shift()]=e);break}o=o[r.shift()]}}))}},_initContainer:function(e){e=void 0===e?f.value():e;var t=this.$element(),n=t.closest(e);n.length||(n=r(e).first()),this._$container=n.length?n:t.parent()},_initHideTopOverlayHandler:function(e){this._hideTopOverlayHandler=void 0!==e?e:this._defaultHideTopOverlayHandler.bind(this)},_defaultHideTopOverlayHandler:function(){this.hide()},_initActions:function(){this._actions={},k(N,(function(e,t){this._actions[t]=this._createActionByOption(t,{excludeValidators:["disabled","readOnly"]})||x}).bind(this))},_initCloseOnOutsideClickHandler:function(){var e=this;this._proxiedDocumentDownHandler=function(){return e._documentDownHandler.apply(e,arguments)}},_documentDownHandler:function(e){this._showAnimationProcessing&&this._stopAnimation();var t=this.option("closeOnOutsideClick");S.isFunction(t)&&(t=t(e));var n=this._$content,i=r(l.document).is(e.target)||C.contains(l.document,e.target),o=r(e.target).closest(".dx-inner-overlay").length;return i&&!o&&!(n.is(e.target)||C.contains(n.get(0),e.target))&&t&&this._outsideClickHandler(e),this.option("propagateOutsideClick")},_outsideClickHandler:function(e){this.option("shading")&&e.preventDefault(),this.hide()},_initTemplates:function(){this.callBase(),this._defaultTemplates.content=new F},_isTopOverlay:function(){for(var e=this._overlayStack(),t=e.length-1;t>=0;t--){var n=e[t]._findTabbableBounds();if(n.first||n.last)return e[t]===this}return!1},_overlayStack:function(){return z},_zIndexInitValue:function(){return U.baseZIndex()},_toggleViewPortSubscription:function(e){b.remove(this._viewPortChangeHandle),e&&(this._viewPortChangeHandle=this._viewPortChangeHandler.bind(this),b.add(this._viewPortChangeHandle))},_viewPortChangeHandler:function(){this._initContainer(this.option("container")),this._refresh()},_renderVisibilityAnimate:function(e){return this._stopAnimation(),e?this._show():this._hide()},_normalizePosition:function(){var e=this.option("position");this._position="function"==typeof e?e():e},_getAnimationConfig:function(){var e=this.option("animation");return S.isFunction(e)&&(e=e.call(this)),e},_show:function(){var e=this,t=new B;if(this._parentHidden=this._isParentHidden(),t.done((function(){delete e._parentHidden})),this._parentHidden)return this._isHidden=!0,t.resolve();if(this._currentVisible)return(new B).resolve().promise();this._currentVisible=!0,this._isShown=!1,this._normalizePosition();var n=e._getAnimationConfig()||{},i=this._normalizeAnimation(n.show,"to"),r=i&&i.start||x,o=i&&i.complete||x;if(this._isHidingActionCanceled)delete this._isHidingActionCanceled,t.resolve();else{var s=(function(){if(this._renderVisibility(!0),this._isShowingActionCanceled)return delete this._isShowingActionCanceled,void t.resolve();this._animate(i,(function(){e.option("focusStateEnabled")&&u.trigger(e._focusTarget(),"focus"),o.apply(this,arguments),e._showAnimationProcessing=!1,e._isShown=!0,e._actions.onShown(),e._toggleSafariScrolling(!1),t.resolve()}),(function(){r.apply(this,arguments),e._showAnimationProcessing=!0}))}).bind(this);this.option("templatesRenderAsynchronously")?(this._stopShowTimer(),this._asyncShowTimeout=setTimeout(s)):s()}return t.promise()},_normalizeAnimation:function(e,t){return e&&(e=m({type:"slide"},e))[t]&&"object"===i(e[t])&&m(e[t],{position:this._position}),e},_hide:function(){if(!this._currentVisible)return(new B).resolve().promise();this._currentVisible=!1;var e=this,t=new B,n=e._getAnimationConfig()||{},i=this._normalizeAnimation(n.hide,"from"),r=i&&i.start||x,o=i&&i.complete||x,s={cancel:!1};return this._isShowingActionCanceled?t.resolve():(this._actions.onHiding(s),e._toggleSafariScrolling(!0),s.cancel?(this._isHidingActionCanceled=!0,this.option("visible",!0),t.resolve()):(this._forceFocusLost(),this._toggleShading(!1),this._toggleSubscriptions(!1),this._stopShowTimer(),this._animate(i,(function(){e._$content.css("pointerEvents",""),e._renderVisibility(!1),o.apply(this,arguments),e._actions.onHidden(),t.resolve()}),(function(){e._$content.css("pointerEvents","none"),r.apply(this,arguments)})))),t.promise()},_forceFocusLost:function(){var e=o.getActiveElement();this._$content.find(e).length&&C.resetActiveElement()},_animate:function(e,t,n){e?d.animate(this._$content,m({},e,{start:n=n||e.start||x,complete:t})):t()},_stopAnimation:function(){d.stop(this._$content,!0)},_renderVisibility:function(e){if(!e||!this._isParentHidden()){if(this._currentVisible=e,this._stopAnimation(),e||C.triggerHidingEvent(this._$content),this._toggleVisibility(e),this._$content.toggleClass("dx-state-invisible",!e),this._updateZIndexStackPosition(e),e){this._renderContent();var t={cancel:!1};if(this._actions.onShowing(t),t.cancel)return this._toggleVisibility(!1),this._$content.toggleClass("dx-state-invisible",!0),this._updateZIndexStackPosition(!1),this._moveFromContainer(),this._isShowingActionCanceled=!0,void this.option("visible",!1);this._moveToContainer(),this._renderGeometry(),C.triggerShownEvent(this._$content),C.triggerResizeEvent(this._$content)}else this._moveFromContainer();this._toggleShading(e),this._toggleSubscriptions(e)}},_updateZIndexStackPosition:function(e){var t=this._overlayStack(),n=g(this,t);e?(-1===n&&(this._zIndex=H.create(this._zIndexInitValue()),t.push(this)),this._$wrapper.css("zIndex",this._zIndex),this._$content.css("zIndex",this._zIndex)):-1!==n&&(t.splice(n,1),H.remove(this._zIndex))},_toggleShading:function(e){this._$wrapper.toggleClass("dx-overlay-modal",this.option("shading")&&!this.option("container")),this._$wrapper.toggleClass("dx-overlay-shader",e&&this.option("shading")),this._$wrapper.css("backgroundColor",this.option("shading")?this.option("shadingColor"):""),this._toggleTabTerminator(e&&this.option("shading"))},_initTabTerminatorHandler:function(){var e=this;this._proxiedTabTerminatorHandler=function(){e._tabKeyHandler.apply(e,arguments)}},_toggleTabTerminator:function(e){var t=L.addNamespace("keydown",this.NAME);e?u.on(o.getDocument(),t,this._proxiedTabTerminatorHandler):u.off(o.getDocument(),t,this._proxiedTabTerminatorHandler)},_findTabbableBounds:function(){for(var e=this._$wrapper.find("*"),t=e.length-1,n={first:null,last:null},i=0;i<=t&&(!n.first&&e.eq(i).is(O.tabbable)&&(n.first=e.eq(i)),!n.last&&e.eq(t-i).is(O.tabbable)&&(n.last=e.eq(t-i)),!n.first||!n.last);i++);return n},_tabKeyHandler:function(e){if("tab"===L.normalizeKeyName(e)&&this._isTopOverlay()){var t=this._findTabbableBounds(),n=t.first,i=t.last,r=!e.shiftKey&&e.target===i.get(0),o=e.shiftKey&&e.target===n.get(0),s=0===t.length,a=!C.contains(this._$wrapper.get(0),e.target);if(r||o||s||a){e.preventDefault();var l=e.shiftKey?i:n;u.trigger(l,"focusin"),u.trigger(l,"focus")}}},_toggleSubscriptions:function(e){s.hasWindow()&&(this._toggleHideTopOverlayCallback(e),this._toggleParentsScrollSubscription(e))},_toggleHideTopOverlayCallback:function(e){this._hideTopOverlayHandler&&(e&&this.option("closeOnBackButton")?v.add(this._hideTopOverlayHandler):v.remove(this._hideTopOverlayHandler))},_toggleParentsScrollSubscription:function(e){if(this._position){var t=this._position.of||r(),n=this.option("closeOnTargetScroll"),i=K(t).parents(),o=L.addNamespace("scroll",this.NAME);"desktop"===T.real().deviceType&&(i=i.add(l)),this._proxiedTargetParentsScrollHandler=this._proxiedTargetParentsScrollHandler||(function(e){this._targetParentsScrollHandler(e)}).bind(this),u.off(r().add(this._$prevTargetParents),o,this._proxiedTargetParentsScrollHandler),e&&n&&(u.on(i,o,this._proxiedTargetParentsScrollHandler),this._$prevTargetParents=i)}},_targetParentsScrollHandler:function(e){var t=!1,n=this.option("closeOnTargetScroll");S.isFunction(n)&&(t=n(e)),t||this._showAnimationProcessing||this.hide()},_render:function(){this.callBase(),this._appendContentToElement(),this._renderVisibilityAnimate(this.option("visible"))},_appendContentToElement:function(){this._$content.parent().is(this.$element())||this._$content.appendTo(this.$element())},_renderContent:function(){var e=!this._currentVisible&&this.option("deferRendering");this.option("visible")&&this._isParentHidden()?this._isHidden=!0:this._contentAlreadyRendered||e||(this._contentAlreadyRendered=!0,this._appendContentToElement(),this.callBase())},_isParentHidden:function(){if(!this.option("_checkParentVisibility"))return!1;if(void 0!==this._parentHidden)return this._parentHidden;var e=this.$element().parent();if(e.is(":visible"))return!1;var t=!1;return e.add(e.parents()).each((function(){if("none"===r(this).css("display"))return t=!0,!1})),t||!o.getBody().contains(e.get(0))},_renderContentImpl:function(){var e=this,t=new B,n=this.option("contentTemplate"),i=this._getTemplate(n),r=this._getAnonymousTemplateName()===n;return i&&i.render({container:_(this.$content()),noModel:!0,transclude:r,onRendered:function(){t.resolve()}}),this._renderDrag(),this._renderResize(),this._renderScrollTerminator(),t.done((function(){e.option("visible")&&e._moveToContainer()})),t.promise()},_renderDrag:function(){var e=this._getDragTarget();if(e){var t=L.addNamespace(R.start,this.NAME),n=L.addNamespace(R.move,this.NAME);u.off(e,t),u.off(e,n),this.option("dragEnabled")&&(u.on(e,t,this._dragStartHandler.bind(this)),u.on(e,n,this._dragUpdateHandler.bind(this)))}},_renderResize:function(){this._resizable=this._createComponent(this._$content,P,{handles:this.option("resizeEnabled")?"all":"none",onResizeEnd:this._resizeEndHandler.bind(this),onResize:this._actions.onResize.bind(this),onResizeStart:this._actions.onResizeStart.bind(this),minHeight:100,minWidth:100,area:this._getDragResizeContainer()})},_resizeEndHandler:function(){this._positionChangeHandled=!0;var e=this._resizable.option("width"),t=this._resizable.option("height");e&&this.option("width",e),t&&this.option("height",t),this._actions.onResizeEnd()},_renderScrollTerminator:function(){var e=this._wrapper(),t=L.addNamespace(R.move,this.NAME);u.off(e,t),u.on(e,t,{validate:function(){return!0},getDirection:function(){return"both"},_toggleGestureCover:function(e){e||this._toggleGestureCoverImpl(e)},_clearSelection:x,isNative:!0},(function(e){var t=e.originalEvent.originalEvent;e._cancelPreventDefault=!0,t&&"mousemove"!==t.type&&!1!==e.cancelable&&e.preventDefault()}))},_getDragTarget:function(){return this.$content()},_dragStartHandler:function(e){e.targetElements=[],this._prevOffset={x:0,y:0};var t=this._allowedOffsets();e.maxTopOffset=t.top,e.maxBottomOffset=t.bottom,e.maxLeftOffset=t.left,e.maxRightOffset=t.right},_getDragResizeContainer:function(){return f.originalViewPort().get(0)||this.option("container")?this._$container:r(l)},_deltaSize:function(){var e=this._$content,t=this._getDragResizeContainer(),n=e.outerWidth(),i=e.outerHeight(),s=t.outerWidth(),a=t.outerHeight();if(this._isWindow(t)){var l=o.getDocument();a=Math.max(r(l).outerHeight(),a),s=Math.max(r(l).outerWidth(),s)}return{width:s-n,height:a-i}},_dragUpdateHandler:function(e){var t=e.offset,n=this._prevOffset;this._changePosition({top:t.y-n.y,left:t.x-n.x}),this._prevOffset=t},_changePosition:function(e){var t=h.locate(this._$content);h.move(this._$content,{left:t.left+e.left,top:t.top+e.top}),this._positionChangeHandled=!0},_allowedOffsets:function(){var e=h.locate(this._$content),t=this._deltaSize(),n=t.height>=0&&t.width>=0,i=!this.option("shading")||this.option("container")||this._isWindow(this._getContainer())?{top:0,left:0}:h.locate(this._$wrapper),r=this.option("boundaryOffset");return{top:n?e.top+i.top+r.v:0,bottom:n?-e.top-i.top+t.height-r.v:0,left:n?e.left+i.left+r.h:0,right:n?-e.left-i.left+t.width-r.h:0}},_moveFromContainer:function(){this._$content.appendTo(this.$element()),this._detachWrapperToContainer()},_detachWrapperToContainer:function(){this._$wrapper.detach()},_moveToContainer:function(){this._attachWrapperToContainer(),this._$content.appendTo(this._$wrapper)},_attachWrapperToContainer:function(){var e=this.$element(),t=void 0!==this.option("container")?this._$container:V.get
1SwatchContainer(e);t&&t[0]===e.parent()[0]&&(t=e),this._$wrapper.appendTo(t)},_fixHeightAfterSafariAddressBarResizing:function(){this._isWindow(this._getContainer())&&$&&this._$wrapper.css("minHeight",l.innerHeight)},_renderGeometry:function(e){this.option("visible")&&s.hasWindow()&&this._renderGeometryImpl(e)},_renderGeometryImpl:function(e){this._stopAnimation(),this._normalizePosition(),this._renderWrapper(),this._fixHeightAfterSafariAddressBarResizing(),this._renderDimensions();var t=this._renderPosition();this._actions.onPositioned({position:t})},_fixWrapperPosition:function(){this._$wrapper.css("position",this._useFixedPosition()?"fixed":"absolute")},_useFixedPosition:function(){var e=this._getContainer();return this._isWindow(e)&&(!Q||void 0!==this._bodyScrollTop)},_toggleSafariScrolling:function(e){if(Q&&this._useFixedPosition()){var t=o.getBody();e?(r(t).removeClass("dx-prevent-safari-scrolling"),l.scrollTo(0,this._bodyScrollTop),this._bodyScrollTop=void 0):this.option("visible")&&(this._bodyScrollTop=l.pageYOffset,r(t).addClass("dx-prevent-safari-scrolling"))}},_renderWrapper:function(){this._fixWrapperPosition(),this._renderWrapperDimensions(),this._renderWrapperPosition()},_renderWrapperDimensions:function(){var e,t,n=this._getContainer();if(n){var i=this._isWindow(n);e=i?null:n.outerWidth(),t=i?null:n.outerHeight(),this._$wrapper.css({width:e,height:t})}},_isWindow:function(e){return!!e&&S.isWindow(e.get(0))},_renderWrapperPosition:function(){var e=this._getContainer();e&&y.setup(this._$wrapper,{my:"top left",at:"top left",of:e})},_getContainer:function(){var e=this._position,t=this.option("container"),n=null;return!t&&e&&(n=e.of&&e.of.preventDefault?l:e.of||l),K(t||n)},_renderDimensions:function(){var e=this._$content.get(0);this._$content.css({minWidth:this._getOptionValue("minWidth",e),maxWidth:this._getOptionValue("maxWidth",e),minHeight:this._getOptionValue("minHeight",e),maxHeight:this._getOptionValue("maxHeight",e),width:this._getOptionValue("width",e),height:this._getOptionValue("height",e)})},_renderPosition:function(){if(!this._positionChangeHandled){this._renderOverlayBoundaryOffset(),h.resetPosition(this._$content);var e=this._transformStringPosition(this._position,j),t=y.setup(this._$content,e);return function(e){if(W&&e.width(),G){var t=e.parents();t.is(".dx-scrollable-native")||(t.css("backfaceVisibility","hidden"),t.css("backfaceVisibility"),t.css("backfaceVisibility","visible"))}}(this._$content),this._actions.onPositioning(),t}var n=this._allowedOffsets();this._changePosition({top:w(0,-n.top,n.bottom),left:w(0,-n.left,n.right)})},_transformStringPosition:function(e,t){return S.isString(e)&&(e=m({},t[e])),e},_renderOverlayBoundaryOffset:function(){var e=this.option("boundaryOffset");this._$content.css("margin",e.v+"px "+e.h+"px")},_focusTarget:function(){return this._$content},_attachKeyboardEvents:function(){this._keyboardProcessor=new M({element:this._$content,handler:this._keyboardHandler,context:this})},_keyboardHandler:function(e){var t=e.originalEvent,n=r(t.target);!n.is(this._$content)&&this.option("ignoreChildEvents")||this.callBase.apply(this,arguments)},_isVisible:function(){return this.option("visible")},_visibilityChanged:function(e){e?this.option("visible")&&this._renderVisibilityAnimate(e):this._renderVisibilityAnimate(e)},_dimensionChanged:function(){this._renderGeometry(!0)},_clean:function(){this._contentAlreadyRendered||this.$content().empty(),this._renderVisibility(!1),this._stopShowTimer(),this._cleanFocusState()},_stopShowTimer:function(){this._asyncShowTimeout&&clearTimeout(this._asyncShowTimeout),this._asyncShowTimeout=null},_dispose:function(){d.stop(this._$content,!1),clearTimeout(this._deferShowTimer),this._toggleViewPortSubscription(!1),this._toggleSubscriptions(!1),this._updateZIndexStackPosition(!1),this._toggleTabTerminator(!1),this._toggleSafariScrolling(!0),this._actions=null,this.callBase(),H.remove(this._zIndex),this._$wrapper.remove(),this._$content.remove()},_toggleDisabledState:function(e){this.callBase.apply(this,arguments),this._$content.toggleClass("dx-state-disabled",Boolean(e))},_toggleRTLDirection:function(e){this._$content.toggleClass("dx-rtl",e)},_optionChanged:function(e){var t=e.value;if(g(e.name,N)>-1)this._initActions();else switch(e.name){case"dragEnabled":this._renderDrag(),this._renderGeometry();break;case"resizeEnabled":this._renderResize(),this._renderGeometry();break;case"shading":case"shadingColor":this._toggleShading(this.option("visible"));break;case"width":case"height":case"minWidth":case"maxWidth":case"minHeight":case"maxHeight":case"boun
1daryOffset":this._renderGeometry();break;case"position":this._positionChangeHandled=!1,this._renderGeometry();break;case"visible":this._renderVisibilityAnimate(t).done((function(){this._animateDeferred&&this._animateDeferred.resolveWith(this)}).bind(this));break;case"target":this._initTarget(t),this._invalidate();break;case"container":this._initContainer(t),this._invalidate();break;case"innerOverlay":this._initInnerOverlayClass();break;case"deferRendering":case"contentTemplate":this._contentAlreadyRendered=!1,this._clean(),this._invalidate();break;case"closeOnBackButton":this._toggleHideTopOverlayCallback(this.option("visible"));break;case"closeOnTargetScroll":this._toggleParentsScrollSubscription(this.option("visible"));break;case"closeOnOutsideClick":case"animation":case"propagateOutsideClick":break;case"rtlEnabled":this._contentAlreadyRendered=!1,this.callBase(e);break;default:this.callBase(e)}},toggle:function(e){e=void 0===e?!this.option("visible"):e;var t=new B;if(e===this.option("visible"))return t.resolveWith(this,[e]).promise();var n=new B;return this._animateDeferred=n,this.option("visible",e),n.promise().done((function(){delete this._animateDeferred,t.resolveWith(this,[this.option("visible")])}).bind(this)),t.promise()},$content:function(){return this._$content},show:function(){return this.toggle(!0)},hide:function(){return this.toggle(!1)},content:function(){return _(this._$content)},repaint:function(){this._renderGeometry(),C.triggerResizeEvent(this._$content)}});U.baseZIndex=function(e){return H.base(e)},I("dxOverlay",U),e.exports=U},"s3Y/":function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("7OmB"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("filterRow",r.default)},sNoF:function(e,t,n){"use strict";var i=s(n("tUd6")),r=n("yxXJ"),o=s(n("ti0F"));function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.equals=function(e,t){return e=(0,r.toComparable)(e,!0),t=(0,r.toComparable)(t,!0),e&&t&&o.default.isRenderer(e)&&o.default.isRenderer(t)?t.is(e):!(e==e||t==t)||(0===e&&0===t?function(e,t){return 1/e==1/t}(e,t):!(null!==e&&"object"===a(e)&&!i.default.isElementNode(e))&&e===t)}},sVev:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},sdgK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=a(n("qrNs")),o=a(n("dSvQ")),s=n("3KJX");function a(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t){if("string"==typeof t)return function(t){var n=document.querySelectorAll(t);if(0!==n.length){for(var i=[],r=0;r<n.length;r++)i.push(e(n[r]));return i}}(t);if(Array.isArray(t)){for(var n=[],a=0;a<t.length;a++)n.push(e(t[a]));return n}if("undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLImageElement)return l=t,{element:c=document.createElement("canvas"),options:(0,r.default)(l),renderer:o.default.CanvasRenderer,afterRender:function(){l.setAttribute("src",c.toDataURL())}};if(t&&t.nodeName&&"svg"===t.nodeName.toLowerCase()||"undefined"!=typeof SVGElement&&t instanceof SVGElement)return{element:t,options:(0,r.default)(t),renderer:o.default.SVGRenderer};if("undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)return{element:t,options:(0,r.default)(t),renderer:o.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:o.default.CanvasRenderer};if(t&&"object"===(void 0===t?"undefined":i(t))&&!t.nodeName)return{element:t,renderer:o.default.ObjectRenderer};throw new s.InvalidElementException;var l,c}},sp3z:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%
1d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n("wd/R"))},"t+mt":function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},t2fQ:function(e,t,n){"use strict";var i=a(n("FKN7")),r=a(n("jeLr")),o=a(n("GBv4")),s=n("JDOJ");function a(e){return e&&e.__esModule?e:{default:e}}var l={setup:function(e){var t=(0,i.default)(e);r.default.on(t,(0,s.addNamespace)("wheel","dxWheel"),l._wheelHandler.bind(l))},teardown:function(e){r.default.off(e,".".concat("dxWheel"))},_wheelHandler:function(e){var t=e.originalEvent,n=t.deltaMode,i=t.deltaY,r=t.deltaX,o=t.deltaZ;(0,s.fireEvent)({type:"dxmousewheel",originalEvent:e,delta:this._normalizeDelta(i,n),deltaX:r,deltaY:i,deltaZ:o,deltaMode:n,pointerType:"mouse"}),e.stopPropagation()},_normalizeDelta:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return 0===t?-e:-30*e}};(0,o.default)("dxmousewheel",l),t.name="dxmousewheel"},tF6Q:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=y(n("FKN7")),o=y(n("tUd6")),s=y(n("jeLr")),a=y(n("GYHJ")),l=n("8S5z"),c=n("ti0F"),u=n("XpgS"),d=n("gpjr"),h=y(n("i530")),p=y(n("JDOJ")),f=y(n("T4bj")),m=y(n("XCcL")),g=n("KAnu"),_=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=function(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return e}();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=r?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n("Yt8F")),b=y(n("uHaw")),v=y(n("LdFP"));function y(e){return e&&e.__esModule?e:{default:e}}var w="input:not([type='hidden']), textarea, a, select, [tabindex]";function C(e){return e&&e.hasClass("dx-group-row")}function x(e){return e&&e.hasClass("dx-master-detail-row")}function S(e){return e&&!C(e)&&!x(e)}function k(e){return e.length&&"TD"===e[0].tagName}function T(e,t){return!e._isRowEditMode()&&t&&!t.hasClass("dx-command-select")&&t.hasClass("dx-editor-cell")}function E(e){return(0,c.isDefined)(e)&&e.length>0}function I(){return"desktop"!==v.default.current().deviceType}var D=a.default.ViewController.inherit({init:function(){var e=this;e.isKeyboardEnabled()&&(_.subscribeVisibilityChange(),e._dataController=e.getController("data"),e._selectionController=e.getController("selection"),e._editingController=e.getController("editing"),e._headerPanel=e.getView("headerPanel"),e._columnsController=e.getController("columns"),e.getController("editorFactory").focused.add((function(t){e.setupFocusedView(),e._isNeedScroll&&t.is(":visible")&&e._focusedView&&e._focusedView.getScrollable&&(e._focusedView._scrollToElement(t),e._isNeedScroll=!1)})),e._fastEditingStarted=!1,e._focusedCellPosition={},e._canceledCellPosition=null,e._initViewHandlers(),e._initDocumentHandlers())},_initViewHandlers:function(){var e=this,t=e.createAction(e._pointerEventHandler),n=e.getView("rowsView");
1n.renderCompleted.add((function(i){var o=n.element(),a=!i||"refresh"===i.changeType,l=e._focusedView&&e._focusedView.name===n.name,c=i&&("append"===i.changeType||"prepend"===i.changeType),u=".".concat("dx-row"," > td, .").concat("dx-row"),d=(0,r.default)(":focus"),h=!d.length||d.closest(o).length||b.default.msie&&d.is("body"),g=I()?m.default.name:f.default.down;s.default.off(o,p.default.addNamespace(g,"dxDataGridKeyboardNavigation"),t),s.default.on(o,p.default.addNamespace(g,"dxDataGridKeyboardNavigation"),u,t),e._initKeyDownProcessor(e,o,e._keyDownHandler),e._setRowsViewAttributes(o),l&&h&&(e._isNeedFocus?!c:e._isHiddenFocus&&a)&&e._updateFocus(!0)}))},_initDocumentHandlers:function(){var e=this,t=o.default.getDocument();e._documentClickHandler=e.createAction((function(t){var n=(0,r.default)(t.event.target),i=e._isEventInCurrentGrid(t.event)&&n.closest(".".concat(e.addWidgetPrefix("rowsview"))).length,o=n.closest(".".concat("dx-dropdowneditor-overlay")).length;i||o||e._resetFocusedCell()})),e.createAction("onKeyDown"),s.default.on(t,p.default.addNamespace(f.default.down,"dxDataGridKeyboardNavigation"),e._documentClickHandler)},_setRowsViewAttributes:function(e){!this._dataController.getVisibleRows().length&&this._applyTabIndexToElement(e)},_initKeyDownProcessor:function(e,t,n){this._keyDownProcessor&&(this._keyDownProcessor.dispose(),this._keyDownProcessor=null),this._keyDownProcessor=new h.default({element:t,context:e,handler:n})},dispose:function(){this.callBase(),this._focusedView=null,this._keyDownProcessor&&this._keyDownProcessor.dispose(),s.default.off(o.default.getDocument(),p.default.addNamespace(f.default.down,"dxDataGridKeyboardNavigation"),this._documentClickHandler),_.unsubscribeVisibilityChange()},optionChanged:function(e){switch(e.name){case"keyboardNavigation":case"useLegacyKeyboardNavigation":e.handled=!0;break;default:this.callBase(e)}},isRowFocusType:function(){return"row"===this.focusType},isCellFocusType:function(){return"cell"===this.focusType},setRowFocusType:function(){this.option("focusedRowEnabled")&&(this.focusType="row")},setCellFocusType:function(){this.focusType="cell"},_keyDownHandler:function(e){var t=this._editingController.isEditing(),n=!0,i=e.originalEvent,r=this._processOnKeyDown(e);if(!i.isDefaultPrevented()&&(this._isNeedFocus=!0,this._isNeedScroll=!0,this._updateFocusedCellPositionByTarget(i.target),!r)){switch(e.keyName){case"leftArrow":case"rightArrow":this._leftRightKeysHandler(e,t);break;case"upArrow":case"downArrow":e.ctrl?_.selectView("rowsView",this,i):this._upDownKeysHandler(e,t);break;case"pageUp":case"pageDown":this._pageUpDownKeyHandler(e);break;case"space":this._spaceKeyHandler(e,t);break;case"A":e.ctrl?this._ctrlAKeyHandler(e,t):this._beginFastEditing(e.originalEvent);break;case"tab":this._tabKeyHandler(e,t);break;case"enter":this._enterKeyHandler(e,t);break;case"escape":this._escapeKeyHandler(e,t);break;case"F":e.ctrl?this._ctrlFKeyHandler(e):this._beginFastEditing(e.originalEvent);break;case"F2":this._f2KeyHandler();break;case"del":case"backspace":this._isFastEditingAllowed()&&!this._isFastEditingStarted()&&this._beginFastEditing(i,!0);break;default:this._beginFastEditing(i)||(this._isNeedFocus=!1,this._isNeedScroll=!1,n=!1)}n&&i.stopPropagation()}},_processOnKeyDown:function(e){var t=e.originalEvent,n={handled:!1,event:t};return this.executeAction("onKeyDown",n),e.ctrl=t.ctrlKey,e.alt=t.altKey,e.shift=t.shiftKey,!!n.handled},_closeEditCell:function(){var e=this;setTimeout((function(){e._editingController.closeEditCell()}))},_leftRightKeysHandler:function(e,t){var n=this.getVisibleRowIndex(),i=e.originalEvent,r=this._focusedView&&this._focusedView.getRow(n),o=this._getDirectionCodeByKey(e.keyName),s=this._isFastEditingStarted();if((!t||s)&&S(r)){this.setCellFocusType(),s&&this._closeEditCell();var a=this._getNextCell(o);E(a)&&this._arrowKeysHandlerFocusCell(i,a),i&&i.preventDefault()}},_upDownKeysHandler:function(e,t){var n=this.getVisibleRowIndex(),i=this._focusedView&&this._focusedView.getRow(n),r=e.originalEvent,o="upArrow"===e.keyName,s=this._dataController.dataSource(),a=this._isFastEditingStarted();if((!t||a)&&i&&!x(i)){if(a&&this._closeEditCell(),!this._navigateNextCell(r,e.keyName)&&this._isVirtualScrolling()&&o&&s&&!s.isLoading()){var l=i.outerHeight();this._scrollBy(-l,n=this._focusedCellPosition.rowIndex-1,r)}r&&r.preventDefault()}},_pageUpDownKeyHandler:function(e){var t=this._dataController.pageIndex(),n=this._dataController.pageCount(),i=this.option("paging.enabled"),r="pageUp"===e.keyName,o=r?-1:1,s=this.getView("rowsView").getScrollable();i&&!this._isVirtualScrolling()?(r?t>0:t<n-1)&&!this._isVirtualScrolling()&&(this._dataController.pageIndex(t+o),e.originalEvent.preventDefault()):s&&s._container().height()<s.$content().height()&&(this._scrollBy(s._container().height()*o),e.originalEvent.preventDefault())},_spaceKeyHandler:function(e,t){var n=this.getVisibleRowIndex(),i=(0,r.default)(e.originalEvent&&e.originalEvent.target);if(this.option("selection")&&"none"!==this.option("selection").mode&&!t){var o="row"===this._getElementType(i)&&this.isRowFocusType()&&S(i);i.hasClass("dx-command-select")&&"onClick"===this.option("selection.showCheckBoxesM
1ode")&&this._selectionController.startSelectionWithCheckboxes(),(o||i.parent().hasClass("dx-data-row")||i.hasClass(this.addWidgetPrefix("rowsview")))&&(this._selectionController.changeItemSelection(n,{shift:e.shift,control:e.ctrl}),e.originalEvent.preventDefault())}else this._beginFastEditing(e.originalEvent)},_ctrlAKeyHandler:function(e,t){!t&&e.ctrl&&!e.alt&&"multiple"===this.option("selection.mode")&&this.option("selection.allowSelectAll")&&(this._selectionController.selectAll(),e.originalEvent.preventDefault())},_tabKeyHandler:function(e,t){var n=this.option("editing"),i=e.shift?"previous":"next",o=!e.shift&&this._isLastValidCell(this._focusedCellPosition)||e.shift&&this._isFirstValidCell(this._focusedCellPosition),s=e.originalEvent.target,a=this._focusedView&&this._focusedView.element();if(!this._handleTabKeyOnMasterDetailCell(s,i)){if((0,r.default)(a).addClass("dx-state-focused"),n&&s&&!o)if((0,r.default)(s).hasClass(this.addWidgetPrefix("rowsview"))&&this._resetFocusedCell(),t){if(!this._editingCellTabHandler(e,i))return}else this._targetCellTabHandler(e,i)&&(o=!0);o?(this.getController("editorFactory").loseFocus(),this._editingController.isEditing()&&!this._isRowEditMode()&&(this._resetFocusedCell(),this._editingController.closeEditCell())):e.originalEvent.preventDefault()}},_editingCellTabHandler:function(e,t){var n,i=e.originalEvent.target,r=this._getCellElementFromTarget(i),o=e.originalEvent,s=this._getElementType(i);if(r.is("[class^=dx-command]"))return!this._targetCellTabHandler(e,t);this._updateFocusedCellPosition(r);var a=this._getNextCellByTabKey(o,t,s);if(!(r=a.$cell)||this._handleTabKeyOnMasterDetailCell(r,t))return!1;var l=this._columnsController.getVisibleColumns()[this.getView("rowsView").getCellIndex(r)],c=this._dataController.items()[this._getRowIndex(r&&r.parent())];if(l.allowEditing){var u=!c||"data"===c.rowType;n=this._editingController.allowUpdating({row:c})?u:c&&c.isNewRow}return n||this._closeEditCell(),this._focusCell(r,!a.isHighlighted)&&(!this._isRowEditMode()&&n?this._editingController.editCell(this.getVisibleRowIndex(),this._focusedCellPosition.columnIndex):this._focusInteractiveElement(r,e.shift)),!0},_targetCellTabHandler:function(e,t){var n,i=e.originalEvent,o=i.target,s=this._getCellElementFromTarget(o),a=this._getInteractiveElement(s,!e.shift),l=!1;if(!T(this,s)&&a.length&&o!==a.get(0))l=!0;else{void 0===this._focusedCellPosition.rowIndex&&(0,r.default)(o).hasClass("dx-row")&&this._updateFocusedCellPosition(s),n=this._getElementType(o),this.isRowFocusType()&&(this.setCellFocusType(),"row"===n&&S((0,r.default)(o))&&(o=this.getFirstValidCellInRow((0,r.default)(o)),n=this._getElementType(o)));var c=this._getNextCellByTabKey(i,t,n);if(!(s=c.$cell))return!1;if(!(s=this._checkNewLineTransition(i,s)))return!1;this._focusCell(s,!c.isHighlighted),T(this,s)||this._focusInteractiveElement(s,e.shift)}return l},_getNextCellByTabKey:function(e,t,n){var i=this._getNextCell(t,n),r=i&&this._fireFocusedCellChanging(e,i,!0);return!r||r.cancel?{}:(r.$newCellElement&&(i=r.$newCellElement),{$cell:i,isHighlighted:r.isHighlighted})},_checkNewLineTransition:function(e,t){var n=this.getVisibleRowIndex(),i=t.parent();if(n!==this._getRowIndex(i)){var r=this._getCellPosition(t),o=this._fireFocusedRowChanging(e,i);if(o.cancel)return;o.rowIndexChanged&&(this.setFocusedColumnIndex(r.columnIndex),t=this._getFocusedCell())}return t},_enterKeyHandler:function(e,t){var n=this._getFocusedCell(),i=this.getVisibleRowIndex(),r=this._focusedView&&this._focusedView.getRow(i);if(this.option("grouping.allowCollapsing")&&C(r)||this.option("masterDetail.enabled")&&n&&n.hasClass("dx-command-expand")){var o=this._dataController.getKeyByRowIndex(i),s=this._dataController.items()[i];void 0!==o&&s&&s.data&&!s.data.isContinuation&&this._dataController.changeRowExpand(o)}else this._processEnterKeyForDataCell(e,t)},_processEnterKeyForDataCell:function(e,t){var n=this._getEnterKeyDirection(e),i=this._allowEditingOnEnterKey();t||!i&&n?(this._handleEnterKeyEditingCell(e.originalEvent),"next"===n||"previous"===n?this._targetCellTabHandler(e,n):"upArrow"!==n&&"downArrow"!==n||this._navigateNextCell(e.originalEvent,n)):i&&this._startEditing(e)},_getEnterKeyDirection:function(e){var t=this.option("keyboardNavigation.enterKeyDirection"),n=e.shift;return"column"===t?n?"upArrow":"downArrow":"row"===t?n?"previous":"next":void 0},_handleEnterKeyEditingCell:function(e){var t=e.target,n=this._getCellElementFromTarget(t),i=this._isRowEditMode();this._updateFocusedCellPosition(n),i?(this._focusEditFormCell(n),setTimeout(this._editingController.saveEditData.bind(this._editingController))):(s.default.trigger((0,r.default)(t),"change"),this._closeEditCell(),e.preventDefault())},_escapeKeyHandler:function(e,t){var n=this._getCellElementFromTarget(e.originalEvent.target);t&&(this._updateFocusedCellPosition(n),this._isRowEditMode()?(this._focusEditFormCell(n),this._editingController.cancelEditData()):"cell"===this._editingController.getEditMode()?this._editingController.cancelEditData():this._editingController.closeEditCell(),e.originalEvent.preventDefault())},_ctrlFKeyHandler:function(e){if(this.option("searchPanel.visible")){var t=this._headerPanel.getSearchTextEditor();t&&(t.focus(),e.originalEvent.preventDefault())}},_f2KeyHandler:function(){var e=this._editingController.isEditing(),t=this.getVisibleRowIndex(),n=this._focusedView&&this._focusedView.getRow(t);!e&&S(n)&&this._startEditing()},_navigateNextCell:function(e,t){var n=this._getNextCell(t);return!(!n||!this._isCellValid(n))&&this._arrowKeysHandlerFocusCell(e,n,!0)},_arrowKeysHandlerFocusCell:function(e,t,n){var i=this._fireFocusChangingEvents(e,t,n,!0);return t=i.$newCellElement,!(i.cancel||!this._isCellValid(t)||(this._focus(t,!i.isHighlighted),0))},_beginFastEditing:function(e,t){if(!this._isFastEditingAllowed()||e.altKey||e.ctrlKey||this._editingController.isEditing())return!1;if(t)this._startEditing(e,"delete");else{var n=e.keyCode||e.which,i=e.key||n&&String.fromCharCode(n);!i||1!==i.length&&"delete"!==i||this._startEditing(e,i)}return!0},_pointerEventHandler:function(e){var t=e.event||e,n=(0,r.default)(t.currentTarget),i=this.getView("rowsView"),o=i&&i.element
1(),s=n.parent(),a=s.hasClass("dx-edit-row"),l=(0,r.default)(t.target).is(w);this._isEventInCurrentGrid(t)&&this._isCellValid(n,!l)?(n=this._isInsideEditForm(n)?(0,r.default)(t.target):n,this._focusView(),(0,r.default)(o).removeClass("dx-state-focused"),s.hasClass("dx-freespace-row")?(this._updateFocusedCellPosition(n),this._applyTabIndexToElement(this._focusedView.element()),this._focusedView.focus()):this._isMasterDetailCell(n)||a?this._updateFocusedCellPosition(n):this._clickTargetCellHandler(t,n)):n.is("td")&&this._resetFocusedCell()},_clickTargetCellHandler:function(e,t){var n=this.getView("rowsView").getCellIndex(t),i=this._columnsController.getVisibleColumns()[n],o=this._isCellEditMode();this.setCellFocusType();var s=this._fireFocusChangingEvents(e,t,!0);if(t=s.$newCellElement,s.cancel)this.setRowFocusType(),this.setFocusedRowIndex(s.prevRowIndex),t=this._getFocusedCell(),this._editingController.isEditing()&&o&&this._editingController.closeEditCell();else{if(s.resetFocusedRow)return void this.getController("focus")._resetFocusedRow();if(s.rowIndexChanged&&(t=this._getFocusedCell()),s.isHighlighted||o||this.setRowFocusType(),this._updateFocusedCellPosition(t),this._allowRowUpdating()&&o&&i&&i.allowEditing)this._isNeedFocus=!1,this._isHiddenFocus=!1;else{var a=e&&(0,r.default)(e.target).closest(w+", td"),l=a&&a.not(t).is(w),c=!i.command&&t.hasClass("dx-editor-cell");this._focus(t,!c&&(!s.isHighlighted||l),l)}}},_allowRowUpdating:function(){var e=this.getVisibleRowIndex(),t=this._dataController.items()[e];return this._editingController.allowUpdating({row:t},"click")},focus:function(e){var t,n=this.option("focusedRowEnabled"),i=k((0,r.default)(e));e||(t=".dx-datagrid-rowsview .dx-row[tabindex]",n||(t+=", .dx-datagrid-rowsview .dx-row > td[tabindex]"),e=this.component.$element().find(t).first()),e&&this._focusElement((0,r.default)(e),i)},getFocusedView:function(){return this._focusedView},setupFocusedView:function(){this.isKeyboardEnabled()&&!(0,c.isDefined)(this._focusedView)&&this._focusView()},_focusElement:function(e,t){var n=(0,r.default)(this._getRowsViewElement()),i=e.closest(n),o=this.isRowFocusType(),s={};!i.length||k(e)&&!this._isCellValid(e)||(this._focusView(),this._isNeedFocus=!0,this._isNeedScroll=!0,(k(e)||C(e))&&(this.setCellFocusType(),e=(s=this._fireFocusChangingEvents(null,e,!1,t)).$newCellElement,o&&!s.isHighlighted&&this.setRowFocusType()),this._focus(e,!s.isHighlighted),this._focusInteractiveElement(e))},_getFocusedViewByElement:function(e){var t=this.getFocusedView(),n=t&&(0,r.default)(t.element());return e&&0!==e.closest(n).length},_focusView:function(){this._focusedView=this.getView("rowsView")},_focusInteractiveElement:function(e,t){if(e){var n=this._getInteractiveElement(e,t);(0,l.focusAndSelectElement)(this,n)}},_focus:function(e,t,n){var i=e&&!e.hasClass("dx-row")?e.closest(".".concat("dx-row")):e;if(!i||!function(e){return!e||e.hasClass("dx-freespace-row")||e.hasClass("dx-virtual-row")}(i)){var r,o=this._focusedView,a=o&&o.element();this._isHiddenFocus=t,C(i)||this.isRowFocusType()?(r=i,o&&this.setFocusedRowIndex(this._getRowIndex(i))):k(e)&&(r=e,this._updateFocusedCellPosition(e)),r&&(a&&a.find(".dx-row[tabIndex], .dx-row > td[tabindex]").not(r).removeClass("dx-cell-focus-disabled").removeAttr("tabIndex"),s.default.one(r,"blur",(function(e){e.relatedTarget&&r.removeClass("dx-cell-focus-disabled")})),n||(this._applyTabIndexToElement(r),s.default.trigger(r,"focus")),t?r.addClass("dx-cell-focus-disabled"):this.getController("editorFactory").focus(r))}},_updateFocus:function(e){var t=this;setTimeout((function(){var n=t._getFocusedCell(),i=t.getController("editing").isEditing();if(n&&(!t._isMasterDetailCell(n)||t._isRowEditMode())&&(t._hasSkipRow(n.parent())&&(n=t._getNextCell(t._focusedCellPosition&&t._focusedCellPosition.rowIndex>0?"upArrow":"downArrow")),E(n))){if(e&&!i&&t._checkCellOverlapped(n))return;n.is("td")||n.hasClass(t.addWidgetPrefix("edit-form-item"))?(!n.is("[class^=dx-command]")&&t.getController("editorFactory").focus()?t._focus(n):t._isCellEditMode()?t._focus(n,t._isHiddenFocus):t._isHiddenFocus&&t._focus(n,!0),i&&t._focusInteractiveElement.bind(t)(n)):s.default.trigger(n,"focu
1s")}}))},_checkCellOverlapped:function(e){var t=e.offset(),n=!1;return this.component.getScrollable&&this.component.getScrollable()&&(t.left<0?n=e.width()+t.left<=0:t.top<0&&(n=e.height()+t.top<=0)),n},_getFocusedCell:function(){return(0,r.default)(this._getCell(this._focusedCellPosition))},_updateFocusedCellPositionByTarget:function(e){var t;if("row"===this._getElementType(e)&&(0,c.isDefined)(null===(t=this._focusedCellPosition)||void 0===t?void 0:t.columnIndex)){var n=(0,r.default)(e);this._focusedView&&C(n)&&this.setFocusedRowIndex(this._getRowIndex(n))}else this._updateFocusedCellPosition(this._getCellElementFromTarget(e))},_updateFocusedCellPosition:function(e,t){var n=this._getCellPosition(e,t);return n&&(!e.length||n.rowIndex>=0&&n.columnIndex>=0)&&this.setFocusedCellPosition(n.rowIndex,n.columnIndex),n},_getCellPosition:function(e,t){var n,i=E(e)&&e.closest("tr"),r=this.getView("rowsView");if(E(i)){var o=this._getRowIndex(i);return n=r.getCellIndex(e,o),t&&(n=this._applyColumnIndexBoundaries(n="previous"===t?n-1:n+1)),{rowIndex:o,columnIndex:n}}},_focusCell:function(e,t){if(this._isCellValid(e))return this._focus(e,t),!0},_focusEditFormCell:function(e){e.hasClass("dx-master-detail-cell")&&this.getController("editorFactory").focus(e,!0)},_resetFocusedCell:function(){var e=this._getFocusedCell();e&&e.removeAttr("tabIndex"),this._focusedView&&this._focusedView.renderFocusState&&this._focusedView.renderFocusState(),this._isNeedFocus=!1,this._isNeedScroll=!1,this._focusedCellPosition={}},restoreFocusableElement:function(e,t){var n,i,r=(0,c.isDefined)(e),o=this.getView("rowsView"),a=o.element(),l=this._focusedCellPosition.columnIndex,u=this._dataController.getRowIndexOffset();e=r?e:o.getTopVisibleItemIndex()+u,r?(i=o.getRow(e-u),!(n=this._fireFocusedRowChanging(t,i)).cancel&&n.rowIndexChanged&&(e=n.newRowIndex)):(this.getController("editorFactory").loseFocus(),this._applyTabIndexToElement(a),s.default.trigger(a,"focus")),r&&n.cancel||this.setFocusedCellPosition(e,l),r&&this._updateFocus()},_getNewPositionByCode:function(e,t,n){var i=e.columnIndex,r=e.rowIndex;if(void 0===e.rowIndex&&"next"===n)return{columnIndex:0,rowIndex:0};switch(n){case"nextInRow":case"next":i<this._getVisibleColumnCount()-1&&!this._isLastValidCell({columnIndex:i,rowIndex:r})&&"row"!==t?i++:this._isLastRow(r)||"next"!==n||(i=0,r++);break;case"previousInRow":case"previous":i>0&&!this._isFirstValidCell({columnIndex:i,rowIndex:r})&&"row"!==t?i--:r>0&&"previous"===n&&(r--,i=this._getVisibleColumnCount()-1);break;case"upArrow":r=r>0?r-1:r;break;case"downArrow":r=this._isLastRow(r)?r:r+1}return{columnIndex:i,rowIndex:r}},setFocusedCellPosition:function(e,t){this.setFocusedRowIndex(e),this.setFocusedColumnIndex(t)},setFocusedRowIndex:function(e){this._focusedCellPosition||(this._focusedCellPosition={}),this._focusedCellPosition.rowIndex=e},setFocusedColumnIndex:function(e){this._focusedCellPosition||(this._focusedCellPosition={}),this._focusedCellPosition.columnIndex=e},getVisibleRowIndex:function(){return this._focusedCellPosition?this._focusedCellPosition.rowIndex?this._focusedCellPosition.rowIndex-this._dataController.getRowIndexOffset():this._focusedCellPosition.rowIndex:null},getVisibleColumnIndex:function(){return this._focusedCellPosition&&(0,c.isDefined)(this._focusedCellPosition.columnIndex)?this._focusedCellPosition.columnIndex:-1},getFocusedColumnIndex:function(){return this._focusedCellPosition?this._focusedCellPosition.columnIndex:null},_applyColumnIndexBoundaries:function(e){var t=this._getVisibleColumnCount();return e<0?e=0:e>=t&&(e=t-1),e},_isCellByPositionValid:function(e){var t=(0,r.default)(this._getCell(e));return this._isCellValid(t)},_isLastRow:function(e){return this._isVirtualScrolling()?e>=this._dataController.totalItemsCount()-1:e===this.getController("data").items().length-1},_isFirstValidCell:function(e){var t=!1;return 0===e.rowIndex&&e.columnIndex>=0&&(t=t||!this._haveValidCellBeforePosition(e)),t},_haveValidCellBeforePosition:function(e){for(var t=e.columnIndex,n=!1;t>0&&!n;){var i={columnIndex:--t,rowIndex:e.rowIndex};n=this._isCellByPositionValid(i)}return n},_isLastValidCell:function(e){var t=e.rowIndex,n={columnIndex:e.columnIndex>=0?e.columnIndex+1:0,rowIndex:t},i=this.getController("data").getVisibleRows(),r=i&&i[t];return!!this._isLastRow(t)&&(!!(r&&"group"===r.rowType&&e.columnIndex>0)||e.columnIndex===this._getVisibleColumnCount()-1||!this._isCellByPositionValid(n)&&this._isLastValidCell(n))},_isCellValid:function(e,t){if(E(e)&&this._columnsController){var n=this.getView("rowsView"),i=e.parent(),r=this._columnsController.getVisibleColumns(),o=n.getCellIndex(e),s=r[o],a=this._getVisibleColumnCount(),l=this._editingController,u=x(i),d=s&&s.showWhenGrouped,h=s&&!e.hasClass("dx-command-expand")&&S(i);if(this._isMasterDetailCell(e))return!0;
1if(a>o&&(!u&&s&&(!(0,c.isDefined)(s.groupIndex)||d&&h)||parseInt(e.attr("colspan"))>1)){var p=this._dataController.items(),f=n.getRowIndex(i),m=p[f],g=l&&this._isCellEditMode()&&l.isEditing(),_=l&&l.isEditRow(f),b=_||g;return s.command?this._isLegacyNavigation()?!b&&"expand"===s.command:g?!s.command:_?"select"!==s.command:!b:(!g||!m||"data"===m.rowType)&&(!b||s.allowEditing||t)}}},getFirstValidCellInRow:function(e,t){for(var n,i,r=e.find("> td"),o=t=t||0;o<r.length;++o)if(n=r.eq(o),this._isCellValid(n)){i=n;break}return i},_getNextCell:function(e,t,n){var i,o,s=n||this._focusedCellPosition,a=this.isRowFocusType(),l=a||(0,u.inArray)(e,["next","previous"])>-1,c="previous"===e?this._isFirstValidCell(s):this._isLastValidCell(s);if(this._focusedView&&s){var d=this._getNewPositionByCode(s,t,e);if(E(i=(0,r.default)(this._getCell(d)))&&!this._isCellValid(i)&&this._isCellInRow(d,l)&&!c&&(i=a?this.getFirstValidCellInRow(i.parent(),d.columnIndex):this._getNextCell(e,"cell",d)),o=E(i)&&i.parent(),this._hasSkipRow(o)){var h=this._getRowIndex(o);if(this._isLastRow(h))return null;i=this._getNextCell(e,"row",{columnIndex:s.columnIndex,rowIndex:h})}return E(i)?i:null}return null},_startEditing:function(e,t){var n=this._focusedCellPosition,i=this.getVisibleRowIndex(),r=this._dataController.items()[i],o=this._columnsController.getVisibleColumns()[n.columnIndex];this._isAllowEditing(r,o)&&(this._isRowEditMode()?this._editingController.editRow(i):n&&this._startEditingCell(e,t))},_isAllowEditing:function(e,t){return this.getController("editing").allowUpdating({row:e})&&t&&t.allowEditing},_startEditingCell:function(e,t){var n=this,i=this.getVisibleRowIndex(),r=this._focusedCellPosition.columnIndex;this._fastEditingStarted=(0,c.isDefined)(t);var o=this._editingController.editCell(i,r);if(this._isFastEditingStarted())if(!0===o)n._editingCellHandler(e,t);else if(o&&o.done){var s="delete"!==t?t:"";o.done((function(){return n._editingCellHandler(e,s)}))}},_editingCellHandler:function(e,t){var n=this._getFocusedCell().find(".dx-texteditor-input").eq(0),i=p.default.createEvent(e,{type:"keydown",target:n.get(0)}),r=p.default.createEvent(e,{type:"keypress",target:n.get(0)}),o=p.default.createEvent(e,{type:"input",target:n.get(0)});s.default.trigger(n,i),i.isDefaultPrevented()||(s.default.trigger(n,r),r.isDefaultPrevented()||setTimeout((function(){n.val(t);var e=n.closest(".".concat("dx-widget"));s.default.off(e,"focusout"),s.default.one(e,"focusout",(function(){s.default.trigger(n,"change")})),s.default.trigger(n,o)}),b.default.mozilla?25:0))},_fireFocusChangingEvents:function(e,t,n,i){var o={},s=this._getCellPosition(t)||{};return this.isCellFocusType()&&((o=this._fireFocusedCellChanging(e,t,i)).cancel||(s.columnIndex=o.newColumnIndex,s.rowIndex=o.newRowIndex,i=o.isHighlighted,t=(0,r.default)(this._getCell(s)))),!o.cancel&&n&&t&&((o=this._fireFocusedRowChanging(e,t.parent())).cancel||(s.rowIndex=o.newRowIndex,o.isHighlighted=i)),o.$newCellElement=(0,r.default)(this._getCell(s)),o.$newCellElement.length||(o.$newCellElement=t),o},_fireFocusedCellChanging:function(e,t,n){var i=this.option("focusedColumnIndex"),o=this.option("focusedRowIndex"),s=this._getCellPosition(t),a=s?s.columnIndex:-1,l=s?s.rowIndex:-1,c={cellElement:t,prevColumnIndex:i,prevRowIndex:o,newColumnIndex:a,newRowIndex:l,rows:this.getController("data").getVisibleRows(),columns:this.getController("columns").getVisibleColumns(),event:e,isHighlighted:n||!1,cancel:!1};return this._canceledCellPosition=null,this.executeAction("onFocusedCellChanging",c),c.newColumnIndex===a&&c.newRowIndex===l||(c.$newCellElement=(0,r.default)(this._getCell({columnIndex:c.newColumnIndex,rowIndex:c.newRowIndex}))),c.cancel&&(this._canceledCellPosition={rowIndex:l,columnIndex:a}),c},_fireFocusedCellChanged:function(e,t,n){var i=this.getController("data"),r=this.getView("rowsView").getCellIndex(e),o=this._getRowIndex(e&&e.parent()),s=Math.min(o-i.getRowIndexOffset(),i.items().length-1),a=this.getController("editing").isEditCell(s,r),l=i.items()[s];a||t===r&&n===o||(i=this.getController("data"),this.executeAction("onFocusedCellChanged",{cellElement:e,columnIndex:r,rowIndex:o,row:l,column:this.getController("columns").getVisibleColumns()[r]}))},_fireFocusedRowChanging:function(e,t){var n=this._getRowIndex(t),i=this.getController("data"),r=this.option("focusedRowIndex"),o=i.loadingOperationTypes(),s={rowElement:t,prevRowIndex:r,newRowIndex:n,event:e,rows:this.getController("data").getVisibleRows(),cancel:!1};return!i||i.isLoading()&&(o.reload||o.paging)?(s.cancel=!0,s):(this.option("focusedRowEnabled")&&(this.executeAction("onFocusedRowChanging",s),s.cancel||s.newRowIndex===n||(s.resetFocusedRow=s.newRowIndex<0,s.resetFocusedRow||this.setFocusedRowIndex(s.newRowIndex),s.rowIndexChanged=!0)),s)},_fireFocusedRowChanged:function(e){var t,n=this.option("focusedRowKey"),i=this.getController("focus"),r=null==i?void 0:i.getFocusedRowIndexByKey(n);if(this.option("focusedRowEnabled")){if(r>=0){var o=this.getController("data");t=r>=0&&o.getVisibleRows()[r-o.getRowIndexOffset()]}this.executeAction("onFocusedRowChanged",{rowElement:e,rowIndex:r,row:t})}},_isEventInCurrentGrid:function(e){return(0,l.isElementInCurrentGrid)(this,(0,r.default)(e.target))},_isRowEditMode:function(){var e=this.getController("editing").getEditMode();return"row"===e||"form"===e},_isCellEditMode:function(){var e=this.getController("editing").getEditMode();return"cell"===e||"batch"===e},_isFastEditingAllowed:function(){return this._isCellEditMode()&&this.option("keyboardNavigation.editOnKeyPress")},_getInteractiveElement:function(e,t){var n=e.find(w).filter(":visible");
1return t?n.last():n.first()},_applyTabIndexToElement:function(e){var t=this.option("tabIndex")||0;e.attr("tabindex",(0,c.isDefined)(t)?t:0)},_getCell:function(e){if(this._focusedView&&this._dataController&&e)return this._focusedView.getCell({rowIndex:e.rowIndex-this._dataController.getRowIndexOffset(),columnIndex:e.columnIndex})},_getRowIndex:function(e){var t=this.getView("rowsView").getRowIndex(e);return t>=0&&(t+=this.getController("data").getRowIndexOffset()),t},_hasSkipRow:function(e){var t=e&&e.get(0);return t&&("none"===t.style.display||e.hasClass(this.addWidgetPrefix("group-footer"))||x(e)&&!e.hasClass(this.addWidgetPrefix("edit-form")))},_allowEditingOnEnterKey:function(){return"startEdit"===this.option("keyboardNavigation.enterKeyAction")},_isLegacyNavigation:function(){return this.option("useLegacyKeyboardNavigation")},_getDirectionCodeByKey:function(e){return this.option("rtlEnabled")?"leftArrow"===e?"nextInRow":"previousInRow":"leftArrow"===e?"previousInRow":"nextInRow"},_isVirtualScrolling:function(){var e=this.option("scrolling.mode");return"virtual"===e||"infinite"===e},_scrollBy:function(e,t,n){var i=this,r=this.getView("rowsView").getScrollable();i._focusedCellPosition&&r.on("scroll",(function e(){r.off("scroll",e),setTimeout(i.restoreFocusableElement.bind(i,t,n))})),r.scrollBy({left:0,top:e})},_isInsideEditForm:function(e){return(0,r.default)(e).closest("."+this.addWidgetPrefix("edit-form")).length>0},_isMasterDetailCell:function(e){var t=(0,r.default)(e).closest(".dx-master-detail-cell"),n=t.closest("."+this.getWidgetContainerClass()).parent();return t.length&&n.is(this.component.$element())},_processNextCellInMasterDetail:function(e){!this._isInsideEditForm(e)&&e&&this._applyTabIndexToElement(e)},_handleTabKeyOnMasterDetailCell:function(e,t){if(this._isMasterDetailCell(e)){this._updateFocusedCellPosition((0,r.default)(e),t);var n=this._getNextCell(t,"row");return this._processNextCellInMasterDetail(n),!0}return!1},_getElementType:function(e){return(0,r.default)(e).is("tr")?"row":"cell"},_isFastEditingStarted:function(){return this._isFastEditingAllowed()&&this._fastEditingStarted},_getVisibleColumnCount:function(){return this.getController("columns").getVisibleColumns().length},_isCellInRow:function(e,t){var n=e.columnIndex,i=this._getVisibleColumnCount();return t?n>=0&&n<=i-1:n>0&&n<i-1},_getCellElementFromTarget:function(e){var t=this._getElementType(e),n=(0,r.default)(e);return"cell"===t?n.closest(".".concat("dx-row"," > td")):n.children().not(".dx-command-expand").first()},_getRowsViewElement:function(){var e=this.getView("rowsView");return e&&e.element()},isKeyboardEnabled:function(){return this.option("keyboardNavigation.enabled")},_processCanceledEditCellPosition:function(e,t){if(this._canceledCellPosition){var n=this._canceledCellPosition.rowIndex===e&&this._canceledCellPosition.columnIndex===t;return this._canceledCellPosition=null,n}}});e.exports={defaultOptions:function(){return{useLegacyKeyboardNavigation:!1,keyboardNavigation:{enabled:!0,enterKeyAction:"startEdit",enterKeyDirection:"none",editOnKeyPress:!1}}},controllers:{keyboardNavigation:D},extenders:{views:{rowsView:{_rowClick:function(e){var t=this.getController("editing").getEditRowIndex(),n=this.getController("keyboardNavigation");t===e.rowIndex&&n.setCellFocusType();var i=I()&&this.option("focusedRowEnabled");i&&this._triggerPointerDownEventHandler(e),this.callBase.apply(this,arguments)},_triggerPointerDownEventHandler:function(e){var t=e.event.originalEvent;if(t){var n=this.getController("keyboardNavigation"),i=(0,r.default)(t.target),o=this.getCellIndex(i),s=this.getController("columns").getVisibleColumns()[o],a=this.getController("data").items()[e.rowIndex];if(n._isAllowEditing(a,s)){var l=p.default.createEvent(t,{currentTarget:t.target});n._pointerEventHandler(l)}}},renderFocusState:function(){var e=this._dataController,t=this.option("focusedRowIndex")||0,n=this.element();n&&!(0,d.focused)(n)&&n.attr("tabIndex",null),(t<0||t>=e.getVisibleRows().length)&&(t=0);var i=this.getCellElements(t);this.getController("keyboardNavigation").isKeyboardEnabled()&&i&&this.updateFocusElementTabIndex(i)},updateFocusElementTabIndex:function(e){var t=this.getController("keyboardNavigation"),n=e.eq(0).parent(),i=this.option("focusedColumnIndex");(!i||i<0)&&(i=0),C(n)?t._applyTabIndexToElement(n):this._updateFocusedCellTabIndex(e,i)},_updateFocusedCellTabIndex:function(e,t){var n,i=this.getController("keyboardNavigation"),o=i._focusedView,s=e?e.length:-1;if(i._focusedView=this,s>0){s<=t&&(t=s-1);for(var a=t;a<s;++a)if(n=(0,r.default)(e[a]),!i._isMasterDetailCell(n)&&i._isCellValid(n)&&k(n)){i._applyTabIndexToElement(n),i.setCellFocusType();break}}i._focusedView=o},renderDelayedTemplates:function(e){this.callBase.apply(this,arguments),e&&e.repaintChangesOnly||this.renderFocusState()},_renderCore:function(e){this.callBase(e),e&&e.repaintChangesOnly||this.renderFocusState()},_editCellPrepared:function(e){var t=this._getEditorInstance(e),n=this.getController("keyboardNavigation"),i=n&&n._isFastEditingStarted();t&&i&&this._handleEditingNavigationMode(t),this.callBase.apply(this,arguments)},_handleEditingNavigationMode:function(e){["downArrow","upArrow"].forEach((function(t){var n=e._supportedKeys()[t];e.registerKeyHandler(t,(function(t){if("true"===e._input().attr("aria-expanded"))return n&&n.call(e,t)}))})),e.registerKeyHandler("leftArrow",g.noop),e.registerKeyHandler("rightArrow",g.noop),"dxDateBox"===e.NAME&&e.option("useMaskBehavior")&&e.registerKeyHandler("enter",g.noop)},_getEditorInstance:function(e){var t=e.find(".dx-texteditor").eq(0);return(0,l.getWidgetInstance)(t)}}},controllers:{editing:{editCell:function(e,t){var n=this.getController("keyboardNavigation");if(n._processCanceledEditCellPosition(e,t))return!1;var i=this.callBase(e,t);return i&&n.setupFocusedView(),i},editRow:function(e){var t=this.getController("keyboardNavigation"),n=this.option("focusedColumnIndex"),i=this._columnsController.getVisibleColumns()[n];(i&&i.type||"form"===this.option("editing.mode"))&&t._resetFocusedCell(),this.callBase(e)},addRow:function(e){return this.getController("keyboardNavigation").setupFocusedView(),this.callBase.apply(this,arguments)},getFocusedCellInRow:function(e){var t=this.getController("keyboardNavigation"),n=this.callBase(e);if(t.isKeyboardEnabled()&&t._focusedCellPosition.rowIndex===e){var i=t._getFocusedCell();E(i)&&!i.hasClass("dx-command-edit")&&(n=i)}return n},_processCanceledEditingCell:function(){var e=this;this.closeEditCell().done((function(){e.getController("keyboardNavigation")._updateFocus()}))},init:function(){this.callBase(),this._keyboardNavigationController=this.getController("keyboardNavigation")},closeEditCell:function(){var e=this.getController("keyboardNavigation");e._fastEditingStarted=!1;var t=this.callBase.apply(this,arguments);return e._updateFocus(),t},_delayedInputFocus:function(){this._keyboardNavigationController._isNeedScroll=!0,this.callBase.apply(this,arguments)},_isEditingStart:function(){var e=this.getController("keyboardNavigation"),t=this.callBase.apply(this,arguments);if(t&&!e._isNeedFocus){var n=e._getFocusedCell();e._focus(n,!0)}return t}},data:{_correctRowIndices:function(e){var t=this,n=t.getController("keyboardNavigation"),i=t.getController("editorFactory"),r=n._focusedCellPosition;if(t.callBase.apply(t,arguments),r&&r.rowIndex>=0){var o=e(r.rowIndex);o&&(r.rowIndex+=o,i.focus(i.focus()))}}}}}}},tGlX:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%
1d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tJvG:function(e,t,n){"use strict";var i=n("ti0F"),r=i.isPromise,o=i.isDeferred,s=n("1LL4").extend,a=n("cYys"),l=[{method:"resolve",handler:"done",state:"resolved"},{method:"reject",handler:"fail",state:"rejected"},{method:"notify",handler:"progress"}],c=function(){var e=this;this._state="pending",this._promise={},l.forEach((function(t){var n=t.method;this[n+"Callbacks"]=new a,this[n]=(function(){return this[n+"With"](this._promise,arguments)}).bind(this),this._promise[t.handler]=function(t){if(!t)return this;var i=e[n+"Callbacks"];return i.fired()?t.apply(e[n+"Context"],e[n+"Args"]):i.add((function(e,n){t.apply(e,n)}).bind(this)),this}}).bind(this)),this._promise.always=function(e){return this.done(e).fail(e)},this._promise.catch=function(e){return this.then(null,e)},this._promise.then=function(e,t){var n=new c;return["done","fail"].forEach((function(s){var a="done"===s?e:t;this[s]((function(){if(a){var e=a&&a.apply(this,arguments);o(e)?e.done(n.resolve).fail(n.reject):r(e)?e.then(n.resolve,n.reject):n.resolve.apply(this,i.isDefined(e)?[e]:arguments)}else n["done"===s?"resolve":"reject"].apply(this,arguments)}))}).bind(this)),n.promise()},this._promise.state=function(){return e._state},this._promise.promise=function(t){return t?s(t,e._promise):e._promise},this._promise.promise(this)};l.forEach((function(e){var t=e.method,n=e.state;c.prototype[t+"With"]=function(e,i){var r=this[t+"Callbacks"];return"pending"===this.state()&&(this[t+"Args"]=i,this[t+"Context"]=e,n&&(this._state=n),r.fire(e,i)),this}})),t.fromPromise=function(e,t){if(o(e))return e;if(r(e)){var n=new c;return e.then((function(){n.resolveWith.apply(n,[t].concat([[].slice.call(arguments)]))}),(function(){n.rejectWith.apply(n,[t].concat([[].slice.call(arguments)]))})),n}return(new c).resolveWith(t,[e])};var u=function(){if(1===arguments.length)return t.fromPromise(arguments[0]);for(var e=[].slice.call(arguments),n=[],i=0,r=new c,s=function(t){return function(o){n[t]=this,e[t]=arguments.length>1?[].slice.call(arguments):o,++i===e.length&&r.resolveWith(n,e)}},a=0;a<e.length;a++)o(e[a])?e[a].promise().done(s(a)).fail(r.reject):i++;return i===e.length&&r.resolveWith(n,e),r.promise()};t.setStrategy=function(e){c=e.Deferred,u=e.when},t.Deferred=function(){return new c},t.when=function(){return u.apply(this,arguments)}},tPCu:function(e,t,n){"use strict";var i=_(n("FKN7")),r=n("ti0F"),o=n("KAnu"),s=n("1LL4"),a=n("/7L9"),l=n("v4HY"),c=_(n("LdFP")),u=_(n("TEOj")),d=n("pE6o"),h=n("PfKZ"),p=n("eBB/"),f=n("RG5Y"),m=n("lBBa"),g=n("xZEH");function _(e){return e&&e.__esModule?e:{default:e}}var b=new p.FunctionTemplate((function(e){var t=e.model.widget;if(t){var n=(0,i.default)("<div>"),r=e.model.options||{};if("button"===t||"tabs"===t||"dropDownMenu"===t){var o=t;t=(0,g.camelize)("dx-"+t),(0,a.log)("W0001","dxToolbar - 'widget' item field",o,"16.1","Use: '"+t+"' instead")}return e.parent?e.parent._createComponent(n,t,r):n[t](r),n}return(0,i.default)()})),v=u.default.inherit({_getDefaultOptions:function(){return(0,s.extend)(this.callBase(),{integrationOptions:{watchMethod:function(e,t,n){return(n=n||{}).skipImmediate||t(e()),o.noop},templates:{"dx-polymorph-widget":b},createTemplate:function(e){return new d.Template(e)}}})},_init:function(){this.callBase(),this._tempTemplates=[],this._defaultTemplates={},this._initTemplates()},_dispose:function(){this._cleanTemplates(),this.callBase()}
1,_cleanTemplates:function(){this._tempTemplates.forEach((function(e){e.template.dispose&&e.template.dispose()})),this._tempTemplates=[]},_initTemplates:function(){this._extractTemplates(),this._extractAnonymousTemplate()},_extractTemplates:function(){var e=this.$element().contents().filter("[data-options*='dxTemplate']"),t={};for(var n in e.each((function(e,n){var r=(0,l.getElementOptions)(n).dxTemplate;if(r){if(!r.name)throw(0,a.Error)("E0023");(0,i.default)(n).addClass("dx-template-wrapper").detach(),t[r.name]=t[r.name]||[],t[r.name].push(n)}})),t){var r=this._findTemplateByDevice(t[n]);r&&this._saveTemplate(n,r)}},_saveTemplate:function(e,t){this.option("integrationOptions.templates")[e]=this._createTemplate(t)},_findTemplateByDevice:function(e){var t=(0,o.findBestMatches)(c.default.current(),e,(function(e){return(0,l.getElementOptions)(e).dxTemplate}))[0];return e.forEach((function(e){e!==t&&(0,i.default)(e).remove()})),t},_extractAnonymousTemplate:function(){var e=this.option("integrationOptions.templates"),t=this._getAnonymousTemplateName(),n=this.$element().contents().detach(),r=n.filter((function(e,t){var n=3===t.nodeType,r=(0,i.default)(t).text().trim().length<1;return!(n&&r)}));e[t]||r.length<1||(e[t]=this._createTemplate(n))},_getAnonymousTemplateName:function(){return"template"},_createTemplateIfNeeded:function(e){var t=function(e){return(0,r.isRenderer)(e)&&e[0]||e},n=this._tempTemplates.filter((function(n){return e=t(e),n.source===e}))[0];if(n)return n.template;var i=this._createTemplate(e);return this._tempTemplates.push({template:i,source:t(e)}),i},_createTemplate:function(e){return e="string"==typeof e?(0,l.normalizeTemplateElement)(e):e,this.option("integrationOptions.createTemplate")(e)},_getTemplateByOption:function(e){return this._getTemplate(this.option(e))},_getTemplate:function(e){return(0,r.isFunction)(e)?new p.FunctionTemplate((function(t){var n=e.apply(this,this._getNormalizedTemplateArgs(t));if(!(0,r.isDefined)(n))return new f.EmptyTemplate;var o=!1,s=this._acquireTemplate(n,(function(e){return e.nodeType||(0,r.isRenderer)(e)&&!(0,i.default)(e).is("script")?new p.FunctionTemplate((function(){return e})):(o=!0,this._createTemplate(e))}).bind(this)),a=s.render(t);return o&&s.dispose&&s.dispose(),a}).bind(this)):this._acquireTemplate(e,this._createTemplateIfNeeded.bind(this))},_acquireTemplate:function(e,t){if(null==e)return new f.EmptyTemplate;if(e instanceof m.ChildDefaultTemplate)return this._defaultTemplates[e.name];if(e instanceof h.TemplateBase)return e;if((0,r.isFunction)(e.render)&&!(0,r.isRenderer)(e))return this._addOneRenderedCall(e);if(e.nodeType||(0,r.isRenderer)(e))return t((0,i.default)(e));if("string"==typeof e){var n=null;return-1===(this.option("integrationOptions.skipTemplates")||[]).indexOf(e)&&(n=this._renderIntegrationTemplate(e)),n||this._defaultTemplates[e]||t(e)}return this._acquireTemplate(e.toString(),t)},_getNormalizedTemplateArgs:function(e){var t=[];return"model"in e&&t.push(e.model),"index"in e&&t.push(e.index),t.push(e.container),t},_addOneRenderedCall:function(e){var t=e.render.bind(e);return(0,s.extend)({},e,{render:function(e){var n=t(e);return e&&e.onRendered&&e.onRendered(),n}})},_renderIntegrationTemplate:function(e){var t=this.option("integrationOptions.templates")[e];return!t||t instanceof h.TemplateBase||this.option("templatesRenderAsynchronously")?t:this._addOneRenderedCall(t)}});e.exports=v},tQ8k:function(e,t,n){"use strict";var i,r=n("XpgS").inArray,o=(i=[],{add:function(e){-1===r(e,i)&&i.push(e)},remove:function(e){var t=r(e,i);-1!==t&&i.splice(t,1)},fire:function(){var e=i.pop(),t=!!e;return t&&e(),t},hasCallback:function(){return i.length>0}});e.exports=function(){return o.fire()},e.exports.hideCallback=o,e.exports.default=e.exports},tT3J:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4
1wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tUd6:function(e,t,n){"use strict";var i,r=(i=n("eWCF"))&&i.__esModule?i:{default:i},o=n("KAnu");function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a={querySelectorAll:function(e,t){return e.querySelectorAll(t)},elementMatches:function(e,t){var n=this;return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(t){var i=e.document||e.ownerDocument;if(!i)return!1;for(var r=n.querySelectorAll(i,t),o=0;o<r.length;o++)if(r[o]===e)return!0}).call(e,t)},createElement:function(e,t){return(t=t||this._document).createElement(e)},createElementNS:function(e,t,n){return(n=n||this._document).createElementNS(e,t)},createTextNode:function(e,t){return(t=t||this._document).createTextNode(e)},isNode:function(e){return"object"===s(e)&&"nodeType"in e},isElementNode:function(e){return e&&1===e.nodeType},isTextNode:function(e){return e&&3===e.nodeType},isDocument:function(e){return e&&9===e.nodeType},removeElement:function(e){var t=e&&e.parentNode;t&&t.removeChild(e)},insertElement:function(e,t,n){e&&t&&e!==t&&(n?e.insertBefore(t,n):e.appendChild(t))},getAttribute:function(e,t){return e.getAttribute(t)},setAttribute:function(e,t,n){e.setAttribute(t,n)},removeAttribute:function(e,t){e.removeAttribute(t)},setProperty:function(e,t,n){e[t]=n},setText:function(e,t){e&&(e.textContent=t)},setClass:function(e,t,n){if(1===e.nodeType&&t)if(e.classList)n?e.classList.add(t):e.classList.remove(t);else{var i,r="string"==typeof e.className,o=r?e.className:this.getAttribute(e,"class")||"",s=o.split(" "),a=s.indexOf(t);n&&a<0&&(i=o?o+" "+t:t),!n&&a>=0&&(s.splice(a,1),i=s.join(" ")),void 0!==i&&(r?e.className=i:this.setAttribute(e,"class",i))}},setStyle:function(e,t,n){e.style[t]=n||""},_document:"undefined"==typeof document?void 0:document,getDocument:function(){return this._document},getActiveElement:function(){return this._document.activeElement},getBody:function(){return this._document.body},createDocumentFragment:function(){return this._document.createDocumentFragment()},getDocumentElement:function(){return this._document.documentElement},getLocation:function(){return this._document.location},getSelection:function(){return this._document.selection},getReadyState:function(){return this._document.readyState},getHead:function(){return this._document.head},hasDocumentProperty:function(e){return e in this._document},listen:function(e,t,n,i){return e&&"addEventListener"in e?(e.addEventListener(t,n,i),function(){e.removeEventListener(t,n)}):o.noop}};e.exports=(0,r.default)(a)},tYcD:function(e,t,n){"use strict";var i=v(n("FKN7")),r=v(n("jeLr")),o=v(n("JDOJ")),s=v(n("XCcL")),a=v(n("ti0F")),l=v(n("uHaw")),c=v(n("0osO")),u=v(n("GYHJ")),d=v(n("I1je")),h=v(n("8S5z")),p=v(n("+6qP")),f=n("cGv3"),m=n("KAnu"),g=n("zl3R"),_=n("1LL4"),b=n("tJvG");
1function v(e){return e&&e.__esModule?e:{default:e}}var y=["columnHeadersView","rowsView","footerView"];function w(e,t){return e._columnsController.getColumnId(t)}function C(e){return e.find("td:not(.dx-datagrid-hidden-column):not([class*='dx-command-'])")}function x(e,t){var n,a=(0,i.default)(e),l=t.component.getController("adaptiveColumns");"data"===t.rowType?(n=(0,i.default)("<span>").addClass(l.addWidgetPrefix("adaptive-more")),r.default.on(n,o.default.addNamespace(s.default.name,"dxDataGridAdaptivity"),l.createAction((function(){l.toggleExpandAdaptiveDetailRow(t.key)}))),n.appendTo(a)):h.default.setEmptyText(a)}var S=u.default.ViewController.inherit({_isRowEditMode:function(){return"row"===this._getEditMode()},_isItemModified:function(e,t){var n=this._columnsController.getVisibleIndex(e.column.index),i=this._dataController.getRowIndexByKey(t.key),r=this._dataController.items()[i+1];return r&&r.modifiedValues&&a.default.isDefined(r.modifiedValues[n])},_renderFormViewTemplate:function(e,t,n){var i=e.column,o=this.createAction((function(){r.default.trigger(n,s.default.name)})),l=i.calculateCellValue(t.data),c=h.default.getDisplayValue(i,l,t.data,t.rowType),u=h.default.formatValue(c,i),d=this._editingController.isCellOrBatchEditMode(),p=this._rowsView;if(i.allowEditing&&this.getController("keyboardNavigation").isKeyboardEnabled()&&(n.attr("tabIndex",this.option("tabIndex")),d&&(r.default.off(n,"focus",o),r.default.on(n,"focus",o))),i.cellTemplate){var m=(0,_.extend)({},t,{value:l,displayValue:c,text:u,column:i}),g=!!n.closest((0,f.getWindow)().document).length;p.renderTemplate(n,i.cellTemplate,m,g).done((function(){p._cellPrepared(n,t)}))}else{var b=n.get(0);i.encodeHtml?b.textContent=u:b.innerHTML=u,n.addClass("dx-adaptive-item-text"),a.default.isDefined(u)&&""!==u||n.html("&nbsp;"),this._isRowEditMode()||this._isItemModified(e,t)&&n.addClass("dx-item-modified"),p._cellPrepared(n,t)}},_getTemplate:function(e,t){var n=this,r=e.column,o=this.getController("editing");return function(s,a){var l=(0,i.default)(a),c=n._columnsController.getVisibleIndex(r.visibleIndex),u=(0,_.extend)({},t),d=function(){var i=n._isItemEdited(e);u.value=t.row.values[c],i||r.showEditorAlways?o.renderFormEditTemplate(u,e,s.component,l,!i):(u.column=r,u.columnIndex=c,n._renderFormViewTemplate(e,u,l))};d(),u.watch&&u.watch((function(){return{isItemEdited:n._isItemEdited(e),value:t.row.values[c]}}),(function(){l.contents().remove(),l.removeClass("dx-adaptive-item-text"),d()}))}},_isVisibleColumnsValid:function(e){return!(e<2||e.length-function(){for(var t=0,n=0;n<e.length;n++)e[n].command&&t++;return t}()<=1)},_calculatePercentWidths:function(e,t){var n=this,i=0;return t.forEach((function(t,r){"adaptiveHidden"!==e[r]&&(i+=n._getItemPercentWidth(t))})),i},_isPercentWidth:function(e){return a.default.isString(e)&&"%"===e.slice(-1)},_isColumnHidden:function(e){return this._hiddenColumns.filter((function(t){return t.index===e.index})).length>0},_getAverageColumnsWidth:function(e,t,n){var i=this,r=0,o=0;return t.forEach((function(s){if(!i._isColumnHidden(s)){var l=s.width;a.default.isDefined(l)&&!isNaN(parseFloat(l))?r+=i._isPercentWidth(l)?i._calculatePercentWidth({visibleIndex:s.visibleIndex,columnsCount:t.length,columnsCanFit:n,bestFitWidth:s.bestFitWidth,columnWidth:l,containerWidth:e}):parseFloat(l):o++}})),(e-r)/o},_calculateColumnWidth:function(e,t,n,i){var r,o=w(this,e),s=this._columnsController.columnOption(o,"width"),a=this._columnsController.columnOption(o,"bestFitWidth"),l=n.length;if(s&&"auto"!==s){if(!this._isPercentWidth(s))return s;r=this._calculatePercentWidth({visibleIndex:e.visibleIndex,columnsCount:l,columnsCanFit:i,bestFitWidth:a,columnWidth:s,containerWidth:t})}else r=this.option("columnAutoWidth")||e.command?a:this._getAverageColumnsWidth(t,n,i);return r},_calculatePercentWidth:function(e){var t=e.visibleIndex<e.columnsCount-1&&e.columnsCanFit,n=e.containerWidth*parseFloat(e.columnWidth)/100,i=e.columnsCanFit&&n<e.bestFitWidth?e.bestFitWidth:n;return t?e.containerWidth*parseFloat(e.columnWidth)/100:i},_getNotTruncatedColumnWidth:function(e,t,n,i){var r=w(this,e),o=this._columnsController.columnOption(r,"width"),s=this._columnsController.columnOption(r,"bestFitWidth");if(o&&"auto"!==o&&!this._isPercentWidth(o))return parseFloat(o);var a=this._calculateColumnWidth(e,t,n,i);return a<s?null:a},_getItemPercentWidth:function(e){var t=0;return e.width&&this._isPercentWidth(e.width)&&(t=parseFloat(e.width)),t},_getCommandColumnsWidth:function(){var e=this,t=e._columnsController.getVisibleColumns(),n=0;return(0,g.each)(t,(function(t,i){(i.index<0||i.command)&&(n+=e._columnsController.columnOption(w(e,i),"bestFitWidth")||0)})),n},_isItemEdited:function(e){if(this.isFormEditMode())return!1;if(!this._isRowEditMode()){var t=this._dataController.getRowIndexByKey(this._dataController.adaptiveExpandedKey())+1,n=this._columnsController.getVisibleIndex(e.column.index);return this._editingController.isEditCell(t,n)}var i=this._editingController.getEditRowKey();return!!(0,m.equalByValue)(i,this._dataController.adaptiveExpandedKey())||void 0},_getFormItemsByHiddenColumns:function(e){var t=[];return(0,g.each)(e,(function(e,n){t.push({column:n,name:n.name,dataField:n.dataField,visibleIndex:n.visibleIndex})})),t},_getAdaptiveColumnVisibleIndex:function(e){for(var t=0;t<e.length;t++)if("adaptive"===e[t].command)return t},_hideAdaptiveColumn:function(e,t){var n=this._getAdaptiveColumnVisibleIndex(t);a.default.isDefined(n)&&(e[n]="adaptiveHidden",this._addCssClassToColumn("dx-command-adaptive-hidden",n))},_removeCssClassFromColumn:function(e){for(var t=0;t<y.length;t++){var n=this.getView(y[t]);
1n&&n.isVisible()&&n.element()&&n.element().find("."+e).removeClass(e)}},_removeCssClassesFromColumns:function(){this._removeCssClassFromColumn("dx-command-adaptive-hidden"),this._removeCssClassFromColumn(this.addWidgetPrefix("hidden-column"))},_isCellValid:function(e){return e&&e.length&&!e.hasClass("dx-master-detail-cell")&&!e.hasClass("dx-group-cell")},_addCssClassToColumn:function(e,t){var n=this;y.forEach((function(i){var r=n.getView(i);r&&n._addCssClassToViewColumn(r,e,t)}))},_addCssClassToViewColumn:function(e,t,n){var i,r=e.name,o=this._columnsController.getVisibleColumns()[n],s=this._editingController&&this._editingController.getEditFormRowIndex();if(e&&e.isVisible()&&o)for(var a=e.getRowsCount(),l=e._getRowElements(),c=0;c<a;c++)if(c!==s||"rowsView"!==r||"popup"===this.option("editing.mode")){var u="columnHeadersView"===r?this._columnsController.getVisibleIndex(o.index,c):n;u>=0&&(i=l.eq(c).children().eq(u),this._isCellValid(i)&&i.addClass(t))}},_getEditMode:function(){return this._editingController.getEditMode()},isFormEditMode:function(){var e=this._getEditMode();return"form"===e||"popup"===e},hideRedundantColumns:function(e,t,n){if(this._hiddenColumns=[],this._isVisibleColumnsValid(t)&&n.length){var i,r,o,s=0,a=this.component.$element(),l=a.width()-this._getCommandColumnsWidth(),c=(function(){var e=this;return t.filter((function(t){return!t.command&&0===e._hiddenColumns.filter((function(e){return e.index===t.index})).length}))}).bind(this),u=c(),d=u.length;do{o=!1,s=0;var h=this._calculatePercentWidths(e,t),p=h<100&&0!==h;for(i=0;i<t.length;i++){var f=t[i],m=this._getNotTruncatedColumnWidth(f,l,u,p),g=w(this,f),_=this._columnsController.columnOption(g,"width"),b=this._columnsController.columnOption(g,"minWidth"),v=this._columnsController.columnOption(g,"bestFitWidth");if("adaptiveHidden"!==e[i]){if(!m&&!f.command&&!f.fixed){o=!0;break}_&&"auto"!==_||(m=Math.max(v||0,b||0)),("adaptive"!==f.command||r)&&(s+=m)}else r=!0}if(o=o||s>a.width()){var y=n.pop(),C=this._columnsController.getVisibleIndex(y.index);l+=this._calculateColumnWidth(y,l,u,p),this._addCssClassToColumn(this.addWidgetPrefix("hidden-column"),C),e[C]="adaptiveHidden",this._hiddenColumns.push(y),u=c()}}while(o&&u.length>1&&n.length);d===u.length&&this._hideAdaptiveColumn(e,t)}else this._hideAdaptiveColumn(e,t)},getItemContentByColumnIndex:function(e){for(var t,n=0;n<this._$itemContents.length;n++){var i=(t=this._$itemContents.eq(n)).data("dx-form-item");if(i&&i.column&&this._columnsController.getVisibleIndex(i.column.index)===e)return t}},toggleExpandAdaptiveDetailRow:function(e,t){this.isFormEditMode()&&this._editingController.isEditing()||this.getController("data").toggleExpandAdaptiveDetailRow(e,t)},createFormByHiddenColumns:function(e,t){var n=this,r=(0,i.default)(e),o={items:n._getFormItemsByHiddenColumns(n._hiddenColumns),formID:"dx-"+new c.default},s=p.default.isMaterial()?{colCount:2}:{};this.executeAction("onAdaptiveDetailRowPreparing",{formOptions:o}),n._$itemContents=null,n._form=n._createComponent((0,i.default)("<div>").appendTo(r),d.default,(0,_.extend)(s,o,{customizeItem:function(e){var i=e.column||n._columnsController.columnOption(e.name||e.dataField);i&&(e.label=e.label||{},e.label.text=e.label.text||i.caption,e.column=i,e.template=n._getTemplate(e,t,n.updateForm.bind(n))),o.customizeItem&&o.customizeItem.call(this,e)},onContentReady:function(e){o.onContentReady&&o.onContentReady.call(this,e),n._$itemContents=r.find(".dx-field-item-content")}}))},hasAdaptiveDetailRowExpanded:function(){return a.default.isDefined(this._dataController.adaptiveExpandedKey())},updateForm:function(e){this.hasAdaptiveDetailRowExpanded()&&this._form&&a.default.isDefined(this._form._contentReadyAction)&&(e&&e.length?this._form.option("items",this._getFormItemsByHiddenColumns(e)):this._form.repaint())},updateHidingQueue:function(e){var t,n,i=e.filter((function(e){return e.visible&&!e.type&&!e.fixed&&!(a.default.isDefined(e.groupIndex)&&e.groupIndex>=0)}));if(this._hidingColumnsQueue=[],this.option("allowColumnResizing")&&"widget"===this.option("columnResizingMode"))return this._hidingColumnsQueue;for(n=0;n<i.length;n++)a.default.isDefined(i[n].hidingPriority)&&i[n].hidingPriority>=0&&(t=!0,this._hidingColumnsQueue[i[n].hidingPriority]=i[n]);if(t)this._hidingColumnsQueue.reverse();else if(this.option("columnHidingEnabled"))for(n=0;n<i.length;n++){var r=this._columnsController.getVisibleIndex(i[n].index);this._hidingColumnsQueue[r]=i[n]}return this._hidingColumnsQueue=this._hidingColumnsQueue.filter(Object),this._hidingColumnsQueue},getHiddenColumns:function(){return this._hiddenColumns},hasHiddenColumns:function(){return this._hiddenColumns.length>0},getHidingColumnsQueue:function(){return this._hidingColumnsQueue},init:function(){var e=this;e._columnsController=e.getController("columns"),e._dataController=e.getController("data"),e._rowsView=e.getView("rowsView"),e._columnsController.addCommandColumn({type:"adaptive",command:"adaptive",visible:!0,adaptiveHidden:!0,cssClass:"dx-command-adaptive",alignment:"center",width:"auto",cellTemplate:x,fixedPosition:"right"}),e._columnsController.columnsChanged.add((function(){var t=!!e.updateHidingQueue(e._columnsController.getColumns()).length;
1e._columnsController.columnOption("command:adaptive","adaptiveHidden",!t,!0)})),e._editingController=e.getController("editing"),e._hidingColumnsQueue=[],e._hiddenColumns=[],e.createAction("onAdaptiveDetailRowPreparing"),e.callBase()},optionChanged:function(e){"columnHidingEnabled"===e.name&&this._columnsController.columnOption("command:adaptive","adaptiveHidden",!e.value),this.callBase(e)},publicMethods:function(){return["isAdaptiveDetailRowExpanded","expandAdaptiveDetailRow","collapseAdaptiveDetailRow"]},isAdaptiveDetailRowExpanded:function(e){return this._dataController.adaptiveExpandedKey()&&(0,m.equalByValue)(this._dataController.adaptiveExpandedKey(),e)},expandAdaptiveDetailRow:function(e){this.hasAdaptiveDetailRowExpanded()||this.toggleExpandAdaptiveDetailRow(e)},collapseAdaptiveDetailRow:function(){this.hasAdaptiveDetailRowExpanded()&&this.toggleExpandAdaptiveDetailRow()}});e.exports={defaultOptions:function(){return{columnHidingEnabled:!1,onAdaptiveDetailRowPreparing:null}},controllers:{adaptiveColumns:S},extenders:{views:{rowsView:{_getCellTemplate:function(e){var t=this;return"detailAdaptive"===e.rowType&&"detail"===e.column.command?function(e,n){t._adaptiveColumnsController.createFormByHiddenColumns((0,i.default)(e),n)}:t.callBase(e)},_createRow:function(e){var t=this.callBase(e);return e&&"detailAdaptive"===e.rowType&&e.key===this._dataController.adaptiveExpandedKey()&&t.addClass("dx-adaptive-detail-row"),t},_renderCells:function(e,t){this.callBase(e,t);var n=this._adaptiveColumnsController.getHidingColumnsQueue().length,i=this._adaptiveColumnsController.getHiddenColumns().length;n&&!i&&C(e).last().addClass("dx-last-data-cell")},_getColumnIndexByElementCore:function(e){var t=e.closest(".dx-field-item-content");if(t.length&&t.closest(this.component.$element()).length){var n=t.length?t.first().data("dx-form-item"):null;return n&&n.column&&this._columnsController.getVisibleIndex(n.column.index)}return this.callBase(e)},_cellPrepared:function(e,t){this.callBase.apply(this,arguments),"detailAdaptive"!==t.row.rowType&&"adaptiveHidden"===t.column.visibleWidth&&e.addClass(this.addWidgetPrefix("hidden-column"))},_getCellElement:function(e,t){var n=this._dataController.items()[e];return n&&"detailAdaptive"===n.rowType?this._adaptiveColumnsController.getItemContentByColumnIndex(t):this.callBase(e,t)},getContextMenuItems:function(e){if(e.row&&"detailAdaptive"===e.row.rowType){var t=this.component.getView("columnHeadersView"),n=(0,i.default)(e.targetElement).closest(".dx-field-item-label").next().data("dx-form-item");return e.column=n?n.column:e.column,t.getContextMenuItems&&t.getContextMenuItems(e)}return this.callBase&&this.callBase(e)},isClickableElement:function(e){return!!this.callBase&&this.callBase(e)||!!e.closest(".dx-command-adaptive").length},init:function(){this.callBase(),this._adaptiveColumnsController=this.getController("adaptiveColumns")}}},controllers:{export:{_updateColumnWidth:function(e,t){this.callBase(e,"adaptiveHidden"===e.visibleWidth?e.bestFitWidth:t)}},columnsResizer:{_pointCreated:function(e,t,n){var i=this.callBase(e,t,n),r=n[e.columnIndex]||{},o=this._getNextColumnIndex(e.columnIndex);return i||"adaptiveHidden"===r.visibleWidth||o!==e.columnIndex+1&&(n[o]||{}).command},_getNextColumnIndex:function(e){for(var t=this._columnsController.getVisibleColumns(),n=this.callBase(e);t[n]&&"adaptiveHidden"===t[n].visibleWidth;)n++;return n}},draggingHeader:{_pointCreated:function(e,t,n,i){return this.callBase(e,t,n,i)||"adaptiveHidden"===(t[e.columnIndex-1]||{}).visibleWidth}},editing:{_isRowEditMode:function(){return"row"===this.getEditMode()},_getFormEditItemTemplate:function(e,t){return"row"!==this.getEditMode()&&"detailAdaptive"===e.rowType?(e.columnIndex=this._columnsController.getVisibleIndex(t.index),this.getColumnTemplate(e)):this.callBase(e,t)},_closeEditItem:function(e){var t=e.closest(".dx-field-item-content"),n=this._dataController.getRowIndexByKey(this._dataController.adaptiveExpandedKey())+1,i=t.length?t.first().data("dx-form-item"):null,r=i&&i.column&&this._columnsController.getVisibleIndex(i.column.index);this.isEditCell(n,r)||this.callBase(e)},_beforeUpdateItems:function(e,t){if(!this._adaptiveController.isFormEditMode()&&this._adaptiveController.hasHiddenColumns()){var n=this._dataController.items(),i=n[t],r=h.default.getIndexByKey(this._dataController.adaptiveExpandedKey(),n);this._isForceRowAdaptiveExpand=!this._adaptiveController.hasAdaptiveDetailRowExpanded(),r>=0&&t>r&&this._editRowIndex--,r>=0&&e.push(r+1),e.push(t+1),this._dataController.adaptiveExpandedKey(i.key)}},_afterInsertRow:function(e){this.callBase(e),this._adaptiveController.hasHiddenColumns()&&(this._adaptiveController.toggleExpandAdaptiveDetailRow(e.key,this.isRowEditMode()),this._isForceRowAdaptiveExpand=!0)},_collapseAdaptiveDetailRow:function(){this._isRowEditMode()&&this._isForceRowAdaptiveExpand&&(this._adaptiveController.collapseAdaptiveDetailRow(),this._isForceRowAdaptiveExpand=!1)},_cancelEditAdaptiveDetailRow:function(){this._adaptiveController.hasHiddenColumns()&&this._collapseAdaptiveDetailRow()},_afterSaveEditData:function(){var e=this;this.callBase();var t=new b.Deferred;return this._isRowEditMode()&&this._adaptiveController.hasHiddenColumns()?(0,b.when)(this.getController("validating").validate(!0)).done((function(n){n&&e._cancelEditAdaptiveDetailRow(),t.resolve()})):t.resolve(),t.promise()},_beforeCancelEditData:function(){this.callBase(),this._cancelEditAdaptiveDetailRow()},_getRowIndicesForCascadeUpdating:function(e){var t=this.callBase.apply(this,arguments);return this._adaptiveController.isAdaptiveDetailRowExpanded(e.key)&&t.pu
1sh("detailAdaptive"===e.rowType?e.rowIndex-1:e.rowIndex+1),t},_beforeCloseEditCellInBatchMode:function(e){var t=this._dataController._adaptiveExpandedKey;if(t){var n=h.default.getIndexByKey(t,this._dataController.items());n>-1&&e.unshift(n)}},editRow:function(e){this._adaptiveController.isFormEditMode()&&this._adaptiveController.collapseAdaptiveDetailRow(),this.callBase(e)},deleteRow:function(e){var t=this._dataController.getKeyByRowIndex(e);"batch"===this.getEditMode()&&this._adaptiveController.isAdaptiveDetailRowExpanded(t)&&this._adaptiveController.collapseAdaptiveDetailRow(),this.callBase(e)},init:function(){this.callBase(),this._adaptiveController=this.getController("adaptiveColumns")}},resizing:{_needBestFit:function(){return this.callBase()||!!this._adaptiveColumnsController.getHidingColumnsQueue().length},_updateScrollableForIE:function(){var e=this;l.default.msie&&parseInt(l.default.version)<=11&&(this._updateScrollableTimeoutID=setTimeout((function(){e.getView("rowsView")._updateScrollable()})))},_correctColumnWidths:function(e,t){var n=this._adaptiveColumnsController,i=this.option("columnAutoWidth"),r=n.getHiddenColumns(),o=n.updateHidingQueue(this._columnsController.getColumns());n.hideRedundantColumns(e,t,o);var s=n.getHiddenColumns();return n.hasAdaptiveDetailRowExpanded()&&r.length!==s.length&&n.updateForm(s),!s.length&&n.collapseAdaptiveDetailRow(),i&&o.length&&!s.length&&this._updateScrollableForIE(),this.callBase.apply(this,arguments)},_toggleBestFitMode:function(e){e&&this._adaptiveColumnsController._removeCssClasse
1sFromColumns(),this.callBase(e)},_needStretch:function(){var e=this._adaptiveColumnsController;return this.callBase.apply(this,arguments)||e.getHidingColumnsQueue().length||e.hasHiddenColumns()},init:function(){this._adaptiveColumnsController=this.getController("adaptiveColumns"),this.callBase()},dispose:function(){this.callBase.apply(this,arguments),clearTimeout(this._updateScrollableTimeoutID)}},data:{_processItems:function(e,t){var n=this,i=t.changeType;if(e=n.callBase.apply(n,arguments),"loadingAll"===i||!a.default.isDefined(n._adaptiveExpandedKey))return e;var r=h.default.getIndexByKey(n._adaptiveExpandedKey,e);if(r>=0){var o=e[r];e.splice(r+1,0,{visible:!0,rowType:"detailAdaptive",key:o.key,data:o.data,node:o.node,modifiedValues:o.modifiedValues,isNewRow:o.isNewRow,values:o.values})}else"refresh"===i&&(n._adaptiveExpandedKey=void 0);return e},_getRowIndicesForExpand:function(e){var t=this.callBase.apply(this,arguments);if(this.getController("adaptiveColumns").isAdaptiveDetailRowExpanded(e)){var n=t[t.length-1];t.push(n+1)}return t},adaptiveExpandedKey:function(e){if(!a.default.isDefined(e))return this._adaptiveExpandedKey;this._adaptiveExpandedKey=e},toggleExpandAdaptiveDetailRow:function(e,t){var n=h.default.getIndexByKey(this._adaptiveExpandedKey,this._items),i=h.default.getIndexByKey(e,this._items);n>=0&&n===i&&!t&&(e=void 0,i=-1),this._adaptiveExpandedKey=e,n>=0&&n++,i>=0&&i++;var r=this.getRowIndexDelta();this.updateItems({allowInvisibleRowIndices:!0,changeType:"update",rowIndices:[n-r,i-r]})},init:function(){this.callBase(),this._adaptiveExpandedKey=void 0}},editorFactory:{_getFocusCellSelector:function(){return this.callBase()+", .dx-adaptive-detail-row .dx-field-item > .dx-field-item-content"},_getTooltipsSelector:function(){return this.callBase()+", .dx-field-item-content ."+this.addWidgetPrefix("revert-tooltip")}},columns:{_isColumnVisible:function(e){return this.callBase(e)&&!e.adaptiveHidden}},keyboardNavigation:{_isCellValid:function(e){return this.callBase.apply(this,arguments)&&!e.hasClass(this.addWidgetPrefix("hidden-column"))},_processNextCellInMasterDetail:function(e){this.callBase(e);var t=this._editingController.isCellOrBatchEditMode();!this._isInsideEditForm(e)&&e&&t&&r.default.on(e,"focus",(function t(){r.default.off(e,"focus",t),r.default.trigger(e,"dxclick")}))},_handleTabKeyOnMasterDetailCell:function(e,t){var n=this.callBase(e,t),i=this._getFocusedCell(),r=i&&i.parent();if(!n&&r&&r.length){var o=C(r),s="next"===t?o.last():o.first(),a=r.get(0).rowIndex,l=this._adaptiveController,c=this._dataController.getKeyByRowIndex("next"===t?a:a-1),u=i&&s&&i.get(0)===s.get(0);return l.isAdaptiveDetailRowExpanded(c)&&u}return n},init:function(){this.callBase(),this._adaptiveController=this.getController("adaptiveColumns")}}}}}},ti0F:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object String]":"string","[object Null]":"null"},o=function(e){var t=Object.prototype.toString.call(e);return"object"===i(e)?r[t]||"object":i(e)},s=function(e){return"function"==typeof e},a=function(e){return"number"==typeof e&&isFinite(e)||!isNaN(e-parseFloat(e))};t.isBoolean=function(e){return"boolean"==typeof e},t.isExponential=function(e){return a(e)&&-1!==e.toString().indexOf("e")},t.isDate=function(e){return"date"===o(e)},t.isDefined=function(e){return null!=e},t.isFunction=s,t.isString=function(e){return"string"==typeof e},t.isNumeric=a,t.isObject=function(e){return"object"===o(e)},t.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},t.isPlainObject=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.isPrimitive=function(e){return-1===["object","array","function"].indexOf(o(e))},t.isWindow=function(e){return null!=e&&e===e.window}
vendor: 15,904 bytes, line 1
1,t.isRenderer=function(e){return!(!e.jquery&&!e.dxRenderer)},t.isPromise=function(e){return e&&s(e.then)},t.isDeferred=function(e){return e&&s(e.done)&&s(e.fail)},t.type=o},"tk/3":function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return z})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return O}));var i=n("fXoL"),r=n("LRne"),o=n("HDdC"),s=n("bOdf"),a=n("pLZG"),l=n("lJxs"),c=n("ofXK");class u{}class d{}class h{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const i=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new h;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class m{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const i=e.indexOf("="),[r,o]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],s=n.get(r)||[];s.push(o),n.set(r,s)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new m({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function g(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function _(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class v{constructor(e,t,n,i){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new h),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new m,this.urlWithParams=t}serializeBody(){return null===this.body?null:g(this.body)||_(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:_(this.body)?this.body.type||null:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,r=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new v(t,n,r,{params:l,headers:a,reportProgress:s,responseType:i,withCredentials:o})}}const y=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();class w{constructor(e,t=200,n="OK"){this.headers=e.headers||new h,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class C extends w{constructor(e={}){super(e),this.type=y.ResponseHeader}clone(e={}){return new C({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class x extends w{constructor(e={}){super(e),this.type=y.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new x({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class S extends w{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function k(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let T=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof v)i=e;else{let r=void 0;r=n.headers instanceof h?n.headers:new h(n.headers);let o=void 0;n.params&&(o=n.params instanceof m?n.params:new m({fromObject:n.params})),i=new v(e,t,void 0!==n.body?n.body:null,{headers:r,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=Object(r.a)(i).pipe(Object(s.a)(e=>this.handler.handle(e)));if(e instanceof v||"events"===n.observe)return o;const c=o.pipe(Object(a.a)(e=>e instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return c.pipe(Object(l.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return c.pipe(Object(l.a)(e=>e.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,k(n,t))}post(e,t,n={}){return this.request("POST",e,k(n,t))}put(e,t,n={}){return this.request("PUT",e,k(n,t))}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(u))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();class E{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const I=new i.q("HTTP_INTERCEPTORS");let D=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();const M=/^\)\]\}',?\n/;class O{}let R=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),L=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let r=null;const o=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,i=n.statusText||"OK",o=new h(n.getAllResponseHeaders()),s=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return r=new C({headers:o,status:t,statusText:i,url:s}),r},s=()=>{let{headers:i,status:r,statusText:s,url:a}=o(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(M,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new x({body:l,headers:i,status:r,statusText:s,url:a||void 0})),t.complete()):t.error(new S({error:l,headers:i,status:r,statusText:s,url:a||void 0}))},a=e=>{const{url:i}=o(),r=new S({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(r)};let l=!1;const c=i=>{l||(t.next(o()),l=!0);let r={type:y.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},u=e=>{let n={type:y.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),t.next({type:y.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",s),e.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(O))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();const A=new i.q("XSRF_COOKIE_NAME"),P=new i.q("XSRF_HEADER_NAME");class F{}let B=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.w)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(c.c),i.Wb(i.B),i.Wb(A))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),H=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(F),i.Wb(P))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),V=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(I,[]);this.chain=e.reduceRight((e,t)=>new E(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(d),i.Wb(i.r))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),N=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:H,useClass:D}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:A,useValue:t.cookieName}:[],t.headerName?{provide:P,useValue:t.headerName}:[]]}}}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:[H,{provide:I,useExisting:H,multi:!0},{provide:F,useClass:B},{provide:A,useValue:"XSRF-TOKEN"},{provide:P,useValue:"X-XSRF-TOKEN"}]}),e})(),z=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:[T,{provide:u,useClass:V},L,{provide:d,useExisting:L},R,{provide:O,useExisting:R}],imports:[[N.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},txO7:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("FqPI"));
1function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("editorFactory",r.default)},tyNb:function(e,t,n){"use strict";n.d(t,"a",(function(){return Xe})),n.d(t,"b",(function(){return _n})),n.d(t,"c",(function(){return an})),n.d(t,"d",(function(){return ln})),n.d(t,"e",(function(){return dn})),n.d(t,"f",(function(){return cn})),n.d(t,"g",(function(){return kn})),n.d(t,"h",(function(){return fn}));var i=n("ofXK"),r=n("fXoL"),o=n("LRne"),s=n("Cfvw"),a=n("XNiG"),l=n("9ppp");class c extends a.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value}next(e){super.next(this._value=e)}}var u=n("HDdC"),d=n("sVev"),h=n("itXk"),p=n("EY2u");function f(e){return new u.a(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?Object(s.a)(n):Object(p.b)()).subscribe(t)})}var m=n("lJxs"),g=n("0EUg"),_=n("pLZG"),b=n("7o/Q"),v=n("4I5i");function y(e){return function(t){return 0===e?Object(p.b)():t.lift(new w(e))}}class w{constructor(e){if(this.total=e,this.total<0)throw new v.a}call(e,t){return t.subscribe(new C(e,this.total))}}class C extends b.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=t++%n;e.next(i[r])}}e.complete()}}var x=n("XDbj"),S=n("xbPD"),k=n("SpAZ");function T(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Object(_.a)((t,n)=>e(t,n,i)):k.a,y(1),n?Object(S.a)(t):Object(x.a)(()=>new d.a))}var E=n("JIr8"),I=n("SxV6"),D=n("5+tZ");class M{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new O(e,this.predicate,this.thisArg,this.source))}}class O extends b.a{constructor(e,t,n,i){super(e),this.predicate=t,this.thisArg=n,this.source=i,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var R=n("eIep"),L=n("IzEk"),A=n("JX91");function P(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new F(e,t,n))}}class F{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new B(e,this.accumulator,this.seed,this.hasSeed))}}class B extends b.a{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var H=n("bOdf"),V=n("mCNh"),N=n("vkgz"),z=n("quSY");class j{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Y(e,this.callback))}}class Y extends b.a{constructor(e,t){super(e),this.add(new z.a(t))}}var W=n("bHdf");class Q{constructor(e,t){this.id=e,this.url=t}}class $ extends Q{constructor(e,t,n="imperative",i=null){super(e,t),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class G extends Q{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class K extends Q{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class U extends Q{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class q extends Q{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J extends Q{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class X extends Q{constructor(e,t,n,i,r){super(e,t),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Z extends Q{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ee extends Q{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ne{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ie{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class se{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let le=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Fb({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r.Mb(0,"router-outlet")},directives:function(){return[fn]},encapsulation:2}),e})();class ce{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ue(e){return new ce(e)}function de(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function he(e,t,n){const i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;const r={};for(let o=0;o<i.length;o++){const t=i[o],n=e[o];if(t.startsWith(":"))r[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}class pe{constructor(e,t){this.routes=e,this.module=t}}
vendor: 16,372 bytes, line 1
1function fe(e,t=""){for(let n=0;n<e.length;n++){const i=e[n];me(i,ge(t,i))}}function me(e,t){if(!e)throw new Error(`\n      Invalid configuration of route '${t}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&fe(e.children,t)}function ge(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function _e(e){const t=e.children&&e.children.map(_e),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=le),n}function be(e,t){const n=Object.keys(e),i=Object.keys(t);if(!n||!i||n.length!=i.length)return!1;let r;for(let o=0;o<n.length;o++)if(r=n[o],!ve(e[r],t[r]))return!1;return!0}function ve(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every(e=>t.indexOf(e)>-1):e===t}function ye(e){return Array.prototype.concat.apply([],e)}function we(e){return e.length>0?e[e.length-1]:null}function Ce(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function xe(e){return Object(r.pb)(e)?e:Object(r.qb)(e)?Object(s.a)(Promise.resolve(e)):Object(o.a)(e)}function Se(e,t,n){return n?function(e,t){return be(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Ie(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>ve(e[n],t[n]))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,i,r){if(n.segments.length>r.length)return!!Ie(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Ie(n.segments,r))return!1;for(const t in i.children){if(!n.children[t])return!1;if(!e(n.children[t],i.children[t]))return!1}return!0}{const e=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!!Ie(n.segments,e)&&!!n.children.primary&&t(n.children.primary,i,o)}}(t,n,n.segments)}(e.root,t.root)}class ke{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return Re.serialize(this)}}class Te{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Ce(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Le(this)}}class Ee{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ue(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function Ie(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function De(e,t){let n=[];return Ce(e.children,(e,i)=>{"primary"===i&&(n=n.concat(t(e,i)))}),Ce(e.children,(e,i)=>{"primary"!==i&&(n=n.concat(t(e,i)))}),n}class Me{}class Oe{parse(e){const t=new We(e);return new ke(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,n){if(!t.hasChildren())return Le(t);if(n){const n=t.children.primary?e(t.children.primary,!1):"",i=[];return Ce(t.children,(t,n)=>{"primary"!==n&&i.push(`${n}:${e(t,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=De(t,(n,i)=>"primary"===i?[e(t.children.primary,!1)]:[`${i}:${e(n,!1)}`]);return`${Le(t)}/(${n.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Pe(t)}=${Pe(e)}`).join("&"):`${Pe(t)}=${Pe(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Re=new Oe;function Le(e){return e.segments.map(e=>Ve(e)).join("/")}function Ae(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(e){return Ae(e).replace(/%3B/gi,";")}function Fe(e){return Ae(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Be(e){return decodeURIComponent(e)}function He(e){return Be(e.replace(/\+/g,"%20"))}function Ve(e){return`${Fe(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Fe(e)}=${Fe(t[e])}`).join("")}`;var t}const Ne=/^[^\/()?;=#]+/;function ze(e){const t=e.match(Ne);return t?t[0]:""}const je=/^[^=?&#]+/,Ye=/^[^?&#]+/;class We{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Te([],{}):new Te([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Te(e,t)),n}parseSegment(){const e=ze(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ee(Be(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=ze(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=ze(this.remaining);e&&(n=e,this.capture(n))}e[Be(t)]=Be(n)}parseQueryParam(e){const t=function(e){const t=e.match(je);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Ye);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=He(t),r=He(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(r)}else e[i]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=ze(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");const o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new Te([],o),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Qe{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=$e(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=$e(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ge(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ge(e,this._root).map(e=>e.value)}}function $e(e,t){if(e===t.value)return t;for(const n of t.children){const t=$e(e,n);if(t)return t}return null}function Ge(e,t){if(e===t.value)return[t];for(const n of t.children){const i=Ge(e,n);if(i.length)return i.unshift(t),i}return[]}class Ke{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Ue(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class qe extends Qe{constructor(e,t){super(e),this.snapshot=t,nt(this,e)}toString(){return this.snapshot.toString()}}function Je(e,t){const n=function(e,t){const n=new et([],{},{},"",{},"primary",t,null,e.root,-1,{});return new tt("",new Ke(n,[]))}(e,t),i=new c([new Ee("",{})]),r=new c({}),o=new c({}),s=new c({}),a=new c(""),l=new Xe(i,r,s,a,o,"primary",t,n.root);return l.snapshot=n.root,new qe(new Ke(l,[]),n)}class Xe{constructor(e,t,n,i,r,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)(e=>ue(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)(e=>ue(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ze(e,t="emptyOnly"){const n=e.pathFromRoot;let i=0;if("always"!==t)for(i=n.length-1;i>=1;){const e=n[i],t=n[i-1];if(e.routeConfig&&""===e.routeConfig.path)i--;else{if(t.component)break;i--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class et{constructor(e,t,n,i,r,o,s,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ue(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class tt extends Qe{constructor(e,t){super(t),this.url=e,nt(this,t)}toString(){return it(this._root)}}function nt(e,t){t.value._routerState=e,t.children.forEach(t=>nt(e,t))}function it(e){const t=e.children.length>0?` { ${e.children.map(it).join(", ")} } `:"";return`${e.value}${t}`}function rt(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,be(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),be(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!be(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),be(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function ot(e,t){var n,i;return be(e.params,t.params)&&Ie(n=e.url,i=t.url)&&n.every((e,t)=>be(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||ot(e.parent,t.parent))}function st(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function at(e,t,n,i,r){let o={};return i&&Ce(i,(e,t)=>{o[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new ke(n.root===e?t:function e(t,n,i){const r={};return Ce(t.children,(t,o)=>{r[o]=t===n?i:e(t,n,i)}),new Te(t.segments,r)}(n.root,e,t),o,r)}class lt{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&st(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(i&&i!==we(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ct{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function ut(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:`${e}`}function dt(e,t,n){if(e||(e=new Te([],{})),0===e.segments.length&&e.hasChildren())return ht(e,t,n);const i=function(e,t,n){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=n.length)return o;const t=e.segments[r],s=ut(n[i]),a=i<n.length-1?n[i+1]:null;if(r>0&&void 0===s)break;if(s&&a&&"object"==typeof a&&void 0===a.outlets){if(!gt(s,a,t))return o;i+=2}else{if(!gt(s,{},t))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const t=new Te(e.segments.slice(0,i.pathIndex),{});return t.children.primary=new Te(e.segments.slice(i.pathIndex),e.children),ht(t,0,r)}return i.match&&0===r.length?new Te(e.segments,{}):i.match&&!e.hasChildren()?pt(e,t,n):i.match?ht(e,0,r):pt(e,t,n)}function ht(e,t,n){if(0===n.length)return new Te(e.segments,{});{const i=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),r={};return Ce(i,(n,i)=>{null!==n&&(r[i]=dt(e.children[i],t,n))}),Ce(e.children,(e,t)=>{void 0===i[t]&&(r[t]=e)}),new Te(e.segments,r)}}function pt(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r<n.length;){if("object"==typeof n[r]&&void 0!==n[r].outlets){const e=ft(n[r].outlets);return new Te(i,e)}if(0===r&&st(n[0])){i.push(new Ee(e.segments[t].path,n[0])),r++;continue}const o=ut(n[r]),s=r<n.length-1?n[r+1]:null;o&&s&&st(s)?(i.push(new Ee(o,mt(s))),r+=2):(i.push(new Ee(o,{})),r++)}return new Te(i,{})}function ft(e){const t={};return Ce(e,(e,n)=>{null!==e&&(t[n]=pt(new Te([],{}),0,e))}),t}function mt(e){const t={};return Ce(e,(e,n)=>t[n]=`${e}`),t}function gt(e,t,n){return e==n.path&&be(t,n.parameters)}class _t{constructor(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),rt(this.futureState.root),this.activateChildRoutes(t,n,e)}
1deactivateChildRoutes(e,t,n){const i=Ue(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),Ce(i,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const i=Ue(e),r=e.value.component?n.children:t;Ce(i,(e,t)=>this.deactivateRouteAndItsChildren(e,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const i=Ue(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new se(e.value.snapshot))}),e.children.length&&this.forwardEvent(new re(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(rt(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const e=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),bt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=i,t.resolver=r,t.outlet&&t.outlet.activateWith(i,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function bt(e){rt(e.value),e.children.forEach(bt)}function vt(e){return"function"==typeof e}function yt(e){return e instanceof ke}class wt{constructor(e){this.segmentGroup=e||null}}class Ct{constructor(e){this.urlTree=e}}function xt(e){return new u.a(t=>t.error(new wt(e)))}function St(e){return new u.a(t=>t.error(new Ct(e)))}function kt(e){return new u.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Tt{constructor(e,t,n,i,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(r.x)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(m.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(E.a)(e=>{if(e instanceof Ct)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof wt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(m.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Object(E.a)(e=>{if(e instanceof wt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const i=e.segments.length>0?new Te([],{primary:e}):e;return new ke(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(m.a)(e=>new Te([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return Object(o.a)({});const n=[],i=[],r={};return Ce(e,(e,o)=>{const s=t(o,e).pipe(Object(m.a)(e=>r[o]=e));"primary"===o?n.push(s):i.push(s)}),o.a.apply(null,n.concat(i)).pipe(Object(g.a)(),T(),Object(m.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(e,t,i,n))}expandSegment(e,t,n,i,r,s){return Object(o.a)(...n).pipe(Object(m.a)(a=>this.expandSegmentAgainstRoute(e,t,n,a,i,r,s).pipe(Object(E.a)(e=>{if(e instanceof wt)return Object(o.a)(null);throw e}))),Object(g.a)(),Object(I.a)(e=>!!e),Object(E.a)((e,n)=>{if(e instanceof d.a||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,i,r))return Object(o.a)(new Te([],{}));throw new wt(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,i,r,o,s){return Mt(i)!==o?xt(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):xt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?St(r):this.lineralizeSegments(n,r).pipe(Object(D.a)(n=>{const r=new Te(n,{});return this.expandSegment(e,r,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o){const{matched:s,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Et(t,i,r);if(!s)return xt(t);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?St(u):this.lineralizeSegments(i,u).pipe(Object(D.a)(i=>this.expandSegment(e,t,n,i.concat(r.slice(l)),o,!1)))}matchSegmentAgainstRoute(e,t,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(m.a)(e=>(n._loadedConfig=e,new Te(i,{})))):Object(o.a)(new Te(i,{}));const{matched:r,consumedSegments:s,lastChild:a}=Et(t,n,i);if(!r)return xt(t);const l=i.slice(a);return this.getChildConfig(e,n,i).pipe(Object(D.a)(e=>{const n=e.module,i=e.routes,{segmentGroup:r,slicedSegments:a}=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some(n=>Dt(e,t,n)&&"primary"!==Mt(n))}(e,n,i)?{segmentGroup:It(new Te(t,function(e,t){const n={};n.primary=t;for(const i of e)""===i.path&&"primary"!==Mt(i)&&(n[Mt(i)]=new Te([],{}));return n}(i,new Te(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>Dt(e,t,n))}(e,n,i)?{segmentGroup:It(new Te(e.segments,function(e,t,n,i){const r={};for(const o of n)Dt(e,t,o)&&!i[Mt(o)]&&(r[Mt(o)]=new Te([],{}));return Object.assign(Object.assign({},i),r)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,i);return 0===a.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(m.a)(e=>new Te(s,e))):0===i.length&&0===a.length?Object(o.a)(new Te(s,{})):this.expandSegment(n,r,i,a,"primary",!0).pipe(Object(m.a)(e=>new Te(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(o.a)(new pe(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):function(e,t,n){const i=t.canLoad;return i&&0!==i.length?Object(s.a)(i).pipe(Object(m.a)(i=>{const r=e.get(i);let o;if(function(e){return e&&vt(e.canLoad)}(r))o=r.canLoad(t,n);else{if(!vt(r))throw new Error("Invalid CanLoad guard");o=r(t,n)}return xe(o)})).pipe(Object(g.a)(),(r=e=>!0===e,e=>e.lift(new M(r,void 0,e)))):Object(o.a)(!0);var r}(e.injector,t,n).pipe(Object(D.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(m.a)(e=>(t._loadedConfig=e,e))):function(e){return new u.a(t=>t.error(de(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(o.a)(new pe([],e))}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(o.a)(n);if(i.numberOfChildren>1||!i.children.primary)return kt(e.redirectTo);i=i.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,i){const r=this.createSegmentGroup(e,t.root,n,i);return new ke(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Ce(e,(e,i)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}createSegmentGroup(e,t,n,i){const r=this.createSegments(e,t.segments,n,i);let o={};return Ce(t.children,(t,r)=>{o[r]=this.createSegmentGroup(e,t,n,i)}),new Te(r,o)}createSegments(e,t,n,i){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}function Et(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(t.matcher||he)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function It(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Te(e.segments.concat(t.segments),t.children)}return e}function Dt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Mt(e){return e.outlet||"primary"}class Ot{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Rt{constructor(e,t){this.component=e,this.route=t}}function Lt(e,t,n){const i=e._root;return function e(t,n,i,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=Ue(n);
1return t.children.forEach(t=>{!function(t,n,i,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=n?n.value:null,l=i?i.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ie(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ie(e.url,t.url)||!be(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ot(e,t)||!be(e.queryParams,t.queryParams);case"paramsChange":default:return!ot(e,t)}}(a,s,s.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ot(r)):(s.data=a.data,s._resolvedData=a._resolvedData),e(t,n,s.component?l?l.children:null:i,r,o),c&&o.canDeactivateChecks.push(new Rt(l&&l.outlet&&l.outlet.component||null,a))}else a&&Pt(n,l,o),o.canActivateChecks.push(new Ot(r)),e(t,null,s.component?l?l.children:null:i,r,o)}(t,s[t.value.outlet],i,r.concat([t.value]),o),delete s[t.value.outlet]}),Ce(s,(e,t)=>Pt(e,i.getContext(t),o)),o}(i,t?t._root:null,n,[i.value])}function At(e,t,n){const i=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function Pt(e,t,n){const i=Ue(e),r=e.value;Ce(i,(e,i)=>{Pt(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Rt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}const Ft=Symbol("INITIAL_VALUE");function Bt(){return Object(R.a)(e=>Object(h.a)(...e.map(e=>e.pipe(Object(L.a)(1),Object(A.a)(Ft)))).pipe(P((e,t)=>{let n=!1;return t.reduce((e,i,r)=>{if(e!==Ft)return e;if(i===Ft&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||yt(i))return i}return e},e)},Ft),Object(_.a)(e=>e!==Ft),Object(m.a)(e=>yt(e)?e:!0===e),Object(L.a)(1)))}function Ht(e,t){return null!==e&&t&&t(new oe(e)),Object(o.a)(!0)}function Vt(e,t){return null!==e&&t&&t(new ie(e)),Object(o.a)(!0)}function Nt(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Object(o.a)(!0);const r=i.map(i=>f(()=>{const r=At(i,t,n);let o;if(function(e){return e&&vt(e.canActivate)}(r))o=xe(r.canActivate(t,e));else{if(!vt(r))throw new Error("Invalid CanActivate guard");o=xe(r(t,e))}return o.pipe(Object(I.a)())}));return Object(o.a)(r).pipe(Bt())}function zt(e,t,n){const i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>f(()=>{const r=t.guards.map(r=>{const o=At(r,t.node,n);let s;if(function(e){return e&&vt(e.canActivateChild)}(o))s=xe(o.canActivateChild(i,e));else{if(!vt(o))throw new Error("Invalid CanActivateChild guard");s=xe(o(i,e))}return s.pipe(Object(I.a)())});return Object(o.a)(r).pipe(Bt())}));return Object(o.a)(r).pipe(Bt())}class jt{}class Yt{constructor(e,t,n,i,r,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}recognize(){try{const e=$t(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new et([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Ke(n,t),r=new tt(this.url,i);return this.inheritParamsAndData(r._root),Object(o.a)(r)}catch(e){return new u.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=Ze(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=De(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),i=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${i}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>
1"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,i){for(const o of e)try{return this.processSegmentAgainstRoute(o,t,n,i)}catch(r){if(!(r instanceof jt))throw r}if(this.noLeftoversInUrl(t,n,i))return[];throw new jt}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo)throw new jt;if((e.outlet||"primary")!==i)throw new jt;let r,o=[],s=[];if("**"===e.path){const o=n.length>0?we(n).parameters:{};r=new et(n,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ut(e),i,e.component,e,Wt(t),Qt(t)+n.length,qt(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new jt;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(t.matcher||he)(n,e,t);if(!i)throw new jt;const r={};Ce(i.posParams,(e,t)=>{r[t]=e.path});const o=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o}}(t,e,n);o=a.consumedSegments,s=n.slice(a.lastChild),r=new et(o,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ut(e),i,e.component,e,Wt(t),Qt(t)+o.length,qt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=$t(t,o,s,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return[new Ke(r,e)]}if(0===a.length&&0===c.length)return[new Ke(r,[])];const u=this.processSegment(a,l,c,"primary");return[new Ke(r,u)]}}function Wt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Qt(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function $t(e,t,n,i,r){if(n.length>0&&function(e,t,n){return n.some(n=>Gt(e,t,n)&&"primary"!==Kt(n))}(e,n,i)){const r=new Te(t,function(e,t,n,i){const r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&"primary"!==Kt(o)){const n=new Te([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[Kt(o)]=n}return r}(e,t,i,new Te(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Gt(e,t,n))}(e,n,i)){const o=new Te(e.segments,function(e,t,n,i,r,o){const s={};for(const a of i)if(Gt(e,n,a)&&!r[Kt(a)]){const n=new Te([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Kt(a)]=n}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new Te(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Gt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Kt(e){return e.outlet||"primary"}function Ut(e){return e.data||{}}function qt(e){return e.resolve||{}}function Jt(e,t,n,i){const r=At(e,t,i);return xe(r.resolve?r.resolve(t,n):r(t,n))}function Xt(e){return function(t){return t.pipe(Object(R.a)(t=>{const n=e(t);return n?Object(s.a)(n).pipe(Object(m.a)(()=>t)):Object(s.a)([t])}))}}class Zt{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const en=new r.q("ROUTES");class tn{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(m.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new pe(ye(i.injector.get(en)).map(_e),i)}))}loadModuleFactory(e){return"string"==typeof e?Object(s.a)(this.loader.load(e)):xe(e()).pipe(Object(D.a)(e=>e instanceof r.v?Object(o.a)(e):Object(s.a)(this.compiler.compileModuleAsync(e))))}}class nn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function rn(e){throw e}function on(e,t,n){return t.parse("/")}function sn(e,t){return Object(o.a)(null)}let an=(()=>{class e{constructor(e,t,n,i,o,s,l,u){this.rootComponentType=e,this.urlSerializer
1=t,this.rootContexts=n,this.location=i,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new a.a,this.errorHandler=rn,this.malformedUriErrorHandler=on,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:sn,afterPreactivation:sn},this.urlHandlingStrategy=new nn,this.routeReuseStrategy=new Zt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(r.x),this.console=o.get(r.W);const d=o.get(r.z);this.isNgZoneEnabled=d instanceof r.z,this.resetConfig(u),this.currentUrlTree=new ke(new Te([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new tn(s,l,e=>this.triggerEvent(new te(e)),e=>this.triggerEvent(new ne(e))),this.routerState=Je(this.currentUrlTree,this.rootComponentType),this.transitions=new c({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Object(_.a)(e=>0!==e.id),Object(m.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(R.a)(e=>{let n=!1,i=!1;return Object(o.a)(e).pipe(Object(N.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(R.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(R.a)(e=>{const n=this.transitions.getValue();return t.next(new $(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.a:[e]}),Object(R.a)(e=>Promise.resolve(e)),(i=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,a=this.config,function(e){return e.pipe(Object(R.a)(e=>function(e,t,n,i,r){return new Tt(e,t,n,i,r).apply()}(i,r,s,e.extractedUrl,a).pipe(Object(m.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),Object(N.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,r){return function(o){return o.pipe(Object(D.a)(o=>function(e,t,n,i,r="emptyOnly",o="legacy"){return new Yt(e,t,n,i,r,o).recognize()}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),i,r).pipe(Object(m.a)(e=>Object.assign(Object.assign({},o),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(N.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Object(N.a)(e=>{const n=new q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,r,s,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:a}=e,l=new $(n,this.serializeUrl(i),r,s);t.next(l);const c=Je(i,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.a}),Xt(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),Object(N.a)(e=>{const t=new J(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(m.a)(e=>Object.assign(Object.assign({},e),{guards:Lt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(D.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(s.a)(e).pipe(Object(D.a)(e=>function(e,t,n,i,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(o.a)(!0);const a=s.map(o=>{const s=At(o,t,r);let a;if(function(e){return e&&vt(e.canDeactivate)}(s))a=xe(s.canDeactivate(e,t,n,i));else{if(!vt(s))throw new Error("Invalid CanDeactivate guard");a=xe(s(e,t,n,i))}return a.pipe(Object(I.a)())});return Object(o.a)(a).pipe(Bt())}(e.component,e.route,n,t,i)),Object(I.a)(e=>!0!==e,!0))}(l,i,r,e).pipe(Object(D.a)(n=>n&&"boolean"==typeof n?function(e,t,n,i){return Object(s.a)(t).pipe(Object(H.a)(t=>Object(s.a)([Vt(t.route.parent,i),Ht(t.route,i),zt(e,t.path,n),Nt(e,t.route,n)]).pipe(Object(g.a)(),Object(I.a)(e=>!0!==e,!0))),Object(I.a)(e=>!0!==e,!0))}(i,a,e,t):Object(o.a)(n)),Object(m.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Object(N.a)(e=>{if(yt(e.guardsResult)){const t=de(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Object(N.a)(e=>{const t=new X(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(_.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new K(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Xt(e=>{if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(N.a)(e=>{const t=new Z(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(e){return e.pipe(Object(D.a)(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;return r.length?Object(s.a)(r).pipe(Object(H.a)(e=>function(e,t,n,i){return function(e,t,n,i){const r=Object.keys(e);if(0===r.length)return Object(o.a)({});if(1===r.length){const o=r[0];return Jt(e[o],t,n,i).pipe(Object(m.a)(e=>({[o]:e})))}const a={};return Object(s.a)(r).pipe(Object(D.a)(r=>Jt(e[r],t,n,i).pipe(Object(m.a)(e=>(a[r]=e,e))))).pipe(T(),Object(m.a)(()=>a))}(e._resolve,e,t,i).pipe(Object(m.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Ze(e,n).resolve),null)))}(e.route,i,t,n)),function(e,t){return arguments.length>=2?function(n){return Object(V.a)(P(e,t),y(1),Object(S.a)(t))(n)}:function(t){return Object(V.a)(P((t,n,i)=>e(t,n,i+1)),y(1))(t)}}((e,t)=>e),Object(m.a)(t=>e)):Object(o.a)(e)}))}),Object(N.a)(e=>{const t=new ee(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,n}),Xt(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),Object(m.a)(e=>{const t=function(e,t,n){const i=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){const r=i.value;r._futureSnapshot=n.value;const o=function(t,n,i){return n.children.map(n=>{for(const r of i.children)if(t.shouldReuseRoute(r.value.snapshot,n.value))return e(t,n,r);return e(t,n)})}(t,n,i);return new Ke(r,o)}{const i=t.retrieve(n.value);if(i){const e=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
1if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let i=0;i<t.children.length;++i)e(t.children[i],n.children[i])}(n,e),e}{const i=new Xe(new c((r=n.value).url),new c(r.params),new c(r.queryParams),new c(r.fragment),new c(r.data),r.outlet,r.component,r),o=n.children.map(n=>e(t,n));return new Ke(i,o)}}var r}(e,t._root,n?n._root:void 0);return new qe(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object(N.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(a=this.rootContexts,l=this.routeReuseStrategy,u=e=>this.triggerEvent(e),Object(m.a)(e=>(new _t(l,e.targetRouterState,e.currentRouterState,u).activate(a),e))),Object(N.a)({next(){n=!0},complete(){n=!0}}),(r=()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new K(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null},e=>e.lift(new j(r))),Object(E.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=yt(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new K(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const i=new U(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var r;return p.a}));var r,a,l,u}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",i=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,i,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){fe(e),this.config=e.map(_e),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:o,preserveQueryParams:s,queryParamsHandling:a,preserveFragment:l}=t;Object(r.T)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,u=l?this.currentUrlTree.fragment:o;let d=null;if(a)switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}else d=s?this.currentUrlTree.queryParams:i||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,i,r){if(0===n.length)return at(t.root,t.root,t,i,r);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new lt(!0,0,e);let t=0,n=!1;const i=e.reduce((e,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return Ce(i.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);
1return new lt(n,t,i)}(n);if(o.toRoot())return at(t.root,new Te([],{}),t,i,r);const s=function(e,t,n){if(e.isAbsolute)return new ct(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new ct(n.snapshot._urlSegment,!0,0);const i=st(e.commands[0])?0:1;return function(e,t,n){let i=e,r=t,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new ct(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?ht(s.segmentGroup,s.index,o.commands):dt(s.segmentGroup,s.index,o.commands);return at(s.segmentGroup,a,t,i,r)}(c,this.currentUrlTree,e,d,u)}navigateByUrl(e,t={skipLocationChange:!1}){Object(r.T)()&&this.isNgZoneEnabled&&!r.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=yt(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(yt(e))return Se(this.currentUrlTree,e,t);const n=this.parseUrl(e);return Se(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return null!=i&&(t[n]=i),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new G(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,r){const o=this.getTransition();if(o&&"imperative"!==t&&"imperative"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"hashchange"==t&&"popstate"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"popstate"==t&&"hashchange"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);let s,a,l;r?(s=r.resolve,a=r.reject,l=r.promise):l=new Promise((e,t)=>{s=e,a=t});const c=++this.navigationId;return this.setTransition({id:c,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:s,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,i){const r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(e){r.Zb()},e.\u0275dir=r.Gb({type:e}),e})(),ln=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.route=t,this.commands=[],null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.T)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(an),r.Lb(Xe),r.Xb("tabindex"),r.Lb(r.D),r.Lb(r.l))},e.\u0275dir=r.Gb({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r.ac("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),e})(),cn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof G&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.T)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i){if(0!==e||t||n||i)return!0;
1if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(an),r.Lb(Xe),r.Lb(i.i))},e.\u0275dir=r.Gb({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.ac("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(r.Ub("href",t.href,r.yc),r.Ab("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r.xb]}),e})();function un(e){return""===e||!!e}let dn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.element=t,this.renderer=n,this.link=i,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(e=>{e instanceof G&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(e=>this.update()),this.linksWithHrefs.changes.subscribe(e=>this.update()),this.update()}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(an),r.Lb(r.l),r.Lb(r.D),r.Lb(ln,8),r.Lb(cn,8))},e.\u0275dir=r.Gb({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){var i;1&e&&(r.Eb(n,ln,!0),r.Eb(n,cn,!0)),2&e&&(r.tc(i=r.bc())&&(t.links=i),r.tc(i=r.bc())&&(t.linksWithHrefs=i))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.xb]}),e})();class hn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new pn,this.attachRef=null}}class pn{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new hn,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}let fn=(()=>{class e{constructor(e,t,n,i,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.n,this.deactivateEvents=new r.n,this.name=i||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new mn(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(pn),r.Lb(r.N),r.Lb(r.j),r.Xb("name"),r.Lb(r.h))},e.\u0275dir=r.Gb({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class mn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Xe?this.route:e===pn?this.childContexts:this.parent.get(e,t)}}class gn{}class _n{preload(e,t){return t().pipe(Object(E.a)(()=>Object(o.a)(null)))}}class bn{preload(e,t){return Object(o.a)(null)}}let vn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=new tn(t,n,t=>e.triggerEvent(new te(t)),t=>e.triggerEvent(new ne(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(_.a)(e=>e instanceof G),Object(H.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(r.x);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const i of t)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const e=i._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(e,i)):i.children&&n.push(this.processRoutes(e,i.children));return Object(s.a)(n).pipe(Object(W.a)(),Object(m.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(D.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(an),r.Wb(r.w),r.Wb(r.i),r.Wb(r.r),r.Wb(gn))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),yn=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anch
1orScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof $?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof G&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ae&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new ae(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(e){r.Zb()},e.\u0275dir=r.Gb({type:e}),e})();const wn=new r.q("ROUTER_CONFIGURATION"),Cn=new r.q("ROUTER_FORROOT_GUARD"),xn=[i.h,{provide:Me,useClass:Oe},{provide:an,useFactory:function(e,t,n,r,o,s,a,l={},c,u){const d=new an(null,e,t,n,r,o,s,ye(a));if(c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const e=Object(i.v)();d.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d},deps:[Me,pn,i.h,r.r,r.w,r.i,en,wn,[class{},new r.A],[class{},new r.A]]},pn,{provide:Xe,useFactory:function(e){return e.routerState.root},deps:[an]},{provide:r.w,useClass:r.J},vn,bn,_n,{provide:wn,useValue:{enableTracing:!1}}];function Sn(){return new r.y("Router",an)}let kn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[xn,Dn(t),{provide:Cn,useFactory:In,deps:[[an,new r.A,new r.I]]},{provide:wn,useValue:n||{}},{provide:i.i,useFactory:En,deps:[i.p,[new r.p(i.a),new r.A],wn]},{provide:yn,useFactory:Tn,deps:[an,i.q,wn]},{provide:gn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:bn},{provide:r.y,multi:!0,useFactory:Sn},[Mn,{provide:r.d,multi:!0,useFactory:On,deps:[Mn]},{provide:Ln,useFactory:Rn,deps:[Mn]},{provide:r.b,multi:!0,useExisting:Ln}]]}}static forChild(t){return{ngModule:e,providers:[Dn(t)]}}}return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)(r.Wb(Cn,8),r.Wb(an,8))}}),e})();function Tn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new yn(e,t,n)}function En(e,t,n={}){return n.useHash?new i.f(e,t):new i.o(e,t)}function In(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Dn(e){return[{provide:r.a,multi:!0,useValue:e},{provide:en,multi:!0,useValue:e}]}let Mn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new a.a}appInitializer(){return this.injector.get(i.g,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(an),i=this.injector.get(wn);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(wn),n=this.injector.get(vn),i=this.injector.get(yn),o=this.injector.get(an),s=this.injector.get(r.g);e===s.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(r.r))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();function On(e){return e.appInitializer.bind(e)}function Rn(e){return e.bootstrapListener.bind(e)}const Ln=new r.q("Router Initializer")},u12M:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i=n("8I5R"),r=function(e){return e.match(new RegExp("^"+i.A_CHARS+"*"))[0].length},o=function(e){return e.match(new RegExp("^"+i.B_CHARS+"*"))[0].length},s=function(e){return e.match(new RegExp("^"+i.C_CHARS+"*"))[0]};function a(e,t){var n=t?i.A_CHARS:i.B_CHARS,r=e.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(r)return r[1]+String.fromCharCode(204)+l(e.substring(r[1].length));var o=e.match(new RegExp("^"+n+"+"))[0];return o.length===e.length?e:o+String.fromCharCode(t?205:206)+a(e.substring(o.length),!t)}function l(e){var t=s(e),n=t.length;if(n===e.length)return e;e=e.substring(n);var i=r(e)>=o(e);return t+String.fromCharCode(i?206:205)+a(e,i)}t.default=function(e){var t=void 0;if(s(e).length>=2)t=i.C_START_CHAR+l(e);else{var n=r(e)>o(e);t=(n?i.A_START_CHAR:i.B_START_CHAR)+a(e,n)}return t.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(e,t){return String.fromCharCode(203)+t}))}},u3GI:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uHSv:function(e,t,n){"use strict";e.exports=n("s3DX"),e.exports.default=e.exports},uHaw:function(e,t,n){"use strict";var i=n("1LL4").extend,r=n("cGv3").getNavigator(),o=/(webkit)[ \/]([\w.]+)/,s=/(msie) (\d{1,2}\.\d)/,a=/(trident).*rv:(\d{1,2}\.\d)/,l=/(edge)\/((\d+)?[\w.]+)/,c=/(mozilla)(?:.*? rv:([\w.]+))/,u=function(e){e=e.toLowerCase();var t={},n=s.exec(e)||a.exec(e)||l.exec(e)||e.indexOf("compatible")<0&&c.exec(e)||o.exec(e)||[],i=n[1],r=n[2];return"webkit"===i&&(t.webkit=!0,e.indexOf("chrome")>=0||e.indexOf("crios")>=0?(i="chrome",r=(r=/(?:chrome|crios)\/(\d+\.\d+)/.exec(e))&&r[1]):e.indexOf("fxios")>=0?(i="mozilla",r=(r=/fxios\/(\d+\.\d+)/.exec(e))&&r[1]):e.indexOf("safari")>=0&&/version|phantomjs/.test(e)?(i="safari",r=(r=/(?:version|phantomjs)\/([0-9.]+)/.exec(e))&&r[1]):(i="unknown",r=(r=/applewebkit\/([0-9.]+)/.exec(e))&&r[1])),"trident"!==i&&"edge"!==i||(i="msie"),i&&(t[i]=!0,t.version=r),t};e.exports=i({_fromUA:u},u(r.userAgent))},uN9D:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("asJF"));
1function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("errorHandling",r.default)},uXwI:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ud26:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var r=n("2Fn2"),o=n("1LL4").extend,s=n("lGAf").OptionManager,a=n("yxXJ").bracketsToDots,l=n("5qrJ"),c=n("UdML"),u=n("/7L9"),d=n("KAnu"),h=n("ti0F"),p=n("3RoI"),f=n("tJvG"),m=f.Deferred,g=f.when,_=n("cYys"),b=n("CQoW"),v=n("Cc4C"),y=n("LdFP"),w=h.isFunction,C=d.noop,x=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._postponedOperations={}}var t;return(t=[{key:"add",value:function(e,t,n){if(e in this._postponedOperations)n&&this._postponedOperations[e].promises.push(n);else{var i=new m;this._postponedOperations[e]={fn:t,completePromise:i,promises:n?[n]:[]}}return this._postponedOperations[e].completePromise.promise()}},{key:"callPostponedOperations",value:function(){for(var e in this._postponedOperations){var t=this._postponedOperations[e];h.isDefined(t)&&(t.promises&&t.promises.length?g.apply(void 0,(n=t.promises,function(e){if(Array.isArray(e))return i(e)}(n)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,void 0):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).done(t.fn).then(t.completePromise.resolve):t.fn().done(t.completePromise.resolve))}var n;this._postponedOperations={}}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}(),S=function(e,t){if("string"!=typeof e)return e;var n={};return n[e]=t,n},k=l.inherit({_setDeprecatedOptions:function(){this._deprecatedOptions={}},_getDeprecatedOptions:function(){return this._deprecatedOptions},_getOptionAliasesByName:function(e){var t=this;return Object.keys(this._deprecatedOptions).filter((function(n){return e===t._deprecatedOptions[n].alias}))},_getDefaultOptions:function(){return{onInitialized:null,onOptionChanged:null,onDisposing:null,defaultOptionsRules:null}},_defaultOptionsRules:function(){return[]},_getOptionByRules:function(e){var t=this._defaultOptionsRules();return Array.isArray(e)&&(t=t.concat(e)),this._convertRulesToOptions(t)},_setOptionsByDevice:function(e){var t=this._getOptionByRules(e);this._setOptionByStealth(t)},_convertRulesToOptions:function(e){for(var t,n,i={},r=y.current(),s=0;s<e.length;s++){var a,l=e[s],c=l.device||{};w(c)?a=c(r):(t=r,n=[],Array.prototype.push.call(n,c),a=1===n.length&&h.isEmptyObject(n[0])||d.findBestMatches(t,n).length>0),a&&o(i,l.options)}return i},_isInitialOptionValue:function(e){var t=this.option(e),n=this.initialOption(e);return w(t)&&w(n)?t.toString()===n.toString():d.equalByValue(t,n)},_setOptionsByReference:function(){this._optionsByReference={}},_getOptionsByReference:function(){return this._optionsByReference}
1,ctor:function(e){var t=this;this.NAME=v.name(this.constructor),(e=e||{}).eventsStrategy&&this.setEventsStrategy(e.eventsStrategy),this._options={},this._updateLockCount=0,this._optionChangedCallbacks=e._optionChangedCallbacks||_(),this._disposingCallbacks=e._disposingCallbacks||_(),this.postponedOperations=new x,this.beginUpdate();try{this._setOptionsByReference(),this._setDeprecatedOptions(),this._options=this._getDefaultOptions(),this._optionManager=new s(this._options,this._getOptionsByReference(),this._deprecatedOptions),this._optionManager.onChanging((function(e,n,i){t._initialized&&t._optionChanging(e,n,i)})),this._optionManager.onDeprecated((function(e,n){t._logDeprecatedWarning(e,n)})),this._optionManager.onChanged((function(e,n,i){t._notifyOptionChanged(e,n,i)})),e&&e.onInitializing&&e.onInitializing.apply(this,[e]),this._setOptionsByDevice(e.defaultOptionsRules),this._initOptions(e)}finally{this.endUpdate()}},_initOptions:function(e){this.option(e)},_init:function(){this._createOptionChangedAction(),this.on("disposing",(function(e){this._disposingCallbacks.fireWith(this,[e])}).bind(this))},_logDeprecatedWarning:function(e,t){u.log("W0001",this.NAME,e,t.since,t.message||"Use the '"+t.alias+"' option instead")},_createOptionChangedAction:function(){this._optionChangedAction=this._createActionByOption("onOptionChanged",{excludeValidators:["disabled","readOnly"]})},_createDisposingAction:function(){this._disposingAction=this._createActionByOption("onDisposing",{excludeValidators:["disabled","readOnly"]})},_optionChanged:function(e){switch(e.name){case"onDisposing":case"onInitialized":break;case"onOptionChanged":this._createOptionChangedAction()}},_dispose:function(){this._optionChangedCallbacks.empty(),this._createDisposingAction(),this._disposingAction(),this._disposeEvents(),this._optionManager.dispose(),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.postponedOperations.callPostponedOperations(),!this._initializing&&!this._initialized)){this._initializing=!0;try{this._init()}finally{this._initializing=!1,this._updateLockCount++,this._createActionByOption("onInitialized",{excludeValidators:["disabled","readOnly"]})(),this._updateLockCount--,this._initialized=!0}}},_optionChanging:C,_notifyOptionChanged:function(e,t,n){if(this._initialized)for(var i=[e].concat(this._getOptionAliasesByName(e)),r=0;r<i.length;r++){var s=i[r],a={name:s.split(/[.[]/)[0],fullName:s,value:t,previousValue:n};this._optionChangedCallbacks.fireWith(this,[o(this._defaultActionArgs(),a)]),this._optionChangedAction(o({},a)),this._disposed||this._cancelOptionChange===a.name||this._optionChanged(a)}},initialOption:function(e){if(!this._initialOptions){this._initialOptions=this._getDefaultOptions();var t=this._getOptionByRules(this._getOptionByStealth("defaultOptionsRules"));this._optionManager.setValueByReference(this._initialOptions,t)}return 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(r){return arguments.length||(r={}),h.isPlainObject(r)||(r={actionValue:r}),(n=n||new c(e,o(t,i._defaultActionConfig()))).execute.call(n,o(r,i._defaultActionArgs()))}},_createActionByOption:function(e,t){var n,i,o,s=this,a=function(){if(!i){if(t=t||{},"string"!=typeof e)throw u.Error("E0008");0===e.indexOf("on")&&(i=s._getEventName(e)),o=s.option(e)}if(n||o||t.beforeExecute||t.afterExecute||s.hasEvent(i)){if(!n){var a=t.beforeExecute;t.beforeExecute=function(e){a&&a.apply(s,arguments),s.fireEvent(i,e.args)},n=s._createAction(o,t)}if(r().wrapActionsBeforeExecute){var l=s.option("beforeActionExecute")||C,c=l(s,n,t)||n;return c.apply(s,arguments)}return n.apply(s,arguments)}};return r().wrapActionsBeforeExecute||(a=(s.option("onActionCreated")||C)(s,a,t)||a),a},_getOptionByStealth:function(e){return this._optionManager.getValueSilently(e)},_setOptionByStealth:function(e,t){this._optionManager.setValueSilently(S(e,t))},_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 Object.prototype.hasOwnProperty.call(t,e)},_setOptionSilent:function(e,t){this._cancelOptionChange=e,this.option(e,t),this._cancelOptionChange=!1},_getOptionValue:function(e,t){var n=this.option(e);return w(n)?n.bind(t)():n},option:function(e,t){if(arguments.length<2&&"object"!==h.type(e))return this._optionManager.getValue(e);this.beginUpdate();try{this._optionManager.setValue(S(e,t))}finally{this.endUpdate()}},resetOption:function(e){var t,n=this;e&&(-1!==e.search(/\.|\[/)?(e=a(e)).split(".").forEach((function(e){t=t?t[e]:n.initialOption(e)})):t=this.initialOption(e),t=h.isObject(t)?p.clone(t):t,this.beginUpdate(),this._optionManager.setValue(S(e,t),!1),this.endUpdate())}}).include(b);e.exports=k,e.exports.PostponedOperations=x},uhpr:function(e,t,n){"use strict";var i=n("tJvG"),r=n("YyLj"),o=n("ti0F"),s=n("yxXJ"),a=g(n("D8Ap")),l=g(n("AJM7")),c=g(n("D859")),u=n("1LL4"),d=g(n("xZEH")),h=g(n("7mnO")),p=g(n("imRD")),f=n("+12O"),m=g(n("YU+o"));
1function g(e){return e&&e.__esModule?e:{default:e}}var _={number:["=","<>","<",">","<=",">=","isblank","isnotblank"],string:["contains","notcontains","startswith","endswith","=","<>","isblank","isnotblank"],date:["=","<>","<",">","<=",">=","isblank","isnotblank"],datetime:["=","<>","<",">","<=",">=","isblank","isnotblank"],boolean:["=","<>","isblank","isnotblank"],object:["isblank","isnotblank"]},b={date:"shortDate",datetime:"shortDateShortTime"},v=["=","<>","isblank","isnotblank"],y=["caption","customizeText","dataField","dataType","editorTemplate","falseText","editorOptions","filterOperations","format","lookup","trueText","calculateFilterExpression","name"];function w(e){return e&&e.length>1&&"!"===e[0]&&!R(e)}function C(e){return w(e)?e[1]:e}function x(e){if(R(e))return"and";for(var t="",n=0;n<e.length;n++){var i=e[n];if(!Array.isArray(i)){if(t&&t!==i)throw new r.errors.Error("E4019");"!"!==i&&(t=i)}}return t}function S(e){var t=C(e),n=x(t);return n||(n="and"),t!==e&&(n="!"+n),n}function k(e){var t,n=(t=e.filterOperations,Array.isArray(t)&&t.length?e.filterOperations:function(e){return e.lookup&&v||_[e.dataType||"string"]}(e));return(0,u.extend)([],n)}function T(e,t){var n=m.default.getNameByFilterOperation(e);return t&&t[n]?t[n]:n}function E(e,t){var n=e.filter((function(e){return e.name===t}));return n.length?n[0]:null}function I(e){return e.defaultFilterOperation||k(e)[0]}function D(e,t){var n=C(e),i=n.indexOf(t);return n.splice(i,1),1!==n.length&&n.splice(i,1),e}function M(e,t){for(var n=0;n<t.length;n++){if(t[n].name===e)return t[n];if(t[n].dataField.toLowerCase()===e.toLowerCase())return t[n]}var i=Y(t,!0).filter((function(t){return t.dataField.toLowerCase()===e.toLowerCase()}));if(i.length>0)return i[0];throw new a.default.Error("E1047",e)}function O(e){return!!Array.isArray(e)&&(e.length<2||Array.isArray(e[0])||Array.isArray(e[1]))}function R(e){return!!Array.isArray(e)&&e.length>1&&!Array.isArray(e[0])&&!Array.isArray(e[1])}function L(e,t){for(var n=x(e).toLowerCase()||"and",i=[],r=0;r<e.length;r++)O(e[r])?(i.push(P(e[r],t)),i.push(n)):R(e[r])&&(i.push(A(e[r],t)),i.push(n));return 0===i.length&&i.push(n),i}function A(e,t){return function(e,t){var n=E(t,e[1]);return n&&n.name===e[1]}(e,t)||e.length<3&&(e[2]=e[1],e[1]="="),e}function P(e,t){return e?R(e=(0,u.extend)(!0,[],e))?[A(e,t),"and"]:w(e)?["!",R(e[1])?[A(e[1],t),"and"]:w(e[1])?[P(e[1],t),"and"]:L(e[1],t)]:L(e,t):["and"]}function F(e,t,n,i){var r=M(e[0],t),o=A(e,n),s=n.length&&E(n,o[1]);return s&&s.calculateFilterExpression?s.calculateFilterExpression.apply(s,[o[2],r,i]):r.createFilterExpression?r.createFilterExpression.apply(r,[o[2],o[1],i]):r.calculateFilterExpression?r.calculateFilterExpression.apply(r,[o[2],o[1],i]):r.defaultCalculateFilterExpression.apply(r,[o[2],o[1],i])}function B(e,t,n,i){var r;return r=!0===t?e.trueText||p.default.format("dxDataGrid-trueText"):!1===t?e.falseText||p.default.format("dxDataGrid-falseText"):function(e,t){return c.default.format(t,e.format||b[e.dataType])}(e,t),e.customizeText&&(r=e.customizeText.call(e,{value:t,valueText:r,target:i})),n&&n.customizeText&&(r=n.customizeText.call(n,{value:t,valueText:r,field:e,target:i})),r}function H(e,t,n,i){return t.map((function(t){return B(e,t,n,i)}))}function V(e){return""===e||null===e}function N(e,t){return e.some((function(e){return e.dataField===t}))}function z(e,t,n){var i=n.dataField;W(i)&&(n.parentId=Q(i),N(t,n.parentId)||N(e,n.parentId)||z(e,t,{id:n.parentId,dataType:"object",dataField:n.parentId,caption:j(n.parentId,!0),filterOperations:["isblank","isnotblank"]})),t.push(n)}function j(e,t){var n="";if(t)e=e.substring(e.lastIndexOf(".")+1);else if(W(e))return e.split(".").forEach((function(e,t,i){n+=d.default.captionize(e),t!==i.length-1&&(n+=".")})),n;return d.default.captionize(e)}function Y(e,t){for(var n=[],i=0;i<e.length;i++){var r=(0,u.extend)(!0,{caption:j(e[i].dataField,t)},e[i]);r.id=r.name||r.dataField,t?z(e,n,r):n.push(r)}return n}function W(e){return-1!==e.lastIndexOf(".")}function Q(e){return e.substring(0,e.lastIndexOf("."))}function $(e,t,n){var i=E(n,t);return i?(!1===i.hasValue?(e[1]=t,e.length=2):(e[1]=t,e[2]=""),e):("isblank"===t?(e[1]="=",e[2]=null):"isnotblank"===t?(e[1]="<>",e[2]=null):(((i=E(n,e[1]))||2===e.length||null===e[2])&&(e[2]=""),e[1]=t),e)}function G(e){return""!==e[2]}
1function K(e,t){return e[0]===t}function U(e,t,n){var i=[];return e.forEach((function(e){R(e)?K(e,t[0])?n?(i.push(t),n=!1):i.splice(i.length-1,1):i.push(e):(i.length||O(e))&&i.push(e)})),0===i.length?null:(n&&(i.push("and"),i.push(t)),1===i.length?i[0]:i)}t.isValidCondition=G,t.isEmptyGroup=function(e){var t=C(e);return!R(t)&&!t.some((function(e){return R(e)}))},t.getOperationFromAvailable=function(e,t){for(var n=0;n<t.length;n++)if(t[n].value===e)return t[n];throw new a.default.Error("E1048",e)},t.updateConditionByOperation=$,t.getCaptionWithParents=function e(t,n){if(W(t.dataField))for(var i=Q(t.dataField),r=0;r<n.length;r++)if(n[r].dataField===i)return e(n[r],n)+"."+t.caption;return t.caption},t.getItems=Y,t.setGroupValue=function(e,t){var n;return function(e,t){!function(e){return-1!==e.indexOf("!")}(t)?w(e)&&function(e){var t=C(e);e.length=0,[].push.apply(e,t)}(e):w(e)||function(e){var t=e.slice(0);e.length=0,e.push("!",t)}(e)}(e,t),function(e,t){for(n=0;n<e.length;n++)Array.isArray(e[n])||(e[n]=t)}(C(e),t=function(e){return-1===e.indexOf("!")?e:e.substring(1)}(t)),e},t.getGroupMenuItem=function(e,t){var n=S(e);return t.filter((function(e){return e.value===n}))[0]},t.getGroupValue=S,t.getAvailableOperations=function(e,t,n){var i=k(e);return n.forEach((function(t){if(!e.filterOperations&&-1===i.indexOf(t.name)){var n=t&&t.dataTypes;n&&n.indexOf(e.dataType||"string")>=0&&i.push(t.name)}})),i.map((function(e){var i=E(n,e);return i?{icon:i.icon||"icon-none",text:i.caption||d.default.captionize(i.name),value:i.name,isCustom:!0}:{icon:m.default.getIconByFilterOperation(e)||"icon-none",text:T(e,t),value:e}}))},t.removeItem=D,t.createCondition=function(e,t){var n=[e.dataField,"",""];return $(n,I(e),t),n},t.createEmptyGroup=function(e){return-1!==e.indexOf("not")?["!",[e.substring(3).toLowerCase()]]:[e]},t.addItem=function(e,t){var n=C(t),i=S(n);return 1===n.length?n.unshift(e):n.push(e,i),t},t.getField=M,t.isGroup=O,t.isCondition=R,t.getNormalizedFields=function(e){return e.reduce((function(e,t){if((0,o.isDefined)(t.dataField)){var n={};for(var i in t)t[i]&&y.indexOf(i)>-1&&(n[i]=t[i]);n.defaultCalculateFilterExpression=l.default.defaultCalculateFilterExpression,(0,o.isDefined)(n.dataType)||(n.dataType="string"),e.push(n)}return e}),[])},t.getNormalizedFilter=function e(t){var n,i=C(t);if(0===i.length)return null;var r=[];for(n=0;n<i.length;n++)if(O(i[n])){var o=e(i[n]);o?i[n]=o:r.push(i[n])}else R(i[n])&&(G(i[n])||r.push(i[n]));for(n=0;n<r.length;n++)D(i,r[n]);return 1===i.length?null:(i.splice(i.length-1,1),1===i.length&&(t=function(e,t){return w(e)?e[1]=t:e=t,e}(t,i[0])),0===t.length?null:t)},t.getGroupCriteria=C,t.convertToInnerStructure=P,t.getDefaultOperation=I,t.getCurrentValueText=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filterBuilder";if(V(t))return"";if(Array.isArray(t)){var o=new i.Deferred;return i.when.apply(this,H(e,t,n,r)).done((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t.some((function(e){return!V(e)}))?t.map((function(e){return V(e)?"?":e})):"";o.resolve(i)})),o}return B(e,t,n,r)},t.getCurrentLookupValueText=function(e,t,n){if(""!==t){var i=e.lookup;i.items?n(i.calculateCellValue(t)||""):new f.DataSource(i.dataSource).loadSingle(i.valueExpr,t).done((function(e){n(e?i.displayExpr?(0,s.compileGetter)(i.displayExpr)(e):e:"")})).fail((function(){n("")}))}else n("")},t.getFilterOperations=k,t.getCaptionByOperation=T,t.getOperationValue=function(e){return null===e[2]?"="===e[1]?"isblank":"isnotblank":e[1]},t.getFilterExpression=function e(t,n,i,r){if(!(0,o.isDefined)(t))return null;if(w(t))return["!",e(t[1],n,i,r)];var s=C(t);if(R(s))return F(s,n,i,r)||null;for(var a,l=[],c=S(s),u=0;u<s.length;u++)O(s[u])?(a=e(s[u],n,i,r))&&(u&&l.push(c),l.push(a)):R(s[u])&&(a=F(s[u],n,i,r))&&(l.length&&l.push(c),l.push(a));return 1===l.length&&(l=l[0]),l.length?l:null},t.getCustomOperation=E,t.getMergedOperations=function(e,t){var n=(0,u.extend)(!0,[],e),i=-1;return n.some((function(e,t){if("between"===e.name)return i=t,!0})),-1!==i?n[i]=(0,u.extend)(h.default.getConfig(t),n[i]):n.unshift(h.default.getConfig(t)),n},t.syncFilters=function(e,t){return null===e||0===e.length?t:R(e)?K(e,t[0])?t:[e,"and",t]:"and"!==S(e)?[t,"and",e]:U(e,t,!0)},t.getMatchedConditions=function(e,t){return null===e||0===e.length?[]:R(e)?K(e,t)?[e]:[]:"and"!==S(e)?[]:e.filter((function(e){return R(e)&&K(e,t)}))},t.filterHasField=function e(t,n){return null!==t&&0!==t.length&&(R(t)?t[0]===n:t.some((function(t){return(R(t)||O(t))&&e(t,n)})))},t.removeFieldConditionsFromFilter=function(e,t){return e&&0!==e.length?R(e)?K(e,t)?null:e:U(e,[t],!1):null}},ultK:function(e,t,n){"use strict";var i=f(n("FKN7")),r=n("ti0F"),o=f(n("GYHJ")),s=f(n("8S5z")),a=f(n("jeLr")),l=f(n("imRD")),c=f(n("Hv54")),u=f(n("uhpr")),d=n("tJvG"),h=f(n("xZEH")),p=n("WWN2");
1function f(e){return e&&e.__esModule?e:{default:e}}var m=o.default.View.inherit({isVisible:function(){return this.option("filterPanel.visible")&&this.getController("data").dataSource()},init:function(){var e=this;this.getController("data").dataSourceChanged.add((function(){return e.render()}))},_renderCore:function(){var e=this.element();e.empty().addClass(this.addWidgetPrefix("filter-panel"));var t=(0,i.default)("<div>").addClass(this.addWidgetPrefix("filter-panel-left")).appendTo(e);this.option("filterValue")||this._filterValueBuffer?(t.append(this._getCheckElement()).append(this._getFilterElement()).append(this._getTextElement()),e.append(this._getRemoveButtonElement())):t.append(this._getFilterElement()).append(this._getTextElement())},_getCheckElement:function(){var e=this,t=(0,i.default)("<div>").addClass(this.addWidgetPrefix("filter-panel-checkbox"));return e._createComponent(t,c.default,{value:e.option("filterPanel.filterEnabled"),onValueChanged:function(t){e.option("filterPanel.filterEnabled",t.value)}}),t.attr("title",this.option("filterPanel.texts.filterEnabledHint")),t},_getFilterElement:function(){var e=this,t=(0,i.default)("<div>").addClass("dx-icon-filter");return a.default.on(t,"click",(function(){return e._showFilterBuilder()})),(0,p.registerKeyboardAction)("filterPanel",e,t,void 0,(function(){return e._showFilterBuilder()})),e._addTabIndexToElement(t),t},_getTextElement:function(){var e,t=this,n=(0,i.default)("<div>").addClass(t.addWidgetPrefix("filter-panel-text")),r=t.option("filterValue");return r?(0,d.when)(t.getFilterText(r,t.getController("filterSync").getCustomFilterOperations())).done((function(e){var i=t.option("filterPanel.customizeText");if(i){var o=i({component:t.component,filterValue:r,text:e});"string"==typeof o&&(e=o)}n.text(e)})):(e=t.option("filterPanel.texts.createFilter"),n.text(e)),a.default.on(n,"click",(function(){return t._showFilterBuilder()})),(0,p.registerKeyboardAction)("filterPanel",t,n,void 0,(function(){return t._showFilterBuilder()})),t._addTabIndexToElement(n),n},_showFilterBuilder:function(){this.option("filterBuilderPopup.visible",!0)},_getRemoveButtonElement:function(){var e=this,t=function(){return e.option("filterValue",null)},n=(0,i.default)("<div>").addClass(e.addWidgetPrefix("filter-panel-clear-filter")).text(e.option("filterPanel.texts.clearFilter"));return a.default.on(n,"click",t),(0,p.registerKeyboardAction)("filterPanel",this,n,void 0,t),e._addTabIndexToElement(n),n},_addTabIndexToElement:function(e){if(!this.option("useLegacyKeyboardNavigation")){var t=this.option("tabindex")||0;e.attr("tabindex",t)}},optionChanged:function(e){switch(e.name){case"filterValue":this._invalidate(),this.option("filterPanel.filterEnabled",!0),e.handled=!0;break;case"filterPanel":this._invalidate(),e.handled=!0;break;default:this.callBase(e)}},_getConditionText:function(e,t,n){var i="[".concat(e,"] ").concat(t);return(0,r.isDefined)(n)&&(i+=n),i},_getValueMaskedText:function(e){return Array.isArray(e)?"('".concat(e.join("', '"),"')"):" '".concat(e,"'")},_getValueText:function(e,t,n){var i=this,o=new d.Deferred,a=t&&t.customizeText;if((0,r.isDefined)(n)||a)if(!a&&e.lookup)u.default.getCurrentLookupValueText(e,n,(function(e){o.resolve(i._getValueMaskedText(e))}));else{var l=Array.isArray(n)?n:s.default.getDisplayValue(e,n);(0,d.when)(u.default.getCurrentValueText(e,l,t,"filterPanel")).done((function(e){o.resolve(i._getValueMaskedText(e))}))}else o.resolve("");return o.promise()},getConditionText:function(e,t){var n,i=this,r=e[1],o=new d.Deferred,s=u.default.getCustomOperation(t.customOperations,r),a=u.default.getField(e[0],t.columns),l=a.caption||"",c=e[2];return n=s?s.caption||h.default.captionize(s.name):u.default.getCaptionByOperation(null===c?"="===r?"isblank":"isnotblank":r,t.filterOperationDescriptions),this._getValueText(a,s,c).done((function(e){o.resolve(i._getConditionText(l,n,e))})),o},getGroupText:function(e,t,n){var i=this,r=new d.Deferred,o=[],s=u.default.getGroupValue(e);return e.forEach((function(e){u.default.isCondition(e)?o.push(i.getConditionText(e,t)):u.default.isGroup(e)&&o.push(i.getGroupText(e,t,!0))})),d.when.apply(this,o).done((function(){for(var e,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];if("!"===s[0]){var l=t.groupOperationDescriptions["not"+s.substring(1,2).toUpperCase()+s.substring(2)].split(" ");e="".concat(l[0]," ").concat(o[0])}else e=o.join(" ".concat(t.groupOperationDescriptions[s]," "));n&&(e="(".concat(e,")")),r.resolve(e)})),r},getFilterText:function(e,t){var n={customOperations:t,columns:this.getController("columns").getFilteringColumns(),filterOperationDescriptions:this.option("filterBuilder.filterOperationDescriptions"),groupOperationDescriptions:this.option("filterBuilder.groupOperationDescriptions")};return u.default.isCondition(e)?this.getConditionText(e,n):this.getGroupText(e,n)}});e.exports={defaultOptions:function(){return{filterPanel:{visible:!1,filterEnabled:!0,texts:{createFilter:l.default.format("dxDataGrid-filterPanelCreateFilter"),clearFilter:l.default.format("dxDataGrid-filterPanelClearFilter"),filterEnabledHint:l.default.format("dxDataGrid-filterPanelFilterEnabledHint")}}}},views:{filterPanelView:m},extenders:{controllers:{data:{optionChanged:function(e){switch(e.name){case"filterPanel":this._applyFilter(),e.handled=!0;break;default:this.callBase(e)}}}}}}},um7L:function(e,t,n){"use strict";var i=n("zl3R").each,r=n("xMpX"),o=n("tUd6"),s=function(e,t){r.add((function(){e.split(" ").forEach((function(e){o.listen(o.getDocument(),e,t,!0)}))}))};e.exports=function(e,t,n){n=n||function(){};var r=[],o=function(e){var n=-1;return i(r,(function(i,r){return!t(e,r)||(n=i,!1)})),n},a=function(e){var t=o(e);t>-1&&r.splice(t,1)};s(e.dxpointerdown,(function(e){-1===o(e)&&(n(e),r.push(e))})),s(e.dxpointermove,(function(e){r[o(e)]=e})),s(e.dxpointerup,a),s(e.dxpointercancel,a),this.pointers=function(){return r},this.reset=function(){r=[]}}},ut1R:function(e,t,n){"use strict";var i=g(n("FKN7")),r=g(n("hMwJ")),o=g(n("YQNt")),s=g(n("z7z0")),a=n("1LL4"),l=n("KAnu"),c=n("v4HY"),u=n("ti0F"),d=g(n("LdFP")),h=g(n("D6VQ")),p=g(n("a/39")),f=g(n("e0El")),m=n("tJvG");
1function g(e){return e&&e.__esModule?e:{default:e}}var _=function(e){return+e},b=function(e,t){o.default.move(e,{left:t})},v=function(e){r.default.stop(e,!0)},y=p.default.inherit({_activeStateUnit:".dx-multiview-item",_supportedKeys:function(){return(0,a.extend)(this.callBase(),{pageUp:l.noop,pageDown:l.noop})},_getDefaultOptions:function(){return(0,a.extend)(this.callBase(),{selectedIndex:0,swipeEnabled:!0,animationEnabled:!0,loop:!1,deferRendering:!0,_itemAttributes:{role:"tabpanel"},loopItemFocus:!1,selectOnFocus:!0,selectionMode:"single",selectionRequired:!0,selectionByClick:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===d.default.real().deviceType&&!d.default.isSimulator()},options:{focusStateEnabled:!0}}])},_itemClass:function(){return"dx-multiview-item"},_itemDataKey:function(){return"dxMultiViewItemData"},_itemContainer:function(){return this._$itemContainer},_itemElements:function(){return this._itemContainer().children(this._itemSelector())},_itemWidth:function(){return this._itemWidthValue||(this._itemWidthValue=this._$wrapper.width()),this._itemWidthValue},_clearItemWidthCache:function(){delete this._itemWidthValue},_itemsCount:function(){return this.option("items").length},_normalizeIndex:function(e){var t=this._itemsCount();return e<0&&(e+=t),e>=t&&(e-=t),e},_getRTLSignCorrection:function(){return this.option("rtlEnabled")?-1:1},_init:function(){this.callBase.apply(this,arguments);var e=this.$element();e.addClass("dx-multiview"),this._$wrapper=(0,i.default)("<div>").addClass("dx-multiview-wrapper"),this._$wrapper.appendTo(e),this._$itemContainer=(0,i.default)("<div>").addClass("dx-multiview-item-container"),this._$itemContainer.appendTo(this._$wrapper),this.option("loopItemFocus",this.option("loop")),this._initSwipeable()},_initMarkup:function(){this._deferredItems=[],this.callBase();var e=this._getSelectedItemIndices();this._updateItemsVisibility(e[0])},_afterItemElementDeleted:function(e,t){this.callBase(e,t),this._deferredItems&&this._deferredItems.splice(t.itemIndex,1)},_beforeItemElementInserted:function(e){this.callBase.apply(this,arguments),this._deferredItems&&this._deferredItems.splice(e.index,0,null)},_executeItemRenderAction:function(e,t,n){e=(this.option("items")||[]).indexOf(t),this.callBase(e,t,n)},_renderItemContent:function(e){var t=new m.Deferred,n=this,i=this.callBase,r=new m.Deferred;return r.done((function(){var r=i.call(n,e);t.resolve(r)})),this._deferredItems[e.index]=r,this.option("deferRendering")||r.resolve(),t.promise()},_render:function(){var e=this;this.callBase(),(0,l.deferRender)((function(){var t=e._getSelectedItemIndices();e._updateItems(t[0])}))},_updateItems:function(e,t){this._updateItemsPosition(e,t),this._updateItemsVisibility(e,t)},_modifyByChanges:function(){this.callBase.apply(this,arguments);var e=this._getSelectedItemIndices();this._updateItemsVisibility(e[0])},_updateItemsPosition:function(e,t){var n=this._itemElements(),i=(0,u.isDefined)(t)?-this._animationDirection(t,e):void 0,r=n.eq(e);b(r,0),(0,u.isDefined)(t)&&b(n.eq(t),100*i+"%")},_updateItemsVisibility:function(e,t){this._itemElements().each((function(n,r){var o=(0,i.default)(r),s=n!==e&&n!==t;s||this._renderSpecificItem(n),o.toggleClass("dx-multiview-item-hidden",s),this.setAria("hidden",s||void 0,o)}).bind(this))},_renderSpecificItem:function(e){var t=this._itemElements().eq(e),n=t.find(this._itemContentClass()).length>0;(0,u.isDefined)(e)&&!n&&(this._deferredItems[e].resolve(),(0,c.triggerResizeEvent)(t))},_refreshItem:function(e,t){this.callBase(e,t),this._updateItemsVisibility(this.option("selectedIndex"))},_setAriaSelected:l.noop,_updateSelection:function(e,t){var n=e[0],i=t[0];v(this._$itemContainer),this._updateItems(i,n);var r=this._animationDirection(n,i);this._animateItemContainer(r*this._itemWidth(),(function(){b(this._$itemContainer,0),this._updateItems(n),this._$itemContainer.width()}).bind(this))},_animateItemContainer:function(e,t){var n=this.option("animationEnabled")?200:0;!function(e,t,n,i){r.default.animate(e,{type:"slide",to:{left:t},duration:n,complete:i})}(this._$itemContainer,e,n,t)},_animationDirection:function(e,t){var n=o.default.locate(this._$itemContainer).left,i=(t-e)*this._getRTLSignCorrection()*this._getItemFocusLoopSignCorrection();return s.default.sign(0!==n?n:i)},_getSwipeDisabledState:function(){return!this.option("swipeEnabled")||this._itemsCount()<=1},_initSwipeable:function(){var e=this;this._createComponent(this.$element(),f.default,{disabled:this._getSwipeDisabledState(),elastic:!1,itemSizeFunc:this._itemWidth.bind(this),onStart:function(t){return e._swipeStartHandler(t.event)},onUpdated:function(t){return e._swipeUpdateHandler(t.event)},onEnd:function(t){return e._swipeEndHandler(t.event)}})},_swipeStartHandler:function(e){v(this._$itemContainer);var t=this.option("selectedIndex"),n=this.option("loop"),i=this._itemsCount()-1,r=this.option("rtlEnabled");e.maxLeftOffset=_(n||(r?t>0:t<i)),e.maxRightOffset=_(n||(r?t<i:t>0)),this._swipeDirection=null},_swipeUpdateHandler:function(e){var t=e.offset,n=s.default.sign(t)*this._getRTLSignCorrection();if(b(this._$itemContainer,t*this._itemWidth()),n!==this._swipeDirection){this._swipeDirection=n;var i=this.option("selectedIndex"),r=this._normalizeIndex(i-n);this._updateItems(i,r)}},_swipeEndHandler:function(e){var t=e.targetOffset*this._getRTLSignCorrection();if(t){this.option("selectedIndex",this._normalizeIndex(this.option("selectedIndex")-t));var n=this.itemElements().filter(".dx-item-selected");this.option("focusStateEnabled")&&this.option("focusedElement",(0,c.getPublicElement)(n))}else this._animateItemContainer(0,l.noop)},_getItemFocusLoopSignCorrection:function(){return this._itemFocusLooped?-1:1},_moveFocus:function(){this.callBase.apply(this,arguments),this._itemFocusLooped=!1},_prevItem:function(e){var t=this.callBase.apply(this,arguments);return this._itemFocusLooped=t.is(e.last()),t},_nextItem:function(e){var t=this.callBase.apply(this,arguments);return this._itemFocusLooped=t.is(e.first()),t},_dimensionChanged:function(){this._clearItemWidthCache()},_visibilityChanged:function(e){e&&this._dimensionChanged()},_updateSwipeDisabledState:function(){var e=this._getSwipeDisabledState();f.default.getInstance(this.$element()).option("disabled",e)},_optionChanged:function(e){var t=e.value;switch(e.name){case"loop":this.option("loopItemFocus",t);break;case"animationEnabled":break;case"swipeEnabled":this._updateSwipeDisabledState();break;case"deferRendering":this._invalidate();break;case"items":this._updateSwipeDisabledState(),this.callBase(e);break;default:this.callBase(e)}}});(0,h.default)("dxMultiView",y),e.exports=y,e.exports.default=e.exports},uy2t:function(e,t,n){"use strict";var i=_(n("FKN7")),r=_(n("jeLr")),o=_(n("BWGd")),s=n("8S5z"),a=n("ti0F"),l=n("zl3R"),c=n("1LL4"),u=_(n("czNW")),d=_(n("XCcL")),h=_(n("imRD")),p=n("JDOJ"),f=_(n("0Ms2")),m=_(n("YB1V")),g=n("tJvG");
1function _(e){return e&&e.__esModule?e:{default:e}}var b,v,y="selection.showCheckBoxesMode",w=function(e,t){var n=e.getController("selection"),r=e.getView("rowsView"),o=(0,i.default)(t.target).closest(".dx-data-row"),s=r.getRowIndex(o);s<0||("onLongTap"===e.option(y)?n.isSelectionWithCheckboxes()?n.stopSelectionWithCheckboxes():n.startSelectionWithCheckboxes():("onClick"===e.option(y)&&n.startSelectionWithCheckboxes(),"always"!==e.option(y)&&n.changeItemSelection(s,{control:!0})))};t.SelectionController=o.default.Controller.inherit((b=function(e,t){var n=t.component,r=n.getView("rowsView");n.option("renderAsync")&&-1!==n.getSelectedRowKeys().indexOf(t.row.key)&&(t.value=!0),r.renderSelectCheckBoxContainer((0,i.default)(e),t)},v=function(e,t){var n=t.column,r=(0,i.default)(e),o=t.component.getView("columnHeadersView");r.addClass("dx-editor-cell"),o._renderSelectAllCheckBox(r,n),o._attachSelectAllCheckBoxClickEvent(r)},{init:function(){this._dataController=this.getController("data"),this._selectionMode=this.option("selection.mode"),this._isSelectionWithCheckboxes=!1,this._selection=this._createSelection(),this._updateSelectColumn(),this.createAction("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})},_getSelectionConfig:function(){var e=this._dataController,t=this.option("selection")||{};return{selectedKeys:this.option("selectedRowKeys"),mode:this._selectionMode,deferred:t.deferred,maxFilterLengthInRequest:t.maxFilterLengthInRequest,selectionFilter:this.option("selectionFilter"),key:function(){return e&&e.key()},keyOf:function(t){return e&&e.keyOf(t)},dataFields:function(){return e.dataSource()&&e.dataSource().select()},load:function(t){return e.dataSource()&&e.dataSource().load(t)||(new g.Deferred).resolve([])},plainItems:function(){return e.items(!0)},isItemSelected:function(e){return e.selected},isSelectableItem:function(e){return e&&"data"===e.rowType&&!e.isNewRow},getItemData:function(e){return e&&(e.oldData||e.data||e)},filter:function(){return e.getCombinedFilter()},totalCount:function(){return e.totalCount()},onSelectionChanged:this._updateSelectedItems.bind(this)}},_updateSelectColumn:function(){var e=this.getController("columns"),t=this.isSelectColumnVisible();e.addCommandColumn({type:"selection",command:"select",visible:t,visibleIndex:-1,dataType:"boolean",alignment:"center",cssClass:"dx-command-select",width:"auto",cellTemplate:b,headerCellTemplate:v}),e.columnOption("command:select","visible",t)},_createSelection:function(){var e=this._getSelectionConfig();return new m.default(e)},_fireSelectionChanged:function(e){e&&this.executeAction("onSelectionChanged",e);var t=this.option("selection.deferred")?{selectionFilter:this.option("selectionFilter")}:{selectedRowKeys:this.option("selectedRowKeys")};this.selectionChanged.fire(t)},_updateCheckboxesState:function(e){var t=e.isDeferredMode,n=e.selectionFilter,i=e.selectedItemKeys,r=e.removedItemKeys;"onClick"===this.option(y)&&((t?n&&function(e,t){var n=0,i=e._dataController.store(),r=i&&i.key(),o=Array.isArray(r);if(!t.length)return!1;if(o&&Array.isArray(t[0])&&"and"===t[1]){for(var s=0;s<t.length;s++)if(Array.isArray(t[s])){if(t[s][0]!==r[n]||"="!==t[s][1])return!0;n++}return!1}return r!==t[0]}(this,n):i.length>1)?this.startSelectionWithCheckboxes():(t?n&&!n.length:0===i.length&&r.length)&&this.stopSelectionWithCheckboxes())},_updateSelectedItems:function(e){var t,n=this.option("selection.deferred"),i=this._selection.selectionFilter(),r=this._dataController,o=r.items();if(o){var s=this.isSelectionWithCheckboxes(),a=this.getChangedItemIndexes(o);this._updateCheckboxesState({selectedItemKeys:e.selectedItemKeys,removedItemKeys:e.removedItemKeys,selectionFilter:i,isDeferredMode:n}),(a.length||s!==this.isSelectionWithCheckboxes())&&r.updateItems({changeType:"updateSelection",itemIndexes:a}),n?(this.option("selectionFilter",i),t={}):(e.addedItemKeys.length||e.removedItemKeys.length)&&(this._selectedItemsInternalChange=!0,this.option("selectedRowKeys",e.selectedItemKeys.slice(0)),this._selectedItemsInternalChange=!1,t={selectedRowsData:e.selectedItems.slice(0),selectedRowKeys:e.selectedItemKeys.slice(0),currentSelectedRowKeys:e.addedItemKeys.slice(0),currentDeselectedRowKeys:e.removedItemKeys.slice(0)}),this._fireSelectionChanged(t)}},getChangedItemIndexes:function(e){for(var t=[],n=this.option("selection.deferred"),i=0,r=e.length;i<r;i++){var o=e[i],s=this.isRowSelected(n?o.data:o.key);this._selection.isDataItem(o)&&o.isSelected!==s&&t.push(i)}return t},callbackNames:function(){return["selectionChanged"]},optionChanged:function(e){var t=this;switch(t.callBase(e),e.name){case"selection":var n=t._selectionMode;t.init();var i=t._selectionMode,r=t.option("selectedRowKeys");n!==i&&("single"===i?r.length>1&&(r=[r[0]]):"multiple"!==i&&(r=[])),t.selectRows(r).always((function(){t._fireSelectionChanged()})),t.getController("columns").updateColumns(),e.handled=!0;break;case"selectionFilter":this._selection.selectionFilter(e.value),e.handled=!0;break;case"selectedRowKeys":var o=e.value||[];!Array.isArray(o)||t._selectedItemsInternalChange||!t.component.getDataSource()&&o.length||t.selectRows(o),e.handled=!0}},publicMethods:function(){return["selectRows","deselectRows","selectRowsByIndexes","getSelectedRowKeys","getSelectedRowsData","clearSelection","selectAll","deselectAll","startSelectionWithCheckboxes","stopSelectionWithCheckboxes","isRowSelected"]},isRowSelected:function(e){return this._selection.isItemSelected(e)},isSelectColumnVisible:function(){return"multiple"===this.option("selection.mode")&&("always"===this.option(y)||"onClick"===this.option(y)||this._isSelectionWithCheckboxes)},_isOnePageSelectAll:function(){return"page"===this.option("selection.selectAllMode")},isSelectAll:function(){return this._selection.getSelectAllState(this._isOnePageSelectAll())},selectAll:function(){return"onClick"===this.option(y)&&this.startSelectionWithCheckboxes(),this._selection.selectAll(this._isOnePageSelectAll())},deselectAll:function(){return this._selection.deselectAll(this._isOnePageSelectAll())},clearSelection:function(){return this.selectedItemKeys([])},refresh:function(){var e=this.option("selectedRowKeys")||[];return!this.option("selection.deferred")&&e.length?this.selectedItemKeys(e):(new g.Deferred).resolve().promise()},selectedItemKeys:function(e,t,n,i){return this._selection.selectedItemKeys(e,t,n,i)},getSelectedRowKeys:function(){return this._selection.getSelectedItemKeys()},selectRows:function(e,t){return this.selectedItemKeys(e,t)},deselectRows:function(e){return this.selectedItemKeys(e,!0,!0)},selectRowsByIndexes:function(e){var t=this._dataController.items(),n=[];return Array.isArray(e)||(e=Array.prototype.slice.call(arguments,0)),(0,l.each)(e,(function(){var e=t[this];e&&"data"===e.rowType&&n.push(e.key)})),this.selectRows(n)},getSelectedRowsData:function(){return this._selection.getSelectedItems()},changeItemSelection:function(e,t){return t=t||{},this.isSelectionWithCheckboxes()&&(t.control=!0),this._selection.changeItemSelection(this._dataController.getRowIndexDelta()+e,t)},focusedItemIndex:function(e){if(!(0,a.isDefined)(e))return this._selection._focusedItemIndex;this._selection._focusedItemIndex=e},isSelectionWithCheckboxes:function(){return"multiple"===this.option("selection.mode")&&("always"===this.option(y)||this._isSelectionWithCheckboxes)},startSelectionWithCheckboxes:function(){return"multiple"===this.option("selection.mode")&&!this.isSelectionWithCheckboxes()&&(this._isSelectionWithCheckboxes=!0,this._updateSelectColumn(),!0)},stopSelectionWithCheckboxes:function(){return!!this._isSelectionWithCheckboxes&&(this._isSelectionWithCheckboxes=!1,this._updateSelectColumn(),!0)}})),e.exports={defaultOptions:function(){return{selection:{mode:"none",showCheckBoxesM
1ode:"onClick",allowSelectAll:!0,selectAllMode:"allPages",maxFilterLengthInRequest:1500,deferred:!1},selectionFilter:[],selectedRowKeys:[]}},controllers:{selection:t.SelectionController},extenders:{controllers:{data:{init:function(){var e=this.getController("selection"),t=this.option("selection.deferred");this.callBase.apply(this,arguments),t&&e._updateCheckboxesState({isDeferredMode:!0,selectionFilter:this.option("selectionFilter")})},_loadDataSource:function(){var e=this;return e.callBase().done((function(){e.getController("selection").refresh()}))},_processDataItem:function(e,t){var n=this,i=n.getController("selection"),r=i.isSelectColumnVisible(),o=t.isDeferredSelection=void 0===t.isDeferredSelection?this.option("selection.deferred"):t.isDeferredSelection,s=this.callBase.apply(this,arguments);if(s.isSelected=i.isRowSelected(o?s.data:s.key),r&&s.values)for(var a=0;a<t.visibleColumns.length;a++)if("select"===t.visibleColumns[a].command){s.values[a]=s.isSelected;break}return s},refresh:function(e){var t=this,n=new g.Deferred;return this.callBase.apply(this,arguments).done((function(){!e||e.selection?t.getController("selection").refresh().done(n.resolve).fail(n.reject):n.resolve()})).fail(n.reject),n.promise()},_handleDataChanged:function(e){this.callBase.apply(this,arguments),e&&"refresh"!==e.changeType||this._repaintChangesOnly||this.getController("selection").focusedItemIndex(-1)},_applyChange:function(e){var t=this;if(!e||"updateSelection"!==e.changeType)return this.callBase.apply(this,arguments);e.items.forEach((function(e,n){var i=t._items[n];i&&(i.isSelected=e.isSelected,i.values=e.values)}))},_endUpdateCore:function(){var e=this._changes,t=e.length>1&&e.every((function(e){return"updateSelection"===e.changeType}));if(t){var n=e.map((function(e){return e.itemIndexes||[]})).reduce((function(e,t){return e.concat(t)}));this._changes=[{changeType:"updateSelection",itemIndexes:n}]}this.callBase.apply(this,arguments)}},contextMenu:{_contextMenuPrepared:function(e){var t=e.event;t.originalEvent&&"dxhold"!==t.originalEvent.type||e.items&&e.items.length>0||w(this,t)}}},views:{columnHeadersView:{init:function(){this.callBase(),this.getController("selection").selectionChanged.add(this._updateSelectAllValue.bind(this))},_updateSelectAllValue:function(){var e=this.element(),t=e&&e.find(".dx-select-checkbox");e&&t.length&&"multiple"===this.option("selection.mode")&&t.dxCheckBox("instance").option("value",this.getController("selection").isSelectAll())},_handleDataChanged:function(e){this.callBase(e),e&&"refresh"!==e.changeType||this._updateSelectAllValue()},_renderSelectAllCheckBox:function(e,t){var n=this,r=n.getController("selection"),o=(0,i.default)("<div>").appendTo(e).addClass("dx-select-checkbox");return n.setAria("label",h.default.format("dxDataGrid-ariaSelectAll"),e),n.getController("editorFactory").createEditor(o,(0,c.extend)({},t,{parentType:"headerRow",dataType:"boolean",value:r.isSelectAll(),editorOptions:{visible:n.option("selection.allowSelectAll")||!1!==r.isSelectAll()},tabIndex:n.option("useLegacyKeyboardNavigation")?-1:n.option("tabIndex")||0,setValue:function(e,t){var i=n.option("selection.allowSelectAll");t.component.option("visible",i||!1!==t.component.option("value")),t.event&&r.isSelectAll()!==e&&(t.value&&!i?t.component.option("value",!1):t.value?r.selectAll():r.deselectAll(),t.event.preventDefault())}})),o},_attachSelectAllCheckBoxClickEvent:function(e){r.default.on(e,d.default.name,this.createAction((function(e){var t=e.event;(0,i.default)(t.target).closest(".dx-select-checkbox").length||r.default.trigger((0,i.default)(t.currentTarget).children(".dx-select-checkbox"),d.default.name),t.preventDefault()})))}},rowsView:{renderSelectCheckBoxContainer:function(e,t){"data"!==t.rowType||t.row.isNewRow?(0,s.setEmptyText)(e):(e.addClass("dx-editor-cell"),this._attachCheckBoxClickEvent(e),this.setAria("label",h.default.format("dxDataGrid-ariaSelectRow"),e),this._renderSelectCheckBox(e,t))},_renderSelectCheckBox:function(e,t){var n=(0,i.default)("<div>").addClass("dx-select-checkbox").appendTo(e);return this.getController("editorFactory").createEditor(n,(0,c.extend)({},t.column,{parentType:"dataRow",dataType:"boolean",lookup:null,value:t.value,setValue:function(t,n){n&&n.event&&"keydown"===n.event.type&&r.default.trigger(e,d.default.name,n)},row:t.row})),n},_attachCheckBoxClickEvent:function(e){r.default.on(e,d.default.name,this.createAction((function(e){var t=this.getController("selection"),n=e.event,r=this.getRowIndex((0,i.default)(n.currentTarget).closest(".dx-row"));r>=0&&(t.startSelectionWithCheckboxes(),t.changeItemSelection(r,{shift:n.shiftKey}),(0,i.default)(n.target).closest(".dx-select-checkbox").length&&this.getController("data").updateItems({changeType:"updateSelection",itemIndexes:[r]}))}
1)))},_update:function(e){var t=this,n=t.getTableElements();"updateSelection"===e.changeType?n.length>0&&((0,l.each)(n,(function(n,r){(0,l.each)(e.itemIndexes||[],(function(n,o){var s;if(e.items[o]&&(s=t._getRowElements((0,i.default)(r)).eq(o)).length){var a=e.items[o].isSelected;s.toggleClass("dx-selection",void 0!==a&&a).find(".dx-select-checkbox").dxCheckBox("option","value",a),t.setAria("selected",a,s)}}))})),t._updateCheckboxesClass()):t.callBase(e)},_createTable:function(){var e=this,t=e.option("selection.mode"),n=e.callBase.apply(e,arguments);return"none"!==t&&("onLongTap"!==e.option(y)&&u.default.touch||r.default.on(n,(0,p.addNamespace)(f.default.name,"dxDataGridRowsView"),".dx-data-row",e.createAction((function(t){w(e.component,t.event),t.event.stopPropagation()}))),r.default.on(n,"mousedown selectstart",e.createAction((function(e){var t=e.event;t.shiftKey&&t.preventDefault()})))),n},_createRow:function(e){var t=this.callBase(e);if(e){var n=!!e.isSelected;n&&t.addClass("dx-selection"),this.setAria("selected",n,t)}return t},_rowClick:function(e){var t=e.event,n=(0,i.default)(t.target).closest(".dx-selection-disabled").length;this.isClickableElement((0,i.default)(t.target))||(n||"multiple"===this.option("selection.mode")&&"always"===this.option(y)||this.getController("selection").changeItemSelection(e.rowIndex,{control:t.ctrlKey||t.metaKey,shift:t.shiftKey})&&(t.preventDefault(),e.handled=!0),this.callBase(e))},isClickableElement:function(e){return!!e.closest(".dx-command-select").length},_renderCore:function(e){this.callBase(e),this._updateCheckboxesClass()},_updateCheckboxesClass:function(){var e=this.getTableElements(),t=this.getController("selection"),n=t.isSelectColumnVisible()&&!t.isSelectionWithCheckboxes();(0,l.each)(e,(function(e,t){(0,i.default)(t).toggleClass("dx-select-checkboxes-hidden",n)}))}}}}}},v4HY:function(e,t,n){"use strict";var i,r,o=n("FKN7"),s=n("2Fn2"),a=n("tUd6"),l=n("cGv3").getWindow(),c=n("jeLr"),u=n("XpgS").inArray,d=n("ti0F"),h=d.isDefined,p=d.isRenderer,f=n("8VXM"),m=function(e){return function(t){for(var n=o(t||"body"),i=n.filter(".dx-visibility-change-handler").add(n.find(".dx-visibility-change-handler")),r=0;r<i.length;r++)c.triggerHandler(i[r],e)}},g=(r=0,function(e){return(e||"")+r++}),_=function(e){var t=o(e).attr("data-options")||"";return s().optionsParser(t)},b=function(e){i=e};b((function(e){return e&&e.get(0)})),t.setPublicElementWrapper=b,t.resetActiveElement=function(){var e=a.getActiveElement(),t=a.getBody();if(e&&e!==t&&e.blur)try{e.blur()}catch(n){t.blur()}},t.createMarkupFromString=function(e){if(!l.WinJS)return o(f.parseHTML(e));var t=o("<div>");return l.WinJS.Utilities.setInnerHTMLUnsafe(t.get(0),e),t.contents()},t.triggerShownEvent=m("dxshown"),t.triggerHidingEvent=m("dxhiding"),t.triggerResizeEvent=m("dxresize"),t.getElementOptions=_,t.createComponents=function(e,t){var n=[];return e.find("[data-options]").add(e.filter("[data-options]")).each((function(e,i){var r=o(i),s=_(i);for(var a in s)(!t||u(a,t)>-1)&&r[a]&&(r[a](s[a]),n.push(r[a]("instance")))})),n},t.extractTemplateMarkup=function(e){var t=(e=o(e)).length&&e.filter((function(){var e=o(this);return e.is("script[type]")&&e.attr("type").indexOf("script")<0}));return t.length?t.eq(0).html():(e=o("<div>").append(e)).html()},t.normalizeTemplateElement=function e(t){var n=h(t)&&(t.nodeType||p(t))?o(t):o("<div>").html(t).contents();return 1===n.length&&(n.is("script")?n=e(n.html().trim()):n.is("table")&&(n=n.children("tbody").contents())),n},t.clearSelection=function(){var e=l.getSelection();if(e&&"Caret"!==e.type)if(e.empty)e.empty();else if(e.removeAllRanges)try{e.removeAllRanges()}catch(t){}},t.uniqueId=g,t.closestCommonParent=function(e,t){var n=o(e),i=o(t);if(n[0]===i[0])return n[0];for(var r=n.parents(),s=i.parents(),a=-Math.min(r.length,s.length);a<0;a++)if(r.get(a)===s.get(a))return r.get(a)},t.clipboardText=function(e,t){var n=e.originalEvent&&e.originalEvent.clipboardData||l.clipboardData;if(1===arguments.length)return n&&n.getData("Text");n&&n.setData("Text",t)},t.contains=function(e,t){return!!t&&(t=a.isTextNode(t)?t.parentNode:t,a.isDocument(e)?e.documentElement.contains(t):e.contains(t))},t.getPublicElement=function(e){return i(e)},t.createTextElementHiddenCopy=function(e,t,n){var i=l.getComputedStyle(o(e).get(0)),r=n&&n.includePaddings;return o("<div>").text(t).css({fontStyle:i.fontStyle,fontVariant:i.fontVariant,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFamily:i.fontFamily,letterSpacing:i.letterSpacing,border:i.border,paddingTop:r?i.paddingTop:"",paddingRight:r?i.paddingRight:"",paddingBottom:r?i.paddingBottom:"",paddingLeft:r?i.paddingLeft:"",visibility:"hidden",
1whiteSpace:"nowrap",position:"absolute",float:"left"})}},vCkT:function(e,t,n){"use strict";var i=n("v4HY"),r=n("kLP8");(0,r.registerTemplateEngine)("jquery-tmpl",{compile:function(e){return(0,i.extractTemplateMarkup)(e)},render:function(e,t){return jQuery.tmpl(e,t)}}),(0,r.registerTemplateEngine)("jsrender",{compile:function(e){return(jQuery||jsrender).templates((0,i.extractTemplateMarkup)(e))},render:function(e,t){return e.render(t)}}),(0,r.registerTemplateEngine)("mustache",{compile:function(e){return(0,i.extractTemplateMarkup)(e)},render:function(e,t){return Mustache.render(e,t)}}),(0,r.registerTemplateEngine)("hogan",{compile:function(e){return Hogan.compile((0,i.extractTemplateMarkup)(e))},render:function(e,t){return e.render(t)}}),(0,r.registerTemplateEngine)("underscore",{compile:function(e){return _.template((0,i.extractTemplateMarkup)(e))},render:function(e,t){return e(t)}}),(0,r.registerTemplateEngine)("handlebars",{compile:function(e){return Handlebars.compile((0,i.extractTemplateMarkup)(e))},render:function(e,t){return e(t)}}),(0,r.registerTemplateEngine)("doT",{compile:function(e){return doT.template((0,i.extractTemplateMarkup)(e))},render:function(e,t){return e(t)}})},vR7y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n("ti0F"),o=(i=n("OZWN"))&&i.__esModule?i:{default:i},s={_tryConvertColor:function(e){if("string"!=typeof e)return e;var t;if(e.length>0&&"#"===e[0]){var n=e.substr(1,e.length);t=6===n.length?"FF"+n:8===n.length?n[6]+n[7]+n.substr(0,6):n}else t=e;return t},tryCreateTag:function(e){var t=null;return(0,r.isDefined)(e)&&(t="string"==typeof e?{rgb:this._tryConvertColor(e)}:{rgb:this._tryConvertColor(e.rgb),theme:e.theme},s.isEmpty(t)&&(t=null)),t},copy:function(e){var t=null;return(0,r.isDefined)(e)&&("string"==typeof e?t=e:(t={},void 0!==e.rgb&&(t.rgb=e.rgb),void 0!==e.theme&&(t.theme=e.theme))),t},isEmpty:function(e){return!(0,r.isDefined)(e)||!(0,r.isDefined)(e.rgb)&&!(0,r.isDefined)(e.theme)},areEqual:function(e,t){return s.isEmpty(e)&&s.isEmpty(t)||(0,r.isDefined)(e)&&(0,r.isDefined)(t)&&e.rgb===t.rgb&&e.theme===t.theme},toXml:function(e,t){return o.default.toXml(e,{rgb:t.rgb,theme:t.theme})}};t.default=s},vYpS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.api=t}return i(e,[{key:"handleCatch",value:function(e){if("InvalidInputException"!==e.name)throw e;if(this.api._options.valid===this.api._defaults.valid)throw e.message;this.api._options.valid(!1),this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(e){try{var t=e.apply(void 0,arguments);return this.api._options.valid(!0),t}catch(n){return this.handleCatch(n),this.api}}}]),e}();t.default=r},vf6K:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n("wkMt"),o=s(n("VyaE"));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,i.guardHeight=n.height+i.fontSize/2+n.textMargin,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(e,t){return this.text.substr(e,t)}},{key:"leftEncode",value:function(e,t){return(0,o.default)(e,t)}},{key:"rightText",value:function(e,t){return this.text.substr(e,t)}},{key:"rightEncode",value:function(e,t){return(0,o.default)(e,t)}},{key:"encodeGuarded",value:function(){var e={fontSize:this.fontSize},t={height:this.guardHeight};return[{data:r.SIDE_BIN,options:t},{data:this.leftEncode(),text:this.leftText(),options:e},{data:r.MIDDLE_BIN,options:t},{data:this.rightEncode(),text:this.rightText(),options:e},{data:r.SIDE_BIN,options:t}]}},{key:"encodeFlat",value:function(){return{data:[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN].join(""),text:this.text}}}]),t}(s(n("52Lf")).default);t.default=a},vkUy:function(e,t,n){"use strict";e.exports=function(e,t){if(t){var n=e;if("string"==typeof e){n="";for(var i=0;i<e.length;i++)"$"!==e[i]&&(n+="\\"),n+=e[i]}for(var r={".00":"{0}","'":"\\'","\\(":"\\(","\\)":"\\)"," ":"\\ ",'"':"&quot;","\\\xa4":n},o=t.split(";"),s=0;s<o.length;s++)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(o[s]=o[s].replace(new RegExp(a,"g"),r[a]));return 2===o.length?o[0]+"_);"+o[1]:o[0]}}},vkgz:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("7o/Q");function r(){}var o=n("n6bG");function s(e,t,n){return function(i){return i.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(e,t,n,i){super(e),this._tapNext=r,this._tapError=r,this._tapComplete=r,this._tapError=n||r,this._tapComplete=i||r,Object(o.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||r,this._tapError=t.error||r,this._tapComplete=t.complete||r)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},vl4V:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=(i=n("/XyT"))&&i.__esModule?i:{default:i},s=n("q1t9"),a="http://www.w3.org/2000/svg",l=function(){function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.svg=t,this.encodings=n,this.options=i,this.document=i.xmlDocument||document}return r(e,[{key:"render",value:function(){var e=this.options.marginLeft;this.prepareSVG();for(var t=0;t<this.encodings.length;t++){var n=this.encodings[t],i=(0,o.default)(this.options,n.options),r=this.createGroup(e,i.marginTop,this.svg);this.setGroupOptions(r,i),this.drawSvgBarcode(r,i,n),this.drawSVGText(r,i,n),e+=n.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,s.calculateEncodingAttributes)(this.encodings,this.options);var e=(0,s.getTotalWidthOfEncodings)(this.encodings),t=(0,s.getMaximumHeightOfEncodings)(this.encodings),n=e+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(n,t),this.options.background&&this.drawRect(0,0,n,t,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(e,t,n){var i,r=n.data;i="top"==t.textPosition?t.fontSize+t.textMargin:0;for(var o=0,s=0,a=0;a<r.length;a++)s=a*t.width+n.barcodePadding,"1"===r[a]?o++:o>0&&(this.drawRect(s-t.width*o,i,t.width*o,t.height,e),o=0);o>0&&this.drawRect(s-t.width*(o-1),i,t.width*o,t.height,e)}},{key:"drawSVGText",value:function(e,t,n){var i,r,o=this.document.createElementNS(a,"text");t.displayValue&&(o.setAttribute("style","font:"+t.fontOptions+" "+t.fontSize+"px "+t.font),r="top"==t.textPosition?t.fontSize-t.textMargin:t.height+t.textMargin+t.fontSize,"left"==t.textAlign||n.barcodePadding>0?(i=0,o.setAttribute("text-anchor","start")):"right"==t.textAlign?(i=n.width-1,o.setAttribute("text-anchor","end")):(i=n.width/2,o.setAttribute("text-anchor","middle")),o.setAttribute("x",i),o.setAttribute("y",r),o.appendChild(this.document.createTextNode(n.text)),e.appendChild(o))}},{key:"setSvgAttributes",value:function(e,t){var n=this.svg;n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+e+" "+t),n.setAttribute("xmlns",a),n.setAttribute("version","1.1"),n.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(e,t,n){var i=this.document.createElementNS(a,"g");return i.setAttribute("transform","translate("+e+", "+t+")"),n.appendChild(i),i}},{key:"setGroupOptions",value:function(e,t){e.setAttribute("style","fill:"+t.lineColor+";")}},{key:"drawRect",value:function(e,t,n,i,r){var o=this.document.createElementNS(a,"rect");return o.setAttribute("x",e),o.setAttribute("y",t),o.setAttribute("width",n),o.setAttribute("height",i),r.appendChild(o),o}}]),e}();t.default=l},vlix:function(e,t,n){"use strict";var i,r=n("FKN7"),o=n("KAnu"),s=n("zl3R").each,a=n("cGv3").getWindow(),l=n("tUd6"),c=n("ti0F").isWindow,u=n("1LL4").extend,d=n("uHaw"),h=n("YQNt"),p=n("czNW"),f=/left|right/,m=/top|bottom/,g=/fit|flip|none/,_=d.safari,b=function(e){var t={h:"center",v:"center"},n=o.splitPair(e);return n&&s(n,(function(){var e=String(this).toLowerCase();f.test(e)?t.h=e:m.test(e)&&(t.v=e)})),t},v=function(e){return o.pairToObject(e)},y=function(e){switch(e){case"center":return.5;case"right":case"bottom":return 1;default:return 0}},w=function(e){switch(e){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return e}},C=function(e,t){var n=0;return e.myLocation<t.min&&(n+=t.min-e.myLocation),e.myLocation>t.max&&(n+=e.myLocation-t.max),n},x=function(e,t,n){return t.myLocation<n.min?"h"===e?"left":"top":t.myLocation>n.max?"h"===e?"right":"bottom":"none"},S=function(e){e.myLocation=e.atLocation+y(e.atAlign)*e.atSize-y(e.myAlign)*e.mySize+e.offset},k={fit:function(e,t){var n=!1;e.myLocation>t.max&&(e.myLocation=t.max,n=!0),e.myLocation<t.min&&(e.myLocation=t.min,n=!0),e.fit=n},flip:function(e,t){if(e.flip=!1,("center"!==e.myAlign||"center"!==e.atAlign)&&(e.myLocation<t.min||e.myLocation>t.max)){var n=u({},e,{myAlign:w(e.myAlign),atAlign:w(e.atAlign),offset:-e.offset});S(n),n.oversize=C(n,t),(n.myLocation>=t.min&&n.myLocation<=t.max||e.oversize>n.oversize)&&(e.myLocation=n.myLocation,e.oversize=n.oversize,e.flip=!0)}},flipfit:function(e,t){this.flip(e,t),this.fit(e,t)},none:function(e){e.oversize=0}},T=function(){var e=r("<div>").css({width:100,height:100,overflow:"scroll",position:"absolute",top:-9999}).appendTo(r("body")),t=e.get(0).offsetWidth-e.get(0).clientWidth;e.remove(),i=t},E={h:{location:0,flip:!1,fit:!1,oversize:0},v:{location:0,flip:!1,fit:!1,oversize:0}},I=function(e,t){var n=r(e),s=n.offset(),d=u(!0,{},E,{h:{location:s.left},v:{location:s.top}});if(!t)return d;var h=b(t.my),f=b(t.at),m=r(t.of).length&&t.of||a,y=v(t.offset),w=function(e){var t=o.splitPair(e),n=String(t&&t[0]).toLowerCase(),i=String(t&&t[1]).toLowerCase();return g.test(n)||(n="none"),g.test(i)||(i=n),{h:n,v:i}}(t.collision),I=t.boundary,D=v(t.boundaryOffset),M={mySize:n.outerWidth(),myAlign:h.h,atAlign:f.h,offset:y.h,collision:w.h,boundaryOffset:D.h},O={mySize:n.outerHeight(),myAlign:h.v,atAlign:f.v,offset:y.v,collision:w.v,boundaryOffset:D.v};
1if(m.preventDefault)M.atLocation=m.pageX,O.atLocation=m.pageY,M.atSize=0,O.atSize=0;else if(m=r(m),c(m[0]))M.atLocation=m.scrollLeft(),O.atLocation=m.scrollTop(),M.atSize=m[0].innerWidth>=m[0].outerWidth?m[0].innerWidth:m.width(),O.atSize=m[0].innerHeight>=m[0].outerHeight||_?m[0].innerHeight:m.height();else if(9===m[0].nodeType)M.atLocation=0,O.atLocation=0,M.atSize=m.width(),O.atSize=m.height();else{var R=m.offset();M.atLocation=R.left,O.atLocation=R.top,M.atSize=m.outerWidth(),O.atSize=m.outerHeight()}S(M),S(O);var L=function(){var e=r(a),t=e.width(),n=e.height(),o=e.scrollLeft(),s=e.scrollTop(),c=l.getDocumentElement(),u=p.touch?c.clientWidth/t:1,d=p.touch?c.clientHeight/n:1;void 0===i&&T();var h=t,f=n;if(I){var m=r(I),g=m.offset();o=g.left,s=g.top,h=m.width(),f=m.height()}return{h:{min:o+M.boundaryOffset,max:o+h/u-M.mySize-M.boundaryOffset},v:{min:s+O.boundaryOffset,max:s+f/d-O.mySize-O.boundaryOffset}}}();M.oversize=C(M,L.h),O.oversize=C(O,L.v),M.collisionSide=x("h",M,L.h),O.collisionSide=x("v",O,L.v),k[M.collision]&&k[M.collision](M,L.h),k[O.collision]&&k[O.collision](O,L.v);var A=function(e){return t.precise?e:Math.round(e)};return u(!0,d,{h:{location:A(M.myLocation),oversize:A(M.oversize),fit:M.fit,flip:M.flip,collisionSide:M.collisionSide},v:{location:A(O.myLocation),oversize:A(O.oversize),fit:O.fit,flip:O.flip,collisionSide:O.collisionSide},precise:t.precise}),d},D=function(e,t){var n=r(e);if(!t)return n.offset();h.resetPosition(n,!0);var i=n.offset(),o=t.h&&t.v?t:I(n,t),s=function(e){return t.precise?e:Math.round(e)};return h.move(n,{left:o.h.location-s(i.left),top:o.v.location-s(i.top)}),o};D.inverseAlign||(D.inverseAlign=w),D.normalizeAlign||(D.normalizeAlign=b),e.exports={calculateScrollbarWidth:T,calculate:I,setup:D,offset:function(e){return e=r(e).get(0),c(e)?null:e&&"pageY"in e&&"pageX"in e?{top:e.pageY,left:e.pageX}:r(e).offset()}}},"vph/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=a(n("VyaE")),o=a(n("52Lf")),s=n("6LKm");function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],u=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],d=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(i.isValid=!1,-1!==e.search(/^[0-9]{6}$/))i.middleDigits=e,i.upcA=h(e,"0"),i.text=n.text||""+i.upcA[0]+e+i.upcA[i.upcA.length-1],i.isValid=!0;else{if(-1===e.search(/^[01][0-9]{7}$/))return l(i);if(i.middleDigits=e.substring(1,e.length-1),i.upcA=h(i.middleDigits,e[0]),i.upcA[i.upcA.length-1]!==e[e.length-1])return l(i);i.isValid=!0}return i.displayValue=n.displayValue,i.fontSize=n.fontSize>10*n.width?10*n.width:n.fontSize,i.guardHeight=n.height+i.fontSize/2+n.textMargin,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var e="";return e+="101",e+=this.encodeMiddleDigits(),{data:e+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var e=[];return this.displayValue&&e.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),e.push({data:"101",options:{height:this.guardHeight}}),e.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),e.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&e.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),e}},{key:"encodeMiddleDigits",value:function(){var e=this.upcA[0],t=u[parseInt(this.upcA[this.upcA.length-1])][parseInt(e)];return(0,r.default)(this.middleDigits,t)}}]),t}(o.default);function h(e,t){for(var n=parseInt(e[e.length-1]),i=c[n],r="",o=0,a=0;a<i.length;a++){var l=i[a];r+="X"===l?e[o++]:l}return(r=""+t+r)+(0,s.checksum)(r)}t.default=d},vt7q:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var i=n("ti0F"),r=s(n("OZWN")),o=s(n("vR7y"));function s(e){return e&&e.__esModule?e:{default:e}}var a={tryCreateTag:function(e){var t=null;return(0,i.isDefined)(e)&&(t={patternType:e.patternType,backgroundColor:o.default.tryCreateTag(e.backgroundColor),foregroundColor:o.default.tryCreateTag(e.foregroundColor)},a.isEmpty(t)&&(t=null)),t},copy:function(e){var t=null;return(0,i.isDefined)(e)&&(t={},void 0!==e.patternType&&(t.patternType=e.patternType),void 0!==e.backgroundColor&&(t.backgroundColor=o.default.copy(e.backgroundColor)),void 0!==e.foregroundColor&&(t.foregroundColor=o.default.copy(e.foregroundColor))),t},areEqual:function(e,t){return a.isEmpty(e)&&a.isEmpty(t)||(0,i.isDefined)(e)&&(0,i.isDefined)(t)&&e.patternType===t.patternType&&o.default.areEqual(e.backgroundColor,t.backgroundColor)&&o.default.areEqual(e.foregroundColor,t.foregroundColor)},isEmpty:function(e){return!(0,i.isDefined)(e)||!(0,i.isDefined)(e.patternType)},toXml:function(e){var t=[(0,i.isDefined)(e.foregroundColor)?o.default.toXml("fgColor",e.foregroundColor):"",(0,i.isDefined)(e.backgroundColor)?o.default.toXml("bgColor",e.backgroundColor):""].join("");return r.default.toXml("patternFill",{patternType:e.patternType},t)}};t.default=a},vwfw:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("XmX/"));function o(e){return e&&e.__esModule?e:{default:e}}t.DraggingHeaderView=r.default.views.draggingHeaderView,t.DraggingHeaderViewController=r.default.controllers.draggingHeader,t.ColumnsSeparatorView=r.default.views.columnsSeparatorView,t.TablePositionViewController=r.default.controllers.tablePosition,t.ColumnsResizerViewController=r.default.controllers.columnsResizer,t.TrackerView=r.default.views.trackerView,i.default.registerModule("columnsResizingReordering",r.default)},w1tV:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("XNiG"),r=n("HDdC"),o=n("7o/Q"),s=n("quSY");function a(){return function(e){return e.lift(new l(e))}}class l{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const i=new c(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class c extends o.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class u extends r.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new s.a,e.add(this.source.subscribe(new h(this.getSubject(),this))),e.closed&&(this._connection=null,e=s.a.EMPTY)),e}refCount(){return a()(this)}}const d=(()=>{const e=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class h extends i.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function p(){return new i.a}function f(){return e=>{return a()((t=p,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,d);return i.source=e,i.subjectFactory=n,i})(e));var t}}},"wL+b":function(e,t,n){"use strict";var i={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:"90ee9
10",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"},r=[{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),r=a(t,n,i);return[r[0],r[1],r[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),r=u(t,n,i);return[r[0],r[1],r[2],1,null,[t,n,i]]}}];function o(e){var t;this.baseColor=e,e&&(t=String(e).toLowerCase().replace(/ /g,""),t=function(e){if("transparent"===e)return[0,0,0,0];for(var t,n=0,i=r.length;n<i;++n)if(t=r[n].re.exec(e))return r[n].process(t);return null}(t=i[t]?"#"+i[t]:t)),t||(this.colorIsInvalid=!0),this.r=s((t=t||{})[0]),this.g=s(t[1]),this.b=s(t[2]),this.a=s(t[3],1,1),this.hsv=t[4]?{h:t[4][0],s:t[4][1],v:t[4][2]}:function(e,t,n){var i,r,o,s=Math.max(e,t,n),a=Math.min(e,t,n),l=s-a;if(o=s,r=0===s?0:1-a/s,s===a)i=0;else switch(s){case e:i=(t-n)/l*60,t<n&&(i+=360);break;case t:i=(n-e)/l*60+120;break;case n:i=(e-t)/l*60+240}return r*=100,o*=100/255,{h:Math.round(i),s:Math.round(r),v:Math.round(o)}}(this.r,this.g,this.b),this.hsl=t[5]?{h:t[5][0],s:t[5][1],l:t[5][2]}:function(e,t,n){e=d(e,255),t=d(t,255),n=d(n,255);var i,r,o=Math.max(e,t,n),s=Math.min(e,t,n),a=o+s,l=a/2;if(o===s)i=r=0;else{var c=o-s;r=l>.5?c/(2-a):c/a,i=function(e,t,n,i){switch(Math.max(e,t,n)){case e:return(t-n)/i+(t<n?6:0);case t:return(n-e)/i+2;case n:return(e-t)/i+4}}(e,t,n,c),i/=6}return{h:p(360*i),s:p(100*r),l:p(100*l)}}(this.r,this.g,this.b)}function s(e,t,n){return t=t||0,n=n||255,e<0||isNaN(e)?t:e>n?n:e}function a(e,t,n){var i,r,o,s=(100-t)*n/100,a=e%60/60*(n-s),l=s+a,c=n-a;switch(Math.floor(e%360/60)){case 0:i=n,r=l,o=s;break;case 1:i=c,r=n,o=s;break;case 2:i=s,r=n,o=l;break;case 3:i=s,r=c,o=n;break;case 4:i=l,r=s,o=n;break;case 5:i=n,r=s,o=c}return[Math.round(2.55*i),Math.round(2.55*r),Math.round(2.55*o)]}function l(e,t){var n=t;return"r"===e&&(n=t+1/3),"b"===e&&(n=t-1/3),n}function c(e,t,n){return(n=function(e){return e<0&&(e+=1),e>1&&(e-=1),e}(n))<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function u(e,t,n){var i,r,o;if(e=d(e,360),t=d(t,100),n=d(n,100),0===t)i=r=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;i=c(a,s,l("r",e)),r=c(a,s,l("g",e)),o=c(a,s,l("b",e))}return[p(255*i),p(255*r),p(255*o)]}function d(e,t){return e=Math.min(t,Math.max(0,parseFloat(e))),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function h(e,t,n){return t=t||0,n=n||255,!(e%1!=0||e<t||e>n||"number"!=typeof e||isNaN(e))}var p=Math.round;o.prototype={constructor:o,highlight:function(e){return this.alter(e=e||10).toHex()},darken:function(e){return this.alter(-(e=e||10)).toHex()},alter:function(e){var t=new o;return t.r=s(this.r+e),t.g=s(this.g+e),t.b=s(this.b+e),t}
1,blend:function(e,t){var n=e instanceof o?e:new o(e),i=new o;return i.r=s(p(this.r*(1-t)+n.r*t)),i.g=s(p(this.g*(1-t)+n.g*t)),i.b=s(p(this.b*(1-t)+n.b*t)),i},toHex:function(){return"#"+(16777216|this.r<<16|this.g<<8|this.b).toString(16).slice(1)},getPureColor:function(){return new o("rgb("+a(this.hsv.h,100,100).join(",")+")")},isValidHex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},isValidRGB:function(e,t,n){return!!(h(e)&&h(t)&&h(n))},isValidAlpha:function(e){return!(isNaN(e)||e<0||e>1||"number"!=typeof e)},colorIsInvalid:!1,fromHSL:function(e){var t=new o,n=u(e.h,e.s,e.l);return t.r=n[0],t.g=n[1],t.b=n[2],t}},e.exports=o},wQk9:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},wXsw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codabar=void 0;var i,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),0===e.search(/^[0-9\-\$\:\.\+\/]+$/)&&(e="A"+e+"A");var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.toUpperCase(),n));return i.text=i.options.text||i.text.replace(/[A-D]/g,""),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var e=[],t=this.getEncodings(),n=0;n<this.data.length;n++)e.push(t[this.data.charAt(n)]),n!==this.data.length-1&&e.push("0");return{text:this.text,data:e.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),t}(((i=n("52Lf"))&&i.__esModule?i:{default:i}).default);t.codabar=o},"wZ/z":function(e,t,n){"use strict";var i=n("jeLr"),r=n("uHaw"),o=n("tUd6"),s=n("5qrJ"),a=n("JDOJ"),l=s.inherit({ctor:function(e,t){this._eventName=e,this._originalEvents=a.addNamespace(t,"dxPointerEvents"),this._handlerCount=0,this.noBubble=this._isNoBubble()},_isNoBubble:function(){var e=this._eventName;return"dxpointerenter"===e||"dxpointerleave"===e},_handler:function(e){var t=this._getDelegateTarget(e);return this._fireEvent({type:this._eventName,pointerType:e.pointerType||a.eventSource(e),originalEvent:e,delegateTarget:t,timeStamp:r.mozilla?(new Date).getTime():e.timeStamp})},_getDelegateTarget:function(e){var t;return this.noBubble&&(t=e.delegateTarget),t},_fireEvent:function(e){return a.fireEvent(e)},_setSelector:function(e){this._selector=this.noBubble&&e?e.selector:null},_getSelector:function(){return this._selector},setup:function(){return!0},add:function(e,t){if(this._handlerCount<=0||this.noBubble){e=this.noBubble?e:o.getDocument(),this._setSelector(t);var n=this;i.on(e,this._originalEvents,this._getSelector(),(function(e){n._handler(e)}))}this.noBubble||this._handlerCount++},remove:function(e){this._setSelector(e),this.noBubble||this._handlerCount--},teardown:function(e){this._handlerCount&&!this.noBubble||(e=this.noBubble?e:o.getDocument(),".dxPointerEvents"!==this._originalEvents&&i.off(e,this._originalEvents,this._getSelector()))},dispose:function(e){e=this.noBubble?e:o.getDocument(),i.off(e,this._originalEvents)}});e.exports=l},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}
vendor: 33,233 bytes, line 1
1function p(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,i){return St(e,t,n,i,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=m(e),n=i.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function _(e){var t=f(NaN);return null!=e?p(m(t),e):m(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],v=!1;function y(e,t){var n,i,r;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=m(t)),c(t._locale)||(e._locale=t._locale),b.length>0)for(n=0;n<b.length;n++)c(r=t[i=b[n]])||(e[i]=r);return e}function w(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,r.updateOffset(this),v=!1)}function C(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function x(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,l=[];for(o=0;o<arguments.length;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];l.push(i)}x(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,T={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),T[e]||(x(t),T[e]=!0)}function I(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var n,i=p({},e);for(n in t)a(t,n)&&(s(e[n])&&s(t[n])?(i[n]={},p(i[n],e[n]),p(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)a(e,n)&&!a(t,n)&&s(e[n])&&(i[n]=p({},i[n]));return i}function M(e){null!=e&&this.set(e)}function O(e,t,n){var i=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},P={};function F(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(P[e]=r),t&&(P[t[0]]=function(){return O(r.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function B(e,t){return e.isValid()?(t=H(t,e.localeData()),A[t]=A[t]||function(e){var t,n,i,r=e.match(R);for(t=0,n=r.length;t<n;t++)r[t]=P[r[t]]?P[r[t]]:(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,o="";for(i=0;i<n;i++)o+=I(r[i])?r[i].call(t,e):r[i];return o}}(t),A[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;n>=0&&L.test(e);)e=e.replace(L,i),L.lastIndex=0,n-=1;return e}var V={};function N(e,t){var n=e.toLowerCase();V[n]=V[n+"s"]=V[t]=e}function z(e){return"string"==typeof e?V[e]||V[e.toLowerCase()]:void 0}function j(e){var t,n,i={};for(n in e)a(e,n)&&(t=z(n))&&(i[t]=e[n]);return i}var Y={};function W(e,t){Y[e]=t}function Q(e){return e%4==0&&e%100!=0||e%400==0}function $(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function K(e,t){return function(n){return null!=n?(q(this,e,n),r.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Q(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ce(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var J,X=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,ie=/\d\d?/,re=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,se=/\d{1,3}/,ae=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function fe(e,t,n){J[e]=I(t)?t:function(e,i){return e&&n?n:t}}function me(e,t){return a(J,e)?J[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var _e,be={};function ve(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=G(e)}),n=0;n<e.length;n++)be[e[n]]=i}function ye(e,t){ve(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function we(e,t,n){null!=t&&a(be,e)&&be[e](t,n._a,n,e)}function Ce(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?Q(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},F("M",["MM",2],"Mo",(function(){return this.month()+1})),F("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),F("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),N("month","M"),W("month",8),fe("M",ie),fe("MM",ie,Z),fe("MMM",(function(e,t){return t.monthsShortRegex(e)})),fe("MMMM",(function(e,t){return t.monthsRegex(e)})),ve(["M","MM"],(function(e,t){t[1]=G(e)-1})),ve(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[1]=r:m(n).invalidMonth=e}));var xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Se="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Te=pe,Ee=pe;function Ie(e,t,n){var i,r,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=_e.call(this._shortMonthsParse,s))?r:null:-1!==(r=_e.call(this._longMonthsParse,s))?r:null:"MMM"===t?-1!==(r=_e.call(this._shortMonthsParse,s))||-1!==(r=_e.call(this._longMonthsParse,s))?r:null:-1!==(r=_e.call(this._longMonthsParse,s))||-1!==(r=_e.call(this._shortMonthsParse,s))?r:null}function De(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ce(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Me(e){return null!=e?(De(this,e),r.updateOffset(this,!0),this):U(this,"Month")}function Oe(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=ge(i[t]),r[t]=ge(r[t]);for(t=0;t<24;t++)o[t]=ge(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Re(e){return Q(e)?366:365}F("Y",0,0,(function(){var e=this.year();return e<=9999?O(e,4):"+"+e})),F(0,["YY",2],0,(function(){return this.year()%100})),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),N("year","y"),W("year",1),fe("Y",ue),fe("YY",ie,Z),fe("YYYY",ae,te),fe("YYYYY",le,ne),fe("YYYYYY",le,ne),ve(["YYYYY","YYYYYY"],0),ve("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):G(e)})),ve("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),ve("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var Le=K("FullYear",!0);function Ae(e,t,n,i,r,o,s){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,o,s),a}function Pe(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Fe(e,t,n){var i=7+t-n;return-(7+Pe(e,0,i).getUTCDay()-t)%7+i-1}function Be(e,t,n,i,r){var o,s,a=1+7*(t-1)+(7+n-i)%7+Fe(e,i,r);return a<=0?s=Re(o=e-1)+a:a>Re(e)?(o=e+1,s=a-Re(e)):(o=e,s=a),{year:o,dayOfYear:s}}function He(e,t,n){var i,r,o=Fe(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?i=s+Ve(r=e.year()-1,t,n):s>Ve(e.year(),t,n)?(i=s-Ve(e.year(),t,n),r=e.year()+1):(r=e.year(),i=s),{week:i,year:r}}function Ve(e,t,n){var i=Fe(e,t,n),r=Fe(e+1,t,n);return(Re(e)-i+r)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),W("week",5),W("isoWeek",5),fe("w",ie),fe("ww",ie,Z),fe("W",ie),fe("WW",ie,Z),ye(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=G(e)})),F("d",0,"do","day"),F("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),F("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),F("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),fe("d",ie),fe("e",ie),fe("E",ie),fe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),fe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),fe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ye(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:m(n).invalidWeekday=e})),ye(["d","e","E"],(function(e,t,n,i){t[i]=G(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=pe,Qe=pe,$e=pe;function Ge(e,t,n){var i,r,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=_e.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=_e.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=_e.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=_e.call(this._weekdaysParse,s))||-1!==(r=_e.call(this._shortWeekdaysParse,s))||-1!==(r=_e.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=_e.call(this._shortWeekdaysParse,s))||-1!==(r=_e.call(this._weekdaysParse,s))||-1!==(r=_e.call(this._minWeekdaysParse,s))?r:null:-1!==(r=_e.call(this._minWeekdaysParse,s))||-1!==(r=_e.call(this._weekdaysParse,s))||-1!==(r=_e.call(this._shortWeekdaysParse,s))?r:null}function Ke(){function e(e,t){return t.length-e.length}var t,n,i,r,o,s=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=ge(this.weekdaysMin(n,"")),r=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),s.push(i),a.push(r),l.push(o),c.push(i),c.push(r),c.push(o);s.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ue(){return this.hours()%12||12}function qe(e,t){F(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Ue),F("k",["kk",2],0,(function(){return this.hours()||24})),F("hmm",0,0,(function(){return""+Ue.apply(this)+O(this.minutes(),2)})),F("hmmss",0,0,(function(){return""+Ue.apply(this)+O(this.minutes(),2)+O(this.seconds(),2)})),F("Hmm",0,0,(function(){return""+this.hours()+O(this.minutes(),2)})),F("Hmmss",0,0,(function(){return""+this.hours()+O(this.minutes(),2)+O(this.seconds(),2)})),qe("a",!0),qe("A",!1),N("hour","h"),W("hour",13),fe("a",Je),fe("A",Je),fe("H",ie),fe("h",ie),fe("k",ie),fe("HH",ie,Z),fe("hh",ie,Z),fe("kk",ie,Z),fe("hmm",re),fe("hmmss",oe),fe("Hmm",re),fe("Hmmss",oe),ve(["H","HH"],3),ve(["k","kk"],(function(e,t,n){var i=G(e);t[3]=24===i?0:i})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[3]=G(e),m(n).bigHour=!0})),ve("hmm",(function(e,t,n){var i=e.length-2;t[3]=G(e.substr(0,i)),t[4]=G(e.substr(i)),m(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=G(e.substr(0,i)),t[4]=G(e.substr(i,2)),t[5]=G(e.substr(r)),m(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var i=e.length-2;t[3]=G(e.substr(0,i)),t[4]=G(e.substr(i))})),ve("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=G(e.substr(0,i)),t[4]=G(e.substr(i,2)),t[5]=G(e.substr(r))}));var Xe,Ze=K("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xe,monthsShort:Se,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Ye,weekdaysShort:je,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function rt(e){return e?e.toLowerCase().replace("_","-"):e}function ot(t){var i=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{i=Xe._abbr,n("RnhZ")("./"+t),st(i)}catch(r){tt[t]=null}return tt[t]}function st(e,t){var n;return e&&((n=c(t)?lt(e):at(e,t))?Xe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function at(e,t){if(null!==t){var n,i=et;if(t.abbr=e,null!=tt[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])i=tt[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return tt[e]=new M(D(i,t)),nt[e]&&nt[e].forEach((function(e){at(e.name,e.config)})),st(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=rt(e[o]).split("-")).length,n=(n=rt(e[o+1]))?n.split("-"):null;t>0;){if(i=ot(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&it(r,n)>=t-1)break;t--}o++}return Xe}(e)}function ct(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ce(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ft=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,n,i,r,o,s,a=e._i,l=ut.exec(a)||dt.exec(a);if(l){for(m(e).iso=!0,t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[1])){r=pt[t][0],i=!1!==pt[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=ft.length;t<n;t++)if(ft[t][1].exec(l[3])){o=(l[2]||" ")+ft[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!ht.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(o||"")+(s||""),Ct(e)}else e._isValid=!1}function vt(e){var t,n,i,r,o,s,a,l,c,u=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){if(n=u[3],i=u[2],r=u[5],o=u[6],s=u[7],a=[(l=u[4],c=parseInt(l,10),c<=49?2e3+c:c<=999?1900+c:c),Se.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(o,10)],s&&a.push(parseInt(s,10)),!function(e,t,n){return!e||je.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(u[1],t=a,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return _t[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(u[8],u[9],u[10]),e._d=Pe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function yt(e,t,n){return null!=e?e:null!=t?t:n}function wt(e){var t,n,i,o,s,a=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,o,s,a,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,s=4,n=yt(t.GG,e._a[0],He(kt(),1,4).year),i=yt(t.W,1),((r=yt(t.E,1))<1||r>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,c=He(kt(),o,s),n=yt(t.gg,e._a[0],c.year),i=yt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o),i<1||i>Ve(n,o,s)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(a=Be(n,i,r,o,s),e._a[0]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(s=yt(e._a[0],i[0]),(e._dayOfYear>Re(s)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Pe(s,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Pe:Ae).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(m(e).weekdayMismatch=!0)}}function Ct(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,n,i,o,s,a,l=""+e._i,c=l.length,u=0;for(i=H(e._f,e._locale).match(R)||[],t=0;t<i.length;t++)(n=(l.match(me(o=i[t],e))||[])[0])&&((s=l.substr(0,l.indexOf(n))).length>0&&m(e).unusedInput.push(s),l=l.slice(l.indexOf(n)+n.length),u+=n.length),P[o]?(n?m(e).empty=!1:m(e).unusedTokens.push(o),we(o,n,e)):e._strict&&!n&&m(e).unusedTokens.push(o);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(a=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(a,e._a[0])),wt(e),ct(e)}else vt(e);else bt(e)}function xt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),C(t)?new w(ct(t)):(d(t)?e._d=t:o(n)?function(e){var t,n,i,r,o,s,a=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,s=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ct(t),g(t)&&(s=!0),o+=m(t).charsLeftOver,o+=10*m(t).unusedTokens.length,m(t).score=o,a?o<i&&(i=o,n=t):(null==i||o<i||s)&&(i=o,n=t,s&&(a=!0));p(e,n||t)}(e):n?Ct(e):function(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,vt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),wt(e)):s(t)?function(e){if(!e._d){var t=j(e._i);e._a=h([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),wt(e)}}(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function St(e,t,n,i,r){var a,c={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=r,c._l=n,c._i=e,c._f=t,c._strict=i,(a=new w(ct(xt(c))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function kt(e,t,n,i){return St(e,t,n,i,!1)}r.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Tt=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Et=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function It(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return kt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Mt(e){var t=j(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(a(e,t)&&(-1===_e.call(Dt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Dt.length;++n)if(e[Dt[n]]){if(i)return!1;parseFloat(e[Dt[n]])!==G(e[Dt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=lt(),this._bubble()}function Ot(e){return e instanceof Mt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){F(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+O(~~(e/60),2)+t+O(~~e%60,2)}))}Lt("Z",":"),Lt("ZZ",""),fe("Z",he),fe("ZZ",he),ve(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Pt(he,e)}));var At=/([\+\-]|\d\d)/gi;function Pt(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(At)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?i:-i}function Ft(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(C(e)||d(e)?e.valueOf():kt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):kt(e).local()}function Bt(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Nt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function zt(e,t){var n,i,r,o,s,l,c=e,d=null;return Ot(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Vt.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:G(d[2])*n,h:G(d[3])*n,m:G(d[4])*n,s:G(d[5])*n,ms:G(Rt(1e3*d[6]))*n}):(d=Nt.exec(e))?c={y:jt(d[2],n="-"===d[1]?-1:1),M:jt(d[3],n),w:jt(d[4],n),d:jt(d[5],n),h:jt(d[6],n),m:jt(d[7],n),s:jt(d[8],n)}:null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=kt(c.from),s=kt(c.to),r=o.isValid()&&s.isValid()?(s=Ft(s,o),o.isBefore(s)?l=Yt(o,s):((l=Yt(s,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=r.milliseconds,c.M=r.months),i=new Mt(c),Ot(e)&&a(e,"_locale")&&(i._locale=e._locale),Ot(e)&&a(e,"_isValid")&&(i._isValid=e._isValid),i}function jt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Wt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Qt(this,zt(n,i),e),this}}function Qt(e,t,n,i){var o=t._milliseconds,s=Rt(t._days),a=Rt(t._months);e.isValid()&&(i=null==i||i,a&&De(e,U(e,"Month")+a*n),s&&q(e,"Date",U(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}zt.fn=Mt.prototype,zt.invalid=function(){return zt(NaN)};var $t=Wt(1,"add"),Gt=Wt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Ut(e){return C(e)||d(e)||Kt(e)||u(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Kt(e)})).length),t&&n}(e)||function(e){var t,n=s(e)&&!l(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<r.length;t+=1)i=i||a(e,r[t]);return n&&i}(e)||null==e}function qt(e){var t,n=s(e)&&!l(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)i=i||a(e,r[t]);return n&&i}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Zt=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function en(){return this._locale}function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],i=[],r=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)i.push(ge(s[e].name)),n.push(ge(s[e].abbr)),r.push(ge(s[e].narrow)),o.push(ge(s[e].name)),o.push(ge(s[e].abbr)),o.push(ge(s[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function an(e,t){F(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var o;return null==e?He(this,i,r).year:(t>(o=Ve(e,i,r))&&(t=o),cn.call(this,e,t,n,i,r))}function cn(e,t,n,i,r){var o=Be(e,t,n,i,r),s=Pe(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),fe("N",on),fe("NN",on),fe("NNN",on),fe("NNNN",(function(e,t){return t.erasNameRegex(e)})),fe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?m(n).era=r:m(n).invalidEra=e})),fe("y",ce),fe("yy",ce),fe("yyy",ce),fe("yyyy",ce),fe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),ve(["y","yy","yyy","yyyy"],0),ve(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),t[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,r):parseInt(e,10)})),F(0,["gg",2],0,(function(){return this.weekYear()%100})),F(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),fe("G",ue),fe("g",ue),fe("GG",ie,Z),fe("gg",ie,Z),fe("GGGG",ae,te),fe("gggg",ae,te),fe("GGGGG",le,ne),fe("ggggg",le,ne),ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=G(e)})),ye(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),F("Q",0,"Qo","quarter"),N("quarter","Q"),W("quarter",7),fe("Q",X),ve("Q",(function(e,t){t[1]=3*(G(e)-1)})),F("D",["DD",2],"Do","date"),N("date","D"),W("date",9),fe("D",ie),fe("DD",ie,Z),fe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],2),ve("Do",(function(e,t){t[2]=G(e.match(ie)[0])}));var un=K("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),W("dayOfYear",4),fe("DDD",se),fe("DDDD",ee),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=G(e)})),F("m",["mm",2],0,"minute"),N("minute","m"),W("minute",14),fe("m",ie),fe("mm",ie,Z),ve(["m","mm"],4);var dn=K("Minutes",!1);F("s",["ss",2],0,"second"),N("second","s"),W("second",15),fe("s",ie),fe("ss",ie,Z),ve(["s","ss"],5);var hn,pn,fn=K("Seconds",!1);for(F("S",0,0,(function(){return~~(this.millisecond()/100)})),F(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),F(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),F(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),F(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),F(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),F(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),W("millisecond",16),fe("S",se,X),fe("SS",se,Z),fe("SSS",se,ee),hn="SSSS";hn.length<=9;hn+="S")fe(hn,ce);function mn(e,t){t[6]=G(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ve(hn,mn);pn=K("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var gn=w.prototype;function _n(e){return e}gn.add=$t,gn.calendar=function(e,t){1===arguments.length&&(Ut(arguments[0])?(e=arguments[0],t=void 0):qt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||kt(),i=Ft(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(I(t[o])?t[o].c
vendor: 4,235 bytes, line 1
1all(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,kt(n)))},gn.clone=function(){return new w(this)},gn.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Ft(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=z(t)){case"year":o=Jt(this,i)/12;break;case"month":o=Jt(this,i);break;case"quarter":o=Jt(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:$(o)},gn.endOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},gn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=B(this,e);return this.localeData().postformat(t)},gn.from=function(e,t){return this.isValid()&&(C(e)&&e.isValid()||kt(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.fromNow=function(e){return this.from(kt(),e)},gn.to=function(e,t){return this.isValid()&&(C(e)&&e.isValid()||kt(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.toNow=function(e){return this.to(kt(),e)},gn.get=function(e){return I(this[e=z(e)])?this[e]():this},gn.invalidAt=function(){return m(this).overflow},gn.isAfter=function(e,t){var n=C(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},gn.isBefore=function(e,t){var n=C(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},gn.isBetween=function(e,t,n,i){var r=C(e)?e:kt(e),o=C(t)?t:kt(t);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n))},gn.isSame=function(e,t){var n,i=C(e)?e:kt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},gn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},gn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},gn.isValid=function(){return g(this)},gn.lang=Zt,gn.locale=Xt,gn.localeData=en,gn.max=Et,gn.min=Tt,gn.parsingFlags=function(){return p({},m(this))},gn.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=j(e));for(n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit])}else if(I(this[e=z(e)]))return this[e](t);return this},gn.startOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}
vendor: 9,984 bytes, line 1
1return this._d.setTime(t),r.updateOffset(this,!0),this},gn.subtract=Gt,gn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},gn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""},gn.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""},gn.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""},gn.eraYear=function(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,i=this.startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()},gn.year=Le,gn.isLeapYear=function(){return Q(this.year())},gn.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},gn.quarter=gn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},gn.month=Me,gn.daysInMonth=function(){return Ce(this.year(),this.month())},gn.week=gn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},gn.isoWeek=gn.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},gn.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},gn.weeksInWeekYear=function(){var e=this.localeData()._week;return Ve(this.weekYear(),e.dow,e.doy)},gn.isoWeeksInYear=function(){return Ve(this.year(),1,4)},gn.isoWeeksInISOWeekYear=function(){return Ve(this.isoWeekYear(),1,4)},gn.date=un,gn.day=gn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},gn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},gn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},gn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},gn.hour=gn.hours=Ze,gn.minute=gn.minutes=dn,gn.second=gn.seconds=fn,gn.millisecond=gn.milliseconds=pn,gn.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Pt(he,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Bt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Qt(this,zt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Bt(this)},gn.utc=function(e){return this.utcOffset(0,e)},gn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Bt(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Pt(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},gn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},gn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=Ht,gn.isUTC=Ht,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=S("dates accessor is deprecated. Use date instead.",un),gn.months=S("months accessor is deprecated. Use month instead",Me),gn.years=S("years accessor is deprecated. Use year instead",Le),gn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),gn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=xt(t))._a?(e=t._isUTC?f(t._a):kt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(i=0;i<r;i++)G(e[i])!==G(t[i])&&s++;return s+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var bn=M.prototype;function vn(e,t,n,i){var r=lt(),o=f().set(i,t);return r[n](o,e)}function yn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return vn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=vn(e,i,n,"month");return r}function wn(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,o=lt(),s=e?o._week.dow:0,a=[];if(null!=n)return vn(t,(n+s)%7,i,"day");for(r=0;r<7;r++)a[r]=vn(t,(r+s)%7,i,"day");return a}bn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return I(i)?i.call(t,n):i},bn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(e){return this._ordinal.replace("%d",e)},bn.preparse=_n,bn.postformat=_n,bn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return I(r)?r(e,t,n,i):r.replace(/%d/i,e)},bn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return I(n)?n(t):n.replace(/%s/i,t)},bn.set=function(e){var t,n;for(n in e)a(e,n)&&(I(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.eras=function(e,t){var n,i,o,s=this._eras||lt("en")._eras;for(n=0,i=s.length;n<i;++n){switch(typeof s[n].since){case"string":o=r(s[n].since).startOf("day"),s[n].since=o.valueOf()}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":o=r(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}}return s},bn.erasParse=function(e,t,n){var i,r,o,s,a,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[i];break;case"NNNN":if(o===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if([o,s,a].indexOf(e)>=0)return l[i]},bn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},bn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},bn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},bn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},bn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},bn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ke.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(e,t,n){var i,r,o;
vendor: 6,196 bytes, line 1
1if(this._monthsParseExact)return Ie.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},bn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Oe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Oe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Te),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(e){return He(e,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(n,this._week.dow):e?n[e.day()]:n},bn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},bn.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},bn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},bn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},bn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},st("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",st),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",lt);var Cn=Math.abs;function xn(e,t,n,i){var r=zt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Sn(e){return e<0?Math.floor(e):Math.ceil(e)}function kn(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function En(e){return function(){return this.as(e)}}var In=En("ms"),Dn=En("s"),Mn=En("m"),On=En("h"),Rn=En("d"),Ln=En("w"),An=En("M"),Pn=En("Q"),Fn=En("y");function Bn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Hn=Bn("milliseconds"),Vn=Bn("seconds"),Nn=Bn("minutes"),zn=Bn("hours"),jn=Bn("days"),Yn=Bn("months"),Wn=Bn("years"),Qn=Math.round,$n={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Kn=Math.abs;function Un(e){return(e>0)-(e<0)||+e}function qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,s,a,l=Kn(this._milliseconds)/1e3,c=Kn(this._days),u=Kn(this._months),d=this.asSeconds();return d?(e=$(l/60),t=$(e/60),l%=60,e%=60,n=$(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=Un(this._months)!==Un(d)?"-":"",s=Un(this._days)!==Un(d)?"-":"",a=Un(this._milliseconds)!==Un(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+i+"S":"")):"P0D"}var Jn=Mt.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var e=this._data;return this._milliseconds=Cn(this._milliseconds),this._days=Cn(this._days),this._months=Cn(this._months),e.milliseconds=Cn(e.milliseconds),e.seconds=Cn(e.seconds),e.minutes=Cn(e.minutes),e.hours=Cn(e.hours),e.months=Cn(e.months),e.years=Cn(e.years),this},Jn.add=function(e,t){return xn(this,e,t,1)},Jn.subtract=function(e,t){return xn(this,e,t,-1)},Jn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;
vendor: 4,810 bytes, line 1
1if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(n=this._months+kn(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Jn.asMilliseconds=In,Jn.asSeconds=Dn,Jn.asMinutes=Mn,Jn.asHours=On,Jn.asDays=Rn,Jn.asWeeks=Ln,Jn.asMonths=An,Jn.asQuarters=Pn,Jn.asYears=Fn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Jn._bubble=function(){var e,t,n,i,r,o=this._milliseconds,s=this._days,a=this._months,l=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Sn(Tn(a)+s),s=0,a=0),l.milliseconds=o%1e3,e=$(o/1e3),l.seconds=e%60,t=$(e/60),l.minutes=t%60,n=$(t/60),l.hours=n%24,s+=$(n/24),a+=r=$(kn(s)),s-=Sn(Tn(r)),i=$(a/12),a%=12,l.days=s,l.months=a,l.years=i,this},Jn.clone=function(){return zt(this)},Jn.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},Jn.milliseconds=Hn,Jn.seconds=Vn,Jn.minutes=Nn,Jn.hours=zn,Jn.days=jn,Jn.weeks=function(){return $(this.days()/7)},Jn.months=Yn,Jn.years=Wn,Jn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=$n;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},$n,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),i=function(e,t,n,i){var r=zt(e).abs(),o=Qn(r.as("s")),s=Qn(r.as("m")),a=Qn(r.as("h")),l=Qn(r.as("d")),c=Qn(r.as("M")),u=Qn(r.as("w")),d=Qn(r.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=i,Gn.apply(null,h)}(this,!r,o,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},Jn.toISOString=qn,Jn.toString=qn,Jn.toJSON=qn,Jn.locale=Xt,Jn.localeData=en,Jn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qn),Jn.lang=Zt,F("X",0,0,"unix"),F("x",0,0,"valueOf"),fe("x",ue),fe("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(G(e))})),r.version="2.26.0",t=kt,r.fn=gn,r.min=function(){var e=[].slice.call(arguments,0);return It("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return It("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return kt(1e3*e)},r.months=function(e,t){return yn(e,t,"months")},r.isDate=d,r.locale=st,r.invalid=_,r.duration=zt,r.isMoment=C,r.weekdays=function(e,t,n){return wn(e,t,n,"weekdays")},r.parseZone=function(){return kt.apply(null,arguments).parseZone()},r.localeData=lt,r.isDuration=Ot,r.monthsShort=function(e,t){return yn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return wn(e,t,n,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(D(tt[e]._config,t)):(null!=(i=ot(e))&&(r=i._config),t=D(r,t),null==i&&(t.abbr=e),(n=new M(t)).parentLocale=tt[e],tt[e]=n),st(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===st()&&st(e)):null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return k(tt)},r.weekdaysShort=function(e,t,n){return wn(e,t,n,"weekdaysShort")},r.normalizeUnits=z,r.relativeTimeRounding=function(e){return void 0===e?Qn:"function"==typeof e&&(Qn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==$n[e]&&(void 0===t?$n[e]:($n[e]=t,"s"===e&&($n.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=gn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("YuTi")(e))},wjBO:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n("FKN7"),o=n("cGv3"),s=o.getWindow(),a=n("v4HY").getPublicElement,l=n("tUd6"),c=n("jeLr"),u=n("D6VQ"),d=n("KAnu"),h=n("1LL4").extend,p=n("uHaw"),f=n("YQNt"),m=n("vlix"),g=n("ti0F"),_=n("z7z0"),b=n("JDOJ"),v=n("IF55"),y={left:"r
1ight",top:"bottom",right:"left",bottom:"top",center:"center"},w={left:-1,top:-1,center:0,right:1,bottom:1},C={top:{my:"bottom center",at:"top center",collision:"fit flip"},bottom:{my:"top center",at:"bottom center",collision:"fit flip"},right:{my:"left center",at:"right center",collision:"flip fit"},left:{my:"right center",at:"left center",collision:"flip fit"}},x={left:"borderLeftWidth",top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth"},S=p.mozilla,k=function(e,t){var n=e.option(t);return T(n)},T=function(e){return g.isObject(e)?e.name:e},E=function(e,t){var n=e.option("target"),i=g.isString(n),o=k(e,t+"Event");if(o&&!e.option("disabled")){var s=b.addNamespace(o,e.NAME),u=e._createAction((function(){var n=function(e,t){var n=e.option(t);return g.isObject(n)&&n.delay}(e,t+"Event");this._clearEventsTimeouts(),n?this._timeouts[t]=setTimeout((function(){e[t]()}),n):e[t]()}).bind(e),{validatingTargetName:"target"}),d=function(e){u({event:e,target:r(e.currentTarget)})},h="_"+t+"EventHandler";if(i)e[h]=d,c.on(l.getDocument(),s,n,d);else{var p=a(r(n));e[h]=void 0,c.on(p,s,d)}}},I=function(e,t,n,i){var o=i||k(e,n+"Event");if(o){o=b.addNamespace(o,e.NAME);var s="_"+n+"EventHandler";e[s]?c.off(l.getDocument(),o,t,e[s]):c.off(a(r(t)),o)}},D=v.inherit({_getDefaultOptions:function(){return h(this.callBase(),{target:s,shading:!1,position:"bottom",closeOnOutsideClick:!0,animation:{show:{type:"fade",from:0,to:1},hide:{type:"fade",to:0}},showTitle:!1,width:"auto",height:"auto",dragEnabled:!1,resizeEnabled:!1,fullScreen:!1,closeOnTargetScroll:!0,arrowPosition:"",arrowOffset:0,boundaryOffset:{h:10,v:10}})},_defaultOptionsRules:function(){return[{device:{platform:"ios"},options:{arrowPosition:{boundaryOffset:{h:20,v:-10},collision:"fit"}}},{device:function(){return!o.hasWindow()},options:{animation:null}}]},_init:function(){this.callBase(),this._renderArrow(),this._timeouts={},this.$element().addClass("dx-popover"),this._wrapper().addClass("dx-popover-wrapper")},_render:function(){this.callBase.apply(this,arguments),this._detachEvents(this.option("target")),this._attachEvents()},_detachEvents:function(e){I(this,e,"show"),I(this,e,"hide")},_attachEvents:function(){E(this,"show"),E(this,"hide")},_renderArrow:function(){this._$arrow=r("<div>").addClass("dx-popover-arrow").prependTo(this.overlayContent())},_documentDownHandler:function(e){return!this._isOutsideClick(e)||this.callBase(e)},_isOutsideClick:function(e){return!r(e.target).closest(this.option("target")).length},_animate:function(e){e&&e.to&&"object"===i(e.to)&&h(e.to,{position:this._getContainerPosition()}),this.callBase.apply(this,arguments)},_stopAnimation:function(){this.callBase.apply(this,arguments)},_renderTitle:function(){this._wrapper().toggleClass("dx-popover-without-title",!this.option("showTitle")),this.callBase()},_renderPosition:function(){this.callBase(),this._renderOverlayPosition()},_renderOverlayBoundaryOffset:d.noop,_renderOverlayPosition:function(){this._resetOverlayPosition(),this._updateContentSize();var e=this._getContainerPosition(),t=m.setup(this._$content,e),n=this._getSideByLocation(t);this._togglePositionClass("dx-position-"+n),this._toggleFlippedClass(t.h.flip,t.v.flip),(this._isHorizontalSide()||this._isVerticalSide())&&this._renderArrowPosition(n)},_resetOverlayPosition:function(){this._setContentHeight(!0),this._togglePositionClass("dx-position-"+this._positionSide),f.move(this._$content,{left:0,top:0}),this._$arrow.css({top:"auto",right:"auto",bottom:"auto",left:"auto"})},_updateContentSize:function(){if(this._$popupContent){var e=m.calculate(this._$content,this._getContainerPosition());if(e.h.oversize>0&&this._isHorizontalSide()&&!e.h.fit){var t=this._$content.width()-e.h.oversize;this._$content.width(t)}if(e.v.oversize>0&&this._isVerticalSide()&&!e.v.fit){var n=this._$content.height()-e.v.oversize,i=this._$popupContent.height()-e.v.oversize;this._$content.height(n),this._$popupContent.height(i)}}},_getContainerPosition:function(){var e=d.pairToObject(this._position.offset||""),t=e.h,n=e.v,i=this._isVerticalSide(),r=this._isHorizontalSide();if(i||r){var o=(this._isPopoverInside()?-1:1)*w[this._positionSide]*((i?this._$arrow.height():this._$arrow.width())-this._getContentBorderWidth(this._positionSide));i?n+=o:t+=o}return h({},this._position,{offset:t+" "+n})},_getContentBorderWidth:function(e){var t=this._$content.css(x[e]);return parseInt(t)||0},_getSideByLocation:function(e){var t=e.v.flip,n=e.h.flip;return this._isVerticalSide()&&t||this._isHorizontalSide()&&n||this._isPopoverInside()?y[this._positionSide]:this._positionSide},_togglePositionClass:function(e){this._$wrapper.removeClass("dx-position-left dx-position-right dx-position-top dx-position-bottom").addClass(e)},_toggleFlippedClass:function(e,t){this._$wrapper.toggleClass("dx-popover-flipped-horizontal",e).toggleClass("dx-popover-flipped-vertical",t)},_renderArrowPosition:function(e){this._$arrow.css(y[e],-(this._isVerticalSide(e)?this._$arrow.height():this._$arrow.width()));var t,n=this._isVerticalSide(e)?"left":"top",i=this._isVerticalSide(e)?"outerWidth":"outerHeight",o=r(this._position.of),s=m.offset(o)||{top:0,left:0},a=m.offset(this._$content),l=this._$arrow[i](),c=a[n],u=this._$content[i](),d=s[n],h=o.get(0).preventDefault?0:o[i](),p=Math.max(c,d),f=Math.min(c+u,d+h
1);t="start"===this.option("arrowPosition")?p-c:"end"===this.option("arrowPosition")?f-c-l:(p+f)/2-c-l/2;var g=this._getContentBorderWidth(e),b=_.fitIntoRange(t-g+this.option("arrowOffset"),g,u-l-2*g);this._$arrow.css(n,b)},_isPopoverInside:function(){var e=this._transformStringPosition(this.option("position"),C),t=m.setup.normalizeAlign(e.my),n=m.setup.normalizeAlign(e.at);return t.h===n.h&&t.v===n.v},_setContentHeight:function(e){e&&this.callBase()},_renderWrapperPosition:function(){this.option("shading")&&this._$wrapper.css({top:0,left:0})},_renderWrapperDimensions:function(){this.option("shading")&&this._$wrapper.css({width:"100%",height:"100%"})},_normalizePosition:function(){var e=h({},this._transformStringPosition(this.option("position"),C));e.of||(e.of=this.option("target")),e.collision||(e.collision="flip"),e.boundaryOffset||(e.boundaryOffset=this.option("boundaryOffset")),this._positionSide=this._getDisplaySide(e),this._position=e},_getDisplaySide:function(e){var t=m.setup.normalizeAlign(e.my),n=m.setup.normalizeAlign(e.at),i=w[t.h]===w[n.h]&&w[t.v]===w[n.v]?-1:1;return Math.abs(w[t.h]-i*w[n.h])>Math.abs(w[t.v]-i*w[n.v])?n.h:n.v},_resetContentHeight:function(){if(this.callBase(),S){var e=this._$popupContent.css("overflow");this._$popupContent.css("overflow","visible"),this._$popupContent.css("overflow",e)}},_isVerticalSide:function(e){return"top"===(e=e||this._positionSide)||"bottom"===e},_isHorizontalSide:function(e){return"left"===(e=e||this._positionSide)||"right"===e},_clearEventTimeout:function(e){clearTimeout(this._timeouts[e])},_clearEventsTimeouts:function(){this._clearEventTimeout("show"),this._clearEventTimeout("hide")},_clean:function(){this._detachEvents(this.option("target")),this.callBase.apply(this,arguments)},_optionChanged:function(e){switch(e.name){case"boundaryOffset":case"arrowPosition":case"arrowOffset":this._renderGeometry();break;case"fullScreen":e.value&&this.option("fullScreen",!1);break;case"target":e.previousValue&&this._detachEvents(e.previousValue),this.callBase(e);break;case"showEvent":case"hideEvent":var t=e.name.substring(0,4),n=T(e.previousValue);this.hide(),I(this,this.option("target"),t,n),E(this,t);break;case"visible":this._clearEventTimeout(e.value?"show":"hide"),this.callBase(e);break;default:this.callBase(e)}},show:function(e){return e&&this.option("target",e),this.callBase()}});u("dxPopover",D),e.exports=D,e.exports.default=e.exports},wkMt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SIDE_BIN="101",t.MIDDLE_BIN="01010",t.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},t.EAN2_STRUCTURE=["LL","LG","GL","GG"],t.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],t.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},wlIu:function(e,t,n){"use strict";var i=n("D6VQ"),r=n("bqN/");i("dxNumberBox",r),e.exports=r},wqBK:function(e,t,n){"use strict";var i=c(n("FKN7")),r=n("1LL4"),o=c(n("imRD")),s=c(n("ynD9")),a=c(n("D8Ap")),l=n("tJvG");function c(e){return e&&e.__esModule?e:{default:e}}e.exports={_getDefaultOptions:function(){return(0,r.extend)(this.callBase(),{searchMode:"",searchExpr:null,searchValue:"",searchEnabled:!1,searchEditorOptions:{}})},_initMarkup:function(){this._renderSearch(),this.callBase()},_renderSearch:function(){var e=this.$element(),t=this.option("searchEnabled"),n=this._addWidgetPrefix("search"),r=this._addWidgetPrefix("with-search");if(!t)return e.removeClass(r),void this._removeSearchBox();var o=this._getSearchEditorOptions();this._searchEditor?this._searchEditor.option(o):(e.addClass(r),this._$searchEditorElement=(0,i.default)("<div>").addClass(n).prependTo(e),this._searchEditor=this._createComponent(this._$searchEditorElement,s.default,o))},_removeSearchBox:function(){this._$searchEditorElement&&this._$searchEditorElement.remove(),delete this._$searchEditorElement,delete this._searchEditor},_getSearchEditorOptions:function(){var e=this,t=e.option("searchEditorOptions"),n=o.default.format("Search");return(0,r.extend)({mode:"search",placeholder:n,tabIndex:e.option("tabIndex"),value:e.option("searchValue"),valueChangeEvent:"input",inputAttr:{"aria-label":n},onValueChanged:function(t){var n=e.option("searchTimeout");e._valueChangeDeferred=new l.Deferred,clearTimeout(e._valueChangeTimeout),e._valueChangeDeferred.done((function(){this.option("searchValue",t.value)}).bind(e)),t.event&&"input"===t.event.type&&n?e._valueChangeTimeout=setTimeout((function(){e._valueChangeDeferred.resolve()}),n):e._valueChangeDeferred.resolve()}},t)},_getAriaTarget:function(){return this.option("searchEnabled")?this._itemContainer(!0):this.$element()},_focusTarget:function(){return this.option("searchEnabled")?this._itemContainer(!0):this.callBase()},_updateFocusState:function(e,t){this.option("searchEnabled")&&this._toggleFocusClass(t,this.$element()),this.callBase(e,t)},getOperationBySearchMode:function(e){return"equals"===e?"=":e},_cleanAria:function(e){this.setAria({role:null,activedescendant:null},e),e.attr("tabIndex",null)},_optionChanged:function(e){switch(e.name){case"searchEnabled":case"searchEditorOptions":this._cleanAria(this.option("searchEnabled")?this.$element():this._itemContainer()),this._invalidate();break;case"searchExpr":case"searchMode":case"searchValue":if(!this._dataSource)return void a.default.log("W1009");"searchMode"===e.name?this._dataSource.searchOperation(this.getOperationBySearchMode(e.value)):this._dataSource[e.name](e.value),this._dataSource.load();break;case"searchTimeout":break;default:this.callBase(e)}},focus:function(){this.option("focusedElement")||!this.option("searchEnabled")?this.callBase():this._searchEditor&&this._searchEditor.focus()},_refresh:function(){this._valueChangeDeferred&&this._valueChangeDeferred.resolve(),this.callBase()}}},wvdA:function(e,t,n){"use strict";var i=E(n("FKN7")),r=E(n("jeLr")),o=E(n("0osO")),s=E(n("Vg8w")),a=E(n("D6VQ")),l=n("ti0F"),c=E(n("v4HY")),u=n("XDlg"),d=E(n("cGv3")),h=E(n("TssP")),p=n("zl3R"),f=n("1LL4"),m=n("XpgS"),g=E(n("yxXJ")),_=E(n("fGF2")),b=E(n("XCcL")),v=E(n("D8Ap")),y=E(n("imRD")),w=E(n("m6TM")),C=E(n("xZEH")),x=E(n("zBVi")),S=E(n("ZbT9")),k=E(n("l2/R")),T=E(n("+6qP"));
1function E(e){return e&&e.__esModule?e:{default:e}}function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n("ynD9"),n("cap0"),n("Hv54"),n("1XBF"),n("XPWh");var D="dx-field-item-content",M=["dataSource","items"],O=["dxTagBox","dxRangeSlider"],R=x.default.inherit({_getDefaultOptions:function(){return(0,f.extend)(this.callBase(),{layoutData:{},readOnly:!1,colCount:1,colCountByScreen:void 0,labelLocation:"left",onFieldDataChanged:null,onEditorEnterKey:null,customizeItem:null,alignItemLabels:!0,minColWidth:200,showRequiredMark:!0,screenByWidth:null,showOptionalMark:!1,requiredMark:"*",optionalMark:y.default.format("dxForm-optionalMark"),requiredMessage:y.default.getFormatter("dxForm-requiredMessage")})},_setOptionsByReference:function(){this.callBase(),(0,f.extend)(this._optionsByReference,{layoutData:!0,validationGroup:!0})},_init:function(){var e=this.option("layoutData");this.callBase(),this._itemWatchers=[],this._itemsRunTimeInfo=new s.default,this._updateReferencedOptions(e),this._initDataAndItems(e)},_dispose:function(){this.callBase(),this._cleanItemWatchers()},_initDataAndItems:function(e){this._syncDataWithItems(),this._updateItems(e)},_syncDataWithItems:function(){var e=this,t=this.option("layoutData"),n=this.option("items");(0,l.isDefined)(n)&&n.forEach((function(n){var i;n.dataField&&void 0===e._getDataByField(n.dataField)&&(n.editorOptions&&(i=n.editorOptions.value),((0,l.isDefined)(i)||n.dataField in t)&&e._updateFieldValue(n.dataField,i))}))},_getDataByField:function(e){return e?this.option("layoutData."+e):null},_updateFieldValue:function(e,t){var n=this.option("layoutData"),i=t;!(0,u.isWrapped)(n[e])&&(0,l.isDefined)(e)?this.option("layoutData."+e,i):(0,u.isWritableWrapped)(n[e])&&(i=(0,l.isFunction)(i)?i():i,n[e](i)),this._triggerOnFieldDataChanged({dataField:e,value:i})},_triggerOnFieldDataChanged:function(e){this._createActionByOption("onFieldDataChanged")(e)},_updateItems:function(e){var t=this,n=this.option("items"),i=(0,l.isDefined)(n),r=t.option("customizeItem"),o=i?n:this._generateItemsByData(e);if((0,l.isDefined)(o)){var s=[];(0,p.each)(o,(function(e,n){t._isAcceptableItem(n)&&(n=t._processItem(n),r&&r(n),(0,l.isObject)(n)&&!1!==(0,u.unwrap)(n.visible)&&s.push(n))})),t._itemWatchers.length&&i||t._updateItemWatchers(o),this._items=s,this._sortItems()}},_cleanItemWatchers:function(){this._itemWatchers.forEach((function(e){e()})),this._itemWatchers=[]},_updateItemWatchers:function(e){var t=this,n=t._getWatch();e.forEach((function(e){(0,l.isObject)(e)&&(0,l.isDefined)(e.visible)&&(0,l.isFunction)(n)&&t._itemWatchers.push(n((function(){return(0,u.unwrap)(e.visible)}),(function(){t._updateItems(t.option("layoutData")),t.repaint()}),{skipImmediate:!0}))}))},_generateItemsByData:function(e){var t=[];return(0,l.isDefined)(e)&&(0,p.each)(e,(function(e){t.push({dataField:e})})),t},_isAcceptableItem:function(e){var t=this._getDataByField(e.dataField||e);return!((0,l.isFunction)(t)&&!(0,u.isWrapped)(t))},_processItem:function(e){if("string"==typeof e&&(e={dataField:e}),"object"!==I(e)||e.itemType||(e.itemType="simple"),!(0,l.isDefined)(e.editorType)&&(0,l.isDefined)(e.dataField)){var t=this._getDataByField(e.dataField);e.editorType=(0,l.isDefined)(t)?this._getEditorTypeByDataType((0,l.type)(t)):"dxTextBox"}return e},_getEditorTypeByDataType:function(e){switch(e){case"number":return"dxNumberBox";case"date":return"dxDateBox";case"boolean":return"dxCheckBox";default:return"dxTextBox"}},_sortItems:function(){(0,m.normalizeIndexes)(this._items,"visibleIndex"),this._sortIndexes()},_sortIndexes:function(){this._items.sort((function(e,t){var n=e.visibleIndex,i=t.visibleIndex;return n>i?1:n<i?-1:0}))},_initMarkup:function(){this._itemsRunTimeInfo.clear(),this.$element().addClass("dx-layout-manager"),this.callBase(),this._renderResponsiveBox()},_hasBrowserFlex:function(){return"flex"===w.default.styleProp("flex")},_renderResponsiveBox:function(){var e=[];
1if(this._items&&this._items.length){var t=this._getColCount(),n=(0,i.default)("<div>").appendTo(this.$element());this._prepareItemsWithMerging(t);var r=this._generateLayoutItems();this._extendItemsWithDefaultTemplateOptions(r,this._items),this._responsiveBox=this._createComponent(n,k.default,this._getResponsiveBoxConfig(r,t,e)),d.default.hasWindow()||this._renderTemplates(e)}},_extendItemsWithDefaultTemplateOptions:function(e,t){t.forEach((function(t){t.merged||((0,l.isDefined)(t.disabled)&&(e[t.visibleIndex].disabled=t.disabled),(0,l.isDefined)(t.visible)&&(e[t.visibleIndex].visible=t.visible))}))},_itemStateChangedHandler:function(e){this._refresh()},_renderTemplate:function(e,t){switch(t.itemType){case"empty":this._renderEmptyItem(e);break;case"button":this._renderButtonItem(t,e);break;default:this._renderFieldItem(t,e)}},_renderTemplates:function(e){var t=this;(0,p.each)(e,(function(e,n){t._renderTemplate(n.container,n.formItem)}))},_getResponsiveBoxConfig:function(e,t,n){var r=this,o=r.option("colCountByScreen"),s=o&&o.xs;return{onItemStateChanged:this._itemStateChangedHandler.bind(this),_layoutStrategy:r._hasBrowserFlex()?"flex":"fallback",onLayoutChanged:function(){var e=r.option("onLayoutChanged"),t=r.isSingleColumnMode();e&&(r.$element().toggleClass("dx-layout-manager-one-col",t),e(t))},onContentReady:function(e){d.default.hasWindow()&&r._renderTemplates(n),r.option("onLayoutChanged")&&r.$element().toggleClass("dx-layout-manager-one-col",r.isSingleColumnMode(e.component))},itemTemplate:function(e,o,s){if(e.location){var a=(0,i.default)(s),l=r._items[e.location.col+e.location.row*t],c=(0,i.default)("<div>").addClass(l.cssClass).appendTo(a);n.push({container:c,formItem:l}),a.toggleClass("dx-single-column-item-content",r.isSingleColumnMode(this)),0===e.location.row&&c.addClass("dx-first-row"),0===e.location.col&&c.addClass("dx-first-col");var u=e.location.col===t-1||e.location.col+e.location.colspan===t,d=r._getRowsCount(),h=e.location.row===d-1;u&&c.addClass("dx-last-col"),h&&c.addClass("dx-last-row")}},cols:r._generateRatio(t),rows:r._generateRatio(r._getRowsCount(),!0),dataSource:e,screenByWidth:r.option("screenByWidth"),singleColumnScreen:!s&&"xs"}},_getColCount:function(){var e=this.option("colCount"),t=this.option("colCountByScreen");if(t){var n=this.option("form").getTargetScreenFactor();n||(n=d.default.hasWindow()?d.default.getCurrentScreenFactor(this.option("screenByWidth")):"lg"),e=t[n]||e}if("auto"===e){if(this._cashedColCount)return this._cashedColCount;this._cashedColCount=e=this._getMaxColCount()}return e<1?1:e},_getMaxColCount:function(){if(!d.default.hasWindow())return 1;var e=this.option("minColWidth"),t=this.$element().width(),n=this._items.length,i=Math.floor(t/e)||1;return n<i?n:i},isCachedColCountObsolete:function(){return this._cashedColCount&&this._getMaxColCount()!==this._cashedColCount},_prepareItemsWithMerging:function(e){for(var t=this._items.slice(0),n=[],i=0;i<t.length;i++){var r=t[i];if(n.push(r),(this.option("alignItemLabels")||r.alignItemLabels||r.colSpan)&&(r.col=this._getColByIndex(n.length-1,e)),r.colSpan>1&&r.col+r.colSpan<=e){for(var o=[],s=0;s<r.colSpan-1;s++)o.push({merged:!0});n=n.concat(o)}else delete r.colSpan}this._items=n},_getColByIndex:function(e,t){return e%t},_generateLayoutItems:function(){for(var e=this._items,t=this._getColCount(),n=[],i=0;i<e.length;i++){var r=e[i];if(!r.merged){var o={location:{row:parseInt(i/t),col:this._getColByIndex(i,t)}};(0,l.isDefined)(r.colSpan)&&(o.location.colspan=r.colSpan),(0,l.isDefined)(r.rowSpan)&&(o.location.rowspan=r.rowSpan),n.push(o)}}return n},_renderEmptyItem:function(e){return e.addClass("dx-field-empty-item").html("&nbsp;")},_getButtonHorizontalAlignment:function(e){return(0,l.isDefined)(e.horizontalAlignment)?e.horizontalAlignment:(0,l.isDefined)(e.alignment)?(v.default.log("W0001","dxForm","alignment","18.1","Use the 'horizontalAlignment' option in button items instead."),e.alignment):"right"},_getButtonVerticalAlignment:function(e){switch(e.verticalAlignment){case"center":return"center";case"bottom":return"flex-end";default:return"flex-start"}},_renderButtonItem:function(e,t){var n=(0,i.default)("<div>").appendTo(t),r={validationGroup:this.option("validationGroup")};
1t.addClass("dx-field-button-item").css("textAlign",this._getButtonHorizontalAlignment(e)),t.parent().css("justifyContent",this._getButtonVerticalAlignment(e));var o=this._createComponent(n,"dxButton",(0,f.extend)(r,e.buttonOptions));return this._itemsRunTimeInfo.add({item:e,widgetInstance:o,guid:e.guid,$itemContainer:t}),this._addItemClasses(t,e.col),n},_addItemClasses:function(e,t){e.addClass("dx-field-item").addClass(this.option("cssItemClass")).addClass((0,l.isDefined)(t)?"dx-col-"+t:"")},_renderFieldItem:function(e,t){var n,r=this._getName(e),s=this.getItemID(r),a=(0,l.isDefined)(e.isRequired)?e.isRequired:!!this._hasRequiredRuleInSet(e.validationRules),c=this._getLabelOptions(e,s,a),u=(0,i.default)("<div>"),d=e.helpText?"dx-"+new o.default:null;this._addItemClasses(t,e.col),t.addClass(a?"dx-field-item-required":"dx-field-item-optional"),c.visible&&c.text&&(n=this._renderLabel(c).appendTo(t)),"simple"===e.itemType&&(this._isLabelNeedBaselineAlign(e)&&"top"!==c.location&&t.addClass("dx-field-item-label-align"),this._hasBrowserFlex()&&t.addClass("dx-flex-layout")),u.data("dx-form-item",e),this._appendEditorToField({$fieldItem:t,$label:n,$editor:u,labelOptions:c});var h=this._renderEditor({$container:u,dataField:e.dataField,name:e.name,editorType:e.editorType,editorOptions:e.editorOptions,template:this._getTemplateByFieldItem(e),isRequired:a,helpID:d,labelID:c.labelID,id:s,validationBoundary:this.option("validationBoundary")});this._itemsRunTimeInfo.add({item:e,widgetInstance:h,guid:e.guid,$itemContainer:t});var p=u.children().first(),f=p.hasClass("dx-template-wrapper")?p.children().first():p;f&&f.data("dx-validation-target")&&this._renderValidator(f,e),this._renderHelpText(e,u,d),this._attachClickHandler(n,u,e.editorType)},_hasRequiredRuleInSet:function(e){var t;return e&&e.length&&(0,p.each)(e,(function(e,n){if("required"===n.type)return t=!0,!1})),t},_getName:function(e){return e.dataField||e.name},_isLabelNeedBaselineAlign:function(e){return!!e.helpText&&!this._hasBrowserFlex()||-1!==(0,m.
1inArray)(e.editorType,["dxTextArea","dxRadioGroup","dxCalendar","dxHtmlEditor"])},_isLabelNeedId:function(e){return-1!==(0,m.inArray)(e.editorType,["dxRadioGroup","dxCheckBox","dxLookup","dxSlider","dxRangeSlider","dxSwitch","dxHtmlEditor"])},_getLabelOptions:function(e,t,n){var i=(0,f.extend)({showColon:this.option("showColonAfterLabel"),location:this.option("labelLocation"),id:t,visible:!0,isRequired:n},e?e.label:{});return this._isLabelNeedId(e)&&(i.labelID="dx-label-".concat(new o.default)),!i.text&&e.dataField&&(i.text=C.default.captionize(e.dataField)),i.text&&(i.text+=i.showColon?":":""),i},_renderLabel:function(e){var t=e.text,n=e.id,r=e.location,o=e.alignment,s=e.isRequired,a=e.labelID,c=void 0===a?null:a;if((0,l.isDefined)(t)&&t.length>0){var u="dx-field-item-label dx-field-item-label-location-"+r,d=(0,i.default)("<label>").addClass(u).attr("for",n).attr("id",c),h=(0,i.default)("<span>").addClass("dx-field-item-label-content").appendTo(d);return(0,i.default)("<span>").addClass("dx-field-item-label-text").text(t).appendTo(h),o&&d.css("textAlign",o),h.append(this._renderLabelMark(s)),d}},_renderLabelMark:function(e){var t,n=this._getRequiredMarksConfig(),r=n.showRequiredMark&&e;if(r||n.showOptionalMark&&!e){var o=r?"dx-field-item-required-mark":"dx-field-item-optional-mark",s=r?n.requiredMark:n.optionalMark;t=(0,i.default)("<span>").addClass(o).html("&nbsp"+s)}return t},_getRequiredMarksConfig:function(){return this._cashedRequiredConfig||(this._cashedRequiredConfig={showRequiredMark:this.option("showRequiredMark"),showOptionalMark:this.option("showOptionalMark"),requiredMark:this.option("requiredMark"),optionalMark:this.option("optionalMark")}),this._cashedRequiredConfig},_renderEditor:function(e){var t=this._getDataByField(e.dataField),n=void 0!==t?{value:t}:{};-1!==O.indexOf(e.editorType)&&(n.value=n.value||[]);var i=this.option("form"),r=(0,f.extend)(!0,n,e.editorOptions,{inputAttr:{id:e.id},validationBoundary:e.validationBoundary,stylingMode:i&&i.option("stylingMode")});return this._replaceDataOptions(e.editorOptions,r),this._createEditor(e.$container,{editorType:e.editorType,dataField:e.dataField,template:e.template,name:e.name,helpID:e.helpID,labelID:e.labelID,isRequired:e.isRequired},r)},_replaceDataOptions:function(e,t){e&&M.forEach((function(n){t[n]&&(t[n]=e[n])}))},_renderValidator:function(e,t){var n=this._getFieldLabelName(t),i=this._prepareValidationRules(t.validationRules,t.isRequired,t.itemType,n);Array.isArray(i)&&i.length&&this._createComponent(e,S.default,{validationRules:i,validationGroup:this.option("validationGroup"),dataGetter:function(){return{formItem:t}}})},_getFieldLabelName:function(e){var t=e.label&&e.label.text,n=t?null:this._getName(e);return t?e.label.text:n&&C.default.captionize(n)},_prepareValidationRules:function(e,t,n,i){var r;if("simple"===n)if(e)r=e;else{var o=h.default.format(this.option("requiredMessage"),i||"");r=t?[{type:"required",message:o}]:null}return r},_addWrapperInvalidClass:function(e){var t=function(e){(0,i.default)(e.element).parents(".dx-field-item-content-wrapper").toggleClass("dx-invalid",e.component._isFocused()&&!1===e.component.option("isValid"))};e.on("focusIn",t).on("focusOut",t).on("enterKey",t)},_createEditor:function(e,t,n){var r,o=t.template;if(t.dataField&&!n.name&&(n.name=t.dataField),this._addItemContentClasses(e),o){var s={dataField:t.dataField,editorType:t.editorType,editorOptions:n,component:this._getComponentOwner(),name:t.name};o.render({model:s,container:c.default.getPublicElement(e)})}else{var a=(0,i.default)("<div>").appendTo(e);try{(r=this._createComponent(a,t.editorType,n)).setAria("describedby",t.helpID),r.setAria("labelledby",t.labelID),r.setAria("required",t.isRequired),T.default.isMaterial()&&this._addWrapperInvalidClass(r),t.dataField&&this._bindDataField(r,t,e)}catch(l){v.default.log("E1035",l.message)}}return r},_getComponentOwner:function(){return this.option("form")||this},_bindDataField:function(e,t,n){var i=this._getComponentOwner();e.on("enterKey",(function(e){i._createActionByOption("onEditorEnterKey")((0,f.extend)(e,{dataField:t.dataField}))}
1)),this._createWatcher(e,n,t),this.linkEditorToDataField(e,t.dataField,t.editorType)},_createWatcher:function(e,t,n){var i=this,o=i._getWatch();if((0,l.isFunction)(o)){var s=o((function(){return i._getDataByField(n.dataField)}),(function(){e.option("value",i._getDataByField(n.dataField))}),{deep:!0,skipImmediate:!0});r.default.on(t,_.default,s)}},_getWatch:function(){if(!(0,l.isDefined)(this._watch)){var e=this.option("form");this._watch=e&&e.option("integrationOptions.watchMethod")}return this._watch},_addItemContentClasses:function(e){var t=this._getItemContentLocationSpecificClass();e.addClass([D,t].join(" "))},_getItemContentLocationSpecificClass:function(){return"dx-field-item-content-location-"+{right:"left",left:"right",top:"bottom"}[this.option("labelLocation")]},_createComponent:function(e,t,n){var i=this.option("readOnly"),r=this.callBase(e,t,n);return i&&r.option("readOnly",i),this.on("optionChanged",(function(e){"readOnly"!==e.name||(0,l.isDefined)(n.readOnly)||r.option(e.name,e.value)})),r},_getTemplateByFieldItem:function(e){return e.template?this._getTemplate(e.template):null},_appendEditorToField:function(e){if(e.$label){var t=e.labelOptions.location;"top"!==t&&"left"!==t||e.$fieldItem.append(e.$editor),"right"===t&&e.$fieldItem.prepend(e.$editor),this._addInnerItemAlignmentClass(e.$fieldItem,t)}else e.$fieldItem.append(e.$editor)},_addInnerItemAlignmentClass:function(e,t){e.addClass("top"===t?"dx-label-v-align":"dx-label-h-align")},_renderHelpText:function(e,t,n){var r=e.helpText;if(r&&"simple"===e.itemType){var o=(0,i.default)("<div>").addClass("dx-field-item-content-wrapper");t.wrap(o),(0,i.default)("<div>").addClass("dx-field-item-help-text").attr("id",n).text(r).appendTo(t.parent())}},_attachClickHandler:function(e,t,n){e&&("dxCheckBox"===n||"dxSwitch"===n)&&r.default.on(e,b.default.name,(function(){r.default.trigger(t.children(),b.default.name)}))},_generateRatio:function(e,t){for(var n=[],i=0;i<e;i++){var r={ratio:1};t&&(r.baseSize="auto"),n.push(r)}return n},_getRowsCount:function(){return Math.ceil(this._items.length/this._getColCount())},_updateReferencedOptions:function(e){var t=this,n=this.option("layoutData");(0,l.isObject)(n)&&Object.getOwnPropertyNames(n).forEach((function(e){return delete t._optionsByReference["layoutData."+e]})),(0,l.isObject)(e)&&Object.getOwnPropertyNames(e).forEach((function(e){return t._optionsByReference["layoutData."+e]=!0}))},_resetWidget:function(e){this._disableEditorValueChangedHandler=!0,e.reset(),this._disableEditorValueChangedHandler=!1,e.option("isValid",!0)},_optionChanged:function(e){var t=this;if(0!==e.fullName.search("layoutData."))switch(e.name){case"showRequiredMark":case"showOptionalMark":case"requiredMark":case"optionalMark":this._cashedRequiredConfig=null,this._invalidate();break;case"layoutData":this._updateReferencedOptions(e.value),this.option("items")?(0,l.isEmptyObject)(e.value)||this._itemsRunTimeInfo.each((function(n,i){if((0,l.isDefined)(i.item)){var r=i.item.dataField;if(r&&(0,l.isDefined)(i.widgetInstance)){var o=g.default.compileGetter(r)(e.value);void 0===o?t._resetWidget(i.widgetInstance):i.widgetInstance.option("value",o)}}})):(this._initDataAndItems(e.value),this._invalidate());break;case"items":this._cleanItemWatchers(),this._initDataAndItems(e.value),this._invalidate();break;case"alignItemLabels":case"labelLocation":case"requiredMessage":this._invalidate();break;case"customizeItem":this._updateItems(this.option("layoutData")),this._invalidate();break;case"colCount":this._resetColCount();break;case"minColWidth":"auto"===this.option("colCount")&&this._resetColCount();break;case"readOnly":break;case"width":this.callBase(e),"auto"===this.option("colCount")&&this._resetColCount();break;case"onFieldDataChanged":break;default:this.callBase(e)}},_resetColCount:function(){this._cashedColCount=null,this._invalidate()},linkEditorToDataField:function(e,t){var n=this;this.on("optionChanged",(function(n){n.fullName==="layoutData.".concat(t)&&e._setOptionSilent("value",n.value)})),e.on("valueChanged",(function(e){var i=(0,l.isObject)(e.value)||Array.isArray(e.value);n._disableEditorValueChangedHandler||i&&e.value===e.previousValue||n._updateFieldValue(t,e.value)}))},_dimensionChanged:function(){"auto"===this.option("colCount")&&this.isCachedColCountObsolete()&&this.fireEvent("autoColCountChanged")},getItemID:function(e){var t=this.option("form");return t&&t.getItemID(e)},updateData:function(e,t){var n=this;(0,l.isObject)(e)?(0,p.each)(e,(function(e,t){n._updateFieldValue(e,t)})):"string"==typeof e&&n._updateFieldValue(e,t)},getEditor:function(e){return this._itemsRunTimeInfo.findWidgetInstanceByDataField(e)||this._itemsRunTimeInfo.findWidgetInstanceByName(e)},isSingleColumnMode:function(e){var t=this._responsiveBox||e;if(t)return t.option("currentScreenFactor")===t.option("singleColumnScreen")}
1,getItemsRunTimeInfo:function(){return this._itemsRunTimeInfo}});(0,a.default)("dxLayoutManager",R),e.exports=R},wx82:function(e,t,n){"use strict";var i=l(n("FKN7")),r=n("ti0F"),o=l(n("uHaw")),s=l(n("LdFP")),a=l(n("tUd6"));function l(e){return e&&e.__esModule?e:{default:e}}var c=s.default.real(),u=o.default.msie||c.ios||c.mac;e.exports=function(e,t){if(e=(0,i.default)(e).get(0),!(0,r.isDefined)(t))return function(e){var t;try{t={start:e.selectionStart,end:e.selectionEnd}}catch(n){t={start:0,end:0}}return t}(e);u&&a.default.getActiveElement()!==e||function(e,t){if(a.default.getBody().contains(e))try{e.selectionStart=t.start,e.selectionEnd=t.end}catch(n){}}(e,t)}},x6pH:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u
105f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},x8kf:function(e,t,n){"use strict";var i=o(n("BWGd")),r=o(n("LtN7"));function o(e){return e&&e.__esModule?e:{default:e}}i.default.registerModule("headerFilter",r.default)},x9yN:function(e,t,n){"use strict";var i,r=n("1LL4").extend,o=n("wZ/z"),s=n("um7L"),a={dxpointerdown:"mousedown",dxpointermove:"mousemove",dxpointerup:"mouseup",dxpointercancel:"",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},l=function(e){return e.pointerId=1,{pointers:i.pointers(),pointerId:1}},c=!1,u=function(){c||(i=new s(a,(function(){return!0})),c=!0)},d=o.inherit({ctor:function(){this.callBase.apply(this,arguments),u()},_fireEvent:function(e){return this.callBase(r(l(e.originalEvent),e))}});d.map=a,d.normalize=l,d.activate=u,d.resetObserver=function(){i.reset()},e.exports=d},xMpX:function(e,t,n){"use strict";var i=n("tUd6"),r=n("eWCF"),o=n("cGv3"),s=n("heGP"),a=[],l=s((function(){var e=i.listen(i.getDocument(),"DOMContentLoaded",(function(){c.fire(),e()}))})),c={add:function(e){var t=o.hasWindow();t&&("complete"===i.getReadyState()||"loading"!==i.getReadyState()&&!i.getDocumentElement().doScroll)?e():(a.push(e),t&&l())},fire:function(){a.forEach((function(e){return e()})),a=[]}};e.exports=r(c)},xOOu:function(e,t,n){e.exports=function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}
vendor: 4,240 bytes, line 1
1var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){return r(t[s][1][e]||e)}),c,c.exports,e,t,n,i)}return n[s].exports}for(var o=!1,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,t,n){"use strict";var i=e("./utils"),r=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,r,s,a,l,c=[],u=0,d=e.length,h=d,p="string"!==i.getTypeOf(e);u<e.length;)h=d-u,r=p?(t=e[u++],n=u<d?e[u++]:0,u<d?e[u++]:0):(t=e.charCodeAt(u++),n=u<d?e.charCodeAt(u++):0,u<d?e.charCodeAt(u++):0),s=(3&t)<<4|n>>4,a=1<h?(15&n)<<2|r>>6:64,l=2<h?63&r:64,c.push(o.charAt(t>>2)+o.charAt(s)+o.charAt(a)+o.charAt(l));return c.join("")},n.decode=function(e){var t,n,i,s,a,l,c=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&p--,e.charAt(e.length-2)===o.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=r.uint8array?new Uint8Array(0|p):new Array(0|p);c<e.length;)t=o.indexOf(e.charAt(c++))<<2|(s=o.indexOf(e.charAt(c++)))>>4,n=(15&s)<<4|(a=o.indexOf(e.charAt(c++)))>>2,i=(3&a)<<6|(l=o.indexOf(e.charAt(c++))),h[u++]=t,64!==a&&(h[u++]=n),64!==l&&(h[u++]=i);return h}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var i=e("./external"),r=e("./stream/DataWorker"),o=e("./stream/DataLengthProbe"),s=e("./stream/Crc32Probe");function a(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}o=e("./stream/DataLengthProbe"),a.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new s).pipe(new o("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var i=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var i=e("./utils"),r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,n,i){var o=r,s=0+n;e^=-1;for(var a=0;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}(0|t,e,e.length):function(e,t,n,i){var o=r,s=0+n;e^=-1;for(var a=0;a<s;a++)e=e>>>8^o[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var i;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=i?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,s),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)}
vendor: 6,832 bytes, line 1
1,l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function i(e,t){var n,i="";for(n=0;n<t;n++)i+=String.fromCharCode(255&e),e>>>=8;return i}function r(e,t,n,r,s,u){var d,h,p=e.file,f=e.compression,m=u!==a.utf8encode,g=o.transformTo("string",u(p.name)),_=o.transformTo("string",a.utf8encode(p.name)),b=p.comment,v=o.transformTo("string",u(b)),y=o.transformTo("string",a.utf8encode(b)),w=_.length!==p.name.length,C=y.length!==b.length,x="",S="",k="",T=p.dir,E=p.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var D=0;t&&(D|=8),m||!w&&!C||(D|=2048);var M=0,O=0;T&&(M|=16),"UNIX"===s?(O=798,M|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,T)):(O=20,M|=function(e){return 63&(e||0)}(p.dosPermissions)),d=E.getUTCHours(),d<<=6,d|=E.getUTCMinutes(),d<<=5,d|=E.getUTCSeconds()/2,h=E.getUTCFullYear()-1980,h<<=4,h|=E.getUTCMonth()+1,h<<=5,h|=E.getUTCDate(),w&&(S=i(1,1)+i(l(g),4)+_,x+="up"+i(S.length,2)+S),C&&(k=i(1,1)+i(l(v),4)+y,x+="uc"+i(k.length,2)+k);var R="";return R+="\n\0",R+=i(D,2),R+=f.magic,R+=i(d,2),R+=i(h,2),R+=i(I.crc32,4),R+=i(I.compressedSize,4),R+=i(I.uncompressedSize,4),R+=i(g.length,2),R+=i(x.length,2),{fileRecord:c.LOCAL_FILE_HEADER+R+g+x,dirRecord:c.CENTRAL_FILE_HEADER+i(O,2)+R+i(v.length,2)+"\0\0\0\0"+i(M,4)+i(r,4)+g+x+v}}var o=e("../utils"),s=e("../stream/GenericWorker"),a=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(e,t,n,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,s),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=r(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+i(e.crc32,4)+i(e.compressedSize,4)+i(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=function(e,t,n,r,s){var a=o.transformTo("string",s(r));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(e,2)+i(e,2)+i(t,4)+i(n,4)+i(a.length,2)+a}(this.dirRecords.length,this.bytesWritten-e,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!s.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},u.prototype.lock=function(){s.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var i=e("../compressions"),r=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new r(t.streamFiles,n,t.platform,t.encodeFileName),s=0;try{e.forEach((function(e,n){s++;var r=function(e,t){var n=e||t,r=i[n];if(!r)throw new Error(n+" is not a valid compression method !");return r}(n.options.compression,t.compression),a=n.dir,l=n.date;n._compressWorker(r,n.options.compressionOptions||t.compressionOptions||{}).withStreamInfo("file",{name:e,dir:a,date:l,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=s}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function i(){if(!(this instanceof i))return new i;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var e=new i;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(i.prototype=e("./object")).loadAsync=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.version="3.4.0",i.loadAsync=function(e,t){return(new i).loadAsync(e,t)},i.external=e("./external"),t.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){"use strict";var i=e("./utils"),r=e("./external"),o=e("./utf8"),s=(i=e("./utils"),e("./zipEntries")),a=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function c(e){return new r.Promise((function(t,n){var i=e.decompressed.getContentWorker().pipe(new a);i.on("error",(function(e){n(e)})).on("end",(function(){i.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=i.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e)?r.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip f
1ile",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new s(t);return n.load(e),n})).then((function(e){var n=[r.Promise.resolve(e)],i=e.files;if(t.checkCRC32)for(var o=0;o<i.length;o++)n.push(c(i[o]));return r.Promise.all(n)})).then((function(e){for(var i=e.shift(),r=i.files,o=0;o<r.length;o++){var s=r[o];n.file(s.fileNameStr,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders})}return i.zipComment.length&&(n.comment=i.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var i=e("../utils"),r=e("../stream/GenericWorker");function o(e,t){r.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}i.inherits(o,r),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},o.prototype.pause=function(){return!!r.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var i=e("readable-stream").Readable;function r(e,t,n){i.call(this,t),this._helper=e;var r=this;e.on("data",(function(e,t){r.push(e)||r._helper.pause(),n&&n(t)})).on("error",(function(e){r.emit("error",e)})).on("end",(function(){r.push(null)}))}e("../utils").inherits(r,i),r.prototype._read=function(){this._helper.resume()},t.exports=r},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){"use strict";t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){"use strict";function i(e,t,n){var i,r,a=o.getTypeOf(t),d=o.extend(n||{},l);d.date=d.date||new Date,null!==d.compression&&(d.compression=d.compression.toUpperCase()),"string"==typeof d.unixPermissions&&(d.unixPermissions=parseInt(d.unixPermissions,8)),d.unixPermissions&&16384&d.unixPermissions&&(d.dir=!0),d.dosPermissions&&16&d.dosPermissions&&(d.dir=!0),d.dir&&(e=m(e)),d.createFolders&&(i=f(e))&&g.call(this,i,!0),n&&void 0!==n.binary||(d.binary=!("string"===a&&!1===d.binary&&!1===d.base64)),(t instanceof c&&0===t.uncompressedSize||d.dir||!t||0===t.length)&&(d.base64=!1,d.binary=!0,t="",d.compression="STORE",a="string"),r=t instanceof c||t instanceof s?t:h.isNode&&h.isStream(t)?new p(e,t):o.prepareContent(e,t,d.binary,d.optimizedBinaryString,d.base64);var _=new u(e,r,d);this.files[e]=_}var r=e("./utf8"),o=e("./utils"),s=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),u=e("./zipObject"),d=e("./generate"),h=e("./nodejsUtils"),p=e("./nodejs/NodejsStreamInputAdapter"),f=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||i.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function _(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,i;for(t in this.files)this.files.hasOwnProperty(t)&&(i=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,i))},filter:function(e){var t=[];
vendor: 4,136 bytes, line 1
1return this.forEach((function(n,i){e(n,i)&&t.push(i)})),t},file:function(e,t,n){if(1!==arguments.length)return i.call(this,e=this.root+e,t,n),this;if(_(e)){var r=e;return this.filter((function(e,t){return!t.dir&&r.test(e)}))}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(_(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=g.call(this,this.root+e),n=this.clone();return n.root=t.name,n},remove:function(e){var t=this.files[e=this.root+e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS"),t=d.generateWorker(this,n,n.comment||this.comment||"")}catch(e){(t=new s("error")).error(e)}return new a(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=b},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){"use strict";var i=e("./DataReader");function r(e){i.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data[this.zero+e]},r.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===i&&this.data[o+3]===r)return o-this.zero;return-1},r.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&i===o[2]&&r===o[3]},r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";var i=e("../utils");function r(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{"../utils":32}],19:[function(e,t,n){"use strict";var i=e("./Uint8ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t}
vendor: 4,339 bytes, line 1
1,t.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var i=e("./DataReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var i=e("./ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var i=e("../utils"),r=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new a(e):r.uint8array?new l(i.transformTo("uint8array",e)):new o(i.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){"use strict";var i=e("./GenericWorker"),r=e("../utils");function o(e){i.call(this,"ConvertWorker to "+e),this.destType=e}r.inherits(o,i),o.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var i=e("./GenericWorker"),r=e("../crc32");function o(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,i),o.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(o,r),o.prototype.processChunk=function(e){e&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+e.data.length),r.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}i.inherits(o,r),o.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}
vendor: 8,289 bytes, line 1
1i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=i},{}],29:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./ConvertWorker"),o=e("./GenericWorker"),s=e("../base64"),a=e("../support"),l=e("../external"),c=null;if(a.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function u(e,t,n){var s=t;switch(t){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=t,this._mimeType=n,i.checkSupport(s),this._worker=e.pipe(new r(s)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}u.prototype={accumulate:function(e){return function(e,t){return new l.Promise((function(n,r){var o=[],a=e._internalType,l=e._outputType,c=e._mimeType;e.on("data",(function(e,n){o.push(e),t&&t(n)})).on("error",(function(e){o=[],r(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var n,i=0,r=null,o=0;for(n=0;n<t.length;n++)o+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(r=new Uint8Array(o),n=0;n<t.length;n++)r.set(t[n],i),i+=t[n].length;return r;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(a,o),c);n(e)}catch(e){r(e)}o=[]})).resume()}))}(this,e)},on:function(e,t){var n=this;return this._worker.on(e,"data"===e?function(e){t.call(n,e.data,e.meta)}:function(){i.delay(t,arguments,n)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof Buffer,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);r.append(i),n.blob=0===r.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){"use strict";for(var i=e("./utils"),r=e("./support"),o=e("./nodejsUtils"),s=e("./stream/GenericWorker"),a=new Array(256),l=0;l<256;l++)a[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){s.call(this,"utf-8 decode"),this.leftOver=null}function u(){s.call(this,"utf-8 encode")}a[254]=a[254]=1,n.utf8encode=function(e){return r.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,i,o,s,a=e.length,l=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=r.uint8array?new Uint8Array(l):new Array(l),o=s=0;s<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return r.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,r,o,s=e.length,l=new Array(2*s);for(t=n=0;t<s;)if((r=e[t++])<128)l[n++]=r;else if(4<(o=a[r]))l[n++]=65533,t+=o-1;else{for(r&=2===o?31:3===o?15:7;1<o&&t<s;)r=r<<6|63&e[t++],o--;1<o?l[n++]=65533:r<65536?l[n++]=r:(l[n++]=55296|(r-=65536)>>10&1023,l[n++]=56320|1023&r)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),i.applyFromCharCode(l)}(e=i.transformTo(r.uint8array?"uint8array":"array",e))},i.inherits(c,s),c.prototype.processChunk=function(e){var t=i.transformTo(r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}(t),l=t;s!==t.length&&(r.uint8array?(l=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(l=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,i.inherits(u,s),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var i=e("./support"),r=e("./base64"),o=e("./nodejsUtils"),s=e("set-immediate-shim"),a=e("./external");function l(e){return e}function c(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}n.newBlob=function(t,i){n.checkSupport("blob");try{return new Blob([t],{type:i})}catch(e){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(t),r.getBlob(i)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,n){var i=[],r=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;r<o;)i.push(String.fromCharCode.apply(null,"array"===t||"nodebuffer"===t?e.slice(r,Math.min(r+n,o)):e.subarray(r,Math.min(r+n,o)))),r+=n;return i.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function d(e){var t=65536,i=n.getTypeOf(e),r=!0;
vendor: 5,480 bytes, line 1
1if("uint8array"===i?r=u.applyCanBeUsed.uint8array:"nodebuffer"===i&&(r=u.applyCanBeUsed.nodebuffer),r)for(;1<t;)try{return u.stringifyByChunk(e,i,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function h(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=d;var p={};p.string={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return p.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,o.allocBuffer(e.length))}},p.array={string:d,array:l,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},p.arraybuffer={string:function(e){return d(new Uint8Array(e))},array:function(e){return h(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:l,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},p.uint8array={string:d,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:l,nodebuffer:function(e){return o.newBufferFrom(e)}},p.nodebuffer={string:d,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return p.nodebuffer.uint8array(e).buffer},uint8array:function(e){return h(e,new Uint8Array(e.length))},nodebuffer:l},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var i=n.getTypeOf(t);return p[i][e](t)},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":i.nodebuffer&&o.isBuffer(e)?"nodebuffer":i.uint8array&&e instanceof Uint8Array?"uint8array":i.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!i[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,i="";for(n=0;n<(e||"").length;n++)i+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return i},n.delay=function(e,t,n){s((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,o,s,l){return a.Promise.resolve(t).then((function(e){return i.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise((function(t,n){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=function(e){n(e.target.error)},i.readAsArrayBuffer(e)})):e})).then((function(t){var u=n.getTypeOf(t);return u?("arraybuffer"===u?t=n.transformTo("uint8array",t):"string"===u&&(l?t=r.decode(t):o&&!0!==s&&(t=function(e){return c(e,i.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):a.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(e,t,n){"use strict";var i=e("./reader/readerFor"),r=e("./utils"),o=e("./signature"),s=e("./zipEntry"),a=(e("./utf8"),e("./support"));function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+r.pretty(t)+", expected "+r.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var i=this.reader.readString(4)===t;return this.reader.setIndex(n),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=r.transformTo(a.uint8array?"uint8array":"array",e);this.zipComment=this.loadOptions.decodeFileName(t)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,i=this.zip64EndOfCentralSize-44;0<i;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)this.reader.setIndex((t=this.files[e]).localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;
vendor: 4,654 bytes, line 1
1for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var i=t-n;if(0<i)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=i(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var i=e("./reader/readerFor"),r=e("./utils"),o=e("./compressedObject"),s=e("./crc32"),a=e("./utf8"),l=e("./compressions"),c=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(l.hasOwnProperty(t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+r.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=i(this.extraFields[1].value);
vendor: 2,521 bytes, line 1
1this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index<r;)t=e.readInt(2),n=e.readInt(2),i=e.readData(n),this.extraFields[t]={id:t,length:n,value:i}},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=r.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(null!==i)this.fileCommentStr=i;else{var o=r.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=i(e.value);return 1!==t.readInt(1)||s(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=i(e.value);return 1!==t.readInt(1)||s(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){"use strict";function i(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var r=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),s=e("./utf8"),a=e("./compressedObject"),l=e("./stream/GenericWorker");i.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var i="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!i&&(t=t.pipe(new s.Utf8EncodeWorker)),!o&&i&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new r(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)}
vendor: 39,037 bytes, line 1
1,nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new s.Utf8EncodeWorker)),a.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<c.length;d++)i.prototype[c[d]]=u;t.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){"use strict";var n,i,r=e.MutationObserver||e.WebKitMutationObserver;if(r){var o=0,s=new r(u),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),n=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;i=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}i=!1}t.exports=function(e){1!==c.push(e)||i||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var i=e("immediate");function r(){}var o={},s=["REJECTED"],a=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==r&&p(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){i((function(){var i;try{i=t(n)}catch(i){return o.reject(e,i)}i===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,i)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function i(t){n||(n=!0,o.reject(e,t))}function r(t){n||(n=!0,o.resolve(e,t))}var s=f((function(){t(r,i)}));"error"===s.status&&i(s.value)}function f(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var n=new this.constructor(r);return this.state!==l?d(n,this.state===a?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){o.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=f(h,t);if("error"===n.status)return o.reject(e,n.value);var i=n.value;if(i)p(e,i);else{e.state=a,e.outcome=t;for(var r=-1,s=e.queue.length;++r<s;)e.queue[r].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(r),e)},c.reject=function(e){var t=new this(r);return o.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var s=new Array(n),a=0,l=-1,c=new this(r);++l<n;)u(e[l],l);return c;function u(e,r){t.resolve(e).then((function(e){s[r]=e,++a!==n||i||(i=!0,o.resolve(c,s))}),(function(e){i||(i=!0,o.reject(c,e))}))}},c.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,n=!1;if(!t)return this.resolve([]);for(var i=-1,s=new this(r);++i<t;)this.resolve(e[i]).then((function(e){n||(n=!0,o.resolve(s,e))}),(function(e){n||(n=!0,o.reject(s,e))}));return s}},{immediate:36}],38:[function(e,t,n){"use strict";var i={};(0,e("./lib/utils/common").assign)(i,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){"use strict";var i=e("./zlib/deflate"),r=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/messages"),a=e("./zlib/zstream"),l=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=r.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=i.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(s[n]);if(t.header&&i.deflateSetHeader(this.strm,t.header),t.dictionary){var u;if(u="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=i.deflateSetDictionary(this.strm,u)))throw new Error(s[n]);this._dict_set=!0}}function u(e,t){var n=new c(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}c.prototype.push=function(e,t){var n,s,a=this.strm,c=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?4:0,a.input="string"==typeof e?o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?new Uint8Array(e):e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new r.Buf8(c),a.next_out=0,a.avail_out=c),1!==(n=i.deflate(a,s))&&0!==n)return this.onEnd(n),!(this.ended=!0);0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||this.onData("string"===this.options.to?o.buf2binstring(r.shrinkBuf(a.output,a.next_out)):r.shrinkBuf(a.output,a.next_out))}while((0<a.avail_in||0===a.avail_out)&&1!==n);return 4===s?(n=i.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==s||(this.onEnd(0),!(a.avail_out=0))},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){0===e&&(this.result="string"===this.options.to?this.chunks.join(""):r.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=c,n.deflate=u,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,u(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){"use strict";var i=e("./zlib/inflate"),r=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/constants"),a=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,t.windowBits);if(n!==s.Z_OK)throw new Error(a[n]);this.header=new c,i.inflateGetHeader(this.strm,this.header)}function h(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(e,t){var n,a,l,c,d,h,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,p.input="string"==typeof e?o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?new Uint8Array(e):e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new r.Buf8(f),p.next_out=0,p.avail_out=f),(n=i.inflate(p,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&m&&(h="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=i.inflateSetDictionary(this.strm,h)),n===s.Z_BUF_ERROR&&!0===g&&(n=s.Z_OK,g=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&n!==s.Z_STREAM_END&&(0!==p.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(p.output,p.next_out),c=p.next_out-l,d=o.buf2string(p.output,l),p.next_out=c,p.avail_out=f-c,c&&r.arraySet(p.output,p.output,l,c,0),this.onData(d)):this.onData(r.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((0<p.avail_in||0===p.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===s.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):r.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=h,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,i,r){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+i),r);else for(var o=0;o<i;o++)e[r+o]=t[n+o]},flattenChunks:function(e){var t,n,i,r,o,s;for(t=i=0,n=e.length;t<n;t++)i+=e[t].length;for(s=new Uint8Array(i),t=r=0,n=e.length;t<n;t++)s.set(o=e[t],r),r+=o.length;return s}},o={arraySet:function(e,t,n,i,r){for(var o=0;o<i;o++)e[r+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,r)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(i)},{}],42:[function(e,t,n){"use strict";var i=e("./common"),r=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new i.Buf8(256),a=0;a<256;a++)s[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&r))return String.fromCharCode.apply(null,i.shrinkBuf(e,t));for(var n="",s=0;s<t;s++)n+=String.fromCharCode(e[s]);return n}s[254]=s[254]=1,n.string2buf=function(e){var t,n,r,o,s,a=e.length,l=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new i.Buf8(l),o=s=0;s<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,i,r,o,a=t||e.length,c=new Array(2*a);for(n=i=0;n<a;)if((r=e[n++])<128)c[i++]=r;else if(4<(o=s[r]))c[i++]=65533,n+=o-1;else{for(r&=2===o?31:3===o?15:7;1<o&&n<a;)r=r<<6|63&e[n++],o--;1<o?c[i++]=65533:r<65536?c[i++]=r:(c[i++]=55296|(r-=65536)>>10&1023,c[i++]=56320|1023&r)}return l(c,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,i){for(var r=65535&e|0,o=e>>>16&65535|0,s=0;0!==n;){for(n-=s=2e3<n?2e3:n;o=o+(r=r+t[i++]|0)|0,--s;);r%=65521,o%=65521}return r|o<<16|0}},{}],44:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){"use strict";var i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,n){"use strict";var i,r=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),l=e("./messages"),c=-2,u=258,d=262,h=113;function p(e,t){return e.msg=l[t],t}function f(e){return(e<<1)-(4<e?9:0)}function m(e){for(var t=e.length;0<=--t;)e[t]=0}function g(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function _(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,g(e.strm)}function b(e,t){e.pending_buf[e.pending++]=t}function v(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function y(e,t){var n,i,r=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-d?e.strstart-(e.w_size-d):0,c=e.window,h=e.w_mask,p=e.prev,f=e.strstart+u,m=c[o+s-1],g=c[o+s];e.prev_length>=e.good_match&&(r>>=2),a>e.lookahead&&(a=e.lookahead);do{if(c[(n=t)+s]===g&&c[n+s-1]===m&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<f);if(i=u-(f-o),o=f-u,s<i){if(e.match_start=t,a<=(s=i))break;m=c[o+s-1],g=c[o+s]}}}while((t=p[t&h])>l&&0!=--r);return s<=e.lookahead?s:e.lookahead}function w(e){var t,n,i,o,l,c,u,h,p,f,m=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-d)){for(r.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;i=e.head[--t],e.head[t]=m<=i?i-m:0,--n;);for(t=n=m;i=e.prev[--t],e.prev[t]=m<=i?i-m:0,--n;);o+=m}if(0===e.strm.avail_in)break;if(u=e.window,h=e.strstart+e.lookahead,f=void 0,(p=o)<(f=(c=e.strm).avail_in)&&(f=p),n=0===f?0:(c.avail_in-=f,r.arraySet(u,c.input,c.next_in,f,h),1===c.state.wrap?c.adler=s(c.adler,u,f,h):2===c.state.wrap&&(c.adler=a(c.adler,u,f,h)),c.next_in+=f,c.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=3)for(e.ins_h=e.window[l=e.strstart-e.insert],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<d&&0!==e.strm.avail_in)}function C(e,t){for(var n,i;;){if(e.lookahead<d){if(w(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-d&&(e.match_length=y(e,n)),e.match_length>=3)if(i=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(_(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(_(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?1:2}function x(e,t){for(var n,i,r;;){if(e.lookahead<d){if(w(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-d&&(e.match_length=y(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-3,i=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=2,e.strstart++,i&&(_(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((i=o._tr_tally(e,0,e.window[e.strstart-1]))&&_(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(_(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?1:2}function S(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}function k(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(1146),this.dyn_dtree=new r.Buf16(122),this.bl_tree=new r.Buf16(78),m(this.dyn_ltree),m(this.dyn_dtree),m(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(16),this.heap=new r.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(573),m(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function T(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:h,e.adler=2===t.wrap?0:1,t.last_flush=0,o._tr_init(t),0):p(e,c)}function E(e){var t=T(e);return 0===t&&function(e){e.window_size=2*e.w_size,m(e.head),e.max_lazy_match=i[e.level].max_lazy,e.good_match=i[e.level].good_length,e.nice_match=i[e.level].nice_length,e.max_chain_length=i[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0}(e.state),t}function I(e,t,n,i,o,s){if(!e)return c;var a=1;if(-1===t&&(t=6),i<0?(a=0,i=-i):15<i&&(a=2,i-=16),o<1||9<o||8!==n||i<8||15<i||t<0||9<t||s<0||4<s)return p(e,c);8===i&&(i=9);var l=new k;return(e.state=l).strm=e,l.wrap=a,l.gzhead=null,l.w_bits=i,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new r.Buf8(2*l.w_size),l.head=new r.Buf16(l.hash_size),l.prev=new r.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new r.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=s,l.method=n,E(e)}i=[new S(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(w(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,_(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-d&&(_(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&_(e,!1),1)})),new S(4,4,8,4,C),new S(4,5,16,8,C),new S(4,6,32,32,C),new S(4,4,16,16,x),new S(8,16,32,32,x),new S(8,16,128,128,x),new S(8,32,128,256,x),new S(32,128,258,1024,x),new S(32,258,258,4096,x)],n.deflateInit=function(e,t){return I(e,t,8,15,8,0)},n.deflateInit2=I,n.deflateReset=E,n.deflateResetKeep=T,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=t,0):c},n.deflate=function(e,t){var n,r,s,l;if(!e||!e.state||5<t||t<0)return e?p(e,c):c;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||666===r.status&&4!==t)return p(e,0===e.avail_out?-5:c);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,b(r,31),b(r,139),b(r,8),r.gzhead?(b(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),b(r,255&r.gzhead.time),b(r,r.gzhead.time>>8&255),b(r,r.gzhead.time>>16&255),b(r,r.gzhead.time>>24&255),b(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),b(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(b(r,255&r.gzhead.extra.length),b(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=a(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(b(r,0),b(r,0),b(r,0),b(r,0),b(r,0),b(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),b(r,3),r.status=h);else{var d=8+(r.w_bits-8<<4)<<8;d|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(d|=32),d+=31-d%31,r.status=h,v(r,d),0!==r.strstart&&(v(r,e.adler>>>16),v(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(s=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),g(e),s=r.pending,r.pending!==r.pending_buf_size));)b(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),g(e),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,b(r,l)}while(0!==l);r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),g(e),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,b(r,l)}while(0!==l);r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&g(e),r.pending+2<=r.pending_buf_size&&(b(r,255&e.adler),b(r,e.adler>>8&255),e.adler=0,r.status=h)):r.status=h),0!==r.pending){if(g(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&f(t)<=f(n)&&4!==t)return p(e,-5);if(666===r.status&&0!==e.avail_in)return p(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&666!==r.status){var y=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(w(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(_(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,i,r,s,a=e.window;;){if(e.lookahead<=u){if(w(e),e.lookahead<=u&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(i=a[r=e.strstart-1])===a[++r]&&i===a[++r]&&i===a[++r]){s=e.strstart+u;do{}while(i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&r<s);e.match_length=u-(s-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(_(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(_(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?1:2}(r,t):i[r.level].func(r,t);if(3!==y&&4!==y||(r.status=666),1===y||3===y)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===y&&(1===t?o._tr_align(r):5!==t&&(o._tr_stored_block(r,0,0,!1),3===t&&(m(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),g(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(b(r,255&e.adler),b(r,e.adler>>8&255),b(r,e.adler>>16&255),b(r,e.adler>>24&255),b(r,255&e.total_in),b(r,e.total_in>>8&255),b(r,e.total_in>>16&255),b(r,e.total_in>>24&255)):(v(r,e.adler>>>16),v(r,65535&e.adler)),g(e),0<r.wrap&&(r.wrap=-r.wrap),0!==r.pending?0:1)},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&t!==h&&666!==t?p(e,c):(e.state=null,t===h?p(e,-3):0):c},n.deflateSetDictionary=function(e,t){var n,i,o,a,l,u,d,h,p=t.length;if(!e||!e.state)return c;if(2===(a=(n=e.state).wrap)||1===a&&42!==n.status||n.lookahead)return c;for(1===a&&(e.adler=s(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===a&&(m(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new r.Buf8(n.w_size),r.arraySet(h,t,p-n.w_size,n.w_size,0),t=h,p=n.w_size),l=e.avail_in,u=e.next_in,d=e.input,e.avail_in=p,e.next_in=0,e.input=t,w(n);n.lookahead>=3;){for(i=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+3-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++,--o;);n.strstart=i,n.lookahead=2,w(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=u,e.input=d,e.avail_in=l,n.wrap=a,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){"use strict";t.exports=function(e,t){var n,i,r,o,s,a,l,c,u,d,h,p,f,m,g,_,b,v,y,w,C,x,S,k,T;k=e.input,r=(i=e.next_in)+(e.avail_in-5),T=e.output,s=(o=e.next_out)-(t-e.avail_out),a=o+(e.avail_out-257),l=(n=e.state).dmax,c=n.wsize,u=n.whave,d=n.wnext,h=n.window,p=n.hold,f=n.bits,m=n.lencode,g=n.distcode,_=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{f<15&&(p+=k[i++]<<f,p+=k[i++]<<(f+=8),f+=8),v=m[p&_];t:for(;;){if(p>>>=y=v>>>24,f-=y,0==(y=v>>>16&255))T[o++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(p&(1<<y)-1)];continue t}if(32&y){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&v,(y&=15)&&(f<y&&(p+=k[i++]<<f,f+=8),w+=p&(1<<y)-1,p>>>=y,f-=y),f<15&&(p+=k[i++]<<f,p+=k[i++]<<(f+=8),f+=8),v=g[p&b];n:for(;;){if(p>>>=y=v>>>24,f-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=g[(65535&v)+(p&(1<<y)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(C=65535&v,f<(y&=15)&&(p+=k[i++]<<f,(f+=8)<y&&(p+=k[i++]<<f,f+=8)),l<(C+=p&(1<<y)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(p>>>=y,f-=y,(y=o-s)<C){if(u<(y=C-y)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(S=h,(x=0)===d){if(x+=c-y,y<w){for(w-=y;T[o++]=h[x++],--y;);x=o-C,S=T}}else if(d<y){if(x+=c+d-y,(y-=d)<w){for(w-=y;T[o++]=h[x++],--y;);if(x=0,d<w){for(w-=y=d;T[o++]=h[x++],--y;);x=o-C,S=T}}}else if(x+=d-y,y<w){for(w-=y;T[o++]=h[x++],--y;);x=o-C,S=T}for(;2<w;)T[o++]=S[x++],T[o++]=S[x++],T[o++]=S[x++],w-=3;w&&(T[o++]=S[x++],1<w&&(T[o++]=S[x++]))}else{for(x=o-C;T[o++]=T[x++],T[o++]=T[x++],T[o++]=T[x++],2<(w-=3););w&&(T[o++]=T[x++],1<w&&(T[o++]=T[x++]))}break}}break}}while(i<r&&o<a);i-=w=f>>3,p&=(1<<(f-=w<<3))-1,e.next_in=i,e.next_out=o,e.avail_in=i<r?r-i+5:5-(i-r),e.avail_out=o<a?a-o+257:257-(o-a),n.hold=p,n.bits=f}},{}],49:[function(e,t,n){"use strict";var i=e("../utils/common"),r=e("./adler32"),o=e("./crc32"),s=e("./inffast"),a=e("./inftrees"),l=-2;function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(e.total_in=e.total_out=(t=e.state).total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(852),t.distcode=t.distdyn=new i.Buf32(592),t.sane=1,t.back=-1,0):l}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):l}function p(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?l:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,h(e))):l}function f(e,t){var n,i;return e?(i=new u,(e.state=i).window=null,0!==(n=p(e,t))&&(e.state=null),n):l}var m,g,_=!0;function b(e){if(_){var t;for(m=new i.Buf32(512),g=new i.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,m,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),_=!1}e.lencode=m,e.lenbits=9,e.distcode=g,e.distbits=5}function v(e,t,n,r){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new i.Buf8(s.wsize)),r>=s.wsize?(i.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r<(o=s.wsize-s.wnext)&&(o=r),i.arraySet(s.window,t,n-r,o,s.wnext),(r-=o)?(i.arraySet(s.window,t,n-r,r,0),s.wnext=r,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}n.inflateReset=h,n.inflateReset2=p,n.inflateResetKeep=d,n.inflateInit=function(e){return f(e,15)},n.inflateInit2=f,n.inflate=function(e,t){var n,u,d,h,p,f,m,g,_,y,w,C,x,S,k,T,E,I,D,M,O,R,L,A,P=0,F=new i.Buf8(4),B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return l;12===(n=e.state).mode&&(n.mode=13),p=e.next_out,d=e.output,h=e.next_in,u=e.input,g=n.hold,_=n.bits,y=f=e.avail_in,w=m=e.avail_out,R=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;_<16;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(2&n.wrap&&35615===g){F[n.check=0]=255&g,F[1]=g>>>8&255,n.check=o(n.check,F,2,0),_=g=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",n.mode=30;break}if(_-=4,O=8+(15&(g>>>=4)),0===n.wbits)n.wbits=O;else if(O>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<O,e.adler=n.check=1,n.mode=512&g?10:12,_=g=0;break;case 2:for(;_<16;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(n.flags=g,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=g>>8&1),512&n.flags&&(F[0]=255&g,F[1]=g>>>8&255,n.check=o(n.check,F,2,0)),_=g=0,n.mode=3;case 3:for(;_<32;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}n.head&&(n.head.time=g),512&n.flags&&(F[0]=255&g,F[1]=g>>>8&255,F[2]=g>>>16&255,F[3]=g>>>24&255,n.check=o(n.check,F,4,0)),_=g=0,n.mode=4;case 4:for(;_<16;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}n.head&&(n.head.xflags=255&g,n.head.os=g>>8),512&n.flags&&(F[0]=255&g,F[1]=g>>>8&255,n.check=o(n.check,F,2,0)),_=g=0,n.mode=5;case 5:if(1024&n.flags){for(;_<16;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}n.length=g,n.head&&(n.head.extra_len=g),512&n.flags&&(F[0]=255&g,F[1]=g>>>8&255,n.check=o(n.check,F,2,0)),_=g=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(f<(C=n.length)&&(C=f),C&&(n.head&&(O=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,u,h,C,O)),512&n.flags&&(n.check=o(n.check,u,C,h)),f-=C,h+=C,n.length-=C),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===f)break e;for(C=0;O=u[h+C++],n.head&&O&&n.length<65536&&(n.head.name+=String.fromCharCode(O)),O&&C<f;);if(512&n.flags&&(n.check=o(n.check,u,C,h)),f-=C,h+=C,O)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===f)break e;for(C=0;O=u[h+C++],n.head&&O&&n.length<65536&&(n.head.comment+=String.fromCharCode(O)),O&&C<f;);if(512&n.flags&&(n.check=o(n.check,u,C,h)),f-=C,h+=C,O)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;_<16;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(g!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}_=g=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;_<32;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}e.adler=n.check=c(g),_=g=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=p,e.avail_out=m,e.next_in=h,e.avail_in=f,n.hold=g,n.bits=_,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){g>>>=7&_,_-=7&_,n.mode=27;break}for(;_<3;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}switch(n.last=1&g,_-=1,3&(g>>>=1)){case 0:n.mode=14;break;case 1:if(b(n),n.mode=20,6!==t)break;g>>>=2,_-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}g>>>=2,_-=2;break;case 14:for(g>>>=7&_,_-=7&_;_<32;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if((65535&g)!=(g>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&g,_=g=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(C=n.length){if(f<C&&(C=f),m<C&&(C=m),0===C)break e;i.arraySet(d,u,h,C,p),f-=C,h+=C,m-=C,p+=C,n.length-=C;break}n.mode=12;break;case 17:for(;_<14;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(n.nlen=257+(31&g),_-=5,n.ndist=1+(31&(g>>>=5)),_-=5,n.ncode=4+(15&(g>>>=5)),g>>>=4,_-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;_<3;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}n.lens[B[n.have++]]=7&g,g>>>=3,_-=3}for(;n.have<19;)n.lens[B[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,R=a(0,n.lens,0,19,n.lencode,0,n.work,L={bits:n.lenbits}),n.lenbits=L.bits,R){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;T=(P=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,E=65535&P,!((k=P>>>24)<=_);){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(E<16)g>>>=k,_-=k,n.lens[n.have++]=E;else{if(16===E){for(A=k+2;_<A;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(g>>>=k,_-=k,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}O=n.lens[n.have-1],C=3+(3&g),g>>>=2,_-=2}else if(17===E){for(A=k+3;_<A;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}_-=k,O=0,C=3+(7&(g>>>=k)),g>>>=3,_-=3}else{for(A=k+7;_<A;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}_-=k,O=0,C=11+(127&(g>>>=k)),g>>>=7,_-=7}if(n.have+C>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;C--;)n.lens[n.have++]=O}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,R=a(1,n.lens,0,n.nlen,n.lencode,0,n.work,L={bits:n.lenbits}),n.lenbits=L.bits,R){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,R=a(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L={bits:n.distbits}),n.distbits=L.bits,R){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=f&&258<=m){e.next_out=p,e.avail_out=m,e.next_in=h,e.avail_in=f,n.hold=g,n.bits=_,s(e,w),p=e.next_out,d=e.output,m=e.avail_out,h=e.next_in,u=e.input,f=e.avail_in,g=n.hold,_=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;T=(P=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,E=65535&P,!((k=P>>>24)<=_);){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(T&&0==(240&T)){for(I=k,D=T,M=E;T=(P=n.lencode[M+((g&(1<<I+D)-1)>>I)])>>>16&255,E=65535&P,!(I+(k=P>>>24)<=_);){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}g>>>=I,_-=I,n.back+=I}if(g>>>=k,_-=k,n.back+=k,n.length=E,0===T){n.mode=26;break}if(32&T){n.back=-1,n.mode=12;break}if(64&T){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&T,n.mode=22;case 22:if(n.extra){for(A=n.extra;_<A;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}n.length+=g&(1<<n.extra)-1,g>>>=n.extra,_-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;T=(P=n.distcode[g&(1<<n.distbits)-1])>>>16&255,E=65535&P,!((k=P>>>24)<=_);){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(0==(240&T)){for(I=k,D=T,M=E;T=(P=n.distcode[M+((g&(1<<I+D)-1)>>I)])>>>16&255,E=65535&P,!(I+(k=P>>>24)<=_);){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}g>>>=I,_-=I,n.back+=I}if(g>>>=k,_-=k,n.back+=k,64&T){e.msg="invalid distance code",n.mode=30;break}n.offset=E,n.extra=15&T,n.mode=24;case 24:if(n.extra){for(A=n.extra;_<A;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}n.offset+=g&(1<<n.extra)-1,g>>>=n.extra,_-=n.extra,n.back+=n.extra}if(n.offset>
vendor: 4,579 bytes, line 1
1n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===m)break e;if(n.offset>(C=w-m)){if((C=n.offset-C)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}x=C>n.wnext?n.wsize-(C-=n.wnext):n.wnext-C,C>n.length&&(C=n.length),S=n.window}else S=d,x=p-n.offset,C=n.length;for(m<C&&(C=m),m-=C,n.length-=C;d[p++]=S[x++],--C;);0===n.length&&(n.mode=21);break;case 26:if(0===m)break e;d[p++]=n.length,m--,n.mode=21;break;case 27:if(n.wrap){for(;_<32;){if(0===f)break e;f--,g|=u[h++]<<_,_+=8}if(e.total_out+=w-=m,n.total+=w,w&&(e.adler=n.check=n.flags?o(n.check,d,w,p-w):r(n.check,d,w,p-w)),w=m,(n.flags?g:c(g))!==n.check){e.msg="incorrect data check",n.mode=30;break}_=g=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;_<32;){if(0===f)break e;f--,g+=u[h++]<<_,_+=8}if(g!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}_=g=0}n.mode=29;case 29:R=1;break e;case 30:R=-3;break e;case 31:return-4;case 32:default:return l}return e.next_out=p,e.avail_out=m,e.next_in=h,e.avail_in=f,n.hold=g,n.bits=_,(n.wsize||w!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&v(e,e.output,e.next_out,w-e.avail_out)?(n.mode=31,-4):(w-=e.avail_out,e.total_in+=y-=e.avail_in,e.total_out+=w,n.total+=w,n.wrap&&w&&(e.adler=n.check=n.flags?o(n.check,d,w,e.next_out-w):r(n.check,d,w,e.next_out-w)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==y&&0===w||4===t)&&0===R&&(R=-5),R)},n.inflateEnd=function(e){if(!e||!e.state)return l;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?l:((n.head=t).done=!1,0):l},n.inflateSetDictionary=function(e,t){var n,i=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?l:11===n.mode&&r(1,t,i,0)!==n.check?-3:v(e,t,i,i)?(n.mode=31,-4):(n.havedict=1,0):l},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var i=e("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,u,d,h){var p,f,m,g,_,b,v,y,w,C=h.bits,x=0,S=0,k=0,T=0,E=0,I=0,D=0,M=0,O=0,R=0,L=null,A=0,P=new i.Buf16(16),F=new i.Buf16(16),B=null,H=0;for(x=0;x<=15;x++)P[x]=0;for(S=0;S<l;S++)P[t[n+S]]++;for(E=C,T=15;1<=T&&0===P[T];T--);if(T<E&&(E=T),0===T)return c[u++]=20971520,c[u++]=20971520,h.bits=1,0;for(k=1;k<T&&0===P[k];k++);for(E<k&&(E=k),x=M=1;x<=15;x++)if(M<<=1,(M-=P[x])<0)return-1;if(0<M&&(0===e||1!==T))return-1;for(F[1]=0,x=1;x<15;x++)F[x+1]=F[x]+P[x];for(S=0;S<l;S++)0!==t[n+S]&&(d[F[t[n+S]]++]=S);if(b=0===e?(L=B=d,19):1===e?(L=r,A-=257,B=o,H-=257,256):(L=s,B=a,-1),x=k,_=u,D=S=R=0,m=-1,g=(O=1<<(I=E))-1,1===e&&852<O||2===e&&592<O)return 1;for(;;){for(v=x-D,w=d[S]<b?(y=0,d[S]):d[S]>b?(y=B[H+d[S]],L[A+d[S]]):(y=96,0),p=1<<x-D,k=f=1<<I;c[_+(R>>D)+(f-=p)]=v<<24|y<<16|w|0,0!==f;);for(p=1<<x-1;R&p;)p>>=1;if(0!==p?(R&=p-1,R+=p):R=0,S++,0==--P[x]){if(x===T)break;x=t[n+d[S]]}if(E<x&&(R&g)!==m){for(0===D&&(D=E),_+=k,M=1<<(I=x-D);I+D<T&&!((M-=P[I+D])<=0);)I++,M<<=1;if(O+=1<<I,1===e&&852<O||2===e&&592<O)return 1;c[m=R&g]=E<<24|I<<16|_-u|0}}return 0!==R&&(c[_+R]=x-D<<24|64<<16|0),h.bits=E,0}},{"../utils/common":41}],51:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){"use strict";var i=e("../utils/common");function r(e){for(var t=e.length;0<=--t;)e[t]=0}var o=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],s=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=new Array(576);r(c);var u=new Array(60);r(u);var d=new Array(512);r(d);var h=new Array(256);r(h);var p=new Array(29);r(p);var f,m,g,_=new Array(30);function b(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}function v(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function y(e){return e<256?d[e]:d[256+(e>>>7)]}
vendor: 6,013 bytes, line 1
1function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function C(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,w(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function x(e,t,n){C(e,n[2*t],n[2*t+1])}function S(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function k(e,t,n){var i,r,o=new Array(16),s=0;for(i=1;i<=15;i++)o[i]=s=s+n[i-1]<<1;for(r=0;r<=t;r++){var a=e[2*r+1];0!==a&&(e[2*r]=S(o[a]++,a))}}function T(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function E(e){8<e.bi_valid?w(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function I(e,t,n,i){var r=2*t,o=2*n;return e[r]<e[o]||e[r]===e[o]&&i[t]<=i[n]}function D(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&I(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!I(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function M(e,t,n){var i,r,a,l,c=0;if(0!==e.last_lit)for(;i=e.pending_buf[e.d_buf+2*c]<<8|e.pending_buf[e.d_buf+2*c+1],r=e.pending_buf[e.l_buf+c],c++,0===i?x(e,r,t):(x(e,(a=h[r])+256+1,t),0!==(l=o[a])&&C(e,r-=p[a],l),x(e,a=y(--i),n),0!==(l=s[a])&&C(e,i-=_[a],l)),c<e.last_lit;);x(e,256,t)}function O(e,t){var n,i,r,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(r=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[r]=0,e.opt_len--,a&&(e.static_len-=s[2*r+1]);for(t.max_code=c,n=e.heap_len>>1;1<=n;n--)D(e,o,n);for(r=l;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],D(e,o,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,o[2*r]=o[2*n]+o[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,o[2*n+1]=o[2*i+1]=r,e.heap[1]=r++,D(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,o,s,a,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)f<(o=l[2*l[2*(i=e.heap[n])+1]+1]+1)&&(o=f,m++),l[2*i+1]=o,c<i||(e.bl_count[o]++,s=0,p<=i&&(s=h[i-p]),e.opt_len+=(a=l[2*i])*(o+s),d&&(e.static_len+=a*(u[2*i+1]+s)));if(0!==m){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,m-=2}while(0<m);for(o=f;0!==o;o--)for(i=e.bl_count[o];0!==i;)c<(r=e.heap[--n])||(l[2*r+1]!==o&&(e.opt_len+=(o-l[2*r+1])*l[2*r],l[2*r+1]=o),i--)}}(e,t),k(o,c,e.bl_count)}function R(e,t,n){var i,r,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,i=0;i<=n;i++)r=s,s=t[2*(i+1)+1],++a<l&&r===s||(a<c?e.bl_tree[2*r]+=a:0!==r?(r!==o&&e.bl_tree[2*r]++,e.bl_tree[32]++):a<=10?e.bl_tree[34]++:e.bl_tree[36]++,o=r,c=(a=0)===s?(l=138,3):r===s?(l=6,3):(l=7,4))}function L(e,t,n){var i,r,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),i=0;i<=n;i++)if(r=s,s=t[2*(i+1)+1],!(++a<l&&r===s)){if(a<c)for(;x(e,r,e.bl_tree),0!=--a;);else 0!==r?(r!==o&&(x(e,r,e.bl_tree),a--),x(e,16,e.bl_tree),C(e,a-3,2)):a<=10?(x(e,17,e.bl_tree),C(e,a-3,3)):(x(e,18,e.bl_tree),C(e,a-11,7));o=r,c=(a=0)===s?(l=138,3):r===s?(l=6,3):(l=7,4)}}r(_);var A=!1;function P(e,t,n,r){C(e,0+(r?1:0),3),function(e,t,n,r){E(e),w(e,n),w(e,~n),i.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n)}n._tr_init=function(e){A||(function(){var e,t,n,i,r,l=new Array(16);for(i=n=0;i<28;i++)for(p[i]=n,e=0;e<1<<o[i];e++)h[n++]=i;for(h[n-1]=i,i=r=0;i<16;i++)for(_[i]=r,e=0;e<1<<s[i];e++)d[r++]=i;for(r>>=7;i<30;i++)for(_[i]=r<<7,e=0;e<1<<s[i]-7;e++)d[256+r++]=i;for(t=0;t<=15;t++)l[t]=0;for(e=0;e<=143;)c[2*e+1]=8,e++,l[8]++;for(;e<=255;)c[2*e+1]=9,e++,l[9]++;for(;e<=279;)c[2*e+1]=7,e++,l[7]++;for(;e<=287;)c[2*e+1]=8,e++,l[8]++;for(k(c,287,l),e=0;e<30;e++)u[2*e+1]=5,u[2*e]=S(e,5);f=new b(c,o,257,286,15),m=new b(u,s,0,30,15),g=new b(new Array(0),a,0,19,7)}(),A=!0),e.l_desc=new v(e.dyn_ltree,f),e.d_desc=new v(e.dyn_dtree,m),e.bl_desc=new v(e.bl_tree,g),e.bi_buf=0,e.bi_valid=0,T(e)},n._tr_stored_block=P,n._tr_flush_block=function(e,t,n,i){var r,o,s=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),O(e,e.l_desc),O(e,e.d_desc),s=function(e){var t;for(R(e,e.dyn_ltree,e.l_desc.max_code),R(e,e.dyn_dtree,e.d_desc.max_code),O(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*l[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),(o=e.static_len+3+7>>>3)<=(r=e.opt_len+3+7>>>3)&&(r=o)):r=o=n+5,n+4<=r&&-1!==t?P(e,t,n,i):4===e.strategy||o===r?(C(e,2+(i?1:0),3),M(e,c,u)):(C(e,4+(i?1:0),3),function(e,t,n,i){var r;for(C(e,t-257,5),C(e,n-1,5),C(e,i-4,4),r=0;r<i;r++)C(e,e.bl_tree[2*l[r]+1],3);L(e,e.dyn_ltree,t-1),L(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),M(e,e.dyn_ltree,e.dyn_dtree)),T(e),i&&E(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(h[n]+256+1)]++,e.dyn_dtree[2*y(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){C(e,2,3),x(e,256,c),function(e){16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){"use strict";
1t.exports="function"==typeof setImmediate?setImmediate:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)},xZEH:function(e,t,n){"use strict";var i=n("zl3R").map,r=function(e){return null==e?"":String(e)},o=function(e){return r(e).charAt(0).toUpperCase()+e.substr(1)},s=function(e){return r(e).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},a=function(e){return i(s(e),(function(e){return e.toLowerCase()})).join("-")},l=["0","1","2","3","4","5","6","7","8","9"];t.dasherize=a,t.camelize=function(e,t){return i(s(e),(function(e,n){return e=e.toLowerCase(),(t||n>0)&&(e=o(e)),e})).join("")},t.humanize=function(e){return o(a(e).replace(/-/g," "))},t.titleize=function(e){return i(s(e),(function(e){return o(e.toLowerCase())})).join(" ")},t.underscore=function(e){return a(e).replace(/-/g,"_")},t.captionize=function(e){var t,n,i=[],r=!1,o=!1;for(t=0;t<e.length;t++)o=(n=e.charAt(t))===n.toUpperCase()&&"-"!==n&&")"!==n&&"/"!==n||n in l,"_"===n||"."===n?(n=" ",o=!0):0===t?(n=n.toUpperCase(),o=!0):!r&&o&&i.length>0&&i.push(" "),i.push(n),r=o;return i.join("")}},xbPD:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e=null){return t=>t.lift(new o(e))}class o{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new s(e,this.defaultValue))}}class s extends i.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("DH7j"),o=n("n6bG"),s=n("lJxs");function a(e,t,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?a(e,t,n).pipe(Object(s.a)(e=>Object(r.a)(e)?l(...e):l(e))):new i.a(i=>{!function e(t,n,i,r,o){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,i,o),s=()=>e.removeEventListener(n,i,o)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,i),s=()=>e.off(n,i)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,i),s=()=>e.removeListener(n,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,a=t.length;s<a;s++)e(t[s],n,i,r,o)}r.add(s)}(e,t,(function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),i,n)})}},xud5:function(e,t,n){"use strict";var i=u(n("FKN7")),r=u(n("tUd6")),o=u(n("cGv3")),s=u(n("jeLr")),a=u(n("D8Ap")),l=u(n("ti0F")),c=n("ccQb");function u(e){return e&&e.__esModule?e:{default:e}}var d=o.default.getWindow(),h=o.default.getNavigator(),p={EXCEL:"xlsx",CSS:"css",PNG:"png",JPEG:"jpeg",GIF:"gif",SVG:"svg",PDF:"pdf"},f=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={_revokeObjectURLTimeout:3e4,_getDataUri:function(e,t){return"data:"+f[e]+";base64,"+t},_linkDownloader:function(e,t){var n=r.default.createElement("a");return n.download=e,n.href=t,n.target="_blank",n},_formDownloader:function(e,t,n,r){var o={method:"post",action:e,enctype:"multipart/form-data"},a=(0,i.default)("<form>").css({display:"none"}).attr(o);a.append('<input type="hidden" name="fileName" value="'+t+'" />'),a.append('<input type="hidden" name="contentType" value="'+n+'" />'),a.append('<input type="hidden" name="data" value="'+r+'" />'),a.appendTo("body"),s.default.trigger(a,"submit"),s.default.trigger(a,"submit")&&a.remove()},_saveByProxy:function(e,t,n,i){return this._formDownloader(e,t,f[n],i)},_winJSBlobSave:function(e,t,n){var i=new Windows.Storage.Pickers.FileSavePicker;i.suggestedStartLocation=Windows.Storage.Pickers.PickerLocationId.documentsLibrary,i.fileTypeChoices.insert(f[n],["."+p[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()}))}))}))}))},_click:function(e){try{e.dispatchEvent(new MouseEvent("click",{cancelable:!0}))}catch(n){var t=r.default.getDocument().createEvent("MouseEvents");
1t.initMouseEvent("click",!0,!0,d,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}},_saveBlobAs:function(e,t,n){var i=this;if(this._blobSaved=!1,l.default.isDefined(h.msSaveOrOpenBlob))h.msSaveOrOpenBlob(n,e),this._blobSaved=!0;else if(l.default.isDefined(d.WinJS))this._winJSBlobSave(n,e,t),this._blobSaved=!0;else{var r=d.URL||d.webkitURL||d.mozURL||d.msURL||d.oURL;if(l.default.isDefined(r)){var o=r.createObjectURL(n),s=this._linkDownloader(e,o);setTimeout((function(){r.revokeObjectURL(o),i._objectUrlRevoked=!0}),this._revokeObjectURLTimeout),this._click(s)}else c.logger.warn("window.URL || window.webkitURL || window.mozURL || window.msURL || window.oURL is not defined")}},saveAs:function(e,t,n,i,r){if(e+="."+p[t],l.default.isDefined(i)&&a.default.log("W0001","Export","proxyURL","19.2","This option is no longer required"),r)this._saveByProxy(i,e,t,n);else if(l.default.isFunction(d.Blob))this._saveBlobAs(e,t,n);else if(l.default.isDefined(i)&&!l.default.isDefined(h.userAgent.match(/iPad/i)))this._saveByProxy(i,e,t,n);else{l.default.isDefined(h.userAgent.match(/iPad/i))||a.default.log("E1034");var o=this._linkDownloader(e,this._getDataUri(t,n));this._click(o)}}}},y0aK:function(e,t,n){"use strict";var i=d(n("FKN7")),r=d(n("jeLr")),o=d(n("XCcL")),s=n("ti0F"),a=n("1LL4"),l=d(n("HeVg")),c=d(n("imRD")),u=n("JDOJ");function d(e){return e&&e.__esModule?e:{default:e}}var h=(0,a.extend)({},l.default,{_createRow:function(e){var t=this,n=this.callBase(e);return"header"===e.rowType&&r.default.on(n,(0,u.addNamespace)(o.default.name,"dxDataGridColumnHeadersView"),"td",this.createAction((function(e){t._processHeaderAction(e.event,n)}))),n},_processHeaderAction:function(e,t){if((0,i.default)(e.currentTarget).parent().get(0)===t.get(0)){var n=this,r=null,o=(0,i.default)(e.currentTarget),a=o.parent().index(),l=-1;[].slice.call(n.getCellElements(a)).some((function(e,t){if(e===o.get(0))return l=t,!0}));var c=n._columnsController.getVisibleColumns(a)[l],u=n.getController("editing"),d=n.option("editing.mode");(!u||!u.isEditing()||"batch"!==d&&"cell"!==d)&&n._isSortableElement((0,i.default)(e.target))&&(!c||(0,s.isDefined)(c.groupIndex)||c.command||(e.shiftKey?r="shift":e.ctrlKey&&(r="ctrl"),setTimeout((function(){n._columnsController.changeSortOrder(c.index,r)}))))}},_renderCellContent:function(e,t){var n=t.column;n.command||"header"!==t.rowType||this._applyColumnState({name:"sort",rootElement:e,column:n,showColumnLines:this.option("showColumnLines")}),this.callBase(e,t)},_columnOptionChanged:function(e){var t=e.changeTypes;1===t.length&&t.sorting?this._updateIndicators("sort"):this.callBase(e)},optionChanged:function(e){switch(e.name){case"sorting":this._invalidate(),e.handled=!0;break;default:this.callBase(e)}}}),p=(0,a.extend)({},l.default,{_createGroupPanelItem:function(e,t){var n=this,i=n.callBase.apply(n,arguments);return r.default.on(i,(0,u.addNamespace)(o.default.name,"dxDataGridHeaderPanel"),n.createAction((function(){n._processGroupItemAction(t.index)}))),n._applyColumnState({name:"sort",rootElement:i,column:{alignment:n.option("rtlEnabled")?"right":"left",allowSorting:t.allowSorting,sortOrder:"desc"===t.sortOrder?"desc":"asc"},showColumnLines:!0}),i},_processGroupItemAction:function(e){var t=this;setTimeout((function(){return t.getController("columns").changeSortOrder(e)}))},optionChanged:function(e){switch(e.name){case"sorting":this._invalidate(),e.handled=!0;break;default:this.callBase(e)}}});e.exports={defaultOptions:function(){return{sorting:{mode:"single",ascendingText:c.default.format("dxDataGrid-sortingAscendingText"),descendingText:c.default.format("dxDataGrid-sortingDescendingText"),clearText:c.default.format("dxDataGrid-sortingClearText"),showSortIndexes:!0}}},extenders:{views:{columnHeadersView:h,headerPanel:p}}}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("HDdC"),r=n("ngJS"),o=n("jZKg");function s(e,t){return t?Object(o.a)(e,t):new i.a(Object(r.a)(e))}},yFBy:function(e,t,n){"use strict";var i=m(n("FKN7")),r=m(n("BWGd")),o=n("YKSD"),s=n("3WbO"),a=m(n("imRD")),l=m(n("K4No")),c=n("ti0F"),u=n("zl3R"),d=m(n("LdFP")),h=n("tJvG"),p=n("WWN2"),f=n("Yt8F");
1function m(e){return e&&e.__esModule?e:{default:e}}l.default.extend({init:function(){this.callBase.apply(this,arguments),this._initGroupingHelper()},_initGroupingHelper:function(e){var t=this._grouping,n=this.option("grouping.autoExpandAll"),i=this.option("focusedRowEnabled"),r=e?e.remoteOperations:this.remoteOperations();!(r.filtering&&r.sorting&&r.paging)||r.grouping||!n&&i?(!t||t instanceof o.GroupingHelper)&&(this._grouping=new s.GroupingHelper(this)):(!t||t instanceof s.GroupingHelper)&&(this._grouping=new o.GroupingHelper(this))},totalItemsCount:function(){var e=this.callBase();return e>0&&this._dataSource.group()&&this._dataSource.requireTotalCount()?e+this._grouping.totalCountCorrection():e},itemsCount:function(){return this._dataSource.group()?this._grouping.itemsCount()||0:this.callBase.apply(this,arguments)},allowCollapseAll:function(){return this._grouping.allowCollapseAll()},isGroupItemCountable:function(e){return this._grouping.isGroupItemCountable(e)},isRowExpanded:function(e){var t=this._grouping.findGroupInfo(e);return t?t.isExpanded:!this._grouping.allowCollapseAll()},collapseAll:function(e){return this._collapseExpandAll(e,!1)},expandAll:function(e){return this._collapseExpandAll(e,!0)},_collapseExpandAll:function(e,t){var n=this._dataSource,i=n.group(),o=r.default.normalizeSortingInfo(i||[]);if(o.length){for(var s=0;s<o.length;s++)void 0===e||e===s?o[s].isExpanded=t:i&&i[s]&&(o[s].isExpanded=i[s].isExpanded);n.group(o),this._grouping.foreachGroups((function(n,i){void 0!==e&&e!==i.length-1||(n.isExpanded=t)}),!1,!0),this.resetPagesCache()}return!0},refresh:function(){return this.callBase.apply(this,arguments),this._grouping.refresh.apply(this._grouping,arguments)},changeRowExpand:function(e){var t=this._dataSource;if(t.group())return t.beginLoading(),this._lastLoadOptions&&(this._lastLoadOptions.groupExpand=!0),this._changeRowExpandCore(e).always((function(){t.endLoading()}))},_changeRowExpandCore:function(e){return this._grouping.changeRowExpand(e)},_hasGroupLevelsExpandState:function(e,t){if(e&&Array.isArray(e))for(var n=0;n<e.length;n++)if(e[n].isExpanded===t)return!0},_customizeRemoteOperations:function(e,t,n){var i=e.remoteOperations;e.storeLoadOptions.group?(i.grouping&&!e.isCustomLoading&&(i.groupPaging&&!this._hasGroupLevelsExpandState(e.storeLoadOptions.group,!0)||(i.paging=!1)),i.grouping||i.sorting&&i.filtering&&!e.isCustomLoading&&!this._hasGroupLevelsExpandState(e.storeLoadOptions.group,!1)||(i.paging=!1)):!e.isCustomLoading&&i.paging&&n.grouping&&this.resetCache(),this.callBase.apply(this,arguments)},_handleDataLoading:function(e){return this.callBase(e),this._initGroupingHelper(e),this._grouping.handleDataLoading(e)},_handleDataLoaded:function(e){return this._grouping.handleDataLoaded(e,this.callBase.bind(this))},_handleDataLoadedCore:function(e){return this._grouping.handleDataLoadedCore(e,this.callBase.bind(this))}});var g={init:function(){this.callBase(),this.createAction("onRowExpanding"),this.createAction("onRowExpanded"),this.createAction("onRowCollapsing"),this.createAction("onRowCollapsed")},_beforeProcessItems:function(e){var t=this._columnsController.getGroupColumns();return(e=this.callBase(e)).length&&t.length&&(e=this._processGroupItems(e,t.length)),e},_processItem:function(e,t){return(0,c.isDefined)(e.groupIndex)&&(0,c.isString)(e.rowType)&&0===e.rowType.indexOf("group")?(e=this._processGroupItem(e,t),t.dataIndex=0):e=this.callBase.apply(this,arguments),e},_processGroupItem:function(e){return e},_processGroupItems:function(e,t,n){var i=this._columnsController.getGroupColumns(),r=i[i.length-t];if(!n){var o=this.option("scrolling.mode");n={collectContinuationItems:"virtual"!==o&&"infinite"!==o,resultItems:[],path:[],values:[]}}var s=n.resultItems;if(n.data&&(!n.collectContinuationItems&&n.data.isContinuation||s.push({rowType:"group",data:n.data,groupIndex:n.path.length-1,isExpanded:!!n.data.items,key:n.path.slice(0),values:n.values.slice(0)})),e)if(0===t)s.push.apply(s,e);else for(var a=0;a<e.length;a++){var l=e[a];l&&"items"in l?(n.data=l,n.path.push(l.key),n.values.push(r&&r.deserializeValue&&!r.calculateDisplayValue?r.deserializeValue(l.key):l.key),this._processGroupItems(l.items,t-1,n),n.data=void 0,n.path.pop(),n.values.pop()):s.push(l)}return s},publicMethods:function(){return this.callBase().concat(["collapseAll","expandAll","isRowExpanded","expandRow","collapseRow"])},collapseAll:function(e){var t=this._dataSource;t&&t.collapseAll(e)&&(t.pageIndex(0),t.reload())},expandAll:function(e){var t=this._dataSource;t&&t.expandAll(e)&&(t.pageIndex(0),t.reload())},changeRowExpand:function(e){var t=this,n=t.isRowExpanded(e),i={key:e,expanded:n};return t.executeAction(n?"onRowCollapsing":"onRowExpanding",i),i.cancel?(new h.Deferred).resolve():(0,h.when)(t._changeRowExpandCore(e)).done((function(){i.expanded=!n,t.executeAction(n?"onRowCollapsed":"onRowExpanded",i)}
1))},_changeRowExpandCore:function(e){var t=this,n=this._dataSource,i=new h.Deferred;return n?(0,h.when)(n.changeRowExpand(e)).done((function(){t.load().done(i.resolve).fail(i.reject)})).fail(i.reject):i.resolve(),i},isRowExpanded:function(e){var t=this._dataSource;return t&&t.isRowExpanded(e)},expandRow:function(e){return this.isRowExpanded(e)?(new h.Deferred).resolve():this.changeRowExpand(e)},collapseRow:function(e){return this.isRowExpanded(e)?this.changeRowExpand(e):(new h.Deferred).resolve()},optionChanged:function(e){"grouping"===e.name&&(e.name="dataSource"),this.callBase(e)}},_=function(e,t){var n=this._columnsController;switch(t.itemData.value){case"group":var i=n._dataSource.group()||[];n.columnOption(e.dataField,"groupIndex",i.length);break;case"ungroup":n.columnOption(e.dataField,"groupIndex",-1);break;case"ungroupAll":this.component.clearGrouping()}},b={_getToolbarItems:function(){var e=this.callBase();return this._appendGroupingItem(e)},_appendGroupingItem:function(e){var t=this;if(this._isGroupPanelVisible()){var n=!1;e.push({template:function(){var e=(0,i.default)("<div>").addClass("dx-datagrid-group-panel");return t._updateGroupPanelContent(e),(0,p.registerKeyboardAction)("groupPanel",t,e,void 0,t._handleActionKeyDown.bind(t)),e},name:"groupPanel",onItemRendered:function(){n&&t.renderCompleted.fire(),n=!0},location:"before",locateInMenu:"never",sortIndex:1})}return e},_handleActionKeyDown:function(e){var t=e.event,n=(0,i.default)(t.target),r=n.closest(".".concat("dx-group-panel-item")).index(),o=this._columnsController.getGroupColumns()[r],s=o&&o.index;n.is(".dx-header-filter")?this.getController("headerFilter").showHeaderFilterMenu(s,!0):this._processGroupItemAction(s),t.preventDefault()},_isGroupPanelVisible:function(){var e,t=this.option("groupPanel");return t&&"auto"===(e=t.visible)&&(e="desktop"===d.default.current().deviceType),e},_renderGroupPanelItems:function(e,t){var n=this;e.empty(),(0,u.each)(t,(function(t,i){n._createGroupPanelItem(e,i)})),(0,f.restoreFocus)(this)},_createGroupPanelItem:function(e,t){var n=(0,i.default)("<div>").addClass(t.cssClass).addClass("dx-group-panel-item").data("columnData",t).appendTo(e).text(t.caption);return(0,f.setTabIndex)(this,n),n},_columnOptionChanged:function(e){if(!this._requireReady&&!r.default.checkChanges(e.optionNames,["width","visibleWidth"])){var t=this.element(),n=t&&t.find(".dx-datagrid-group-panel");n&&n.length&&(this._updateGroupPanelContent(n),this.renderCompleted.fire())}this.callBase()},_updateGroupPanelContent:function(e){var t=this.getController("columns").getGroupColumns(),n=this.option("groupPanel");this._renderGroupPanelItems(e,t),n.allowColumnDragging&&!t.length&&((0,i.default)("<div>").addClass("dx-group-panel-message").text(n.emptyPanelText).appendTo(e),e.closest(".dx-toolbar-label").css("maxWidth","none"),this.updateToolbarDimensions())},allowDragging:function(e){var t=this.option("groupPanel");return this._isGroupPanelVisible()&&t.allowColumnDragging&&e&&e.allowGrouping},getColumnElements:function(){var e=this.element();return e&&e.find(".dx-group-panel-item")},getColumns:function(){return this.getController("columns").getGroupColumns()},getBoundingRect:function(){var e=this.element();if(e&&e.find(".dx-datagrid-group-panel").length){var t=e.offset();return{top:t.top,bottom:t.top+e.height()}}return null},getName:function(){return"group"},getContextMenuItems:function(e){var t,n=this.option("grouping.contextMenuEnabled"),r=(0,i.default)(e.targetElement).closest(".dx-group-panel-item");if(r.length&&(e.column=r.data("columnData")),n&&e.column){var o=e.column;if(!(0,c.isDefined)(o.allowGrouping)||o.allowGrouping){var s=(0,c.isDefined)(o.groupIndex)&&o.groupIndex>-1,a=this.option("grouping.texts"),l=_.bind(this,o);t=[{text:a.ungroup,value:"ungroup",disabled:!s,onItemClick:l},{text:a.ungroupAll,value:"ungroupAll",onItemClick:l}]}}return t},isVisible:function(){return this.callBase()||this._isGroupPanelVisible()},optionChanged:function(e){"groupPanel"===e.name?(this._invalidate(),e.handled=!0):this.callBase(e)}};t.GroupingHeaderPanelExtender=b,r.default.registerModule("grouping",{defaultOptions:function(){return{grouping:{autoExpandAll:!0,allowCollapsing:!0,contextMenuEnabled:!1,expandMode:"buttonClick",texts:{groupContinuesMessage:a.default.format("dxDataGrid-groupContinuesMessage"),groupContinuedMessage:a.default.format("dxDataGrid-groupContinuedMessage"),groupByThisColumn:a.default.format("dxDataGrid-groupHeaderText"),ungroup:a.default.format("dxDataGrid-u
1ngroupHeaderText"),ungroupAll:a.default.format("dxDataGrid-ungroupAllText")}},groupPanel:{visible:!1,emptyPanelText:a.default.format("dxDataGrid-groupPanelEmptyText"),allowColumnDragging:!0}}},extenders:{controllers:{data:g,columns:{_getExpandColumnOptions:function(){var e=this.callBase.apply(this,arguments);return e.cellTemplate=r.default.getExpandCellTemplate(),e}}},views:{headerPanel:b,rowsView:{getContextMenuItems:function(e){var t;if(this.option("grouping.contextMenuEnabled")&&e.row&&"group"===e.row.rowType){var n=this._columnsController.columnOption("groupIndex:"+e.row.groupIndex);if(n&&n.allowGrouping){var i=this.option("grouping.texts"),r=_.bind(this,n);(t=[]).push({text:i.ungroup,value:"ungroup",onItemClick:r},{text:i.ungroupAll,value:"ungroupAll",onItemClick:r})}}return t},_rowClick:function(e){var t=this.option("grouping.expandMode"),n="infinite"!==this.option("scrolling.mode")&&"rowClick"===t&&(0,i.default)(e.event.target).closest(".dx-group-row").length,r=(0,i.default)(e.event.target).closest(".dx-datagrid-expand").length;(n||r)&&this._changeGroupRowState(e),this.callBase(e)},_changeGroupRowState:function(e){var t=this.getController("data"),n=t.items()[e.rowIndex],i=this._columnsController.columnOption("groupIndex:"+n.groupIndex,"allowCollapsing");("data"===n.rowType||"group"===n.rowType&&!1!==i)&&(t.changeRowExpand(n.key),e.event.preventDefault(),e.handled=!0)}},columnHeadersView:{getContextMenuItems:function(e){var t=this.option("grouping.contextMenuEnabled"),n=this.callBase(e);if(t&&e.row&&("header"===e.row.rowType||"detailAdaptive"===e.row.rowType)){var i=e.column;if(!i.command&&(!(0,c.isDefined)(i.allowGrouping)||i.allowGrouping)){var r=this.option("grouping.texts"),o=(0,c.isDefined)(i.groupIndex)&&i.groupIndex>-1,s=_.bind(this,i);(n=n||[]).push({text:r.groupByThisColumn,value:"group",beginGroup:!0,disabled:o,onItemClick:s}),i.showWhenGrouped&&n.push({text:r.ungroup,value:"ungroup",disabled:!o,onItemClick:s}),n.push({text:r.ungroupAll,value:"ungroupAll",onItemClick:s})}}return n}}}}})},yPMs:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},yUp2:function(e,t,n){"use strict";var i=n("FKN7"),r=function(e,t){for(var n=function(e){var t=e.children(".dx-inkripple");return 0===t.length&&(t=i("<div>").addClass("dx-inkripple").appendTo(e)),t}(e),r=n.children(".dx-inkripple-wave").toArray(),o=r.length;o<t;o++){var s=i("<div>").appendTo(n).addClass("dx-inkripple-wave");r.push(s[0])}return i(r)},o=function(e,t){var n=r(t.element,e.wavesNumber).eq(t.wave||0);e.hidingTimeout&&clearTimeout(e.hidingTimeout),a(n),n.css(function(e,t){var n,i,r=t.element,o=r.outerWidth(),s=r.outerHeight(),a=parseInt(Math.sqrt(o*o+s*s)),l=Math.min(4e3,parseInt(a*e.waveSizeCoefficient));if(e.isCentered)n=(o-l)/2,i=(s-l)/2;else{var c=t.event,u=t.element.offset();n=c.pageX-u.left-l/2,i=c.pageY-u.top-l/2}return{left:n,top:i,height:l,width:l}}(e,t)),e.showingTimeout=setTimeout(s.bind(this,e,n),0)},s=function(e,t){var n=e.durations.showingScale+"ms";t.addClass("dx-inkripple-showing").css("transitionDuration",n)},a=function(e){e.removeClass("dx-inkripple-hiding").css("transitionDuration","")},l=function(e,t){e.showingTimeout&&clearTimeout(e.showingTimeout);var n=r(t.element,t.wavesNumber).eq(t.wave||0),i=e.durations,o=i.hidingScale+"ms, "+i.hidingOpacity+"ms";n.addClass("dx-inkripple-hiding").removeClass("dx-inkripple-showing").css("transitionDuration",o);var s=Math.max(i.hidingScale,i.hidingOpacity);e.hidingTimeout=setTimeout(a.bind(this,n),s)};e.exports={render:function(e){void 0===(e=e||{}).useHoldAnimation&&(e.useHoldAnimation=!0);var t,n={waveSizeCoefficient:e.waveSizeCoefficient||2,isCentered:e.isCentered||!1,wavesNumber:e.wavesNumber||1,durations:(t=e.useHoldAnimation,{showingScale:t?1e3:300,hidingScale:300,hidingOpacity:300})};return{showWave:o.bind(this,n),hideWave:l.bind(this,n)}}}},yVMT:function(e,t,n){"use strict";var i=C(n("FKN7")),r=C(n("tUd6")),o=C(n("jeLr")),s=C(n("v4HY")),a=n("gpjr"),l=n("ti0F"),c=n("1LL4"),u=n("XpgS"),d=n("zl3R"),h=C(n("+6qP")),p=C(n("Lci2")),f=C(n("JDOJ")),m=C(n("T4bj")),g=C(n("gKXv")),_=C(n("iQIv")),b=C(n("2Fn2")),v=C(n("D8Ap")),y=n("tJvG"),w=C(n("XWCB"));
1function C(e){return e&&e.__esModule?e:{default:e}}var x=["dx-editor-outlined","dx-editor-filled","dx-editor-underlined"],S=["KeyDown","KeyPress","KeyUp","Change","Cut","Copy","Paste","Input"],k=["tab","enter","shift","control","alt","escape","pageUp","pageDown","end","home","leftArrow","upArrow","rightArrow","downArrow"];function T(e){if((0,l.isDefined)(e)&&!Array.isArray(e))throw v.default.Error("E1053")}var E=p.default.inherit({ctor:function(e,t){t&&T(t.buttons),this._buttonCollection=new _.default(this,this._getDefaultButtons()),this._$beforeButtonsContainer=null,this._$afterButtonsContainer=null,this.callBase.apply(this,arguments)},_getDefaultOptions:function(){return(0,c.extend)(this.callBase(),{buttons:void 0,value:"",spellcheck:!1,showClearButton:!1,valueChangeEvent:"change",placeholder:"",inputAttr:{},onFocusIn:null,onFocusOut:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onChange:null,onInput:null,onCut:null,onCopy:null,onPaste:null,onEnterKey:null,mode:"text",hoverStateEnabled:!0,focusStateEnabled:!0,text:void 0,displayValueFormatter:function(e){return(0,l.isDefined)(e)&&!1!==e?e:""},stylingMode:(0,b.default)().editorStylingMode||"outlined"})},_defaultOptionsRules:function(){var e=h.default.current();return this.callBase().concat([{device:function(){return h.default.isMaterial(e)},options:{stylingMode:(0,b.default)().editorStylingMode||"underlined"}}])},_getDefaultButtons:function(){return[{name:"clear",Ctor:g.default}]},_isClearButtonVisible:function(){return this.option("showClearButton")&&!this.option("readOnly")},_input:function(){return this.$element().find(".dx-texteditor-input").first()},_isFocused:function(){return(0,a.focused)(this._input())||this.callBase()},_inputWrapper:function(){return this.$element()},_buttonsContainer:function(){return this._inputWrapper().find(".dx-texteditor-buttons-container").eq(0)},_isControlKey:function(e){return-1!==k.indexOf(e)},_renderStylingMode:function(){var e=this,t=this.option("stylingMode");x.forEach((function(t){return e.$element().removeClass(t)}));var n="dx-editor-"+t;if(-1===x.indexOf(n)){var i=this._getDefaultOptions().stylingMode;n="dx-editor-"+(this._convertRulesToOptions(this._defaultOptionsRules()).stylingMode||i)}this.$element().addClass(n),this._updateButtonsStyling(t)},_initMarkup:function(){this.$element().addClass("dx-texteditor"),this._renderInput(),this._renderStylingMode(),this._renderInputType(),this._renderPlaceholder(),this._renderProps(),this.callBase(),this._renderValue()},_render:function(){this._renderPlaceholder(),this._refreshValueChangeEvent(),this._renderEvents(),this._renderEnterKeyAction(),this._renderEmptinessEvent(),this.callBase()},_renderInput:function(){this._$textEditorContainer=(0,i.default)("<div>").addClass("dx-texteditor-container").appendTo(this.$element()),this._$textEditorInputContainer=(0,i.default)("<div>").addClass("dx-texteditor-input-container").appendTo(this._$textEditorContainer),this._$textEditorInputContainer.append(this._createInput()),this._renderButtonContainers()},_getInputContainer:function(){return this._$textEditorInputContainer},_renderPendingIndicator:function(){this.$element().addClass("dx-validation-pending");var e=this._getInputContainer(),t=(0,i.default)("<div>").addClass("dx-pending-indicator").appendTo(e);this._pendingIndicator=this._createComponent(t,w.default)},_disposePendingIndicator:function(){this._pendingIndicator&&(this._pendingIndicator.dispose(),this._pendingIndicator.$element().remove(),this._pendingIndicator=null,this.$element().removeClass("dx-validation-pending"))},_renderValidationState:function(){this.callBase();var e="pending"===this.option("validationStatus"),t=this.$element();e?(!this._pendingIndicator&&this._renderPendingIndicator(),this._showValidMark=!1):("invalid"===this.option("validationStatus")&&(this._showValidMark=!1),this._showValidMark||(this._showValidMark="valid"===this.option("validationStatus")&&!!this._pendingIndicator),this._disposePendingIndicator()),t.toggleClass("dx-valid",this._showValidMark)},_renderButtonContainers:function(){var e=this.option("buttons");this._$beforeButtonsContainer=this._buttonCollection.renderBeforeButtons(e,this._$textEditorContainer),this._$afterButtonsContainer=this._buttonCollection.renderAfterButtons(e,this._$textEditorContainer)},_clean:function(){this._buttonCollection.clean(),this._disposePendingIndicator(),this._$beforeButtonsContainer=null,this._$afterButtonsContainer=null,this._$textEditorContainer=null,this.callBase()},_createInput:function(){var e=(0,i.default)("<input>");return this._applyInputAttributes(e,this.option("inputAttr")),e},_setSubmitElementName:function(e){var t=this.option("inputAttr.name");return this.callBase(e||t||"")},_applyInputAttributes:function(e,t){e.attr("autocomplete","off").attr(t).addClass("dx-texteditor-input").css("minHeight",this.option("height")?"0":"")},_updateButtons:function(e){this._buttonCollection.updateButtons(e)},_updateButtonsStyling:function(e){var t=this;
1(0,d.each)(this.option("buttons"),(function(n,i){if(i.options&&!i.options.stylingMode){var r=t.getButton(i.name);r.option&&r.option("stylingMode","underlined"===e?"text":"contained")}}))},_renderValue:function(){return this._renderInputValue().promise()},_renderInputValue:function(e){e=e||this.option("value");var t=this.option("text"),n=this.option("displayValue"),i=this.option("displayValueFormatter");return void 0!==n&&null!==e?t=i(n):(0,l.isDefined)(t)||(t=i(e)),this.option("text",t),this._input().val()!==((0,l.isDefined)(t)?t:"")?this._renderDisplayText(t):this._toggleEmptinessEventHandler(),(new y.Deferred).resolve()},_renderDisplayText:function(e){this._input().val(e),this._toggleEmptinessEventHandler()},_isValueValid:function(){if(this._input().length){var e=this._input().get(0).validity;if(e)return e.valid}return!0},_toggleEmptiness:function(e){this.$element().toggleClass("dx-texteditor-empty",e),this._togglePlaceholder(e)},_togglePlaceholder:function(e){this._$placeholder&&this._$placeholder.toggleClass("dx-state-invisible",!e)},_renderProps:function(){this._toggleReadOnlyState(),this._toggleSpellcheckState(),this._toggleTabIndex()},_toggleDisabledState:function(e){this.callBase.apply(this,arguments);var t=this._input();e?t.attr("disabled",!0):t.removeAttr("disabled")},_toggleTabIndex:function(){var e=this._input(),t=this.option("disabled"),n=this.option("focusStateEnabled");t||!n?e.attr("tabIndex",-1):e.removeAttr("tabIndex")},_toggleReadOnlyState:function(){this._input().prop("readOnly",this._readOnlyPropValue()),this.callBase()},_readOnlyPropValue:function(){return this.option("readOnly")},_toggleSpellcheckState:function(){this._input().prop("spellcheck",this.option("spellcheck"))},_renderPlaceholder:function(){this._renderPlaceholderMarkup(),this._attachPlaceholderEvents()},_renderPlaceholderMarkup:function(){this._$placeholder&&(this._$placeholder.remove(),this._$placeholder=null);var e=this._input(),t=this.option("placeholder"),n=this._$placeholder=(0,i.default)("<div>").attr("data-dx_placeholder",t);n.insertAfter(e),n.addClass("dx-placeholder")},_attachPlaceholderEvents:function(){var e=this,t=f.default.addNamespace(m.default.up,this.NAME);o.default.on(this._$placeholder,t,(function(){o.default.trigger(e._input(),"focus")})),this._toggleEmptinessEventHandler()},_placeholder:function(){return this._$placeholder||(0,i.default)()},_clearValueHandler:function(e){var t=this._input();e.stopPropagation(),this._saveValueChangeEvent(e),this._clearValue(),!this._isFocused()&&o.default.trigger(t,"focus"),o.default.trigger(t,"input")},_clearValue:function(){this.reset()},_renderEvents:function(){var e=this,t=this._input();(0,d.each)(S,(function(n,i){if(e.hasActionSubscription("on"+i)){var r=e._createActionByOption("on"+i,{excludeValidators:["readOnly"]});o.default.on(t,f.default.addNamespace(i.toLowerCase(),e.NAME),(function(t){e._disposed||r({event:t})}))}}))},_refreshEvents:function(){var e=this,t=this._input();(0,d.each)(S,(function(n,i){o.default.off(t,f.default.addNamespace(i.toLowerCase(),e.NAME))})),this._renderEvents()},_keyPressHandler:function(){this.option("text",this._input().val())},_keyDownHandler:function(e){var t=this._input(),n=e.ctrlKey&&"enter"===f.default.normalizeKeyName(e),i=t.val()!==this.option("value");n&&i&&o.default.trigger(t,"change")},_renderValueChangeEvent:function(){var e=f.default.addNamespace(this._renderValueEventName(),"".concat(this.NAME,"TextChange")),t=f.default.addNamespace(this.option("valueChangeEvent"),"".concat(this.NAME,"ValueChange")),n=f.default.addNamespace("keydown","".concat(this.NAME,"TextChange")),i=this._input();o.default.on(i,e,this._keyPressHandler.bind(this)),o.default.on(i,t,this._valueChangeEventHandler.bind(this)),o.default.on(i,n,this._keyDownHandler.bind(this))},_cleanValueChangeEvent:function(){var e=".".concat(this.NAME,"ValueChange"),t=".".concat(this.NAME,"TextChange");o.default.off(this._input(),e),o.default.off(this._input(),t)},_refreshValueChangeEvent:function(){this._cleanValueChangeEvent(),this._renderValueChangeEvent()},_renderValueEventName:function(){return"input change keypress"},_focusTarget:function(){return this._input()}
1,_focusEventTarget:function(){return this.element()},_preventNestedFocusEvent:function(e){if(e.isDefaultPrevented())return!0;var t=this._isNestedTarget(e.relatedTarget);return"focusin"===e.type&&(t=t&&this._isNestedTarget(e.target)),t&&e.preventDefault(),t},_isNestedTarget:function(e){return!!this.$element().find(e).length},_focusClassTarget:function(){return this.$element()},_focusInHandler:function(e){this._preventNestedFocusEvent(e),this.callBase.apply(this,arguments)},_focusOutHandler:function(e){this._preventNestedFocusEvent(e),this.callBase.apply(this,arguments)},_toggleFocusClass:function(e,t){this.callBase(e,this._focusClassTarget(t))},_hasFocusClass:function(e){return this.callBase((0,i.default)(e||this.$element()))},_renderEmptinessEvent:function(){var e=this._input();o.default.on(e,"input blur",this._toggleEmptinessEventHandler.bind(this))},_toggleEmptinessEventHandler:function(){var e=this._input().val(),t=(""===e||null===e)&&this._isValueValid();this._toggleEmptiness(t)},_valueChangeEventHandler:function(e,t){this._saveValueChangeEvent(e),this.option("value",arguments.length>1?t:this._input().val()),this._saveValueChangeEvent(void 0)},_renderEnterKeyAction:function(){this._enterKeyAction=this._createActionByOption("onEnterKey",{excludeValidators:["readOnly"]}),o.default.off(this._input(),"keyup.onEnterKey.dxTextEditor"),o.default.on(this._input(),"keyup.onEnterKey.dxTextEditor",this._enterKeyHandlerUp.bind(this))},_enterKeyHandlerUp:function(e){this._disposed||"enter"===f.default.normalizeKeyName(e)&&this._enterKeyAction({event:e})}
1,_updateValue:function(){this.option("text",void 0),this._renderValue()},_dispose:function(){this._enterKeyAction=void 0,this.callBase()},_getSubmitElement:function(){return this._input()},_optionChanged:function(e){var t=e.name;if((0,u.inArray)(t.replace("on",""),S)>-1)this._refreshEvents();else switch(t){case"valueChangeEvent":this._refreshValueChangeEvent(),this._refreshFocusEvent(),this._refreshEvents();break;case"onValueChanged":this._createValueChangeAction();break;case"focusStateEnabled":this.callBase(e),this._toggleTabIndex();break;case"spellcheck":this._toggleSpellcheckState();break;case"mode":this._renderInputType();break;case"onEnterKey":this._renderEnterKeyAction();break;case"placeholder":this._renderPlaceholder();break;case"readOnly":case"disabled":this._updateButtons(),this.callBase(e);break;case"showClearButton":this._updateButtons(["clear"]);break;case"text":break;case"value":this._updateValue(),this.callBase(e);break;case"inputAttr":this._applyInputAttributes(this._input(),e.value);break;case"stylingMode":this._renderStylingMode();break;case"buttons":e.fullName===e.name&&T(e.value),this._$beforeButtonsContainer&&this._$beforeButtonsContainer.remove(),this._$afterButtonsContainer&&this._$afterButtonsContainer.remove(),this._buttonCollection.clean(),this._renderButtonContainers();break;case"displayValueFormatter":this._invalidate();break;default:this.callBase(e)}},_renderInputType:function(){this._setInputType(this.option("mode"))},_setInputType:function(e){var t=this._input();"search"===e&&(e="text");try{t.prop("type",e)}catch(n){t.prop("type","text")}},getButton:function(e){return this._buttonCollection.getButton(e)},focus:function(){o.default.trigger(this._input(),"focus")},blur:function(){this._input().is(r.default.getActiveElement())&&s.default.resetActiveElement()},reset:function(){this._showValidMark&&(this._showValidMark=!1,this._renderValidationState());var e=this._getDefaultOptions();this.option("value")===e.value?(this.option("text",""),this._renderValue()):this.option("value",e.value)},on:function(e,t){var n=this.callBase(e,t),i=e.charAt(0).toUpperCase()+e.substr(1);return S.indexOf(i)>=0&&this._refreshEvents(),n}});e.exports=E},yjKC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}}},ynD9:function(e,t,n){"use strict";e.exports=n("fwRs"),e.exports.default=e.exports},yui9:function(e,t,n){"use strict";var i,r,o=b(n("FKN7")),s=b(n("GYHJ")),a=b(n("8S5z")),l=b(n("V2fm")),c=b(n("JZex")),u=b(n("D8Ap")),d=n("KAnu"),h=n("zl3R"),p=b(n("ti0F")),f=n("1LL4"),m=b(n("OdII")),g=n("tJvG"),_=n("m+fQ");function b(e){return e&&e.__esModule?e:{default:e}}e.exports={defaultOptions:function(){return{loadingTimeout:0,dataSource:null,cacheEnabled:!0,repaintChangesOnly:!1,highlightChanges:!1,onDataErrorOccurred:null,remoteOperations:"auto",paging:{enabled:!0,pageSize:void 0,pageIndex:void 0}}},controllers:{data:s.default.Controller.inherit({}).include(m.default).inherit((i=function(e,t,n){var i=e._dataSource;return i?void 0!==n?i[t]()!==n?("pageSize"===t&&i.pageIndex(0),i[t](n),e._skipProcessingPagingChange=!0,e.option("paging."+t,n),e._skipProcessingPagingChange=!1,i["pageIndex"===t?"load":"reload"]().done(e.pageChanged.fire.bind(e.pageChanged))):(0,g.Deferred)().resolve().promise():i[t]():0},r={init:function(){var e=this;e._items=[],e._columnsController=e.getController("columns"),e._columnsChangedHandler=e._handleColumnsChanged.bind(e),e._dataChangedH
1andler=e._handleDataChanged.bind(e),e._loadingChangedHandler=e._handleLoadingChanged.bind(e),e._loadErrorHandler=e._handleLoadError.bind(e),e._customizeStoreLoadOptionsHandler=e._handleCustomizeStoreLoadOptions.bind(e),e._changingHandler=e._handleChanging.bind(e),e._columnsController.columnsChanged.add(e._columnsChangedHandler),e._isLoading=!1,e._isCustomLoading=!1,e._repaintChangesOnly=void 0,e._changes=[],e.createAction("onDataErrorOccurred"),e.dataErrorOccurred.add((function(t){return e.executeAction("onDataErrorOccurred",{error:t})})),e._refreshDataSource()},callbackNames:function(){return["changed","loadingChanged","dataErrorOccurred","pageChanged","dataSourceChanged"]},callbackFlags:function(e){if("dataErrorOccurred"===e)return{stopOnFalse:!0}},publicMethods:function(){return["beginCustomLoading","endCustomLoading","refresh","filter","clearFilter","getCombinedFilter","keyOf","byKey","getDataByKeys","pageIndex","pageSize","pageCount","totalCount","_disposeDataSource","getKeyByRowIndex","getRowIndexByKey","getDataSource","getVisibleRows","repaintRows"]},reset:function(){this._columnsController.reset(),this._items=[],this._refreshDataSource()},optionChanged:function(e){var t;function n(){e.handled=!0}if("dataSource"===e.name&&e.name===e.fullName&&(e.value===e.previousValue||this.option("columns")&&Array.isArray(e.value)&&Array.isArray(e.previousValue))){if(e.value!==e.previousValue){var i=this.store();i&&(i._array=e.value)}return n(),void this.refresh(this.option("repaintChangesOnly"))}switch(e.name){case"cacheEnabled":case"repaintChangesOnly":case"highlightChanges":case"loadingTimeout":n();break;case"remoteOperations":case"keyExpr":case"dataSource":case"scrolling":n(),this.reset();break;case"paging":(t=this.dataSource())&&this._setPagingOptions(t)&&t.load().done(this.pageChanged.fire.bind(this.pageChanged)),n();break;case"rtlEnabled":this.reset();break;case"columns":(t=this.dataSource())&&t.isLoading()&&e.name===e.fullName&&t.load();break;default:this.callBase(e)}},isReady:function(){return!this._isLoading},getDataSource:function(){return this._dataSource&&this._dataSource._dataSource},getCombinedFilter:function(e){return this.combinedFilter(void 0,e)},combinedFilter:function(e,t){var n=this._dataSource,i=this._columnsController;if(n){void 0===e&&(e=n.filter());var r=this._calculateAdditionalFilter();r&&(i.isDataSourceApplied()||i.isAllDataTypesDefined())&&(e=a.default.combineFilters([r,e])),e=i.updateFilter(e,t||n.remoteOperations().filtering)}return e},waitReady:function(){return this._updateLockCount?(this._readyDeferred=new g.Deferred,this._readyDeferred):(0,g.when)()},_endUpdateCore:function(){var e=this._changes;if(e.length){this._changes=[];var t=e.every((function(e){return e.repaintChangesOnly}));this.updateItems(1===e.length?e[0]:{repaintChangesOnly:t})}this._readyDeferred&&(this._readyDeferred.resolve(),this._readyDeferred=null)},_handleCustomizeStoreLoadOptions:function(e){var t=this._columnsController,n=this._dataSource,i=e.storeLoadOptions;e.isCustomLoading&&!i.isLoadingAll||(i.filter=this.combinedFilter(i.filter),t.isDataSourceApplied()||t.updateColumnDataTypes(n),this._columnsUpdating=!0,t.updateSortingGrouping(n,!this._isFirstLoading),this._columnsUpdating=!1,i.sort=t.getSortDataSourceParameters(),i.group=t.getGroupDataSourceParameters(),n.sort(i.sort),n.group(i.group),i.sort=t.getSortDataSourceParameters(!n.remoteOperations().sorting),e.group=t.getGroupDataSourceParameters(!n.remoteOperations().grouping))},_handleColumnsChanged:function(e){var t,n,i,r=this,o=e.changeTypes,s=e.optionNames;if(o.sorting||o.grouping)r._dataSource&&!r._columnsUpdating&&(r._dataSource.group(r._columnsController.getGroupDataSourceParameters()),r._dataSource.sort(r._columnsController.getSortDataSourceParameters()),r.reload());else if(o.columns&&((s.filterValues||s.filterValue||s.selectedFilterOperation)&&(t=r._columnsController.columnOption(e.columnIndex,"filterValue"),n=r._columnsController.columnOption(e.columnIndex,"filterValues"),(Array.isArray(n)||void 0===e.columnIndex||p.default.isDefined(t)||!s.selectedFilterOperation||s.filterValue)&&(r._applyFilter(),i=!0)),r._needApplyFilter||a.default.checkChanges(s,["width","visibleWidth","filterValue","bufferedFilterValue","selectedFilterOperation","filterValues","filterType"])||r._columnsController.columnsChanged.add((function e(){r._columnsController.columnsChanged.remove(e),r.updateItems()})),p.default.isDefined(s.visible))){var l=r._columnsController.columnOption(e.columnIndex);l&&(p.default.isDefined(l.filterValue)||p.default.isDefined(l.filterValues))&&(r._applyFilter(),i=!0)}!i&&o.filtering&&r.reload()},_handleDataChanged:function(e){var t=this,n=t._dataSource,i=t._columnsController,r=!1;this._isFirstLoading=!1,n&&!t._isDataSourceApplying&&(t._isDataSourceApplying=!0,(0,g.when)(t._columnsController.applyDataSource(n)).done((function(){t._isLoading&&t._handleLoadingChanged(!1),r&&e&&e.isDelayed&&(e.isDelayed=!1),t._isDataSourceApplying=!1;var n,i=t._needApplyFilter;t._needApplyFilter=!1,i&&!t._isAllDataTypesDefined&&(n=t._calculateAdditionalFilter())&&n.length?(u.default.log("W1005",t.component.NAME),t._applyFilter()):t.updateItems(e,!0)})).fail((function(){t._isDataSourceApplying=!1})),t._isDataSourceApplying&&(r=!0,t._handleLoadingChanged(!0)),t._needApplyFilter=!t._columnsController.isDataSourceApplied(),t._isAllDataTypesDefined=i.isAllDataTypesDefined())},_handleLoadingChanged:function(e){this._isLoading=e,this._fireLoadingChanged()},_handleLoadError:function(e){this.dataErrorOccurred.fire(e)},fireError:function(){this.dataErrorOccurred.fire(u.default.Error.apply(u.default,arguments))},_setPagingOptions:function(e){var t=this.option("paging.pageIndex"),n=this.option("paging.pageSize"),i=this.option("paging.enabled"),r=this.option("scrolling.mode"),o="infinite"===r,s=i||"virtual"===r||o,a=!1;return e.requireTotalCount(!o),void 0!==i&&e.paginate()!==s&&(e.paginate(s),a=!0),void 0!==n&&e.pageSize()!==n&&(e.pageSize(n),a=!0),void 0!==t&&e.pageIndex()!==t&&(e.pageIndex(t),a=!0),a},_getSpecificDataSourceOption:function(){var e=this.option("dataSource");return Array.isArray(e)?{store:{type:"array",data:e,key:this.option("keyExpr")}}:e},_initDataSource:function(){var e=this.option("dataSource"),t=this._dataSource;this.callBase(),e=this._dataSource,this._isFirstLoading=!0,e?(this._setPagingOptions(e),this.setDataSource(e)):t&&this.updateItems()}
1,_loadDataSource:function(){var e=this._dataSource,t=new g.Deferred;return(0,g.when)(this._columnsController.refresh(!0)).always((function(){e?e.load().done(t.resolve).fail(t.reject):t.resolve()})),t.promise()},_beforeProcessItems:function(e){return e.slice(0)},getRowIndexDelta:function(){return 0},_processItems:function(e,t){var n=this,i=n.getRowIndexDelta(),r=t.changeType,o=n._columnsController.getVisibleColumns(null,"loadingAll"===r),s=n._items,a={visibleColumns:o,dataIndex:"append"===r&&s.length>0?s[s.length-1].dataIndex+1:0},l=[];return(0,h.each)(e,(function(e,t){p.default.isDefined(t)&&(a.rowIndex=e-i,t=n._processItem(t,a),l.push(t))})),l},_processItem:function(e,t){return e=this._generateDataItem(e,t),(e=this._processDataItem(e,t)).dataIndex=t.dataIndex++,e},_generateDataItem:function(e){return{rowType:"data",data:e,key:this.keyOf(e)}},_processDataItem:function(e,t){return e.values=this.generateDataValues(e.data,t.visibleColumns),e},generateDataValues:function(e,t,n){for(var i,r=[],o=0;o<t.length;o++){var s=t[o];i=n?void 0:null,s.command||(s.calculateCellValue?i=s.calculateCellValue(e):s.dataField&&(i=e[s.dataField])),r.push(i)}return r},_applyChange:function(e){"update"===e.changeType?this._applyChangeUpdate(e):this.items().length&&e.repaintChangesOnly&&"refresh"===e.changeType?this._applyChangesOnly(e):"refresh"===e.changeType&&this._applyChangeFull(e)},_applyChangeFull:function(e){this._items=e.items.slice(0)},_getRowIndices:function(e){var t=e.rowIndices.slice(0),n=this.getRowIndexDelta();t.sort((function(e,t){return e-t}));for(var i=0;i<t.length;i++){var r=t[i];e.allowInvisibleRowIndices&&(r+=n),r<0&&(t.splice(i,1),i--)}return t},_applyChangeUpdate:function(e){var t,n=this,i=e.items,r=n._getRowIndices(e),o=n.getRowIndexDelta(),s=n.option("repaintChangesOnly"),a=-1,l=0;e.items=[],e.rowIndices=[],e.columnIndices=[],e.changeTypes=[];var c=function(e,t,n){var i=e&&t&&(0,d.equalByValue)(e.key,t.key);return i&&n&&(i=e.rowType===t.rowType&&("detail"!==t.rowType||e.isEditing===t.isEditing)),i};(0,h.each)(r,(function(r,u){var d;if(a!==(u+=l+o)){a=u;var h=n._items[u],p=n._items[u+1],f=i[u],m=i[u+1],g=c(h,p)||c(f,m);if(f&&(f.rowIndex=u,e.items.push(f)),h&&f&&c(h,f,g))t="update",n._items[u]=f,h.visible!==f.visible?e.items.splice(-1,1,{visible:f.visible}):s&&!e.isFullUpdate&&(d=n._partialUpdateRow(h,f,u-o));else if(f&&!h||m&&c(h,m,g))t="insert",n._items.splice(u,0,f),l++;else if(h&&!f||p&&c(f,p,g))t="remove",n._items.splice(u,1),l--,a=-1;else{if(!f)return;t="update",n._items[u]=f}e.rowIndices.push(u-o),e.changeTypes.push(t),e.columnIndices.push(d)}}))},_isCellChanged:function(e,t,n,i,r){if(JSON.stringify(e.values[i])!==JSON.stringify(t.values[i]))return!0;function o(e,t){return!!e.modifiedValues&&void 0!==e.modifiedValues[t]}return o(e,i)!==o(t,i)},_getChangedColumnIndices:function(e,t,n,i){if(e.rowType===t.rowType&&"group"!==t.rowType&&"groupFooter"!==t.rowType){var r=[];if("detail"!==t.rowType)for(var o=0;o<e.values.length;o++)this._isCellChanged(e,t,n,o,i)&&r.push(o);return r}},_partialUpdateRow:function(e,t,n,i){var r=this._getChangedColumnIndices(e,t,n,i);return r&&(e.cells&&e.cells.forEach((function(e,n){!(r.indexOf(n)>=0)&&e&&e.update&&e.update(t)})),t.update=e.update,t.watch=e.watch,t.cells=e.cells,i&&(t.oldValues=e.values),e.update&&e.update(t)),r},_isItemEquals:function(e,t){return JSON.stringify(e.values)===JSON.stringify(t.values)&&!["modified","isNewRow","removed","isEditing"].some((function(n){return e[n]!==t[n]}))&&("group"!==e.rowType&&"groupFooter"!==e.rowType||e.isExpanded===t.isExpanded&&JSON.stringify(e.summaryCells)===JSON.stringify(t.summaryCells))},_applyChangesOnly:function(e){var t=this,n=[],i=[],r=[],o=[],s={};function a(e){if(e)return e.rowType+","+JSON.stringify(e.key)}var l=this._items.slice();e.items.forEach((function(e,t){var n=a(e);s[n]=t,e.rowIndex=t}));var c=(0,_.findChanges)(l,e.items,a,(function(e,n){return!!t._isItemEquals(e,n)&&(e.cells&&(e.update&&e.update(n),e.cells.forEach((function(e){e&&e.update&&e.update(n)}))),!0)}));c?(c.forEach((function(e){switch(e.type){case"update":var s=e.index,a=e.data,l=t._partialUpdateRow(e.oldItem,a,s,!0);n.push(s),r.push("update"),o.push(a),t._items[s]=a,i.push(l);break;case"insert":n.push(e.index),r.push("insert"),o.push(e.data),i.push(void 0),t._items.splice(e.index,0,e.data);break;case"remove":n.push(e.index),r.push("remove"),t._items.splice(e.index,1),o.push(e.oldItem),i.push(void 0)}})),e.repaintChangesOnly=!0,e.changeType="update",e.rowIndices=n,e.columnIndices=i,e.changeTypes=r,e.items=o,l.length&&(e.isLiveUpdate=!0),this._correctRowIndices((function(e){var t=a(l[e]),n=s[t];return n>=0?n-e:0}))):this._applyChangeFull(e)},_correctRowIndices:d.noop,_updateItemsCore:function(e){var t,n=this._dataSource;if(e.changeType=e.changeType||"refresh",n){t=e.items||n.items(),t=this._beforeProcessItems(t),t=this._processItems(t,e),e.items=t;var i=this._items.length===t.length&&this._items;this._applyChange(e);var r=this.getRowIndexDelta();(0,h.each)(this._items,(function(e,t){t.rowIndex=e-r,i&&(t.cells=i[e].cells||[])}))}else this._items=[]},_handleChanging:function(e){var t=this.getVisibleRows();
1this.dataSource()&&e.changes.forEach((function(e){if("insert"===e.type&&e.index>=0){for(var n=0,i=0;i<e.index;i++){var r=t[i];!r||"data"!==r.rowType&&"group"!==r.rowType||n++}e.index=n}}))},updateItems:function(e,t){if(e=e||{},void 0!==this._repaintChangesOnly)e.repaintChangesOnly=this._repaintChangesOnly;else if(e.changes)e.repaintChangesOnly=this.option("repaintChangesOnly");else if(t){var n=this.dataSource().operationTypes();e.repaintChangesOnly=n&&!n.grouping&&!n.filtering&&this.option("repaintChangesOnly"),e.isDataChanged=!0,n&&(n.reload||n.paging||n.groupExpanding)&&(e.needUpdateDimensions=!0)}this._updateLockCount?this._changes.push(e):(this._updateItemsCore(e),e.cancel||this._fireChanged(e))},loadingOperationTypes:function(){var e=this.dataSource();return e&&e.loadingOperationTypes()||{}},_fireChanged:function(e){var t=this;(0,d.deferRender)((function(){t.changed.fire(e)}))},isLoading:function(){return this._isLoading||this._isCustomLoading},_fireLoadingChanged:function(){this.loadingChanged.fire(this.isLoading(),this._loadingText)},_calculateAdditionalFilter:function(){return null},_applyFilter:function(){var e=this._dataSource;if(e)return e.pageIndex(0),this.reload().done(this.pageChanged.fire.bind(this.pageChanged))},filter:function(e){var t=this._dataSource,n=t&&t.filter();if(0===arguments.length)return n;e=arguments.length>1?Array.prototype.slice.call(arguments,0):e,a.default.equalFilterParameters(n,e)||(t&&t.filter(e),this._applyFilter())},clearFilter:function(e){var t=this,n=t._columnsController,i=function(e){for(var t=n.columnCount(),i=0;i<t;i++)n.columnOption(i,e,void 0)};if(t.component.beginUpdate(),arguments.length>0)switch(e){case"dataSource":t.filter(null);break;case"search":t.searchByText("");break;case"header":i("filterValues");break;case"row":i("filterValue")}else t.filter(null),t.searchByText(""),i("filterValue"),i("bufferedFilterValue"),i("filterValues");t.component.endUpdate()},_fireDataSourceChanged:function(){var e=this;e.changed.add((function t(){e.changed.remove(t),e.dataSourceChanged.fire()}))},_getDataSourceAdapter:d.noop,_createDataSourceAdapterCore:function(e,t){var n=this._getDataSourceAdapter().create(this.component);return n.init(e,t),n},isLocalStore:function(e){return(e=e||this.store())instanceof l.default},isCustomStore:function(e){return(e=e||this.store())instanceof c.default},_createDataSourceAdapter:function(e){var t=this.option("remoteOperations"),n=e.store(),i={filtering:!0,sorting:!0,paging:!0,grouping:!0,summary:!0};return t&&t.groupPaging&&(t=(0,f.extend)({},i,t)),"auto"===t&&(t=this.isLocalStore(n)||this.isCustomStore(n)?{}:{filtering:!0,sorting:!0,paging:!0}),!0===t&&(t=i),this._createDataSourceAdapterCore(e,t)},setDataSource:function(e){var t=this._dataSource;
1!e&&t&&(t.changed.remove(this._dataChangedHandler),t.loadingChanged.remove(this._loadingChangedHandler),t.loadError.remove(this._loadErrorHandler),t.customizeStoreLoadOptions.remove(this._customizeStoreLoadOptionsHandler),t.changing.remove(this._changingHandler),t.cancelAll(),t.dispose(this._isSharedDataSource)),e&&(e=this._createDataSourceAdapter(e)),this._dataSource=e,e&&(this._fireDataSourceChanged(),this._isLoading=!e.isLoaded(),this._needApplyFilter=!0,this._isAllDataTypesDefined=this._columnsController.isAllDataTypesDefined(),e.changed.add(this._dataChangedHandler),e.loadingChanged.add(this._loadingChangedHandler),e.loadError.add(this._loadErrorHandler),e.customizeStoreLoadOptions.add(this._customizeStoreLoadOptionsHandler),e.changing.add(this._changingHandler))},items:function(){return this._items},isEmpty:function(){return!this.items().length},pageCount:function(){return this._dataSource?this._dataSource.pageCount():1},dataSource:function(){return this._dataSource},store:function(){var e=this._dataSource;return e&&e.store()},loadAll:function(e){var t=this,n=new g.Deferred,i=t._dataSource;if(i)if(e){var r={data:e,isCustomLoading:!0,storeLoadOptions:{isLoadingAll:!0},loadOptions:{filter:t.getCombinedFilter(),group:i.group(),sort:i.sort()}};i._handleDataLoaded(r),(0,g.when)(r.data).done((function(e){e=t._beforeProcessItems(e),n.resolve(t._processItems(e,{changeType:"loadingAll"}),r.extra&&r.extra.summary)})).fail(n.reject)}else if(i.isLoading())n.reject();else{var o=(0,f.extend)({},i.loadOptions(),{isLoadingAll:!0,requireTotalCount:!1});i.load(o).done((function(e,i){e=t._beforeProcessItems(e),e=t._processItems(e,{changeType:"loadingAll"}),n.resolve(e,i&&i.summary)})).fail(n.reject)}else n.resolve([]);return n},getKeyByRowIndex:function(e){var t=this.items()[e];if(t)return t.key},getRowIndexByKey:function(e){return a.default.getIndexByKey(e,this.items())},keyOf:function(e){var t=this.store();if(t)return t.keyOf(e)},byKey:function(e){var t,n=this.store(),i=this.getRowIndexByKey(e);if(n)return i>=0&&(t=(new g.Deferred).resolve(this.items()[i].data)),t||n.byKey(e)},key:function(){var e=this.store();if(e)return e.key()},getRowIndexOffset:function(){return 0},getDataByKeys:function(e){var t=this,n=new g.Deferred,i=[],r=[];return(0,h.each)(e,(function(e,n){i.push(t.byKey(n).done((function(t){r[e]=t})))})),g.when.apply(o.default,i).always((function(){n.resolve(r)})),n},pageIndex:function(e){return i(this,"pageIndex",e)},pageSize:function(e){return i(this,"pageSize",e)},beginCustomLoading:function(e){this._isCustomLoading=!0,this._loadingText=e||"",this._fireLoadingChanged()},endCustomLoading:function(){this._isCustomLoading=!1,this._loadingText=void 0,this._fireLoadingChanged()},refresh:function(e){!0===e?e={reload:!0,changesOnly:!0}:e||(e={lookup:!0,selection:!0,reload:!0});var t=this,n=t.getDataSource(),i=e.changesOnly,r=new g.Deferred,o=function(){t._repaintChangesOnly=!!i};return(0,g.when)(!e.lookup||t._columnsController.refresh()).always((function(){e.load||e.reload?(n&&n.on("customizeLoadResult",o),(0,g.when)(t.reload(e.reload,i)).always((function(){n&&n.off("customizeLoadResult",o),t._repaintChangesOnly=void 0})).done(r.resolve).fail(r.reject)):(t.updateItems({repaintChangesOnly:e.changesOnly}),r.resolve())})),r.promise()},getVisibleRows:function(){return this.items()},_disposeDataSource:function(){this.setDataSource(null)},dispose:function(){this._disposeDataSource(),this.callBase.apply(this,arguments)},repaintRows:function(e,t){((e=Array.isArray(e)?e:[e]).length>1||p.default.isDefined(e[0]))&&this.updateItems({changeType:"update",rowIndices:e,isFullUpdate:!t})},skipProcessingPagingChange:function(e){return this._skipProcessingPagingChange&&("paging.pageIndex"===e||"paging.pageSize"===e)},getUserState:function(){return{searchText:this.option("searchPanel.text"),pageIndex:this.pageIndex(),pageSize:this.pageSize()}},getCachedStoreData:function(){return this._dataSource&&this._dataSource.getCachedStoreData()}},a.default.proxyMethod(r,"load"),a.default.proxyMethod(r,"reload"),a.default.proxyMethod(r,"push"),a.default.proxyMethod(r,"itemsCount",0),a.default.proxyMethod(r,"totalItemsCount",0),a.default.proxyMethod(r,"hasKnownLastPage",!0),a.default.proxyMethod(r,"isLoaded",!0),a.default.proxyMethod(r,"totalCount",0),r))}}},yxXJ:function(e,t,n){"use strict";var i=n("/7L9"),r=n("5qrJ"),o=n("3RoI"),s=n("ti0F"),a=n("zl3R").each,l=n("XDlg"),c=l.unwrap,u=l.isWrapped,d=l.assign,h=function(e){return e.replace(/\[/g,".").replace(/\]/g,"")},p=function(e,t,n,r){if("this"===t)throw new i.Error("E4016");var o=e[t];r.unwrapObservables&&u(o)?d(o,n):e[t]=n},f=function(e){return(e=e||{}).unwrapObservables=void 0===e.unwrapObservables||e.unwrapObservables,e},m=function(e,t){return t.unwrapObservables?c(e):e},g=function(e){if(arguments.length>1&&(e=[].slice.call(arguments)),!e||"this"===e)return function(e){return e};if("string"==typeof e){var t=(e=h(e)).split(".");return function(e,n){for(var i=(n=f(n)).functionsAsIs,r=("defaultValue"in n),o=m(e,n),a=0;a<t.length;a++){if(!o){if(null==o&&r)return n.defaultValue;break}var l=t[a];if(r&&s.isObject(o)&&!(l in o))return n.defaultValue;var c=m(o[l],n);!i&&s.isFunction(c)&&(c=c.call(o)),o=c}return o}}return Array.isArray(e)?_(e):s.isFunction(e)?e:void 0},_=function(e){for(var t={},n=0,i=e.length;n<i;n++){var r=e[n];t[r]=g(r)}return function(e,n){var i;return a(t,(function(t){var r,o=this(e,n);if(void 0!==o){r=i||(i={});for(var s=t.split("."),a=s.length-1,l=0;l<a;l++){var c=s[l];c in r||(r[c]={}),r=r[c]}r[s[a]]=o}})),i}},b=function(e,t,n,i){if(s.isDefined(n))return n;var r={};return p(e,t,r,i),r};t.compileGetter=g,t.compileSetter=function(e){var t=(e=h(e||"this").split(".")).length-1;return function(n,i,r){r=f(r);var a=m(n,r);e.forEach((function(e,n){var l=function(e,t,n){return m("this"===t?e:e[t],n=n||{})}(a,e,r),c=!r.functionsAsIs&&s.isFunction(l)&&!u(l);n===t?r.merge&&s.isPlainObject(i)&&(!s.isDefined(l)||s.isPlainObject(l))?(l=b(a,e,l,r),o.deepExtendArraySafe(l,i,!1,!0)):c?a[e](i):p(a,e,i,r):(l=b(a,e,l,r),c&&(l=l.call(a)),a=l)}))}},t.toComparable=function(e,t){return e instanceof Date?e.getTime():e&&e instanceof r&&e.valueOf?e.valueOf():t||"string"!=typeof e?e:e.toLowerCase()},t.bracketsToDots=h},yxpO:function(e,t,n){"use strict";var i=n("cGv3").getWindow();t.sessionStorage=function(){var e;try{e=i.sessionStorage}catch(t){}return e}},"z+Ro":function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return i}))},z1FC:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4t
1s_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var o=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),i>0&&(o+=(""!==o?" ":"")+t[i]+"maH"),r>0&&(o+=(""!==o?" ":"")+t[r]),""===o?"pagh":o}(e);switch(i){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("HDdC");function r(e,t){return new i.a(t?n=>t.schedule(o,0,{error:e,subscriber:n}):t=>t.error(e))}function o({error:e,subscriber:t}){t.error(e)}},z7z0:function(e,t,n){"use strict";var i=n("ti0F").isExponential;function r(e){return Math.abs(parseInt(e.toExponential().split("e")[1]))}function o(e){var t=e.toString();if(t.indexOf(".")<0)return 0;var n=t.split("."),i=n[1].indexOf("e");return i>=0?i:n[1].length}function s(e,t){if(e<0&&t%2!=1)return NaN;var n=Math.pow(Math.abs(e),1/t);return t%2==1&&e<0?-n:n}t.sign=function(e){return 0===e?0:e/Math.abs(e)},t.fitIntoRange=function(e,t,n){var i=!t&&0!==t,r=!n&&0!==n;return i&&(t=r?e:Math.min(e,n)),r&&(n=i?e:Math.max(e,t)),Math.min(Math.max(e,t),n)},t.inRange=function(e,t,n){return e>=t&&e<=n},t.adjust=function(e,t){var n=o(t||0)+2,s=e.toString().split("."),a=e,l=Math.abs(e),c=i(e),u=l>1?10:0;if(1===s.length)return e;if(c||(i(t)&&(n=s[0].length+r(t)),e=(e=l)-Math.floor(e)+u),n="0.000300"!==3e-4.toPrecision(3)&&r(e)>6||n>7?15:7,!c){var d=parseFloat(e.toPrecision(n)).toString().split(".");if(d[0]===u.toString())return parseFloat(s[0]+"."+d[1])}return parseFloat(a.toPrecision(n))},t.getPrecision=o,t.getExponent=r,t.getRoot=s,t.solveCubicEquation=function(e,t,n,i){if(Math.abs(e)<1e-8){if(e=t,t=n,n=i,Math.abs(e)<1e-8)return e=t,t=n,Math.abs(e)<1e-8?[]:[-t/e];var r=t*t-4*e*n;return Math.abs(r)<1e-8?[-t/(2*e)]:r>0?[(-t+Math.sqrt(r))/(2*e),(-t-Math.sqrt(r))/(2*e)]:[]}var o,a,l=(3*e*n-t*t)/(3*e*e),c=(2*t*t*t-9*e*t*n+27*e*e*i)/(27*e*e*e);if(Math.abs(l)<1e-8)o=[s(-c,3)];else if(Math.abs(c)<1e-8)o=[0].concat(l<0?[Math.sqrt(-l),-Math.sqrt(-l)]:[]);else{var u=c*c/4+l*l*l/27;if(Math.abs(u)<1e-8)o=[-1.5*c/l,3*c/l];else if(u>0)o=[(a=s(-c/2-Math.sqrt(u),3))-l/(3*a)];else{a=2*Math.sqrt(-l/3);var d=Math.acos(3*c/l/a)/3,h=2*Math.PI/3;
1o=[a*Math.cos(d),a*Math.cos(d-h),a*Math.cos(d-2*h)]}}for(var p=0;p<o.length;p++)o[p]-=t/(3*e);return o}},zASt:function(e,t,n){"use strict";var i=n("cYys");e.exports=new i},zBVi:function(e,t,n){"use strict";var i=n("FKN7"),r=n("jeLr"),o=n("UdML"),s=n("1LL4").extend,a=n("XpgS").inArray,l=n("zl3R").each,c=n("KAnu"),u=n("ti0F"),d=n("tUd6"),h=n("tPCu"),p=n("i530"),f=n("gpjr"),m=n("JDOJ"),g=n("plrq"),_=n("hMAE"),b=n("XCcL"),v=h.inherit({_supportedKeys:function(){return{}},_getDefaultOptions:function(){return s(this.callBase(),{disabled:!1,visible:!0,hint:void 0,activeStateEnabled:!1,onContentReady:null,hoverStateEnabled:!1,focusStateEnabled:!1,tabIndex:0,accessKey:null,onFocusIn:null,onFocusOut:null,_keyboardProcessor:void 0})},_feedbackShowTimeout:30,_feedbackHideTimeout:400,_init:function(){this.callBase(),this._initContentReadyAction()},_clearInnerOptionCache:function(e){this[e+"Cache"]={}},_cacheInnerOptions:function(e,t){var n=e+"Cache";this[n]=s(this[n],t)},_getOptionsFromContainer:function(e){var t=e.fullName,n=e.value,i={};return e.name===t?i=n:i[t.split(".").pop()]=n,i},_innerOptionChanged:function(e,t){var n=this._getOptionsFromContainer(t);e&&e.option(n),this._cacheInnerOptions(t.name,n)},_getInnerOptionsCache:function(e){return this[e+"Cache"]},_initInnerOptionCache:function(e){this._clearInnerOptionCache(e),this._cacheInnerOptions(e,this.option(e))},_bindInnerWidgetOptions:function(e,t){this._options[t]=s({},e.option()),e.on("optionChanged",(function(e){this._options[t]=s({},e.component.option())}).bind(this))},_getAriaTarget:function(){return this._focusTarget()},_initContentReadyAction:function(){this._contentReadyAction=this._createActionByOption("onContentReady",{excludeValidators:["disabled","readOnly"]})},_initMarkup:function(){this.$element().addClass("dx-widget"),this._toggleDisabledState(this.option("disabled")),this._toggleVisibility(this.option("visible")),this._renderHint(),this._isFocusable()&&this._renderFocusTarget(),this.callBase()},_render:function(){this.callBase(),this._renderContent(),this._renderFocusState(),this._attachFeedbackEvents(),this._attachHoverEvents()},_renderHint:function(){var e=this.option("hint");this.$element().attr("title",e||null)},_renderContent:function(){var e=this;c.deferRender((function(){if(!e._disposed)return e._renderContentImpl()})).done((function(){e._disposed||e._fireContentReadyAction()}))},_renderContentImpl:c.noop,_fireContentReadyAction:c.deferRenderer((function(){this._contentReadyAction()})),_dispose:function(){this._contentReadyAction=null,this.callBase()},_resetActiveState:function(){this._toggleActiveState(this._eventBindingTarget(),!1)},_clean:function(){this._cleanFocusState(),this._resetActiveState(),this.callBase(),this.$element().empty()},_toggleVisibility:function(e){this.$element().toggleClass("dx-state-invisible",!e),this.setAria("hidden",!e||void 0)},_renderFocusState:function(){this._attachKeyboardEvents(),this._isFocusable()&&(this._renderFocusTarget(),this._attachFocusEvents(),this._renderAccessKey())},_renderAccessKey:function(){var e=this._focusTarget();e.attr("accesskey",this.option("accessKey"));var t=m.addNamespace(b.name,"UIFeedback");r.off(e,t),this.option("accessKey")&&r.on(e,t,(function(e){m.isFakeClickEvent(e)&&(e.stopImmediatePropagation(),this.focus())}).bind(this))},_isFocusable:function(){return this.option("focusStateEnabled")&&!this.option("disabled")},_eventBindingTarget:function(){return this.$element()},_focusTarget:function(){return this._getActiveElement()},_getActiveElement:function(){var e=this._eventBindingTarget();return this._activeStateUnit&&(e=e.find(this._activeStateUnit).not(".dx-state-disabled")),e},_renderFocusTarget:function(){this._focusTarget().attr("tabIndex",this.option("tabIndex"))},_keyboardEventBindingTarget:function(){return this._eventBindingTarget()},_detachFocusEvents:function(){var e=this._focusEventTarget(),t=this.NAME+"Focus",n=m.addNamespace("focusin",t);n=n+" "+m.addNamespace("focusout",t),d.hasDocumentProperty("onbeforeactivate")&&(n=n+" "+m.addNamespace("beforeactivate",t)),r.off(e,n)},_attachFocusEvents:function(){var e=this.NAME+"Focus",t=m.addNamespace("focusin",e),n=m.addNamespace("focusout",e),o=this._focusEventTarget();if(r.on(o,t,this._focusInHandler.bind(this)),r.on(o,n,this._focusOutHandler.bind(this)),d.hasDocumentProperty("onbeforeactivate")){var s=m.addNamespace("beforeactivate",e);r.on(this._focusEventTarget(),s,(function(e){i(e.target).is(f.focusable)||e.preventDefault()}))}},_refreshFocusEvent:function(){this._detachFocusEvents(),this._attachFocusEvents()},_focusEventTarget:function(){return this._focusTarget()},_focusInHandler:function(e){if(!e.isDefaultPrevented()){var t=this;
1t._createActionByOption("onFocusIn",{beforeExecute:function(){t._updateFocusState(e,!0)},excludeValidators:["readOnly"]})({event:e})}},_focusOutHandler:function(e){if(!e.isDefaultPrevented()){var t=this;t._createActionByOption("onFocusOut",{beforeExecute:function(){t._updateFocusState(e,!1)},excludeValidators:["readOnly","disabled"]})({event:e})}},_updateFocusState:function(e,t){var n=e.target;-1!==a(n,this._focusTarget())&&this._toggleFocusClass(t,i(n))},_toggleFocusClass:function(e,t){(t&&t.length?t:this._focusTarget()).toggleClass("dx-state-focused",e)},_hasFocusClass:function(e){return i(e||this._focusTarget()).hasClass("dx-state-focused")},_isFocused:function(){return this._hasFocusClass()},_attachKeyboardEvents:function(){var e=this.option("_keyboardProcessor");e?this._keyboardProcessor=e.reinitialize(this._keyboardHandler,this):this.option("focusStateEnabled")&&(this._disposeKeyboardProcessor(),this._keyboardProcessor=new p({element:this._keyboardEventBindingTarget(),handler:this._keyboardHandler,focusTarget:this._focusTarget(),context:this}))},_keyboardHandler:function(e){var t=e.originalEvent,n=e.keyName,i=e.which,r=this._supportedKeys(t),o=r[n]||r[i];return void 0===o||o.bind(this)(t)||!1},_refreshFocusState:function(){this._cleanFocusState(),this._renderFocusState()},_cleanFocusState:function(){var e=this._focusTarget();this._detachFocusEvents(),this._toggleFocusClass(!1),e.removeAttr("tabIndex"),this._disposeKeyboardProcessor()},_disposeKeyboardProcessor:function(){this._keyboardProcessor&&(this._keyboardProcessor.dispose(),delete this._keyboardProcessor)},_attachHoverEvents:function(){var e=this,t=e._activeStateUnit,n=m.addNamespace(g.start,"UIFeedback"),s=m.addNamespace(g.end,"UIFeedback");if(r.off(e._eventBindingTarget(),n,t),r.off(e._eventBindingTarget(),s,t),e.option("hoverStateEnabled")){var a=new o((function(t){e._hoverStartHandler(t.event),e._refreshHoveredElement(i(t.element))}),{excludeValidators:["readOnly"]}),l=e._eventBindingTarget();r.on(l,n,t,(function(e){a.execute({element:i(e.target),event:e})})),r.on(l,s,t,(function(t){e._hoverEndHandler(t),e._forgetHoveredElement()}))}else e._toggleHoverClass(!1)},_hoverStartHandler:c.noop,_hoverEndHandler:c.noop,_attachFeedbackEvents:function(){var e,t,n=this,s=n._activeStateUnit,a=m.addNamespace(_.active,"UIFeedback"),l=m.addNamespace(_.inactive,"UIFeedback");if(r.off(n._eventBindingTarget(),a,s),r.off(n._eventBindingTarget(),l,s),n.option("activeStateEnabled")){var c=function(e){var t=i(e.element);n._toggleActiveState(t,e.value,e.event)};r.on(n._eventBindingTarget(),a,s,{timeout:n._feedbackShowTimeout},(function(t){(e=e||new o(c)).execute({element:i(t.currentTarget),value:!0,event:t})})),r.on(n._eventBindingTarget(),l,s,{timeout:n._feedbackHideTimeout},(function(e){(t=t||new o(c,{excludeValidators:["disabled","readOnly"]})).execute({element:i(e.currentTarget),value:!1,event:e})}))}},_toggleActiveState:function(e,t){this._toggleHoverClass(!t),e.toggleClass("dx-state-active",t)},_refreshHoveredElement:function(e){var t=this._activeStateUnit||this._eventBindingTarget();this._forgetHoveredElement(),this._hoveredElement=e.closest(t),this._toggleHoverClass(!0)},_forgetHoveredElement:function(){this._toggleHoverClass(!1),delete this._hoveredElement},_toggleHoverClass:function(e){this._hoveredElement&&this._hoveredElement.toggleClass("dx-state-hover",e&&this.option("hoverStateEnabled"))},_toggleDisabledState:function(e){this.$element().toggleClass("dx-state-disabled",Boolean(e)),this._toggleHoverClass(!e),this.setAria("disabled",e||void 0)},_setWidgetOption:function(e,t){if(this[e])if(u.isPlainObject(t[0]))l(t[0],(function(t,n){this._setWidgetOption(e,[t,n])}).bind(this));else{var n=t[0],i=t[1];1===t.length&&(i=this.option(n));var r=this[e+"OptionMap"];this[e].option(r?r(n):n,i)}},_optionChanged:function(e){switch(e.name){case"disabled":this._toggleDisabledState(e.value),this._refreshFocusState();break;case"hint":this._renderHint();break;case"activeStateEnabled":this._attachFeedbackEvents();break;case"hoverStateEnabled":this._attachHoverEvents();break;case"tabIndex":case"_keyboardProcessor":case"focusStateEnabled":this._refreshFocusState();break;case"onFocusIn":case"onFocusOut":break;case"accessKey":this._renderAccessKey();break;case"visible":this._toggleVisibility(e.value),this._isVisibilityChangeSupported()&&this._checkVisibilityChanged(e.value?"shown":"hiding");break;case"onContentReady":this._initContentReadyAction();break;default:this.callBase(e)}},_isVisible:function(){return this.callBase()&&this.option("visible")},beginUpdate:function(){this._ready(!1),this.callBase()},endUpdate:function(){this.callBase(),this._initialized&&this._ready(!0)},_ready:function(e){if(0===arguments.length)return this._isReady;this._isReady=e},setAria:function(){var e=function(e){var t="role"===e.name||"id"===e.name?e.name:"aria-"+e.name,n=e.value;n=u.isDefined(n)?n.toString():null,e.target.attr(t,n)};if(u.isPlainObject(arguments[0])){var t=arguments[1]||this._getAriaTarget();
1l(arguments[0],(function(n,i){e({name:n,value:i,target:t})}))}else e({name:arguments[0],value:arguments[1],target:arguments[2]||this._getAriaTarget()})},isReady:function(){return this._ready()},repaint:function(){this._refresh()},focus:function(){r.trigger(this._focusTarget(),"focus")},registerKeyHandler:function(e,t){var n=this._supportedKeys(),i={};i[e]=t,this._supportedKeys=function(){return s(n,i)}}});e.exports=v},zMhD:function(e,t,n){"use strict";var i=n("FKN7"),r=n("hMwJ"),o=n("XPWh"),s=n("imRD"),a=n("85Zg").register,l=n("DDHz").inherit({_init:function(){this.callBase.apply(this,arguments);var e=i("<div>").addClass("dx-list-switchable-delete-button-container"),t=i("<div>").addClass("dx-list-switchable-delete-button-wrapper"),n=i("<div>").addClass("dx-list-switchable-delete-button-inner-wrapper"),r=i("<div>").addClass("dx-list-switchable-delete-button");this._list._createComponent(r,o,{text:s.format("dxListEditDecorator-delete"),type:"danger",onClick:(function(e){this._deleteItem(),e.event.stopPropagation()}).bind(this),integrationOptions:{}}),e.append(t),t.append(n),n.append(r),this._$buttonContainer=e},_enablePositioning:function(e){this.callBase.apply(this,arguments),r.stop(this._$buttonContainer,!0),this._$buttonContainer.appendTo(e)},_disablePositioning:function(){this.callBase.apply(this,arguments),this._$buttonContainer.detach()},_animatePrepareDeleteReady:function(){var e=this._isRtlEnabled(),t=this._list.$element().width(),n=this._buttonWidth();return r.animate(this._$buttonContainer,{type:"custom",duration:200,from:{right:e?t:-n},to:{right:e?t-n:0}})},_animateForgetDeleteReady:function(){var e=this._isRtlEnabled(),t=this._list.$element().width(),n=this._buttonWidth();return r.animate(this._$buttonContainer,{type:"custom",duration:200,from:{right:e?t-n:0},to:{right:e?t:-n}})},_buttonWidth:function(){return this._buttonContainerWidth||(this._buttonContainerWidth=this._$buttonContainer.outerWidth()),this._buttonContainerWidth},dispose:function(){this._$buttonContainer&&this._$buttonContainer.remove(),this.callBase.apply(this,arguments)}});a("delete","toggle",l.inherit({beforeBag:function(e){var t=e.$itemElement,n=e.$container,s=i("<div>").addClass("dx-list-toggle-delete-switch");this._list._createComponent(s,o,{icon:"toggle-delete",onClick:(function(e){r.stop(this._$buttonContainer,!1),this._toggleDeleteReady(t),e.event.stopPropagation()}).bind(this),integrationOptions:{}}),n.addClass("dx-list-toggle-delete-switch-container"),n.append(s)}})),a("delete","slideButton",l.inherit({_shouldHandleSwipe:!0,_swipeEndHandler:function(e,t){return 0!==t.targetOffset&&(r.stop(this._$buttonContainer,!1),this._toggleDeleteReady(e)),!0}})),e.exports=l},zTUP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(n("FKN7")),r=l(n("jeLr")),o=l(n("imRD")),s=l(n("aNBS")),a=l(n("XPWh"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t,n){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,s,l=(n=c,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(n);if(s){var i=f(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return p(this,e)});function c(){return u(this,c),l.apply(this,arguments)}return(t=[{key:"_attachEvents",value:function(e){var t=this.editor;e.option("onClick",(function(e){!t.option("openOnFieldClick")&&t._openHandler(e)})),r.default.on(e.$element(),"mousedown",(function(e){t.$element().is(".dx-state-focused")&&e.preventDefault()}))}},{key:"_create",value:function(){var e=this.editor,t=(0,i.default)("<div>"),n=this._getOptions();this._addToContainer(t);var r=e._createComponent(t,a.default,n);return r.setAria("label",o.default.format("dxDropDownEditor-selectLabel")),this._legacyRender(e.$element(),t,n.visible),{$element:t,instance:r}}},{key:"_getOptions",value:function(){var e=this.editor,t=this._isVisible();return{focusStateEnabled:!1,hoverStateEnabled:!1,activeStateEnabled:!1,useInkRipple:!1,disabled:e.option("readOnly"),visible:t,template:e._getTemplateByOption("dropDownButtonTemplate")}}},{key:"_isVisible",value:function(){var e=this.editor;return d(f(c.prototype),"_isVisible",this).call(this)&&e.option("showDropDownButton")}},{key:"_legacyRender",value:function(e,t,n){e.toggleClass("dx-dropdowneditor-button-visible",n),t&&(t.removeClass("dx-button"),t.addClass("dx-dropdowneditor-button"))}},{key:"update",value:function(){if(d(f(c.prototype),"update",this).call(this)){var e=this.instance,t=this.editor.$element(),n=this._getOptions();e&&e.option(n),this._legacyRender(t,e&&e.$element(),n.visible)}}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(c.prototype,t),c}(s.default);t.default=m},zUnb:function(e,t,n){"use strict";n.r(t);var i=n("fXoL"),r=n("AytR"),o=n("jhN1"),s=n("tyNb"),a=n("ofXK");const l=[{path:"",loadChildren:()=>n.e(7).then(n.bind(null,"OpKh")).then(e=>e.AuthenticationModule)},{path:"",loadChildren:()=>Promise.all([n.e(1),n.e(12)]).then(n.bind(null,"NMRU")).then(e=>e.ZineModule)},{path:"",loadChildren:()=>Promise.all([n.e(1),n.e(9)]).then(n.bind(null,"pVYq")).then(e=>e.AbccustModule)},{path:"ui",loadChildren:()=>n.e(8).then(n.bind(null,"sMX/")).then(e=>e.UiComponentsModule)}];let c=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},imports:[[s.g.forRoot(l,{initialNavigation:"enabled",preloadingStrategy:s.b})],s.g]}),e})();var u=n("zzRX");let d=(()=>{class e{constructor(){this.counter=0,this.isLoaderActive=!1}start(){this.counter++,this.isLoaderActive=!0}stop(e){this.counter--,this.counter<=0&&(this.isLoaderActive=!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),h=(()=>{class e{constructor(e,t){this.router=e,this.loaderService=t,this.title="Weft"}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(s.c),i.Lb(d))},e.\u0275cmp=i.Fb({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(e,t){1&e&&i.Mb(0,"router-outlet")},directives:[s.h],styles:[""],data:{animation:u.a}}),e})();var p=n("tk/3"),f=n("R0Ic");function m(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function g(e){switch(e.length){case 0:return new f.d;case 1:return e[0];default:return new f.n(e)}}function _(e,t,n,i,r={},o={}){const s=[],a=[];let l=-1,c=null;
1if(i.forEach(e=>{const n=e.offset,i=n==l,u=i&&c||{};Object.keys(e).forEach(n=>{let i=n,a=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,s),a){case f.o:a=r[n];break;case f.a:a=o[n];break;default:a=t.normalizeStyleValue(n,i,a,s)}u[i]=a}),i||a.push(u),c=u,l=n}),s.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${s.join(e)}`)}return a}function b(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&v(n,"start",e)));break;case"done":e.onDone(()=>i(n&&v(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&v(n,"destroy",e)))}}function v(e,t,n){const i=n.totalTime,r=y(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function y(e,t,n,i,r="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function w(e,t,n){let i;return e instanceof Map?(i=e.get(t),i||e.set(t,i=n)):(i=e[t],i||(i=e[t]=n)),i}function C(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let x=(e,t)=>!1,S=(e,t)=>!1,k=(e,t,n)=>[];const T=m();(T||"undefined"!=typeof Element)&&(x=(e,t)=>e.contains(t),S=(()=>{if(T||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):S}})(),k=(e,t,n)=>{let i=[];if(n)i.push(...e.querySelectorAll(t));else{const n=e.querySelector(t);n&&i.push(n)}return i});let E=null,I=!1;function D(e){E||(E=("undefined"!=typeof document?document.body:null)||{},I=!!E.style&&"WebkitAppearance"in E.style);let t=!0;return E.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in E.style,!t&&I)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in E.style),t}const M=S,O=x,R=k;function L(e){const t={};return Object.keys(e).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}let A=(()=>{class e{validateStyleProperty(e){return D(e)}matchesElement(e,t){return M(e,t)}containsElement(e,t){return O(e,t)}query(e,t,n){return R(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,r,o=[],s){return new f.d(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})(),P=(()=>{class e{}return e.NOOP=new A,e})();function F(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:B(parseFloat(t[1]),t[2])}function B(e,t){switch(t){case"s":return 1e3*e;default:return e}}function H(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let i,r=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=B(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(r=B(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else i=e;if(!n){let n=!1,o=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:r,easing:o}}(e,t,n)}function V(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function N(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else V(e,n);return n}function z(e,t,n){return n?t+":"+n+";":""}function j(e){let t="";for(let n=0;n<e.style.length;n++){const i=e.style.item(n);t+=z(0,i,e.style.getPropertyValue(i))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=z(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Y(e,t,n){e.style&&(Object.keys(t).forEach(i=>{const r=J(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),m()&&j(e))}function W(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=J(t);e.style[n]=""}),m()&&j(e))}function Q(e){return Array.isArray(e)?1==e.length?e[0]:Object(f.h)(e):e}const $=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(e){let t=[];if("string"==typeof e){let n;for(;n=$.exec(e);)t.push(n[1]);$.lastIndex=0}return t}function K(e,t,n){const i=e.toString(),r=i.replace($,(e,i)=>{let r=t[i];return t.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?e:r}function U(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const q=/-+([a-z0-9])/g;function J(e){return e.replace(q,(...e)=>e[1].toUpperCase())}function X(e,t){return 0===e||0===t}function Z(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let o=t[0],s=[];
1if(i.forEach(e=>{o.hasOwnProperty(e)||s.push(e),o[e]=n[e]}),s.length)for(var r=1;r<t.length;r++){let n=t[r];s.forEach((function(t){n[t]=te(e,t)}))}}return t}function ee(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}function te(e,t){return window.getComputedStyle(e)[t]}function ne(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=i[1],o=i[2],s=i[3];t.push(oe(r,s)),"<"!=o[0]||"*"==r&&"*"==s||t.push(oe(s,r))}(e,n,t)):n.push(e),n}const ie=new Set(["true","1"]),re=new Set(["false","0"]);function oe(e,t){const n=ie.has(e)||re.has(e),i=ie.has(t)||re.has(t);return(r,o)=>{let s="*"==e||e==r,a="*"==t||t==o;return!s&&n&&"boolean"==typeof r&&(s=r?ie.has(e):re.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?ie.has(t):re.has(t)),s&&a}}const se=new RegExp("s*:selfs*,?","g");function ae(e,t,n){return new le(e).build(t,n)}class le{constructor(e){this._driver=e}build(e,t){const n=new ce(t);return this._resetContextStyleTimingState(n),ee(this,Q(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const r=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,i=n.name;i.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=i}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,i+=r.depCount,o.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:o,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,o=i||{};if(n.styles.forEach(e=>{if(ue(e)){const t=e;Object.keys(t).forEach(e=>{G(t[e]).forEach(e=>{o.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=U(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=ee(this,Q(e.animation),t);return{type:1,matchers:ne(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:de(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>ee(this,e,t)),options:de(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const r=e.steps.map(e=>{t.currentTime=n;const r=ee(this,e,t);return i=Math.max(i,t.currentTime),r});return t.currentTime=i,{type:3,steps:r,options:de(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return he(H(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=he(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||H(i,t),he(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let r=e.styles?e.styles:Object(f.k)({});if(5==r.type)i=this.visitKeyframes(r,t);else{let r=e.styles,o=!1;if(!r){o=!0;const e={};n.easing&&(e.easing=n.easing),r=Object(f.k)(e)}t.currentTime+=n.duration+n.delay;const s=this.visitStyle(r,t);s.isEmptyStep=o,i=s}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);
1return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==f.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let i=!1,r=null;return n.forEach(e=>{if(ue(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(let e in t)if(t[e].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let i=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(r!=i&&r>=s.startTime&&i<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=s.startTime),a&&(o[n]={startTime:r,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},r=G(e);r.length&&r.forEach(e=>{i.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let o=!1,s=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(ue(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(ue(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),s=s||c<0||c>1,o=o||c<a,a=c,r.push(c),n});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let u=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(c-1));const d=c-1,h=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,i)=>{const o=u>0?i==d?1:u*i:r[i],s=o*f;t.currentTime=h+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:ee(this,Q(e.animation),t),options:de(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:de(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:de(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[r,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(se,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,w(t.collectedStyles,t.currentQuerySelector,{});const s=ee(this,Q(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:de(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:H(e.timings,t.errors,!0);return{type:12,animation:ee(this,Q(e.animation),t),timings:n,options:null}}}class ce{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ue(e){return!Array.isArray(e)&&"object"==typeof e}function de(e){var t;return e?(e=V(e)).params&&(e.params=(t=e.params)?V(t):null):e={},e}function he(e,t,n){return{duration:e,delay:t,easing:n}}function pe(e,t,n,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class fe{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const me=new RegExp(":enter","g"),ge=new RegExp(":leave","g");function _e(e,t,n,i,r,o={},s={},a,l,c=[]){return(new be).buildKeyframes(e,t,n,i,r,o,s,a,l,c)}class be{buildKeyframes(e,t,n,i,r,o,s,a,l,c=[]){l=l||new fe;
vendor: 7,881 bytes, line 1
1const u=new ye(e,t,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),ee(this,n,u);const d=u.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(s).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,u.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[pe(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime;const r=null!=n.duration?F(n.duration):null,o=null!=n.delay?F(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),ee(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ve);const e=F(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>ee(this,e,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let i=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?F(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);r&&s.delayNextStep(r),ee(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return H(t.params?K(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?F(i.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ve);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;let a=null;s.forEach((n,i)=>{t.currentQueryIndex=i;const s=t.createSubContext(e.options,n);r&&s.delayNextStep(r),n===t.element&&(a=s.currentTimeline),ee(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;ee(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ve={};class ye{constructor(e,t,n,i,r,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ve,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new we(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let i=this.options;null!=n.duration&&(i.duration=F(n.duration)),null!=n.delay&&(i.delay=F(n.delay));const r=n.params;if(r){let e=i.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=K(r[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const i=t||this.element,r=new ye(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=ve,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Ce(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,r,o){let s=[];if(i&&s.push(this.element),e.length>0){e=(e=e.replace(me,"."+this._enterClassName)).replace(ge,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return r||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class we{constructor(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pe
1ndingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new we(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||f.a,this._currentKeyframe[e]=f.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&(this._previousKeyframe.easing=t);const r=i&&i.params||{},o=function(e,t){const n={};let i;return e.forEach(e=>{"*"===e?(i=i||Object.keys(t),i.forEach(e=>{n[e]=f.a})):N(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=K(o[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:f.a),this._updateStyle(e,t)})}
1applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],i=e._styleSummary[t];(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const s=N(r,!0);Object.keys(s).forEach(n=>{const i=s[n];i==f.o?e.add(n):i==f.a&&t.add(n)}),n||(s.offset=o/this.duration),i.push(s)});const r=e.size?U(e.values()):[],o=t.size?U(t.values()):[];if(n){const e=i[0],t=V(e);e.offset=0,t.offset=1,i=[e,t]}return pe(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class Ce extends we{constructor(e,t,n,i,r,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],o=n+t,s=t/o,a=N(e[0],!1);a.offset=0,r.push(a);const l=N(e[0],!1);l.offset=xe(s),r.push(l);const c=e.length-1;for(let i=1;i<=c;i++){let s=N(e[i],!1);s.offset=xe((t+s.offset*n)/o),r.push(s)}n=o,t=0,i="",e=r}return pe(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function xe(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Se{}class ke extends Se{normalizePropertyName(e,t){return J(e)}normalizeStyleValue(e,t,n,i){let r="";const o=n.toString().trim();if(Te[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+r}}const Te=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Ee(e,t,n,i,r,o,s,a,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Ie={};class De{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return function(e,t,n,i,r){return e.some(e=>e(t,n,i,r))}(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){const i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}build(e,t,n,i,r,o,s,a,l,c){const u=[],d=this.ast.options&&this.ast.options.params||Ie,h=this.buildStyles(n,s&&s.params||Ie,u),p=a&&a.params||Ie,f=this.buildStyles(i,p,u),m=new Set,g=new Map,_=new Map,b="void"===i,v={params:Object.assign(Object.assign({},d),p)},y=c?[]:_e(e,t,this.ast.animation,r,o,h,f,v,l,u);let C=0;if(y.forEach(e=>{C=Math.max(e.duration+e.delay,C)}),u.length)return Ee(t,this._triggerName,n,i,b,h,f,[],[],g,_,C,u);y.forEach(e=>{const n=e.element,i=w(g,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const r=w(_,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&m.add(n)});const x=U(m.values());return Ee(t,this._triggerName,n,i,b,h,f,y,x,g,_,C)}}class Me{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=V(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(i[t]=n)}
1),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let o=r[e];o.length>1&&(o=K(o,i,t)),n[e]=o})}}),n}}class Oe{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Me(e.style,e.options&&e.options.params||{})}),Re(this.states,"true","1"),Re(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new De(e,t,this.states))}),this.fallbackTransition=new De(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(r=>r.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Re(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Le=new fe;class Ae{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],i=ae(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=i}_buildPlayer(e,t,n){const i=e.element,r=_(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const i=[],r=this._animations[e];let o;const s=new Map;if(r?(o=_e(this._driver,t,r,"ng-enter","ng-leave",{},{},n,Le,i),o.forEach(e=>{const t=w(s,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);s.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,f.a)})});const a=g(o.map(e=>{const t=s.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,i){const r=y(t,"","","");return b(this._getPlayer(e),n,r,i),()=>{}}command(e,t,n,i){if("register"==n)return void this.register(e,i[0]);if("create"==n)return void this.create(e,t,i[0]||{});const r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const Pe=[],Fe={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Be={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class He{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(i=n?e.value:e)?i:null,n){const t=V(e);delete t.value,this.options=t}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Ve=new He("void");class Ne{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+e,Ge(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const o=w(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);const a=w(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Ge(e,"ng-trigger"),Ge(e,"ng-trigger-"+t),a[t]=Ve),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,i=!0){const r=this._getTrigger(t),o=new je(this.id,t,e);let s=this._engine.statesByElement.get(e);s||(Ge(e,"ng-trigger"),Ge(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const l=new He(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[t]=l,a||(a=Ve),"void"!==l.value&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(a.params,l.params)){const t=[],n=r.matchStyles(a.value,a.params,t),i=r.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{W(e,n),Y(e,i)})}return}const c=w(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(a.value,l.value,e,l.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(Ge(e,"ng-animate-queued"),o.onStart(()=>{Ke(e,"ng-animate-queued")})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),c.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,".ng-trigger",!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,i){const r=this._engine.statesByElement.get(e);if(r){const o=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,"void",i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&g(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const i=t.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,o=this._engine.statesByElement.get(e)[i]||Ve,s=new He("void"),a=new je(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:r,fromState:o,toState:s,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)i=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{const i=e.__ng_removed;i&&i!==Fe||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Ge(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach(t=>{if(t.name==n.triggerName){const i=y(r,n.triggerName,n.fromState.value,n.toState.value);i._data=e,b(n.player,t.phase,i,t.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>
1{const n=e.transition.ast.depCount,i=t.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class ze{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Ne(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let i=0;i<e.length;i++){const r=n[e[i]].namespaceId;if(r){const e=this._fetchNamespace(r);e&&t.add(e)}}}return t}trigger(e,t,n,i){if(Ye(t)){const r=this._fetchNamespace(e);if(r)return r.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!Ye(t))return;const r=t.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const i=this._fetchNamespace(e);i&&i.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ge(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ke(e,"ng-animate-disabled"))}removeNode(e,t,n,i){if(Ye(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,i,r){return Ye(t)?this._fetchNamespace(e).listen(t,n,i,r):()=>{}}_buildInstruction(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);
1t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return g(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Fe,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ge(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?g(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new fe,i=[],r=new Map,o=[],s=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)c.add(t[n])});const u=this.bodyNode,d=Array.from(this.statesByElement.keys()),h=$e(d,this.collectedEnterElements),p=new Map;let m=0;h.forEach((e,t)=>{const n="ng-enter"+m++;p.set(t,n),e.forEach(e=>Ge(e,n))});const _=[],b=new Set,v=new Set;for(let f=0;f<this.collectedLeaveElements.length;f++){const e=this.collectedLeaveElements[f],t=e.__ng_removed;t&&t.setForRemoval&&(_.push(e),b.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>b.add(e)):v.add(e))}const y=new Map,C=$e(d,Array.from(b));C.forEach((e,t)=>{const n="ng-leave"+m++;y.set(t,n),e.forEach(e=>Ge(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>Ke(e,n))}),C.forEach((e,t)=>{const n=y.get(t);e.forEach(e=>Ke(e,n))}),_.forEach(e=>{this.processLeaveNode(e)})});const x=[],S=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(x.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!u||!this.driver.containsElement(u,r),d=y.get(r),h=p.get(r),f=this._buildInstruction(e,n,h,d,c);if(!f.errors||!f.errors.length)return c||e.isFallbackTransition?(t.onStart(()=>W(r,f.fromStyles)),t.onDestroy(()=>Y(r,f.toStyles)),void i.push(t)):(f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,f.timelines),o.push({instruction:f,player:t,element:r}),f.queriedElements.forEach(e=>w(s,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.set(t,e=new Set),n.forEach(t=>e.add(t))}}),void f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let i=l.get(t);i||l.set(t,i=new Set),n.forEach(e=>i.add(e))}));S.push(f)});if(S.length){const e=[];S.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),x.forEach(e=>e.destroy()),this.reportError(e)}const k=new Map,T=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(T.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,k))}
vendor: 1,097 bytes, line 1
1),i.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{w(k,t,[]).push(e),e.destroy()})});const E=_.filter(e=>qe(e,a,l)),I=new Map;Qe(I,this.driver,v,l,f.a).forEach(e=>{qe(e,a,l)&&E.push(e)});const D=new Map;h.forEach((e,t)=>{Qe(D,this.driver,new Set(e),a,f.o)}),E.forEach(e=>{const t=I.get(e),n=D.get(e);I.set(e,Object.assign(Object.assign({},t),n))});const M=[],O=[],R={};o.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(c.has(t))return o.onDestroy(()=>Y(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void i.push(o);let e=R;if(T.size>1){let n=t;const i=[];for(;n=n.parentNode;){const t=T.get(n);if(t){e=t;break}i.push(n)}i.forEach(t=>T.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,k,r,D,I);if(o.setRealPlayer(n),e===R)M.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=g(t)),i.push(o)}}else W(t,s.fromStyles),o.onDestroy(()=>Y(t,s.toStyles)),O.push(o),c.has(t)&&i.push(o)}),O.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=g(t);e.setRealPlayer(n)}}
1),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let f=0;f<_.length;f++){const e=_[f],t=e.__ng_removed;if(Ke(e,"ng-leave"),t&&t.hasAnimation)continue;let n=[];if(s.size){let t=s.get(e);t&&t.length&&n.push(...t);let i=this.driver.query(e,".ng-animating",!0);for(let e=0;e<i.length;e++){let t=s.get(i[e]);t&&t.length&&n.push(...t)}}const i=n.filter(e=>!e.destroyed);i.length?Ue(this,e,i):this.processLeaveNode(e)}return _.length=0,M.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),M}elementContainsData(e,t){let n=!1;const i=t.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,r){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||"void"==r;t.forEach(t=>{t.queued||(e||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||i&&i!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const i=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==i,l=w(n,e,[]);this._getPreviousPlayers(e,a,r,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}W(i,t.fromStyles)}_buildAnimation(e,t,n,i,r,o){const s=t.triggerName,a=t.element,l=[],c=new Set,u=new Set,d=t.timelines.map(t=>{const d=t.element;c.add(d);const h=d.__ng_removed;if(h&&h.removedBeforeQueried)return new f.d(t.duration,t.delay);const p=d!==a,m=function(e){const t=[];return function e(t,n){for(let i=0;i<t.length;i++){const r=t[i];r instanceof f.n?e(r.players,n):n.push(r)}}(e,t),t}((n.get(d)||Pe).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===d),g=r.get(d),b=o.get(d),v=_(0,this._normalizer,0,t.keyframes,g,b),y=this._buildPlayer(t,v,m);if(t.subTimeline&&i&&u.add(d),p){const t=new je(e,s,d);t.setRealPlayer(y),l.push(t)}return y});l.forEach(e=>{w(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let i;if(e instanceof Map){if(i=e.get(t),i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&e.delete(t)}}else if(i=e[t],i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&delete e[t]}return i}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>Ge(e,"ng-animating"));const h=g(d);return h.onDestroy(()=>{c.forEach(e=>Ke(e,"ng-animating")),Y(a,t.toStyles)}),u.forEach(e=>{w(i,e,[]).push(h)}),h}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new f.d(e.duration,e.delay)}}class je{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new f.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEac
1h(t=>{this._queuedCallbacks[t].forEach(n=>b(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){w(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Ye(e){return e&&1===e.nodeType}function We(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Qe(e,t,n,i,r){const o=[];n.forEach(e=>o.push(We(e)));const s=[];i.forEach((n,i)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Be,s.push(i))}),e.set(i,o)});let a=0;return n.forEach(e=>We(e,o[a++])),s}function $e(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const i=new Set(t),r=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let o=r.get(t);if(o)return o;const s=t.parentNode;return o=n.has(s)?s:i.has(s)?1:e(s),r.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}function Ge(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ke(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Ue(e,t,n){g(n).onDone(()=>e.processLeaveNode(t))}function qe(e,t,n){const i=n.get(e);if(!i)return!1;let r=t.get(e);return r?i.forEach(e=>r.add(e)):t.set(e,i),n.delete(e),!0}class Je{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new ze(e,t,n),this._timelineEngine=new Ae(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,r){const o=e+"-"+i;let s=this._triggerCache[o];if(!s){const e=[],t=ae(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Oe(e,t)}(i,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,i,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if("@"==n.charAt(0)){const[e,r]=C(n);this._timelineEngine.command(e,t,r,i)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,r){if("@"==n.charAt(0)){const[e,i]=C(n);return this._timelineEngine.listen(e,t,i,r)}return this._transitionEngine.listen(e,t,n,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Xe(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=et(t[0]),t.length>1&&(i=et(t[t.length-1]))):t&&(n=et(t)),n||i?new Ze(e,n,i):null}let Ze=(()=>{class e{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Y(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Y(this._element,this._initialStyles),this._endStyles&&(Y(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(W(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(W(this._element,this._endStyles),this._endStyles=null),Y(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function et(e){let t=null;const n=Object.keys(e);for(let i=0;i<n.length;i++){const r=n[i];tt(r)&&(t=t||{},t[r]=e[r])}return t}function tt(e){return"display"===e||"position"===e}class nt{constructor(e,t,n,i,r,o,s){this._element=e,this._name=t,this._duration=n,this._delay=i,this._easing=r,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e
1=>this._handleCallback(e)}apply(){!function(e,t){const n=lt(e,"").trim();n.length&&(function(e,t){let n=0;for(let i=0;i<e.length;i++)","===e.charAt(i)&&n++}(n),t=`${n}, ${t}`),at(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),st(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){it(this._element,this._name,"paused")}resume(){it(this._element,this._name,"running")}setPosition(e){const t=rt(this._element,this._name);this._position=e*this._duration,at(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),st(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=lt(e,"").split(","),i=ot(n,t);i>=0&&(n.splice(i,1),at(e,"",n.join(",")))}(this._element,this._name))}}function it(e,t,n){at(e,"PlayState",n,rt(e,t))}function rt(e,t){const n=lt(e,"");return n.indexOf(",")>0?ot(n.split(","),t):ot([n],t)}function ot(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function st(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function at(e,t,n,i){const r="animation"+t;if(null!=i){const t=e.style[r];if(t.length){const e=t.split(",");e[i]=n,n=e.join(",")}}e.style[r]=n}function lt(e,t){return e.style["animation"+t]}class ct{constructor(e,t,n,i,r,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new nt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:te(this.element,n))})}this.currentSnapshot=e}}class ut extends f.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=L(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e
1=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class dt{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return D(e)}matchesElement(e,t){return M(e,t)}containsElement(e,t){return O(e,t)}query(e,t,n){return R(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>L(e));let i=`@keyframes ${t} {\n`,r="";n.forEach(e=>{r=" ";const t=parseFloat(e.offset);i+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${t}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const o=document.createElement("style");return o.innerHTML=i,o}animate(e,t,n,i,r,o=[],s){s&&this._notifyFaultyScrubber();const a=o.filter(e=>e instanceof ct),l={};X(n,i)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Z(e,t,l));if(0==n)return new ut(e,c);const u=`gen_css_kf_${this._count++}`,d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);const h=Xe(e,t),p=new ct(e,t,u,n,i,r,c,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class ht{constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:te(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class pt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ft().toString()),this._cssKeyframesDriver=new dt}validateStyleProperty(e){return D(e)}matchesElement(e,t){return M(e,t)}containsElement(e,t){return O(e,t)}query(e,t,n){return R(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,r,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=o.filter(e=>e instanceof ht);
1X(n,i)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=Xe(e,t=Z(e,t=t.map(e=>N(e,!1)),l));return new ht(e,t,a,u)}}function ft(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let mt=(()=>{class e extends f.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.O.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?Object(f.h)(e):e;return bt(this._renderer,null,t,"register",[n]),new gt(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(i.E),i.Wb(a.c))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();class gt extends f.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new _t(this._id,e,t||{},this._renderer)}}class _t{constructor(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return bt(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function bt(e,t,n,i,r){return e.setProperty(t,`@@${n}:${i}`,r)}let vt=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new yt("",n,this.engine),this._rendererCache.set(n,e)),e}const i=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(i,r,e,t.name,t)};return t.data.animation.forEach(o),new wt(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(i.E),i.Wb(Je),i.Wb(i.z))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();class yt{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}
1listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class wt extends yt{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if("@"==t.charAt(0)){const i=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),o="";return"@"!=r.charAt(0)&&([r,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let Ct=(()=>{class e extends Je{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(a.c),i.Wb(P),i.Wb(Se))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();const xt=[{provide:P,useFactory:function(){return"function"==typeof ft()?new pt:new dt}},{provide:new i.q("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:f.b,useClass:mt},{provide:Se,useFactory:function(){return new ke}},{provide:Je,useClass:Ct},{provide:i.E,useFactory:function(e,t,n){return new vt(e,t,n)},deps:[o.g,Je,i.z]}];let St=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:xt,imports:[o.a]}),e})();var kt=n("z6cu"),Tt=n("JIr8"),Et=n("wd/R"),It=n("LgUO"),Dt=n("lxHI"),Mt=n("5eHb");let Ot=(()=>{class e{constructor(e,t,n,i){this.oauthService=e,this.authService=t,this.router=n,this.toastrService=i,this.user=null,this.now=Et()}intercept(e,t){return sessionStorage.getItem("access_token")&&(e=e.clone({headers:e.headers.set("Authorization",this.authService.getAuthorizationHeaderValue())})),t.handle(e).pipe(Object(Tt.a)(e=>{if(401===e.status)return this.authService.renewToken().then(e=>{e?this.authService.completeAuthentication(e):this.router.navigate(["login"])}),Object(kt.a)(e);500!==e.status&&400!==e.status||!e.error||(console.log(e),this.toastrService.error(e.error.Value?e.error.Value.Message:e.error.Message))}))}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(It.b),i.Wb(Dt.a),i.Wb(s.c),i.Wb(Mt.b))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e})();var Rt=n("XNiG"),Lt=n("K3ix");const At=["yesButton"];let Pt=(()=>{class e{constructor(e){this.bsModalRef=e,this.action=""}ngOnInit(){this.onClose=new Rt.a}show(e){this.modalTitle=e.title,this.modalContent=e.content,this.okButtonText=e.okButtonText?e.okButtonText:"Yes",this.cancelButtonText=e.cancelButtonText?e.cancelButtonText:"No",this.action=e.action?e.action:"",setTimeout(()=>this.yesButton.nativeElement.focus(),500)}hide(e){this.onClose.next({action:this.action,result:e}),this.bsModalRef.hide()}}return e.\u0275fac=function(t){return new(t||e)(i.Lb(Lt.a))},e.\u0275cmp=i.Fb({type:e,selectors:[["app-confirm-popup"]],viewQuery:function(e,t){var n;1&e&&i.Jc(At,!0),2&e&&i.tc(n=i.bc())&&(t.yesButton=n.first)},decls:15,vars:4,consts:[[1,"modal-content"],[1,"modal-header"],["id","dialog-static-name",1,"modal-title","pull-left"],["type","button","aria-label","Close",1,"close","pull-right",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"modal-footer"],["type","button",1,"btn","btn-danger",3,"click"],["type","button",1,"btn","btn-primary",3,"click"],["yesButton",""]],template:function(e,t){1&e&&(i.Rb(0,"div",0),i.Rb(1,"div",1),i.Rb(2,"h4",2),i.Ec(3),i.Qb(),i.Rb(4,"button",3),i.ac("click",(function(){return t.hide("cancel")})),i.Rb(5,"span",4),i.Ec(6,"\xd7"),i.Qb(),i.Qb(),i.Qb(),i.Rb(7,"div",5),i.Ec(8),i.Qb(),i.Rb(9,"div",6),i.Rb(10,"button",7),i.ac("click",(function(){return t.hide("cancel")})),i.Ec(11),i.Qb(),i.Rb(12,"button",8,9),i.ac("click",(function(){return t.hide("ok")})),i.Ec(14),i.Qb(),i.Qb(),i.Qb()),2&e&&(i.zb(3),i.Fc(t.modalTitle),i.zb(5),i.Gc(" ",t.modalContent," "),i.zb(3),i.Fc(t.cancelButtonText),i.zb(3),i.Fc(t.okButtonText))},styles:[""]}),e})();var Ft=n("HDdC");let Bt=(()=>{class e{constructor(e){this.modalService=e}showConfirmation(e){const t=this.modalService.show(Pt);return t.content.show(e),Ft.a.create(e=>{t.content.onClose.subscribe(t=>{e.next(t)})})}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(Lt.b))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ht=(()=>{class e{}return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},imports:[[a.b]]}),e})();var Vt=n("ai+k");let Nt=(()=>{class e{}return e.\u0275mod=i.Jb({type:e,bootstrap:[h]}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},providers:[{provide:p.a,useClass:Ot,multi:!0},Bt,a.d],imports:[[o.a,St,s.g,c,p.c,Ht,It.a.forRoot(),Mt.a.forRoot(),Vt.CustomerModule]]}),e})();r.a.production&&Object(i.R)(),o.f().bootstrapModule(Nt).catch(e=>console.error(e))},zhLK:function(e,t,n){"use strict";var i=n("FKN7"),r=n("LdFP"),o=n("cGv3"),s=n("imRD"),a=n("D6VQ"),l=n("v4HY").getPublicElement,c=n("1LL4").extend,u=n("KAnu").noop,d=n("ldOY"),h=n("HBNF"),p=n("NDTZ"),f=n("ZA3g"),m=n("XWCB"),g=n("+6qP"),_=n("PbkZ"),b={pullDown:d,swipeDown:h,simulated:p},v=!o.hasWindow(),y=f.inherit(v?{finishLoading:u,release:u,refresh:u,_optionChanged:function(e){if("onUpdated"!==e.name)return this.callBase.apply(this,arguments)}}:{_getDefaultOptions:function(){return c(this.callBase(),{pullingDownText:s.format("dxScrollView-pullingDownText"),pulledDownText:s.format("dxScrollView-pulledDownText"),refreshingText:s.format("dxScrollView-refreshingText"),reachBottomText:s.format("dxScrollView-reachB
1ottomText"),onPullDown:null,onReachBottom:null,refreshStrategy:"pullDown"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"android"===r.real().platform},options:{refreshStrategy:"swipeDown"}},{device:function(){return g.isMaterial()},options:{pullingDownText:"",pulledDownText:"",refreshingText:"",reachBottomText:""}}])},_init:function(){this.callBase(),this._loadingIndicatorEnabled=!0},_initScrollableMarkup:function(){this.callBase(),this.$element().addClass("dx-scrollview"),this._initContent(),this._initTopPocket(),this._initBottomPocket(),this._initLoadPanel()},_initContent:function(){var e=i("<div>").addClass("dx-scrollview-content");this._$content.wrapInner(e)},_initTopPocket:function(){var e=this._$topPocket=i("<div>").addClass("dx-scrollview-top-pocket"),t=this._$pullDown=i("<div>").addClass("dx-scrollview-pull-down");e.append(t),this._$content.prepend(e)},_initBottomPocket:function(){var e=this._$bottomPocket=i("<div>").addClass("dx-scrollview-bottom-pocket"),t=this._$reachBottom=i("<div>").addClass("dx-scrollview-scrollbottom"),n=i("<div>").addClass("dx-scrollview-scrollbottom-indicator"),r=new m(i("<div>")).$element(),o=this._$reachBottomText=i("<div>").addClass("dx-scrollview-scrollbottom-text");this._updateReachBottomText(),t.append(n.append(r)).append(o),e.append(t),this._$content.append(e)},_initLoadPanel:function(){var e=i("<div>").addClass("dx-scrollview-loadpanel").appendTo(this.$element()),t={shading:!1,delay:400,message:this.option("refreshingText"),position:{of:this.$element()}};this._loadPanel=this._createComponent(e,_,t)},_updateReachBottomText:function(){this._$reachBottomText.text(this.option("reachBottomText"))},_createStrategy:function(){var e=this.option("useNative")?this.option("refreshStrategy"):"simulated",t=b[e];if(!t)throw Error("E1030",this.option("refreshStrategy"));this._strategy=new t(this),this._strategy.pullDownCallbacks.add(this._pullDownHandler.bind(this)),this._strategy.releaseCallbacks.add(this._releaseHandler.bind(this)),this._strategy.reachBottomCallbacks.add(this._reachBottomHandler.bind(this))},_createActions:function(){this.callBase(),this._pullDownAction=this._createActionByOption("onPullDown"),this._reachBottomAction=this._createActionByOption("onReachBottom"),this._tryRefreshPocketState()},_tryRefreshPocketState:function(){this._pullDownEnable(this.hasActionSubscription("onPullDown")),this._reachBottomEnable(this.hasActionSubscription("onReachBottom"))},on:function(e){var t=this.callBase.apply(this,arguments);return"pullDown"!==e&&"reachBottom"!==e||this._tryRefreshPocketState(),t},_pullDownEnable:function(e){if(0===arguments.length)return this._pullDownEnabled;this._$pullDown&&this._strategy&&(this._$pullDown.toggle(e),this._strategy.pullDownEnable(e),this._pullDownEnabled=e)},_reachBottomEnable:function(e){if(0===arguments.length)return this._reachBottomEnabled;this._$reachBottom&&this._strategy&&(this._$reachBottom.toggle(e),this._strategy.reachBottomEnable(e),this._reachBottomEnabled=e)},_pullDownHandler:function(){this._loadingIndicator(!1),this._pullDownLoading()},_loadingIndicator:function(e){if(arguments.length<1)return this._loadingIndicatorEnabled;this._loadingIndicatorEnabled=e},_pullDownLoading:function(){this.startLoading(),this._pullDownAction()},_reachBottomHandler:function(){this._loadingIndicator(!1),this._reachBottomLoading()},_reachBottomLoading:function(){this.startLoading(),this._reachBottomAction()},_releaseHandler:function(){this.finishLoading(),this._loadingIndicator(!0)},_optionChanged:function(e){switch(e.name){case"onPullDown":case"onReachBottom":this._createActions();break;case"pullingDownText":case"pulledDownText":case"refreshingText":case"refreshStrategy":this._invalidate();break;case"reachBottomText":this._updateReachBottomText();break;default:this.callBase(e)}},isEmpty:function(){return!i(this.content()).children().length},content:function(){return l(this._$content.children().eq(1))},release:function(e){return void 0!==e&&this.toggleLoading(!e),this._strategy.release()},toggleLoading:function(e){this._reachBottomEnable(e)},isFull:function(){return i(this.content()).height()>this._$container.height()},refresh:function(){this.hasActionSubscription("onPullDown")&&(this._strategy.pendingRelease(),this._pullDownLoading())},startLoading:function(){this._loadingIndicator()&&this.$element().is(":visible")&&this._loadPanel.show(),this._lock()},finishLoading:function(){this._loadPanel.hide(),this._unlock()},_dispose:function(){this._strategy.dispose(),this.callBase(),this._loadPanel&&this._loadPanel.$element().remove()}});a("dxScrollView",y),e.exports=y},zl3R:function(e,t,n){"use strict";t.map=function(e,t){if(Array.isArray(e))return e.map(t);var n=[];for(var i in e)n.push(t(e[i],i));return n},t.each=function(e,t){if(e){if("length"in e)for(var n=0;n<e.length&&!1!==t.call(e[n],n,e[n]);n++);else for(var i in e)if(!1===t.call(e[i],i,e[i]))break;return e}},t.reverseEach=function(e,t){if(e&&"length"in e&&0!==e.length)for(var n=e.length-1;n>=0&&!1!==t.call(e[n],n,e[n]);n--);}},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zrYi:function(e,t,n){"use strict";var i,r=(i=n("DHwc"))&&i.__esModule?i:{default:i};e.exports=r.default,e.exports.default=e.exports},zx6S:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},zzRX:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("R0Ic");const r=[Object(i.m)("surveyLoopStateAnimation",[Object(i.j)("upward-inactive",Object(i.k)({opacity:1})),Object(i.j)("upward-active",Object(i.k)({opacity:1})),Object(i.j)("downward-inactive",Object(i.k)({opacity:1})),Object(i.j)("downward-active",Object(i.k)({opacity:1})),Object(i.l)("upward-inactive => upward-active",[Object(i.e)("1s ease-in",Object(i.f)([Object(i.k)({opacity:1,transform:"translateY(0)",offset:0}),Object(i.k)({opacity:.5,transform:"translateY(-50%)",offset:.2}),Object(i.k)({opacity:0,transform:"translateY(-100%)",offset:.4}),Object(i.k)({opacity:0,transform:"translateY(100%)",offset:.6}),Object(i.k)({opacity:.5,transform:"translateY(50%)",offset:.8}),Object(i.k)({opacity:1,transform:"translateY(0%)",offset:1})]))]),Object(i.l)("downward-inactive => downward-active",[Object(i.e)("1s ease-in",Object(i.f)([Object(i.k)({opacity:1,transform:"translateY(0)",offset:0}),Object(i.k)({opacity:.5,transform:"translateY(50%)",offset:.2}),Object(i.k)({opacity:0,transform:"translateY(100%)",offset:.4}),Object(i.k)({opacity:0,transform:"translateY(-100%)",offset:.6}),Object(i.k)({opacity:.5,transform:"translateY(-50%)",offset:.8}),Object(i.k)({opacity:1,transform:"translateY(0%)",offset:1})]))]),Object(i.l)("downward-inactive => upward-active",[Object(i.e)("1s ease-in",Object(i.f)([Object(i.k)({opacity:1,transform:"translateY(0)",offset:0}),Object(i.k)({opacity:.5,transform:"translateY(-50%)",offset:.2}),Object(i.k)({opacity:0,transform:"translateY(-100%)",offset:.4}),Object(i.k)({opacity:0,transform:"translateY(100%)",offset:.6}),Object(i.k)({opacity:.5,transform:"translateY(50%)",offset:.8}),Object(i.k)({opacity:1,transform:"translateY(0%)",offset:1})]))])]),Object(i.m)("surveyLoopAnimation",[Object(i.l)("* => *",[Object(i.g)(":enter",Object(i.k)({opacity:0}
1),{optional:!0}),Object(i.g)(":enter",Object(i.i)("300ms",[Object(i.e)("1s ease-in",Object(i.f)([Object(i.k)({opacity:0,transform:"translateY(100%)",offset:0}),Object(i.k)({opacity:.5,transform:"translateY(50%)",offset:.3}),Object(i.k)({opacity:1,transform:"translateY(0)",offset:1})]))]),{optional:!0}),Object(i.g)(":leave",Object(i.i)("300ms",[Object(i.e)("1s ease-in",Object(i.f)([Object(i.k)({opacity:1,transform:"translateY(100%)",offset:0}),Object(i.k)({opacity:.5,transform:"translateY(150%)",offset:.3}),Object(i.k)({opacity:0,transform:"translateY(200%)",offset:1})]))]),{optional:!0})])]),Object(i.m)("surveyAnimation",[Object(i.l)(":enter",[Object(i.k)({transform:"translateY(0)",opacity:0}),Object(i.e)("300ms",Object(i.k)({transform:"translateY(100%)",opacity:1}))]),Object(i.l)(":leave",[Object(i.k)({transform:"translateY(100%)",opacity:1}),Object(i.e)("300ms",Object(i.k)({transform:"translateY(200%)",opacity:0}))])]),Object(i.m)("opacityAnimation",[Object(i.l)(":enter",[Object(i.k)({opacity:0}),Object(i.e)("300ms",Object(i.k)({opacity:1}))]),Object(i.l)(":leave",[Object(i.k)({opacity:1}),Object(i.e)("0ms",Object(i.k)({opacity:0}))])]),Object(i.m)("enterAnimation",[Object(i.l)(":enter",[Object(i.k)({transform:"translateX(100%)",opacity:0}),Object(i.e)("500ms",Object(i.k)({transform:"translateX(0)",opacity:1}))]),Object(i.l)(":leave",[Object(i.k)({transform:"translateX(0)",opacity:1}),Object(i.e)("500ms",Object(i.k)({transform:"translateX(100%)",opacity:0}))])]),Object(i.m)("scaleAnimation",[Object(i.l)(":enter",[Object(i.k)({transform:"scale(0)",opacity:0}),Object(i.e)("300ms",Object(i.k)({transform:"scale(1)",opacity:1}))]),Object(i.l)(":leave",[Object(i.k)({transform:"scale(1)",opacity:1}),Object(i.e)("300ms",Object(i.k)({transform:"scale(0)",opacity:0}))])]),Object(i.m)("dashFooterAnimation",[Object(i.l)(":enter",[Object(i.k)({transform:"translateY(70px)",opacity:0}),Object(i.e)("300ms",Object(i.k)({transform:"translateY(0px)",opacity:1}))]),Object(i.l)(":leave",[Object(i.k)({transform:"translateX(0px)",opacity:1}),Object(i.e)("300ms",Object(i.k)({transform:"translateY(70px)",opacity:0}))])]),Object(i.m)("heightAnimation",[Object(i.l)(":enter",[Object(i.k)({transform:"scaleY(0)"}),Object(i.e)("200ms",Object(i.k)({transform:"scaleY(1)"}))]),Object(i.l)(":leave",[Object(i.k)({transform:"scaleY(1)"}),Object(i.e)("0ms",Object(i.k)({transform:"scaleY(0)"}))])]),Object(i.m)("widthAnimation",[Object(i.l)(":enter",[Object(i.k)({transform:"scaleX(0)"}),Object(i.e)("300ms",Object(i.k)({transform:"scaleX(1)"}))]),Object(i.l)(":leave",[Object(i.k)({transform:"scaleX(1)"}),Object(i.e)("300ms",Object(i.k)({transform:"scaleX(0)"}))])])]}},[[0,0]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.