diff --git a/app/Dockerfile b/app/Dockerfile index 769dbac..2f84764 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -1,4 +1,4 @@ -FROM metasfresh/metasfresh-app:5.70 +FROM metasfresh/metasfresh-app:5.71 COPY sources/configs/* /opt/metasfresh/ COPY sources/start_app.sh /opt/metasfresh/ diff --git a/db/Dockerfile b/db/Dockerfile index 8cc4851..b933a95 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -1,4 +1,4 @@ -FROM metasfresh/metasfresh-db:5.70 +FROM metasfresh/metasfresh-db:5.71 RUN localedef -i de_DE -c -f UTF-8 -A /usr/share/locale/locale.alias de_DE.UTF-8 RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 diff --git a/docker-src/app/Dockerfile b/docker-src/app/Dockerfile index f29ff16..386a07a 100644 --- a/docker-src/app/Dockerfile +++ b/docker-src/app/Dockerfile @@ -12,7 +12,7 @@ RUN apt -y install netcat \ && apt -y autoclean RUN mkdir -p /opt/metasfresh -RUN curl https://repo.metasfresh.com/content/repositories/mvn-release-releases/de/metas/dist/metasfresh-dist-dist/5.70.2-751+release/metasfresh-dist-dist-5.70.2-751+release-dist.tar.gz \ +RUN curl https://repo.metasfresh.com/content/repositories/mvn-release-releases/de/metas/dist/metasfresh-dist-dist/5.71.2-754+release/metasfresh-dist-dist-5.71.2-754+release-dist.tar.gz \ | tar -xzC /opt/metasfresh/ COPY sources/configs/* /opt/metasfresh/ diff --git a/docker-src/webapi/Dockerfile b/docker-src/webapi/Dockerfile index 9a9c86e..a000b14 100644 --- a/docker-src/webapi/Dockerfile +++ b/docker-src/webapi/Dockerfile @@ -14,7 +14,7 @@ RUN apt -y install netcat \ COPY sources/configs/local_settings.properties /root/ RUN mkdir -p /opt/metasfresh-webui-api/metasfresh-webui-api \ && mkdir -p /opt/metasfresh-webui-api/log -RUN curl https://repo.metasfresh.com/content/repositories/mvn-release/de/metas/ui/web/metasfresh-webui-api/5.70.2-543+release/metasfresh-webui-api-5.70.2-543+release.jar \ +RUN curl https://repo.metasfresh.com/content/repositories/mvn-release/de/metas/ui/web/metasfresh-webui-api/5.71.2-546+release/metasfresh-webui-api-5.71.2-546+release.jar \ --output /opt/metasfresh-webui-api/metasfresh-webui-api.jar \ && chmod 750 /opt/metasfresh-webui-api/metasfresh-webui-api.jar diff --git a/docker-src/webui/sources/dist/bundle-8c5b04a7bc1b3d129c93-git-422ad21.js b/docker-src/webui/sources/dist/bundle-8dca76735a3e13526e33-git-a71975d.js similarity index 93% rename from docker-src/webui/sources/dist/bundle-8c5b04a7bc1b3d129c93-git-422ad21.js rename to docker-src/webui/sources/dist/bundle-8dca76735a3e13526e33-git-a71975d.js index 3aeea07..22d90a8 100644 --- a/docker-src/webui/sources/dist/bundle-8c5b04a7bc1b3d129c93-git-422ad21.js +++ b/docker-src/webui/sources/dist/bundle-8dca76735a3e13526e33-git-a71975d.js @@ -9,7 +9,7 @@ Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(7),o=n(575),i=n(52),a=Object.defineProperty;t.f=n(21)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNotifications=d,t.getNotificationsEndpoint=f,t.markAllAsRead=p,t.markAsRead=h,t.deleteUserNotification=m,t.getImageAction=_,t.postImageAction=b,t.getKPIsDashboard=g,t.getTargetIndicatorsDashboard=y,t.getKPIData=v,t.changeKPIItem=w,t.changeTargetIndicatorsItem=k,t.getTargetIndicatorsData=x,t.setUserDashboardWidgets=T,t.getMessages=M,t.createUrlAttachment=O,t.languageSuccess=L,t.logoutSuccess=S,t.loginSuccess=D,t.enableTutorial=j,t.addNotification=C,t.setNotificationProgress=A,t.deleteNotification=P,t.clearNotifications=I,t.updateUri=R,t.getNotificationsSuccess=H,t.readNotification=Y,t.newNotification=N,t.removeNotification=W,t.readAllNotifications=J,t.deleteAllNotifications=V,t.setProcessPending=U,t.setProcessSaved=X,t.userSessionInit=G,t.userSessionUpdate=F;var r=c(n(37)),o=c(n(2)),i=c(n(403)),a=n(24),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(108)),l=n(35),u=n(43);function c(e){return e&&e.__esModule?e:{default:e}}function d(){return r.default.get(config.API_URL+"/notifications/all?limit=20")}function f(){return r.default.get(config.API_URL+"/notifications/websocketEndpoint")}function p(){return r.default.put(config.API_URL+"/notifications/all/read")}function h(e){return r.default.put(config.API_URL+"/notifications/"+e+"/read")}function m(e){return r.default.delete(config.API_URL+"/notifications?ids="+e)}function _(e){return(0,r.default)({url:config.API_URL+"/image/"+e+"?maxWidth=200&maxHeight=200",responseType:"blob"}).then(function(e){return e.data})}function b(e){return r.default.post(config.API_URL+"/image",e).then(function(e){return e.data})}function g(){return r.default.get(config.API_URL+"/dashboard/kpis?silentError=true")}function y(){return r.default.get(config.API_URL+"/dashboard/targetIndicators?silentError=true")}function v(e){return r.default.get(config.API_URL+"/dashboard/kpis/"+e+"/data?silentError=true")}function w(e,t,n){return r.default.patch(config.API_URL+"/dashboard/kpis/"+e,[{op:"replace",path:t,value:n}])}function k(e,t,n){return r.default.patch(config.API_URL+"/dashboard/targetIndicators/"+e,[{op:"replace",path:t,value:n}])}function x(e){return r.default.get(config.API_URL+"/dashboard/targetIndicators/"+e+"/data?silentError=true")}function T(e){return r.default.patch(config.API_URL+"/dashboard/kpis",e)}function M(e){return r.default.get(config.API_URL+"/i18n/messages"+(e?"?="+e:""))}function O(e){var t=e.windowId,n=e.documentId,o=e.name,i=e.url;return r.default.post(config.API_URL+"/window/"+t+"/"+n+"/attachments/addUrl",{name:o,url:i})}function E(e,t){var n=e.toLowerCase(),r={defaultFormat:"0,0.00[000]",delimiters:{thousands:t.numberGroupingSeparator||",",decimal:t.numberDecimalSeparator||"."}};void 0===i.default.locales[n]&&i.default.register("locale",n,r),void 0!==i.default.locales[n]&&(i.default.locale(n),r.defaultFormat&&i.default.defaultFormat(r.defaultFormat))}function L(e){localStorage.setItem(l.LOCAL_LANG,e),o.default.locale(e),r.default.defaults.headers.common["Accept-Language"]=e}function S(e){e.close(),localStorage.removeItem("isLogged")}function D(e){return function(t){localStorage.setItem("isLogged",!0),(0,u.getUserSession)().then(function(n){var r=n.data;t(G(r)),L(r.language.key),E(r.language.key,r.locale),e.initSessionClient(r.websocketEndpoint,function(e){var n=JSON.parse(e.body);t(F(n)),n.language&&L(n.language.key),n.locale&&E(n.language.key,n.locale),d().then(function(e){t(H(e.data.notifications,e.data.unreadCount))})})}),f().then(function(n){e.initNotificationClient(n,function(e){var n=JSON.parse(e.body);if("Read"===n.eventType)t(Y(n.notificationId,n.unreadCount));else if("ReadAll"===n.eventType)t(J());else if("Delete"===n.eventType)t(W(n.notificationId,n.unreadCount));else if("DeleteAll"===n.eventType)t(V());else if("New"===n.eventType){t(N(n.notification,n.unreadCount));var r=n.notification;r.important&&t(C("Important notification",r.message,5e3,"primary"))}})}),d().then(function(e){t(H(e.data.notifications,e.data.unreadCount))})}}function j(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:s.ENABLE_TUTORIAL,flag:e}}function C(e,t,n,r,o,i){return{type:s.ADD_NOTIFICATION,title:e,msg:t,shortMsg:o,time:n,notifType:r,id:Date.now(),onCancel:i}}function A(e,t){return{type:s.SET_NOTIFICATION_PROGRESS,key:e,progress:t}}function P(e){return{type:s.DELETE_NOTIFICATION,key:e}}function I(){return{type:s.CLEAR_NOTIFICATIONS}}function R(e,t,n,r){return function(o){var i=e+"?";t[n]=r;for(var s=Object.keys(t),l=0;l0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}();n.d(t,"IGNORE_CLASS_NAME",function(){return f}),n.d(t,"default",function(){return p});var l=void 0,u={},c={},d=["touchstart","touchmove"],f="ignore-react-onclickoutside";function p(e,t){var n,p;return p=n=function(n){function f(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var 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,n.call(this,e));return t.__outsideClickHandler=function(e){if("function"!=typeof t.__clickOutsideHandlerProp){var n=t.getInstance();if("function"!=typeof n.props.handleClickOutside){if("function"!=typeof n.handleClickOutside)throw new Error("WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.");n.handleClickOutside(e)}else n.props.handleClickOutside(e)}else t.__clickOutsideHandlerProp(e)},t.enableOnClickOutside=function(){if("undefined"!=typeof document&&!c[t._uid]){void 0===l&&(l=a()),c[t._uid]=!0;var e=t.props.eventTypes;e.forEach||(e=[e]),u[t._uid]=function(e){var n;t.props.disableOnClickOutside||null!==t.componentNode&&(t.props.preventDefault&&e.preventDefault(),t.props.stopPropagation&&e.stopPropagation(),t.props.excludeScrollbar&&(n=e,document.documentElement.clientWidth<=n.clientX||document.documentElement.clientHeight<=n.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(i(e,t,n))return!0;e=e.parentNode}return e}(e.target,t.componentNode,t.props.outsideClickIgnoreClass)===document&&t.__outsideClickHandler(e))},e.forEach(function(e){var n=null;-1!==d.indexOf(e)&&l&&(n={passive:!t.props.preventDefault}),document.addEventListener(e,u[t._uid],n)})}},t.disableOnClickOutside=function(){delete c[t._uid];var e=u[t._uid];if(e&&"undefined"!=typeof document){var n=t.props.eventTypes;n.forEach||(n=[n]),n.forEach(function(t){return document.removeEventListener(t,e)}),delete u[t._uid]}},t.getRef=function(e){return t.instanceRef=e},t._uid=s(),t}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)}(f,n),f.prototype.getInstance=function(){if(!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},f.prototype.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=Object(o.findDOMNode)(this.getInstance()),this.enableOnClickOutside()}},f.prototype.componentDidUpdate=function(){this.componentNode=Object(o.findDOMNode)(this.getInstance())},f.prototype.componentWillUnmount=function(){this.disableOnClickOutside()},f.prototype.render=function(){var t=this,n=Object.keys(this.props).filter(function(e){return"excludeScrollbar"!==e}).reduce(function(e,n){return e[n]=t.props[n],e},{});return e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,Object(r.createElement)(e,n)},f}(r.Component),n.displayName="OnClickOutside("+(e.displayName||e.name||"Component")+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:f,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},p}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Alt",o={OPEN_ACTIONS_MENU:"Alt+1",OPEN_NAVIGATION_MENU:"Alt+2",OPEN_INBOX_MENU:"Alt+3",OPEN_AVATAR_MENU:"Alt+4",OPEN_SIDEBAR_MENU_0:"Alt+5",OPEN_SIDEBAR_MENU_1:"Alt+6",OPEN_SIDEBAR_MENU_2:"Alt+7",DOC_STATUS:"Alt+I",OPEN_ADVANCED_EDIT:"Alt+E",CLONE_DOCUMENT:"Alt+W",OPEN_PRINT_RAPORT:"Alt+P",OPEN_EMAIL:"Alt+K",OPEN_LETTER:"Alt+R",DELETE_DOCUMENT:"Alt+D",NEW_DOCUMENT:"Alt+N",TOGGLE_EDIT_MODE:"Alt+O",OPEN_SELECTED:"Alt+B",REMOVE_SELECTED:"Alt+Y",ADVANCED_EDIT:"Alt+E",SELECT_ALL_LEAFS:"Alt+S",EXPAND_INDENT:"+",COLLAPSE_INDENT:"-",TOGGLE_QUICK_INPUT:"Alt+Q",TOGGLE_EXPAND:"Alt++",NEXT_PAGE:"PageDown",PREV_PAGE:"PageUp",FIRST_PAGE:"Home",LAST_PAGE:"End",SELECT_ALL_ROWS:"Alt+A",QUICK_ACTION_POS:"Alt+U",QUICK_ACTION_TOGGLE:"Alt+L",COMPLETE_STATUS:"Alt+U",APPLY:"Alt+Enter",CANCEL:"Escape"},i=[o.EXPAND_INDENT,o.COLLAPSE_INDENT];t.disabledWithFocus=i;var a=o;t.default=a;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(r,"mod","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/shortcuts/keymap.js"),__REACT_HOT_LOADER__.register(o,"keymaps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/shortcuts/keymap.js"),__REACT_HOT_LOADER__.register(i,"disabledWithFocus","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/shortcuts/keymap.js"),__REACT_HOT_LOADER__.register(a,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/shortcuts/keymap.js"))},function(e,t,n){var r=n(3),o=n(11),i=n(51),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t,n){var r=n(9),o=n(31),i=n(32),a=n(80)("src"),s=Function.toString,l=(""+s).split("toString");n(53).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var r=n(20),o=n(81);e.exports=n(21)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(949)},function(e,t,n){"use strict";var r=n(402);e.exports={getOrigin:function(e){if(!e)return null;var t=new r(e);if("file:"===t.protocol)return null;var n=t.port;return n||(n="https:"===t.protocol?"443":"80"),t.protocol+"//"+t.hostname+":"+n},isOriginEqual:function(e,t){var n=this.getOrigin(e)===this.getOrigin(t);return n},isSchemeEqual:function(e,t){return e.split(":")[0]===t.split(":")[0]},addPath:function(e,t){var n=e.split("?");return n[0]+t+(n[1]?"?"+n[1]:"")},addQuery:function(e,t){return e+(-1===e.indexOf("?")?"?"+t:"&"+t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.DATE_FORMAT="YYYY-MM-DDTHH:mm:ss.SSSZ",o=t.LOCAL_LANG="metasfreshLanguage",i=t.VIEW_EDITOR_RENDER_MODES_NEVER="never",a=t.VIEW_EDITOR_RENDER_MODES_ON_DEMAND="on-demand",s=t.VIEW_EDITOR_RENDER_MODES_ALWAYS="always",l=t.DATE_FIELDS=["Date","DateTime","Time"],u=t.AMOUNT_FIELD_TYPES=["Amount","CostPrice"],c=t.AMOUNT_FIELD_FORMATS_BY_PRECISION=["0,0.[00000]","0,0.0[0000]","0,0.00[000]","0,0.000[00]","0,0.0000[0]","0,0.00000"],d=t.SPECIAL_FIELD_TYPES=["Color"],f=t.DATE_FIELD_TYPES=["Date","DateTime","Time"],p=t.DATE_FIELD_FORMATS={Date:"l",DateTime:"l LTS",Time:"LTS"},h=t.TIME_FIELD_TYPES=["Time"];"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(r,"DATE_FORMAT","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(o,"LOCAL_LANG","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(i,"VIEW_EDITOR_RENDER_MODES_NEVER","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(a,"VIEW_EDITOR_RENDER_MODES_ON_DEMAND","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(s,"VIEW_EDITOR_RENDER_MODES_ALWAYS","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(l,"DATE_FIELDS","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(u,"AMOUNT_FIELD_TYPES","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(c,"AMOUNT_FIELD_FORMATS_BY_PRECISION","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(d,"SPECIAL_FIELD_TYPES","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(f,"DATE_FIELD_TYPES","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(p,"DATE_FIELD_FORMATS","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(h,"TIME_FIELD_TYPES","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"))},function(e,t,n){"use strict";var r=n(541),o=n(938),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||a(e)||(e=[e]),a(e))for(var n=0,r=e.length;n>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?f(e)+t:t}function h(){return!0}function m(e,t,n){return(0===e&&!y(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function _(e,t){return g(e,t,0)}function b(e,t){return g(e,t,t)}function g(e,t,n){return void 0===e?n:y(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function y(e){return e<0||0===e&&1/e==-1/0}function v(e){return w(e)||O(e)}function w(e){return!(!e||!e[L])}function k(e){return!(!e||!e[S])}function x(e){return!(!e||!e[D])}function T(e){return k(e)||x(e)}function M(e){return!(!e||!e[j])}function O(e){return!(!e||!e[C])}function E(e){return!(!e||"function"!=typeof e.equals||"function"!=typeof e.hashCode)}var L="@@__IMMUTABLE_ITERABLE__@@",S="@@__IMMUTABLE_KEYED__@@",D="@@__IMMUTABLE_INDEXED__@@",j="@@__IMMUTABLE_ORDERED__@@",C="@@__IMMUTABLE_RECORD__@@",A=function(e){return w(e)?e:$(e)},P=function(e){function t(e){return k(e)?e:Q(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(A),I=function(e){function t(e){return x(e)?e:ee(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(A),R=function(e){function t(e){return w(e)&&!T(e)?e:te(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(A);A.Keyed=P,A.Indexed=I,A.Set=R;var H=0,Y=1,N=2,W="function"==typeof Symbol&&Symbol.iterator,J="@@iterator",V=W||J,U=function(e){this.next=e};function X(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function G(){return{value:void 0,done:!0}}function F(e){return!!q(e)}function z(e){return e&&"function"==typeof e.next}function B(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(W&&e[W]||e[J]);if("function"==typeof t)return t}U.prototype.toString=function(){return"[Iterator]"},U.KEYS=H,U.VALUES=Y,U.ENTRIES=N,U.prototype.inspect=U.prototype.toSource=function(){return this.toString()},U.prototype[V]=function(){return this};var K=Object.prototype.hasOwnProperty;function Z(e){return e&&"number"==typeof e.length}var $=function(e){function t(e){return null===e||void 0===e?ue():v(e)?e.toSeq():function(e){var t=fe(e);if(t)return t;if("object"==typeof e)return new oe(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[t?r-++o:o++];if(!1===e(i[1],i[0],this))break}return o}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,o=0;return new U(function(){if(o===r)return{value:void 0,done:!0};var i=n[t?r-++o:o++];return X(e,i[0],i[1])})}return this.__iteratorUncached(e,t)},t}(A),Q=function(e){function t(e){return null===e||void 0===e?ue().toKeyedSeq():w(e)?k(e)?e.toSeq():e.fromEntrySeq():O(e)?e.toSeq():ce(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}($),ee=function(e){function t(e){return null===e||void 0===e?ue():w(e)?k(e)?e.entrySeq():e.toIndexedSeq():O(e)?e.toSeq().entrySeq():de(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}($),te=function(e){function t(e){return(w(e)&&!T(e)?e:ee(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}($);$.isSeq=le,$.Keyed=Q,$.Set=te,$.Indexed=ee;var ne="@@__IMMUTABLE_SEQ__@@";$.prototype[ne]=!0;var re=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[p(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,o=0;o!==r;){var i=t?r-++o:o++;if(!1===e(n[i],i,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,o=0;return new U(function(){if(o===r)return{value:void 0,done:!0};var i=t?r-++o:o++;return X(e,i,n[i])})},t}(ee),oe=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return K.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[t?o-++i:i++];if(!1===e(n[a],a,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length,i=0;return new U(function(){if(i===o)return{value:void 0,done:!0};var a=r[t?o-++i:i++];return X(e,a,n[a])})},t}(Q);oe.prototype[j]=!0;var ie,ae=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=B(this._collection),r=0;if(z(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=B(this._collection);if(!z(n))return new U(G);var r=0;return new U(function(){var t=n.next();return t.done?t:X(e,r++,t.value)})},t}(ee),se=function(e){function t(e){this._iterator=e,this._iteratorCache=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return X(e,o,r[o++])})},t}(ee);function le(e){return!(!e||!e[ne])}function ue(){return ie||(ie=new re([]))}function ce(e){var t=Array.isArray(e)?new re(e):z(e)?new se(e):F(e)?new ae(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new oe(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function de(e){var t=fe(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function fe(e){return Z(e)?new re(e):z(e)?new se(e):F(e)?new ae(e):void 0}function pe(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(E(e)&&E(t)&&e.equals(t))}var he="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function me(e){return e>>>1&1073741824|3221225471&e}function _e(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return me(n)}if("string"===t)return e.length>Te?function(e){var t=Ee[e];void 0===t&&(t=be(e),Oe===Me&&(Oe=0,Ee={}),Oe++,Ee[e]=t);return t}(e):be(e);if("function"==typeof e.hashCode)return me(e.hashCode());if("object"===t)return function(e){var t;if(we&&void 0!==(t=ve.get(e)))return t;if(void 0!==(t=e[xe]))return t;if(!ye){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[xe]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}t=++ke,1073741824&ke&&(ke=0);if(we)ve.set(e,t);else{if(void 0!==ge&&!1===ge(e))throw new Error("Non-extensible objects are not allowed as keys.");if(ye)Object.defineProperty(e,xe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[xe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[xe]=t}}return t}(e);if("function"==typeof e.toString)return be(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function be(e){for(var t=0,n=0;n=0&&(u.get=function(t,n){return(t=p(this,t))>=0&&ts)return{value:void 0,done:!0};var e=o.next();return r||t===Y||e.done?e:X(t,l-1,t===H?void 0:e.value[1],e)})},u}function He(e,t,n,r){var o=Fe(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate(function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return l++,o(e,r?i:l-1,a)}),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(N,i),l=!0,u=0;return new U(function(){var e,i,c;do{if((e=s.next()).done)return r||o===Y?e:X(o,u++,o===H?void 0:e.value[1],e);var d=e.value;i=d[0],c=d[1],l&&(l=t.call(n,c,i,a))}while(l);return o===N?e:X(o,i,c,e)})},o}function Ye(e,t,n){var r=Fe(e);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function e(l,u){l.__iterate(function(i,l){return(!t||u0}function Ve(e,t,n,r){var o=Fe(e),i=new re(n).map(function(e){return e.size});return o.size=r?i.max():i.min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(Y,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=n.map(function(e){return e=A(e),B(o?e.reverse():e)}),a=0,s=!1;return new U(function(){var n;return s||(n=i.map(function(e){return e.next()}),s=r?n.every(function(e){return e.done}):n.some(function(e){return e.done})),s?{value:void 0,done:!0}:X(e,a++,t.apply(null,n.map(function(e){return e.value})))})},o}function Ue(e,t){return e===t?e:le(e)?t:e.constructor(t)}function Xe(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ge(e){return k(e)?P:x(e)?I:R}function Fe(e){return Object.create((k(e)?Q:x(e)?ee:te).prototype)}function ze(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$.prototype.cacheResult.call(this)}function Be(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e0;)t[n]=arguments[n+1];return bt(this,t,e)}function bt(e,t,n){for(var r=[],o=0;o0;)t[n]=arguments[n+1];return xt(e,t)}function yt(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return xt(t,n,e)}function vt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return kt(e,t)}function wt(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return kt(t,n,e)}function kt(e,t,n){return xt(e,t,function(e){return function t(n,r,o){return et(n)&&et(r)?xt(n,[r],t):e?e(n,r,o):r}}(n))}function xt(e,t,n){if(!et(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(v(e))return e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.concat.apply(e,t);for(var r=Array.isArray(e),o=e,i=r?I:P,a=r?function(t){o===e&&(o=ot(o)),o.push(t)}:function(t,r){var i=K.call(o,r),a=i&&n?n(o[r],t,r):t;i&&a===o[r]||(o===e&&(o=ot(o)),o[r]=a)},s=0;s0;)t[n]=arguments[n+1];return kt(this,t,e)}function Ot(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return st(this,e,Ft(),function(e){return xt(e,t)})}function Et(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return st(this,e,Ft(),function(e){return kt(e,t)})}function Lt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function St(){return this.__ownerID?this:this.__ensureOwner(new d)}function Dt(){return this.__ensureOwner()}function jt(){return this.__altered}Se.prototype.cacheResult=Le.prototype.cacheResult=De.prototype.cacheResult=je.prototype.cacheResult=ze;var Ct=function(e){function t(t){return null===t||void 0===t?Ft():At(t)&&!M(t)?t:Ft().withMutations(function(n){var r=e(t);Ze(r.size),r.forEach(function(e,t){return n.set(t,e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Ft().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return zt(this,e,t)},t.prototype.remove=function(e){return zt(this,e,a)},t.prototype.deleteAll=function(e){var t=A(e);return 0===t.size?this:this.withMutations(function(e){t.forEach(function(t){return e.remove(t)})})},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ft()},t.prototype.sort=function(e){return yn(Ne(this,e))},t.prototype.sortBy=function(e,t){return yn(Ne(this,t,e))},t.prototype.__iterator=function(e,t){return new Vt(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Gt(this.size,this._root,e,this.__hash):0===this.size?Ft():(this.__ownerID=e,this.__altered=!1,this)},t}(P);function At(e){return!(!e||!e[Pt])}Ct.isMap=At;var Pt="@@__IMMUTABLE_MAP__@@",It=Ct.prototype;It[Pt]=!0,It.delete=It.remove,It.removeAll=It.deleteAll,It.concat=It.merge,It.setIn=ut,It.removeIn=It.deleteIn=dt,It.update=pt,It.updateIn=ht,It.merge=mt,It.mergeWith=_t,It.mergeDeep=Tt,It.mergeDeepWith=Mt,It.mergeIn=Ot,It.mergeDeepIn=Et,It.withMutations=Lt,It.wasAltered=jt,It.asImmutable=Dt,It["@@transducer/init"]=It.asMutable=St,It["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},It["@@transducer/result"]=function(e){return e.asImmutable()};var Rt=function(e,t){this.ownerID=e,this.entries=t};Rt.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=Qt)return function(e,t,n,r){e||(e=new d);for(var o=new Wt(e,_e(n),[n,r]),i=0;i>>e)&i),s=this.bitmap;return 0==(s&a)?o:this.nodes[Zt(s&a-1)].get(e+r,t,n,o)},Ht.prototype.update=function(e,t,n,s,l,u,c){void 0===n&&(n=_e(s));var d=(0===t?n:n>>>t)&i,f=1<=en)return function(e,t,n,r,i){for(var a=0,s=new Array(o),l=0;0!==n;l++,n>>>=1)s[l]=1&n?t[a++]:void 0;return s[r]=i,new Yt(e,a+1,s)}(e,_,p,d,g);if(h&&!g&&2===_.length&&qt(_[1^m]))return _[1^m];if(h&&g&&1===_.length&&qt(g))return g;var y=e&&e===this.ownerID,v=h?g?p:p^f:p|f,w=h?g?$t(_,m,g,y):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a>>e)&i,s=this.nodes[a];return s?s.get(e+r,t,n,o):o},Yt.prototype.update=function(e,t,n,o,s,l,u){void 0===n&&(n=_e(o));var c=(0===t?n:n>>>t)&i,d=s===a,f=this.nodes,p=f[c];if(d&&!p)return this;var h=Bt(p,e,t+r,n,o,s,l,u);if(h===p)return this;var m=this.count;if(p){if(!h&&--m>>n)&i,u=(0===n?o:o>>>n)&i,c=l===u?[Kt(e,t,n+r,o,a)]:(s=new Wt(t,o,a),l>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function $t(e,t,n,r){var o=r?e:qe(e);return o[t]=n,o}var Qt=o/4,en=o/2,tn=o/4,nn=function(e){function t(t){var n=fn();if(null===t||void 0===t)return n;if(rn(t))return t;var i=e(t),a=i.size;return 0===a?n:(Ze(a),a>0&&a=0&&e=e.size||t<0)return e.withMutations(function(e){t<0?_n(e,t).set(0,n):_n(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=u(l);t>=bn(e._capacity)?r=pn(r,e.__ownerID,0,t,n,i):o=pn(o,e.__ownerID,e._level,t,n,i);if(!i.value)return e;if(e.__ownerID)return e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return dn(e._origin,e._capacity,e._level,o,r)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=r,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):fn()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){_n(n,0,t+e.length);for(var r=0;r>>t&i;if(o>=this.array.length)return new sn([],e);var a,s=0===o;if(t>0){var l=this.array[o];if((a=l&&l.removeBefore(e,t-r,n))===l&&s)return this}if(s&&!a)return this;var u=hn(this,e);if(!s)for(var c=0;c>>t&i;if(a>=this.array.length)return this;if(t>0){var s=this.array[a];if((o=s&&s.removeAfter(e,t-r,n))===s&&a===this.array.length-1)return this}var l=hn(this,e);return l.array.splice(a+1),o&&(l.array[a]=o),l};var ln,un={};function cn(e,t){var n=e._origin,i=e._capacity,a=bn(i),s=e._tail;return l(e._root,e._level,0);function l(e,u,c){return 0===u?function(e,r){var l=r===a?s&&s.array:e&&e.array,u=r>n?0:n-r,c=i-r;c>o&&(c=o);return function(){if(u===c)return un;var e=t?--c:u++;return l&&l[e]}}(e,c):function(e,a,s){var u,c=e&&e.array,d=s>n?0:n-s>>a,f=1+(i-s>>a);f>o&&(f=o);return function(){for(;;){if(u){var e=u();if(e!==un)return e;u=null}if(d===f)return un;var n=t?--f:d++;u=l(c&&c[n],a-r,s+(n<>>n&i,d=e&&u0){var f=e&&e.array[u],p=pn(f,t,n-r,o,a,s);return p===f?e:((l=hn(e,t)).array[u]=p,l)}return d&&e.array[u]===a?e:(c(s),l=hn(e,t),void 0===a&&u===l.array.length-1?l.array.pop():l.array[u]=a,l)}function hn(e,t){return t&&e&&t===e.ownerID?e:new sn(e?e.array.slice():[],t)}function mn(e,t){if(t>=bn(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>o&i],o-=r;return n}}function _n(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var o=e.__ownerID||new d,a=e._origin,s=e._capacity,l=a+t,u=void 0===n?s:n<0?s+n:a+n;if(l===a&&u===s)return e;if(l>=u)return e.clear();for(var c=e._level,f=e._root,p=0;l+p<0;)f=new sn(f&&f.array.length?[void 0,f]:[],o),p+=1<<(c+=r);p&&(l+=p,a+=p,u+=p,s+=p);for(var h=bn(s),m=bn(u);m>=1<h?new sn([],o):_;if(_&&m>h&&lr;y-=r){var v=h>>>y&i;g=g.array[v]=hn(g.array[v],o)}g.array[h>>>r&i]=_}if(u=m)l-=m,u-=m,c=r,f=null,b=b&&b.removeBefore(o,0,l);else if(l>a||m>>c&i;if(w!==m>>>c&i)break;w&&(p+=(1<a&&(f=f.removeBefore(o,c,l-p)),f&&m>>r<=o&&l.size>=2*s.size?(r=(i=l.filter(function(e,t){return void 0!==e&&u!==t})).toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=s.remove(t),i=u===l.size-1?l.pop():l.set(u,void 0))}else if(c){if(n===l.get(u)[1])return e;r=s,i=l.set(u,[t,n])}else r=s.set(t,l.size),i=l.set(l.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):wn(r,i)}yn.isOrderedMap=vn,yn.prototype[j]=!0,yn.prototype.delete=yn.prototype.remove;var Tn=function(e){function t(e){return null===e||void 0===e?Dn():Mn(e)?e:Dn().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=p(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Sn(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&Mn(t))return t;Ze(t.size);var n=this.size,r=this._head;return t.__iterate(function(e){n++,r={value:e,next:r}},!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):Sn(n,r)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Dn()},t.prototype.slice=function(t,n){if(m(t,n,this.size))return this;var r=_(t,this.size);if(b(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Sn(o,i)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Sn(this.size,this._head,e,this.__hash):0===this.size?Dn():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new re(this.toArray()).__iterate(function(t,r){return e(t,r,n)},t);for(var r=0,o=this._head;o&&!1!==e(o.value,r++,n);)o=o.next;return r},t.prototype.__iterator=function(e,t){if(t)return new re(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new U(function(){if(r){var t=r.value;return r=r.next,X(e,n++,t)}return{value:void 0,done:!0}})},t}(I);function Mn(e){return!(!e||!e[En])}Tn.isStack=Mn;var On,En="@@__IMMUTABLE_STACK__@@",Ln=Tn.prototype;function Sn(e,t,n,r){var o=Object.create(Ln);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Dn(){return On||(On=Sn(0))}function jn(e,t){if(e===t)return!0;if(!w(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||k(e)!==k(t)||x(e)!==x(t)||M(e)!==M(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!T(e);if(M(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&pe(o[1],e)&&(n||pe(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var s=!0,l=t.__iterate(function(t,r){if(n?!e.has(t):o?!pe(t,e.get(r,a)):!pe(e.get(r,a),t))return s=!1,!1});return s&&e.size===l}function Cn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function An(e){return et(e)?$(e).map(An).toJSON():e}Ln[En]=!0,Ln.shift=Ln.pop,Ln.unshift=Ln.push,Ln.unshiftAll=Ln.pushAll,Ln.withMutations=Lt,Ln.wasAltered=jt,Ln.asImmutable=Dt,Ln["@@transducer/init"]=Ln.asMutable=St,Ln["@@transducer/step"]=function(e,t){return e.unshift(t)},Ln["@@transducer/result"]=function(e){return e.asImmutable()};var Pn=function(e){function t(t){return null===t||void 0===t?Jn():In(t)&&!M(t)?t:Jn().withMutations(function(n){var r=e(t);Ze(r.size),r.forEach(function(e){return n.add(e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(P(e).keySeq())},t.intersect=function(e){return(e=A(e).toArray()).length?Yn.intersect.apply(t(e.pop()),e):Jn()},t.union=function(e){return(e=A(e).toArray()).length?Yn.union.apply(t(e.pop()),e):Jn()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Nn(this,this._map.set(e,e))},t.prototype.remove=function(e){return Nn(this,this._map.remove(e))},t.prototype.clear=function(){return Nn(this,this._map.clear())},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter(function(e){return 0!==e.size})).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(n){for(var r=0;r=0&&t=0&&n>>-15,461845907),t=he(t<<13|t>>>-13,5),t=he((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=me((t=he(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+or(_e(e),_e(t))|0}:function(e,t){r=r+or(_e(e),_e(t))|0}:t?function(e){r=31*r+_e(e)|0}:function(e){r=r+_e(e)|0}),r)}(this))}});var Bn=A.prototype;Bn[L]=!0,Bn[V]=Bn.values,Bn.toJSON=Bn.toArray,Bn.__toStringMapper=tt,Bn.inspect=Bn.toSource=function(){return this.toString()},Bn.chain=Bn.flatMap,Bn.contains=Bn.includes,Cn(P,{flip:function(){return Ue(this,Ce(this))},mapEntries:function(e,t){var n=this,r=0;return Ue(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ue(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var qn=P.prototype;qn[S]=!0,qn[V]=Bn.entries,qn.toJSON=zn,qn.__toStringMapper=function(e,t){return tt(t)+": "+tt(e)},Cn(I,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(e,t){return Ue(this,Ie(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Ue(this,Pe(this,!1))},slice:function(e,t){return Ue(this,Re(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=_(e,e<0?this.count():this.size);var r=this.slice(0,e);return Ue(this,1===n?r:r.concat(qe(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Ue(this,Ye(this,e,!1))},get:function(e,t){return(e=p(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=p(this,e))>=0&&(void 0!==this.size?this.size===1/0||et?-1:0}function or(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Kn[D]=!0,Kn[j]=!0,Cn(R,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),R.prototype.has=Bn.includes,R.prototype.contains=R.prototype.includes,Cn(Q,P.prototype),Cn(ee,I.prototype),Cn(te,R.prototype);var ir=function(e){function t(e){return null===e||void 0===e?cr():ar(e)?e:cr().withMutations(function(t){var n=R(e);Ze(n.size),n.forEach(function(e){return t.add(e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(P(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Pn);function ar(e){return In(e)&&M(e)}ir.isOrderedSet=ar;var sr,lr=ir.prototype;function ur(e,t){var n=Object.create(lr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function cr(){return sr||(sr=ur(kn()))}lr[j]=!0,lr.zip=Kn.zip,lr.zipWith=Kn.zipWith,lr.__empty=cr,lr.__make=ur;var dr=function(e,t){var n,r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(e),l=o._indices={};o._name=t,o._keys=s,o._defaultValues=e;for(var u=0;u2?[]:void 0,{"":e})}function vr(e,t){return k(t)?t.toMap():t.toList()}var wr="4.0.0-rc.9",kr={version:wr,Collection:A,Iterable:A,Seq:$,Map:Ct,OrderedMap:yn,List:nn,Stack:Tn,Set:Pn,OrderedSet:ir,Record:dr,Range:Un,Repeat:gr,is:pe,fromJS:yr,hash:_e,isImmutable:v,isCollection:w,isKeyed:k,isIndexed:x,isAssociative:T,isOrdered:M,isValueObject:E,get:rt,getIn:Xn,has:nt,hasIn:Fn,merge:gt,mergeDeep:vt,mergeWith:yt,mergeDeepWith:wt,remove:it,removeIn:ct,set:at,setIn:lt,update:ft,updateIn:st},xr=A;t.default=kr},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAvailableLang=t.setUserLang=t.getUserLang=t.getUserSession=t.getAvatar=t.logoutRequest=t.loginCompletionRequest=t.localLoginRequest=t.loginRequest=t.quickActionsRequest=t.deleteStaticFilter=t.filterViewRequest=t.createViewRequest=t.deleteView=t.browseViewRequest=t.getViewRowsByIds=t.getViewLayout=t.getAttributesInstance=t.initLayout=void 0;var r=n(893),o=n(892),i=n(889);t.initLayout=r.initLayout,t.getAttributesInstance=r.getAttributesInstance,t.getViewLayout=o.getViewLayout,t.getViewRowsByIds=o.getViewRowsByIds,t.browseViewRequest=o.browseViewRequest,t.deleteView=o.deleteView,t.createViewRequest=o.createViewRequest,t.filterViewRequest=o.filterViewRequest,t.deleteStaticFilter=o.deleteStaticFilter,t.quickActionsRequest=o.quickActionsRequest,t.loginRequest=i.loginRequest,t.localLoginRequest=i.localLoginRequest,t.loginCompletionRequest=i.loginCompletionRequest,t.logoutRequest=i.logoutRequest,t.getAvatar=i.getAvatar,t.getUserSession=i.getUserSession,t.getUserLang=i.getUserLang,t.setUserLang=i.setUserLang,t.getAvailableLang=i.getAvailableLang},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(26);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nw;w++)if((f||w in g)&&(_=y(m=g[w],w,b),e))if(n)k[w]=_;else if(_)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:k.push(m)}else if(c)return!1;return d?-1:u||c?c:k}}},function(e,t,n){var r=n(3),o=n(53),i=n(11);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(13);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){(function(e,r){var o;/*! JSON v3.3.2 | http://bestiejs.github.io/json3 | Copyright 2012-2014, Kit Cambridge | http://kit.mit-license.org */(function(){var i=n(878),a={function:!0,object:!0},s=a[typeof t]&&t&&!t.nodeType&&t,l=a[typeof window]&&window||this,u=s&&a[typeof e]&&e&&!e.nodeType&&"object"==typeof r&&r;function c(e,t){e||(e=l.Object()),t||(t=l.Object());var n=e.Number||l.Number,r=e.String||l.String,o=e.Object||l.Object,i=e.Date||l.Date,s=e.SyntaxError||l.SyntaxError,u=e.TypeError||l.TypeError,d=e.Math||l.Math,f=e.JSON||l.JSON;"object"==typeof f&&f&&(t.stringify=f.stringify,t.parse=f.parse);var p,h,m,_=o.prototype,b=_.toString,g=new i(-0xc782b5b800cec);try{g=-109252==g.getUTCFullYear()&&0===g.getUTCMonth()&&1===g.getUTCDate()&&10==g.getUTCHours()&&37==g.getUTCMinutes()&&6==g.getUTCSeconds()&&708==g.getUTCMilliseconds()}catch(e){}function y(e){if(y[e]!==m)return y[e];var o;if("bug-string-char-index"==e)o="a"!="a"[0];else if("json"==e)o=y("json-stringify")&&y("json-parse");else{var a,s='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var l=t.stringify,u="function"==typeof l&&g;if(u){(a=function(){return 1}).toJSON=a;try{u="0"===l(0)&&"0"===l(new n)&&'""'==l(new r)&&l(b)===m&&l(m)===m&&l()===m&&"1"===l(a)&&"[1]"==l([a])&&"[null]"==l([m])&&"null"==l(null)&&"[null,null,null]"==l([m,b,null])&&l({a:[a,!0,!1,null,"\0\b\n\f\r\t"]})==s&&"1"===l(null,a)&&"[\n 1,\n 2\n]"==l([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==l(new i(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==l(new i(864e13))&&'"-000001-01-01T00:00:00.000Z"'==l(new i(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==l(new i(-1))}catch(e){u=!1}}o=u}if("json-parse"==e){var c=t.parse;if("function"==typeof c)try{if(0===c("0")&&!c(!1)){var d=5==(a=c(s)).a.length&&1===a.a[0];if(d){try{d=!c('"\t"')}catch(e){}if(d)try{d=1!==c("01")}catch(e){}if(d)try{d=1!==c("1.")}catch(e){}}}}catch(e){d=!1}o=d}}return y[e]=!!o}if(!y("json")){var v=y("bug-string-char-index");if(!g)var w=d.floor,k=[0,31,59,90,120,151,181,212,243,273,304,334],x=function(e,t){return k[t]+365*(e-1970)+w((e-1969+(t=+(t>1)))/4)-w((e-1901+t)/100)+w((e-1601+t)/400)};if((p=_.hasOwnProperty)||(p=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=b?p=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,p=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,p.call(this,e)}),h=function(e,t){var n,r,o,i=0;for(o in(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n)p.call(r,o)&&i++;return n=r=null,i?h=2==i?function(e,t){var n,r={},o="[object Function]"==b.call(e);for(n in e)o&&"prototype"==n||p.call(r,n)||!(r[n]=1)||!p.call(e,n)||t(n)}:function(e,t){var n,r,o="[object Function]"==b.call(e);for(n in e)o&&"prototype"==n||!p.call(e,n)||(r="constructor"===n)||t(n);(r||p.call(e,n="constructor"))&&t(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],h=function(e,t){var n,o,i="[object Function]"==b.call(e),s=!i&&"function"!=typeof e.constructor&&a[typeof e.hasOwnProperty]&&e.hasOwnProperty||p;for(n in e)i&&"prototype"==n||!s.call(e,n)||t(n);for(o=r.length;n=r[--o];s.call(e,n)&&t(n));}),h(e,t)},!y("json-stringify")){var T={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},M=function(e,t){return("000000"+(t||0)).slice(-e)},O=function(e){for(var t='"',n=0,r=e.length,o=!v||r>10,i=o&&(v?e.split(""):e);n-1/0&&s<1/0){if(x){for(f=w(s/864e5),c=w(f/365.2425)+1970-1;x(c+1,0)<=f;c++);for(d=w((f-x(c,0))/30.42);x(c,d+1)<=f;d++);f=1+f-x(c,d),g=w((_=(s%864e5+864e5)%864e5)/36e5)%24,y=w(_/6e4)%60,v=w(_/1e3)%60,k=_%1e3}else c=s.getUTCFullYear(),d=s.getUTCMonth(),f=s.getUTCDate(),g=s.getUTCHours(),y=s.getUTCMinutes(),v=s.getUTCSeconds(),k=s.getUTCMilliseconds();s=(c<=0||c>=1e4?(c<0?"-":"+")+M(6,c<0?-c:c):M(4,c))+"-"+M(2,d+1)+"-"+M(2,f)+"T"+M(2,g)+":"+M(2,y)+":"+M(2,v)+"."+M(3,k)+"Z"}else s=null;if(n&&(s=n.call(t,e,s)),null===s)return"null";if("[object Boolean]"==(l=b.call(s)))return""+s;if("[object Number]"==l)return s>-1/0&&s<1/0?""+s:"null";if("[object String]"==l)return O(""+s);if("object"==typeof s){for(D=a.length;D--;)if(a[D]===s)throw u();if(a.push(s),T=[],j=i,i+=o,"[object Array]"==l){for(S=0,D=s.length;S0)for(r="",n>10&&(n=10);r.length=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70||C();e+=D("0x"+i.slice(t,L));break;default:C()}else{if(34==o)break;for(o=i.charCodeAt(L),t=L;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++L);e+=i.slice(t,L)}if(34==i.charCodeAt(L))return L++,e;C();default:if(t=L,45==o&&(r=!0,o=i.charCodeAt(++L)),o>=48&&o<=57){for(48==o&&((o=i.charCodeAt(L+1))>=48&&o<=57)&&C(),r=!1;L=48&&o<=57);L++);if(46==i.charCodeAt(L)){for(n=++L;n=48&&o<=57);n++);n==L&&C(),L=n}if(101==(o=i.charCodeAt(L))||69==o){for(43!=(o=i.charCodeAt(++L))&&45!=o||L++,n=L;n=48&&o<=57);n++);n==L&&C(),L=n}return+i.slice(t,L)}if(r&&C(),"true"==i.slice(L,L+4))return L+=4,!0;if("false"==i.slice(L,L+5))return L+=5,!1;if("null"==i.slice(L,L+4))return L+=4,null;C()}return"$"},P=function(e){var t,n;if("$"==e&&C(),"string"==typeof e){if("@"==(v?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];"]"!=(e=A());n||(n=!0))n&&(","==e?"]"==(e=A())&&C():C()),","==e&&C(),t.push(P(e));return t}if("{"==e){for(t={};"}"!=(e=A());n||(n=!0))n&&(","==e?"}"==(e=A())&&C():C()),","!=e&&"string"==typeof e&&"@"==(v?e.charAt(0):e[0])&&":"==A()||C(),t[e.slice(1)]=P(A());return t}C()}return e},I=function(e,t,n){var r=R(e,t,n);r===m?delete e[t]:e[t]=r},R=function(e,t,n){var r,o=e[t];if("object"==typeof o&&o)if("[object Array]"==b.call(o))for(r=o.length;r--;)I(o,r,n);else h(o,function(e){I(o,e,n)});return n.call(e,t,o)};t.parse=function(e,t){var n,r;return L=0,S=""+e,n=P(A()),"$"!=A()&&C(),L=S=null,t&&"[object Function]"==b.call(t)?R(((r={})[""]=n,r),"",t):n}}}return t.runInContext=c,t}if(!u||u.global!==u&&u.window!==u&&u.self!==u||(l=u),s&&!i)c(l,s);else{var d=l.JSON,f=l.JSON3,p=!1,h=c(l,l.JSON3={noConflict:function(){return p||(p=!0,l.JSON=d,l.JSON3=f,d=f=null),h}});l.JSON={parse:h.parse,stringify:h.stringify}}i&&(void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o))}).call(this)}).call(this,n(88)(e),n(12))},function(e,t,n){var r=n(554),o=n(3),i=n(143)("metadata"),a=i.store||(i.store=new(n(551))),s=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i};e.exports={store:a,map:s,has:function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){s(n,r,!0).set(e,t)},keys:function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},key:function(e){return void 0===e||"symbol"==typeof e?e:String(e)},exp:function(e){o(o.S,"Reflect",e)}}},function(e,t,n){"use strict";if(n(21)){var r=n(79),o=n(9),i=n(11),a=n(3),s=n(133),l=n(184),u=n(46),c=n(73),d=n(81),f=n(31),p=n(71),h=n(50),m=n(19),_=n(549),b=n(77),g=n(52),y=n(32),v=n(109),w=n(13),k=n(23),x=n(193),T=n(76),M=n(38),O=n(75).f,E=n(191),L=n(80),S=n(15),D=n(48),j=n(142),C=n(135),A=n(188),P=n(91),I=n(138),R=n(74),H=n(189),Y=n(559),N=n(20),W=n(39),J=N.f,V=W.f,U=o.RangeError,X=o.TypeError,G=o.Uint8Array,F=Array.prototype,z=l.ArrayBuffer,B=l.DataView,q=D(0),K=D(2),Z=D(3),$=D(4),Q=D(5),ee=D(6),te=j(!0),ne=j(!1),re=A.values,oe=A.keys,ie=A.entries,ae=F.lastIndexOf,se=F.reduce,le=F.reduceRight,ue=F.join,ce=F.sort,de=F.slice,fe=F.toString,pe=F.toLocaleString,he=S("iterator"),me=S("toStringTag"),_e=L("typed_constructor"),be=L("def_constructor"),ge=s.CONSTR,ye=s.TYPED,ve=s.VIEW,we=D(1,function(e,t){return Oe(C(e,e[be]),t)}),ke=i(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),xe=!!G&&!!G.prototype.set&&i(function(){new G(1).set({})}),Te=function(e,t){var n=h(e);if(n<0||n%t)throw U("Wrong offset!");return n},Me=function(e){if(w(e)&&ye in e)return e;throw X(e+" is not a typed array!")},Oe=function(e,t){if(!(w(e)&&_e in e))throw X("It is not a typed array constructor!");return new e(t)},Ee=function(e,t){return Le(C(e,e[be]),t)},Le=function(e,t){for(var n=0,r=t.length,o=Oe(e,r);r>n;)o[n]=t[n++];return o},Se=function(e,t,n){J(e,t,{get:function(){return this._d[n]}})},De=function(e){var t,n,r,o,i,a,s=k(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,f=E(s);if(void 0!=f&&!x(f)){for(a=f.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),o=Oe(this,n);n>t;t++)o[t]=d?c(s[t],t):s[t];return o},je=function(){for(var e=0,t=arguments.length,n=Oe(this,t);t>e;)n[e]=arguments[e++];return n},Ce=!!G&&i(function(){pe.call(new G(1))}),Ae=function(){return pe.apply(Ce?de.call(Me(this)):Me(this),arguments)},Pe={copyWithin:function(e,t){return Y.call(Me(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return $(Me(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return H.apply(Me(this),arguments)},filter:function(e){return Ee(this,K(Me(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(Me(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Me(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){q(Me(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Me(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Me(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Me(this),arguments)},lastIndexOf:function(e){return ae.apply(Me(this),arguments)},map:function(e){return we(Me(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Me(this),arguments)},reduceRight:function(e){return le.apply(Me(this),arguments)},reverse:function(){for(var e,t=Me(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return ce.call(Me(this),e)},subarray:function(e,t){var n=Me(this),r=n.length,o=b(e,r);return new(C(n,n[be]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:b(t,r))-o))}},Ie=function(e,t){return Ee(this,de.call(Me(this),e,t))},Re=function(e){Me(this);var t=Te(arguments[1],1),n=this.length,r=k(e),o=m(r.length),i=0;if(o+t>n)throw U("Wrong length!");for(;i255?255:255&r),o.v[p](n*t+o.o,r,ke)}(this,n,e)},enumerable:!0})};y?(h=n(function(e,n,r,o){c(e,h,u,"_d");var i,a,s,l,d=0,p=0;if(w(n)){if(!(n instanceof z||"ArrayBuffer"==(l=v(n))||"SharedArrayBuffer"==l))return ye in n?Le(h,n):De.call(h,n);i=n,p=Te(r,t);var b=n.byteLength;if(void 0===o){if(b%t)throw U("Wrong length!");if((a=b-p)<0)throw U("Wrong length!")}else if((a=m(o)*t)+p>b)throw U("Wrong length!");s=a/t}else s=_(n),i=new z(a=s*t);for(f(e,"_d",{b:i,o:p,l:a,e:s,v:new B(i)});dt?1:e>=t?0:NaN},n=function(e){var n;return 1===e.length&&(n=e,e=function(e,r){return t(n(e),r)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}},r=n(t),o=r.right,i=r.left;function a(e,t){return[e,t]}var s=function(e){return null===e?NaN:+e},l=function(e,t){var n,r,o=e.length,i=0,a=-1,l=0,u=0;if(null==t)for(;++a1)return u/(i-1)},u=function(e,t){var n=l(e,t);return n?Math.sqrt(n):n},c=function(e,t){var n,r,o,i=e.length,a=-1;if(null==t){for(;++a=n)for(r=o=n;++an&&(r=n),o=n)for(r=o=n;++an&&(r=n),o0)for(e=Math.ceil(e/i),t=Math.floor(t/i),o=new Array(r=Math.ceil(t-e+1));++s=0?(i>=b?10:i>=g?5:i>=y?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=b?10:i>=g?5:i>=y?2:1)}function k(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=b?o*=10:i>=g?o*=5:i>=y&&(o*=2),t=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e),l=+n(e[i+1],i+1,e);return a+(l-a)*(o-i)}},M=function(e){for(var t,n,r,o=e.length,i=-1,a=0;++i=0;)for(r=e[o],t=r.length;--t>=0;)n[--a]=r[t];return n},O=function(e,t){var n,r,o=e.length,i=-1;if(null==t){for(;++i=n)for(r=n;++in&&(r=n)}else for(;++i=n)for(r=n;++in&&(r=n);return r},E=function(e){if(!(o=e.length))return[];for(var t=-1,n=O(e,L),r=new Array(n);++t=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),a=-1,s=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a0)for(var n,r,o=new Array(n),i=0;i=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),F.hasOwnProperty(t)?{space:F[t],local:e}:e},B=function(e){var t=z(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===G&&t.documentElement.namespaceURI===G?t.createElement(e):t.createElementNS(n,e)}})(t)},q=0;function K(){return new Z}function Z(){this._="@"+(++q).toString(36)}Z.prototype=K.prototype={constructor:Z,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var $=function(e){return function(){return this.matches(e)}};if("undefined"!=typeof document){var Q=document.documentElement;if(!Q.matches){var ee=Q.webkitMatchesSelector||Q.msMatchesSelector||Q.mozMatchesSelector||Q.oMatchesSelector;$=function(e){return function(){return ee.call(this,e)}}}}var te=$,ne={};if(e.event=null,"undefined"!=typeof document){var re=document.documentElement;"onmouseenter"in re||(ne={mouseenter:"mouseover",mouseleave:"mouseout"})}function oe(e,t,n){return e=ie(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function ie(t,n,r){return function(o){var i=e.event;e.event=o;try{t.call(this,this.__data__,n,r)}finally{e.event=i}}}function ae(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,i=t.length;rt?1:e>=t?0:NaN}var ke=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView};function xe(e,t){return e.style.getPropertyValue(t)||ke(e).getComputedStyle(e,null).getPropertyValue(t)}function Te(e){return e.trim().split(/^|\s+/)}function Me(e){return e.classList||new Oe(e)}function Oe(e){this._node=e,this._names=Te(e.getAttribute("class")||"")}function Ee(e,t){for(var n=Me(e),r=-1,o=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var Re=[null];function He(e,t){this._groups=e,this._parents=t}function Ye(){return new He([[document.documentElement]],Re)}He.prototype=Ye.prototype={constructor:He,select:function(e){"function"!=typeof e&&(e=pe(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o=k&&(k=w+1);!(v=b[k])&&++k=0;)(r=o[i])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=we);for(var n=this._groups,r=n.length,o=new Array(r),i=0;i1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):xe(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=Te(e+"");if(arguments.length<2){for(var r=Me(this.node()),o=-1,i=n.length;++o=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),a=i.length;if(!(arguments.length<2)){for(s=t?se:ae,null==n&&(n=!1),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=it.exec(e))?ht(parseInt(t[1],16)):(t=at.exec(e))?new gt(t[1],t[2],t[3],1):(t=st.exec(e))?new gt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=lt.exec(e))?mt(t[1],t[2],t[3],t[4]):(t=ut.exec(e))?mt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ct.exec(e))?yt(t[1],t[2]/100,t[3]/100,1):(t=dt.exec(e))?yt(t[1],t[2]/100,t[3]/100,t[4]):ft.hasOwnProperty(e)?ht(ft[e]):"transparent"===e?new gt(NaN,NaN,NaN,0):null}function ht(e){return new gt(e>>16&255,e>>8&255,255&e,1)}function mt(e,t,n,r){return r<=0&&(e=t=n=NaN),new gt(e,t,n,r)}function _t(e){return e instanceof Qe||(e=pt(e)),e?new gt((e=e.rgb()).r,e.g,e.b,e.opacity):new gt}function bt(e,t,n,r){return 1===arguments.length?_t(e):new gt(e,t,n,null==r?1:r)}function gt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function yt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new wt(e,t,n,r)}function vt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof wt)return new wt(e.h,e.s,e.l,e.opacity);if(e instanceof Qe||(e=pt(e)),!e)return new wt;if(e instanceof wt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n0&&l<1?0:a,new wt(a,s,l,e.opacity)}(e):new wt(e,t,n,null==r?1:r)}function wt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function kt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Ze(Qe,pt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Ze(gt,bt,$e(Qe,{brighter:function(e){return e=null==e?et:Math.pow(et,e),new gt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new gt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Ze(wt,vt,$e(Qe,{brighter:function(e){return e=null==e?et:Math.pow(et,e),new wt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new wt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new gt(kt(e>=240?e-240:e+120,o,r),kt(e,o,r),kt(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var xt=Math.PI/180,Tt=180/Math.PI,Mt=.95047,Ot=1,Et=1.08883,Lt=4/29,St=6/29,Dt=3*St*St,jt=St*St*St;function Ct(e){if(e instanceof Pt)return new Pt(e.l,e.a,e.b,e.opacity);if(e instanceof Wt){var t=e.h*xt;return new Pt(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof gt||(e=_t(e));var n=Yt(e.r),r=Yt(e.g),o=Yt(e.b),i=It((.4124564*n+.3575761*r+.1804375*o)/Mt),a=It((.2126729*n+.7151522*r+.072175*o)/Ot),s=It((.0193339*n+.119192*r+.9503041*o)/Et);return new Pt(116*a-16,500*(i-a),200*(a-s),e.opacity)}function At(e,t,n,r){return 1===arguments.length?Ct(e):new Pt(e,t,n,null==r?1:r)}function Pt(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function It(e){return e>jt?Math.pow(e,1/3):e/Dt+Lt}function Rt(e){return e>St?e*e*e:Dt*(e-Lt)}function Ht(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Yt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Nt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Wt)return new Wt(e.h,e.c,e.l,e.opacity);e instanceof Pt||(e=Ct(e));var t=Math.atan2(e.b,e.a)*Tt;return new Wt(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Wt(e,t,n,null==r?1:r)}function Wt(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}Ze(Pt,At,$e(Qe,{brighter:function(e){return new Pt(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new Pt(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=Ot*Rt(e),t=Mt*Rt(t),n=Et*Rt(n),new gt(Ht(3.2404542*t-1.5371385*e-.4985314*n),Ht(-.969266*t+1.8760108*e+.041556*n),Ht(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),Ze(Wt,Nt,$e(Qe,{brighter:function(e){return new Wt(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new Wt(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return Ct(this).rgb()}}));var Jt=-.14861,Vt=1.78277,Ut=-.29227,Xt=-.90649,Gt=1.97294,Ft=Gt*Xt,zt=Gt*Vt,Bt=Vt*Ut-Xt*Jt;function qt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Kt)return new Kt(e.h,e.s,e.l,e.opacity);e instanceof gt||(e=_t(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Bt*r+Ft*t-zt*n)/(Bt+Ft-zt),i=r-o,a=(Gt*(n-o)-Ut*i)/Xt,s=Math.sqrt(a*a+i*i)/(Gt*o*(1-o)),l=s?Math.atan2(a,i)*Tt-120:NaN;return new Kt(l<0?l+360:l,s,o,e.opacity)}(e):new Kt(e,t,n,null==r?1:r)}function Kt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Zt(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}Ze(Kt,qt,$e(Qe,{brighter:function(e){return e=null==e?et:Math.pow(et,e),new Kt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Kt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*xt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new gt(255*(t+n*(Jt*r+Vt*o)),255*(t+n*(Ut*r+Xt*o)),255*(t+n*(Gt*r)),this.opacity)}}));var $t=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,s=r180||n<-180?n-360*Math.round(n/360):n):en(isNaN(e)?t:e)}function rn(e){return 1==(e=+e)?on:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):en(isNaN(t)?n:t)}}function on(e,t){var n=t-e;return n?tn(e,n):en(isNaN(e)?t:e)}var an=function e(t){var n=rn(t);function r(e,t){var r=n((e=bt(e)).r,(t=bt(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=on(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function sn(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;ni&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:_n(n,r)})),i=yn.lastIndex;return i180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:_n(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}(i.rotate,a.rotate,s,l),function(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:_n(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}(i.skewX,a.skewX,s,l),function(e,t,n,r,i,a){if(e!==n||t!==r){var s=i.push(o(i)+"scale(",null,",",null,")");a.push({i:s-4,x:_n(e,n)},{i:s-2,x:_n(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,s,l),i=a=null,function(e){for(var t,n=-1,r=l.length;++n=0&&t._call.call(null,e),t=t._next;--Un}function rr(){Bn=(zn=Kn.now())+qn,Un=Xn=0;try{nr()}finally{Un=0,function(){for(var e,t,n=Nn,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Nn=t);Wn=e,ir(r)}(),Bn=0}}function or(){var e=Kn.now(),t=e-zn;t>Fn&&(qn-=t,zn=e)}function ir(e){if(!Un){Xn&&(Xn=clearTimeout(Xn));var t=e-Bn;t>24?(e<1/0&&(Xn=setTimeout(rr,t)),Gn&&(Gn=clearInterval(Gn))):(Gn||(zn=Bn,Gn=setInterval(or,Fn)),Un=1,Zn(rr))}}er.prototype=tr.prototype={constructor:er,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?$n():+n)+(null==t?0:+t),this._next||Wn===this||(Wn?Wn._next=this:Nn=this,Wn=this),this._call=e,this._time=n,ir()},stop:function(){this._call&&(this._call=null,this._time=1/0,ir())}};var ar=function(e,t,n){var r=new er;return t=null==t?0:+t,r.restart(function(n){r.stop(),e(n+t)},t,n),r},sr=J("start","end","interrupt"),lr=[],ur=0,cr=1,dr=2,fr=3,pr=4,hr=5,mr=6,_r=function(e,t,n,r,o,i){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,o=e.__transition;function i(l){var u,c,d,f;if(n.state!==cr)return s();for(u in o)if((f=o[u]).name===n.name){if(f.state===fr)return ar(i);f.state===pr?(f.state=mr,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete o[u]):+uur)throw new Error("too late");return n}function gr(e,t){var n=e.__transition;if(!n||!(n=n[t])||n.state>dr)throw new Error("too late");return n}function yr(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("too late");return n}var vr=function(e,t){var n,r,o,i=e.__transition,a=!0;if(i){for(o in t=null==t?null:t+"",i)(n=i[o]).name===t?(r=n.state>dr&&n.state=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?br:gr;return function(){var a=i(this,e),s=a.on;s!==r&&(o=(r=s).copy()).on(t,n),a.on=o}}(n,e,t))},attr:function(e,t){var n=z(e),r="transform"===n?Ln:kr;return this.attrTween(e,"function"==typeof t?(n.local?function(e,t,n){var r,o,i;return function(){var a,s=n(this);if(null!=s)return(a=this.getAttributeNS(e.space,e.local))===s?null:a===r&&s===o?i:i=t(r=a,o=s);this.removeAttributeNS(e.space,e.local)}}:function(e,t,n){var r,o,i;return function(){var a,s=n(this);if(null!=s)return(a=this.getAttribute(e))===s?null:a===r&&s===o?i:i=t(r=a,o=s);this.removeAttribute(e)}})(n,r,wr(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(e,t,n){var r,o;return function(){var i=this.getAttributeNS(e.space,e.local);return i===n?null:i===r?o:o=t(r=i,n)}}:function(e,t,n){var r,o;return function(){var i=this.getAttribute(e);return i===n?null:i===r?o:o=t(r=i,n)}})(n,r,t+""))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=z(e);return this.tween(n,(r.local?function(e,t){function n(){var n=this,r=t.apply(n,arguments);return r&&function(t){n.setAttributeNS(e.space,e.local,r(t))}}return n._value=t,n}:function(e,t){function n(){var n=this,r=t.apply(n,arguments);return r&&function(t){n.setAttribute(e,r(t))}}return n._value=t,n})(r,t))},style:function(e,t,n){var r="transform"==(e+="")?En:kr;return null==t?this.styleTween(e,function(e,t){var n,r,o;return function(){var i=xe(this,e),a=(this.style.removeProperty(e),xe(this,e));return i===a?null:i===n&&a===r?o:o=t(n=i,r=a)}}(e,r)).on("end.style."+e,function(e){return function(){this.style.removeProperty(e)}}(e)):this.styleTween(e,"function"==typeof t?function(e,t,n){var r,o,i;return function(){var a=xe(this,e),s=n(this);return null==s&&(this.style.removeProperty(e),s=xe(this,e)),a===s?null:a===r&&s===o?i:i=t(r=a,o=s)}}(e,r,wr(this,"style."+e,t)):function(e,t,n){var r,o;return function(){var i=xe(this,e);return i===n?null:i===r?o:o=t(r=i,n)}}(e,r,t+""),n)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){function r(){var r=this,o=t.apply(r,arguments);return o&&function(t){r.style.setProperty(e,o(t),n)}}return r._value=t,r}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(wr(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},remove:function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,o=yr(this.node(),n).tween,i=0,a=o.length;i0&&(r=i-h),x<0?f=p-m:x>0&&(a=s-m),w=fo,R.attr("cursor",go.selection),N());break;default:return}uo()},!0).on("keyup.brush",function(){switch(e.event.keyCode){case 16:j&&(b=g=j=!1,N());break;case 18:w===ho&&(k<0?c=d:k>0&&(r=i),x<0?f=p:x>0&&(a=s),w=po,N());break;case 32:w===fo&&(e.event.altKey?(k&&(c=d-h*k,r=i+h*k),x&&(f=p-m*x,a=s+m*x),w=ho):(k<0?c=d:k>0&&(r=i),x<0?f=p:x>0&&(a=s),w=po),R.attr("cursor",go[v]),N());break;default:return}uo()},!0).on("mousemove.brush",Y,!0).on("mouseup.brush",W,!0);Ue(e.event.view)}lo(),vr(y),l.call(y),P.start()}function Y(){var e=de(y);!j||b||g||(Math.abs(e[0]-A[0])>Math.abs(e[1]-A[1])?g=!0:b=!0),A=e,_=!0,uo(),N()}function N(){var e;switch(h=A[0]-C[0],m=A[1]-C[1],w){case fo:case co:k&&(h=Math.max(E-r,Math.min(S-c,h)),i=r+h,d=c+h),x&&(m=Math.max(L-a,Math.min(D-f,m)),s=a+m,p=f+m);break;case po:k<0?(h=Math.max(E-r,Math.min(S-r,h)),i=r+h,d=c):k>0&&(h=Math.max(E-c,Math.min(S-c,h)),i=r,d=c+h),x<0?(m=Math.max(L-a,Math.min(D-a,m)),s=a+m,p=f):x>0&&(m=Math.max(L-f,Math.min(D-f,m)),s=a,p=f+m);break;case ho:k&&(i=Math.max(E,Math.min(S,r-h*k)),d=Math.max(E,Math.min(S,c+h*k))),x&&(s=Math.max(L,Math.min(D,a-m*x)),p=Math.max(L,Math.min(D,f+m*x)))}d1e-6)if(Math.abs(c*s-l*u)>1e-6&&o){var f=n-i,p=r-a,h=s*s+l*l,m=f*f+p*p,_=Math.sqrt(h),b=Math.sqrt(d),g=o*Math.tan((Ho-Math.acos((h+d-m)/(2*_*b)))/2),y=g/b,v=g/_;Math.abs(y-1)>1e-6&&(this._+="L"+(e+y*u)+","+(t+y*c)),this._+="A"+o+","+o+",0,0,"+ +(c*f>u*p)+","+(this._x1=e+v*s)+","+(this._y1=t+v*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,r,o,i){e=+e,t=+t;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=e+a,u=t+s,c=1^i,d=i?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+u:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-u)>1e-6)&&(this._+="L"+l+","+u),n&&(d<0&&(d=d%Yo+Yo),d>No?this._+="A"+n+","+n+",0,1,"+c+","+(e-a)+","+(t-s)+"A"+n+","+n+",0,1,"+c+","+(this._x1=l)+","+(this._y1=u):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=Ho)+","+c+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},zo.prototype=Bo.prototype={constructor:zo,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var ei=Bo.prototype;function ti(e,t){var n=new Qo;if(e instanceof Qo)e.each(function(e){n.add(e)});else if(e){var r=-1,o=e.length;if(null==t)for(;++r=l)return a;if(o)return o=!1,i;var t,r=u;if(34===e.charCodeAt(r)){for(var s=r;s++=(i=(m+b)/2))?m=i:b=i,(c=n>=(a=(_+g)/2))?_=a:g=a,o=p,!(p=p[d=c<<1|u]))return o[d]=h,e;if(s=+e._x.call(null,p.data),l=+e._y.call(null,p.data),t===s&&n===l)return h.next=p,o?o[d]=h:e._root=h,e;do{o=o?o[d]=new Array(4):e._root=new Array(4),(u=t>=(i=(m+b)/2))?m=i:b=i,(c=n>=(a=(_+g)/2))?_=a:g=a}while((d=c<<1|u)==(f=(l>=a)<<1|s>=i));return o[f]=p,o[d]=h,e}var bi=function(e,t,n,r,o){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=o};function gi(e){return e[0]}function yi(e){return e[1]}function vi(e,t,n){var r=new wi(null==t?gi:t,null==n?yi:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function wi(e,t,n,r,o,i){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=o,this._y1=i,this._root=void 0}function ki(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var xi=vi.prototype=wi.prototype;function Ti(e){return e.x+e.vx}function Mi(e){return e.y+e.vy}function Oi(e){return e.index}function Ei(e,t){var n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function Li(e){return e.x}function Si(e){return e.y}xi.copy=function(){var e,t,n=new wi(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=ki(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var o=0;o<4;++o)(t=r.source[o])&&(t.length?e.push({source:t,target:r.target[o]=new Array(4)}):r.target[o]=ki(t));return n},xi.add=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return _i(this.cover(t,n),t,n,e)},xi.addAll=function(e){var t,n,r,o,i=e.length,a=new Array(i),s=new Array(i),l=1/0,u=1/0,c=-1/0,d=-1/0;for(n=0;nc&&(c=r),od&&(d=o));for(ce||e>o||r>t||t>i))return this;var a,s,l=o-n,u=this._root;switch(s=(t<(r+i)/2)<<1|e<(n+o)/2){case 0:do{(a=new Array(4))[s]=u,u=a}while(i=r+(l*=2),e>(o=n+l)||t>i);break;case 1:do{(a=new Array(4))[s]=u,u=a}while(i=r+(l*=2),(n=o-l)>e||t>i);break;case 2:do{(a=new Array(4))[s]=u,u=a}while(r=i-(l*=2),e>(o=n+l)||r>t);break;case 3:do{(a=new Array(4))[s]=u,u=a}while(r=i-(l*=2),(n=o-l)>e||r>t)}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=o,this._y1=i,this},xi.data=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e},xi.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},xi.find=function(e,t,n){var r,o,i,a,s,l,u,c=this._x0,d=this._y0,f=this._x1,p=this._y1,h=[],m=this._root;for(m&&h.push(new bi(m,c,d,f,p)),null==n?n=1/0:(c=e-n,d=t-n,f=e+n,p=t+n,n*=n);l=h.pop();)if(!(!(m=l.node)||(o=l.x0)>f||(i=l.y0)>p||(a=l.x1)=b)<<1|e>=_)&&(l=h[h.length-1],h[h.length-1]=h[h.length-1-u],h[h.length-1-u]=l)}else{var g=e-+this._x.call(null,m.data),y=t-+this._y.call(null,m.data),v=g*g+y*y;if(v=(s=(h+_)/2))?h=s:_=s,(c=a>=(l=(m+b)/2))?m=l:b=l,t=p,!(p=p[d=c<<1|u]))return this;if(!p.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,f=d)}for(;p.data!==e;)if(r=p,!(p=p.next))return this;return(o=p.next)&&delete p.next,r?(o?r.next=o:delete r.next,this):t?(o?t[d]=o:delete t[d],(p=t[0]||t[1]||t[2]||t[3])&&p===(t[3]||t[2]||t[1]||t[0])&&!p.length&&(n?n[f]=p:this._root=p),this):(this._root=o,this)},xi.removeAll=function(e){for(var t=0,n=e.length;t1?r[0]+r.slice(2):r,+e.slice(n+1)]},Pi=function(e){return(e=Ai(Math.abs(e)))?e[1]:NaN},Ii=function(e,t){var n=Ai(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},Ri={"":function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,i=-1;o0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e},"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Ii(100*e,t)},r:Ii,s:function(e,t){var n=Ai(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Di=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Ai(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Hi=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function Yi(e){return new Ni(e)}function Ni(e){if(!(t=Hi.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",o=t[3]||"-",i=t[4]||"",a=!!t[5],s=t[6]&&+t[6],l=!!t[7],u=t[8]&&+t[8].slice(1),c=t[9]||"";"n"===c?(l=!0,c="g"):Ri[c]||(c=""),(a||"0"===n&&"="===r)&&(a=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=i,this.zero=a,this.width=s,this.comma=l,this.precision=u,this.type=c}Yi.prototype=Ni.prototype,Ni.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var Wi,Ji=function(e){return e},Vi=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Ui=function(e){var t,n,r=e.grouping&&e.thousands?(t=e.grouping,n=e.thousands,function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}):Ji,o=e.currency,i=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(e.numerals):Ji,s=e.percent||"%";function l(e){var t=(e=Yi(e)).fill,n=e.align,l=e.sign,u=e.symbol,c=e.zero,d=e.width,f=e.comma,p=e.precision,h=e.type,m="$"===u?o[0]:"#"===u&&/[boxX]/.test(h)?"0"+h.toLowerCase():"",_="$"===u?o[1]:/[%p]/.test(h)?s:"",b=Ri[h],g=!h||/[defgprs%]/.test(h);function y(e){var o,s,u,y=m,v=_;if("c"===h)v=b(e)+v,e="";else{var w=(e=+e)<0;if(e=b(Math.abs(e),p),w&&0==+e&&(w=!1),y=(w?"("===l?l:"-":"-"===l||"("===l?"":l)+y,v=v+("s"===h?Vi[8+Di/3]:"")+(w&&"("===l?")":""),g)for(o=-1,s=e.length;++o(u=e.charCodeAt(o))||u>57){v=(46===u?i+e.slice(o+1):e.slice(o))+v,e=e.slice(0,o);break}}f&&!c&&(e=r(e,1/0));var k=y.length+e.length+v.length,x=k>1)+y+e+v+x.slice(k);break;default:e=x+y+e+v}return a(e)}return p=null==p?h?6:12:/[gprs]/.test(h)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),y.toString=function(){return e+""},y}return{format:l,formatPrefix:function(e,t){var n=l(((e=Yi(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Pi(t)/3))),o=Math.pow(10,-r),i=Vi[8+r/3];return function(e){return n(o*e)+i}}}};function Xi(t){return Wi=Ui(t),e.format=Wi.format,e.formatPrefix=Wi.formatPrefix,Wi}Xi({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Gi=function(e){return Math.max(0,-Pi(Math.abs(e)))},Fi=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pi(t)/3)))-Pi(Math.abs(e)))},zi=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Pi(t)-Pi(e))+1},Bi=function(){return new qi};function qi(){this.reset()}qi.prototype={constructor:qi,reset:function(){this.s=this.t=0},add:function(e){Zi(Ki,e,this.t),Zi(this,Ki.s,this.s),this.s?this.t+=Ki.t:this.s=Ki.t},valueOf:function(){return this.s}};var Ki=new qi;function Zi(e,t,n){var r=e.s=t+n,o=r-t,i=r-o;e.t=t-i+(n-o)}var $i=1e-6,Qi=Math.PI,ea=Qi/2,ta=Qi/4,na=2*Qi,ra=180/Qi,oa=Qi/180,ia=Math.abs,aa=Math.atan,sa=Math.atan2,la=Math.cos,ua=Math.ceil,ca=Math.exp,da=Math.log,fa=Math.pow,pa=Math.sin,ha=Math.sign||function(e){return e>0?1:e<0?-1:0},ma=Math.sqrt,_a=Math.tan;function ba(e){return e>1?0:e<-1?Qi:Math.acos(e)}function ga(e){return e>1?ea:e<-1?-ea:Math.asin(e)}function ya(e){return(e=pa(e/2))*e}function va(){}function wa(e,t){e&&xa.hasOwnProperty(e.type)&&xa[e.type](e,t)}var ka={Feature:function(e,t){wa(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r=0?1:-1,o=r*n,i=la(t),a=pa(t),s=Da*a,l=Sa*i+s*la(o),u=s*r*pa(o);Wa.add(sa(u,l)),La=e,Sa=i,Da=a}function za(e){return[sa(e[1],e[0]),ga(e[2])]}function Ba(e){var t=e[0],n=e[1],r=la(n);return[r*la(t),r*pa(t),pa(n)]}function qa(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Ka(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Za(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function $a(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Qa(e){var t=ma(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var es,ts,ns=Bi(),rs={point:os,lineStart:as,lineEnd:ss,polygonStart:function(){rs.point=ls,rs.lineStart=us,rs.lineEnd=cs,ns.reset(),Va.polygonStart()},polygonEnd:function(){Va.polygonEnd(),rs.point=os,rs.lineStart=as,rs.lineEnd=ss,Wa<0?(ja=-(Aa=180),Ca=-(Pa=90)):ns>$i?Pa=90:ns<-$i&&(Ca=-90),ts[0]=ja,ts[1]=Aa}};function os(e,t){es.push(ts=[ja=e,Aa=e]),tPa&&(Pa=t)}function is(e,t){var n=Ba([e*oa,t*oa]);if(Ya){var r=Ka(Ya,n),o=[r[1],-r[0],0],i=Ka(o,r);Qa(i),i=za(i);var a,s=e-Ia,l=s>0?1:-1,u=i[0]*ra*l,c=ia(s)>180;c^(l*IaPa&&(Pa=a):c^(l*Ia<(u=(u+360)%360-180)&&uPa&&(Pa=t)),c?eds(ja,Aa)&&(Aa=e):ds(e,Aa)>ds(ja,Aa)&&(ja=e):Aa>=ja?(eAa&&(Aa=e)):e>Ia?ds(ja,e)>ds(ja,Aa)&&(Aa=e):ds(e,Aa)>ds(ja,Aa)&&(ja=e)}else es.push(ts=[ja=e,Aa=e]);tPa&&(Pa=t),Ya=n,Ia=e}function as(){rs.point=is}function ss(){ts[0]=ja,ts[1]=Aa,rs.point=os,Ya=null}function ls(e,t){if(Ya){var n=e-Ia;ns.add(ia(n)>180?n+(n>0?360:-360):n)}else Ra=e,Ha=t;Va.point(e,t),is(e,t)}function us(){Va.lineStart()}function cs(){ls(Ra,Ha),Va.lineEnd(),ia(ns)>$i&&(ja=-(Aa=180)),ts[0]=ja,ts[1]=Aa,Ya=null}function ds(e,t){return(t-=e)<0?t+360:t}function fs(e,t){return e[0]-t[0]}function ps(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tQi?e-na:e<-Qi?e+na:e,t]}function Xs(e,t,n){return(e%=na)?t||n?Vs(Fs(e),zs(t,n)):Fs(e):t||n?zs(t,n):Us}function Gs(e){return function(t,n){return[(t+=e)>Qi?t-na:t<-Qi?t+na:t,n]}}function Fs(e){var t=Gs(e);return t.invert=Gs(-e),t}function zs(e,t){var n=la(e),r=pa(e),o=la(t),i=pa(t);function a(e,t){var a=la(t),s=la(e)*a,l=pa(e)*a,u=pa(t),c=u*n+s*r;return[sa(l*o-c*i,s*n-u*r),ga(c*o+l*i)]}return a.invert=function(e,t){var a=la(t),s=la(e)*a,l=pa(e)*a,u=pa(t),c=u*o-l*i;return[sa(l*o+u*i,s*n+c*r),ga(c*n-s*r)]},a}Us.invert=Us;var Bs=function(e){function t(t){return(t=e(t[0]*oa,t[1]*oa))[0]*=ra,t[1]*=ra,t}return e=Xs(e[0]*oa,e[1]*oa,e.length>2?e[2]*oa:0),t.invert=function(t){return(t=e.invert(t[0]*oa,t[1]*oa))[0]*=ra,t[1]*=ra,t},t};function qs(e,t,n,r,o,i){if(n){var a=la(t),s=pa(t),l=r*n;null==o?(o=t+r*na,i=t-l/2):(o=Ks(a,o),i=Ks(a,i),(r>0?oi)&&(o+=r*na));for(var u,c=o;r>0?c>i:c1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},$s=function(e,t,n,r,o,i){var a,s=e[0],l=e[1],u=t[0],c=t[1],d=0,f=1,p=u-s,h=c-l;if(a=n-s,p||!(a>0)){if(a/=p,p<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=o-s,p||!(a<0)){if(a/=p,p<0){if(a>f)return;a>d&&(d=a)}else if(p>0){if(a0)){if(a/=h,h<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=i-l,h||!(a<0)){if(a/=h,h<0){if(a>f)return;a>d&&(d=a)}else if(h>0){if(a0&&(e[0]=s+d*p,e[1]=l+d*h),f<1&&(t[0]=s+f*p,t[1]=l+f*h),!0}}}}},Qs=function(e,t){return ia(e[0]-t[0])<$i&&ia(e[1]-t[1])<$i};function el(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var tl=function(e,t,n,r,o){var i,a,s=[],l=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if(Qs(r,a)){for(o.lineStart(),i=0;i=0;--i)o.point((c=u[i])[0],c[1]);else r(f.x,f.p.x,-1,o);f=f.p}f=f.o,u=f.z,p=!p}while(!f.v);o.lineEnd()}}};function nl(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r0)do{u.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+s+4)%4)!==d);else u.point(i[0],i[1])}function a(r,o){return ia(r[0]-e)<$i?o>0?0:3:ia(r[0]-n)<$i?o>0?2:1:ia(r[1]-t)<$i?o>0?1:0:o>0?3:2}function s(e,t){return l(e.x,t.x)}function l(e,t){var n=a(e,1),r=a(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(a){var l,u,c,d,f,p,h,m,_,b,g,y=a,v=Zs(),w={point:k,lineStart:function(){w.point=x,u&&u.push(c=[]),b=!0,_=!1,h=m=NaN},lineEnd:function(){l&&(x(d,f),p&&_&&v.rejoin(),l.push(v.result())),w.point=k,_&&y.lineEnd()},polygonStart:function(){y=v,l=[],u=[],g=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,o=u.length;nr&&(f-i)*(r-a)>(p-a)*(e-i)&&++t:p<=r&&(f-i)*(r-a)<(p-a)*(e-i)&&--t;return t}(),n=g&&t,o=(l=M(l)).length;(n||o)&&(a.polygonStart(),n&&(a.lineStart(),i(null,null,1,a),a.lineEnd()),o&&tl(l,s,t,i,a),a.polygonEnd()),y=a,l=u=c=null}};function k(e,t){o(e,t)&&y.point(e,t)}function x(i,a){var s=o(i,a);if(u&&c.push([i,a]),b)d=i,f=a,p=s,b=!1,s&&(y.lineStart(),y.point(i,a));else if(s&&_)y.point(i,a);else{var l=[h=Math.max(ol,Math.min(rl,h)),m=Math.max(ol,Math.min(rl,m))],v=[i=Math.max(ol,Math.min(rl,i)),a=Math.max(ol,Math.min(rl,a))];$s(l,v,e,t,n,r)?(_||(y.lineStart(),y.point(l[0],l[1])),y.point(v[0],v[1]),s||y.lineEnd(),g=!1):s&&(y.lineStart(),y.point(i,a),g=!1)}h=i,m=a,_=s}return w}}var al,sl,ll,ul=Bi(),cl=function(e,t){var n=t[0],r=t[1],o=[pa(n),-la(n),0],i=0,a=0;ul.reset();for(var s=0,l=e.length;s=0?1:-1,T=x*k,M=T>Qi,O=h*v;if(ul.add(sa(O*x*pa(T),m*w+O*la(T))),i+=M?k+x*na:k,M^f>=n^g>=n){var E=Ka(Ba(d),Ba(b));Qa(E);var L=Ka(o,E);Qa(L);var S=(M^k>=0?-1:1)*ga(L[2]);(r>S||r===S&&(E[0]||E[1]))&&(a+=M^k>=0?1:-1)}}return(i<-$i||i<$i&&ul<-$i)^1&a},dl=Bi(),fl={sphere:va,point:va,lineStart:function(){fl.point=hl,fl.lineEnd=pl},lineEnd:va,polygonStart:va,polygonEnd:va};function pl(){fl.point=fl.lineEnd=va}function hl(e,t){al=e*=oa,sl=pa(t*=oa),ll=la(t),fl.point=ml}function ml(e,t){e*=oa;var n=pa(t*=oa),r=la(t),o=ia(e-al),i=la(o),a=pa(o),s=r*a,l=ll*n-sl*r*i,u=sl*n+ll*r*i;dl.add(sa(ma(s*s+l*l),u)),al=e,sl=n,ll=r}var _l=function(e){return dl.reset(),Na(e,fl),+dl},bl=[null,null],gl={type:"LineString",coordinates:bl},yl=function(e,t){return bl[0]=e,bl[1]=t,_l(gl)},vl={Feature:function(e,t){return kl(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r$i}).map(l)).concat(_(ua(i/p)*p,o,p).filter(function(e){return ia(e%m)>$i}).map(u))}return g.lines=function(){return y().map(function(e){return{type:"LineString",coordinates:e}})},g.outline=function(){return{type:"Polygon",coordinates:[c(r).concat(d(a).slice(1),c(n).reverse().slice(1),d(s).reverse().slice(1))]}},g.extent=function(e){return arguments.length?g.extentMajor(e).extentMinor(e):g.extentMinor()},g.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),g.precision(b)):[[r,s],[n,a]]},g.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],i=+n[0][1],o=+n[1][1],t>e&&(n=t,t=e,e=n),i>o&&(n=i,i=o,o=n),g.precision(b)):[[t,i],[e,o]]},g.step=function(e){return arguments.length?g.stepMajor(e).stepMinor(e):g.stepMinor()},g.stepMajor=function(e){return arguments.length?(h=+e[0],m=+e[1],g):[h,m]},g.stepMinor=function(e){return arguments.length?(f=+e[0],p=+e[1],g):[f,p]},g.precision=function(f){return arguments.length?(b=+f,l=Ll(i,o,90),u=Sl(t,e,b),c=Ll(s,a,90),d=Sl(r,n,b),g):b},g.extentMajor([[-180,-90+$i],[180,90-$i]]).extentMinor([[-180,-80-$i],[180,80+$i]])}var jl,Cl,Al,Pl,Il=function(e){return e},Rl=Bi(),Hl=Bi(),Yl={point:va,lineStart:va,lineEnd:va,polygonStart:function(){Yl.lineStart=Nl,Yl.lineEnd=Vl},polygonEnd:function(){Yl.lineStart=Yl.lineEnd=Yl.point=va,Rl.add(ia(Hl)),Hl.reset()},result:function(){var e=Rl/2;return Rl.reset(),e}};function Nl(){Yl.point=Wl}function Wl(e,t){Yl.point=Jl,jl=Al=e,Cl=Pl=t}function Jl(e,t){Hl.add(Pl*e-Al*t),Al=e,Pl=t}function Vl(){Jl(jl,Cl)}var Ul,Xl,Gl,Fl,zl=1/0,Bl=zl,ql=-zl,Kl=ql,Zl={point:function(e,t){eql&&(ql=e),tKl&&(Kl=t)},lineStart:va,lineEnd:va,polygonStart:va,polygonEnd:va,result:function(){var e=[[zl,Bl],[ql,Kl]];return ql=Kl=-(Bl=zl=1/0),e}},$l=0,Ql=0,eu=0,tu=0,nu=0,ru=0,ou=0,iu=0,au=0,su={point:lu,lineStart:uu,lineEnd:fu,polygonStart:function(){su.lineStart=pu,su.lineEnd=hu},polygonEnd:function(){su.point=lu,su.lineStart=uu,su.lineEnd=fu},result:function(){var e=au?[ou/au,iu/au]:ru?[tu/ru,nu/ru]:eu?[$l/eu,Ql/eu]:[NaN,NaN];return $l=Ql=eu=tu=nu=ru=ou=iu=au=0,e}};function lu(e,t){$l+=e,Ql+=t,++eu}function uu(){su.point=cu}function cu(e,t){su.point=du,lu(Gl=e,Fl=t)}function du(e,t){var n=e-Gl,r=t-Fl,o=ma(n*n+r*r);tu+=o*(Gl+e)/2,nu+=o*(Fl+t)/2,ru+=o,lu(Gl=e,Fl=t)}function fu(){su.point=lu}function pu(){su.point=mu}function hu(){_u(Ul,Xl)}function mu(e,t){su.point=_u,lu(Ul=Gl=e,Xl=Fl=t)}function _u(e,t){var n=e-Gl,r=t-Fl,o=ma(n*n+r*r);tu+=o*(Gl+e)/2,nu+=o*(Fl+t)/2,ru+=o,ou+=(o=Fl*e-Gl*t)*(Gl+e),iu+=o*(Fl+t),au+=3*o,lu(Gl=e,Fl=t)}function bu(e){this._context=e}bu.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,na)}},result:va};var gu,yu,vu,wu,ku,xu=Bi(),Tu={point:va,lineStart:function(){Tu.point=Mu},lineEnd:function(){gu&&Ou(yu,vu),Tu.point=va},polygonStart:function(){gu=!0},polygonEnd:function(){gu=null},result:function(){var e=+xu;return xu.reset(),e}};function Mu(e,t){Tu.point=Ou,yu=wu=e,vu=ku=t}function Ou(e,t){wu-=e,ku-=t,xu.add(ma(wu*wu+ku*ku)),wu=e,ku=t}function Eu(){this._string=[]}function Lu(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Eu.prototype={_radius:4.5,_circle:Lu(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=Lu(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}};var Su=function(e,t,n,r){return function(o,i){var a,s,l,u=t(i),c=o.invert(r[0],r[1]),d=Zs(),f=t(d),p=!1,h={point:m,lineStart:b,lineEnd:g,polygonStart:function(){h.point=y,h.lineStart=v,h.lineEnd=w,s=[],a=[]},polygonEnd:function(){h.point=m,h.lineStart=b,h.lineEnd=g,s=M(s);var e=cl(a,c);s.length?(p||(i.polygonStart(),p=!0),tl(s,ju,e,n,i)):e&&(p||(i.polygonStart(),p=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),p&&(i.polygonEnd(),p=!1),s=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function m(t,n){var r=o(t,n);e(t=r[0],n=r[1])&&i.point(t,n)}function _(e,t){var n=o(e,t);u.point(n[0],n[1])}function b(){h.point=_,u.lineStart()}function g(){h.point=m,u.lineEnd()}function y(e,t){l.push([e,t]);var n=o(e,t);f.point(n[0],n[1])}function v(){f.lineStart(),l=[]}function w(){y(l[0][0],l[0][1]),f.lineEnd();var e,t,n,r,o=f.clean(),u=d.result(),c=u.length;if(l.pop(),a.push(l),l=null,c)if(1&o){if(n=u[0],(t=n.length-1)>0){for(p||(i.polygonStart(),p=!0),i.lineStart(),e=0;e1&&2&o&&u.push(u.pop().concat(u.shift())),s.push(u.filter(Du))}return h}};function Du(e){return e.length>1}function ju(e,t){return((e=e.x)[0]<0?e[1]-ea-$i:ea-e[1])-((t=t.x)[0]<0?t[1]-ea-$i:ea-t[1])}var Cu=Su(function(){return!0},function(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,a){var s=i>0?Qi:-Qi,l=ia(i-n);ia(l-Qi)<$i?(e.point(n,r=(r+a)/2>0?ea:-ea),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(i,r),t=0):o!==s&&l>=Qi&&(ia(n-o)<$i&&(n-=o*$i),ia(i-s)<$i&&(i-=s*$i),r=function(e,t,n,r){var o,i,a=pa(e-n);return ia(a)>$i?aa((pa(t)*(i=la(r))*pa(n)-pa(r)*(o=la(t))*pa(e))/(o*i*a)):(t+r)/2}(n,r,i,a),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),t=0),e.point(n=i,r=a),o=s},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var o;if(null==e)o=n*ea,r.point(-Qi,o),r.point(0,o),r.point(Qi,o),r.point(Qi,0),r.point(Qi,-o),r.point(0,-o),r.point(-Qi,-o),r.point(-Qi,0),r.point(-Qi,o);else if(ia(e[0]-t[0])>$i){var i=e[0]0,o=ia(n)>$i;function i(e,t){return la(e)*la(t)>n}function a(e,t,r){var o=Ba(e),i=Ba(t),a=[1,0,0],s=Ka(o,i),l=qa(s,s),u=s[0],c=l-u*u;if(!c)return!r&&e;var d=n*l/c,f=-n*u/c,p=Ka(a,s),h=$a(a,d),m=$a(s,f);Za(h,m);var _=p,b=qa(h,_),g=qa(_,_),y=b*b-g*(qa(h,h)-1);if(!(y<0)){var v=ma(y),w=$a(_,(-b-v)/g);if(Za(w,h),w=za(w),!r)return w;var k,x=e[0],T=t[0],M=e[1],O=t[1];T0^w[1]<(ia(w[0]-x)<$i?M:O):M<=w[1]&&w[1]<=O:E>Qi^(x<=w[0]&&w[0]<=T)){var D=$a(_,(-b+v)/g);return Za(D,h),[w,za(D)]}}}function s(t,n){var o=r?e:Qi-e,i=0;return t<-o?i|=1:t>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return Su(i,function(e){var t,n,l,u,c;return{lineStart:function(){u=l=!1,c=1},point:function(d,f){var p,h=[d,f],m=i(d,f),_=r?m?0:s(d,f):m?s(d+(d<0?Qi:-Qi),f):0;if(!t&&(u=l=m)&&e.lineStart(),m!==l&&(!(p=a(t,h))||Qs(t,p)||Qs(h,p))&&(h[0]+=$i,h[1]+=$i,m=i(h[0],h[1])),m!==l)c=0,m?(e.lineStart(),p=a(h,t),e.point(p[0],p[1])):(p=a(t,h),e.point(p[0],p[1]),e.lineEnd()),t=p;else if(o&&t&&r^m){var b;_&n||!(b=a(h,t,!0))||(c=0,r?(e.lineStart(),e.point(b[0][0],b[0][1]),e.point(b[1][0],b[1][1]),e.lineEnd()):(e.point(b[1][0],b[1][1]),e.lineEnd(),e.lineStart(),e.point(b[0][0],b[0][1])))}!m||t&&Qs(t,h)||e.point(h[0],h[1]),t=h,l=m,n=_},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return c|(u&&l)<<1}}},function(n,r,o,i){qs(i,e,t,o,n,r)},r?[0,-e]:[-Qi,e-Qi])};function Pu(e){return function(t){var n=new Iu;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Iu(){}function Ru(e,t,n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=i&&e.clipExtent(null),Na(n,e.stream(Zl));var a=Zl.result(),s=Math.min(r/(a[1][0]-a[0][0]),o/(a[1][1]-a[0][1])),l=+t[0][0]+(r-s*(a[1][0]+a[0][0]))/2,u=+t[0][1]+(o-s*(a[1][1]+a[0][1]))/2;return null!=i&&e.clipExtent(i),e.scale(150*s).translate([l,u])}function Hu(e,t,n){return Ru(e,[[0,0],t],n)}Iu.prototype={constructor:Iu,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Yu=16,Nu=la(30*oa),Wu=function(e,t){return+t?function(e,t){function n(r,o,i,a,s,l,u,c,d,f,p,h,m,_){var b=u-r,g=c-o,y=b*b+g*g;if(y>4*t&&m--){var v=a+f,w=s+p,k=l+h,x=ma(v*v+w*w+k*k),T=ga(k/=x),M=ia(ia(k)-1)<$i||ia(i-d)<$i?(i+d)/2:sa(w,v),O=e(M,T),E=O[0],L=O[1],S=E-r,D=L-o,j=g*S-b*D;(j*j/y>t||ia((b*S+g*D)/y-.5)>.3||a*f+s*p+l*h2?e[2]%360*oa:0,L()):[_*ra,b*ra,g*ra]},M.precision=function(e){return arguments.length?(T=Wu(E,x=e*e),S()):ma(x)},M.fitExtent=function(e,t){return Ru(M,e,t)},M.fitSize=function(e,t){return Hu(M,e,t)},function(){return t=e.apply(this,arguments),M.invert=t.invert&&O,L()}}function Xu(e){var t=0,n=Qi/3,r=Uu(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*oa,n=e[1]*oa):[t*ra,n*ra]},o}function Gu(e,t){var n=pa(e),r=(n+pa(t))/2;if(ia(r)<$i)return function(e){var t=la(e);function n(e,n){return[e*t,pa(n)/t]}return n.invert=function(e,n){return[e/t,ga(n*t)]},n}(e);var o=1+n*(2*r-n),i=ma(o)/r;function a(e,t){var n=ma(o-2*r*pa(t))/r;return[n*pa(e*=r),i-n*la(e)]}return a.invert=function(e,t){var n=i-t;return[sa(e,ia(n))/r*ha(n),ga((o-(e*e+n*n)*r*r)/(2*r))]},a}var Fu=function(){return Xu(Gu).scale(155.424).center([0,33.6442])},zu=function(){return Fu().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};function Bu(e){return function(t,n){var r=la(t),o=la(n),i=e(r*o);return[i*o*pa(t),i*pa(n)]}}function qu(e){return function(t,n){var r=ma(t*t+n*n),o=e(r),i=pa(o),a=la(o);return[sa(t*i,r*a),ga(r&&n*i/r)]}}var Ku=Bu(function(e){return ma(2/(1+e))});Ku.invert=qu(function(e){return 2*ga(e/2)});var Zu=Bu(function(e){return(e=ba(e))&&e/pa(e)});function $u(e,t){return[e,da(_a((ea+t)/2))]}function Qu(e){var t,n,r,o=Vu(e),i=o.center,a=o.scale,s=o.translate,l=o.clipExtent,u=null;function c(){var i=Qi*a(),s=o(Bs(o.rotate()).invert([0,0]));return l(null==u?[[s[0]-i,s[1]-i],[s[0]+i,s[1]+i]]:e===$u?[[Math.max(s[0]-i,u),t],[Math.min(s[0]+i,n),r]]:[[u,Math.max(s[1]-i,t)],[n,Math.min(s[1]+i,r)]])}return o.scale=function(e){return arguments.length?(a(e),c()):a()},o.translate=function(e){return arguments.length?(s(e),c()):s()},o.center=function(e){return arguments.length?(i(e),c()):i()},o.clipExtent=function(e){return arguments.length?(null==e?u=t=n=r=null:(u=+e[0][0],t=+e[0][1],n=+e[1][0],r=+e[1][1]),c()):null==u?null:[[u,t],[n,r]]},c()}function ec(e){return _a((ea+e)/2)}function tc(e,t){var n=la(e),r=e===t?pa(e):da(n/la(t))/da(ec(t)/ec(e)),o=n*fa(ec(e),r)/r;if(!r)return $u;function i(e,t){o>0?t<-ea+$i&&(t=-ea+$i):t>ea-$i&&(t=ea-$i);var n=o/fa(ec(t),r);return[n*pa(r*e),o-n*la(r*e)]}return i.invert=function(e,t){var n=o-t,i=ha(r)*ma(e*e+n*n);return[sa(e,ia(n))/r*ha(n),2*aa(fa(o/i,1/r))-ea]},i}function nc(e,t){return[e,t]}function rc(e,t){var n=la(e),r=e===t?pa(e):(n-la(t))/(t-e),o=n/r+e;if(ia(r)<$i)return nc;function i(e,t){var n=o-t,i=r*e;return[n*pa(i),o-n*la(i)]}return i.invert=function(e,t){var n=o-t;return[sa(e,ia(n))/r*ha(n),o-ha(r)*ma(e*e+n*n)]},i}function oc(e,t){var n=la(t),r=la(e)*n;return[n*pa(e)/r,pa(t)/r]}function ic(e,t,n,r){return 1===e&&1===t&&0===n&&0===r?Il:Pu({point:function(o,i){this.stream.point(o*e+n,i*t+r)}})}function ac(e,t){return[la(t)*pa(e),pa(t)]}function sc(e,t){var n=la(t),r=1+la(e)*n;return[n*pa(e)/r,pa(t)/r]}function lc(e,t){return[da(_a((ea+t)/2)),-e]}function uc(e,t){return e.parent===t.parent?1:2}function cc(e,t){return e+t.x}function dc(e,t){return Math.max(e,t.y)}function fc(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function pc(e,t){var n,r,o,i,a,s=new bc(e),l=+e.value&&(s.value=e.value),u=[s];for(null==t&&(t=hc);n=u.pop();)if(l&&(n.value=+n.data.value),(o=t(n.data))&&(a=o.length))for(n.children=new Array(a),i=a-1;i>=0;--i)u.push(r=n.children[i]=new bc(o[i])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(_c)}function hc(e){return e.children}function mc(e){e.data=e.data.data}function _c(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function bc(e){this.data=e,this.depth=this.height=0,this.parent=null}Zu.invert=qu(function(e){return e}),$u.invert=function(e,t){return[e,2*aa(ca(t))-ea]},nc.invert=nc,oc.invert=qu(aa),ac.invert=qu(ga),sc.invert=qu(function(e){return 2*aa(e)}),lc.invert=function(e,t){return[-t,2*aa(ca(e))-ea]},bc.prototype=pc.prototype={constructor:bc,count:function(){return this.eachAfter(fc)},each:function(e){var t,n,r,o,i=this,a=[i];do{for(t=a.reverse(),a=[];i=t.pop();)if(e(i),n=i.children)for(r=0,o=n.length;r=0;--n)o.push(t[n]);return this},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each(function(t){e.push(t)}),e},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return pc(this).eachBefore(mc)}};var gc=Array.prototype.slice,yc=function(e){for(var t,n,r=0,o=(e=function(e){for(var t,n,r=e.length;r;)n=Math.random()*r--|0,t=e[r],e[r]=e[n],e[n]=t;return e}(gc.call(e))).length,i=[];r0&&n*n>r*r+o*o}function xc(e,t){for(var n=0;nn*n+r*r}function Sc(e){var t=e._,n=e.next._,r=t.r+n.r,o=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return o*o+i*i}function Dc(e){this._=e,this.next=null,this.previous=null}function jc(e){if(!(o=e.length))return 0;var t,n,r,o,i,a,s,l,u,c,d;if((t=e[0]).x=0,t.y=0,!(o>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(o>2))return t.r+n.r;Ec(n,t,r=e[2]),t=new Dc(t),n=new Dc(n),r=new Dc(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(s=3;sf&&(f=s),_=c*c*m,(p=Math.max(f/_,_/d))>h){c-=s;break}h=p}b.push(a={value:c,dice:l1?t:1)},n}(Qc),nd=function e(t){function n(e,n,r,o,i){if((a=e._squarify)&&a.ratio===t)for(var a,s,l,u,c,d=-1,f=a.length,p=e.value;++d1?t:1)},n}(Qc),rd=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])};function od(e,t){return e[0]-t[0]||e[1]-t[1]}function id(e){for(var t=e.length,n=[0,1],r=2,o=2;o1&&rd(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}var ad=[].slice,sd={};function ld(e){this._size=e,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function ud(e){if(!e._start)try{!function(e){for(;e._start=e._waiting&&e._active=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(t){}e._active=NaN,fd(e)}function fd(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function pd(e){if(null==e)e=1/0;else if(!((e=+e)>=1))throw new Error("invalid concurrency");return new ld(e)}ld.prototype=pd.prototype={constructor:ld,defer:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var t=ad.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),ud(this),this},abort:function(){return null==this._error&&dd(this,new Error("abort")),this},await:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(t,n){e.apply(null,[t].concat(n))},fd(this),this},awaitAll:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=e,fd(this),this}};var hd=function(){return Math.random()},md=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(hd),_d=function e(t){function n(e,n){var r,o;return e=null==e?0:+e,n=null==n?1:+n,function(){var i;if(null!=r)i=r,r=null;else do{r=2*t()-1,i=2*t()-1,o=r*r+i*i}while(!o||o>1);return e+n*i*Math.sqrt(-2*Math.log(o)/o)}}return n.source=e,n}(hd),bd=function e(t){function n(){var e=_d.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(hd),gd=function e(t){function n(e){return function(){for(var n=0,r=0;r=200&&r<300||304===r){if(o)try{t=o.call(n,l)}catch(e){return void a.call("error",n,e)}else t=l;a.call("load",n,t)}else a.call("error",n,e)}if("undefined"==typeof XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(e)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=l.ontimeout=f:l.onreadystatechange=function(e){l.readyState>3&&f(e)},l.onprogress=function(e){a.call("progress",n,e)},n={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?s.get(e):(null==t?s.remove(e):s.set(e,t+""),n)},mimeType:function(e){return arguments.length?(r=null==e?null:e+"",n):r},responseType:function(e){return arguments.length?(i=e,n):i},timeout:function(e){return arguments.length?(d=+e,n):d},user:function(e){return arguments.length<1?u:(u=null==e?null:e+"",n)},password:function(e){return arguments.length<1?c:(c=null==e?null:e+"",n)},response:function(e){return o=e,n},get:function(e,t){return n.send("GET",e,t)},post:function(e,t){return n.send("POST",e,t)},send:function(t,o,f){return l.open(t,e,!0,u,c),null==r||s.has("accept")||s.set("accept",r+",*/*"),l.setRequestHeader&&s.each(function(e,t){l.setRequestHeader(t,e)}),null!=r&&l.overrideMimeType&&l.overrideMimeType(r),null!=i&&(l.responseType=i),d>0&&(l.timeout=d),null==f&&"function"==typeof o&&(f=o,o=null),null!=f&&1===f.length&&(f=function(e){return function(t,n){e(null==t?n:null)}}(f)),null!=f&&n.on("error",f).on("load",function(e){f(null,e)}),a.call("beforesend",n,l),l.send(null==o?null:o),n},abort:function(){return l.abort(),n},on:function(){var e=a.on.apply(a,arguments);return e===a?n:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return n.get(t)}return n},kd=function(e,t){return function(n,r){var o=wd(n).mimeType(e).response(t);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return o.get(r)}return o}},xd=kd("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)}),Td=kd("application/json",function(e){return JSON.parse(e.responseText)}),Md=kd("text/plain",function(e){return e.responseText}),Od=kd("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t}),Ed=function(e,t){return function(n,r,o){arguments.length<3&&(o=r,r=null);var i=wd(n).mimeType(e);return i.row=function(e){return arguments.length?i.response(function(e,t){return function(n){return e(n.responseText,t)}}(t,r=e)):r},i.row(r),o?i.get(o):i}},Ld=Ed("text/csv",ii),Sd=Ed("text/tab-separated-values",ci),Dd=Array.prototype,jd=Dd.map,Cd=Dd.slice,Ad={name:"implicit"};function Pd(e){var t=Bo(),n=[],r=Ad;function o(o){var i=o+"",a=t.get(i);if(!a){if(r!==Ad)return r;t.set(i,a=n.push(o))}return e[(a-1)%e.length]}return e=null==e?[]:Cd.call(e),o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=Bo();for(var r,i,a=-1,s=e.length;++a2?Jd:Wd,r=o=null,c}function c(t){return(r||(r=n(i,a,l?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,s)))(+t)}return c.invert=function(e){return(o||(o=n(a,i,Nd,l?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},c.domain=function(e){return arguments.length?(i=jd.call(e,Hd),u()):i.slice()},c.range=function(e){return arguments.length?(a=Cd.call(e),u()):a.slice()},c.rangeRound=function(e){return a=Cd.call(e),s=kn,u()},c.clamp=function(e){return arguments.length?(l=!!e,u()):l},c.interpolate=function(e){return arguments.length?(s=e,u()):s},u()}var Xd=function(t,n,r){var o,i=t[0],a=t[t.length-1],s=k(i,a,null==n?10:n);switch((r=Yi(null==r?",f":r)).type){case"s":var l=Math.max(Math.abs(i),Math.abs(a));return null!=r.precision||isNaN(o=Fi(s,l))||(r.precision=o),e.formatPrefix(r,l);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=zi(s,Math.max(Math.abs(i),Math.abs(a))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Gi(s))||(r.precision=o-2*("%"===r.type))}return e.format(r)};function Gd(e){var t=e.domain;return e.ticks=function(e){var n=t();return v(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return Xd(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,o=t(),i=0,a=o.length-1,s=o[i],l=o[a];return l0?(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,r=w(s,l,n)):r<0&&(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,r=w(s,l,n)),r>0?(o[i]=Math.floor(s/r)*r,o[a]=Math.ceil(l/r)*r,t(o)):r<0&&(o[i]=Math.ceil(s*r)/r,o[a]=Math.floor(l*r)/r,t(o)),e},e}var Fd=function(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a0))return a;do{a.push(new Date(+n))}while(t(n,i),e(n),n=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(o.count=function(t,r){return tf.setTime(+t),nf.setTime(+r),e(tf),e(nf),Math.floor(n(tf,nf))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var of=rf(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});of.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?rf(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):of:null};var af=of.range,sf=6e4,lf=6048e5,uf=rf(function(e){e.setTime(1e3*Math.floor(e/1e3))},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),cf=uf.range,df=rf(function(e){e.setTime(Math.floor(e/sf)*sf)},function(e,t){e.setTime(+e+t*sf)},function(e,t){return(t-e)/sf},function(e){return e.getMinutes()}),ff=df.range,pf=rf(function(e){var t=e.getTimezoneOffset()*sf%36e5;t<0&&(t+=36e5),e.setTime(36e5*Math.floor((+e-t)/36e5)+t)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()}),hf=pf.range,mf=rf(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*sf)/864e5},function(e){return e.getDate()-1}),_f=mf.range;function bf(e){return rf(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*sf)/lf})}var gf=bf(0),yf=bf(1),vf=bf(2),wf=bf(3),kf=bf(4),xf=bf(5),Tf=bf(6),Mf=gf.range,Of=yf.range,Ef=vf.range,Lf=wf.range,Sf=kf.range,Df=xf.range,jf=Tf.range,Cf=rf(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),Af=Cf.range,Pf=rf(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Pf.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rf(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var If=Pf.range,Rf=rf(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*sf)},function(e,t){return(t-e)/sf},function(e){return e.getUTCMinutes()}),Hf=Rf.range,Yf=rf(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()}),Nf=Yf.range,Wf=rf(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1}),Jf=Wf.range;function Vf(e){return rf(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/lf})}var Uf=Vf(0),Xf=Vf(1),Gf=Vf(2),Ff=Vf(3),zf=Vf(4),Bf=Vf(5),qf=Vf(6),Kf=Uf.range,Zf=Xf.range,$f=Gf.range,Qf=Ff.range,ep=zf.range,tp=Bf.range,np=qf.range,rp=rf(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),op=rp.range,ip=rf(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});ip.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rf(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var ap=ip.range;function sp(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function lp(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function up(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function cp(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,u=gp(o),c=yp(o),d=gp(i),f=yp(i),p=gp(a),h=yp(a),m=gp(s),_=yp(s),b=gp(l),g=yp(l),y={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Pp,e:Pp,H:Ip,I:Rp,j:Hp,L:Yp,m:Np,M:Wp,p:function(e){return o[+(e.getHours()>=12)]},S:Jp,U:Vp,w:Up,W:Xp,x:null,X:null,y:Gp,Y:Fp,Z:zp,"%":lh},v={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Bp,e:Bp,H:qp,I:Kp,j:Zp,L:$p,m:Qp,M:eh,p:function(e){return o[+(e.getUTCHours()>=12)]},S:th,U:nh,w:rh,W:oh,x:null,X:null,y:ih,Y:ah,Z:sh,"%":lh},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=b.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=_[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return T(e,t,n,r)},d:Ep,e:Ep,H:Sp,I:Sp,j:Lp,L:Cp,m:Op,M:Dp,p:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.p=c[r[0].toLowerCase()],n+r[0].length):-1},S:jp,U:wp,w:vp,W:kp,x:function(e,t,r){return T(e,n,t,r)},X:function(e,t,n){return T(e,r,t,n)},y:Tp,Y:xp,Z:Mp,"%":Ap};function k(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++s=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in fp?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return y.x=k(n,y),y.X=k(r,y),y.c=k(t,y),v.x=k(n,v),v.X=k(r,v),v.c=k(t,v),{format:function(e){var t=k(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=x(e+="",sp);return t.toString=function(){return e},t},utcFormat:function(e){var t=k(e+="",v);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e,lp);return t.toString=function(){return e},t}}}var dp,fp={"-":"",_:" ",0:"0"},pp=/^\s*\d+/,hp=/^%/,mp=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;function _p(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3),n+r[0].length):-1}function Mp(e,t,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Op(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ep(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Lp(e,t,n){var r=pp.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Sp(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Dp(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function jp(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Cp(e,t,n){var r=pp.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ap(e,t,n){var r=hp.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Pp(e,t){return _p(e.getDate(),t,2)}function Ip(e,t){return _p(e.getHours(),t,2)}function Rp(e,t){return _p(e.getHours()%12||12,t,2)}function Hp(e,t){return _p(1+mf.count(Pf(e),e),t,3)}function Yp(e,t){return _p(e.getMilliseconds(),t,3)}function Np(e,t){return _p(e.getMonth()+1,t,2)}function Wp(e,t){return _p(e.getMinutes(),t,2)}function Jp(e,t){return _p(e.getSeconds(),t,2)}function Vp(e,t){return _p(gf.count(Pf(e),e),t,2)}function Up(e){return e.getDay()}function Xp(e,t){return _p(yf.count(Pf(e),e),t,2)}function Gp(e,t){return _p(e.getFullYear()%100,t,2)}function Fp(e,t){return _p(e.getFullYear()%1e4,t,4)}function zp(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+_p(t/60|0,"0",2)+_p(t%60,"0",2)}function Bp(e,t){return _p(e.getUTCDate(),t,2)}function qp(e,t){return _p(e.getUTCHours(),t,2)}function Kp(e,t){return _p(e.getUTCHours()%12||12,t,2)}function Zp(e,t){return _p(1+Wf.count(ip(e),e),t,3)}function $p(e,t){return _p(e.getUTCMilliseconds(),t,3)}function Qp(e,t){return _p(e.getUTCMonth()+1,t,2)}function eh(e,t){return _p(e.getUTCMinutes(),t,2)}function th(e,t){return _p(e.getUTCSeconds(),t,2)}function nh(e,t){return _p(Uf.count(ip(e),e),t,2)}function rh(e){return e.getUTCDay()}function oh(e,t){return _p(Xf.count(ip(e),e),t,2)}function ih(e,t){return _p(e.getUTCFullYear()%100,t,2)}function ah(e,t){return _p(e.getUTCFullYear()%1e4,t,4)}function sh(){return"+0000"}function lh(){return"%"}function uh(t){return dp=cp(t),e.timeFormat=dp.format,e.timeParse=dp.parse,e.utcFormat=dp.utcFormat,e.utcParse=dp.utcParse,dp}uh({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var ch=Date.prototype.toISOString?function(e){return e.toISOString()}:e.utcFormat("%Y-%m-%dT%H:%M:%S.%LZ"),dh=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:e.utcParse("%Y-%m-%dT%H:%M:%S.%LZ"),fh=1e3,ph=60*fh,hh=60*ph,mh=24*hh,_h=7*mh,bh=30*mh,gh=365*mh;function yh(e){return new Date(e)}function vh(e){return e instanceof Date?+e:+new Date(+e)}function wh(e,t,r,o,i,a,s,l,u){var c=Ud(Nd,_n),d=c.invert,f=c.domain,p=u(".%L"),h=u(":%S"),m=u("%I:%M"),_=u("%I %p"),b=u("%a %d"),g=u("%b %d"),y=u("%B"),v=u("%Y"),w=[[s,1,fh],[s,5,5*fh],[s,15,15*fh],[s,30,30*fh],[a,1,ph],[a,5,5*ph],[a,15,15*ph],[a,30,30*ph],[i,1,hh],[i,3,3*hh],[i,6,6*hh],[i,12,12*hh],[o,1,mh],[o,2,2*mh],[r,1,_h],[t,1,bh],[t,3,3*bh],[e,1,gh]];function x(n){return(s(n)=1?Fh:e<=-1?-Fh:Math.asin(e)}function qh(e){return e.innerRadius}function Kh(e){return e.outerRadius}function Zh(e){return e.startAngle}function $h(e){return e.endAngle}function Qh(e){return e&&e.padAngle}function em(e,t,n,r,o,i,a){var s=e-n,l=t-r,u=(a?i:-i)/Uh(s*s+l*l),c=u*l,d=-u*s,f=e+c,p=t+d,h=n+c,m=r+d,_=(f+h)/2,b=(p+m)/2,g=h-f,y=m-p,v=g*g+y*y,w=o-i,k=f*m-h*p,x=(y<0?-1:1)*Uh(Wh(0,w*w*v-k*k)),T=(k*y-g*x)/v,M=(-k*g-y*x)/v,O=(k*y+g*x)/v,E=(-k*g+y*x)/v,L=T-_,S=M-b,D=O-_,j=E-b;return L*L+S*S>D*D+j*j&&(T=O,M=E),{cx:T,cy:M,x01:-c,y01:-d,x11:T*(o/w-1),y11:M*(o/w-1)}}function tm(e){this._context=e}tm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var nm=function(e){return new tm(e)};function rm(e){return e[0]}function om(e){return e[1]}var im=function(){var e=rm,t=om,n=Rh(!0),r=null,o=nm,i=null;function a(a){var s,l,u,c=a.length,d=!1;for(null==r&&(i=o(u=Jo())),s=0;s<=c;++s)!(s=c;--d)s.point(_[d],b[d]);s.lineEnd(),s.areaEnd()}m&&(_[u]=+e(f,u,l),b[u]=+n(f,u,l),s.point(t?+t(f,u,l):_[u],r?+r(f,u,l):b[u]))}if(p)return s=null,p+""||null}function u(){return im().defined(o).curve(a).context(i)}return l.x=function(n){return arguments.length?(e="function"==typeof n?n:Rh(+n),t=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:Rh(+t),l):e},l.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:Rh(+e),l):t},l.y=function(e){return arguments.length?(n="function"==typeof e?e:Rh(+e),r=null,l):n},l.y0=function(e){return arguments.length?(n="function"==typeof e?e:Rh(+e),l):n},l.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Rh(+e),l):r},l.lineX0=l.lineY0=function(){return u().x(e).y(n)},l.lineY1=function(){return u().x(e).y(r)},l.lineX1=function(){return u().x(t).y(n)},l.defined=function(e){return arguments.length?(o="function"==typeof e?e:Rh(!!e),l):o},l.curve=function(e){return arguments.length?(a=e,null!=i&&(s=a(i)),l):a},l.context=function(e){return arguments.length?(null==e?i=s=null:s=a(i=e),l):i},l},sm=function(e,t){return te?1:t>=e?0:NaN},lm=function(e){return e},um=dm(nm);function cm(e){this._curve=e}function dm(e){function t(t){return new cm(e(t))}return t._curve=e,t}function fm(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(dm(e)):t()._curve},e}cm.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var pm=function(){return fm(im().curve(um))},hm=function(){var e=am().curve(um),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,i=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return fm(n())},delete e.lineX0,e.lineEndAngle=function(){return fm(r())},delete e.lineX1,e.lineInnerRadius=function(){return fm(o())},delete e.lineY0,e.lineOuterRadius=function(){return fm(i())},delete e.lineY1,e.curve=function(e){return arguments.length?t(dm(e)):t()._curve},e},mm=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},_m=Array.prototype.slice;function bm(e){return e.source}function gm(e){return e.target}function ym(e){var t=bm,n=gm,r=rm,o=om,i=null;function a(){var a,s=_m.call(arguments),l=t.apply(this,s),u=n.apply(this,s);if(i||(i=a=Jo()),e(i,+r.apply(this,(s[0]=l,s)),+o.apply(this,s),+r.apply(this,(s[0]=u,s)),+o.apply(this,s)),a)return i=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(n=e,a):n},a.x=function(e){return arguments.length?(r="function"==typeof e?e:Rh(+e),a):r},a.y=function(e){return arguments.length?(o="function"==typeof e?e:Rh(+e),a):o},a.context=function(e){return arguments.length?(i=null==e?null:e,a):i},a}function vm(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,o,r,o)}function wm(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+o)/2,r,n,r,o)}function km(e,t,n,r,o){var i=mm(t,n),a=mm(t,n=(n+o)/2),s=mm(r,n),l=mm(r,o);e.moveTo(i[0],i[1]),e.bezierCurveTo(a[0],a[1],s[0],s[1],l[0],l[1])}var xm={draw:function(e,t){var n=Math.sqrt(t/Gh);e.moveTo(n,0),e.arc(0,0,n,0,zh)}},Tm={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Mm=Math.sqrt(1/3),Om=2*Mm,Em={draw:function(e,t){var n=Math.sqrt(t/Om),r=n*Mm;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Lm=Math.sin(Gh/10)/Math.sin(7*Gh/10),Sm=Math.sin(zh/10)*Lm,Dm=-Math.cos(zh/10)*Lm,jm={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=Sm*n,o=Dm*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=zh*i/5,s=Math.cos(a),l=Math.sin(a);e.lineTo(l*n,-s*n),e.lineTo(s*r-l*o,l*r+s*o)}e.closePath()}},Cm={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},Am=Math.sqrt(3),Pm={draw:function(e,t){var n=-Math.sqrt(t/(3*Am));e.moveTo(0,2*n),e.lineTo(-Am*n,-n),e.lineTo(Am*n,-n),e.closePath()}},Im=-.5,Rm=Math.sqrt(3)/2,Hm=1/Math.sqrt(12),Ym=3*(Hm/2+1),Nm={draw:function(e,t){var n=Math.sqrt(t/Ym),r=n/2,o=n*Hm,i=r,a=n*Hm+n,s=-i,l=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(s,l),e.lineTo(Im*r-Rm*o,Rm*r+Im*o),e.lineTo(Im*i-Rm*a,Rm*i+Im*a),e.lineTo(Im*s-Rm*l,Rm*s+Im*l),e.lineTo(Im*r+Rm*o,Im*o-Rm*r),e.lineTo(Im*i+Rm*a,Im*a-Rm*i),e.lineTo(Im*s+Rm*l,Im*l-Rm*s),e.closePath()}},Wm=[xm,Tm,Em,Cm,jm,Pm,Nm],Jm=function(){};function Vm(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Um(e){this._context=e}function Xm(e){this._context=e}function Gm(e){this._context=e}function Fm(e,t){this._basis=new Um(e),this._beta=t}Um.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Vm(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Vm(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Xm.prototype={areaStart:Jm,areaEnd:Jm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Vm(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Gm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Vm(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Fm.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],i=t[0],a=e[n]-o,s=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*a),this._beta*t[l]+(1-this._beta)*(i+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var zm=function e(t){function n(e){return 1===t?new Um(e):new Fm(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Bm(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function qm(e,t){this._context=e,this._k=(1-t)/6}qm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Bm(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Bm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Km=function e(t){function n(e){return new qm(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Zm(e,t){this._context=e,this._k=(1-t)/6}Zm.prototype={areaStart:Jm,areaEnd:Jm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Bm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var $m=function e(t){function n(e){return new Zm(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Qm(e,t){this._context=e,this._k=(1-t)/6}Qm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Bm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var e_=function e(t){function n(e){return new Qm(e,t)}return n.tension=function(t){return e(+t)},n}(0);function t_(e,t,n){var r=e._x1,o=e._y1,i=e._x2,a=e._y2;if(e._l01_a>Xh){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>Xh){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*u+e._x1*e._l23_2a-t*e._l12_2a)/c,a=(a*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,o,i,a,e._x2,e._y2)}function n_(e,t){this._context=e,this._alpha=t}n_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:t_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var r_=function e(t){function n(e){return t?new n_(e,t):new qm(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function o_(e,t){this._context=e,this._alpha=t}o_.prototype={areaStart:Jm,areaEnd:Jm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:t_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var i_=function e(t){function n(e){return t?new o_(e,t):new Zm(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function a_(e,t){this._context=e,this._alpha=t}a_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:t_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var s_=function e(t){function n(e){return t?new a_(e,t):new Qm(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function l_(e){this._context=e}function u_(e){return e<0?-1:1}function c_(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(u_(i)+u_(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function d_(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function f_(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,a-s*n,i,a)}function p_(e){this._context=e}function h_(e){this._context=new m_(e)}function m_(e){this._context=e}function __(e){this._context=e}function b_(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var y_=function(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],s=a.length;i=0;)n[t]=t;return n};function w_(e,t){return e[t]}var k_=function(e){var t=e.map(x_);return v_(e).sort(function(e,n){return t[e]-t[n]})};function x_(e){for(var t,n=0,r=-1,o=e.length;++r0)){if(i/=h,h<0){if(i0){if(i>p)return;i>f&&(f=i)}if(i=r-l,h||!(i<0)){if(i/=h,h<0){if(i>p)return;i>f&&(f=i)}else if(h>0){if(i0)){if(i/=m,m<0){if(i0){if(i>p)return;i>f&&(f=i)}if(i=o-u,m||!(i<0)){if(i/=m,m<0){if(i>p)return;i>f&&(f=i)}else if(m>0){if(i0||p<1)||(f>0&&(e[0]=[l+f*h,u+f*m]),p<1&&(e[1]=[l+p*h,u+p*m]),!0)}}}}}function R_(e,t,n,r,o){var i=e[1];if(i)return!0;var a,s,l=e[0],u=e.left,c=e.right,d=u[0],f=u[1],p=c[0],h=c[1],m=(d+p)/2,_=(f+h)/2;if(h===f){if(m=r)return;if(d>p){if(l){if(l[1]>=o)return}else l=[m,n];i=[m,o]}else{if(l){if(l[1]1)if(d>p){if(l){if(l[1]>=o)return}else l=[(n-s)/a,n];i=[(o-s)/a,o]}else{if(l){if(l[1]=r)return}else l=[t,a*t+s];i=[r,a*r+s]}else{if(l){if(l[0]=-nb)){var p=l*l+u*u,h=c*c+d*d,m=(d*p-u*h)/f,_=(l*h-c*p)/f,b=J_.pop()||new function(){L_(this),this.x=this.y=this.arc=this.site=this.cy=null};b.arc=e,b.site=o,b.x=m+a,b.y=(b.cy=_+s)+Math.sqrt(m*m+_*_),e.circle=b;for(var g=null,y=Q_._;y;)if(b.ytb)s=s.L;else{if(!((o=i-K_(s,a))>tb)){r>-tb?(t=s.P,n=s):o>-tb?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}!function(e){$_[e.index]={site:e,halfedges:[]}}(e);var l=G_(e);if(Z_.insert(t,l),t||n){if(t===n)return U_(t),n=G_(t.site),Z_.insert(l,n),l.edge=n.edge=C_(t.site,l.site),V_(t),void V_(n);if(n){U_(t),U_(n);var u=t.site,c=u[0],d=u[1],f=e[0]-c,p=e[1]-d,h=n.site,m=h[0]-c,_=h[1]-d,b=2*(f*_-p*m),g=f*f+p*p,y=m*m+_*_,v=[(_*g-p*y)/b+c,(f*y-m*g)/b+d];P_(n.edge,u,h,v),l.edge=C_(u,e,null,v),n.edge=C_(e,h,null,v),V_(t),V_(n)}else l.edge=C_(t.site,l.site)}}function q_(e,t){var n=e.site,r=n[0],o=n[1],i=o-t;if(!i)return r;var a=e.P;if(!a)return-1/0;var s=(n=a.site)[0],l=n[1],u=l-t;if(!u)return s;var c=s-r,d=1/i-1/u,f=c/u;return d?(-f+Math.sqrt(f*f-2*d*(c*c/(-2*u)-l+u/2+o-i/2)))/d+r:(r+s)/2}function K_(e,t){var n=e.N;if(n)return q_(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var Z_,$_,Q_,eb,tb=1e-6,nb=1e-12;function rb(e,t){return t[1]-e[1]||t[0]-e[0]}function ob(e,t){var n,r,o,i=e.sort(rb).pop();for(eb=[],$_=new Array(e.length),Z_=new E_,Q_=new E_;;)if(o=W_,i&&(!o||i[1]tb||Math.abs(o[0][1]-o[1][1])>tb)||delete eb[i]}(a,s,l,u),function(e,t,n,r){var o,i,a,s,l,u,c,d,f,p,h,m,_=$_.length,b=!0;for(o=0;o<_;++o)if(i=$_[o]){for(a=i.site,l=i.halfedges,s=l.length;s--;)eb[l[s]]||l.splice(s,1);for(s=0,u=l.length;stb||Math.abs(m-f)>tb)&&(l.splice(s,0,eb.push(A_(a,p,Math.abs(h-e)tb?[e,Math.abs(d-e)tb?[Math.abs(f-r)tb?[n,Math.abs(d-n)tb?[Math.abs(f-t)=s)return null;var l=e-o.site[0],u=t-o.site[1],c=l*l+u*u;do{o=i.cells[r=a],a=null,o.halfedges.forEach(function(n){var r=i.edges[n],s=r.left;if(s!==o.site&&s||(s=r.right)){var l=e-s[0],u=t-s[1],d=l*l+u*u;de?1:t>=e?0:NaN},e.deviation=u,e.extent=c,e.histogram=function(){var e=m,t=c,n=x;function r(r){var i,a,s=r.length,l=new Array(s);for(i=0;id;)f.pop(),--p;var h,m=new Array(p+1);for(i=0;i<=p;++i)(h=m[i]=[]).x0=i>0?f[i-1]:c,h.x1=i=n)for(r=n;++ir&&(r=n)}else for(;++i=n)for(r=n;++ir&&(r=n);return r},e.mean=function(e,t){var n,r=e.length,o=r,i=-1,a=0;if(null==t)for(;++i=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,u,c,d=-1,f=n.length,p=r[o++],h=Bo(),m=a();++dr.length)return n;var a,s=o[i-1];return null!=t&&i>=r.length?a=n.entries():(a=[],n.each(function(t,n){a.push({key:n,values:e(t,i)})})),null!=s?a.sort(function(e,t){return s(e.key,t.key)}):a}(i(e,0,Zo,$o),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return o[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}},e.set=ti,e.map=Bo,e.keys=function(e){var t=[];for(var n in e)t.push(n);return t},e.values=function(e){var t=[];for(var n in e)t.push(e[n]);return t},e.entries=function(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t},e.color=pt,e.rgb=bt,e.hsl=vt,e.lab=At,e.hcl=Nt,e.cubehelix=qt,e.dispatch=J,e.drag=function(){var t,n,r,o,i=ze,a=Be,s=qe,l={},u=J("start","drag","end"),c=0,d=0;function f(e){e.on("mousedown.drag",p).filter(Ke).on("touchstart.drag",_).on("touchmove.drag",b).on("touchend.drag touchcancel.drag",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(){if(!o&&i.apply(this,arguments)){var s=y("mouse",a.apply(this,arguments),de,this,arguments);s&&(Ne(e.event.view).on("mousemove.drag",h,!0).on("mouseup.drag",m,!0),Ue(e.event.view),Je(),r=!1,t=e.event.clientX,n=e.event.clientY,s("start"))}}function h(){if(Ve(),!r){var o=e.event.clientX-t,i=e.event.clientY-n;r=o*o+i*i>d}l.mouse("drag")}function m(){Ne(e.event.view).on("mousemove.drag mouseup.drag",null),Xe(e.event.view,r),Ve(),l.mouse("end")}function _(){if(i.apply(this,arguments)){var t,n,r=e.event.changedTouches,o=a.apply(this,arguments),s=r.length;for(t=0;tl+p||ou+p||is.index){var h=l-a.x-a.vx,m=u-a.y-a.vy,_=h*h+m*m;_e.r&&(e.r=e[t].r)}function s(){if(t){var r,o,i=t.length;for(n=new Array(i),r=0;r=a)){(e.data!==t||e.next)&&(0===c&&(c=mi(),p+=c*c),0===d&&(d=mi(),p+=d*d),p1?(null==n?s.remove(e):s.set(e,p(n)),t):s.get(e)},find:function(t,n,r){var o,i,a,s,l,u=0,c=e.length;for(null==r?r=1/0:r*=r,u=0;u1?(u.on(e,n),t):u.on(e)}}},e.forceX=function(e){var t,n,r,o=hi(.1);function i(e){for(var o,i=0,a=t.length;ids(r[0],r[1])&&(r[1]=o[1]),ds(o[0],r[1])>ds(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,n=i.length-1,t=0,r=i[n];t<=n;r=o,++t)o=i[t],(s=ds(r[1],o[0]))>a&&(a=s,ja=o[0],Aa=r[1])}return es=ts=null,ja===1/0||Ca===1/0?[[NaN,NaN],[NaN,NaN]]:[[ja,Ca],[Aa,Pa]]},e.geoCentroid=function(e){hs=ms=_s=bs=gs=ys=vs=ws=ks=xs=Ts=0,Na(e,Ds);var t=ks,n=xs,r=Ts,o=t*t+n*n+r*r;return o<1e-12&&(t=ys,n=vs,r=ws,ms<$i&&(t=_s,n=bs,r=gs),(o=t*t+n*n+r*r)<1e-12)?[NaN,NaN]:[sa(n,t)*ra,ga(r/ma(o))*ra]},e.geoCircle=function(){var e,t,n=Js([0,0]),r=Js(90),o=Js(6),i={point:function(n,r){e.push(n=t(n,r)),n[0]*=ra,n[1]*=ra}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*oa,l=o.apply(this,arguments)*oa;return e=[],t=Xs(-a[0]*oa,-a[1]*oa,0).invert,qs(i,s,l,1),a={type:"Polygon",coordinates:[e]},e=t=null,a}return a.center=function(e){return arguments.length?(n="function"==typeof e?e:Js([+e[0],+e[1]]),a):n},a.radius=function(e){return arguments.length?(r="function"==typeof e?e:Js(+e),a):r},a.precision=function(e){return arguments.length?(o="function"==typeof e?e:Js(+e),a):o},a},e.geoClipExtent=function(){var e,t,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return e&&t===n?e:e=il(r,o,i,a)(t=n)},extent:function(s){return arguments.length?(r=+s[0][0],o=+s[0][1],i=+s[1][0],a=+s[1][1],e=t=null,n):[[r,o],[i,a]]}}},e.geoContains=function(e,t){return(e&&vl.hasOwnProperty(e.type)?vl[e.type]:kl)(e,t)},e.geoDistance=yl,e.geoGraticule=Dl,e.geoGraticule10=function(){return Dl()()},e.geoInterpolate=function(e,t){var n=e[0]*oa,r=e[1]*oa,o=t[0]*oa,i=t[1]*oa,a=la(r),s=pa(r),l=la(i),u=pa(i),c=a*la(n),d=a*pa(n),f=l*la(o),p=l*pa(o),h=2*ga(ma(ya(i-r)+a*l*ya(o-n))),m=pa(h),_=h?function(e){var t=pa(e*=h)/m,n=pa(h-e)/m,r=n*c+t*f,o=n*d+t*p,i=n*s+t*u;return[sa(o,r)*ra,sa(i,ma(r*r+o*o))*ra]}:function(){return[n*ra,r*ra]};return _.distance=h,_},e.geoLength=_l,e.geoPath=function(e,t){var n,r,o=4.5;function i(e){return e&&("function"==typeof o&&r.pointRadius(+o.apply(this,arguments)),Na(e,n(r))),r.result()}return i.area=function(e){return Na(e,n(Yl)),Yl.result()},i.measure=function(e){return Na(e,n(Tu)),Tu.result()},i.bounds=function(e){return Na(e,n(Zl)),Zl.result()},i.centroid=function(e){return Na(e,n(su)),su.result()},i.projection=function(t){return arguments.length?(n=null==t?(e=null,Il):(e=t).stream,i):e},i.context=function(e){return arguments.length?(r=null==e?(t=null,new Eu):new bu(t=e),"function"!=typeof o&&r.pointRadius(o),i):t},i.pointRadius=function(e){return arguments.length?(o="function"==typeof e?e:(r.pointRadius(+e),+e),i):o},i.projection(e).context(t)},e.geoAlbers=zu,e.geoAlbersUsa=function(){var e,t,n,r,o,i,a=zu(),s=Fu().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=Fu().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(e,t){i=[e,t]}};function c(e){var t=e[0],a=e[1];return i=null,n.point(t,a),i||(r.point(t,a),i)||(o.point(t,a),i)}function d(){return e=t=null,c}return c.invert=function(e){var t=a.scale(),n=a.translate(),r=(e[0]-n[0])/t,o=(e[1]-n[1])/t;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?s:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:a).invert(e)},c.stream=function(n){return e&&t===n?e:(r=[a.stream(t=n),s.stream(n),l.stream(n)],o=r.length,e={point:function(e,t){for(var n=-1;++n2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)},e.geoTransverseMercatorRaw=lc,e.geoRotation=Bs,e.geoStream=Na,e.geoTransform=function(e){return{stream:Pu(e)}},e.cluster=function(){var e=uc,t=1,n=1,r=!1;function o(o){var i,a=0;o.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(cc,0)/e.length}(n),t.y=function(e){return 1+e.reduce(dc,0)}(n)):(t.x=i?a+=e(t,i):0,t.y=0,i=t)});var s=function(e){for(var t;t=e.children;)e=t[0];return e}(o),l=function(e){for(var t;t=e.children;)e=t[t.length-1];return e}(o),u=s.x-e(s,l)/2,c=l.x+e(l,s)/2;return o.eachAfter(r?function(e){e.x=(e.x-o.x)*t,e.y=(o.y-e.y)*n}:function(e){e.x=(e.x-u)/(c-u)*t,e.y=(1-(o.y?e.y/o.y:1))*n})}return o.separation=function(t){return arguments.length?(e=t,o):e},o.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],o):r?null:[t,n]},o.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],o):r?[t,n]:null},o},e.hierarchy=pc,e.pack=function(){var e=null,t=1,n=1,r=Ac;function o(o){return o.x=t/2,o.y=n/2,e?o.eachBefore(Rc(e)).eachAfter(Hc(r,.5)).eachBefore(Yc(1)):o.eachBefore(Rc(Ic)).eachAfter(Hc(Ac,1)).eachAfter(Hc(r,o.r/Math.min(t,n))).eachBefore(Yc(Math.min(t,n)/(2*o.r))),o}return o.radius=function(t){return arguments.length?(e=null==(n=t)?null:Cc(n),o):e;var n},o.size=function(e){return arguments.length?(t=+e[0],n=+e[1],o):[t,n]},o.padding=function(e){return arguments.length?(r="function"==typeof e?e:Pc(+e),o):r},o},e.packSiblings=function(e){return jc(e),e},e.packEnclose=yc,e.partition=function(){var e=1,t=1,n=0,r=!1;function o(o){var i=o.height+1;return o.x0=o.y0=n,o.x1=e,o.y1=t/i,o.eachBefore(function(e,t){return function(r){r.children&&Wc(r,r.x0,e*(r.depth+1)/t,r.x1,e*(r.depth+2)/t);var o=r.x0,i=r.y0,a=r.x1-n,s=r.y1-n;a0)throw new Error("cycle");return i}return n.id=function(t){return arguments.length?(e=Cc(t),n):e},n.parentId=function(e){return arguments.length?(t=Cc(e),n):t},n},e.tree=function(){var e=Fc,t=1,n=1,r=null;function o(o){var l=function(e){for(var t,n,r,o,i,a=new Zc(e,0),s=[a];t=s.pop();)if(r=t._.children)for(t.children=new Array(i=r.length),o=i-1;o>=0;--o)s.push(n=t.children[o]=new Zc(r[o],o)),n.parent=t;return(a.parent=new Zc(null,0)).children=[a],a}(o);if(l.eachAfter(i),l.parent.m=-l.z,l.eachBefore(a),r)o.eachBefore(s);else{var u=o,c=o,d=o;o.eachBefore(function(e){e.xc.x&&(c=e),e.depth>d.depth&&(d=e)});var f=u===c?1:e(u,c)/2,p=f-u.x,h=t/(c.x+f+p),m=n/(d.depth||1);o.eachBefore(function(e){e.x=(e.x+p)*h,e.y=e.depth*m})}return o}function i(t){var n=t.children,r=t.parent.children,o=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,o=e.children,i=o.length;--i>=0;)(t=o[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var i=(n[0].z+n[n.length-1].z)/2;o?(t.z=o.z+e(t._,o._),t.m=t.z-i):t.z=i}else o&&(t.z=o.z+e(t._,o._));t.parent.A=function(t,n,r){if(n){for(var o,i=t,a=t,s=n,l=i.parent.children[0],u=i.m,c=a.m,d=s.m,f=l.m;s=Bc(s),i=zc(i),s&&i;)l=zc(l),(a=Bc(a)).a=t,(o=s.z+d-i.z-u+e(s._,i._))>0&&(qc(Kc(s,t,r),t,o),u+=o,c+=o),d+=s.m,u+=i.m,f+=l.m,c+=a.m;s&&!Bc(a)&&(a.t=s,a.m+=d-c),i&&!zc(l)&&(l.t=i,l.m+=u-f,r=t)}return r}(t,o,t.parent.A||r[0])}function a(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=t,e.y=e.depth*n}return o.separation=function(t){return arguments.length?(e=t,o):e},o.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],o):r?null:[t,n]},o.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],o):r?[t,n]:null},o},e.treemap=function(){var e=td,t=!1,n=1,r=1,o=[0],i=Ac,a=Ac,s=Ac,l=Ac,u=Ac;function c(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),o=[0],t&&e.eachBefore(Nc),e}function d(t){var n=o[t.depth],r=t.x0+n,c=t.y0+n,d=t.x1-n,f=t.y1-n;d=n-1){var c=s[t];return c.x0=o,c.y0=i,c.x1=a,void(c.y1=l)}for(var d=u[t],f=r/2+d,p=t+1,h=n-1;p>>1;u[m]l-i){var g=(o*b+a*_)/r;e(t,p,_,o,i,g,l),e(p,n,b,g,i,a,l)}else{var y=(i*b+l*_)/r;e(t,p,_,o,i,a,y),e(p,n,b,o,y,a,l)}}(0,l,e.value,t,n,r,o)},e.treemapDice=Wc,e.treemapSlice=$c,e.treemapSliceDice=function(e,t,n,r,o){(1&e.depth?$c:Wc)(e,t,n,r,o)},e.treemapSquarify=td,e.treemapResquarify=nd,e.interpolate=wn,e.interpolateArray=hn,e.interpolateBasis=$t,e.interpolateBasisClosed=Qt,e.interpolateDate=mn,e.interpolateNumber=_n,e.interpolateObject=bn,e.interpolateRound=kn,e.interpolateString=vn,e.interpolateTransformCss=En,e.interpolateTransformSvg=Ln,e.interpolateZoom=jn,e.interpolateRgb=an,e.interpolateRgbBasis=fn,e.interpolateRgbBasisClosed=pn,e.interpolateHsl=An,e.interpolateHslLong=Pn,e.interpolateLab=function(e,t){var n=on((e=At(e)).l,(t=At(t)).l),r=on(e.a,t.a),o=on(e.b,t.b),i=on(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=o(t),e.opacity=i(t),e+""}},e.interpolateHcl=Rn,e.interpolateHclLong=Hn,e.interpolateCubehelix=Jn,e.interpolateCubehelixLong=Vn,e.quantize=function(e,t){for(var n=new Array(t),r=0;r=0;--t)u.push(e[r[i[t]][2]]);for(t=+s;ts!=u>s&&a<(l-n)*(s-r)/(u-r)+n&&(c=!c),l=n,u=r;return c},e.polygonLength=function(e){for(var t,n,r=-1,o=e.length,i=e[o-1],a=i[0],s=i[1],l=0;++r0){for(;fl)break;m.push(d)}}else for(;f=1;--c)if(!((d=u*c)l)break;m.push(d)}}else m=v(f,p,Math.min(p-f,h)).map(a);return t?m.reverse():m},n.tickFormat=function(t,r){if(null==r&&(r=10===o?".0e":","),"function"!=typeof r&&(r=e.format(r)),t===1/0)return r;null==t&&(t=10);var s=Math.max(1,o*t/n.ticks().length);return function(e){var t=e/a(Math.round(i(e)));return t*o0?i[t-1]:n[0],t=r?[i[r-1],n]:[i[o-1],i[o]]},s.copy=function(){return e().domain([t,n]).range(a)},Gd(s)},e.scaleThreshold=function e(){var t=[.5],n=[0,1],r=1;function i(e){if(e<=e)return n[o(t,e,0,r)]}return i.domain=function(e){return arguments.length?(t=Cd.call(e),r=Math.min(t.length,n.length-1),i):t.slice()},i.range=function(e){return arguments.length?(n=Cd.call(e),r=Math.min(t.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},i.copy=function(){return e().domain(t).range(n)},i},e.scaleTime=function(){return wh(Pf,Cf,gf,mf,pf,df,uf,of,e.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},e.scaleUtc=function(){return wh(ip,rp,Uf,Wf,Yf,Rf,uf,of,e.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},e.schemeCategory10=xh,e.schemeCategory20b=Th,e.schemeCategory20c=Mh,e.schemeCategory20=Oh,e.interpolateCubehelixDefault=Eh,e.interpolateRainbow=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Dh.h=360*e-100,Dh.s=1.5-1.5*t,Dh.l=.8-.9*t,Dh+""},e.interpolateWarm=Lh,e.interpolateCool=Sh,e.interpolateViridis=Ch,e.interpolateMagma=Ah,e.interpolateInferno=Ph,e.interpolatePlasma=Ih,e.scaleSequential=function e(t){var n=0,r=1,o=!1;function i(e){var i=(e-n)/(r-n);return t(o?Math.max(0,Math.min(1,i)):i)}return i.domain=function(e){return arguments.length?(n=+e[0],r=+e[1],i):[n,r]},i.clamp=function(e){return arguments.length?(o=!!e,i):o},i.interpolator=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e(t).domain([n,r]).clamp(o)},Gd(i)},e.creator=B,e.local=K,e.matcher=te,e.mouse=de,e.namespace=z,e.namespaces=F,e.select=Ne,e.selectAll=function(e){return"string"==typeof e?new He([document.querySelectorAll(e)],[document.documentElement]):new He([null==e?[]:e],Re)},e.selection=Ye,e.selector=pe,e.selectorAll=me,e.style=xe,e.touch=We,e.touches=function(e,t){null==t&&(t=ue().touches);for(var n=0,r=t?t.length:0,o=new Array(r);np;if(s||(s=l=Jo()),fXh)if(m>zh-Xh)s.moveTo(f*Nh(p),f*Vh(p)),s.arc(0,0,f,p,h,!_),d>Xh&&(s.moveTo(d*Nh(h),d*Vh(h)),s.arc(0,0,d,h,p,_));else{var b,g,y=p,v=h,w=p,k=h,x=m,T=m,M=a.apply(this,arguments)/2,O=M>Xh&&(r?+r.apply(this,arguments):Uh(d*d+f*f)),E=Jh(Hh(f-d)/2,+n.apply(this,arguments)),L=E,S=E;if(O>Xh){var D=Bh(O/d*Vh(M)),j=Bh(O/f*Vh(M));(x-=2*D)>Xh?(w+=D*=_?1:-1,k-=D):(x=0,w=k=(p+h)/2),(T-=2*j)>Xh?(y+=j*=_?1:-1,v-=j):(T=0,y=v=(p+h)/2)}var C=f*Nh(y),A=f*Vh(y),P=d*Nh(k),I=d*Vh(k);if(E>Xh){var R=f*Nh(v),H=f*Vh(v),Y=d*Nh(w),N=d*Vh(w);if(mXh?function(e,t,n,r,o,i,a,s){var l=n-e,u=r-t,c=a-o,d=s-i,f=(c*(t-i)-d*(e-o))/(d*l-c*u);return[e+f*l,t+f*u]}(C,A,Y,N,R,H,P,I):[P,I],J=C-W[0],V=A-W[1],U=R-W[0],X=H-W[1],G=1/Vh(((c=(J*U+V*X)/(Uh(J*J+V*V)*Uh(U*U+X*X)))>1?0:c<-1?Gh:Math.acos(c))/2),F=Uh(W[0]*W[0]+W[1]*W[1]);L=Jh(E,(d-F)/(G-1)),S=Jh(E,(f-F)/(G+1))}}T>Xh?S>Xh?(b=em(Y,N,C,A,f,S,_),g=em(R,H,P,I,f,S,_),s.moveTo(b.cx+b.x01,b.cy+b.y01),SXh&&x>Xh?L>Xh?(b=em(P,I,R,H,d,-L,_),g=em(C,A,Y,N,d,-L,_),s.lineTo(b.cx+b.x01,b.cy+b.y01),L0&&(p+=d);for(null!=t?h.sort(function(e,n){return t(m[e],m[n])}):null!=n&&h.sort(function(e,t){return n(a[e],a[t])}),s=0,u=p?(b-f*y)/p:0;s0?d*u:0)+y,m[l]={data:a[l],index:s,value:d,startAngle:_,endAngle:c,padAngle:g};return m}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:Rh(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:Rh(+e),a):r},a.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Rh(+e),a):o},a.padAngle=function(e){return arguments.length?(i="function"==typeof e?e:Rh(+e),a):i},a},e.areaRadial=hm,e.radialArea=hm,e.lineRadial=pm,e.radialLine=pm,e.pointRadial=mm,e.linkHorizontal=function(){return ym(vm)},e.linkVertical=function(){return ym(wm)},e.linkRadial=function(){var e=ym(km);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e},e.symbol=function(){var e=Rh(xm),t=Rh(64),n=null;function r(){var r;if(n||(n=r=Jo()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:Rh(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:Rh(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},e.symbols=Wm,e.symbolCircle=xm,e.symbolCross=Tm,e.symbolDiamond=Em,e.symbolSquare=Cm,e.symbolStar=jm,e.symbolTriangle=Pm,e.symbolWye=Nm,e.curveBasisClosed=function(e){return new Xm(e)},e.curveBasisOpen=function(e){return new Gm(e)},e.curveBasis=function(e){return new Um(e)},e.curveBundle=zm,e.curveCardinalClosed=$m,e.curveCardinalOpen=e_,e.curveCardinal=Km,e.curveCatmullRomClosed=i_,e.curveCatmullRomOpen=s_,e.curveCatmullRom=r_,e.curveLinearClosed=function(e){return new l_(e)},e.curveLinear=nm,e.curveMonotoneX=function(e){return new p_(e)},e.curveMonotoneY=function(e){return new h_(e)},e.curveNatural=function(e){return new __(e)},e.curveStep=function(e){return new g_(e,.5)},e.curveStepAfter=function(e){return new g_(e,1)},e.curveStepBefore=function(e){return new g_(e,0)},e.stack=function(){var e=Rh([]),t=v_,n=y_,r=w_;function o(o){var i,a,s=e.apply(this,arguments),l=o.length,u=s.length,c=new Array(u);for(i=0;i0){for(var n,r,o,i=0,a=e[0].length;i1)for(var n,r,o,i,a,s,l=0,u=e[t[0]].length;l=0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):r[0]=i},e.stackOffsetNone=y_,e.stackOffsetSilhouette=function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;acr&&n.name===t)return new Mr([[e]],io,t,+r);return null},e.interrupt=vr,e.voronoi=function(){var e=M_,t=O_,n=null;function r(r){return new ob(r.map(function(n,o){var i=[Math.round(e(n,o,r)/tb)*tb,Math.round(t(n,o,r)/tb)*tb];return i.index=o,i.data=n,i}),n)}return r.polygons=function(e){return r(e).polygons()},r.links=function(e){return r(e).links()},r.triangles=function(e){return r(e).triangles()},r.x=function(t){return arguments.length?(e="function"==typeof t?t:T_(+t),r):e},r.y=function(e){return arguments.length?(t="function"==typeof e?e:T_(+e),r):t},r.extent=function(e){return arguments.length?(n=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],r):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},r.size=function(e){return arguments.length?(n=null==e?null:[[0,0],[+e[0],+e[1]]],r):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},r},e.zoom=function(){var t,n,r=db,o=fb,i=hb,a=0,s=1/0,l=-s,u=s,c=l,d=u,f=250,p=jn,h=[],m=J("start","zoom","end"),_=500,b=150,g=0;function y(e){e.property("__zoom",pb).on("wheel.zoom",E).on("mousedown.zoom",L).on("dblclick.zoom",S).filter(mb).on("touchstart.zoom",D).on("touchmove.zoom",j).on("touchend.zoom touchcancel.zoom",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function v(e,t){return(t=Math.max(a,Math.min(s,t)))===e.k?e:new ab(t,e.x,e.y)}function w(e,t,n){var r=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k;return r===e.x&&o===e.y?e:new ab(e.k,r,o)}function k(e,t){var n=e.invertX(t[0][0])-l,r=e.invertX(t[1][0])-u,o=e.invertY(t[0][1])-c,i=e.invertY(t[1][1])-d;return e.translate(r>n?(n+r)/2:Math.min(0,n)||Math.max(0,r),i>o?(o+i)/2:Math.min(0,o)||Math.max(0,i))}function x(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function T(e,t,n){e.on("start.zoom",function(){M(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){M(this,arguments).end()}).tween("zoom",function(){var e=arguments,r=M(this,e),i=o.apply(this,e),a=n||x(i),s=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),l=this.__zoom,u="function"==typeof t?t.apply(this,e):t,c=p(l.invert(a).concat(s/l.k),u.invert(a).concat(s/u.k));return function(e){if(1===e)e=u;else{var t=c(e),n=s/t[2];e=new ab(n,a[0]-t[0]*n,a[1]-t[1]*n)}r.zoom(null,e)}})}function M(e,t){for(var n,r=0,o=h.length;rg}t.zoom("mouse",k(w(t.that.__zoom,t.mouse[0]=de(t.that),t.mouse[1]),t.extent))},!0).on("mouseup.zoom",function(){o.on("mousemove.zoom mouseup.zoom",null),Xe(e.event.view,t.moved),cb(),t.end()},!0),i=de(this),a=e.event.clientX,s=e.event.clientY;Ue(e.event.view),ub(),t.mouse=[i,this.__zoom.invert(i)],vr(this),t.start()}}function S(){if(r.apply(this,arguments)){var t=this.__zoom,n=de(this),i=t.invert(n),a=t.k*(e.event.shiftKey?.5:2),s=k(w(v(t,a),n,i),o.apply(this,arguments));cb(),f>0?Ne(this).transition().duration(f).call(T,s,n):Ne(this).call(y.transform,s)}}function D(){if(r.apply(this,arguments)){var n,o,i,a,s=M(this,arguments),l=e.event.changedTouches,u=l.length;for(ub(),o=0;o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2];return a.default.get(config.API_URL+"/menu/root?depth="+t+(e?"&childrenLimit="+e:"")+(n?"&favorites=true":""))}function m(e){return a.default.get(config.API_URL+"/menu/node/"+e+"/breadcrumbMenu")}function _(e){return{type:s.SET_BREADCRUMB,breadcrumb:e}}function b(e){return{type:s.UPDATE_BREADCRUMB,node:e}}function g(){return h(6,10,!0).then(function(e){return{nodeId:"0",children:e.data.children}})}function y(e){return function(t){l||u===e||(l=!0,f("window",e).then(function(e){return k(e.data)}).then(function(n){t(_(n.reverse())),u=e,l=!1}).catch(function(){t(_([])),u=null,l=!1}))}}function v(e,t){return function(n){l||u===t||(l=!0,f(e,t).then(function(e){return k(e.data)}).then(function(e){n(_(e.reverse())),u=t,l=!1}).catch(function(){n(_([])),u=null,l=!1}))}}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[];return e[t]?(e[t].map(function(e){var t=w(e);"object"===(void 0===t?"undefined":r(t))?n=n.concat(t):n.push(w(e))}),n):[e]}function k(e){var t=[];return e.children&&k(e.children[0]).map(function(e){t.push(e)}),t.push({nodeId:e.nodeId,caption:e.caption,type:e.type}),t}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(l,"breadcrumbsRequested","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(u,"breadcrumbsId","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(c,"pathRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(d,"nodePathsRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(f,"elementPathRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(p,"queryPathsRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(h,"rootRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(m,"breadcrumbRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(_,"setBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(b,"updateBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(g,"getRootBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(y,"getWindowBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(v,"getElementBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(w,"flattenLastElem","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(k,"flattenOneLine","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"))},function(e,t,n){"use strict";(function(t){var r=n(86),o={},i=!1;e.exports={attachEvent:function(e,n){void 0!==t.addEventListener?t.addEventListener(e,n,!1):t.document&&t.attachEvent&&(t.document.attachEvent("on"+e,n),t.attachEvent("on"+e,n))},detachEvent:function(e,n){void 0!==t.addEventListener?t.removeEventListener(e,n,!1):t.document&&t.detachEvent&&(t.document.detachEvent("on"+e,n),t.detachEvent("on"+e,n))},unloadAdd:function(e){var t=r.string(8);return o[t]=e,i&&setTimeout(this.triggerUnloadCallbacks,0),t},unloadDel:function(e){e in o&&delete o[e]},triggerUnloadCallbacks:function(){for(var e in o)o[e](),delete o[e]}};e.exports.attachEvent("unload",function(){i||(i=!0,e.exports.triggerUnloadCallbacks())})}).call(this,n(12))},function(e,t,n){"use strict";t.__esModule=!0,t.createPath=t.parsePath=t.getQueryStringValueFromPath=t.stripQueryStringValueFromPath=t.addQueryStringValueToPath=void 0;var r,o=n(54);(r=o)&&r.__esModule;t.addQueryStringValueToPath=function(e,t,n){var r=i(e),o=r.pathname,s=r.search,l=r.hash;return a({pathname:o,search:s+(-1===s.indexOf("?")?"?":"&")+t+"="+n,hash:l})},t.stripQueryStringValueFromPath=function(e,t){var n=i(e),r=n.pathname,o=n.search,s=n.hash;return a({pathname:r,search:o.replace(new RegExp("([?&])"+t+"=[a-zA-Z0-9]+(&?)"),function(e,t,n){return"?"===t?t:n}),hash:s})},t.getQueryStringValueFromPath=function(e,t){var n=i(e).search.match(new RegExp("[?&]"+t+"=([a-zA-Z0-9]+)"));return n&&n[1]};var i=t.parsePath=function(e){var t,n,r=null==(n=(t=e).match(/^(https?:)?\/\/[^\/]*/))?t:t.substring(n[0].length),o="",i="",a=r.indexOf("#");-1!==a&&(i=r.substring(a),r=r.substring(0,a));var s=r.indexOf("?");return-1!==s&&(o=r.substring(s),r=r.substring(0,s)),""===r&&(r="/"),{pathname:r,search:o,hash:i}},a=t.createPath=function(e){if(null==e||"string"==typeof e)return e;var t=e.basename,n=e.pathname,r=e.search,o=e.hash,i=(t||"")+n;return r&&"?"!==r&&(i+=r),o&&(i+=o),i}},function(e,t,n){var r=n(15)("unscopables"),o=Array.prototype;void 0==o[r]&&n(31)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){var r=n(80)("meta"),o=n(13),i=n(32),a=n(20).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(11)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!i(e,r)&&c(e),e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1;if(!w)return console.warn("The %c"+h,"font-weight:bold;","is unsupported type of widget."),!1;if(!u[0].displayed||!0!==u[0].displayed)return!1;var E=o.map(function(e){return"form-field-"+e.field}).join(" ");return s.default.createElement("div",{className:(0,c.default)("form-group row ",{"form-group-table":d&&!f},E)},r||null,!a&&n&&s.default.createElement("div",{key:"title",className:"form-control-label "+("primary"!==i||O?"primaryLongLabels"===i?"col-sm-6":"col-sm-3 ":"col-sm-12 panel-title"),title:n},o[0].supportZoomInto?s.default.createElement("span",{className:"zoom-into",onClick:function(){return m(o[0].field)}},n):n),s.default.createElement("div",{className:("primary"!==i&&!a||O?"primaryLongLabels"===i?"col-sm-6":"col-sm-9 ":"col-sm-12 ")+(o[0].devices?"form-group-flex ":""),onMouseEnter:function(){return e.handleErrorPopup(!0)},onMouseLeave:function(){return e.handleErrorPopup(!1)}},!g&&M&&s.default.createElement("div",{className:(0,c.default)("field-warning",{"field-warning-message":M,"field-error-message":M&&M.error}),onMouseEnter:function(){return e.toggleTooltip(!0)},onMouseLeave:function(){return e.toggleTooltip(!1)}},s.default.createElement("span",null,M.caption),s.default.createElement("i",{className:"meta-icon-close-alt",onClick:function(){return e.clearFieldWarning(M)}}),M.message&&y&&s.default.createElement(k.default,{action:M.message,type:""})),s.default.createElement("div",{className:"input-body-container"},s.default.createElement(l.default,{transitionName:"fade",transitionEnterTimeout:200,transitionLeaveTimeout:200},b&&T&&!T.valid&&!T.initialValue&&this.renderErrorPopup(T.reason)),w),o[0].devices&&!u[0].readonly&&s.default.createElement(v.default,{devices:o[0].devices,tabIndex:1,handleChange:function(e){return p&&p(o[0].field,e)}})))}}]),t}();L.propTypes=d.RawWidgetPropTypes,L.defaultProps=d.RawWidgetDefaultProps;var S=(0,u.connect)(function(e){return{modalVisible:e.windowHandler.modal.visible}})(L);t.default=S;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(L,"RawWidget","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/RawWidget.js"),__REACT_HOT_LOADER__.register(S,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/RawWidget.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(7),o=n(575),i=n(52),a=Object.defineProperty;t.f=n(21)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNotifications=d,t.getNotificationsEndpoint=f,t.markAllAsRead=p,t.markAsRead=h,t.deleteUserNotification=m,t.getImageAction=_,t.postImageAction=b,t.getKPIsDashboard=g,t.getTargetIndicatorsDashboard=y,t.getKPIData=v,t.changeKPIItem=w,t.changeTargetIndicatorsItem=k,t.getTargetIndicatorsData=x,t.setUserDashboardWidgets=T,t.getMessages=M,t.createUrlAttachment=O,t.languageSuccess=L,t.logoutSuccess=S,t.loginSuccess=D,t.enableTutorial=j,t.addNotification=C,t.setNotificationProgress=A,t.deleteNotification=P,t.clearNotifications=I,t.updateUri=R,t.getNotificationsSuccess=H,t.readNotification=Y,t.newNotification=N,t.removeNotification=W,t.readAllNotifications=J,t.deleteAllNotifications=V,t.setProcessPending=U,t.setProcessSaved=X,t.userSessionInit=G,t.userSessionUpdate=F;var r=c(n(37)),o=c(n(2)),i=c(n(403)),a=n(24),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(108)),l=n(35),u=n(43);function c(e){return e&&e.__esModule?e:{default:e}}function d(){return r.default.get(config.API_URL+"/notifications/all?limit=20")}function f(){return r.default.get(config.API_URL+"/notifications/websocketEndpoint")}function p(){return r.default.put(config.API_URL+"/notifications/all/read")}function h(e){return r.default.put(config.API_URL+"/notifications/"+e+"/read")}function m(e){return r.default.delete(config.API_URL+"/notifications?ids="+e)}function _(e){return(0,r.default)({url:config.API_URL+"/image/"+e+"?maxWidth=200&maxHeight=200",responseType:"blob"}).then(function(e){return e.data})}function b(e){return r.default.post(config.API_URL+"/image",e).then(function(e){return e.data})}function g(){return r.default.get(config.API_URL+"/dashboard/kpis?silentError=true")}function y(){return r.default.get(config.API_URL+"/dashboard/targetIndicators?silentError=true")}function v(e){return r.default.get(config.API_URL+"/dashboard/kpis/"+e+"/data?silentError=true")}function w(e,t,n){return r.default.patch(config.API_URL+"/dashboard/kpis/"+e,[{op:"replace",path:t,value:n}])}function k(e,t,n){return r.default.patch(config.API_URL+"/dashboard/targetIndicators/"+e,[{op:"replace",path:t,value:n}])}function x(e){return r.default.get(config.API_URL+"/dashboard/targetIndicators/"+e+"/data?silentError=true")}function T(e){return r.default.patch(config.API_URL+"/dashboard/kpis",e)}function M(e){return r.default.get(config.API_URL+"/i18n/messages"+(e?"?="+e:""))}function O(e){var t=e.windowId,n=e.documentId,o=e.name,i=e.url;return r.default.post(config.API_URL+"/window/"+t+"/"+n+"/attachments/addUrl",{name:o,url:i})}function E(e,t){var n=e.toLowerCase(),r={defaultFormat:"0,0.00[000]",delimiters:{thousands:t.numberGroupingSeparator||",",decimal:t.numberDecimalSeparator||"."}};void 0===i.default.locales[n]&&i.default.register("locale",n,r),void 0!==i.default.locales[n]&&(i.default.locale(n),r.defaultFormat&&i.default.defaultFormat(r.defaultFormat))}function L(e){localStorage.setItem(l.LOCAL_LANG,e),o.default.locale(e),r.default.defaults.headers.common["Accept-Language"]=e}function S(e){e.close(),localStorage.removeItem("isLogged")}function D(e){return function(t){localStorage.setItem("isLogged",!0),(0,u.getUserSession)().then(function(n){var r=n.data;t(G(r)),L(r.language.key),E(r.language.key,r.locale),e.initSessionClient(r.websocketEndpoint,function(e){var n=JSON.parse(e.body);t(F(n)),n.language&&L(n.language.key),n.locale&&E(n.language.key,n.locale),d().then(function(e){t(H(e.data.notifications,e.data.unreadCount))})})}),f().then(function(n){e.initNotificationClient(n,function(e){var n=JSON.parse(e.body);if("Read"===n.eventType)t(Y(n.notificationId,n.unreadCount));else if("ReadAll"===n.eventType)t(J());else if("Delete"===n.eventType)t(W(n.notificationId,n.unreadCount));else if("DeleteAll"===n.eventType)t(V());else if("New"===n.eventType){t(N(n.notification,n.unreadCount));var r=n.notification;r.important&&t(C("Important notification",r.message,5e3,"primary"))}})}),d().then(function(e){t(H(e.data.notifications,e.data.unreadCount))})}}function j(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:s.ENABLE_TUTORIAL,flag:e}}function C(e,t,n,r,o,i){return{type:s.ADD_NOTIFICATION,title:e,msg:t,shortMsg:o,time:n,notifType:r,id:Date.now(),onCancel:i}}function A(e,t){return{type:s.SET_NOTIFICATION_PROGRESS,key:e,progress:t}}function P(e){return{type:s.DELETE_NOTIFICATION,key:e}}function I(){return{type:s.CLEAR_NOTIFICATIONS}}function R(e,t,n,r){return function(o){var i=e+"?";t[n]=r;for(var s=Object.keys(t),l=0;l0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}();n.d(t,"IGNORE_CLASS_NAME",function(){return f}),n.d(t,"default",function(){return p});var l=void 0,u={},c={},d=["touchstart","touchmove"],f="ignore-react-onclickoutside";function p(e,t){var n,p;return p=n=function(n){function f(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var 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,n.call(this,e));return t.__outsideClickHandler=function(e){if("function"!=typeof t.__clickOutsideHandlerProp){var n=t.getInstance();if("function"!=typeof n.props.handleClickOutside){if("function"!=typeof n.handleClickOutside)throw new Error("WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.");n.handleClickOutside(e)}else n.props.handleClickOutside(e)}else t.__clickOutsideHandlerProp(e)},t.enableOnClickOutside=function(){if("undefined"!=typeof document&&!c[t._uid]){void 0===l&&(l=a()),c[t._uid]=!0;var e=t.props.eventTypes;e.forEach||(e=[e]),u[t._uid]=function(e){var n;t.props.disableOnClickOutside||null!==t.componentNode&&(t.props.preventDefault&&e.preventDefault(),t.props.stopPropagation&&e.stopPropagation(),t.props.excludeScrollbar&&(n=e,document.documentElement.clientWidth<=n.clientX||document.documentElement.clientHeight<=n.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(i(e,t,n))return!0;e=e.parentNode}return e}(e.target,t.componentNode,t.props.outsideClickIgnoreClass)===document&&t.__outsideClickHandler(e))},e.forEach(function(e){var n=null;-1!==d.indexOf(e)&&l&&(n={passive:!t.props.preventDefault}),document.addEventListener(e,u[t._uid],n)})}},t.disableOnClickOutside=function(){delete c[t._uid];var e=u[t._uid];if(e&&"undefined"!=typeof document){var n=t.props.eventTypes;n.forEach||(n=[n]),n.forEach(function(t){return document.removeEventListener(t,e)}),delete u[t._uid]}},t.getRef=function(e){return t.instanceRef=e},t._uid=s(),t}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)}(f,n),f.prototype.getInstance=function(){if(!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},f.prototype.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=Object(o.findDOMNode)(this.getInstance()),this.enableOnClickOutside()}},f.prototype.componentDidUpdate=function(){this.componentNode=Object(o.findDOMNode)(this.getInstance())},f.prototype.componentWillUnmount=function(){this.disableOnClickOutside()},f.prototype.render=function(){var t=this,n=Object.keys(this.props).filter(function(e){return"excludeScrollbar"!==e}).reduce(function(e,n){return e[n]=t.props[n],e},{});return e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,Object(r.createElement)(e,n)},f}(r.Component),n.displayName="OnClickOutside("+(e.displayName||e.name||"Component")+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:f,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},p}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Alt",o={OPEN_ACTIONS_MENU:"Alt+1",OPEN_NAVIGATION_MENU:"Alt+2",OPEN_INBOX_MENU:"Alt+3",OPEN_AVATAR_MENU:"Alt+4",OPEN_SIDEBAR_MENU_0:"Alt+5",OPEN_SIDEBAR_MENU_1:"Alt+6",OPEN_SIDEBAR_MENU_2:"Alt+7",DOC_STATUS:"Alt+I",OPEN_ADVANCED_EDIT:"Alt+E",CLONE_DOCUMENT:"Alt+W",OPEN_PRINT_RAPORT:"Alt+P",OPEN_EMAIL:"Alt+K",OPEN_LETTER:"Alt+R",DELETE_DOCUMENT:"Alt+D",NEW_DOCUMENT:"Alt+N",TOGGLE_EDIT_MODE:"Alt+O",OPEN_SELECTED:"Alt+B",REMOVE_SELECTED:"Alt+Y",ADVANCED_EDIT:"Alt+E",SELECT_ALL_LEAFS:"Alt+S",EXPAND_INDENT:"+",COLLAPSE_INDENT:"-",TOGGLE_QUICK_INPUT:"Alt+Q",TOGGLE_EXPAND:"Alt++",NEXT_PAGE:"PageDown",PREV_PAGE:"PageUp",FIRST_PAGE:"Home",LAST_PAGE:"End",SELECT_ALL_ROWS:"Alt+A",QUICK_ACTION_POS:"Alt+U",QUICK_ACTION_TOGGLE:"Alt+L",COMPLETE_STATUS:"Alt+U",APPLY:"Alt+Enter",CANCEL:"Escape"},i=[o.EXPAND_INDENT,o.COLLAPSE_INDENT];t.disabledWithFocus=i;var a=o;t.default=a;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(r,"mod","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/shortcuts/keymap.js"),__REACT_HOT_LOADER__.register(o,"keymaps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/shortcuts/keymap.js"),__REACT_HOT_LOADER__.register(i,"disabledWithFocus","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/shortcuts/keymap.js"),__REACT_HOT_LOADER__.register(a,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/shortcuts/keymap.js"))},function(e,t,n){var r=n(3),o=n(11),i=n(51),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t,n){var r=n(9),o=n(31),i=n(32),a=n(80)("src"),s=Function.toString,l=(""+s).split("toString");n(53).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var r=n(20),o=n(81);e.exports=n(21)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(949)},function(e,t,n){"use strict";var r=n(402);e.exports={getOrigin:function(e){if(!e)return null;var t=new r(e);if("file:"===t.protocol)return null;var n=t.port;return n||(n="https:"===t.protocol?"443":"80"),t.protocol+"//"+t.hostname+":"+n},isOriginEqual:function(e,t){var n=this.getOrigin(e)===this.getOrigin(t);return n},isSchemeEqual:function(e,t){return e.split(":")[0]===t.split(":")[0]},addPath:function(e,t){var n=e.split("?");return n[0]+t+(n[1]?"?"+n[1]:"")},addQuery:function(e,t){return e+(-1===e.indexOf("?")?"?"+t:"&"+t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.DATE_FORMAT="YYYY-MM-DDTHH:mm:ss.SSSZ",o=t.LOCAL_LANG="metasfreshLanguage",i=t.VIEW_EDITOR_RENDER_MODES_NEVER="never",a=t.VIEW_EDITOR_RENDER_MODES_ON_DEMAND="on-demand",s=t.VIEW_EDITOR_RENDER_MODES_ALWAYS="always",l=t.DATE_FIELDS=["Date","DateTime","Time"],u=t.AMOUNT_FIELD_TYPES=["Amount","CostPrice"],c=t.AMOUNT_FIELD_FORMATS_BY_PRECISION=["0,0.[00000]","0,0.0[0000]","0,0.00[000]","0,0.000[00]","0,0.0000[0]","0,0.00000"],d=t.SPECIAL_FIELD_TYPES=["Color"],f=t.DATE_FIELD_TYPES=["Date","DateTime","Time"],p=t.DATE_FIELD_FORMATS={Date:"l",DateTime:"l LTS",Time:"LTS"},h=t.TIME_FIELD_TYPES=["Time"];"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(r,"DATE_FORMAT","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(o,"LOCAL_LANG","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(i,"VIEW_EDITOR_RENDER_MODES_NEVER","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(a,"VIEW_EDITOR_RENDER_MODES_ON_DEMAND","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(s,"VIEW_EDITOR_RENDER_MODES_ALWAYS","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(l,"DATE_FIELDS","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(u,"AMOUNT_FIELD_TYPES","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(c,"AMOUNT_FIELD_FORMATS_BY_PRECISION","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(d,"SPECIAL_FIELD_TYPES","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(f,"DATE_FIELD_TYPES","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(p,"DATE_FIELD_FORMATS","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"),__REACT_HOT_LOADER__.register(h,"TIME_FIELD_TYPES","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/Constants.js"))},function(e,t,n){"use strict";var r=n(541),o=n(938),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||a(e)||(e=[e]),a(e))for(var n=0,r=e.length;n>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?f(e)+t:t}function h(){return!0}function m(e,t,n){return(0===e&&!y(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function _(e,t){return g(e,t,0)}function b(e,t){return g(e,t,t)}function g(e,t,n){return void 0===e?n:y(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function y(e){return e<0||0===e&&1/e==-1/0}function v(e){return w(e)||O(e)}function w(e){return!(!e||!e[L])}function k(e){return!(!e||!e[S])}function x(e){return!(!e||!e[D])}function T(e){return k(e)||x(e)}function M(e){return!(!e||!e[j])}function O(e){return!(!e||!e[C])}function E(e){return!(!e||"function"!=typeof e.equals||"function"!=typeof e.hashCode)}var L="@@__IMMUTABLE_ITERABLE__@@",S="@@__IMMUTABLE_KEYED__@@",D="@@__IMMUTABLE_INDEXED__@@",j="@@__IMMUTABLE_ORDERED__@@",C="@@__IMMUTABLE_RECORD__@@",A=function(e){return w(e)?e:$(e)},P=function(e){function t(e){return k(e)?e:Q(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(A),I=function(e){function t(e){return x(e)?e:ee(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(A),R=function(e){function t(e){return w(e)&&!T(e)?e:te(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(A);A.Keyed=P,A.Indexed=I,A.Set=R;var H=0,Y=1,N=2,W="function"==typeof Symbol&&Symbol.iterator,J="@@iterator",V=W||J,U=function(e){this.next=e};function X(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function G(){return{value:void 0,done:!0}}function F(e){return!!q(e)}function z(e){return e&&"function"==typeof e.next}function B(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(W&&e[W]||e[J]);if("function"==typeof t)return t}U.prototype.toString=function(){return"[Iterator]"},U.KEYS=H,U.VALUES=Y,U.ENTRIES=N,U.prototype.inspect=U.prototype.toSource=function(){return this.toString()},U.prototype[V]=function(){return this};var K=Object.prototype.hasOwnProperty;function Z(e){return e&&"number"==typeof e.length}var $=function(e){function t(e){return null===e||void 0===e?ue():v(e)?e.toSeq():function(e){var t=fe(e);if(t)return t;if("object"==typeof e)return new oe(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[t?r-++o:o++];if(!1===e(i[1],i[0],this))break}return o}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,o=0;return new U(function(){if(o===r)return{value:void 0,done:!0};var i=n[t?r-++o:o++];return X(e,i[0],i[1])})}return this.__iteratorUncached(e,t)},t}(A),Q=function(e){function t(e){return null===e||void 0===e?ue().toKeyedSeq():w(e)?k(e)?e.toSeq():e.fromEntrySeq():O(e)?e.toSeq():ce(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}($),ee=function(e){function t(e){return null===e||void 0===e?ue():w(e)?k(e)?e.entrySeq():e.toIndexedSeq():O(e)?e.toSeq().entrySeq():de(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}($),te=function(e){function t(e){return(w(e)&&!T(e)?e:ee(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}($);$.isSeq=le,$.Keyed=Q,$.Set=te,$.Indexed=ee;var ne="@@__IMMUTABLE_SEQ__@@";$.prototype[ne]=!0;var re=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[p(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,o=0;o!==r;){var i=t?r-++o:o++;if(!1===e(n[i],i,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,o=0;return new U(function(){if(o===r)return{value:void 0,done:!0};var i=t?r-++o:o++;return X(e,i,n[i])})},t}(ee),oe=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return K.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[t?o-++i:i++];if(!1===e(n[a],a,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length,i=0;return new U(function(){if(i===o)return{value:void 0,done:!0};var a=r[t?o-++i:i++];return X(e,a,n[a])})},t}(Q);oe.prototype[j]=!0;var ie,ae=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=B(this._collection),r=0;if(z(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=B(this._collection);if(!z(n))return new U(G);var r=0;return new U(function(){var t=n.next();return t.done?t:X(e,r++,t.value)})},t}(ee),se=function(e){function t(e){this._iterator=e,this._iteratorCache=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return X(e,o,r[o++])})},t}(ee);function le(e){return!(!e||!e[ne])}function ue(){return ie||(ie=new re([]))}function ce(e){var t=Array.isArray(e)?new re(e):z(e)?new se(e):F(e)?new ae(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new oe(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function de(e){var t=fe(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function fe(e){return Z(e)?new re(e):z(e)?new se(e):F(e)?new ae(e):void 0}function pe(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(E(e)&&E(t)&&e.equals(t))}var he="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function me(e){return e>>>1&1073741824|3221225471&e}function _e(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return me(n)}if("string"===t)return e.length>Te?function(e){var t=Ee[e];void 0===t&&(t=be(e),Oe===Me&&(Oe=0,Ee={}),Oe++,Ee[e]=t);return t}(e):be(e);if("function"==typeof e.hashCode)return me(e.hashCode());if("object"===t)return function(e){var t;if(we&&void 0!==(t=ve.get(e)))return t;if(void 0!==(t=e[xe]))return t;if(!ye){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[xe]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}t=++ke,1073741824&ke&&(ke=0);if(we)ve.set(e,t);else{if(void 0!==ge&&!1===ge(e))throw new Error("Non-extensible objects are not allowed as keys.");if(ye)Object.defineProperty(e,xe,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[xe]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[xe]=t}}return t}(e);if("function"==typeof e.toString)return be(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function be(e){for(var t=0,n=0;n=0&&(u.get=function(t,n){return(t=p(this,t))>=0&&ts)return{value:void 0,done:!0};var e=o.next();return r||t===Y||e.done?e:X(t,l-1,t===H?void 0:e.value[1],e)})},u}function He(e,t,n,r){var o=Fe(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate(function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return l++,o(e,r?i:l-1,a)}),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(N,i),l=!0,u=0;return new U(function(){var e,i,c;do{if((e=s.next()).done)return r||o===Y?e:X(o,u++,o===H?void 0:e.value[1],e);var d=e.value;i=d[0],c=d[1],l&&(l=t.call(n,c,i,a))}while(l);return o===N?e:X(o,i,c,e)})},o}function Ye(e,t,n){var r=Fe(e);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function e(l,u){l.__iterate(function(i,l){return(!t||u0}function Ve(e,t,n,r){var o=Fe(e),i=new re(n).map(function(e){return e.size});return o.size=r?i.max():i.min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(Y,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=n.map(function(e){return e=A(e),B(o?e.reverse():e)}),a=0,s=!1;return new U(function(){var n;return s||(n=i.map(function(e){return e.next()}),s=r?n.every(function(e){return e.done}):n.some(function(e){return e.done})),s?{value:void 0,done:!0}:X(e,a++,t.apply(null,n.map(function(e){return e.value})))})},o}function Ue(e,t){return e===t?e:le(e)?t:e.constructor(t)}function Xe(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ge(e){return k(e)?P:x(e)?I:R}function Fe(e){return Object.create((k(e)?Q:x(e)?ee:te).prototype)}function ze(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$.prototype.cacheResult.call(this)}function Be(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e0;)t[n]=arguments[n+1];return bt(this,t,e)}function bt(e,t,n){for(var r=[],o=0;o0;)t[n]=arguments[n+1];return xt(e,t)}function yt(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return xt(t,n,e)}function vt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return kt(e,t)}function wt(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return kt(t,n,e)}function kt(e,t,n){return xt(e,t,function(e){return function t(n,r,o){return et(n)&&et(r)?xt(n,[r],t):e?e(n,r,o):r}}(n))}function xt(e,t,n){if(!et(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(v(e))return e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.concat.apply(e,t);for(var r=Array.isArray(e),o=e,i=r?I:P,a=r?function(t){o===e&&(o=ot(o)),o.push(t)}:function(t,r){var i=K.call(o,r),a=i&&n?n(o[r],t,r):t;i&&a===o[r]||(o===e&&(o=ot(o)),o[r]=a)},s=0;s0;)t[n]=arguments[n+1];return kt(this,t,e)}function Ot(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return st(this,e,Ft(),function(e){return xt(e,t)})}function Et(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return st(this,e,Ft(),function(e){return kt(e,t)})}function Lt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function St(){return this.__ownerID?this:this.__ensureOwner(new d)}function Dt(){return this.__ensureOwner()}function jt(){return this.__altered}Se.prototype.cacheResult=Le.prototype.cacheResult=De.prototype.cacheResult=je.prototype.cacheResult=ze;var Ct=function(e){function t(t){return null===t||void 0===t?Ft():At(t)&&!M(t)?t:Ft().withMutations(function(n){var r=e(t);Ze(r.size),r.forEach(function(e,t){return n.set(t,e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Ft().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return zt(this,e,t)},t.prototype.remove=function(e){return zt(this,e,a)},t.prototype.deleteAll=function(e){var t=A(e);return 0===t.size?this:this.withMutations(function(e){t.forEach(function(t){return e.remove(t)})})},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ft()},t.prototype.sort=function(e){return yn(Ne(this,e))},t.prototype.sortBy=function(e,t){return yn(Ne(this,t,e))},t.prototype.__iterator=function(e,t){return new Vt(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Gt(this.size,this._root,e,this.__hash):0===this.size?Ft():(this.__ownerID=e,this.__altered=!1,this)},t}(P);function At(e){return!(!e||!e[Pt])}Ct.isMap=At;var Pt="@@__IMMUTABLE_MAP__@@",It=Ct.prototype;It[Pt]=!0,It.delete=It.remove,It.removeAll=It.deleteAll,It.concat=It.merge,It.setIn=ut,It.removeIn=It.deleteIn=dt,It.update=pt,It.updateIn=ht,It.merge=mt,It.mergeWith=_t,It.mergeDeep=Tt,It.mergeDeepWith=Mt,It.mergeIn=Ot,It.mergeDeepIn=Et,It.withMutations=Lt,It.wasAltered=jt,It.asImmutable=Dt,It["@@transducer/init"]=It.asMutable=St,It["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},It["@@transducer/result"]=function(e){return e.asImmutable()};var Rt=function(e,t){this.ownerID=e,this.entries=t};Rt.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=Qt)return function(e,t,n,r){e||(e=new d);for(var o=new Wt(e,_e(n),[n,r]),i=0;i>>e)&i),s=this.bitmap;return 0==(s&a)?o:this.nodes[Zt(s&a-1)].get(e+r,t,n,o)},Ht.prototype.update=function(e,t,n,s,l,u,c){void 0===n&&(n=_e(s));var d=(0===t?n:n>>>t)&i,f=1<=en)return function(e,t,n,r,i){for(var a=0,s=new Array(o),l=0;0!==n;l++,n>>>=1)s[l]=1&n?t[a++]:void 0;return s[r]=i,new Yt(e,a+1,s)}(e,_,p,d,g);if(h&&!g&&2===_.length&&qt(_[1^m]))return _[1^m];if(h&&g&&1===_.length&&qt(g))return g;var y=e&&e===this.ownerID,v=h?g?p:p^f:p|f,w=h?g?$t(_,m,g,y):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a>>e)&i,s=this.nodes[a];return s?s.get(e+r,t,n,o):o},Yt.prototype.update=function(e,t,n,o,s,l,u){void 0===n&&(n=_e(o));var c=(0===t?n:n>>>t)&i,d=s===a,f=this.nodes,p=f[c];if(d&&!p)return this;var h=Bt(p,e,t+r,n,o,s,l,u);if(h===p)return this;var m=this.count;if(p){if(!h&&--m>>n)&i,u=(0===n?o:o>>>n)&i,c=l===u?[Kt(e,t,n+r,o,a)]:(s=new Wt(t,o,a),l>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function $t(e,t,n,r){var o=r?e:qe(e);return o[t]=n,o}var Qt=o/4,en=o/2,tn=o/4,nn=function(e){function t(t){var n=fn();if(null===t||void 0===t)return n;if(rn(t))return t;var i=e(t),a=i.size;return 0===a?n:(Ze(a),a>0&&a=0&&e=e.size||t<0)return e.withMutations(function(e){t<0?_n(e,t).set(0,n):_n(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=u(l);t>=bn(e._capacity)?r=pn(r,e.__ownerID,0,t,n,i):o=pn(o,e.__ownerID,e._level,t,n,i);if(!i.value)return e;if(e.__ownerID)return e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return dn(e._origin,e._capacity,e._level,o,r)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=r,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):fn()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){_n(n,0,t+e.length);for(var r=0;r>>t&i;if(o>=this.array.length)return new sn([],e);var a,s=0===o;if(t>0){var l=this.array[o];if((a=l&&l.removeBefore(e,t-r,n))===l&&s)return this}if(s&&!a)return this;var u=hn(this,e);if(!s)for(var c=0;c>>t&i;if(a>=this.array.length)return this;if(t>0){var s=this.array[a];if((o=s&&s.removeAfter(e,t-r,n))===s&&a===this.array.length-1)return this}var l=hn(this,e);return l.array.splice(a+1),o&&(l.array[a]=o),l};var ln,un={};function cn(e,t){var n=e._origin,i=e._capacity,a=bn(i),s=e._tail;return l(e._root,e._level,0);function l(e,u,c){return 0===u?function(e,r){var l=r===a?s&&s.array:e&&e.array,u=r>n?0:n-r,c=i-r;c>o&&(c=o);return function(){if(u===c)return un;var e=t?--c:u++;return l&&l[e]}}(e,c):function(e,a,s){var u,c=e&&e.array,d=s>n?0:n-s>>a,f=1+(i-s>>a);f>o&&(f=o);return function(){for(;;){if(u){var e=u();if(e!==un)return e;u=null}if(d===f)return un;var n=t?--f:d++;u=l(c&&c[n],a-r,s+(n<>>n&i,d=e&&u0){var f=e&&e.array[u],p=pn(f,t,n-r,o,a,s);return p===f?e:((l=hn(e,t)).array[u]=p,l)}return d&&e.array[u]===a?e:(c(s),l=hn(e,t),void 0===a&&u===l.array.length-1?l.array.pop():l.array[u]=a,l)}function hn(e,t){return t&&e&&t===e.ownerID?e:new sn(e?e.array.slice():[],t)}function mn(e,t){if(t>=bn(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>o&i],o-=r;return n}}function _n(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var o=e.__ownerID||new d,a=e._origin,s=e._capacity,l=a+t,u=void 0===n?s:n<0?s+n:a+n;if(l===a&&u===s)return e;if(l>=u)return e.clear();for(var c=e._level,f=e._root,p=0;l+p<0;)f=new sn(f&&f.array.length?[void 0,f]:[],o),p+=1<<(c+=r);p&&(l+=p,a+=p,u+=p,s+=p);for(var h=bn(s),m=bn(u);m>=1<h?new sn([],o):_;if(_&&m>h&&lr;y-=r){var v=h>>>y&i;g=g.array[v]=hn(g.array[v],o)}g.array[h>>>r&i]=_}if(u=m)l-=m,u-=m,c=r,f=null,b=b&&b.removeBefore(o,0,l);else if(l>a||m>>c&i;if(w!==m>>>c&i)break;w&&(p+=(1<a&&(f=f.removeBefore(o,c,l-p)),f&&m>>r<=o&&l.size>=2*s.size?(r=(i=l.filter(function(e,t){return void 0!==e&&u!==t})).toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=s.remove(t),i=u===l.size-1?l.pop():l.set(u,void 0))}else if(c){if(n===l.get(u)[1])return e;r=s,i=l.set(u,[t,n])}else r=s.set(t,l.size),i=l.set(l.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):wn(r,i)}yn.isOrderedMap=vn,yn.prototype[j]=!0,yn.prototype.delete=yn.prototype.remove;var Tn=function(e){function t(e){return null===e||void 0===e?Dn():Mn(e)?e:Dn().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=p(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Sn(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&Mn(t))return t;Ze(t.size);var n=this.size,r=this._head;return t.__iterate(function(e){n++,r={value:e,next:r}},!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):Sn(n,r)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Dn()},t.prototype.slice=function(t,n){if(m(t,n,this.size))return this;var r=_(t,this.size);if(b(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Sn(o,i)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Sn(this.size,this._head,e,this.__hash):0===this.size?Dn():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new re(this.toArray()).__iterate(function(t,r){return e(t,r,n)},t);for(var r=0,o=this._head;o&&!1!==e(o.value,r++,n);)o=o.next;return r},t.prototype.__iterator=function(e,t){if(t)return new re(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new U(function(){if(r){var t=r.value;return r=r.next,X(e,n++,t)}return{value:void 0,done:!0}})},t}(I);function Mn(e){return!(!e||!e[En])}Tn.isStack=Mn;var On,En="@@__IMMUTABLE_STACK__@@",Ln=Tn.prototype;function Sn(e,t,n,r){var o=Object.create(Ln);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Dn(){return On||(On=Sn(0))}function jn(e,t){if(e===t)return!0;if(!w(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||k(e)!==k(t)||x(e)!==x(t)||M(e)!==M(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!T(e);if(M(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&pe(o[1],e)&&(n||pe(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var s=!0,l=t.__iterate(function(t,r){if(n?!e.has(t):o?!pe(t,e.get(r,a)):!pe(e.get(r,a),t))return s=!1,!1});return s&&e.size===l}function Cn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function An(e){return et(e)?$(e).map(An).toJSON():e}Ln[En]=!0,Ln.shift=Ln.pop,Ln.unshift=Ln.push,Ln.unshiftAll=Ln.pushAll,Ln.withMutations=Lt,Ln.wasAltered=jt,Ln.asImmutable=Dt,Ln["@@transducer/init"]=Ln.asMutable=St,Ln["@@transducer/step"]=function(e,t){return e.unshift(t)},Ln["@@transducer/result"]=function(e){return e.asImmutable()};var Pn=function(e){function t(t){return null===t||void 0===t?Jn():In(t)&&!M(t)?t:Jn().withMutations(function(n){var r=e(t);Ze(r.size),r.forEach(function(e){return n.add(e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(P(e).keySeq())},t.intersect=function(e){return(e=A(e).toArray()).length?Yn.intersect.apply(t(e.pop()),e):Jn()},t.union=function(e){return(e=A(e).toArray()).length?Yn.union.apply(t(e.pop()),e):Jn()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Nn(this,this._map.set(e,e))},t.prototype.remove=function(e){return Nn(this,this._map.remove(e))},t.prototype.clear=function(){return Nn(this,this._map.clear())},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter(function(e){return 0!==e.size})).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(n){for(var r=0;r=0&&t=0&&n>>-15,461845907),t=he(t<<13|t>>>-13,5),t=he((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=me((t=he(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+or(_e(e),_e(t))|0}:function(e,t){r=r+or(_e(e),_e(t))|0}:t?function(e){r=31*r+_e(e)|0}:function(e){r=r+_e(e)|0}),r)}(this))}});var Bn=A.prototype;Bn[L]=!0,Bn[V]=Bn.values,Bn.toJSON=Bn.toArray,Bn.__toStringMapper=tt,Bn.inspect=Bn.toSource=function(){return this.toString()},Bn.chain=Bn.flatMap,Bn.contains=Bn.includes,Cn(P,{flip:function(){return Ue(this,Ce(this))},mapEntries:function(e,t){var n=this,r=0;return Ue(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ue(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var qn=P.prototype;qn[S]=!0,qn[V]=Bn.entries,qn.toJSON=zn,qn.__toStringMapper=function(e,t){return tt(t)+": "+tt(e)},Cn(I,{toKeyedSeq:function(){return new Le(this,!1)},filter:function(e,t){return Ue(this,Ie(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Ue(this,Pe(this,!1))},slice:function(e,t){return Ue(this,Re(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=_(e,e<0?this.count():this.size);var r=this.slice(0,e);return Ue(this,1===n?r:r.concat(qe(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Ue(this,Ye(this,e,!1))},get:function(e,t){return(e=p(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=p(this,e))>=0&&(void 0!==this.size?this.size===1/0||et?-1:0}function or(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Kn[D]=!0,Kn[j]=!0,Cn(R,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),R.prototype.has=Bn.includes,R.prototype.contains=R.prototype.includes,Cn(Q,P.prototype),Cn(ee,I.prototype),Cn(te,R.prototype);var ir=function(e){function t(e){return null===e||void 0===e?cr():ar(e)?e:cr().withMutations(function(t){var n=R(e);Ze(n.size),n.forEach(function(e){return t.add(e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(P(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Pn);function ar(e){return In(e)&&M(e)}ir.isOrderedSet=ar;var sr,lr=ir.prototype;function ur(e,t){var n=Object.create(lr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function cr(){return sr||(sr=ur(kn()))}lr[j]=!0,lr.zip=Kn.zip,lr.zipWith=Kn.zipWith,lr.__empty=cr,lr.__make=ur;var dr=function(e,t){var n,r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(e),l=o._indices={};o._name=t,o._keys=s,o._defaultValues=e;for(var u=0;u2?[]:void 0,{"":e})}function vr(e,t){return k(t)?t.toMap():t.toList()}var wr="4.0.0-rc.9",kr={version:wr,Collection:A,Iterable:A,Seq:$,Map:Ct,OrderedMap:yn,List:nn,Stack:Tn,Set:Pn,OrderedSet:ir,Record:dr,Range:Un,Repeat:gr,is:pe,fromJS:yr,hash:_e,isImmutable:v,isCollection:w,isKeyed:k,isIndexed:x,isAssociative:T,isOrdered:M,isValueObject:E,get:rt,getIn:Xn,has:nt,hasIn:Fn,merge:gt,mergeDeep:vt,mergeWith:yt,mergeDeepWith:wt,remove:it,removeIn:ct,set:at,setIn:lt,update:ft,updateIn:st},xr=A;t.default=kr},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAvailableLang=t.setUserLang=t.getUserLang=t.getUserSession=t.getAvatar=t.logoutRequest=t.loginCompletionRequest=t.localLoginRequest=t.loginRequest=t.quickActionsRequest=t.deleteStaticFilter=t.filterViewRequest=t.createViewRequest=t.deleteView=t.browseViewRequest=t.getViewRowsByIds=t.getViewLayout=t.getAttributesInstance=t.initLayout=void 0;var r=n(893),o=n(892),i=n(889);t.initLayout=r.initLayout,t.getAttributesInstance=r.getAttributesInstance,t.getViewLayout=o.getViewLayout,t.getViewRowsByIds=o.getViewRowsByIds,t.browseViewRequest=o.browseViewRequest,t.deleteView=o.deleteView,t.createViewRequest=o.createViewRequest,t.filterViewRequest=o.filterViewRequest,t.deleteStaticFilter=o.deleteStaticFilter,t.quickActionsRequest=o.quickActionsRequest,t.loginRequest=i.loginRequest,t.localLoginRequest=i.localLoginRequest,t.loginCompletionRequest=i.loginCompletionRequest,t.logoutRequest=i.logoutRequest,t.getAvatar=i.getAvatar,t.getUserSession=i.getUserSession,t.getUserLang=i.getUserLang,t.setUserLang=i.setUserLang,t.getAvailableLang=i.getAvailableLang},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(26);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;nw;w++)if((f||w in g)&&(_=y(m=g[w],w,b),e))if(n)k[w]=_;else if(_)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:k.push(m)}else if(c)return!1;return d?-1:u||c?c:k}}},function(e,t,n){var r=n(3),o=n(53),i=n(11);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(13);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){(function(e,r){var o;/*! JSON v3.3.2 | http://bestiejs.github.io/json3 | Copyright 2012-2014, Kit Cambridge | http://kit.mit-license.org */(function(){var i=n(878),a={function:!0,object:!0},s=a[typeof t]&&t&&!t.nodeType&&t,l=a[typeof window]&&window||this,u=s&&a[typeof e]&&e&&!e.nodeType&&"object"==typeof r&&r;function c(e,t){e||(e=l.Object()),t||(t=l.Object());var n=e.Number||l.Number,r=e.String||l.String,o=e.Object||l.Object,i=e.Date||l.Date,s=e.SyntaxError||l.SyntaxError,u=e.TypeError||l.TypeError,d=e.Math||l.Math,f=e.JSON||l.JSON;"object"==typeof f&&f&&(t.stringify=f.stringify,t.parse=f.parse);var p,h,m,_=o.prototype,b=_.toString,g=new i(-0xc782b5b800cec);try{g=-109252==g.getUTCFullYear()&&0===g.getUTCMonth()&&1===g.getUTCDate()&&10==g.getUTCHours()&&37==g.getUTCMinutes()&&6==g.getUTCSeconds()&&708==g.getUTCMilliseconds()}catch(e){}function y(e){if(y[e]!==m)return y[e];var o;if("bug-string-char-index"==e)o="a"!="a"[0];else if("json"==e)o=y("json-stringify")&&y("json-parse");else{var a,s='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var l=t.stringify,u="function"==typeof l&&g;if(u){(a=function(){return 1}).toJSON=a;try{u="0"===l(0)&&"0"===l(new n)&&'""'==l(new r)&&l(b)===m&&l(m)===m&&l()===m&&"1"===l(a)&&"[1]"==l([a])&&"[null]"==l([m])&&"null"==l(null)&&"[null,null,null]"==l([m,b,null])&&l({a:[a,!0,!1,null,"\0\b\n\f\r\t"]})==s&&"1"===l(null,a)&&"[\n 1,\n 2\n]"==l([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==l(new i(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==l(new i(864e13))&&'"-000001-01-01T00:00:00.000Z"'==l(new i(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==l(new i(-1))}catch(e){u=!1}}o=u}if("json-parse"==e){var c=t.parse;if("function"==typeof c)try{if(0===c("0")&&!c(!1)){var d=5==(a=c(s)).a.length&&1===a.a[0];if(d){try{d=!c('"\t"')}catch(e){}if(d)try{d=1!==c("01")}catch(e){}if(d)try{d=1!==c("1.")}catch(e){}}}}catch(e){d=!1}o=d}}return y[e]=!!o}if(!y("json")){var v=y("bug-string-char-index");if(!g)var w=d.floor,k=[0,31,59,90,120,151,181,212,243,273,304,334],x=function(e,t){return k[t]+365*(e-1970)+w((e-1969+(t=+(t>1)))/4)-w((e-1901+t)/100)+w((e-1601+t)/400)};if((p=_.hasOwnProperty)||(p=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=b?p=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,p=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,p.call(this,e)}),h=function(e,t){var n,r,o,i=0;for(o in(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n)p.call(r,o)&&i++;return n=r=null,i?h=2==i?function(e,t){var n,r={},o="[object Function]"==b.call(e);for(n in e)o&&"prototype"==n||p.call(r,n)||!(r[n]=1)||!p.call(e,n)||t(n)}:function(e,t){var n,r,o="[object Function]"==b.call(e);for(n in e)o&&"prototype"==n||!p.call(e,n)||(r="constructor"===n)||t(n);(r||p.call(e,n="constructor"))&&t(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],h=function(e,t){var n,o,i="[object Function]"==b.call(e),s=!i&&"function"!=typeof e.constructor&&a[typeof e.hasOwnProperty]&&e.hasOwnProperty||p;for(n in e)i&&"prototype"==n||!s.call(e,n)||t(n);for(o=r.length;n=r[--o];s.call(e,n)&&t(n));}),h(e,t)},!y("json-stringify")){var T={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},M=function(e,t){return("000000"+(t||0)).slice(-e)},O=function(e){for(var t='"',n=0,r=e.length,o=!v||r>10,i=o&&(v?e.split(""):e);n-1/0&&s<1/0){if(x){for(f=w(s/864e5),c=w(f/365.2425)+1970-1;x(c+1,0)<=f;c++);for(d=w((f-x(c,0))/30.42);x(c,d+1)<=f;d++);f=1+f-x(c,d),g=w((_=(s%864e5+864e5)%864e5)/36e5)%24,y=w(_/6e4)%60,v=w(_/1e3)%60,k=_%1e3}else c=s.getUTCFullYear(),d=s.getUTCMonth(),f=s.getUTCDate(),g=s.getUTCHours(),y=s.getUTCMinutes(),v=s.getUTCSeconds(),k=s.getUTCMilliseconds();s=(c<=0||c>=1e4?(c<0?"-":"+")+M(6,c<0?-c:c):M(4,c))+"-"+M(2,d+1)+"-"+M(2,f)+"T"+M(2,g)+":"+M(2,y)+":"+M(2,v)+"."+M(3,k)+"Z"}else s=null;if(n&&(s=n.call(t,e,s)),null===s)return"null";if("[object Boolean]"==(l=b.call(s)))return""+s;if("[object Number]"==l)return s>-1/0&&s<1/0?""+s:"null";if("[object String]"==l)return O(""+s);if("object"==typeof s){for(D=a.length;D--;)if(a[D]===s)throw u();if(a.push(s),T=[],j=i,i+=o,"[object Array]"==l){for(S=0,D=s.length;S0)for(r="",n>10&&(n=10);r.length=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70||C();e+=D("0x"+i.slice(t,L));break;default:C()}else{if(34==o)break;for(o=i.charCodeAt(L),t=L;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++L);e+=i.slice(t,L)}if(34==i.charCodeAt(L))return L++,e;C();default:if(t=L,45==o&&(r=!0,o=i.charCodeAt(++L)),o>=48&&o<=57){for(48==o&&((o=i.charCodeAt(L+1))>=48&&o<=57)&&C(),r=!1;L=48&&o<=57);L++);if(46==i.charCodeAt(L)){for(n=++L;n=48&&o<=57);n++);n==L&&C(),L=n}if(101==(o=i.charCodeAt(L))||69==o){for(43!=(o=i.charCodeAt(++L))&&45!=o||L++,n=L;n=48&&o<=57);n++);n==L&&C(),L=n}return+i.slice(t,L)}if(r&&C(),"true"==i.slice(L,L+4))return L+=4,!0;if("false"==i.slice(L,L+5))return L+=5,!1;if("null"==i.slice(L,L+4))return L+=4,null;C()}return"$"},P=function(e){var t,n;if("$"==e&&C(),"string"==typeof e){if("@"==(v?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];"]"!=(e=A());n||(n=!0))n&&(","==e?"]"==(e=A())&&C():C()),","==e&&C(),t.push(P(e));return t}if("{"==e){for(t={};"}"!=(e=A());n||(n=!0))n&&(","==e?"}"==(e=A())&&C():C()),","!=e&&"string"==typeof e&&"@"==(v?e.charAt(0):e[0])&&":"==A()||C(),t[e.slice(1)]=P(A());return t}C()}return e},I=function(e,t,n){var r=R(e,t,n);r===m?delete e[t]:e[t]=r},R=function(e,t,n){var r,o=e[t];if("object"==typeof o&&o)if("[object Array]"==b.call(o))for(r=o.length;r--;)I(o,r,n);else h(o,function(e){I(o,e,n)});return n.call(e,t,o)};t.parse=function(e,t){var n,r;return L=0,S=""+e,n=P(A()),"$"!=A()&&C(),L=S=null,t&&"[object Function]"==b.call(t)?R(((r={})[""]=n,r),"",t):n}}}return t.runInContext=c,t}if(!u||u.global!==u&&u.window!==u&&u.self!==u||(l=u),s&&!i)c(l,s);else{var d=l.JSON,f=l.JSON3,p=!1,h=c(l,l.JSON3={noConflict:function(){return p||(p=!0,l.JSON=d,l.JSON3=f,d=f=null),h}});l.JSON={parse:h.parse,stringify:h.stringify}}i&&(void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o))}).call(this)}).call(this,n(88)(e),n(12))},function(e,t,n){var r=n(554),o=n(3),i=n(143)("metadata"),a=i.store||(i.store=new(n(551))),s=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i};e.exports={store:a,map:s,has:function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){s(n,r,!0).set(e,t)},keys:function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},key:function(e){return void 0===e||"symbol"==typeof e?e:String(e)},exp:function(e){o(o.S,"Reflect",e)}}},function(e,t,n){"use strict";if(n(21)){var r=n(79),o=n(9),i=n(11),a=n(3),s=n(133),l=n(184),u=n(46),c=n(73),d=n(81),f=n(31),p=n(71),h=n(50),m=n(19),_=n(549),b=n(77),g=n(52),y=n(32),v=n(109),w=n(13),k=n(23),x=n(193),T=n(76),M=n(38),O=n(75).f,E=n(191),L=n(80),S=n(15),D=n(48),j=n(142),C=n(135),A=n(188),P=n(91),I=n(138),R=n(74),H=n(189),Y=n(559),N=n(20),W=n(39),J=N.f,V=W.f,U=o.RangeError,X=o.TypeError,G=o.Uint8Array,F=Array.prototype,z=l.ArrayBuffer,B=l.DataView,q=D(0),K=D(2),Z=D(3),$=D(4),Q=D(5),ee=D(6),te=j(!0),ne=j(!1),re=A.values,oe=A.keys,ie=A.entries,ae=F.lastIndexOf,se=F.reduce,le=F.reduceRight,ue=F.join,ce=F.sort,de=F.slice,fe=F.toString,pe=F.toLocaleString,he=S("iterator"),me=S("toStringTag"),_e=L("typed_constructor"),be=L("def_constructor"),ge=s.CONSTR,ye=s.TYPED,ve=s.VIEW,we=D(1,function(e,t){return Oe(C(e,e[be]),t)}),ke=i(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),xe=!!G&&!!G.prototype.set&&i(function(){new G(1).set({})}),Te=function(e,t){var n=h(e);if(n<0||n%t)throw U("Wrong offset!");return n},Me=function(e){if(w(e)&&ye in e)return e;throw X(e+" is not a typed array!")},Oe=function(e,t){if(!(w(e)&&_e in e))throw X("It is not a typed array constructor!");return new e(t)},Ee=function(e,t){return Le(C(e,e[be]),t)},Le=function(e,t){for(var n=0,r=t.length,o=Oe(e,r);r>n;)o[n]=t[n++];return o},Se=function(e,t,n){J(e,t,{get:function(){return this._d[n]}})},De=function(e){var t,n,r,o,i,a,s=k(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,f=E(s);if(void 0!=f&&!x(f)){for(a=f.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),o=Oe(this,n);n>t;t++)o[t]=d?c(s[t],t):s[t];return o},je=function(){for(var e=0,t=arguments.length,n=Oe(this,t);t>e;)n[e]=arguments[e++];return n},Ce=!!G&&i(function(){pe.call(new G(1))}),Ae=function(){return pe.apply(Ce?de.call(Me(this)):Me(this),arguments)},Pe={copyWithin:function(e,t){return Y.call(Me(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return $(Me(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return H.apply(Me(this),arguments)},filter:function(e){return Ee(this,K(Me(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(Me(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Me(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){q(Me(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Me(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Me(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Me(this),arguments)},lastIndexOf:function(e){return ae.apply(Me(this),arguments)},map:function(e){return we(Me(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Me(this),arguments)},reduceRight:function(e){return le.apply(Me(this),arguments)},reverse:function(){for(var e,t=Me(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return ce.call(Me(this),e)},subarray:function(e,t){var n=Me(this),r=n.length,o=b(e,r);return new(C(n,n[be]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:b(t,r))-o))}},Ie=function(e,t){return Ee(this,de.call(Me(this),e,t))},Re=function(e){Me(this);var t=Te(arguments[1],1),n=this.length,r=k(e),o=m(r.length),i=0;if(o+t>n)throw U("Wrong length!");for(;i255?255:255&r),o.v[p](n*t+o.o,r,ke)}(this,n,e)},enumerable:!0})};y?(h=n(function(e,n,r,o){c(e,h,u,"_d");var i,a,s,l,d=0,p=0;if(w(n)){if(!(n instanceof z||"ArrayBuffer"==(l=v(n))||"SharedArrayBuffer"==l))return ye in n?Le(h,n):De.call(h,n);i=n,p=Te(r,t);var b=n.byteLength;if(void 0===o){if(b%t)throw U("Wrong length!");if((a=b-p)<0)throw U("Wrong length!")}else if((a=m(o)*t)+p>b)throw U("Wrong length!");s=a/t}else s=_(n),i=new z(a=s*t);for(f(e,"_d",{b:i,o:p,l:a,e:s,v:new B(i)});dt?1:e>=t?0:NaN},n=function(e){var n;return 1===e.length&&(n=e,e=function(e,r){return t(n(e),r)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}},r=n(t),o=r.right,i=r.left;function a(e,t){return[e,t]}var s=function(e){return null===e?NaN:+e},l=function(e,t){var n,r,o=e.length,i=0,a=-1,l=0,u=0;if(null==t)for(;++a1)return u/(i-1)},u=function(e,t){var n=l(e,t);return n?Math.sqrt(n):n},c=function(e,t){var n,r,o,i=e.length,a=-1;if(null==t){for(;++a=n)for(r=o=n;++an&&(r=n),o=n)for(r=o=n;++an&&(r=n),o0)for(e=Math.ceil(e/i),t=Math.floor(t/i),o=new Array(r=Math.ceil(t-e+1));++s=0?(i>=b?10:i>=g?5:i>=y?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=b?10:i>=g?5:i>=y?2:1)}function k(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=b?o*=10:i>=g?o*=5:i>=y&&(o*=2),t=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e),l=+n(e[i+1],i+1,e);return a+(l-a)*(o-i)}},M=function(e){for(var t,n,r,o=e.length,i=-1,a=0;++i=0;)for(r=e[o],t=r.length;--t>=0;)n[--a]=r[t];return n},O=function(e,t){var n,r,o=e.length,i=-1;if(null==t){for(;++i=n)for(r=n;++in&&(r=n)}else for(;++i=n)for(r=n;++in&&(r=n);return r},E=function(e){if(!(o=e.length))return[];for(var t=-1,n=O(e,L),r=new Array(n);++t=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),a=-1,s=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a0)for(var n,r,o=new Array(n),i=0;i=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),F.hasOwnProperty(t)?{space:F[t],local:e}:e},B=function(e){var t=z(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===G&&t.documentElement.namespaceURI===G?t.createElement(e):t.createElementNS(n,e)}})(t)},q=0;function K(){return new Z}function Z(){this._="@"+(++q).toString(36)}Z.prototype=K.prototype={constructor:Z,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var $=function(e){return function(){return this.matches(e)}};if("undefined"!=typeof document){var Q=document.documentElement;if(!Q.matches){var ee=Q.webkitMatchesSelector||Q.msMatchesSelector||Q.mozMatchesSelector||Q.oMatchesSelector;$=function(e){return function(){return ee.call(this,e)}}}}var te=$,ne={};if(e.event=null,"undefined"!=typeof document){var re=document.documentElement;"onmouseenter"in re||(ne={mouseenter:"mouseover",mouseleave:"mouseout"})}function oe(e,t,n){return e=ie(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function ie(t,n,r){return function(o){var i=e.event;e.event=o;try{t.call(this,this.__data__,n,r)}finally{e.event=i}}}function ae(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,i=t.length;rt?1:e>=t?0:NaN}var ke=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView};function xe(e,t){return e.style.getPropertyValue(t)||ke(e).getComputedStyle(e,null).getPropertyValue(t)}function Te(e){return e.trim().split(/^|\s+/)}function Me(e){return e.classList||new Oe(e)}function Oe(e){this._node=e,this._names=Te(e.getAttribute("class")||"")}function Ee(e,t){for(var n=Me(e),r=-1,o=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var Re=[null];function He(e,t){this._groups=e,this._parents=t}function Ye(){return new He([[document.documentElement]],Re)}He.prototype=Ye.prototype={constructor:He,select:function(e){"function"!=typeof e&&(e=pe(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o=k&&(k=w+1);!(v=b[k])&&++k=0;)(r=o[i])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=we);for(var n=this._groups,r=n.length,o=new Array(r),i=0;i1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):xe(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=Te(e+"");if(arguments.length<2){for(var r=Me(this.node()),o=-1,i=n.length;++o=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),a=i.length;if(!(arguments.length<2)){for(s=t?se:ae,null==n&&(n=!1),r=0;r>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=it.exec(e))?ht(parseInt(t[1],16)):(t=at.exec(e))?new gt(t[1],t[2],t[3],1):(t=st.exec(e))?new gt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=lt.exec(e))?mt(t[1],t[2],t[3],t[4]):(t=ut.exec(e))?mt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ct.exec(e))?yt(t[1],t[2]/100,t[3]/100,1):(t=dt.exec(e))?yt(t[1],t[2]/100,t[3]/100,t[4]):ft.hasOwnProperty(e)?ht(ft[e]):"transparent"===e?new gt(NaN,NaN,NaN,0):null}function ht(e){return new gt(e>>16&255,e>>8&255,255&e,1)}function mt(e,t,n,r){return r<=0&&(e=t=n=NaN),new gt(e,t,n,r)}function _t(e){return e instanceof Qe||(e=pt(e)),e?new gt((e=e.rgb()).r,e.g,e.b,e.opacity):new gt}function bt(e,t,n,r){return 1===arguments.length?_t(e):new gt(e,t,n,null==r?1:r)}function gt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function yt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new wt(e,t,n,r)}function vt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof wt)return new wt(e.h,e.s,e.l,e.opacity);if(e instanceof Qe||(e=pt(e)),!e)return new wt;if(e instanceof wt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n0&&l<1?0:a,new wt(a,s,l,e.opacity)}(e):new wt(e,t,n,null==r?1:r)}function wt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function kt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Ze(Qe,pt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Ze(gt,bt,$e(Qe,{brighter:function(e){return e=null==e?et:Math.pow(et,e),new gt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new gt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Ze(wt,vt,$e(Qe,{brighter:function(e){return e=null==e?et:Math.pow(et,e),new wt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new wt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new gt(kt(e>=240?e-240:e+120,o,r),kt(e,o,r),kt(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var xt=Math.PI/180,Tt=180/Math.PI,Mt=.95047,Ot=1,Et=1.08883,Lt=4/29,St=6/29,Dt=3*St*St,jt=St*St*St;function Ct(e){if(e instanceof Pt)return new Pt(e.l,e.a,e.b,e.opacity);if(e instanceof Wt){var t=e.h*xt;return new Pt(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof gt||(e=_t(e));var n=Yt(e.r),r=Yt(e.g),o=Yt(e.b),i=It((.4124564*n+.3575761*r+.1804375*o)/Mt),a=It((.2126729*n+.7151522*r+.072175*o)/Ot),s=It((.0193339*n+.119192*r+.9503041*o)/Et);return new Pt(116*a-16,500*(i-a),200*(a-s),e.opacity)}function At(e,t,n,r){return 1===arguments.length?Ct(e):new Pt(e,t,n,null==r?1:r)}function Pt(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function It(e){return e>jt?Math.pow(e,1/3):e/Dt+Lt}function Rt(e){return e>St?e*e*e:Dt*(e-Lt)}function Ht(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Yt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Nt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Wt)return new Wt(e.h,e.c,e.l,e.opacity);e instanceof Pt||(e=Ct(e));var t=Math.atan2(e.b,e.a)*Tt;return new Wt(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Wt(e,t,n,null==r?1:r)}function Wt(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}Ze(Pt,At,$e(Qe,{brighter:function(e){return new Pt(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new Pt(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=Ot*Rt(e),t=Mt*Rt(t),n=Et*Rt(n),new gt(Ht(3.2404542*t-1.5371385*e-.4985314*n),Ht(-.969266*t+1.8760108*e+.041556*n),Ht(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),Ze(Wt,Nt,$e(Qe,{brighter:function(e){return new Wt(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new Wt(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return Ct(this).rgb()}}));var Jt=-.14861,Vt=1.78277,Ut=-.29227,Xt=-.90649,Gt=1.97294,Ft=Gt*Xt,zt=Gt*Vt,Bt=Vt*Ut-Xt*Jt;function qt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Kt)return new Kt(e.h,e.s,e.l,e.opacity);e instanceof gt||(e=_t(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Bt*r+Ft*t-zt*n)/(Bt+Ft-zt),i=r-o,a=(Gt*(n-o)-Ut*i)/Xt,s=Math.sqrt(a*a+i*i)/(Gt*o*(1-o)),l=s?Math.atan2(a,i)*Tt-120:NaN;return new Kt(l<0?l+360:l,s,o,e.opacity)}(e):new Kt(e,t,n,null==r?1:r)}function Kt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Zt(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}Ze(Kt,qt,$e(Qe,{brighter:function(e){return e=null==e?et:Math.pow(et,e),new Kt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Kt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*xt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new gt(255*(t+n*(Jt*r+Vt*o)),255*(t+n*(Ut*r+Xt*o)),255*(t+n*(Gt*r)),this.opacity)}}));var $t=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,s=r180||n<-180?n-360*Math.round(n/360):n):en(isNaN(e)?t:e)}function rn(e){return 1==(e=+e)?on:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):en(isNaN(t)?n:t)}}function on(e,t){var n=t-e;return n?tn(e,n):en(isNaN(e)?t:e)}var an=function e(t){var n=rn(t);function r(e,t){var r=n((e=bt(e)).r,(t=bt(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=on(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function sn(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;ni&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:_n(n,r)})),i=yn.lastIndex;return i180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:_n(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}(i.rotate,a.rotate,s,l),function(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:_n(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}(i.skewX,a.skewX,s,l),function(e,t,n,r,i,a){if(e!==n||t!==r){var s=i.push(o(i)+"scale(",null,",",null,")");a.push({i:s-4,x:_n(e,n)},{i:s-2,x:_n(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,s,l),i=a=null,function(e){for(var t,n=-1,r=l.length;++n=0&&t._call.call(null,e),t=t._next;--Un}function rr(){Bn=(zn=Kn.now())+qn,Un=Xn=0;try{nr()}finally{Un=0,function(){for(var e,t,n=Nn,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Nn=t);Wn=e,ir(r)}(),Bn=0}}function or(){var e=Kn.now(),t=e-zn;t>Fn&&(qn-=t,zn=e)}function ir(e){if(!Un){Xn&&(Xn=clearTimeout(Xn));var t=e-Bn;t>24?(e<1/0&&(Xn=setTimeout(rr,t)),Gn&&(Gn=clearInterval(Gn))):(Gn||(zn=Bn,Gn=setInterval(or,Fn)),Un=1,Zn(rr))}}er.prototype=tr.prototype={constructor:er,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?$n():+n)+(null==t?0:+t),this._next||Wn===this||(Wn?Wn._next=this:Nn=this,Wn=this),this._call=e,this._time=n,ir()},stop:function(){this._call&&(this._call=null,this._time=1/0,ir())}};var ar=function(e,t,n){var r=new er;return t=null==t?0:+t,r.restart(function(n){r.stop(),e(n+t)},t,n),r},sr=J("start","end","interrupt"),lr=[],ur=0,cr=1,dr=2,fr=3,pr=4,hr=5,mr=6,_r=function(e,t,n,r,o,i){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,o=e.__transition;function i(l){var u,c,d,f;if(n.state!==cr)return s();for(u in o)if((f=o[u]).name===n.name){if(f.state===fr)return ar(i);f.state===pr?(f.state=mr,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete o[u]):+uur)throw new Error("too late");return n}function gr(e,t){var n=e.__transition;if(!n||!(n=n[t])||n.state>dr)throw new Error("too late");return n}function yr(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("too late");return n}var vr=function(e,t){var n,r,o,i=e.__transition,a=!0;if(i){for(o in t=null==t?null:t+"",i)(n=i[o]).name===t?(r=n.state>dr&&n.state=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?br:gr;return function(){var a=i(this,e),s=a.on;s!==r&&(o=(r=s).copy()).on(t,n),a.on=o}}(n,e,t))},attr:function(e,t){var n=z(e),r="transform"===n?Ln:kr;return this.attrTween(e,"function"==typeof t?(n.local?function(e,t,n){var r,o,i;return function(){var a,s=n(this);if(null!=s)return(a=this.getAttributeNS(e.space,e.local))===s?null:a===r&&s===o?i:i=t(r=a,o=s);this.removeAttributeNS(e.space,e.local)}}:function(e,t,n){var r,o,i;return function(){var a,s=n(this);if(null!=s)return(a=this.getAttribute(e))===s?null:a===r&&s===o?i:i=t(r=a,o=s);this.removeAttribute(e)}})(n,r,wr(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(e,t,n){var r,o;return function(){var i=this.getAttributeNS(e.space,e.local);return i===n?null:i===r?o:o=t(r=i,n)}}:function(e,t,n){var r,o;return function(){var i=this.getAttribute(e);return i===n?null:i===r?o:o=t(r=i,n)}})(n,r,t+""))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=z(e);return this.tween(n,(r.local?function(e,t){function n(){var n=this,r=t.apply(n,arguments);return r&&function(t){n.setAttributeNS(e.space,e.local,r(t))}}return n._value=t,n}:function(e,t){function n(){var n=this,r=t.apply(n,arguments);return r&&function(t){n.setAttribute(e,r(t))}}return n._value=t,n})(r,t))},style:function(e,t,n){var r="transform"==(e+="")?En:kr;return null==t?this.styleTween(e,function(e,t){var n,r,o;return function(){var i=xe(this,e),a=(this.style.removeProperty(e),xe(this,e));return i===a?null:i===n&&a===r?o:o=t(n=i,r=a)}}(e,r)).on("end.style."+e,function(e){return function(){this.style.removeProperty(e)}}(e)):this.styleTween(e,"function"==typeof t?function(e,t,n){var r,o,i;return function(){var a=xe(this,e),s=n(this);return null==s&&(this.style.removeProperty(e),s=xe(this,e)),a===s?null:a===r&&s===o?i:i=t(r=a,o=s)}}(e,r,wr(this,"style."+e,t)):function(e,t,n){var r,o;return function(){var i=xe(this,e);return i===n?null:i===r?o:o=t(r=i,n)}}(e,r,t+""),n)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){function r(){var r=this,o=t.apply(r,arguments);return o&&function(t){r.style.setProperty(e,o(t),n)}}return r._value=t,r}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(wr(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},remove:function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,o=yr(this.node(),n).tween,i=0,a=o.length;i0&&(r=i-h),x<0?f=p-m:x>0&&(a=s-m),w=fo,R.attr("cursor",go.selection),N());break;default:return}uo()},!0).on("keyup.brush",function(){switch(e.event.keyCode){case 16:j&&(b=g=j=!1,N());break;case 18:w===ho&&(k<0?c=d:k>0&&(r=i),x<0?f=p:x>0&&(a=s),w=po,N());break;case 32:w===fo&&(e.event.altKey?(k&&(c=d-h*k,r=i+h*k),x&&(f=p-m*x,a=s+m*x),w=ho):(k<0?c=d:k>0&&(r=i),x<0?f=p:x>0&&(a=s),w=po),R.attr("cursor",go[v]),N());break;default:return}uo()},!0).on("mousemove.brush",Y,!0).on("mouseup.brush",W,!0);Ue(e.event.view)}lo(),vr(y),l.call(y),P.start()}function Y(){var e=de(y);!j||b||g||(Math.abs(e[0]-A[0])>Math.abs(e[1]-A[1])?g=!0:b=!0),A=e,_=!0,uo(),N()}function N(){var e;switch(h=A[0]-C[0],m=A[1]-C[1],w){case fo:case co:k&&(h=Math.max(E-r,Math.min(S-c,h)),i=r+h,d=c+h),x&&(m=Math.max(L-a,Math.min(D-f,m)),s=a+m,p=f+m);break;case po:k<0?(h=Math.max(E-r,Math.min(S-r,h)),i=r+h,d=c):k>0&&(h=Math.max(E-c,Math.min(S-c,h)),i=r,d=c+h),x<0?(m=Math.max(L-a,Math.min(D-a,m)),s=a+m,p=f):x>0&&(m=Math.max(L-f,Math.min(D-f,m)),s=a,p=f+m);break;case ho:k&&(i=Math.max(E,Math.min(S,r-h*k)),d=Math.max(E,Math.min(S,c+h*k))),x&&(s=Math.max(L,Math.min(D,a-m*x)),p=Math.max(L,Math.min(D,f+m*x)))}d1e-6)if(Math.abs(c*s-l*u)>1e-6&&o){var f=n-i,p=r-a,h=s*s+l*l,m=f*f+p*p,_=Math.sqrt(h),b=Math.sqrt(d),g=o*Math.tan((Ho-Math.acos((h+d-m)/(2*_*b)))/2),y=g/b,v=g/_;Math.abs(y-1)>1e-6&&(this._+="L"+(e+y*u)+","+(t+y*c)),this._+="A"+o+","+o+",0,0,"+ +(c*f>u*p)+","+(this._x1=e+v*s)+","+(this._y1=t+v*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,r,o,i){e=+e,t=+t;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=e+a,u=t+s,c=1^i,d=i?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+u:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-u)>1e-6)&&(this._+="L"+l+","+u),n&&(d<0&&(d=d%Yo+Yo),d>No?this._+="A"+n+","+n+",0,1,"+c+","+(e-a)+","+(t-s)+"A"+n+","+n+",0,1,"+c+","+(this._x1=l)+","+(this._y1=u):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=Ho)+","+c+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},zo.prototype=Bo.prototype={constructor:zo,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var ei=Bo.prototype;function ti(e,t){var n=new Qo;if(e instanceof Qo)e.each(function(e){n.add(e)});else if(e){var r=-1,o=e.length;if(null==t)for(;++r=l)return a;if(o)return o=!1,i;var t,r=u;if(34===e.charCodeAt(r)){for(var s=r;s++=(i=(m+b)/2))?m=i:b=i,(c=n>=(a=(_+g)/2))?_=a:g=a,o=p,!(p=p[d=c<<1|u]))return o[d]=h,e;if(s=+e._x.call(null,p.data),l=+e._y.call(null,p.data),t===s&&n===l)return h.next=p,o?o[d]=h:e._root=h,e;do{o=o?o[d]=new Array(4):e._root=new Array(4),(u=t>=(i=(m+b)/2))?m=i:b=i,(c=n>=(a=(_+g)/2))?_=a:g=a}while((d=c<<1|u)==(f=(l>=a)<<1|s>=i));return o[f]=p,o[d]=h,e}var bi=function(e,t,n,r,o){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=o};function gi(e){return e[0]}function yi(e){return e[1]}function vi(e,t,n){var r=new wi(null==t?gi:t,null==n?yi:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function wi(e,t,n,r,o,i){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=o,this._y1=i,this._root=void 0}function ki(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var xi=vi.prototype=wi.prototype;function Ti(e){return e.x+e.vx}function Mi(e){return e.y+e.vy}function Oi(e){return e.index}function Ei(e,t){var n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function Li(e){return e.x}function Si(e){return e.y}xi.copy=function(){var e,t,n=new wi(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=ki(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var o=0;o<4;++o)(t=r.source[o])&&(t.length?e.push({source:t,target:r.target[o]=new Array(4)}):r.target[o]=ki(t));return n},xi.add=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return _i(this.cover(t,n),t,n,e)},xi.addAll=function(e){var t,n,r,o,i=e.length,a=new Array(i),s=new Array(i),l=1/0,u=1/0,c=-1/0,d=-1/0;for(n=0;nc&&(c=r),od&&(d=o));for(ce||e>o||r>t||t>i))return this;var a,s,l=o-n,u=this._root;switch(s=(t<(r+i)/2)<<1|e<(n+o)/2){case 0:do{(a=new Array(4))[s]=u,u=a}while(i=r+(l*=2),e>(o=n+l)||t>i);break;case 1:do{(a=new Array(4))[s]=u,u=a}while(i=r+(l*=2),(n=o-l)>e||t>i);break;case 2:do{(a=new Array(4))[s]=u,u=a}while(r=i-(l*=2),e>(o=n+l)||r>t);break;case 3:do{(a=new Array(4))[s]=u,u=a}while(r=i-(l*=2),(n=o-l)>e||r>t)}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=o,this._y1=i,this},xi.data=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e},xi.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},xi.find=function(e,t,n){var r,o,i,a,s,l,u,c=this._x0,d=this._y0,f=this._x1,p=this._y1,h=[],m=this._root;for(m&&h.push(new bi(m,c,d,f,p)),null==n?n=1/0:(c=e-n,d=t-n,f=e+n,p=t+n,n*=n);l=h.pop();)if(!(!(m=l.node)||(o=l.x0)>f||(i=l.y0)>p||(a=l.x1)=b)<<1|e>=_)&&(l=h[h.length-1],h[h.length-1]=h[h.length-1-u],h[h.length-1-u]=l)}else{var g=e-+this._x.call(null,m.data),y=t-+this._y.call(null,m.data),v=g*g+y*y;if(v=(s=(h+_)/2))?h=s:_=s,(c=a>=(l=(m+b)/2))?m=l:b=l,t=p,!(p=p[d=c<<1|u]))return this;if(!p.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,f=d)}for(;p.data!==e;)if(r=p,!(p=p.next))return this;return(o=p.next)&&delete p.next,r?(o?r.next=o:delete r.next,this):t?(o?t[d]=o:delete t[d],(p=t[0]||t[1]||t[2]||t[3])&&p===(t[3]||t[2]||t[1]||t[0])&&!p.length&&(n?n[f]=p:this._root=p),this):(this._root=o,this)},xi.removeAll=function(e){for(var t=0,n=e.length;t1?r[0]+r.slice(2):r,+e.slice(n+1)]},Pi=function(e){return(e=Ai(Math.abs(e)))?e[1]:NaN},Ii=function(e,t){var n=Ai(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},Ri={"":function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,i=-1;o0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e},"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Ii(100*e,t)},r:Ii,s:function(e,t){var n=Ai(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Di=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Ai(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Hi=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function Yi(e){return new Ni(e)}function Ni(e){if(!(t=Hi.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",o=t[3]||"-",i=t[4]||"",a=!!t[5],s=t[6]&&+t[6],l=!!t[7],u=t[8]&&+t[8].slice(1),c=t[9]||"";"n"===c?(l=!0,c="g"):Ri[c]||(c=""),(a||"0"===n&&"="===r)&&(a=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=i,this.zero=a,this.width=s,this.comma=l,this.precision=u,this.type=c}Yi.prototype=Ni.prototype,Ni.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var Wi,Ji=function(e){return e},Vi=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Ui=function(e){var t,n,r=e.grouping&&e.thousands?(t=e.grouping,n=e.thousands,function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}):Ji,o=e.currency,i=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(e.numerals):Ji,s=e.percent||"%";function l(e){var t=(e=Yi(e)).fill,n=e.align,l=e.sign,u=e.symbol,c=e.zero,d=e.width,f=e.comma,p=e.precision,h=e.type,m="$"===u?o[0]:"#"===u&&/[boxX]/.test(h)?"0"+h.toLowerCase():"",_="$"===u?o[1]:/[%p]/.test(h)?s:"",b=Ri[h],g=!h||/[defgprs%]/.test(h);function y(e){var o,s,u,y=m,v=_;if("c"===h)v=b(e)+v,e="";else{var w=(e=+e)<0;if(e=b(Math.abs(e),p),w&&0==+e&&(w=!1),y=(w?"("===l?l:"-":"-"===l||"("===l?"":l)+y,v=v+("s"===h?Vi[8+Di/3]:"")+(w&&"("===l?")":""),g)for(o=-1,s=e.length;++o(u=e.charCodeAt(o))||u>57){v=(46===u?i+e.slice(o+1):e.slice(o))+v,e=e.slice(0,o);break}}f&&!c&&(e=r(e,1/0));var k=y.length+e.length+v.length,x=k>1)+y+e+v+x.slice(k);break;default:e=x+y+e+v}return a(e)}return p=null==p?h?6:12:/[gprs]/.test(h)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),y.toString=function(){return e+""},y}return{format:l,formatPrefix:function(e,t){var n=l(((e=Yi(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Pi(t)/3))),o=Math.pow(10,-r),i=Vi[8+r/3];return function(e){return n(o*e)+i}}}};function Xi(t){return Wi=Ui(t),e.format=Wi.format,e.formatPrefix=Wi.formatPrefix,Wi}Xi({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Gi=function(e){return Math.max(0,-Pi(Math.abs(e)))},Fi=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pi(t)/3)))-Pi(Math.abs(e)))},zi=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Pi(t)-Pi(e))+1},Bi=function(){return new qi};function qi(){this.reset()}qi.prototype={constructor:qi,reset:function(){this.s=this.t=0},add:function(e){Zi(Ki,e,this.t),Zi(this,Ki.s,this.s),this.s?this.t+=Ki.t:this.s=Ki.t},valueOf:function(){return this.s}};var Ki=new qi;function Zi(e,t,n){var r=e.s=t+n,o=r-t,i=r-o;e.t=t-i+(n-o)}var $i=1e-6,Qi=Math.PI,ea=Qi/2,ta=Qi/4,na=2*Qi,ra=180/Qi,oa=Qi/180,ia=Math.abs,aa=Math.atan,sa=Math.atan2,la=Math.cos,ua=Math.ceil,ca=Math.exp,da=Math.log,fa=Math.pow,pa=Math.sin,ha=Math.sign||function(e){return e>0?1:e<0?-1:0},ma=Math.sqrt,_a=Math.tan;function ba(e){return e>1?0:e<-1?Qi:Math.acos(e)}function ga(e){return e>1?ea:e<-1?-ea:Math.asin(e)}function ya(e){return(e=pa(e/2))*e}function va(){}function wa(e,t){e&&xa.hasOwnProperty(e.type)&&xa[e.type](e,t)}var ka={Feature:function(e,t){wa(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r=0?1:-1,o=r*n,i=la(t),a=pa(t),s=Da*a,l=Sa*i+s*la(o),u=s*r*pa(o);Wa.add(sa(u,l)),La=e,Sa=i,Da=a}function za(e){return[sa(e[1],e[0]),ga(e[2])]}function Ba(e){var t=e[0],n=e[1],r=la(n);return[r*la(t),r*pa(t),pa(n)]}function qa(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Ka(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Za(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function $a(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Qa(e){var t=ma(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var es,ts,ns=Bi(),rs={point:os,lineStart:as,lineEnd:ss,polygonStart:function(){rs.point=ls,rs.lineStart=us,rs.lineEnd=cs,ns.reset(),Va.polygonStart()},polygonEnd:function(){Va.polygonEnd(),rs.point=os,rs.lineStart=as,rs.lineEnd=ss,Wa<0?(ja=-(Aa=180),Ca=-(Pa=90)):ns>$i?Pa=90:ns<-$i&&(Ca=-90),ts[0]=ja,ts[1]=Aa}};function os(e,t){es.push(ts=[ja=e,Aa=e]),tPa&&(Pa=t)}function is(e,t){var n=Ba([e*oa,t*oa]);if(Ya){var r=Ka(Ya,n),o=[r[1],-r[0],0],i=Ka(o,r);Qa(i),i=za(i);var a,s=e-Ia,l=s>0?1:-1,u=i[0]*ra*l,c=ia(s)>180;c^(l*IaPa&&(Pa=a):c^(l*Ia<(u=(u+360)%360-180)&&uPa&&(Pa=t)),c?eds(ja,Aa)&&(Aa=e):ds(e,Aa)>ds(ja,Aa)&&(ja=e):Aa>=ja?(eAa&&(Aa=e)):e>Ia?ds(ja,e)>ds(ja,Aa)&&(Aa=e):ds(e,Aa)>ds(ja,Aa)&&(ja=e)}else es.push(ts=[ja=e,Aa=e]);tPa&&(Pa=t),Ya=n,Ia=e}function as(){rs.point=is}function ss(){ts[0]=ja,ts[1]=Aa,rs.point=os,Ya=null}function ls(e,t){if(Ya){var n=e-Ia;ns.add(ia(n)>180?n+(n>0?360:-360):n)}else Ra=e,Ha=t;Va.point(e,t),is(e,t)}function us(){Va.lineStart()}function cs(){ls(Ra,Ha),Va.lineEnd(),ia(ns)>$i&&(ja=-(Aa=180)),ts[0]=ja,ts[1]=Aa,Ya=null}function ds(e,t){return(t-=e)<0?t+360:t}function fs(e,t){return e[0]-t[0]}function ps(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tQi?e-na:e<-Qi?e+na:e,t]}function Xs(e,t,n){return(e%=na)?t||n?Vs(Fs(e),zs(t,n)):Fs(e):t||n?zs(t,n):Us}function Gs(e){return function(t,n){return[(t+=e)>Qi?t-na:t<-Qi?t+na:t,n]}}function Fs(e){var t=Gs(e);return t.invert=Gs(-e),t}function zs(e,t){var n=la(e),r=pa(e),o=la(t),i=pa(t);function a(e,t){var a=la(t),s=la(e)*a,l=pa(e)*a,u=pa(t),c=u*n+s*r;return[sa(l*o-c*i,s*n-u*r),ga(c*o+l*i)]}return a.invert=function(e,t){var a=la(t),s=la(e)*a,l=pa(e)*a,u=pa(t),c=u*o-l*i;return[sa(l*o+u*i,s*n+c*r),ga(c*n-s*r)]},a}Us.invert=Us;var Bs=function(e){function t(t){return(t=e(t[0]*oa,t[1]*oa))[0]*=ra,t[1]*=ra,t}return e=Xs(e[0]*oa,e[1]*oa,e.length>2?e[2]*oa:0),t.invert=function(t){return(t=e.invert(t[0]*oa,t[1]*oa))[0]*=ra,t[1]*=ra,t},t};function qs(e,t,n,r,o,i){if(n){var a=la(t),s=pa(t),l=r*n;null==o?(o=t+r*na,i=t-l/2):(o=Ks(a,o),i=Ks(a,i),(r>0?oi)&&(o+=r*na));for(var u,c=o;r>0?c>i:c1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},$s=function(e,t,n,r,o,i){var a,s=e[0],l=e[1],u=t[0],c=t[1],d=0,f=1,p=u-s,h=c-l;if(a=n-s,p||!(a>0)){if(a/=p,p<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=o-s,p||!(a<0)){if(a/=p,p<0){if(a>f)return;a>d&&(d=a)}else if(p>0){if(a0)){if(a/=h,h<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=i-l,h||!(a<0)){if(a/=h,h<0){if(a>f)return;a>d&&(d=a)}else if(h>0){if(a0&&(e[0]=s+d*p,e[1]=l+d*h),f<1&&(t[0]=s+f*p,t[1]=l+f*h),!0}}}}},Qs=function(e,t){return ia(e[0]-t[0])<$i&&ia(e[1]-t[1])<$i};function el(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var tl=function(e,t,n,r,o){var i,a,s=[],l=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if(Qs(r,a)){for(o.lineStart(),i=0;i=0;--i)o.point((c=u[i])[0],c[1]);else r(f.x,f.p.x,-1,o);f=f.p}f=f.o,u=f.z,p=!p}while(!f.v);o.lineEnd()}}};function nl(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r0)do{u.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+s+4)%4)!==d);else u.point(i[0],i[1])}function a(r,o){return ia(r[0]-e)<$i?o>0?0:3:ia(r[0]-n)<$i?o>0?2:1:ia(r[1]-t)<$i?o>0?1:0:o>0?3:2}function s(e,t){return l(e.x,t.x)}function l(e,t){var n=a(e,1),r=a(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(a){var l,u,c,d,f,p,h,m,_,b,g,y=a,v=Zs(),w={point:k,lineStart:function(){w.point=x,u&&u.push(c=[]),b=!0,_=!1,h=m=NaN},lineEnd:function(){l&&(x(d,f),p&&_&&v.rejoin(),l.push(v.result())),w.point=k,_&&y.lineEnd()},polygonStart:function(){y=v,l=[],u=[],g=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,o=u.length;nr&&(f-i)*(r-a)>(p-a)*(e-i)&&++t:p<=r&&(f-i)*(r-a)<(p-a)*(e-i)&&--t;return t}(),n=g&&t,o=(l=M(l)).length;(n||o)&&(a.polygonStart(),n&&(a.lineStart(),i(null,null,1,a),a.lineEnd()),o&&tl(l,s,t,i,a),a.polygonEnd()),y=a,l=u=c=null}};function k(e,t){o(e,t)&&y.point(e,t)}function x(i,a){var s=o(i,a);if(u&&c.push([i,a]),b)d=i,f=a,p=s,b=!1,s&&(y.lineStart(),y.point(i,a));else if(s&&_)y.point(i,a);else{var l=[h=Math.max(ol,Math.min(rl,h)),m=Math.max(ol,Math.min(rl,m))],v=[i=Math.max(ol,Math.min(rl,i)),a=Math.max(ol,Math.min(rl,a))];$s(l,v,e,t,n,r)?(_||(y.lineStart(),y.point(l[0],l[1])),y.point(v[0],v[1]),s||y.lineEnd(),g=!1):s&&(y.lineStart(),y.point(i,a),g=!1)}h=i,m=a,_=s}return w}}var al,sl,ll,ul=Bi(),cl=function(e,t){var n=t[0],r=t[1],o=[pa(n),-la(n),0],i=0,a=0;ul.reset();for(var s=0,l=e.length;s=0?1:-1,T=x*k,M=T>Qi,O=h*v;if(ul.add(sa(O*x*pa(T),m*w+O*la(T))),i+=M?k+x*na:k,M^f>=n^g>=n){var E=Ka(Ba(d),Ba(b));Qa(E);var L=Ka(o,E);Qa(L);var S=(M^k>=0?-1:1)*ga(L[2]);(r>S||r===S&&(E[0]||E[1]))&&(a+=M^k>=0?1:-1)}}return(i<-$i||i<$i&&ul<-$i)^1&a},dl=Bi(),fl={sphere:va,point:va,lineStart:function(){fl.point=hl,fl.lineEnd=pl},lineEnd:va,polygonStart:va,polygonEnd:va};function pl(){fl.point=fl.lineEnd=va}function hl(e,t){al=e*=oa,sl=pa(t*=oa),ll=la(t),fl.point=ml}function ml(e,t){e*=oa;var n=pa(t*=oa),r=la(t),o=ia(e-al),i=la(o),a=pa(o),s=r*a,l=ll*n-sl*r*i,u=sl*n+ll*r*i;dl.add(sa(ma(s*s+l*l),u)),al=e,sl=n,ll=r}var _l=function(e){return dl.reset(),Na(e,fl),+dl},bl=[null,null],gl={type:"LineString",coordinates:bl},yl=function(e,t){return bl[0]=e,bl[1]=t,_l(gl)},vl={Feature:function(e,t){return kl(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r$i}).map(l)).concat(_(ua(i/p)*p,o,p).filter(function(e){return ia(e%m)>$i}).map(u))}return g.lines=function(){return y().map(function(e){return{type:"LineString",coordinates:e}})},g.outline=function(){return{type:"Polygon",coordinates:[c(r).concat(d(a).slice(1),c(n).reverse().slice(1),d(s).reverse().slice(1))]}},g.extent=function(e){return arguments.length?g.extentMajor(e).extentMinor(e):g.extentMinor()},g.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),g.precision(b)):[[r,s],[n,a]]},g.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],i=+n[0][1],o=+n[1][1],t>e&&(n=t,t=e,e=n),i>o&&(n=i,i=o,o=n),g.precision(b)):[[t,i],[e,o]]},g.step=function(e){return arguments.length?g.stepMajor(e).stepMinor(e):g.stepMinor()},g.stepMajor=function(e){return arguments.length?(h=+e[0],m=+e[1],g):[h,m]},g.stepMinor=function(e){return arguments.length?(f=+e[0],p=+e[1],g):[f,p]},g.precision=function(f){return arguments.length?(b=+f,l=Ll(i,o,90),u=Sl(t,e,b),c=Ll(s,a,90),d=Sl(r,n,b),g):b},g.extentMajor([[-180,-90+$i],[180,90-$i]]).extentMinor([[-180,-80-$i],[180,80+$i]])}var jl,Cl,Al,Pl,Il=function(e){return e},Rl=Bi(),Hl=Bi(),Yl={point:va,lineStart:va,lineEnd:va,polygonStart:function(){Yl.lineStart=Nl,Yl.lineEnd=Vl},polygonEnd:function(){Yl.lineStart=Yl.lineEnd=Yl.point=va,Rl.add(ia(Hl)),Hl.reset()},result:function(){var e=Rl/2;return Rl.reset(),e}};function Nl(){Yl.point=Wl}function Wl(e,t){Yl.point=Jl,jl=Al=e,Cl=Pl=t}function Jl(e,t){Hl.add(Pl*e-Al*t),Al=e,Pl=t}function Vl(){Jl(jl,Cl)}var Ul,Xl,Gl,Fl,zl=1/0,Bl=zl,ql=-zl,Kl=ql,Zl={point:function(e,t){eql&&(ql=e),tKl&&(Kl=t)},lineStart:va,lineEnd:va,polygonStart:va,polygonEnd:va,result:function(){var e=[[zl,Bl],[ql,Kl]];return ql=Kl=-(Bl=zl=1/0),e}},$l=0,Ql=0,eu=0,tu=0,nu=0,ru=0,ou=0,iu=0,au=0,su={point:lu,lineStart:uu,lineEnd:fu,polygonStart:function(){su.lineStart=pu,su.lineEnd=hu},polygonEnd:function(){su.point=lu,su.lineStart=uu,su.lineEnd=fu},result:function(){var e=au?[ou/au,iu/au]:ru?[tu/ru,nu/ru]:eu?[$l/eu,Ql/eu]:[NaN,NaN];return $l=Ql=eu=tu=nu=ru=ou=iu=au=0,e}};function lu(e,t){$l+=e,Ql+=t,++eu}function uu(){su.point=cu}function cu(e,t){su.point=du,lu(Gl=e,Fl=t)}function du(e,t){var n=e-Gl,r=t-Fl,o=ma(n*n+r*r);tu+=o*(Gl+e)/2,nu+=o*(Fl+t)/2,ru+=o,lu(Gl=e,Fl=t)}function fu(){su.point=lu}function pu(){su.point=mu}function hu(){_u(Ul,Xl)}function mu(e,t){su.point=_u,lu(Ul=Gl=e,Xl=Fl=t)}function _u(e,t){var n=e-Gl,r=t-Fl,o=ma(n*n+r*r);tu+=o*(Gl+e)/2,nu+=o*(Fl+t)/2,ru+=o,ou+=(o=Fl*e-Gl*t)*(Gl+e),iu+=o*(Fl+t),au+=3*o,lu(Gl=e,Fl=t)}function bu(e){this._context=e}bu.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,na)}},result:va};var gu,yu,vu,wu,ku,xu=Bi(),Tu={point:va,lineStart:function(){Tu.point=Mu},lineEnd:function(){gu&&Ou(yu,vu),Tu.point=va},polygonStart:function(){gu=!0},polygonEnd:function(){gu=null},result:function(){var e=+xu;return xu.reset(),e}};function Mu(e,t){Tu.point=Ou,yu=wu=e,vu=ku=t}function Ou(e,t){wu-=e,ku-=t,xu.add(ma(wu*wu+ku*ku)),wu=e,ku=t}function Eu(){this._string=[]}function Lu(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Eu.prototype={_radius:4.5,_circle:Lu(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=Lu(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}};var Su=function(e,t,n,r){return function(o,i){var a,s,l,u=t(i),c=o.invert(r[0],r[1]),d=Zs(),f=t(d),p=!1,h={point:m,lineStart:b,lineEnd:g,polygonStart:function(){h.point=y,h.lineStart=v,h.lineEnd=w,s=[],a=[]},polygonEnd:function(){h.point=m,h.lineStart=b,h.lineEnd=g,s=M(s);var e=cl(a,c);s.length?(p||(i.polygonStart(),p=!0),tl(s,ju,e,n,i)):e&&(p||(i.polygonStart(),p=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),p&&(i.polygonEnd(),p=!1),s=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function m(t,n){var r=o(t,n);e(t=r[0],n=r[1])&&i.point(t,n)}function _(e,t){var n=o(e,t);u.point(n[0],n[1])}function b(){h.point=_,u.lineStart()}function g(){h.point=m,u.lineEnd()}function y(e,t){l.push([e,t]);var n=o(e,t);f.point(n[0],n[1])}function v(){f.lineStart(),l=[]}function w(){y(l[0][0],l[0][1]),f.lineEnd();var e,t,n,r,o=f.clean(),u=d.result(),c=u.length;if(l.pop(),a.push(l),l=null,c)if(1&o){if(n=u[0],(t=n.length-1)>0){for(p||(i.polygonStart(),p=!0),i.lineStart(),e=0;e1&&2&o&&u.push(u.pop().concat(u.shift())),s.push(u.filter(Du))}return h}};function Du(e){return e.length>1}function ju(e,t){return((e=e.x)[0]<0?e[1]-ea-$i:ea-e[1])-((t=t.x)[0]<0?t[1]-ea-$i:ea-t[1])}var Cu=Su(function(){return!0},function(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,a){var s=i>0?Qi:-Qi,l=ia(i-n);ia(l-Qi)<$i?(e.point(n,r=(r+a)/2>0?ea:-ea),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(i,r),t=0):o!==s&&l>=Qi&&(ia(n-o)<$i&&(n-=o*$i),ia(i-s)<$i&&(i-=s*$i),r=function(e,t,n,r){var o,i,a=pa(e-n);return ia(a)>$i?aa((pa(t)*(i=la(r))*pa(n)-pa(r)*(o=la(t))*pa(e))/(o*i*a)):(t+r)/2}(n,r,i,a),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),t=0),e.point(n=i,r=a),o=s},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var o;if(null==e)o=n*ea,r.point(-Qi,o),r.point(0,o),r.point(Qi,o),r.point(Qi,0),r.point(Qi,-o),r.point(0,-o),r.point(-Qi,-o),r.point(-Qi,0),r.point(-Qi,o);else if(ia(e[0]-t[0])>$i){var i=e[0]0,o=ia(n)>$i;function i(e,t){return la(e)*la(t)>n}function a(e,t,r){var o=Ba(e),i=Ba(t),a=[1,0,0],s=Ka(o,i),l=qa(s,s),u=s[0],c=l-u*u;if(!c)return!r&&e;var d=n*l/c,f=-n*u/c,p=Ka(a,s),h=$a(a,d),m=$a(s,f);Za(h,m);var _=p,b=qa(h,_),g=qa(_,_),y=b*b-g*(qa(h,h)-1);if(!(y<0)){var v=ma(y),w=$a(_,(-b-v)/g);if(Za(w,h),w=za(w),!r)return w;var k,x=e[0],T=t[0],M=e[1],O=t[1];T0^w[1]<(ia(w[0]-x)<$i?M:O):M<=w[1]&&w[1]<=O:E>Qi^(x<=w[0]&&w[0]<=T)){var D=$a(_,(-b+v)/g);return Za(D,h),[w,za(D)]}}}function s(t,n){var o=r?e:Qi-e,i=0;return t<-o?i|=1:t>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return Su(i,function(e){var t,n,l,u,c;return{lineStart:function(){u=l=!1,c=1},point:function(d,f){var p,h=[d,f],m=i(d,f),_=r?m?0:s(d,f):m?s(d+(d<0?Qi:-Qi),f):0;if(!t&&(u=l=m)&&e.lineStart(),m!==l&&(!(p=a(t,h))||Qs(t,p)||Qs(h,p))&&(h[0]+=$i,h[1]+=$i,m=i(h[0],h[1])),m!==l)c=0,m?(e.lineStart(),p=a(h,t),e.point(p[0],p[1])):(p=a(t,h),e.point(p[0],p[1]),e.lineEnd()),t=p;else if(o&&t&&r^m){var b;_&n||!(b=a(h,t,!0))||(c=0,r?(e.lineStart(),e.point(b[0][0],b[0][1]),e.point(b[1][0],b[1][1]),e.lineEnd()):(e.point(b[1][0],b[1][1]),e.lineEnd(),e.lineStart(),e.point(b[0][0],b[0][1])))}!m||t&&Qs(t,h)||e.point(h[0],h[1]),t=h,l=m,n=_},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return c|(u&&l)<<1}}},function(n,r,o,i){qs(i,e,t,o,n,r)},r?[0,-e]:[-Qi,e-Qi])};function Pu(e){return function(t){var n=new Iu;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Iu(){}function Ru(e,t,n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=i&&e.clipExtent(null),Na(n,e.stream(Zl));var a=Zl.result(),s=Math.min(r/(a[1][0]-a[0][0]),o/(a[1][1]-a[0][1])),l=+t[0][0]+(r-s*(a[1][0]+a[0][0]))/2,u=+t[0][1]+(o-s*(a[1][1]+a[0][1]))/2;return null!=i&&e.clipExtent(i),e.scale(150*s).translate([l,u])}function Hu(e,t,n){return Ru(e,[[0,0],t],n)}Iu.prototype={constructor:Iu,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Yu=16,Nu=la(30*oa),Wu=function(e,t){return+t?function(e,t){function n(r,o,i,a,s,l,u,c,d,f,p,h,m,_){var b=u-r,g=c-o,y=b*b+g*g;if(y>4*t&&m--){var v=a+f,w=s+p,k=l+h,x=ma(v*v+w*w+k*k),T=ga(k/=x),M=ia(ia(k)-1)<$i||ia(i-d)<$i?(i+d)/2:sa(w,v),O=e(M,T),E=O[0],L=O[1],S=E-r,D=L-o,j=g*S-b*D;(j*j/y>t||ia((b*S+g*D)/y-.5)>.3||a*f+s*p+l*h2?e[2]%360*oa:0,L()):[_*ra,b*ra,g*ra]},M.precision=function(e){return arguments.length?(T=Wu(E,x=e*e),S()):ma(x)},M.fitExtent=function(e,t){return Ru(M,e,t)},M.fitSize=function(e,t){return Hu(M,e,t)},function(){return t=e.apply(this,arguments),M.invert=t.invert&&O,L()}}function Xu(e){var t=0,n=Qi/3,r=Uu(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*oa,n=e[1]*oa):[t*ra,n*ra]},o}function Gu(e,t){var n=pa(e),r=(n+pa(t))/2;if(ia(r)<$i)return function(e){var t=la(e);function n(e,n){return[e*t,pa(n)/t]}return n.invert=function(e,n){return[e/t,ga(n*t)]},n}(e);var o=1+n*(2*r-n),i=ma(o)/r;function a(e,t){var n=ma(o-2*r*pa(t))/r;return[n*pa(e*=r),i-n*la(e)]}return a.invert=function(e,t){var n=i-t;return[sa(e,ia(n))/r*ha(n),ga((o-(e*e+n*n)*r*r)/(2*r))]},a}var Fu=function(){return Xu(Gu).scale(155.424).center([0,33.6442])},zu=function(){return Fu().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};function Bu(e){return function(t,n){var r=la(t),o=la(n),i=e(r*o);return[i*o*pa(t),i*pa(n)]}}function qu(e){return function(t,n){var r=ma(t*t+n*n),o=e(r),i=pa(o),a=la(o);return[sa(t*i,r*a),ga(r&&n*i/r)]}}var Ku=Bu(function(e){return ma(2/(1+e))});Ku.invert=qu(function(e){return 2*ga(e/2)});var Zu=Bu(function(e){return(e=ba(e))&&e/pa(e)});function $u(e,t){return[e,da(_a((ea+t)/2))]}function Qu(e){var t,n,r,o=Vu(e),i=o.center,a=o.scale,s=o.translate,l=o.clipExtent,u=null;function c(){var i=Qi*a(),s=o(Bs(o.rotate()).invert([0,0]));return l(null==u?[[s[0]-i,s[1]-i],[s[0]+i,s[1]+i]]:e===$u?[[Math.max(s[0]-i,u),t],[Math.min(s[0]+i,n),r]]:[[u,Math.max(s[1]-i,t)],[n,Math.min(s[1]+i,r)]])}return o.scale=function(e){return arguments.length?(a(e),c()):a()},o.translate=function(e){return arguments.length?(s(e),c()):s()},o.center=function(e){return arguments.length?(i(e),c()):i()},o.clipExtent=function(e){return arguments.length?(null==e?u=t=n=r=null:(u=+e[0][0],t=+e[0][1],n=+e[1][0],r=+e[1][1]),c()):null==u?null:[[u,t],[n,r]]},c()}function ec(e){return _a((ea+e)/2)}function tc(e,t){var n=la(e),r=e===t?pa(e):da(n/la(t))/da(ec(t)/ec(e)),o=n*fa(ec(e),r)/r;if(!r)return $u;function i(e,t){o>0?t<-ea+$i&&(t=-ea+$i):t>ea-$i&&(t=ea-$i);var n=o/fa(ec(t),r);return[n*pa(r*e),o-n*la(r*e)]}return i.invert=function(e,t){var n=o-t,i=ha(r)*ma(e*e+n*n);return[sa(e,ia(n))/r*ha(n),2*aa(fa(o/i,1/r))-ea]},i}function nc(e,t){return[e,t]}function rc(e,t){var n=la(e),r=e===t?pa(e):(n-la(t))/(t-e),o=n/r+e;if(ia(r)<$i)return nc;function i(e,t){var n=o-t,i=r*e;return[n*pa(i),o-n*la(i)]}return i.invert=function(e,t){var n=o-t;return[sa(e,ia(n))/r*ha(n),o-ha(r)*ma(e*e+n*n)]},i}function oc(e,t){var n=la(t),r=la(e)*n;return[n*pa(e)/r,pa(t)/r]}function ic(e,t,n,r){return 1===e&&1===t&&0===n&&0===r?Il:Pu({point:function(o,i){this.stream.point(o*e+n,i*t+r)}})}function ac(e,t){return[la(t)*pa(e),pa(t)]}function sc(e,t){var n=la(t),r=1+la(e)*n;return[n*pa(e)/r,pa(t)/r]}function lc(e,t){return[da(_a((ea+t)/2)),-e]}function uc(e,t){return e.parent===t.parent?1:2}function cc(e,t){return e+t.x}function dc(e,t){return Math.max(e,t.y)}function fc(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function pc(e,t){var n,r,o,i,a,s=new bc(e),l=+e.value&&(s.value=e.value),u=[s];for(null==t&&(t=hc);n=u.pop();)if(l&&(n.value=+n.data.value),(o=t(n.data))&&(a=o.length))for(n.children=new Array(a),i=a-1;i>=0;--i)u.push(r=n.children[i]=new bc(o[i])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(_c)}function hc(e){return e.children}function mc(e){e.data=e.data.data}function _c(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function bc(e){this.data=e,this.depth=this.height=0,this.parent=null}Zu.invert=qu(function(e){return e}),$u.invert=function(e,t){return[e,2*aa(ca(t))-ea]},nc.invert=nc,oc.invert=qu(aa),ac.invert=qu(ga),sc.invert=qu(function(e){return 2*aa(e)}),lc.invert=function(e,t){return[-t,2*aa(ca(e))-ea]},bc.prototype=pc.prototype={constructor:bc,count:function(){return this.eachAfter(fc)},each:function(e){var t,n,r,o,i=this,a=[i];do{for(t=a.reverse(),a=[];i=t.pop();)if(e(i),n=i.children)for(r=0,o=n.length;r=0;--n)o.push(t[n]);return this},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each(function(t){e.push(t)}),e},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return pc(this).eachBefore(mc)}};var gc=Array.prototype.slice,yc=function(e){for(var t,n,r=0,o=(e=function(e){for(var t,n,r=e.length;r;)n=Math.random()*r--|0,t=e[r],e[r]=e[n],e[n]=t;return e}(gc.call(e))).length,i=[];r0&&n*n>r*r+o*o}function xc(e,t){for(var n=0;nn*n+r*r}function Sc(e){var t=e._,n=e.next._,r=t.r+n.r,o=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return o*o+i*i}function Dc(e){this._=e,this.next=null,this.previous=null}function jc(e){if(!(o=e.length))return 0;var t,n,r,o,i,a,s,l,u,c,d;if((t=e[0]).x=0,t.y=0,!(o>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(o>2))return t.r+n.r;Ec(n,t,r=e[2]),t=new Dc(t),n=new Dc(n),r=new Dc(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(s=3;sf&&(f=s),_=c*c*m,(p=Math.max(f/_,_/d))>h){c-=s;break}h=p}b.push(a={value:c,dice:l1?t:1)},n}(Qc),nd=function e(t){function n(e,n,r,o,i){if((a=e._squarify)&&a.ratio===t)for(var a,s,l,u,c,d=-1,f=a.length,p=e.value;++d1?t:1)},n}(Qc),rd=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])};function od(e,t){return e[0]-t[0]||e[1]-t[1]}function id(e){for(var t=e.length,n=[0,1],r=2,o=2;o1&&rd(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}var ad=[].slice,sd={};function ld(e){this._size=e,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function ud(e){if(!e._start)try{!function(e){for(;e._start=e._waiting&&e._active=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(t){}e._active=NaN,fd(e)}function fd(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function pd(e){if(null==e)e=1/0;else if(!((e=+e)>=1))throw new Error("invalid concurrency");return new ld(e)}ld.prototype=pd.prototype={constructor:ld,defer:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var t=ad.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),ud(this),this},abort:function(){return null==this._error&&dd(this,new Error("abort")),this},await:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(t,n){e.apply(null,[t].concat(n))},fd(this),this},awaitAll:function(e){if("function"!=typeof e)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=e,fd(this),this}};var hd=function(){return Math.random()},md=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(hd),_d=function e(t){function n(e,n){var r,o;return e=null==e?0:+e,n=null==n?1:+n,function(){var i;if(null!=r)i=r,r=null;else do{r=2*t()-1,i=2*t()-1,o=r*r+i*i}while(!o||o>1);return e+n*i*Math.sqrt(-2*Math.log(o)/o)}}return n.source=e,n}(hd),bd=function e(t){function n(){var e=_d.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(hd),gd=function e(t){function n(e){return function(){for(var n=0,r=0;r=200&&r<300||304===r){if(o)try{t=o.call(n,l)}catch(e){return void a.call("error",n,e)}else t=l;a.call("load",n,t)}else a.call("error",n,e)}if("undefined"==typeof XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(e)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=l.ontimeout=f:l.onreadystatechange=function(e){l.readyState>3&&f(e)},l.onprogress=function(e){a.call("progress",n,e)},n={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?s.get(e):(null==t?s.remove(e):s.set(e,t+""),n)},mimeType:function(e){return arguments.length?(r=null==e?null:e+"",n):r},responseType:function(e){return arguments.length?(i=e,n):i},timeout:function(e){return arguments.length?(d=+e,n):d},user:function(e){return arguments.length<1?u:(u=null==e?null:e+"",n)},password:function(e){return arguments.length<1?c:(c=null==e?null:e+"",n)},response:function(e){return o=e,n},get:function(e,t){return n.send("GET",e,t)},post:function(e,t){return n.send("POST",e,t)},send:function(t,o,f){return l.open(t,e,!0,u,c),null==r||s.has("accept")||s.set("accept",r+",*/*"),l.setRequestHeader&&s.each(function(e,t){l.setRequestHeader(t,e)}),null!=r&&l.overrideMimeType&&l.overrideMimeType(r),null!=i&&(l.responseType=i),d>0&&(l.timeout=d),null==f&&"function"==typeof o&&(f=o,o=null),null!=f&&1===f.length&&(f=function(e){return function(t,n){e(null==t?n:null)}}(f)),null!=f&&n.on("error",f).on("load",function(e){f(null,e)}),a.call("beforesend",n,l),l.send(null==o?null:o),n},abort:function(){return l.abort(),n},on:function(){var e=a.on.apply(a,arguments);return e===a?n:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return n.get(t)}return n},kd=function(e,t){return function(n,r){var o=wd(n).mimeType(e).response(t);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return o.get(r)}return o}},xd=kd("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)}),Td=kd("application/json",function(e){return JSON.parse(e.responseText)}),Md=kd("text/plain",function(e){return e.responseText}),Od=kd("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t}),Ed=function(e,t){return function(n,r,o){arguments.length<3&&(o=r,r=null);var i=wd(n).mimeType(e);return i.row=function(e){return arguments.length?i.response(function(e,t){return function(n){return e(n.responseText,t)}}(t,r=e)):r},i.row(r),o?i.get(o):i}},Ld=Ed("text/csv",ii),Sd=Ed("text/tab-separated-values",ci),Dd=Array.prototype,jd=Dd.map,Cd=Dd.slice,Ad={name:"implicit"};function Pd(e){var t=Bo(),n=[],r=Ad;function o(o){var i=o+"",a=t.get(i);if(!a){if(r!==Ad)return r;t.set(i,a=n.push(o))}return e[(a-1)%e.length]}return e=null==e?[]:Cd.call(e),o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=Bo();for(var r,i,a=-1,s=e.length;++a2?Jd:Wd,r=o=null,c}function c(t){return(r||(r=n(i,a,l?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,s)))(+t)}return c.invert=function(e){return(o||(o=n(a,i,Nd,l?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},c.domain=function(e){return arguments.length?(i=jd.call(e,Hd),u()):i.slice()},c.range=function(e){return arguments.length?(a=Cd.call(e),u()):a.slice()},c.rangeRound=function(e){return a=Cd.call(e),s=kn,u()},c.clamp=function(e){return arguments.length?(l=!!e,u()):l},c.interpolate=function(e){return arguments.length?(s=e,u()):s},u()}var Xd=function(t,n,r){var o,i=t[0],a=t[t.length-1],s=k(i,a,null==n?10:n);switch((r=Yi(null==r?",f":r)).type){case"s":var l=Math.max(Math.abs(i),Math.abs(a));return null!=r.precision||isNaN(o=Fi(s,l))||(r.precision=o),e.formatPrefix(r,l);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=zi(s,Math.max(Math.abs(i),Math.abs(a))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Gi(s))||(r.precision=o-2*("%"===r.type))}return e.format(r)};function Gd(e){var t=e.domain;return e.ticks=function(e){var n=t();return v(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return Xd(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,o=t(),i=0,a=o.length-1,s=o[i],l=o[a];return l0?(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,r=w(s,l,n)):r<0&&(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,r=w(s,l,n)),r>0?(o[i]=Math.floor(s/r)*r,o[a]=Math.ceil(l/r)*r,t(o)):r<0&&(o[i]=Math.ceil(s*r)/r,o[a]=Math.floor(l*r)/r,t(o)),e},e}var Fd=function(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a0))return a;do{a.push(new Date(+n))}while(t(n,i),e(n),n=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(o.count=function(t,r){return tf.setTime(+t),nf.setTime(+r),e(tf),e(nf),Math.floor(n(tf,nf))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var of=rf(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});of.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?rf(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):of:null};var af=of.range,sf=6e4,lf=6048e5,uf=rf(function(e){e.setTime(1e3*Math.floor(e/1e3))},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),cf=uf.range,df=rf(function(e){e.setTime(Math.floor(e/sf)*sf)},function(e,t){e.setTime(+e+t*sf)},function(e,t){return(t-e)/sf},function(e){return e.getMinutes()}),ff=df.range,pf=rf(function(e){var t=e.getTimezoneOffset()*sf%36e5;t<0&&(t+=36e5),e.setTime(36e5*Math.floor((+e-t)/36e5)+t)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()}),hf=pf.range,mf=rf(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*sf)/864e5},function(e){return e.getDate()-1}),_f=mf.range;function bf(e){return rf(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*sf)/lf})}var gf=bf(0),yf=bf(1),vf=bf(2),wf=bf(3),kf=bf(4),xf=bf(5),Tf=bf(6),Mf=gf.range,Of=yf.range,Ef=vf.range,Lf=wf.range,Sf=kf.range,Df=xf.range,jf=Tf.range,Cf=rf(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),Af=Cf.range,Pf=rf(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Pf.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rf(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var If=Pf.range,Rf=rf(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*sf)},function(e,t){return(t-e)/sf},function(e){return e.getUTCMinutes()}),Hf=Rf.range,Yf=rf(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()}),Nf=Yf.range,Wf=rf(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1}),Jf=Wf.range;function Vf(e){return rf(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/lf})}var Uf=Vf(0),Xf=Vf(1),Gf=Vf(2),Ff=Vf(3),zf=Vf(4),Bf=Vf(5),qf=Vf(6),Kf=Uf.range,Zf=Xf.range,$f=Gf.range,Qf=Ff.range,ep=zf.range,tp=Bf.range,np=qf.range,rp=rf(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),op=rp.range,ip=rf(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});ip.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rf(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var ap=ip.range;function sp(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function lp(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function up(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function cp(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,u=gp(o),c=yp(o),d=gp(i),f=yp(i),p=gp(a),h=yp(a),m=gp(s),_=yp(s),b=gp(l),g=yp(l),y={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Pp,e:Pp,H:Ip,I:Rp,j:Hp,L:Yp,m:Np,M:Wp,p:function(e){return o[+(e.getHours()>=12)]},S:Jp,U:Vp,w:Up,W:Xp,x:null,X:null,y:Gp,Y:Fp,Z:zp,"%":lh},v={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Bp,e:Bp,H:qp,I:Kp,j:Zp,L:$p,m:Qp,M:eh,p:function(e){return o[+(e.getUTCHours()>=12)]},S:th,U:nh,w:rh,W:oh,x:null,X:null,y:ih,Y:ah,Z:sh,"%":lh},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=b.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=_[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return T(e,t,n,r)},d:Ep,e:Ep,H:Sp,I:Sp,j:Lp,L:Cp,m:Op,M:Dp,p:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.p=c[r[0].toLowerCase()],n+r[0].length):-1},S:jp,U:wp,w:vp,W:kp,x:function(e,t,r){return T(e,n,t,r)},X:function(e,t,n){return T(e,r,t,n)},y:Tp,Y:xp,Z:Mp,"%":Ap};function k(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++s=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in fp?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return y.x=k(n,y),y.X=k(r,y),y.c=k(t,y),v.x=k(n,v),v.X=k(r,v),v.c=k(t,v),{format:function(e){var t=k(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=x(e+="",sp);return t.toString=function(){return e},t},utcFormat:function(e){var t=k(e+="",v);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e,lp);return t.toString=function(){return e},t}}}var dp,fp={"-":"",_:" ",0:"0"},pp=/^\s*\d+/,hp=/^%/,mp=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;function _p(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3),n+r[0].length):-1}function Mp(e,t,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Op(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ep(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Lp(e,t,n){var r=pp.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Sp(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Dp(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function jp(e,t,n){var r=pp.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Cp(e,t,n){var r=pp.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ap(e,t,n){var r=hp.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Pp(e,t){return _p(e.getDate(),t,2)}function Ip(e,t){return _p(e.getHours(),t,2)}function Rp(e,t){return _p(e.getHours()%12||12,t,2)}function Hp(e,t){return _p(1+mf.count(Pf(e),e),t,3)}function Yp(e,t){return _p(e.getMilliseconds(),t,3)}function Np(e,t){return _p(e.getMonth()+1,t,2)}function Wp(e,t){return _p(e.getMinutes(),t,2)}function Jp(e,t){return _p(e.getSeconds(),t,2)}function Vp(e,t){return _p(gf.count(Pf(e),e),t,2)}function Up(e){return e.getDay()}function Xp(e,t){return _p(yf.count(Pf(e),e),t,2)}function Gp(e,t){return _p(e.getFullYear()%100,t,2)}function Fp(e,t){return _p(e.getFullYear()%1e4,t,4)}function zp(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+_p(t/60|0,"0",2)+_p(t%60,"0",2)}function Bp(e,t){return _p(e.getUTCDate(),t,2)}function qp(e,t){return _p(e.getUTCHours(),t,2)}function Kp(e,t){return _p(e.getUTCHours()%12||12,t,2)}function Zp(e,t){return _p(1+Wf.count(ip(e),e),t,3)}function $p(e,t){return _p(e.getUTCMilliseconds(),t,3)}function Qp(e,t){return _p(e.getUTCMonth()+1,t,2)}function eh(e,t){return _p(e.getUTCMinutes(),t,2)}function th(e,t){return _p(e.getUTCSeconds(),t,2)}function nh(e,t){return _p(Uf.count(ip(e),e),t,2)}function rh(e){return e.getUTCDay()}function oh(e,t){return _p(Xf.count(ip(e),e),t,2)}function ih(e,t){return _p(e.getUTCFullYear()%100,t,2)}function ah(e,t){return _p(e.getUTCFullYear()%1e4,t,4)}function sh(){return"+0000"}function lh(){return"%"}function uh(t){return dp=cp(t),e.timeFormat=dp.format,e.timeParse=dp.parse,e.utcFormat=dp.utcFormat,e.utcParse=dp.utcParse,dp}uh({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var ch=Date.prototype.toISOString?function(e){return e.toISOString()}:e.utcFormat("%Y-%m-%dT%H:%M:%S.%LZ"),dh=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:e.utcParse("%Y-%m-%dT%H:%M:%S.%LZ"),fh=1e3,ph=60*fh,hh=60*ph,mh=24*hh,_h=7*mh,bh=30*mh,gh=365*mh;function yh(e){return new Date(e)}function vh(e){return e instanceof Date?+e:+new Date(+e)}function wh(e,t,r,o,i,a,s,l,u){var c=Ud(Nd,_n),d=c.invert,f=c.domain,p=u(".%L"),h=u(":%S"),m=u("%I:%M"),_=u("%I %p"),b=u("%a %d"),g=u("%b %d"),y=u("%B"),v=u("%Y"),w=[[s,1,fh],[s,5,5*fh],[s,15,15*fh],[s,30,30*fh],[a,1,ph],[a,5,5*ph],[a,15,15*ph],[a,30,30*ph],[i,1,hh],[i,3,3*hh],[i,6,6*hh],[i,12,12*hh],[o,1,mh],[o,2,2*mh],[r,1,_h],[t,1,bh],[t,3,3*bh],[e,1,gh]];function x(n){return(s(n)=1?Fh:e<=-1?-Fh:Math.asin(e)}function qh(e){return e.innerRadius}function Kh(e){return e.outerRadius}function Zh(e){return e.startAngle}function $h(e){return e.endAngle}function Qh(e){return e&&e.padAngle}function em(e,t,n,r,o,i,a){var s=e-n,l=t-r,u=(a?i:-i)/Uh(s*s+l*l),c=u*l,d=-u*s,f=e+c,p=t+d,h=n+c,m=r+d,_=(f+h)/2,b=(p+m)/2,g=h-f,y=m-p,v=g*g+y*y,w=o-i,k=f*m-h*p,x=(y<0?-1:1)*Uh(Wh(0,w*w*v-k*k)),T=(k*y-g*x)/v,M=(-k*g-y*x)/v,O=(k*y+g*x)/v,E=(-k*g+y*x)/v,L=T-_,S=M-b,D=O-_,j=E-b;return L*L+S*S>D*D+j*j&&(T=O,M=E),{cx:T,cy:M,x01:-c,y01:-d,x11:T*(o/w-1),y11:M*(o/w-1)}}function tm(e){this._context=e}tm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var nm=function(e){return new tm(e)};function rm(e){return e[0]}function om(e){return e[1]}var im=function(){var e=rm,t=om,n=Rh(!0),r=null,o=nm,i=null;function a(a){var s,l,u,c=a.length,d=!1;for(null==r&&(i=o(u=Jo())),s=0;s<=c;++s)!(s=c;--d)s.point(_[d],b[d]);s.lineEnd(),s.areaEnd()}m&&(_[u]=+e(f,u,l),b[u]=+n(f,u,l),s.point(t?+t(f,u,l):_[u],r?+r(f,u,l):b[u]))}if(p)return s=null,p+""||null}function u(){return im().defined(o).curve(a).context(i)}return l.x=function(n){return arguments.length?(e="function"==typeof n?n:Rh(+n),t=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:Rh(+t),l):e},l.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:Rh(+e),l):t},l.y=function(e){return arguments.length?(n="function"==typeof e?e:Rh(+e),r=null,l):n},l.y0=function(e){return arguments.length?(n="function"==typeof e?e:Rh(+e),l):n},l.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Rh(+e),l):r},l.lineX0=l.lineY0=function(){return u().x(e).y(n)},l.lineY1=function(){return u().x(e).y(r)},l.lineX1=function(){return u().x(t).y(n)},l.defined=function(e){return arguments.length?(o="function"==typeof e?e:Rh(!!e),l):o},l.curve=function(e){return arguments.length?(a=e,null!=i&&(s=a(i)),l):a},l.context=function(e){return arguments.length?(null==e?i=s=null:s=a(i=e),l):i},l},sm=function(e,t){return te?1:t>=e?0:NaN},lm=function(e){return e},um=dm(nm);function cm(e){this._curve=e}function dm(e){function t(t){return new cm(e(t))}return t._curve=e,t}function fm(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(dm(e)):t()._curve},e}cm.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var pm=function(){return fm(im().curve(um))},hm=function(){var e=am().curve(um),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,i=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return fm(n())},delete e.lineX0,e.lineEndAngle=function(){return fm(r())},delete e.lineX1,e.lineInnerRadius=function(){return fm(o())},delete e.lineY0,e.lineOuterRadius=function(){return fm(i())},delete e.lineY1,e.curve=function(e){return arguments.length?t(dm(e)):t()._curve},e},mm=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},_m=Array.prototype.slice;function bm(e){return e.source}function gm(e){return e.target}function ym(e){var t=bm,n=gm,r=rm,o=om,i=null;function a(){var a,s=_m.call(arguments),l=t.apply(this,s),u=n.apply(this,s);if(i||(i=a=Jo()),e(i,+r.apply(this,(s[0]=l,s)),+o.apply(this,s),+r.apply(this,(s[0]=u,s)),+o.apply(this,s)),a)return i=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(n=e,a):n},a.x=function(e){return arguments.length?(r="function"==typeof e?e:Rh(+e),a):r},a.y=function(e){return arguments.length?(o="function"==typeof e?e:Rh(+e),a):o},a.context=function(e){return arguments.length?(i=null==e?null:e,a):i},a}function vm(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,o,r,o)}function wm(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+o)/2,r,n,r,o)}function km(e,t,n,r,o){var i=mm(t,n),a=mm(t,n=(n+o)/2),s=mm(r,n),l=mm(r,o);e.moveTo(i[0],i[1]),e.bezierCurveTo(a[0],a[1],s[0],s[1],l[0],l[1])}var xm={draw:function(e,t){var n=Math.sqrt(t/Gh);e.moveTo(n,0),e.arc(0,0,n,0,zh)}},Tm={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Mm=Math.sqrt(1/3),Om=2*Mm,Em={draw:function(e,t){var n=Math.sqrt(t/Om),r=n*Mm;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Lm=Math.sin(Gh/10)/Math.sin(7*Gh/10),Sm=Math.sin(zh/10)*Lm,Dm=-Math.cos(zh/10)*Lm,jm={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=Sm*n,o=Dm*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=zh*i/5,s=Math.cos(a),l=Math.sin(a);e.lineTo(l*n,-s*n),e.lineTo(s*r-l*o,l*r+s*o)}e.closePath()}},Cm={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},Am=Math.sqrt(3),Pm={draw:function(e,t){var n=-Math.sqrt(t/(3*Am));e.moveTo(0,2*n),e.lineTo(-Am*n,-n),e.lineTo(Am*n,-n),e.closePath()}},Im=-.5,Rm=Math.sqrt(3)/2,Hm=1/Math.sqrt(12),Ym=3*(Hm/2+1),Nm={draw:function(e,t){var n=Math.sqrt(t/Ym),r=n/2,o=n*Hm,i=r,a=n*Hm+n,s=-i,l=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(s,l),e.lineTo(Im*r-Rm*o,Rm*r+Im*o),e.lineTo(Im*i-Rm*a,Rm*i+Im*a),e.lineTo(Im*s-Rm*l,Rm*s+Im*l),e.lineTo(Im*r+Rm*o,Im*o-Rm*r),e.lineTo(Im*i+Rm*a,Im*a-Rm*i),e.lineTo(Im*s+Rm*l,Im*l-Rm*s),e.closePath()}},Wm=[xm,Tm,Em,Cm,jm,Pm,Nm],Jm=function(){};function Vm(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Um(e){this._context=e}function Xm(e){this._context=e}function Gm(e){this._context=e}function Fm(e,t){this._basis=new Um(e),this._beta=t}Um.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Vm(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Vm(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Xm.prototype={areaStart:Jm,areaEnd:Jm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Vm(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Gm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Vm(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Fm.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],i=t[0],a=e[n]-o,s=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*a),this._beta*t[l]+(1-this._beta)*(i+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var zm=function e(t){function n(e){return 1===t?new Um(e):new Fm(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Bm(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function qm(e,t){this._context=e,this._k=(1-t)/6}qm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Bm(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Bm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Km=function e(t){function n(e){return new qm(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Zm(e,t){this._context=e,this._k=(1-t)/6}Zm.prototype={areaStart:Jm,areaEnd:Jm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Bm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var $m=function e(t){function n(e){return new Zm(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Qm(e,t){this._context=e,this._k=(1-t)/6}Qm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Bm(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var e_=function e(t){function n(e){return new Qm(e,t)}return n.tension=function(t){return e(+t)},n}(0);function t_(e,t,n){var r=e._x1,o=e._y1,i=e._x2,a=e._y2;if(e._l01_a>Xh){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>Xh){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*u+e._x1*e._l23_2a-t*e._l12_2a)/c,a=(a*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,o,i,a,e._x2,e._y2)}function n_(e,t){this._context=e,this._alpha=t}n_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:t_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var r_=function e(t){function n(e){return t?new n_(e,t):new qm(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function o_(e,t){this._context=e,this._alpha=t}o_.prototype={areaStart:Jm,areaEnd:Jm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:t_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var i_=function e(t){function n(e){return t?new o_(e,t):new Zm(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function a_(e,t){this._context=e,this._alpha=t}a_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:t_(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var s_=function e(t){function n(e){return t?new a_(e,t):new Qm(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function l_(e){this._context=e}function u_(e){return e<0?-1:1}function c_(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(u_(i)+u_(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function d_(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function f_(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,a-s*n,i,a)}function p_(e){this._context=e}function h_(e){this._context=new m_(e)}function m_(e){this._context=e}function __(e){this._context=e}function b_(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var y_=function(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],s=a.length;i=0;)n[t]=t;return n};function w_(e,t){return e[t]}var k_=function(e){var t=e.map(x_);return v_(e).sort(function(e,n){return t[e]-t[n]})};function x_(e){for(var t,n=0,r=-1,o=e.length;++r0)){if(i/=h,h<0){if(i0){if(i>p)return;i>f&&(f=i)}if(i=r-l,h||!(i<0)){if(i/=h,h<0){if(i>p)return;i>f&&(f=i)}else if(h>0){if(i0)){if(i/=m,m<0){if(i0){if(i>p)return;i>f&&(f=i)}if(i=o-u,m||!(i<0)){if(i/=m,m<0){if(i>p)return;i>f&&(f=i)}else if(m>0){if(i0||p<1)||(f>0&&(e[0]=[l+f*h,u+f*m]),p<1&&(e[1]=[l+p*h,u+p*m]),!0)}}}}}function R_(e,t,n,r,o){var i=e[1];if(i)return!0;var a,s,l=e[0],u=e.left,c=e.right,d=u[0],f=u[1],p=c[0],h=c[1],m=(d+p)/2,_=(f+h)/2;if(h===f){if(m=r)return;if(d>p){if(l){if(l[1]>=o)return}else l=[m,n];i=[m,o]}else{if(l){if(l[1]1)if(d>p){if(l){if(l[1]>=o)return}else l=[(n-s)/a,n];i=[(o-s)/a,o]}else{if(l){if(l[1]=r)return}else l=[t,a*t+s];i=[r,a*r+s]}else{if(l){if(l[0]=-nb)){var p=l*l+u*u,h=c*c+d*d,m=(d*p-u*h)/f,_=(l*h-c*p)/f,b=J_.pop()||new function(){L_(this),this.x=this.y=this.arc=this.site=this.cy=null};b.arc=e,b.site=o,b.x=m+a,b.y=(b.cy=_+s)+Math.sqrt(m*m+_*_),e.circle=b;for(var g=null,y=Q_._;y;)if(b.ytb)s=s.L;else{if(!((o=i-K_(s,a))>tb)){r>-tb?(t=s.P,n=s):o>-tb?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}!function(e){$_[e.index]={site:e,halfedges:[]}}(e);var l=G_(e);if(Z_.insert(t,l),t||n){if(t===n)return U_(t),n=G_(t.site),Z_.insert(l,n),l.edge=n.edge=C_(t.site,l.site),V_(t),void V_(n);if(n){U_(t),U_(n);var u=t.site,c=u[0],d=u[1],f=e[0]-c,p=e[1]-d,h=n.site,m=h[0]-c,_=h[1]-d,b=2*(f*_-p*m),g=f*f+p*p,y=m*m+_*_,v=[(_*g-p*y)/b+c,(f*y-m*g)/b+d];P_(n.edge,u,h,v),l.edge=C_(u,e,null,v),n.edge=C_(e,h,null,v),V_(t),V_(n)}else l.edge=C_(t.site,l.site)}}function q_(e,t){var n=e.site,r=n[0],o=n[1],i=o-t;if(!i)return r;var a=e.P;if(!a)return-1/0;var s=(n=a.site)[0],l=n[1],u=l-t;if(!u)return s;var c=s-r,d=1/i-1/u,f=c/u;return d?(-f+Math.sqrt(f*f-2*d*(c*c/(-2*u)-l+u/2+o-i/2)))/d+r:(r+s)/2}function K_(e,t){var n=e.N;if(n)return q_(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var Z_,$_,Q_,eb,tb=1e-6,nb=1e-12;function rb(e,t){return t[1]-e[1]||t[0]-e[0]}function ob(e,t){var n,r,o,i=e.sort(rb).pop();for(eb=[],$_=new Array(e.length),Z_=new E_,Q_=new E_;;)if(o=W_,i&&(!o||i[1]tb||Math.abs(o[0][1]-o[1][1])>tb)||delete eb[i]}(a,s,l,u),function(e,t,n,r){var o,i,a,s,l,u,c,d,f,p,h,m,_=$_.length,b=!0;for(o=0;o<_;++o)if(i=$_[o]){for(a=i.site,l=i.halfedges,s=l.length;s--;)eb[l[s]]||l.splice(s,1);for(s=0,u=l.length;stb||Math.abs(m-f)>tb)&&(l.splice(s,0,eb.push(A_(a,p,Math.abs(h-e)tb?[e,Math.abs(d-e)tb?[Math.abs(f-r)tb?[n,Math.abs(d-n)tb?[Math.abs(f-t)=s)return null;var l=e-o.site[0],u=t-o.site[1],c=l*l+u*u;do{o=i.cells[r=a],a=null,o.halfedges.forEach(function(n){var r=i.edges[n],s=r.left;if(s!==o.site&&s||(s=r.right)){var l=e-s[0],u=t-s[1],d=l*l+u*u;de?1:t>=e?0:NaN},e.deviation=u,e.extent=c,e.histogram=function(){var e=m,t=c,n=x;function r(r){var i,a,s=r.length,l=new Array(s);for(i=0;id;)f.pop(),--p;var h,m=new Array(p+1);for(i=0;i<=p;++i)(h=m[i]=[]).x0=i>0?f[i-1]:c,h.x1=i=n)for(r=n;++ir&&(r=n)}else for(;++i=n)for(r=n;++ir&&(r=n);return r},e.mean=function(e,t){var n,r=e.length,o=r,i=-1,a=0;if(null==t)for(;++i=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,u,c,d=-1,f=n.length,p=r[o++],h=Bo(),m=a();++dr.length)return n;var a,s=o[i-1];return null!=t&&i>=r.length?a=n.entries():(a=[],n.each(function(t,n){a.push({key:n,values:e(t,i)})})),null!=s?a.sort(function(e,t){return s(e.key,t.key)}):a}(i(e,0,Zo,$o),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return o[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}},e.set=ti,e.map=Bo,e.keys=function(e){var t=[];for(var n in e)t.push(n);return t},e.values=function(e){var t=[];for(var n in e)t.push(e[n]);return t},e.entries=function(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t},e.color=pt,e.rgb=bt,e.hsl=vt,e.lab=At,e.hcl=Nt,e.cubehelix=qt,e.dispatch=J,e.drag=function(){var t,n,r,o,i=ze,a=Be,s=qe,l={},u=J("start","drag","end"),c=0,d=0;function f(e){e.on("mousedown.drag",p).filter(Ke).on("touchstart.drag",_).on("touchmove.drag",b).on("touchend.drag touchcancel.drag",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(){if(!o&&i.apply(this,arguments)){var s=y("mouse",a.apply(this,arguments),de,this,arguments);s&&(Ne(e.event.view).on("mousemove.drag",h,!0).on("mouseup.drag",m,!0),Ue(e.event.view),Je(),r=!1,t=e.event.clientX,n=e.event.clientY,s("start"))}}function h(){if(Ve(),!r){var o=e.event.clientX-t,i=e.event.clientY-n;r=o*o+i*i>d}l.mouse("drag")}function m(){Ne(e.event.view).on("mousemove.drag mouseup.drag",null),Xe(e.event.view,r),Ve(),l.mouse("end")}function _(){if(i.apply(this,arguments)){var t,n,r=e.event.changedTouches,o=a.apply(this,arguments),s=r.length;for(t=0;tl+p||ou+p||is.index){var h=l-a.x-a.vx,m=u-a.y-a.vy,_=h*h+m*m;_e.r&&(e.r=e[t].r)}function s(){if(t){var r,o,i=t.length;for(n=new Array(i),r=0;r=a)){(e.data!==t||e.next)&&(0===c&&(c=mi(),p+=c*c),0===d&&(d=mi(),p+=d*d),p1?(null==n?s.remove(e):s.set(e,p(n)),t):s.get(e)},find:function(t,n,r){var o,i,a,s,l,u=0,c=e.length;for(null==r?r=1/0:r*=r,u=0;u1?(u.on(e,n),t):u.on(e)}}},e.forceX=function(e){var t,n,r,o=hi(.1);function i(e){for(var o,i=0,a=t.length;ids(r[0],r[1])&&(r[1]=o[1]),ds(o[0],r[1])>ds(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,n=i.length-1,t=0,r=i[n];t<=n;r=o,++t)o=i[t],(s=ds(r[1],o[0]))>a&&(a=s,ja=o[0],Aa=r[1])}return es=ts=null,ja===1/0||Ca===1/0?[[NaN,NaN],[NaN,NaN]]:[[ja,Ca],[Aa,Pa]]},e.geoCentroid=function(e){hs=ms=_s=bs=gs=ys=vs=ws=ks=xs=Ts=0,Na(e,Ds);var t=ks,n=xs,r=Ts,o=t*t+n*n+r*r;return o<1e-12&&(t=ys,n=vs,r=ws,ms<$i&&(t=_s,n=bs,r=gs),(o=t*t+n*n+r*r)<1e-12)?[NaN,NaN]:[sa(n,t)*ra,ga(r/ma(o))*ra]},e.geoCircle=function(){var e,t,n=Js([0,0]),r=Js(90),o=Js(6),i={point:function(n,r){e.push(n=t(n,r)),n[0]*=ra,n[1]*=ra}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*oa,l=o.apply(this,arguments)*oa;return e=[],t=Xs(-a[0]*oa,-a[1]*oa,0).invert,qs(i,s,l,1),a={type:"Polygon",coordinates:[e]},e=t=null,a}return a.center=function(e){return arguments.length?(n="function"==typeof e?e:Js([+e[0],+e[1]]),a):n},a.radius=function(e){return arguments.length?(r="function"==typeof e?e:Js(+e),a):r},a.precision=function(e){return arguments.length?(o="function"==typeof e?e:Js(+e),a):o},a},e.geoClipExtent=function(){var e,t,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return e&&t===n?e:e=il(r,o,i,a)(t=n)},extent:function(s){return arguments.length?(r=+s[0][0],o=+s[0][1],i=+s[1][0],a=+s[1][1],e=t=null,n):[[r,o],[i,a]]}}},e.geoContains=function(e,t){return(e&&vl.hasOwnProperty(e.type)?vl[e.type]:kl)(e,t)},e.geoDistance=yl,e.geoGraticule=Dl,e.geoGraticule10=function(){return Dl()()},e.geoInterpolate=function(e,t){var n=e[0]*oa,r=e[1]*oa,o=t[0]*oa,i=t[1]*oa,a=la(r),s=pa(r),l=la(i),u=pa(i),c=a*la(n),d=a*pa(n),f=l*la(o),p=l*pa(o),h=2*ga(ma(ya(i-r)+a*l*ya(o-n))),m=pa(h),_=h?function(e){var t=pa(e*=h)/m,n=pa(h-e)/m,r=n*c+t*f,o=n*d+t*p,i=n*s+t*u;return[sa(o,r)*ra,sa(i,ma(r*r+o*o))*ra]}:function(){return[n*ra,r*ra]};return _.distance=h,_},e.geoLength=_l,e.geoPath=function(e,t){var n,r,o=4.5;function i(e){return e&&("function"==typeof o&&r.pointRadius(+o.apply(this,arguments)),Na(e,n(r))),r.result()}return i.area=function(e){return Na(e,n(Yl)),Yl.result()},i.measure=function(e){return Na(e,n(Tu)),Tu.result()},i.bounds=function(e){return Na(e,n(Zl)),Zl.result()},i.centroid=function(e){return Na(e,n(su)),su.result()},i.projection=function(t){return arguments.length?(n=null==t?(e=null,Il):(e=t).stream,i):e},i.context=function(e){return arguments.length?(r=null==e?(t=null,new Eu):new bu(t=e),"function"!=typeof o&&r.pointRadius(o),i):t},i.pointRadius=function(e){return arguments.length?(o="function"==typeof e?e:(r.pointRadius(+e),+e),i):o},i.projection(e).context(t)},e.geoAlbers=zu,e.geoAlbersUsa=function(){var e,t,n,r,o,i,a=zu(),s=Fu().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=Fu().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(e,t){i=[e,t]}};function c(e){var t=e[0],a=e[1];return i=null,n.point(t,a),i||(r.point(t,a),i)||(o.point(t,a),i)}function d(){return e=t=null,c}return c.invert=function(e){var t=a.scale(),n=a.translate(),r=(e[0]-n[0])/t,o=(e[1]-n[1])/t;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?s:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:a).invert(e)},c.stream=function(n){return e&&t===n?e:(r=[a.stream(t=n),s.stream(n),l.stream(n)],o=r.length,e={point:function(e,t){for(var n=-1;++n2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)},e.geoTransverseMercatorRaw=lc,e.geoRotation=Bs,e.geoStream=Na,e.geoTransform=function(e){return{stream:Pu(e)}},e.cluster=function(){var e=uc,t=1,n=1,r=!1;function o(o){var i,a=0;o.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(cc,0)/e.length}(n),t.y=function(e){return 1+e.reduce(dc,0)}(n)):(t.x=i?a+=e(t,i):0,t.y=0,i=t)});var s=function(e){for(var t;t=e.children;)e=t[0];return e}(o),l=function(e){for(var t;t=e.children;)e=t[t.length-1];return e}(o),u=s.x-e(s,l)/2,c=l.x+e(l,s)/2;return o.eachAfter(r?function(e){e.x=(e.x-o.x)*t,e.y=(o.y-e.y)*n}:function(e){e.x=(e.x-u)/(c-u)*t,e.y=(1-(o.y?e.y/o.y:1))*n})}return o.separation=function(t){return arguments.length?(e=t,o):e},o.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],o):r?null:[t,n]},o.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],o):r?[t,n]:null},o},e.hierarchy=pc,e.pack=function(){var e=null,t=1,n=1,r=Ac;function o(o){return o.x=t/2,o.y=n/2,e?o.eachBefore(Rc(e)).eachAfter(Hc(r,.5)).eachBefore(Yc(1)):o.eachBefore(Rc(Ic)).eachAfter(Hc(Ac,1)).eachAfter(Hc(r,o.r/Math.min(t,n))).eachBefore(Yc(Math.min(t,n)/(2*o.r))),o}return o.radius=function(t){return arguments.length?(e=null==(n=t)?null:Cc(n),o):e;var n},o.size=function(e){return arguments.length?(t=+e[0],n=+e[1],o):[t,n]},o.padding=function(e){return arguments.length?(r="function"==typeof e?e:Pc(+e),o):r},o},e.packSiblings=function(e){return jc(e),e},e.packEnclose=yc,e.partition=function(){var e=1,t=1,n=0,r=!1;function o(o){var i=o.height+1;return o.x0=o.y0=n,o.x1=e,o.y1=t/i,o.eachBefore(function(e,t){return function(r){r.children&&Wc(r,r.x0,e*(r.depth+1)/t,r.x1,e*(r.depth+2)/t);var o=r.x0,i=r.y0,a=r.x1-n,s=r.y1-n;a0)throw new Error("cycle");return i}return n.id=function(t){return arguments.length?(e=Cc(t),n):e},n.parentId=function(e){return arguments.length?(t=Cc(e),n):t},n},e.tree=function(){var e=Fc,t=1,n=1,r=null;function o(o){var l=function(e){for(var t,n,r,o,i,a=new Zc(e,0),s=[a];t=s.pop();)if(r=t._.children)for(t.children=new Array(i=r.length),o=i-1;o>=0;--o)s.push(n=t.children[o]=new Zc(r[o],o)),n.parent=t;return(a.parent=new Zc(null,0)).children=[a],a}(o);if(l.eachAfter(i),l.parent.m=-l.z,l.eachBefore(a),r)o.eachBefore(s);else{var u=o,c=o,d=o;o.eachBefore(function(e){e.xc.x&&(c=e),e.depth>d.depth&&(d=e)});var f=u===c?1:e(u,c)/2,p=f-u.x,h=t/(c.x+f+p),m=n/(d.depth||1);o.eachBefore(function(e){e.x=(e.x+p)*h,e.y=e.depth*m})}return o}function i(t){var n=t.children,r=t.parent.children,o=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,o=e.children,i=o.length;--i>=0;)(t=o[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var i=(n[0].z+n[n.length-1].z)/2;o?(t.z=o.z+e(t._,o._),t.m=t.z-i):t.z=i}else o&&(t.z=o.z+e(t._,o._));t.parent.A=function(t,n,r){if(n){for(var o,i=t,a=t,s=n,l=i.parent.children[0],u=i.m,c=a.m,d=s.m,f=l.m;s=Bc(s),i=zc(i),s&&i;)l=zc(l),(a=Bc(a)).a=t,(o=s.z+d-i.z-u+e(s._,i._))>0&&(qc(Kc(s,t,r),t,o),u+=o,c+=o),d+=s.m,u+=i.m,f+=l.m,c+=a.m;s&&!Bc(a)&&(a.t=s,a.m+=d-c),i&&!zc(l)&&(l.t=i,l.m+=u-f,r=t)}return r}(t,o,t.parent.A||r[0])}function a(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=t,e.y=e.depth*n}return o.separation=function(t){return arguments.length?(e=t,o):e},o.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],o):r?null:[t,n]},o.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],o):r?[t,n]:null},o},e.treemap=function(){var e=td,t=!1,n=1,r=1,o=[0],i=Ac,a=Ac,s=Ac,l=Ac,u=Ac;function c(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),o=[0],t&&e.eachBefore(Nc),e}function d(t){var n=o[t.depth],r=t.x0+n,c=t.y0+n,d=t.x1-n,f=t.y1-n;d=n-1){var c=s[t];return c.x0=o,c.y0=i,c.x1=a,void(c.y1=l)}for(var d=u[t],f=r/2+d,p=t+1,h=n-1;p>>1;u[m]l-i){var g=(o*b+a*_)/r;e(t,p,_,o,i,g,l),e(p,n,b,g,i,a,l)}else{var y=(i*b+l*_)/r;e(t,p,_,o,i,a,y),e(p,n,b,o,y,a,l)}}(0,l,e.value,t,n,r,o)},e.treemapDice=Wc,e.treemapSlice=$c,e.treemapSliceDice=function(e,t,n,r,o){(1&e.depth?$c:Wc)(e,t,n,r,o)},e.treemapSquarify=td,e.treemapResquarify=nd,e.interpolate=wn,e.interpolateArray=hn,e.interpolateBasis=$t,e.interpolateBasisClosed=Qt,e.interpolateDate=mn,e.interpolateNumber=_n,e.interpolateObject=bn,e.interpolateRound=kn,e.interpolateString=vn,e.interpolateTransformCss=En,e.interpolateTransformSvg=Ln,e.interpolateZoom=jn,e.interpolateRgb=an,e.interpolateRgbBasis=fn,e.interpolateRgbBasisClosed=pn,e.interpolateHsl=An,e.interpolateHslLong=Pn,e.interpolateLab=function(e,t){var n=on((e=At(e)).l,(t=At(t)).l),r=on(e.a,t.a),o=on(e.b,t.b),i=on(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=o(t),e.opacity=i(t),e+""}},e.interpolateHcl=Rn,e.interpolateHclLong=Hn,e.interpolateCubehelix=Jn,e.interpolateCubehelixLong=Vn,e.quantize=function(e,t){for(var n=new Array(t),r=0;r=0;--t)u.push(e[r[i[t]][2]]);for(t=+s;ts!=u>s&&a<(l-n)*(s-r)/(u-r)+n&&(c=!c),l=n,u=r;return c},e.polygonLength=function(e){for(var t,n,r=-1,o=e.length,i=e[o-1],a=i[0],s=i[1],l=0;++r0){for(;fl)break;m.push(d)}}else for(;f=1;--c)if(!((d=u*c)l)break;m.push(d)}}else m=v(f,p,Math.min(p-f,h)).map(a);return t?m.reverse():m},n.tickFormat=function(t,r){if(null==r&&(r=10===o?".0e":","),"function"!=typeof r&&(r=e.format(r)),t===1/0)return r;null==t&&(t=10);var s=Math.max(1,o*t/n.ticks().length);return function(e){var t=e/a(Math.round(i(e)));return t*o0?i[t-1]:n[0],t=r?[i[r-1],n]:[i[o-1],i[o]]},s.copy=function(){return e().domain([t,n]).range(a)},Gd(s)},e.scaleThreshold=function e(){var t=[.5],n=[0,1],r=1;function i(e){if(e<=e)return n[o(t,e,0,r)]}return i.domain=function(e){return arguments.length?(t=Cd.call(e),r=Math.min(t.length,n.length-1),i):t.slice()},i.range=function(e){return arguments.length?(n=Cd.call(e),r=Math.min(t.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},i.copy=function(){return e().domain(t).range(n)},i},e.scaleTime=function(){return wh(Pf,Cf,gf,mf,pf,df,uf,of,e.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},e.scaleUtc=function(){return wh(ip,rp,Uf,Wf,Yf,Rf,uf,of,e.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},e.schemeCategory10=xh,e.schemeCategory20b=Th,e.schemeCategory20c=Mh,e.schemeCategory20=Oh,e.interpolateCubehelixDefault=Eh,e.interpolateRainbow=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Dh.h=360*e-100,Dh.s=1.5-1.5*t,Dh.l=.8-.9*t,Dh+""},e.interpolateWarm=Lh,e.interpolateCool=Sh,e.interpolateViridis=Ch,e.interpolateMagma=Ah,e.interpolateInferno=Ph,e.interpolatePlasma=Ih,e.scaleSequential=function e(t){var n=0,r=1,o=!1;function i(e){var i=(e-n)/(r-n);return t(o?Math.max(0,Math.min(1,i)):i)}return i.domain=function(e){return arguments.length?(n=+e[0],r=+e[1],i):[n,r]},i.clamp=function(e){return arguments.length?(o=!!e,i):o},i.interpolator=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e(t).domain([n,r]).clamp(o)},Gd(i)},e.creator=B,e.local=K,e.matcher=te,e.mouse=de,e.namespace=z,e.namespaces=F,e.select=Ne,e.selectAll=function(e){return"string"==typeof e?new He([document.querySelectorAll(e)],[document.documentElement]):new He([null==e?[]:e],Re)},e.selection=Ye,e.selector=pe,e.selectorAll=me,e.style=xe,e.touch=We,e.touches=function(e,t){null==t&&(t=ue().touches);for(var n=0,r=t?t.length:0,o=new Array(r);np;if(s||(s=l=Jo()),fXh)if(m>zh-Xh)s.moveTo(f*Nh(p),f*Vh(p)),s.arc(0,0,f,p,h,!_),d>Xh&&(s.moveTo(d*Nh(h),d*Vh(h)),s.arc(0,0,d,h,p,_));else{var b,g,y=p,v=h,w=p,k=h,x=m,T=m,M=a.apply(this,arguments)/2,O=M>Xh&&(r?+r.apply(this,arguments):Uh(d*d+f*f)),E=Jh(Hh(f-d)/2,+n.apply(this,arguments)),L=E,S=E;if(O>Xh){var D=Bh(O/d*Vh(M)),j=Bh(O/f*Vh(M));(x-=2*D)>Xh?(w+=D*=_?1:-1,k-=D):(x=0,w=k=(p+h)/2),(T-=2*j)>Xh?(y+=j*=_?1:-1,v-=j):(T=0,y=v=(p+h)/2)}var C=f*Nh(y),A=f*Vh(y),P=d*Nh(k),I=d*Vh(k);if(E>Xh){var R=f*Nh(v),H=f*Vh(v),Y=d*Nh(w),N=d*Vh(w);if(mXh?function(e,t,n,r,o,i,a,s){var l=n-e,u=r-t,c=a-o,d=s-i,f=(c*(t-i)-d*(e-o))/(d*l-c*u);return[e+f*l,t+f*u]}(C,A,Y,N,R,H,P,I):[P,I],J=C-W[0],V=A-W[1],U=R-W[0],X=H-W[1],G=1/Vh(((c=(J*U+V*X)/(Uh(J*J+V*V)*Uh(U*U+X*X)))>1?0:c<-1?Gh:Math.acos(c))/2),F=Uh(W[0]*W[0]+W[1]*W[1]);L=Jh(E,(d-F)/(G-1)),S=Jh(E,(f-F)/(G+1))}}T>Xh?S>Xh?(b=em(Y,N,C,A,f,S,_),g=em(R,H,P,I,f,S,_),s.moveTo(b.cx+b.x01,b.cy+b.y01),SXh&&x>Xh?L>Xh?(b=em(P,I,R,H,d,-L,_),g=em(C,A,Y,N,d,-L,_),s.lineTo(b.cx+b.x01,b.cy+b.y01),L0&&(p+=d);for(null!=t?h.sort(function(e,n){return t(m[e],m[n])}):null!=n&&h.sort(function(e,t){return n(a[e],a[t])}),s=0,u=p?(b-f*y)/p:0;s0?d*u:0)+y,m[l]={data:a[l],index:s,value:d,startAngle:_,endAngle:c,padAngle:g};return m}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:Rh(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:Rh(+e),a):r},a.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Rh(+e),a):o},a.padAngle=function(e){return arguments.length?(i="function"==typeof e?e:Rh(+e),a):i},a},e.areaRadial=hm,e.radialArea=hm,e.lineRadial=pm,e.radialLine=pm,e.pointRadial=mm,e.linkHorizontal=function(){return ym(vm)},e.linkVertical=function(){return ym(wm)},e.linkRadial=function(){var e=ym(km);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e},e.symbol=function(){var e=Rh(xm),t=Rh(64),n=null;function r(){var r;if(n||(n=r=Jo()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:Rh(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:Rh(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},e.symbols=Wm,e.symbolCircle=xm,e.symbolCross=Tm,e.symbolDiamond=Em,e.symbolSquare=Cm,e.symbolStar=jm,e.symbolTriangle=Pm,e.symbolWye=Nm,e.curveBasisClosed=function(e){return new Xm(e)},e.curveBasisOpen=function(e){return new Gm(e)},e.curveBasis=function(e){return new Um(e)},e.curveBundle=zm,e.curveCardinalClosed=$m,e.curveCardinalOpen=e_,e.curveCardinal=Km,e.curveCatmullRomClosed=i_,e.curveCatmullRomOpen=s_,e.curveCatmullRom=r_,e.curveLinearClosed=function(e){return new l_(e)},e.curveLinear=nm,e.curveMonotoneX=function(e){return new p_(e)},e.curveMonotoneY=function(e){return new h_(e)},e.curveNatural=function(e){return new __(e)},e.curveStep=function(e){return new g_(e,.5)},e.curveStepAfter=function(e){return new g_(e,1)},e.curveStepBefore=function(e){return new g_(e,0)},e.stack=function(){var e=Rh([]),t=v_,n=y_,r=w_;function o(o){var i,a,s=e.apply(this,arguments),l=o.length,u=s.length,c=new Array(u);for(i=0;i0){for(var n,r,o,i=0,a=e[0].length;i1)for(var n,r,o,i,a,s,l=0,u=e[t[0]].length;l=0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):r[0]=i},e.stackOffsetNone=y_,e.stackOffsetSilhouette=function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;acr&&n.name===t)return new Mr([[e]],io,t,+r);return null},e.interrupt=vr,e.voronoi=function(){var e=M_,t=O_,n=null;function r(r){return new ob(r.map(function(n,o){var i=[Math.round(e(n,o,r)/tb)*tb,Math.round(t(n,o,r)/tb)*tb];return i.index=o,i.data=n,i}),n)}return r.polygons=function(e){return r(e).polygons()},r.links=function(e){return r(e).links()},r.triangles=function(e){return r(e).triangles()},r.x=function(t){return arguments.length?(e="function"==typeof t?t:T_(+t),r):e},r.y=function(e){return arguments.length?(t="function"==typeof e?e:T_(+e),r):t},r.extent=function(e){return arguments.length?(n=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],r):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},r.size=function(e){return arguments.length?(n=null==e?null:[[0,0],[+e[0],+e[1]]],r):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},r},e.zoom=function(){var t,n,r=db,o=fb,i=hb,a=0,s=1/0,l=-s,u=s,c=l,d=u,f=250,p=jn,h=[],m=J("start","zoom","end"),_=500,b=150,g=0;function y(e){e.property("__zoom",pb).on("wheel.zoom",E).on("mousedown.zoom",L).on("dblclick.zoom",S).filter(mb).on("touchstart.zoom",D).on("touchmove.zoom",j).on("touchend.zoom touchcancel.zoom",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function v(e,t){return(t=Math.max(a,Math.min(s,t)))===e.k?e:new ab(t,e.x,e.y)}function w(e,t,n){var r=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k;return r===e.x&&o===e.y?e:new ab(e.k,r,o)}function k(e,t){var n=e.invertX(t[0][0])-l,r=e.invertX(t[1][0])-u,o=e.invertY(t[0][1])-c,i=e.invertY(t[1][1])-d;return e.translate(r>n?(n+r)/2:Math.min(0,n)||Math.max(0,r),i>o?(o+i)/2:Math.min(0,o)||Math.max(0,i))}function x(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function T(e,t,n){e.on("start.zoom",function(){M(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){M(this,arguments).end()}).tween("zoom",function(){var e=arguments,r=M(this,e),i=o.apply(this,e),a=n||x(i),s=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),l=this.__zoom,u="function"==typeof t?t.apply(this,e):t,c=p(l.invert(a).concat(s/l.k),u.invert(a).concat(s/u.k));return function(e){if(1===e)e=u;else{var t=c(e),n=s/t[2];e=new ab(n,a[0]-t[0]*n,a[1]-t[1]*n)}r.zoom(null,e)}})}function M(e,t){for(var n,r=0,o=h.length;rg}t.zoom("mouse",k(w(t.that.__zoom,t.mouse[0]=de(t.that),t.mouse[1]),t.extent))},!0).on("mouseup.zoom",function(){o.on("mousemove.zoom mouseup.zoom",null),Xe(e.event.view,t.moved),cb(),t.end()},!0),i=de(this),a=e.event.clientX,s=e.event.clientY;Ue(e.event.view),ub(),t.mouse=[i,this.__zoom.invert(i)],vr(this),t.start()}}function S(){if(r.apply(this,arguments)){var t=this.__zoom,n=de(this),i=t.invert(n),a=t.k*(e.event.shiftKey?.5:2),s=k(w(v(t,a),n,i),o.apply(this,arguments));cb(),f>0?Ne(this).transition().duration(f).call(T,s,n):Ne(this).call(y.transform,s)}}function D(){if(r.apply(this,arguments)){var n,o,i,a,s=M(this,arguments),l=e.event.changedTouches,u=l.length;for(ub(),o=0;o1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2];return a.default.get(config.API_URL+"/menu/root?depth="+t+(e?"&childrenLimit="+e:"")+(n?"&favorites=true":""))}function m(e){return a.default.get(config.API_URL+"/menu/node/"+e+"/breadcrumbMenu")}function _(e){return{type:s.SET_BREADCRUMB,breadcrumb:e}}function b(e){return{type:s.UPDATE_BREADCRUMB,node:e}}function g(){return h(6,10,!0).then(function(e){return{nodeId:"0",children:e.data.children}})}function y(e){return function(t){l||u===e||(l=!0,f("window",e).then(function(e){return k(e.data)}).then(function(n){t(_(n.reverse())),u=e,l=!1}).catch(function(){t(_([])),u=null,l=!1}))}}function v(e,t){return function(n){l||u===t||(l=!0,f(e,t).then(function(e){return k(e.data)}).then(function(e){n(_(e.reverse())),u=t,l=!1}).catch(function(){n(_([])),u=null,l=!1}))}}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[];return e[t]?(e[t].map(function(e){var t=w(e);"object"===(void 0===t?"undefined":r(t))?n=n.concat(t):n.push(w(e))}),n):[e]}function k(e){var t=[];return e.children&&k(e.children[0]).map(function(e){t.push(e)}),t.push({nodeId:e.nodeId,caption:e.caption,type:e.type}),t}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(l,"breadcrumbsRequested","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(u,"breadcrumbsId","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(c,"pathRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(d,"nodePathsRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(f,"elementPathRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(p,"queryPathsRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(h,"rootRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(m,"breadcrumbRequest","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(_,"setBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(b,"updateBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(g,"getRootBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(y,"getWindowBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(v,"getElementBreadcrumb","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(w,"flattenLastElem","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"),__REACT_HOT_LOADER__.register(k,"flattenOneLine","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js"))},function(e,t,n){"use strict";(function(t){var r=n(86),o={},i=!1;e.exports={attachEvent:function(e,n){void 0!==t.addEventListener?t.addEventListener(e,n,!1):t.document&&t.attachEvent&&(t.document.attachEvent("on"+e,n),t.attachEvent("on"+e,n))},detachEvent:function(e,n){void 0!==t.addEventListener?t.removeEventListener(e,n,!1):t.document&&t.detachEvent&&(t.document.detachEvent("on"+e,n),t.detachEvent("on"+e,n))},unloadAdd:function(e){var t=r.string(8);return o[t]=e,i&&setTimeout(this.triggerUnloadCallbacks,0),t},unloadDel:function(e){e in o&&delete o[e]},triggerUnloadCallbacks:function(){for(var e in o)o[e](),delete o[e]}};e.exports.attachEvent("unload",function(){i||(i=!0,e.exports.triggerUnloadCallbacks())})}).call(this,n(12))},function(e,t,n){"use strict";t.__esModule=!0,t.createPath=t.parsePath=t.getQueryStringValueFromPath=t.stripQueryStringValueFromPath=t.addQueryStringValueToPath=void 0;var r,o=n(54);(r=o)&&r.__esModule;t.addQueryStringValueToPath=function(e,t,n){var r=i(e),o=r.pathname,s=r.search,l=r.hash;return a({pathname:o,search:s+(-1===s.indexOf("?")?"?":"&")+t+"="+n,hash:l})},t.stripQueryStringValueFromPath=function(e,t){var n=i(e),r=n.pathname,o=n.search,s=n.hash;return a({pathname:r,search:o.replace(new RegExp("([?&])"+t+"=[a-zA-Z0-9]+(&?)"),function(e,t,n){return"?"===t?t:n}),hash:s})},t.getQueryStringValueFromPath=function(e,t){var n=i(e).search.match(new RegExp("[?&]"+t+"=([a-zA-Z0-9]+)"));return n&&n[1]};var i=t.parsePath=function(e){var t,n,r=null==(n=(t=e).match(/^(https?:)?\/\/[^\/]*/))?t:t.substring(n[0].length),o="",i="",a=r.indexOf("#");-1!==a&&(i=r.substring(a),r=r.substring(0,a));var s=r.indexOf("?");return-1!==s&&(o=r.substring(s),r=r.substring(0,s)),""===r&&(r="/"),{pathname:r,search:o,hash:i}},a=t.createPath=function(e){if(null==e||"string"==typeof e)return e;var t=e.basename,n=e.pathname,r=e.search,o=e.hash,i=(t||"")+n;return r&&"?"!==r&&(i+=r),o&&(i+=o),i}},function(e,t,n){var r=n(15)("unscopables"),o=Array.prototype;void 0==o[r]&&n(31)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){var r=n(80)("meta"),o=n(13),i=n(32),a=n(20).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(11)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!i(e,r)&&c(e),e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1;if(!w)return console.warn("The %c"+h,"font-weight:bold;","is unsupported type of widget."),!1;if(!u[0].displayed||!0!==u[0].displayed)return!1;var E=o.map(function(e){return"form-field-"+e.field}).join(" ");return s.default.createElement("div",{className:(0,c.default)("form-group row ",{"form-group-table":d&&!f},E)},r||null,!a&&n&&s.default.createElement("div",{key:"title",className:"form-control-label "+("primary"!==i||O?"primaryLongLabels"===i?"col-sm-6":"col-sm-3 ":"col-sm-12 panel-title"),title:n},o[0].supportZoomInto?s.default.createElement("span",{className:"zoom-into",onClick:function(){return m(o[0].field)}},n):n),s.default.createElement("div",{className:("primary"!==i&&!a||O?"primaryLongLabels"===i?"col-sm-6":"col-sm-9 ":"col-sm-12 ")+(o[0].devices?"form-group-flex ":""),onMouseEnter:function(){return e.handleErrorPopup(!0)},onMouseLeave:function(){return e.handleErrorPopup(!1)}},!g&&M&&s.default.createElement("div",{className:(0,c.default)("field-warning",{"field-warning-message":M,"field-error-message":M&&M.error}),onMouseEnter:function(){return e.toggleTooltip(!0)},onMouseLeave:function(){return e.toggleTooltip(!1)}},s.default.createElement("span",null,M.caption),s.default.createElement("i",{className:"meta-icon-close-alt",onClick:function(){return e.clearFieldWarning(M)}}),M.message&&y&&s.default.createElement(k.default,{action:M.message,type:""})),s.default.createElement("div",{className:"input-body-container"},s.default.createElement(l.default,{transitionName:"fade",transitionEnterTimeout:200,transitionLeaveTimeout:200},b&&T&&!T.valid&&!T.initialValue&&this.renderErrorPopup(T.reason)),w),o[0].devices&&!u[0].readonly&&s.default.createElement(v.default,{devices:o[0].devices,tabIndex:1,handleChange:function(e){return p&&p(o[0].field,e)}})))}}]),t}();L.propTypes=d.RawWidgetPropTypes,L.defaultProps=d.RawWidgetDefaultProps;var S=(0,u.connect)(function(e){return{modalVisible:e.windowHandler.modal.visible}})(L);t.default=S;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(L,"RawWidget","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/RawWidget.js"),__REACT_HOT_LOADER__.register(S,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/RawWidget.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=1e12&&!i||"t"===i?(_+=p.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!i||"b"===i?(_+=p.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!i||"m"===i?(_+=p.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!i||"k"===i)&&(_+=p.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(m=!0,n=n.replace("[.]",".")),l=t.toString().split(".")[0],u=n.split(".")[1],d=n.indexOf(","),o=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),b=e._.toFixed(t,u[0].length+u[1].length,r,u[1].length)):b=e._.toFixed(t,u.length,r),l=b.split(".")[0],b=e._.includes(b,".")?p.delimiters.decimal+b.split(".")[1]:"",m&&0===Number(b.slice(1))&&(b="")):l=e._.toFixed(t,0,r),_&&!i&&Number(l)>=1e3&&_!==p.abbreviations.trillion)switch(l=String(Number(l)/1e3),_){case p.abbreviations.thousand:_=p.abbreviations.million;break;case p.abbreviations.million:_=p.abbreviations.billion;break;case p.abbreviations.billion:_=p.abbreviations.trillion}if(e._.includes(l,"-")&&(l=l.slice(1),g=!0),l.length0;y--)l="0"+l;return d>-1&&(l=l.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+p.delimiters.thousands)),0===n.indexOf(".")&&(l=""),f=l+b+(_||""),h?f=(h&&g?"(":"")+f+(h&&g?")":""):c>=0?f=0===c?(g?"-":"+")+f:f+(g?"-":"+"):g&&(f="-"+f),f},stringToNumber:function(e){var t,n,r,o=a[l.currentLocale],i=e,s={thousand:3,million:6,billion:9,trillion:12};if(l.zeroFormat&&e===l.zeroFormat)n=0;else if(l.nullFormat&&e===l.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==o.delimiters.decimal&&(e=e.replace(/\./g,"").replace(o.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+o.abbreviations[t]+"(?:\\)|(\\"+o.currency.symbol+")?(?:\\))?)?$"),i.match(r)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),o=r.length>>>0,i=0;if(3===arguments.length)n=arguments[2];else{for(;i=o)throw new TypeError("Reduce of empty array with no initial value");n=r[i++]}for(;ir?e:r},1)},toFixed:function(e,t,n,r){var o,i,a,s,l=e.toString().split("."),u=t-(r||0);return o=2===l.length?Math.min(Math.max(l[1].length,u),t):u,a=Math.pow(10,o),s=(n(e+"e+"+o)/a).toFixed(o),r>t-o&&(i=new RegExp("\\.?0{1,"+(r-(t-o))+"}$"),s=s.replace(i,"")),s}},e.options=l,e.formats=i,e.locales=a,e.locale=function(e){return e&&(l.currentLocale=e.toLowerCase()),l.currentLocale},e.localeData=function(e){if(!e)return a[l.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in s)l[e]=s[e]},e.zeroFormat=function(e){l.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){l.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){l.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,o,i,a,s,l,u,c;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{u=e.localeData(n)}catch(t){u=e.localeData(e.locale())}return i=u.currency.symbol,s=u.abbreviations,r=u.delimiters.decimal,o="."===u.delimiters.thousands?"\\.":u.delimiters.thousands,!(null!==(c=t.match(/^[^\d]+/))&&(t=t.substr(1),c[0]!==i)||null!==(c=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),c[0]!==s.thousand&&c[0]!==s.million&&c[0]!==s.billion&&c[0]!==s.trillion)||(l=new RegExp(o+"{2}"),t.match(/[^\d.,]/g)||(a=t.split(r)).length>2||(a.length<2?!a[0].match(/^\d+.*\d$/)||a[0].match(l):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(l)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(l)||!a[1].match(/^\d+$/))))},e.fn=u.prototype={clone:function(){return e(this)},format:function(t,n){var r,o,a,s=this._value,u=t||l.defaultFormat;if(n=n||Math.round,0===s&&null!==l.zeroFormat)o=l.zeroFormat;else if(null===s&&null!==l.nullFormat)o=l.nullFormat;else{for(r in i)if(u.match(i[r].regexps.format)){a=i[r].format;break}o=(a=a||e._.numberToFormat)(s,u,n)}return o},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],function(e,t,r,o){return e+Math.round(n*t)},0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],function(e,t,r,o){return e-Math.round(n*t)},Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,o){var i=t.correctionFactor(e,n);return Math.round(e*i)*Math.round(n*i)/Math.round(i*i)},1),this},divide:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,o){var i=t.correctionFactor(e,n);return Math.round(e*i)/Math.round(n*i)}),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var o,i=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),o=e._.numberToFormat(t,n,r),e._.includes(o,")")?((o=o.split("")).splice(-1,0,i+"BPS"),o=o.join("")):o=o+i+"BPS",o},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},o="("+(o=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter(function(e){return n.suffixes.indexOf(e)<0})).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(o)},format:function(t,o,i){var a,s,l,u=e._.includes(o,"ib")?r:n,c=e._.includes(o," b")||e._.includes(o," ib")?" ":"";for(o=o.replace(/\s?i?b/,""),a=0;a<=u.suffixes.length;a++)if(s=Math.pow(u.base,a),l=Math.pow(u.base,a+1),null===t||0===t||t>=s&&t0&&(t/=s);break}return e._.numberToFormat(t,o,i)+c},unformat:function(t){var o,i,a=e._.stringToNumber(t);if(a){for(o=n.suffixes.length-1;o>=0;o--){if(e._.includes(t,n.suffixes[o])){i=Math.pow(n.base,o);break}if(e._.includes(t,r.suffixes[o])){i=Math.pow(r.base,o);break}}a*=i||1}return a}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var o,i,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),o=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),i=0;i=0;i--)switch(s.after[i]){case"$":o=i===s.after.length-1?o+a.currency.symbol:e._.insert(o,a.currency.symbol,-(s.after.length-(1+i)));break;case" ":o=i===s.after.length-1?o+" ":e._.insert(o," ",-(s.after.length-(1+i)+a.currency.symbol.length-1))}return o}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var o=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(o[0]),n,r)+"e"+o[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),o=Number(n[1]);return o=e._.includes(t,"e-")?o*=-1:o,e._.reduce([r,Math.pow(10,o)],function(t,n,r,o){var i=e._.correctionFactor(t,n);return t*i*(n*i)/(i*i)},1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var o=e.locales[e.options.currentLocale],i=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),i+=o.ordinal(t),e._.numberToFormat(t,n,r)+i}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var o,i=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),o=e._.numberToFormat(t,n,r),e._.includes(o,")")?((o=o.split("")).splice(-1,0,i+"%"),o=o.join("")):o=o+i+"%",o},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),o=Math.floor((e-60*r*60)/60),i=Math.round(e-60*r*60-60*o);return r+":"+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e})?r.call(t,n,t,e):r)||(e.exports=o)},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".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:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".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~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".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ăm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] 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ôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(2))},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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".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:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];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، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,o,i={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,o=i[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};if(!e)return n.nominative;var r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[r][e.day()]},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".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:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".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ḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".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:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],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 r?o[n][0]:t?o[n][0]:o[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".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 à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] 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(2))},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:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".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:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,o=e%100-r,i=e>=100?100:null;return e+(t[r]||t[o]||t[i])}},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,o){var i=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),o=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),o>0&&(i+=(""!==i?" ":"")+t[o]),""===i?"pagh":i}(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".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’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-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 t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-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’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},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:"%d 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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".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"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".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:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_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:"minutu balun",ss:"minutu %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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".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:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".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:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(2))},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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(2))},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öndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".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år] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några 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ånad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e";return e+n},week:{dow:1,doy:4}})}(n(2))},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(2))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".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:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(2))},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,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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če u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_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ë] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return o+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return o+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return o+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return o+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return o+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return o+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"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_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_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čeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %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(2))},function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function o(e,t,n,o){var i=e+" ";switch(n){case"s":return t||o?"pár sekúnd":"pár sekundami";case"ss":return t||o?i+(r(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?i+(r(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?i+(r(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?i+(r(e)?"dni":"dní"):i+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?i+(r(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?i+(r(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_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ľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".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 [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".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žes",past:"maŋit %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ánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];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، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,o,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?t?"минута":"минуту":e+" "+(r=+e,o=i[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,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:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{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._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".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âine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_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ça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".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 [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %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ês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_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ça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".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 às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %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ês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var o=e+" ";switch(n){case"ss":return o+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return o+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return o+(r(e)?"godziny":"godzin");case"MM":return o+(r(e)?"miesiące":"miesięcy");case"yy":return o+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?""===r?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_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ś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".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:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(2))},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_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),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år klokka] LT",lastWeek:"[Føregåande] 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ånad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},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("_"),r=[/^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],o=/^(januari|februari|maart|april|mei|april|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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",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(2))},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("_"),r=[/^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],o=/^(januari|februari|maart|april|mei|april|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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",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(2))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,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 बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(2))},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_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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år 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åned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".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:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_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ħada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},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(2))},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(2))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var o="";if(t)switch(n){case"s":o="काही सेकंद";break;case"ss":o="%d सेकंद";break;case"m":o="एक मिनिट";break;case"mm":o="%d मिनिटे";break;case"h":o="एक तास";break;case"hh":o="%d तास";break;case"d":o="एक दिवस";break;case"dd":o="%d दिवस";break;case"M":o="एक महिना";break;case"MM":o="%d महिने";break;case"y":o="एक वर्ष";break;case"yy":o="%d वर्षे"}else switch(n){case"s":o="काही सेकंदां";break;case"ss":o="%d सेकंदां";break;case"m":o="एका मिनिटा";break;case"mm":o="%d मिनिटां";break;case"h":o="एका तासा";break;case"hh":o="%d तासां";break;case"d":o="एका दिवसा";break;case"dd":o="%d दिवसां";break;case"M":o="एका महिन्या";break;case"MM":o="%d महिन्यां";break;case"y":o="एका वर्षा";break;case"yy":o="%d वर्षां"}return o.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".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:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%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},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".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:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".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:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_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ātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".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ēkona ruarua",ss:"%d hēkona",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}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},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,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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če u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [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(2))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".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 r(e,r,o){return e+" "+n(t[o],e,r)}function o(e,r,o){return n(t[o],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_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:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:o,mm:r,h:o,hh:r,d:o,dd:r,M:o,MM:r,y:o,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?o(n)[0]:r?o(n)[1]:o(n)[2]}function r(e){return e%10==0||e>10&&e<20}function o(e){return t[e].split("_")}function i(e,t,i,a){var s=e+" ";return 1===e?s+n(0,t,i[0],a):t?s+(r(e)?o(i)[1]:o(i)[0]):a?s+o(i)[1]:s+(r(e)?o(i)[1]:o(i)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_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į_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".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:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".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:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={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?o[n][0]:o[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,r=e/10;return n(0===t?r:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_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éindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_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ëschter 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éint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".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:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),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일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".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:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".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:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".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:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".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:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის უკან"):/წელი/.test(e)?e.replace(/წელი$/,"წლის უკან"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(2))},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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(2))},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ì_martedì_mercoledì_giovedì_venerdì_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:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,o){var i=e+" ";switch(r){case"s":return n||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||o?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||o?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||o?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":o?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(o?"daga":"dögum"):n?i+"dagur":i+(o?"dag":"degi");case"M":return n?"mánuður":o?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(o?"mánuði":"mánuðum"):n?i+"mánuður":i+(o?"mánuð":"mánuði");case"y":return n||o?"ár":"ári";case"yy":return t(e)?i+(n||o?"ár":"árum"):i+(n||o?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_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:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",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(2))},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:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".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:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var o=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return o+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return o+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return o+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return o+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return o+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return o+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_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 r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",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(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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čer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] 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(2))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".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:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".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",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".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:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka horan","ek hor"],hh:[e+" horanim",e+" hor"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?o[n][0]:o[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] 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|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".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()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"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ía",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","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àireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè 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ìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10==2?"na":"mh";return e+t},week:{dow:1,doy:4}})}(n(2))},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,r){return e?/-MMM-/.test(r)?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:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".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’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".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’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".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’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_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ánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_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:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,o,i){var a="";switch(o){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":return i?"sekunnin":"sekuntia";case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta"}return a=function(e,r){return e<10?r?n[e]:t[e]:e}(e,i)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_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änään] [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äästä",past:"%s sitten",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(2))},function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".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:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(2))},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(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?o[n][2]?o[n][2]:o[n][1]:r?o[n][0]:o[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".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äna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},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("_");e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana 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ía",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(2))},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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".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ñana 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ía",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".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ñana 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ía",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, 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ŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},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",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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".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:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,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"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],o=t&&t.hours();return((n=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",o%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".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:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={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?o[n][0]:o[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_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(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={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?o[n][0]:o[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_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(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={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?o[n][0]:o[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_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(2))},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øndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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å dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få 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åned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},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 ôl",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=e,n="";return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");function r(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,o){var i=e+" ";switch(n){case"s":return t||o?"pár sekund":"pár sekundami";case"ss":return t||o?i+(r(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":o?"minutu":"minutou";case"mm":return t||o?i+(r(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?i+(r(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||o?"den":"dnem";case"dd":return t||o?i+(r(e)?"dny":"dní"):i+"dny";case"M":return t||o?"měsíc":"měsícem";case"MM":return t||o?i+(r(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||o?"rok":"rokem";case"yy":return t||o?i+(r(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(t,n),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(n),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(t),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_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ítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_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ç_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à 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í %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d 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|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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čer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] 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(2))},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)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",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ñ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".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:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".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:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_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ɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".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:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,o,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,o=i[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".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:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,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+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(2))},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:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};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əsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".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ün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,o=e>=100?100:null;return e+(t[n]||t[r]||t[o])},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n(2))},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},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,o,i,a){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[o?0:1]),l.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %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(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,n,i,a){var s=r(t),l=o[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %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")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(2))},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ôre 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(2))},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),l=null,u=0,c=[],d=n(895);function f(e,t){for(var n=0;n=0&&c.splice(t,1)}function _(e){var t=document.createElement("style");return e.attrs.type="text/css",b(t,e.attrs),h(e,t),t}function b(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function g(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=l||(l=_(t)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",b(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=_(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],o=0;o0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,a=t.payload;if(n===o)return r({},e,{locationBeforeTransitions:a});return e};var o=t.LOCATION_CHANGE="@@router/LOCATION_CHANGE",i={locationBeforeTransitions:null}},function(e,t,n){"use strict";t.__esModule=!0,t.readState=t.saveState=void 0;var r,o=n(54);(r=o)&&r.__esModule;var i={QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0},a={SecurityError:!0},s=function(e){return"@@History/"+e};t.saveState=function(e,t){if(window.sessionStorage)try{null==t?window.sessionStorage.removeItem(s(e)):window.sessionStorage.setItem(s(e),JSON.stringify(t))}catch(e){if(a[e.name])return;if(i[e.name]&&0===window.sessionStorage.length)return;throw e}},t.readState=function(e){var t=void 0;try{t=window.sessionStorage.getItem(s(e))}catch(e){if(a[e.name])return}if(t)try{return JSON.parse(t)}catch(e){}}},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,a,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports={__locale:"en",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviated_days:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviated_months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],am:"AM",pm:"PM"}},function(e,t,n){(function(e,r){var o=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),l=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),c(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function u(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return b(o)||(o=c(e,o,r)),o}var i=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(_(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),s=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),k(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(x(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(k(n))return d(n)}var u,v="",T=!1,M=["{","}"];(p(n)&&(T=!0,M=["[","]"]),x(n))&&(v=" [Function"+(n.name?": "+n.name:"")+"]");return y(n)&&(v=" "+RegExp.prototype.toString.call(n)),w(n)&&(v=" "+Date.prototype.toUTCString.call(n)),k(n)&&(v=" "+d(n)),0!==a.length||T&&0!=n.length?r<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=T?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,v,M)):M[0]+v+M[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,o,i){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),E(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(l.value)<0?(s=m(n)?c(e,l.value,null):c(e,l.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),g(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function p(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function _(e){return"number"==typeof e}function b(e){return"string"==typeof e}function g(e){return void 0===e}function y(e){return v(e)&&"[object RegExp]"===T(e)}function v(e){return"object"==typeof e&&null!==e}function w(e){return v(e)&&"[object Date]"===T(e)}function k(e){return v(e)&&("[object Error]"===T(e)||e instanceof Error)}function x(e){return"function"==typeof e}function T(e){return Object.prototype.toString.call(e)}function M(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(g(i)&&(i=Object({NODE_ENV:"production"}).NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=_,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=y,t.isObject=v,t.isDate=w,t.isError=k,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(920);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(e=new Date,n=[M(e.getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":"),[e.getDate(),O[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(919),t._extend=function(e,t){if(!t||!v(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,n(12),n(540))},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";var r=n(934);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(36),o=n(935),i=n(933),a=n(932),s=n(931),l=n(538),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(930);e.exports=function(e){return new Promise(function(t,c){var d=e.data,f=e.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(e.url)||(p=new window.XDomainRequest,h="onload",m=!0,p.onprogress=function(){},p.ontimeout=function(){}),e.auth){var _=e.auth.username||"",b=e.auth.password||"";f.Authorization="Basic "+u(_+":"+b)}if(p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p[h]=function(){if(p&&(4===p.readyState||m)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:e,request:p};o(t,c,r),p=null}},p.onerror=function(){c(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=n(929),y=(e.withCredentials||s(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(f,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)}),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),c(e),p=null)}),void 0===d&&(d=null),p.send(d)})}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d1)for(var n=1;nu;)i.call(a,n=s[u++])&&c.push(e?[n,a[n]]:a[n]);return c}}},function(e,t,n){var r=n(19),o=n(201),i=n(51);e.exports=function(e,t,n,a){var s=String(i(e)),l=s.length,u=void 0===n?" ":String(n),c=r(t);if(c<=l||""==u)return s;var d=c-l,f=o.call(u,Math.ceil(d/u.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(e,t,n){"use strict";var r=n(140),o=n(13),i=n(19),a=n(46),s=n(15)("isConcatSpreadable");e.exports=function e(t,n,l,u,c,d,f,p){for(var h,m,_=c,b=0,g=!!f&&a(f,p,3);b0)_=e(t,n,h,i(h.length),_,d-1)-1;else{if(_>=9007199254740991)throw TypeError();t[_]=h}_++}b++}return _}},function(e,t,n){var r=n(75),o=n(141),i=n(7),a=n(9).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(50),o=n(19);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){"use strict";var r=n(71),o=n(66).getWeak,i=n(7),a=n(13),s=n(73),l=n(72),u=n(48),c=n(32),d=n(90),f=u(5),p=u(6),h=0,m=function(e){return e._l||(e._l=new _)},_=function(){this.a=[]},b=function(e,t){return f(e.a,function(e){return e[0]===t})};_.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e(function(e,r){s(e,u,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=r&&l(r,n,e[i],e)});return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){"use strict";var r,o=n(48)(0),i=n(30),a=n(66),s=n(570),l=n(550),u=n(13),c=n(11),d=n(90),f=a.getWeak,p=Object.isExtensible,h=l.ufstore,m={},_=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(u(e)){var t=f(e);return!0===t?h(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,"WeakMap"),e,t)}},g=e.exports=n(134)("WeakMap",_,b,l,!0,!0);c(function(){return 7!=(new g).set((Object.freeze||Object)(m),7).get(m)})&&(s((r=l.getConstructor(_,"WeakMap")).prototype,b),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=g.prototype,n=t[e];i(t,e,function(t,o){if(u(t)&&!p(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},function(e,t,n){"use strict";var r=n(553),o=n(90);e.exports=n(134)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r=n(20).f,o=n(76),i=n(71),a=n(46),s=n(73),l=n(72),u=n(197),c=n(558),d=n(74),f=n(21),p=n(66).fastKey,h=n(90),m=f?"_s":"size",_=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[u],e)});return i(c.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=_(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!_(h(this,t),e)}}),f&&r(c.prototype,"size",{get:function(){return h(this,t)[m]}}),c},def:function(e,t,n){var r,o,i=_(e,t);return i?i.v=n:(e._l=i={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:_,setStrong:function(e,t,n){u(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))},n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var r=n(553),o=n(90);e.exports=n(134)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(7),o=n(13),i=n(185);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){n(21)&&"g"!=/./g.flags&&n(20).f(RegExp.prototype,"flags",{configurable:!0,get:n(137)})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(23),o=n(77),i=n(19);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),l=o(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:o(u,a))-l,a-s),d=1;for(l0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t,n){var r=n(26),o=n(23),i=n(111),a=n(19);e.exports=function(e,t,n,s,l){r(t);var u=o(e),c=i(u),d=a(u.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in c&&(s=t(s,c[f],f,u));return s}},function(e,t,n){var r=n(7);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(200),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),l=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),u=r(e);return os||n!=n?u*(1/0):u*n}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(13),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(45);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(9).parseFloat,o=n(92).trim;e.exports=1/r(n(203)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(9).parseInt,o=n(92).trim,i=n(203),a=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(26),o=n(13),i=n(568),a=[].slice,s={};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),l=function(){var r=n.concat(a.call(arguments));return this instanceof l?function(e,t,n){if(!(t in s)){for(var r=[],o=0;ou;)for(var f,p=s(arguments[u++]),h=c?r(p).concat(c(p)):r(p),m=h.length,_=0;m>_;)d.call(p,f=h[_++])&&(n[f]=p[f]);return n}:l},function(e,t,n){var r=n(40),o=n(75).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(20),o=n(7),i=n(78);e.exports=n(21)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(32),o=n(40),i=n(142)(!1),a=n(207)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){t.f=n(15)},function(e,t,n){e.exports=!n(21)&&!n(11)(function(){return 7!=Object.defineProperty(n(209)("div"),"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(32)("wks"),o=n(9),i=n(0).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(0),o=n(2),i=n(8),a=n(22),s=n(10),l=function(e,t,n){var u,c,d,f,p=e&l.F,h=e&l.G,m=e&l.S,_=e&l.P,b=e&l.B,g=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=h?o:o[t]||(o[t]={}),v=y.prototype||(y.prototype={});for(u in h&&(n=t),n)d=((c=!p&&g&&void 0!==g[u])?g:n)[u],f=b&&c?s(d,r):_&&"function"==typeof d?s(Function.call,d):d,g&&a(g,u,d,e&l.U),y[u]!=d&&i(y,u,f),_&&v[u]!=d&&(v[u]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(16),o=n(21);e.exports=n(3)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(24);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(28),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t})}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){"use strict";var r=n(7),o=n(25)(3);r(r.P+r.F*!n(33)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(17),o=n(18),i=n(20),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(1);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)(function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(1),o=n(0).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(1);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(0),o=n(8),i=n(23),a=n(9)("src"),s=Function.toString,l=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(10),o=n(26),i=n(27),a=n(12),s=n(29);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,_,b=i(t),g=o(b),y=r(s,h,3),v=a(g.length),w=0,k=n?p(t,v):l?p(t,0):void 0;v>w;w++)if((f||w in g)&&(_=y(m=g[w],w,b),e))if(n)k[w]=_;else if(_)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:k.push(m)}else if(c)return!1;return d?-1:u||c?c:k}}},function(e,t,n){var r=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(11);e.exports=function(e){return Object(r(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(30);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(1),o=n(31),i=n(6)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(5);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){"use strict";var r=n(7),o=n(12),i=n(36),a="".endsWith;r(r.P+r.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),s=void 0===n?r:Math.min(o(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){var r=n(37),o=n(11);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(1),o=n(5),i=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{};i.canUseDOM||(0,o.default)(!1);var t=e.queryKey,n=e.hashType;"string"!=typeof t&&(t="_k"),null==n&&(n="slash"),n in d||(n="slash");var u=d[n],c=s.getUserConfirmation,f=(0,l.default)(r({getUserConfirmation:c},e,{getCurrentLocation:function(){return s.getCurrentLocation(u,t)},pushLocation:function(e){return s.pushLocation(e,u,t)},replaceLocation:function(e){return s.replaceLocation(e,u,t)},go:s.go})),p=0,h=void 0,m=function(e,n){1==++p&&(h=s.startListener(f.transitionTo,u,t));var r=n?f.listenBefore(e):f.listen(e);return function(){r(),0==--p&&h()}};(0,a.supportsGoWithoutReloadUsingHash)();return r({},f,{listenBefore:function(e){return m(e,!0)},listen:function(e){return m(e,!1)},go:function(e){f.go(e)},createHref:function(e){return"#"+u.encodePath(f.createHref(e))}})}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};i.canUseDOM||(0,o.default)(!1);var t=e.forceRefresh||!(0,l.supportsHistory)()?s:a,n=t.getUserConfirmation,c=t.getCurrentLocation,d=t.pushLocation,f=t.replaceLocation,p=t.go,h=(0,u.default)(r({getUserConfirmation:n},e,{getCurrentLocation:c,pushLocation:d,replaceLocation:f,go:p})),m=0,_=void 0,b=function(e,t){1==++m&&(_=a.startListener(h.transitionTo));var n=t?h.listenBefore(e):h.listen(e);return function(){n(),0==--m&&_()}};return r({},h,{listenBefore:function(e){return b(e,!0)},listen:function(e){return b(e,!1)}})}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(e)?e={entries:e}:"string"==typeof e&&(e={entries:[e]});var t=function(){var e=d[f],t=(0,a.createPath)(e),n=void 0,o=void 0;e.key&&(n=e.key,o=m(n));var s=(0,a.parsePath)(t);return(0,i.createLocation)(r({},s,{state:o}),void 0,n)},n=function(e){var t=f+e;return t>=0&&t=0&&f=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var v=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 r=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 r.renderChildren=function(e,t,n,o){return"function"==typeof e?e(b({},r.state,{isDragActive:t,isDragAccept:n,isDragReject:o})):e},r.composeHandlers=r.composeHandlers.bind(r),r.onClick=r.onClick.bind(r),r.onDocumentDrop=r.onDocumentDrop.bind(r),r.onDragEnter=r.onDragEnter.bind(r),r.onDragLeave=r.onDragLeave.bind(r),r.onDragOver=r.onDragOver.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDrop=r.onDrop.bind(r),r.onFileDialogCancel=r.onFileDialogCancel.bind(r),r.onInputElementClick=r.onInputElementClick.bind(r),r.setRef=r.setRef.bind(r),r.setRefs=r.setRefs.bind(r),r.isFileDialogActive=!1,r.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},r}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,o.a.Component),g(t,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",f,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),this.fileInputEl.addEventListener("click",this.onInputElementClick,!1),document.body.onfocus=this.onFileDialogCancel}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",f),document.removeEventListener("drop",this.onDocumentDrop)),null!=this.fileInputEl&&this.fileInputEl.removeEventListener("click",this.onInputElementClick,!1),null!=document&&(document.body.onfocus=null)}},{key:"composeHandlers",value:function(e){return this.props.disabled?null:e}},{key:"onDocumentDrop",value:function(e){this.node&&this.node.contains(e.target)||(e.preventDefault(),this.dragTargets=[])}},{key:"onDragStart",value:function(e){this.props.onDragStart&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){e.preventDefault(),-1===this.dragTargets.indexOf(e.target)&&this.dragTargets.push(e.target),this.setState({isDragActive:!0,draggedFiles:c(e)}),this.props.onDragEnter&&this.props.onDragEnter.call(this,e)}},{key:"onDragOver",value:function(e){e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect=this.isFileDialogActive?"none":"copy"}catch(e){}return this.props.onDragOver&&this.props.onDragOver.call(this,e),!1}},{key:"onDragLeave",value:function(e){var t=this;e.preventDefault(),this.dragTargets=this.dragTargets.filter(function(n){return n!==e.target&&t.node.contains(n)}),this.dragTargets.length>0||(this.setState({isDragActive:!1,draggedFiles:[]}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){var t=this,n=this.props,r=n.onDrop,o=n.onDropAccepted,i=n.onDropRejected,a=n.multiple,s=n.disablePreview,l=n.accept,u=c(e),f=[],p=[];e.preventDefault(),this.dragTargets=[],this.isFileDialogActive=!1,u.forEach(function(e){if(!s)try{e.preview=window.URL.createObjectURL(e)}catch(e){0}d(e,l)&&function(e,t,n){return e.size<=t&&e.size>=n}(e,t.props.maxSize,t.props.minSize)?f.push(e):p.push(e)}),a||p.push.apply(p,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&i&&i.call(this,p,e),f.length>0&&o&&o.call(this,f,e),this.draggedFiles=null,this.setState({isDragActive:!1,draggedFiles:[],acceptedFiles:f,rejectedFiles:p})}},{key:"onClick",value:function(e){var t=this.props,n=t.onClick;t.disableClick||(e.stopPropagation(),n&&n.call(this,e),!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?this.open():setTimeout(this.open.bind(this),0))}},{key:"onInputElementClick",value:function(e){e.stopPropagation(),this.props.inputProps&&this.props.inputProps.onClick&&this.props.inputProps.onClick()}},{key:"onFileDialogCancel",value:function(){var e=this,t=this.props.onFileDialogCancel;this.isFileDialogActive&&setTimeout(function(){null!=e.fileInputEl&&(e.fileInputEl.files.length||(e.isFileDialogActive=!1));"function"==typeof t&&t()},300)}},{key:"setRef",value:function(e){this.node=e}},{key:"setRefs",value:function(e){this.fileInputEl=e}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.acceptClassName,r=e.activeClassName,i=e.children,a=e.disabled,s=e.disabledClassName,l=e.inputProps,c=e.multiple,f=e.name,g=e.rejectClassName,v=y(e,["accept","acceptClassName","activeClassName","children","disabled","disabledClassName","inputProps","multiple","name","rejectClassName"]),w=v.acceptStyle,k=v.activeStyle,x=v.className,T=void 0===x?"":x,M=v.disabledStyle,O=v.rejectStyle,E=v.style,L=y(v,["acceptStyle","activeStyle","className","disabledStyle","rejectStyle","style"]),S=this.state,D=S.isDragActive,j=S.draggedFiles,C=j.length,A=c||C<=1,P=C>0&&function(e,t){return e.every(function(e){return d(e,t)})}(j,this.props.accept),I=C>0&&(!P||!A),R=!(T||E||k||w||O||M);D&&r&&(T+=" "+r),P&&n&&(T+=" "+n),I&&g&&(T+=" "+g),a&&s&&(T+=" "+s),R&&(k=m,w=(E=_).active,O=p,M=h);var H=b({},E);k&&D&&(H=b({},E,k)),w&&P&&(H=b({},H,w)),O&&I&&(H=b({},H,O)),M&&a&&(H=b({},E,M));var Y={accept:t,disabled:a,type:"file",style:{display:"none"},multiple:u&&c,ref:this.setRefs,onChange:this.onDrop,autoComplete:"off"};f&&f.length&&(Y.name=f);L.acceptedFiles,L.preventDropOnDocument,L.disablePreview,L.disableClick,L.onDropAccepted,L.onDropRejected,L.onFileDialogCancel,L.maxSize,L.minSize;var N=y(L,["acceptedFiles","preventDropOnDocument","disablePreview","disableClick","onDropAccepted","onDropRejected","onFileDialogCancel","maxSize","minSize"]);return o.a.createElement("div",b({className:T,style:H},N,{onClick:this.composeHandlers(this.onClick),onDragStart:this.composeHandlers(this.onDragStart),onDragEnter:this.composeHandlers(this.onDragEnter),onDragOver:this.composeHandlers(this.onDragOver),onDragLeave:this.composeHandlers(this.onDragLeave),onDrop:this.composeHandlers(this.onDrop),ref:this.setRef,"aria-disabled":a}),this.renderChildren(i,D,P,I),o.a.createElement("input",b({},l,Y)))}}]),t}();t.default=v;v.propTypes={accept:a.a.string,children:a.a.oneOfType([a.a.node,a.a.func]),disableClick:a.a.bool,disabled:a.a.bool,disablePreview:a.a.bool,preventDropOnDocument:a.a.bool,inputProps:a.a.object,multiple:a.a.bool,name:a.a.string,maxSize:a.a.number,minSize:a.a.number,className:a.a.string,activeClassName:a.a.string,acceptClassName:a.a.string,rejectClassName:a.a.string,disabledClassName:a.a.string,style:a.a.object,activeStyle:a.a.object,acceptStyle:a.a.object,rejectStyle:a.a.object,disabledStyle:a.a.object,onClick:a.a.func,onDrop:a.a.func,onDropAccepted:a.a.func,onDropRejected:a.a.func,onDragStart:a.a.func,onDragEnter:a.a.func,onDragOver:a.a.func,onDragLeave:a.a.func,onFileDialogCancel:a.a.func},v.defaultProps={preventDropOnDocument:!0,disabled:!1,disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0}},function(e,t,n){e.exports=n.p+"favicon.1dcca36d9358020b2de9d861c763b0f4.png"},function(e,t){function n(e){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=588},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.SET_BREADCRUMB:return r({},e,{breadcrumb:t.breadcrumb});case o.UPDATE_BREADCRUMB:return r({},e,{breadcrumb:e.breadcrumb.map(function(e){return e.nodeId===t.node.nodeId?r({},e,{children:t.node}):e})});case o.SET_GLOBAL_GRID_FILTER:return r({},e,{globalGridFilter:t.filter});default:return e}}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(i,"initialState","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/menuHandler.js"),__REACT_HOT_LOADER__.register(a,"menuHandler","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/menuHandler.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(388));var o={sorting:{sort:"",windowType:null},pagination:{page:1,windowType:null},viewId:{id:"",windowType:null},includedView:{viewId:"",windowType:null,viewProfileId:null}};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.SET_LIST_ID:return Object.assign({},e,{viewId:Object.assign({},e.viewId,{id:t.viewId,windowType:t.windowType})});case r.SET_LIST_FILTERS:return Object.assign({},e,{filters:null!=t.filter?[t.filter]:[],filtersWindowType:t.windowType});case r.SET_LIST_SORTING:return Object.assign({},e,{sorting:Object.assign({},e.sorting,{sort:t.sort,windowType:t.windowType})});case r.SET_LIST_PAGINATION:return Object.assign({},e,{pagination:Object.assign({},e.pagination,{page:t.page,windowType:t.windowType})});case r.SET_LIST_INCLUDED_VIEW:var n=t.payload,i=n.windowType,a=n.viewId,s=n.viewProfileId;return Object.assign({},e,{includedView:Object.assign({},e.includedView,{viewId:a,windowType:i,viewProfileId:s})});case r.CLOSE_LIST_INCLUDED_VIEW:var l=e.includedView,u=l.windowType,c=l.viewId,d=t.payload,f=d.windowType,p=d.viewId;return d.forceClose||u===f&&c===p?Object.assign({},e,{includedView:Object.assign({},e.includedView,{viewId:"",windowType:null,viewProfileId:null})}):e;default:return e}}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(o,"initialState","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/listHandler.js"),__REACT_HOT_LOADER__.register(i,"listHandler","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/listHandler.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case s.USER_SESSION_INIT:return r({},e,{me:t.me});case s.USER_SESSION_UPDATE:return r({},e,{me:r({},e.me,t.me)});case s.LOGIN_SUCCESS:return r({},e,{isLogged:!0});case s.LOGOUT_SUCCESS:return r({},e,{isLogged:!1});case s.ENABLE_TUTORIAL:return r({},e,{enableTutorial:t.flag});case s.ADD_NOTIFICATION:return r({},e,{notifications:r({},e.notifications,l({},t.title,{title:t.title,msg:t.msg,shortMsg:t.shortMsg,time:t.time,notifType:t.notifType,count:e.notifications[t.title]?e.notifications[t.title].count+1:1,onCancel:t.onCancel||null}))});case s.SET_NOTIFICATION_PROGRESS:var n=r({},e.notifications,l({},t.key,r({},e.notifications[t.key],{progress:t.progress})));return r({},e,{notifications:n});case s.DELETE_NOTIFICATION:return r({},e,{notifications:Object.keys(e.notifications).reduce(function(n,r){return r!==t.key&&(n[r]=e.notifications[r]),n},{})});case s.CLEAR_NOTIFICATIONS:return r({},e,{notifications:{}});case s.GET_NOTIFICATIONS_SUCCESS:return r({},e,{inbox:r({},e.inbox,{notifications:t.notifications,unreadCount:t.unreadCount})});case s.NEW_NOTIFICATION:return(0,a.default)(e,{inbox:{notifications:{$unshift:[t.notification]},unreadCount:{$set:t.unreadCount}}});case s.REMOVE_NOTIFICATION:return(0,a.default)(e,{inbox:{notifications:{$set:e.inbox.notifications.filter(function(e){return e.id!==t.notificationId})},unreadCount:{$set:t.unreadCount}}});case s.READ_NOTIFICATION:return(0,a.default)(e,{inbox:{notifications:{$set:e.inbox.notifications.map(function(e){return e.id===t.notificationId?r({},e,{read:!0}):e})},unreadCount:{$set:t.unreadCount}}});case s.READ_ALL_NOTIFICATIONS:return(0,a.default)(e,{inbox:{notifications:{$set:e.inbox.notifications.map(function(e){return r({},e,{read:!0})})},unreadCount:{$set:0}}});case s.REMOVE_ALL_NOTIFICATIONS:return(0,a.default)(e,{inbox:{notifications:{$set:[]},unreadCount:{$set:0}}});case s.SET_PROCESS_STATE_PENDING:return r({},e,{processStatus:"pending"});case s.SET_PROCESS_STATE_SAVED:return r({},e,{processStatus:"saved"});default:return e}}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(u,"initialState","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/appHandler.js"),__REACT_HOT_LOADER__.register(c,"appHandler","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/appHandler.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(24),o=u(n(592)),i=u(n(591)),a=u(n(590)),s=u(n(98)),l=u(n(589));function u(e){return e&&e.__esModule?e:{default:e}}var c={appHandler:o.default,listHandler:i.default,menuHandler:a.default,windowHandler:s.default,pluginsHandler:l.default,routing:r.routerReducer};t.default=c;"undefined"!=typeof __REACT_HOT_LOADER__&&__REACT_HOT_LOADER__.register(c,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/index.js")},function(e,t,n){var r=n(102),o=n(59),i=n(83),a="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&r(e)==a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(594)),o=i(n(60));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,o.default)(e)&&(0,r.default)(e.type)&&Object.keys(e).every(s)}function s(e){return["type","payload","error","meta"].indexOf(e)>-1}t.isFSA=a,t.isError=function(e){return a(e)&&!0===e.error}},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return(0,i.isFSA)(n)?(0,o.default)(n.payload)?n.payload.then(function(e){return t(a({},n,{payload:e}))}).catch(function(e){return t(a({},n,{payload:e,error:!0})),Promise.reject(e)}):e(n):(0,o.default)(n)?n.then(t):e(n)}}};var r,o=(r=n(596))&&r.__esModule?r:{default:r},i=n(595);function a(e){for(var t=1;t1?t-1:0),u=1;u0?(0,i.default)(t):c},p=o.createStore.apply(void 0,[f()].concat(n));return p.attachReducers=function(e){d=r({},d,(0,l.default)(e)),p.replaceReducer(f())},p}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(602);Object.defineProperty(t,"createStore",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(24),o=n(94),i=n(603),a=u(n(598)),s=u(n(597)),l=u(n(593));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=[a.default,s.default,(0,r.routerMiddleware)(e)],n=(0,i.createStore)(null,(0,o.compose)(o.applyMiddleware.apply(void 0,t),window.devToolsExtension?window.devToolsExtension():function(e){return e}));return n.attachReducers(l.default),window.Cypress&&window.Cypress.emit("emit:reduxStore",n),n}"undefined"!=typeof __REACT_HOT_LOADER__&&__REACT_HOT_LOADER__.register(c,"configureStore","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/store/configureStore.js")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=Object.assign||function(e){for(var t=1;t0&&this.setClosing(),setTimeout(function(){e.setState({isClosing:!0})},10)}},{key:"componentWillUpdate",value:function(e){var t=this;this.props.item.count!==e.item.count&&(this.handleClosing(!1),setTimeout(function(){t.handleClosing(!0)},10))}},{key:"render",value:function(){var e=this,t=this.props.item,n=this.state,r=n.isClosing,o=n.isDisplayedMore,i=t.notifType,s=t.msg,u=t.title,c=t.count,f=t.shortMsg,p=t.progress;return"disableMouse"===f&&(f=null),a.default.createElement("div",{className:(0,l.default)("notification-item",d({},""+i,i),{error:!i}),onMouseEnter:function(){return e.handleClosing(!1)},onMouseLeave:function(){return e.handleClosing(!0)}},a.default.createElement("div",{className:"notification-header"},u," ",c>1&&a.default.createElement("span",{className:(0,l.default)("tag tag-sm tag-default",d({},"tag-"+i,i),{"tag-error":!i})},c),a.default.createElement("i",{onClick:function(){return e.handleCloseButton()},className:"meta-icon-close-1"})),a.default.createElement("div",{className:"notification-content"},f?f+" ":s,f&&s&&!o&&a.default.createElement("u",{className:"text-right text-small pointer",onClick:this.handleToggleMore},"(read more)"),o?a.default.createElement("p",null,s):""),a.default.createElement("div",{className:(0,l.default)("progress-bar",d({},""+i,i),{error:!i}),style:"number"==typeof p?{width:p+"%",transition:"width 0s"}:r?{width:0,transition:"width 5s linear"}:{width:"100%",transition:"width 0s"}}))}}]),t}();f.propTypes={dispatch:o.default.func.isRequired};var p=(0,s.connect)()(f);t.default=p;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(f,"Notification","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/notifications/Notification.js"),__REACT_HOT_LOADER__.register(p,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/notifications/Notification.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0?this.selectLastItem(t):e?this.selectLastItem(e):document.activeElement.previousSibling.focus()}},{key:"selectLastItem",value:function(e){var t=e.childNodes,n=t[t.length-1];1==t.length?t[0].focus&&t[0].focus():n.classList.contains("js-menu-item")?n.focus():n.children[n.children.length-1].classList.contains("js-menu-item")?n.children[n.children.length-1].focus():n.children[n.children.length-1].getElementsByClassName("js-menu-item")[n.children[n.children.length-1].getElementsByClassName("js-menu-item").length-1].focus()}},{key:"render",value:function(){var e=this.props,t=e.rawModal,n=e.modal,o=e.pluginModal,i=this.state.rootResults;return l.default.createElement(h.default,r({siteName:"Sitemap"},{modal:n,rawModal:t,pluginModal:o}),this.renderTree(i))}}]),t}();function y(e){var t=e.windowHandler||{modal:{},rawModal:{},pluginModal:{}};return{modal:t.modal,rawModal:t.rawModal,pluginModal:t.pluginModal}}g.propTypes={dispatch:a.default.func.isRequired,modal:a.default.object.isRequired,rawModal:a.default.object.isRequired,pluginModal:a.default.object.isRequired};var v=(0,c.connect)(y)(g);t.default=v;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(g,"NavigationTree","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/NavigationTree.js"),__REACT_HOT_LOADER__.register(y,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/NavigationTree.js"),__REACT_HOT_LOADER__.register(v,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/NavigationTree.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.introSteps={53100:{all:[{element:".form-field-AD_Language",intro:"You can change default language in this field"},{element:".form-field-Avatar_ID",intro:"You can use this field to upload your avatar image or grab photo using your web camera"}]}},o=t.introHints={default:[{element:".user-dropdown-container",hint:"This is your avatar. Click on it and then on Settings. Their you will be able to change your language and your avatar.",hintPosition:"bottom-middle"}],53100:{all:[]}};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(r,"introSteps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/intro/intro.js"),__REACT_HOT_LOADER__.register(o,"introHints","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/intro/intro.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.isNew,n=e.windowType,r=e.documentId,o=e.tabId,i=e.rowId;if(t)return(0,d.discardNewRow)({windowType:n,documentId:r,tabId:o,rowId:i})}}),Object.defineProperty(r,"handleDropFile",{enumerable:!0,writable:!0,value:function(e){var t=e instanceof Array?e[0]:e;if(!(t instanceof File))return Promise.reject();var n=r.props,o=n.dispatch,i=n.master,a=i.data,s=i.layout.type,l=a?a.ID.value:-1,u=new FormData;return u.append("file",t),o((0,d.attachFileAction)(s,l,u))}}),Object.defineProperty(r,"handleDragStart",{enumerable:!0,writable:!0,value:function(){r.setState({dropzoneFocused:!0},function(){r.setState({dropzoneFocused:!1})})}}),Object.defineProperty(r,"handleRejectDropped",{enumerable:!0,writable:!0,value:function(e){var t=r.props.dispatch,n=e instanceof Array?e[0]:e;t((0,c.addNotification)("Attachment","Dropped item ['"+n.type+"'] could not be attached",5e3,"error"))}}),Object.defineProperty(r,"setModalTitle",{enumerable:!0,writable:!0,value:function(e){r.setState({modalTitle:e})}}),Object.defineProperty(r,"handleDeletedStatus",{enumerable:!0,writable:!0,value:function(e){r.setState({isDeleted:e})}}),Object.defineProperty(r,"sort",{enumerable:!0,writable:!0,value:function(e,t,n,o,i){var a=r.props,s=a.dispatch,l=a.master,u=a.params.windowType,c=(e?"+":"-")+t,f=l.docId;s((0,d.sortTab)("master",i,t,e)),(0,d.getTab)(i,u,f,c).then(function(e){s((0,d.addRowData)(b({},i,e),"master"))})}}),Object.defineProperty(r,"handleIntroExit",{enumerable:!0,writable:!0,value:function(){r.setState({introEnabled:!1})}}),g(r,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,a.Component),r(t,[{key:"componentDidMount",value:function(){!this.props.master.saveStatus.saved&&this.initEventListeners()}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.master,o=n.modal,i=n.params,a=n.dispatch,s=n.me,l=!r.saveStatus.saved,u=r.saveStatus.saved;if(s&&r&&r.docId&&r.layout&&r.layout.windowId&&null===this.state.introEnabled){var c=void 0,f=void 0,p=m.introSteps[r.layout.windowId];p&&(c=[],p.all&&(c=c.concat(p.all)),r.docId&&p[r.docId]&&(c=c.concat(p[r.docId]))),Array.isArray(m.introHints.default)&&(f=m.introHints.default);var h=m.introHints[r.layout.windowId];h&&(f=[],h.all&&(f=f.concat(h.all)),r.docId&&h[r.docId]&&(f=f.concat(h[r.docId]))),this.setState({introEnabled:c&&c.length>0,hintsEnabled:f&&f.length>0,introSteps:c,introHints:f})}e.master.websocket!==r.websocket&&r.websocket&&d.connectWS.call(this,r.websocket,function(e){var n=e.includedTabsInfo,r=e.stale,o=t.props.master;r&&a((0,d.fireUpdateData)("window",i.windowType,i.docId,null,null,null,null)),n&&Object.keys(n).forEach(function(e){var t=o.layout.tabs&&o.layout.tabs.filter(function(t){return t.tabId===e})[0];t&&t.queryOnActivate&&o.layout.activeTab!==e||n[e]&&(0,d.getTab)(e,i.windowType,o.docId).then(function(t){a((0,d.addRowData)(b({},e,t),"master"))})})}),e.master.saveStatus.saved&&l&&this.initEventListeners(),!e.master.saveStatus.saved&&u&&this.removeEventListeners(),!o.visible&&o.visible!==e.modal.visible&&r.includedTabsInfo&&Object.keys(r.includedTabsInfo).map(function(e){(0,d.getTab)(e,i.windowType,r.docId).then(function(t){a((0,d.addRowData)(b({},e,t),"master"))})})}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.master,n=e.dispatch,r=e.location.pathname,o=e.params,i=o.windowType,a=o.docId,s=this.state.isDeleted,l=!t.saveStatus.saved&&void 0!==t.saveStatus.saved;(this.removeEventListeners(),l&&!s)&&(window.confirm("Do you really want to leave?")?(0,d.discardNewDocument)({windowType:i,documentId:a}):n((0,u.push)(r)));n((0,d.clearMasterData)()),d.disconnectWS.call(this)}},{key:"render",value:function(){var e=this.props,t=e.master,n=e.modal,r=e.breadcrumb,i=e.params,a=e.rawModal,l=e.pluginModal,u=e.includedView,c=e.processStatus,d=e.enableTutorial,m=this.state,_=m.dropzoneFocused,b=m.newRow,g=m.modalTitle,y=m.introEnabled,v=m.hintsEnabled,w=m.introSteps,k=m.introHints,x=t.layout,T=x.docActionElement,M=x.documentSummaryElement,O=t.docId,E=t.data.DocumentNo,L=void 0;t.layout&&(L=t.layout.activeTab);var S={status:t.data.DocStatus||-1,action:t.data.DocAction||-1,displayed:!0},D=M&&t.data[M.fields[0].field],j="notfound"!==O&&void 0!==t.saveStatus.saved&&!t.saveStatus.saved&&void 0!==t.validStatus.initialValue&&!t.validStatus.initialValue;return s.default.createElement(p.default,{entity:"window",dropzoneFocused:_,docStatusData:S,docSummaryData:D,modal:n,dataId:O,breadcrumb:r,docNoData:E,isDocumentNotSaved:j,rawModal:a,pluginModal:l,modalTitle:g,includedView:u,processStatus:c,activeTab:L,closeModalCallback:this.closeModalCallback,setModalTitle:this.setModalTitle,docActionElem:T,windowType:i.windowType,docId:i.docId,showSidelist:!0,showIndicator:!n.visible,handleDeletedStatus:this.handleDeletedStatus},"notfound"===O?s.default.createElement(f.default,{what:"Document"}):s.default.createElement(h.default,{key:"window",data:t.data,layout:t.layout,rowData:t.rowData,tabsInfo:t.includedTabsInfo,sort:this.sort,dataId:O,isModal:!1,newRow:b,handleDragStart:this.handleDragStart,handleDropFile:this.handleDropFile,handleRejectDropped:this.handleRejectDropped}),d&&w&&w.length>0&&s.default.createElement(o.Steps,{enabled:y,steps:w,initialStep:0,onExit:this.handleIntroExit}),d&&k&&k.length>0&&s.default.createElement(o.Hints,{enabled:v,hints:k}))}}]),t}();Object.defineProperty(y,"contextTypes",{enumerable:!0,writable:!0,value:{router:i.default.object.isRequired}}),Object.defineProperty(y,"propTypes",{enumerable:!0,writable:!0,value:{modal:i.default.object.isRequired,master:i.default.object.isRequired,breadcrumb:i.default.array.isRequired,dispatch:i.default.func.isRequired,rawModal:i.default.object.isRequired,indicator:i.default.string.isRequired,me:i.default.object.isRequired,pluginModal:i.default.object}});var v=function(e){return{master:e.windowHandler.master,modal:e.windowHandler.modal,rawModal:e.windowHandler.rawModal,pluginModal:e.windowHandler.pluginModal,indicator:e.windowHandler.indicator,includedView:e.listHandler.includedView,enableTutorial:e.appHandler.enableTutorial,processStatus:e.appHandler.processStatus,me:e.appHandler.me,breadcrumb:e.menuHandler.breadcrumb}},w=(0,l.connect)(v)(y);t.default=w;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(y,"MasterWindow","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/MasterWindow.js"),__REACT_HOT_LOADER__.register(v,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/MasterWindow.js"),__REACT_HOT_LOADER__.register(w,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/MasterWindow.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1&&navigator.userAgent&&!navigator.userAgent.match("CriOS"),r=!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,o=!!document.documentMode,i=!o&&!!window.StyleMedia;return e?"chrome":t?"firefox":n?"safari":r?"opera":o?"ie":i?"edge":void 0}}),Object.defineProperty(n,"browserSupport",{enumerable:!0,writable:!0,value:function(){for(var e=arguments.length,t=Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:400,t=n.props,r=t.chartClass,o=t.responsive,a=t.fields,s=0,l=e,u=t.height,c=document.getElementsByClassName(r+"-wrapper")[0];o&&(l=s=c&&c.offsetWidth-10);var d=Math.min(l,.66*u)/2;return{wrapperWidth:s,width:l,height:u,radius:d,arc:i.arc().outerRadius(.8*d).innerRadius(.4*d),pie:i.pie().sort(null).value(function(e){return e[a[0].fieldName]})}}}),Object.defineProperty(n,"drawChart",{enumerable:!0,writable:!0,value:function(e,t,r,o,a,s,l){var u=n.props.fields,c=n.state.prevData,d=n.svg.select(".slices").selectAll(".pie-path").data(o(s),function(e){return e});d.enter().append("path").attr("class","pie-path").style("fill",function(e){return l(e.data[u[0].fieldName])}).transition().duration(1500).attrTween("d",function(e,t){var r=i.interpolate({startAngle:0,endAngle:0},e);return c[t]=e,n.setState({prevData:c}),function(e){return a(r(e))}}),d.exit().remove(),n.drawLegend(n.svg,t,r,l)}}),Object.defineProperty(n,"updateChart",{enumerable:!0,writable:!0,value:function(e,t,r,o,a,s,l){var u=n.props.fields,c=n.state.prevData,d=n.svg.select(".slices").selectAll(".pie-path").data(o(s),function(e){return e});d.enter().append("path").attr("class","pie-path").style("fill",function(e){return l(e.data[u[0].fieldName])}).transition().duration(1500).attrTween("d",function(e,t){var r=c[t],o=i.interpolate(r,e);return c[t]=o(0),n.setState({prevData:c}),function(e){return a(o(e))}}),d.exit().remove(),n.drawLegend(n.svg,t,r,l)}}),Object.defineProperty(n,"drawLegend",{enumerable:!0,writable:!0,value:function(e,t,r,o){var i=n.props,a=i.groupBy,s=i.data,l=e.attr("width",t).attr("height",.3*r).append("g").attr("class","legends").attr("transform","translate(20,20)"),u=l.selectAll(".legend").data(o.domain()).enter().append("g").attr("class","legend").attr("transform",function(e,t){return"translate(0,"+22*t+")"});u.append("rect").attr("width",18).attr("height",18).style("fill",o).style("stroke",o),u.append("text").attr("x",22).attr("y",14).attr("font-size",12).text(function(e,t){return s[t][a.fieldName]+(a.unit?" ["+a.unit+"]":"")}),l.exit().remove()}}),Object.defineProperty(n,"addResponsive",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props.chartClass,o=document.getElementsByClassName(r+"-wrapper")[0];i.select(window).on("resize."+r,function(){n.clearChart();var r=o&&n.setDimensions(o.offsetWidth);r.width>0&&n.setSvg(r.width,r.height,r.wrapperWidth),r&&n.drawChart(r.wrapperWidth,r.width,r.height,r.pie,r.arc,e,t)})}}),Object.defineProperty(n,"clearChart",{enumerable:!0,writable:!0,value:function(){n.svg.select(".slices").selectAll("path").remove(),n.svg.selectAll(".legends").remove()}}),n.state={prevData:[]},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,a.Component),o(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.data,n=e.responsive,r=e.colors,o=i.scaleOrdinal().range(r),a=this.setDimensions();this.setSvg(a.width,a.height,a.wrapperWidth),a&&this.drawChart(a.wrapperWidth,a.width,a.height,a.pie,a.arc,t,o),n&&this.addResponsive(t,o)}},{key:"shouldComponentUpdate",value:function(e){return!(this.props.reRender&&!e.reRender)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.data,r=t.colors,o=t.chartClass,a=document.getElementsByClassName(o+"-wrapper")[0],s=i.scaleOrdinal().range(r),l=a&&this.setDimensions(a.offsetWidth);this.props.reRender&&l.width>0?(this.setSvg(l.width,l.height,l.wrapperWidth),this.clearChart(),l&&this.drawChart(l.wrapperWidth,l.width,l.height,l.pie,l.arc,n,s)):JSON.stringify(e)!==JSON.stringify(this.props)&&(this.clearChart(),l&&this.updateChart(l.wrapperWidth,l.width,l.height,l.pie,l.arc,n,s))}},{key:"setSvg",value:function(e,t,n){var r=this.props.chartClass;this.svg=(0,l.getSvg)(r,e,t,n)}},{key:"render",value:function(){var e=this.props,t=e.chartClass,n=e.data,r=e.fields,o=e.groupBy,i=e.isMaximized,a=e.chartTitle;return s.default.createElement("div",{className:t+"-wrapper chart-wrapper"},s.default.createElement("svg",{className:t}),i&&s.default.createElement("div",{className:"panel panel-primary panel-bordered chart-data-table-wrapper"},s.default.createElement("table",{className:"table table-bordered-vertically table-striped"},s.default.createElement("thead",null,s.default.createElement("tr",null,s.default.createElement("th",null,a),s.default.createElement("th",null))),s.default.createElement("tbody",null,n.map(function(e,t){return s.default.createElement("tr",{key:t},s.default.createElement("td",null,e[o.fieldName]),s.default.createElement("td",null,e[r[0].fieldName]))})))))}}]),t}(),c=u;t.default=c;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(u,"PieChartComponent","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/PieChartComponent/index.js"),__REACT_HOT_LOADER__.register(c,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/PieChartComponent/index.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sizeSvg=t.getSvg=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58));var o=t.getSvg=function(e){var t=r.select("."+e);t.append("g").classed("legend",!0);var n=t.append("g").classed("chart-container",!0);return n.append("g").classed("x-axis",!0),n.append("g").classed("y0-axis",!0),n.append("g").classed("y-axis",!0),n.append("g").classed("datasets",!0),t},i=t.sizeSvg=function(e,t){var n=t.width,r=t.height,o=t.top,i=t.left,a=t.right,s=t.bottom;e.attr("width",n+i+a).attr("height",r+o+s),e.select(".chart-container").attr("transform","translate("+i+","+o+")")};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(o,"getSvg","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/svg.js"),__REACT_HOT_LOADER__.register(i,"sizeSvg","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/svg.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZRange=t.getYRange=t.getX1Range=t.getX0Range=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58));var o=t.getX0Range=function(e,t,n){return r.scaleBand().range([0,e]).padding(.2).domain(t.map(function(e){return e[n.fieldName]}))},i=t.getX1Range=function(e,t){return r.scaleBand().range([0,e]).padding(.1).domain(t.map(function(e){return e.fieldName}))},a=t.getYRange=function(e,t,n){var o=n.map(function(e){return e.fieldName});return r.scaleLinear().range([e,0]).domain([r.min(t,function(e){return r.min(o,function(t){return e[t]})}),r.max(t,function(e){return r.max(o,function(t){return e[t]})})]).nice()},s=t.getZRange=function(e){return r.scaleOrdinal().range(e)};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(o,"getX0Range","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/ranges.js"),__REACT_HOT_LOADER__.register(i,"getX1Range","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/ranges.js"),__REACT_HOT_LOADER__.register(a,"getYRange","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/ranges.js"),__REACT_HOT_LOADER__.register(s,"getZRange","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/ranges.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.drawLegend=void 0;var r,o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58)),i=n(217);var a={width:20,height:20,offset:((r=i)&&r.__esModule?r:{default:r}).default.padding},s=t.drawLegend=function(e,t,n,r){var o=n.width+n.left+n.right-2*a.offset,i=l(e,t,o);return u(i,r),c(i,o),i},l=function(e,t,n){var r=e.select(".legend").attr("font-family","sans-serif").attr("font-size",10).attr("text-anchor","start").selectAll("g").data(t),o=r.enter().append("g").merge(r);return o.attr("transform",function(e,t){return"translate("+t*(n/o.size())+", "+a.offset+")"})},u=function(e,t){var n=e.selectAll("rect").data(function(e){return[e]});return n.enter().append("rect").merge(n).attr("x",a.offset).attr("width",a.width).attr("height",a.height).attr("fill",function(e){return t(e.fieldName)})},c=function(e,t){var n=e.selectAll("text").data(function(e){return[e]});return n.enter().append("text").merge(n).attr("x",2*a.offset+a.width).attr("y",10).attr("dy","0.32em").text(function(e){return e.caption+(e.unit?" ["+e.unit+"]":"")}).each(function(){d(this,t/e.size()-(a.offset+a.width))})},d=function(e,t){for(var n=o.select(e),r=n.node().getComputedTextLength(),i=n.text();r>t&&i.length>0;)i=i.slice(0,-1),n.text(i+"..."),r=n.node().getComputedTextLength()};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(a,"size","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(s,"drawLegend","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(l,"drawContainer","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(u,"drawRects","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(c,"drawTexts","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(d,"addEllipsis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVerticalDimensions=t.getHorizontalDimensions=void 0;var r,o=Object.assign||function(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{left:35,right:5},i=e.node().parentNode.offsetWidth,s=n*a.default.ratio||a.default.minWidth,l={left:r.left+a.default.padding,right:r.right+a.default.padding};return o({},l,{width:(i0&&void 0!==arguments[0]?arguments[0]:{top:35,bottom:35},t=arguments[1],n={top:e.top+a.default.padding,bottom:e.bottom+a.default.padding};return o({},n,{height:(t||a.default.height)-(n.top+n.bottom)})};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(s,"getHorizontalDimensions","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/dimensions.js"),__REACT_HOT_LOADER__.register(l,"getVerticalDimensions","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/dimensions.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.drawData=t.isXRangeChanged=t.isYRangeChanged=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58));var o=function(e,t,n){return Object.keys(e).filter(function(e){return"_"!==e[0]&&e!==n}).map(function(n){return{key:n,value:e[n],valuePrev:t&&t[n]?t[n]:0}})},i=t.isYRangeChanged=function(e,t,n){var o=n.map(function(e){return e.fieldName});return(t&&r.max(t,function(e){return r.max(o,function(t){return e[t]})}))!==r.max(e,function(e){return r.max(o,function(t){return e[t]})})},a=t.isXRangeChanged=function(e,t,n){e.length!==(t&&t.length)?n.select("g.datasets").selectAll("g").remove():e.map(function(r,o){t&&JSON.stringify(Object.keys(e[o]))!==JSON.stringify(Object.keys(t[o]))&&n.select("g.datasets").selectAll("g").remove()})},s=t.drawData=function(e,t,n,r,s,u,c,d){d&&e.select("g.datasets").selectAll("g").remove();var f=[];r.map(function(e,t){f.push({data:e,prevData:u?u[t]:0})});var p=i(r,u,c);a(r,u,e);var h=e.select("g.datasets").selectAll("g").data(f),m=h.enter().append("g").classed("bar-group",!0).merge(h).attr("transform",function(e){return"translate("+n.x0(e.data[s])+", 0)"}).selectAll("rect").data(function(e){return o(e.data,e.prevData,s)});m.enter().append("rect").classed("bar",!0).merge(m).attr("x",function(e){return n.x1(e.key)}).attr("width",n.x1.bandwidth()).attr("y",function(e){return p||d?t.height:l(e.valuePrev,n)}).attr("height",function(e){return p||d?0:Math.abs(n.y(e.value)-n.y(0))}).transition().duration(1e3).attr("y",function(e){return l(e.value,n)}).attr("height",function(e){return Math.abs(n.y(e.value)-n.y(0))}).attr("fill",function(e){return n.z(e.key)})};function l(e,t){return e<0?t.y(0):t.y(e)}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(o,"mapDataset","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"),__REACT_HOT_LOADER__.register(i,"isYRangeChanged","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"),__REACT_HOT_LOADER__.register(a,"isXRangeChanged","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"),__REACT_HOT_LOADER__.register(s,"drawData","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"),__REACT_HOT_LOADER__.register(l,"getY","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.populateYAxis=t.moveXAxis=t.getXAxisLabelsHeight=t.populateXAxis=t.populateY0Axis=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58));function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||(e.select("g.y0-axis").selectAll("*").remove(),e.select("g.y0-axis").append("line").attr("y1",t(0)).attr("x1",0).attr("y2",t(0)).attr("x2",n).attr("stroke-width",1).attr("opacity",.5).attr("stroke","black"))},s=t.populateXAxis=function(e,t){var n=[];e.select("g.x-axis").call(r.axisBottom(t)).selectAll("text").classed("x-axis-label",!0).each(function(){n.push(this.getBBox())});var a=Math.max.apply(Math,o(n.map(function(e){return e.width})));if(a<=t.bandwidth())e.selectAll(".x-axis-label").style("text-anchor","middle").attr("dx","0").attr("dy",".71em").attr("transform","");else{var s=Math.max.apply(Math,o(n.filter(function(e){return e.width>=a}).map(function(e){return e.height}))),l=n.find(function(e){return e.width===a&&e.height===s}),u=i(l,t.bandwidth()),c=u>Math.PI/2?-90:u*(-180/Math.PI),d=u>Math.PI/2?0:6*Math.cos(c*(Math.PI/180));e.selectAll(".x-axis-label").style("text-anchor","end").attr("dx","-.8em").attr("dy",".15em").attr("transform","rotate("+c+") translate(0, "+(l.height/-2+d)+")")}},l=t.getXAxisLabelsHeight=function(e){var t=[];return e.selectAll(".tick").each(function(){t.push(this.getBBox().height)}),t.length?Math.max.apply(Math,t):0},u=t.moveXAxis=function(e,t){e.select(".x-axis").attr("transform","translate(0,"+t+")")},c=t.populateYAxis=function(e,t){e.select("g.y-axis").call(r.axisLeft(t).ticks(null,"s"))};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(i,"getXAxisTickAngle","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(a,"populateY0Axis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(s,"populateXAxis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(l,"getXAxisLabelsHeight","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(u,"moveXAxis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(c,"populateYAxis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0?t.map(function(e,t){return l.default.createElement(w.default,{key:t,index:t,id:e.id,moveCard:o.moveCard,addCard:o.addCard,onDrop:o.onDrop,removeCard:o.removeCard,entity:"cards",className:"draggable-widget "+(n===e.id?"draggable-widget-maximize ":""),transparent:!i},l.default.createElement(v.default,r({key:e.id,id:e.id,index:t,chartType:e.kpi.chartType,caption:e.caption,fields:e.kpi.fields,groupBy:e.kpi.groupByField,pollInterval:e.kpi.pollIntervalSec,kpi:!0,moveCard:o.moveCard,idMaximized:n,maximizeWidget:o.maximizeWidget,text:e.caption,noData:e.fetchOnDrop,handleChartOptions:o.handleChartOptions},{editmode:i})))}):l.default.createElement("div",{className:"dashboard-wrapper dashboard-logo-wrapper"},l.default.createElement("div",{className:"logo-wrapper"},l.default.createElement("img",{src:b.default}))))}}),Object.defineProperty(o,"renderOptionModal",{enumerable:!0,writable:!0,value:function(){var e=o.state,t=e.chartOptions,n=e.captionHandler,r=e.when,i=e.interval,a=e.listFocused,s=e.listToggled;return t&&l.default.createElement("div",{className:"chart-options-overlay"},l.default.createElement("div",{className:"chart-options-wrapper"},l.default.createElement("div",{className:"chart-options"},l.default.createElement("div",{className:"form-group"},l.default.createElement("label",null,"caption"),l.default.createElement("input",{className:"input-options input-secondary",value:n,onChange:o.handleChange})),l.default.createElement("div",{className:"form-group"},l.default.createElement("label",null,"interval"),l.default.createElement("div",{className:"chart-options-list-wrapper"},l.default.createElement(y.default,{onSelect:function(e){return o.handleOptionSelect("interval",e)},tabIndex:0,list:(0,f.List)([{caption:"week",value:"week"}]),selected:i,isFocused:"interval"===a,isToggled:"interval"===s,onFocus:function(){return o.handleFocus("interval")},onBlur:function(){return o.handleBlur("interval")},onOpenDropdown:function(){return o.openDropdown("interval")},onCloseDropdown:function(){return o.closeDropdown("interval")}}))),l.default.createElement("div",{className:"form-group"},l.default.createElement("label",null,"when"),l.default.createElement("div",{className:"chart-options-list-wrapper"},l.default.createElement(y.default,{onSelect:function(e){return o.handleOptionSelect("when",e)},list:(0,f.List)([{caption:"now",value:"now"},{caption:"last week",value:"lastWeek"}]),tabIndex:0,selected:r,isFocused:"when"===a,isToggled:"when"===s,onFocus:function(){return o.handleFocus("when")},onBlur:function(){return o.handleBlur("when")},onOpenDropdown:function(){return o.openDropdown("when")},onCloseDropdown:function(){return o.closeDropdown("when")}})))),l.default.createElement("div",{className:"chart-options-button-wrapper"},l.default.createElement("button",{className:"btn btn-meta-outline-secondary btn-sm",onClick:function(){return o.changeChartData("caption",n)}},"Save"))))}}),Object.defineProperty(o,"handleChartOptions",{enumerable:!0,writable:!0,value:function(e,t,n,r){o.setState({chartOptions:e,captionHandler:t,currentId:n,when:e?o.state.when:"",interval:e?o.state.interval:"",isIndicator:!!r})}}),Object.defineProperty(o,"handleOptionSelect",{enumerable:!0,writable:!0,value:function(e,t){var n=o.state,r=n.currentId;n.isIndicator?(0,p.changeTargetIndicatorsItem)(r,e,t.value).then(function(){o.setSelectedOption(e,t)}):(0,p.changeKPIItem)(r,e,t.value).then(function(){o.setSelectedOption(e,t)})}}),Object.defineProperty(o,"setSelectedOption",{enumerable:!0,writable:!0,value:function(e,t){var n=o.state,r=n.when,i=n.interval;o.setState({when:"when"===e?t:r,interval:"interval"===e?t:i})}}),Object.defineProperty(o,"handleChange",{enumerable:!0,writable:!0,value:function(e){o.setState({captionHandler:e.target.value})}}),Object.defineProperty(o,"changeChartData",{enumerable:!0,writable:!0,value:function(e,t){var n=o.state,r=n.currentId;n.isIndicator?(0,p.changeTargetIndicatorsItem)(r,e,t).then(function(){o.handleChartOptions(!1)}):(0,p.changeKPIItem)(r,e,t).then(function(){o.handleChartOptions(!1)})}}),O(o,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,s.Component),o(t,[{key:"render",value:function(){var e=this.props.editmode;return l.default.createElement("div",{className:"dashboard-cards-wrapper"},this.renderOptionModal(),l.default.createElement("div",{className:e?"dashboard-edit-mode":"dashboard-cards"},this.renderIndicators(),this.renderKpis()),e&&l.default.createElement(x.default,{addCard:this.addCard}))}}]),t}();E.propTypes={dispatch:a.default.func.isRequired};var L=(0,d.connect)()((0,u.DragDropContext)(c.default)(E));t.default=L;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(E,"DraggableWrapper","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/dashboard/DraggableWrapper.js"),__REACT_HOT_LOADER__.register(L,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/dashboard/DraggableWrapper.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0?this.introJs.showHints():t||this.introJs.hideHints()}},{key:"render",value:function(){return null}}]),t}();p.propTypes={enabled:l.default.bool,hints:l.default.arrayOf(l.default.shape({element:l.default.string.isRequired,hint:l.default.string.isRequired,hintPosition:c.hintPosition})).isRequired,onClick:l.default.func,onClose:l.default.func,options:c.options},p.defaultProps={enabled:!1,onClick:null,onClose:null,options:d.options},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0&&!this.isVisible?(this.introJs.start(),this.isVisible=!0,this.introJs.goToStepNumber(n+1),o&&o(this.introJs._currentStep)):!t&&this.isVisible&&(this.isVisible=!1,this.introJs.exit())}},{key:"render",value:function(){return null}}]),t}();p.propTypes={enabled:l.default.bool,initialStep:l.default.number.isRequired,steps:l.default.arrayOf(l.default.shape({element:l.default.string,intro:l.default.string.isRequired,position:c.tooltipPosition,tooltipClass:l.default.string,highlightClass:l.default.string})).isRequired,onStart:l.default.func,onExit:l.default.func.isRequired,onBeforeChange:l.default.func,onAfterChange:l.default.func,onChange:l.default.func,onComplete:l.default.func,options:c.options},p.defaultProps={enabled:!1,onStart:null,onBeforeChange:null,onAfterChange:null,onChange:null,onComplete:null,options:d.options},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dashboard=void 0;var r=function(){function e(e,t){for(var n=0;n0&&s.default.createElement(o.Hints,{enabled:m,hints:_}))}}]),t}();Object.defineProperty(h,"propTypes",{enumerable:!0,writable:!0,value:{dispatch:i.default.func.isRequired,pluginModal:i.default.object}});var m=(0,l.connect)(p)(h);t.default=m;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(p,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Dashboard.js"),__REACT_HOT_LOADER__.register(h,"Dashboard","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Dashboard.js"),__REACT_HOT_LOADER__.register(m,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Dashboard.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow"]));u.ref=function(t){e.scrollComponent=t,l&&l(t)};var c=[n];return o&&(s?a?c.unshift(s):c.push(s):this.defaultLoader&&(a?c.unshift(this.defaultLoader):c.push(this.defaultLoader))),i.default.createElement(r,u,c)}}]),t}();l.propTypes={children:a.default.oneOfType([a.default.object,a.default.array]).isRequired,element:a.default.string,hasMore:a.default.bool,initialLoad:a.default.bool,isReverse:a.default.bool,loader:a.default.object,loadMore:a.default.func.isRequired,pageStart:a.default.number,ref:a.default.func,threshold:a.default.number,useCapture:a.default.bool,useWindow:a.default.bool},l.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null},t.default=l,e.exports=t.default},function(e,t,n){e.exports=n(634)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0&&n.setState(function(e){return(0,i.default)(e,{view:{result:{$unset:[r]}},loading:{$set:!1}})})}}}),Object.defineProperty(n,"componentDidMount",{enumerable:!0,writable:!0,value:function(){var e=n.props.boardId;(0,c.getLayout)(e).then(function(e){return n.setState({emptyText:e.data.emptyResultText,emptyHint:e.data.emptyResultHint})})}}),Object.defineProperty(n,"loadMore",{enumerable:!0,writable:!0,value:function(e){var t=n.props,r=t.boardId,o=t.viewId;n.setState({loading:!0}),(0,c.getView)(r,o,e).then(function(e){return n.setState(function(t){return(0,i.default)(t,{view:{result:{$push:e.data.result}},loading:{$set:!1}})})})}}),Object.defineProperty(n,"handleClickOutside",{enumerable:!0,writable:!0,value:function(){(0,n.props.onClickOutside)()}}),n.state={view:{},emptyText:"",emptyHint:"",loading:!1},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,a.Component),o(t,[{key:"render",value:function(){var e=this.state,t=e.view,n=e.emptyText,o=e.emptyHint,i=e.loading;return s.default.createElement("div",{className:"board-sidenav overlay-shadow"},s.default.createElement(l.default,{pageStart:0,loadMore:this.loadMore,initialLoad:!1,loader:i?s.default.createElement(d.default,null):s.default.createElement("div",null),hasMore:t.result&&t.size>=t.result.length,useWindow:!1},s.default.createElement("div",{className:"board-sidenav-header"},"Add cards"),s.default.createElement("div",null,t.result&&t.result.map(function(e,t){return s.default.createElement(f.default,r({key:t,index:t},e))}),t.result&&0===t.result.length&&s.default.createElement("div",{className:"empty-text"},n,o?". "+o:""))))}}]),t}(),m=(0,u.default)(h);t.default=m;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(h,"Sidenav","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/board/Sidenav.js"),__REACT_HOT_LOADER__.register(m,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/board/Sidenav.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DRAGGABLE_CARD:"DRAGGABLE_CARD",CARD:"CARD"};t.default=r;"undefined"!=typeof __REACT_HOT_LOADER__&&__REACT_HOT_LOADER__.register(r,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/ItemTypes.js")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&a.default.createElement("hr",{className:"context-menu-separator"}),p,h>0&&a.default.createElement("hr",{className:"context-menu-separator"}),a.default.createElement("div",{className:"user-dropdown-item",onClick:function(){r("/logout"),n(!1)},tabIndex:0},a.default.createElement("i",{className:"meta-icon-logout"}),o.default.translate("window.logOut.caption"))),c===i&&!t&&a.default.createElement(u.default,{name:i,action:o.default.translate("mainScreen.userMenu.tooltip"),type:""}))}}]),t}(),f=(0,s.default)(d);t.default=f;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(d,"UserDropdown","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/UserDropdown.js"),__REACT_HOT_LOADER__.register(f,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/UserDropdown.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=Object.assign||function(e){for(var t=1;t0&&(h.selectedTabId=f,h.selectedRowIds=p),e.next=7,(0,d.actionsRequest)(h);case 7:return m=e.sent.data.actions,e.abrupt("return",m);case 11:return e.prev=11,e.t0=e.catch(1),console.error(e.t0),e.abrupt("return",[]);case 15:case"end":return e.stop()}},e,l,[[1,11]])})),function(){return s.apply(this,arguments)})}),Object.defineProperty(r,"requestRowActions",{enumerable:!0,writable:!0,value:(i=_(regeneratorRuntime.mark(function e(){var t,n,i,a,s,u,c,f,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.props,n=t.windowType,i=t.docId,a=t.activeTab,s=t.activeTabSelected,e.prev=1,c=s.map(function(){var e=_(regeneratorRuntime.mark(function e(t){var r,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.rowActionsRequest)({windowId:n,documentId:i,tabId:a,rowId:t});case 2:return r=e.sent,s=r.data.actions.map(function(e){return o({},e,{tabId:a,rowId:t})}),e.abrupt("return",s);case 5:case"end":return e.stop()}},e,l)}));return function(t){return e.apply(this,arguments)}}()),e.next=5,Promise.all(c);case 5:return f=e.sent,p=(u=Array.prototype.concat).call.apply(u,m(f)),e.abrupt("return",p);case 10:return e.prev=10,e.t0=e.catch(1),console.error(e.t0),e.abrupt("return",[]);case 14:case"end":return e.stop()}},e,l,[[1,10]])})),function(){return i.apply(this,arguments)})}),Object.defineProperty(r,"getPluginsActions",{enumerable:!0,writable:!0,value:function(){var e=r.props.plugins,t=[];return e.length&&e.forEach(function(e){e.headerActions&&e.headerActions.length&&t.push.apply(t,m(e.headerActions))}),t}}),Object.defineProperty(r,"renderAction",{enumerable:!0,writable:!0,value:function(e){return function(t,n){var o=r.props,i=o.closeSubheader,a=o.openModalRow,s=o.openModal,l=o.selected,c=o.childViewId,d=o.childViewSelectedIds,f=null;if(!t.disabled){var p=void 0;p=t.tabId&&t.rowId?function(){return a(t.processId+"","process",t.caption,t.tabId,t.rowId)}:function(){return s(t.processId+"","process",t.caption,!1,l,c,d)},f=function(){p(),i()}}return u.default.createElement("div",{key:e+n,tabIndex:0,className:"subheader-item js-subheader-item"+(t.disabled?" subheader-item-disabled":""),onClick:f},t.caption,t.disabled&&t.disabledReason&&u.default.createElement("p",{className:"one-line"},u.default.createElement("small",null,"(",t.disabledReason,")")))}}}),Object.defineProperty(r,"renderPluginAction",{enumerable:!0,writable:!0,value:function(e){return function(t,n){var o=r.props,i=o.closeSubheader,a=o.dispatch,s=null;if(!t.disabled){var l=t.clickHandler;s=function(){l(a),i()}}return u.default.createElement("div",{key:e+n,tabIndex:0,className:"subheader-item js-subheader-item"+(t.disabled?" subheader-item-disabled":""),onClick:s},t.caption,t.disabled&&t.disabledReason&&u.default.createElement("p",{className:"one-line"},u.default.createElement("small",null,"(",t.disabledReason,")")))}}}),Object.defineProperty(r,"renderData",{enumerable:!0,writable:!0,value:function(){var e=r,t=e.renderAction,n=e.renderPluginAction,o=e.getPluginsActions,i=r.state,s=i.actions,l=i.rowActions,c=s?s.length:0,d=l?l.length:0,f=u.default.createElement("hr",{key:"separator",tabIndex:0}),p=[];if(c>0&&d>0?p=[].concat(m(s.map(t("actions"))),[f],m(l.map(t("rowActions")))):c>0?p=s.map(t("actions")):d>0&&(p=l.map(t("rowActions"))),p.length){var h,_=o();if(_.length)(h=p).push.apply(h,[f].concat(m(_.map(n("plugins")))));return p}return u.default.createElement("div",{className:"subheader-item subheader-item-disabled"},a.default.translate("window.actions.emptyText"))}}),b(r,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,l.Component),i(t,[{key:"componentDidMount",value:function(){var e=_(regeneratorRuntime.mark(function e(){var t,n,i,a,s,l,u,c,d,f,p,h;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.windowType,i=t.entity,a=t.docId,s=t.notfound,l=t.activeTab,u=t.activeTabSelected,c=[this.requestActions()],n&&"notfound"!==a&&!s){e.next=5;break}return this.setState({actions:[]}),e.abrupt("return");case 5:if("board"!==i){e.next=8;break}return this.setState({actions:[]}),e.abrupt("return");case 8:return l&&u&&u.length>0&&c.push(this.requestRowActions()),e.next=11,Promise.all(c);case 11:d=e.sent,f=r(d,2),p=f[0],h=f[1],this.setState(o({actions:p},h&&{rowActions:h}));case 16:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.state.actions;return u.default.createElement("div",{className:"subheader-column js-subheader-column",tabIndex:0},u.default.createElement("div",{className:"subheader-header"},a.default.translate("window.actions.caption")),u.default.createElement("div",{className:"subheader-break"}),e?this.renderData():u.default.createElement(f.default,null))}}]),t}();Object.defineProperty(g,"propTypes",{enumerable:!0,writable:!0,value:{windowType:s.default.string,viewId:s.default.string,childViewId:s.default.string,childViewSelectedIds:s.default.array,dispatch:s.default.func.isRequired,selected:s.default.array.isRequired,plugins:s.default.any}});var y=function(e,t){var n=e.listHandler.includedView,r={selected:(0,p.getSelection)({state:e,windowType:t.windowType,viewId:t.viewId}),plugins:e.pluginsHandler.files};return n&&n.viewId&&(r.childViewId=n.viewId,r.childViewSelectedIds=(0,p.getSelection)({state:e,windowType:n.windowType,viewId:n.viewId})),r},v=(0,c.connect)(y)(g);t.default=v;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(g,"Actions","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js"),__REACT_HOT_LOADER__.register(y,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js"),__REACT_HOT_LOADER__.register(v,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=t||n<0||f&&e-c>=a}function w(){var e=_();if(v(e))return k(e);l=setTimeout(w,function(e){var n=t-(e-u);return f?m(n,a-(e-c)):n}(e))}function k(e){return l=void 0,p&&o?y(e):(o=i=void 0,s)}function x(){var e=_(),n=v(e);if(o=arguments,i=this,u=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(w,t),d?y(e):s}(u);if(f)return l=setTimeout(w,t),y(u)}return void 0===l&&(l=setTimeout(w,t)),s}return t=g(t)||0,b(r)&&(d=!!r.leading,a=(f="maxWait"in r)?h(g(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),x.cancel=function(){void 0!==l&&clearTimeout(l),c=0,o=u=i=l=void 0},x.flush=function(){return void 0===l?s:k(_())},x}}).call(this,n(12))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebounceInput=void 0;var r=Object.assign||function(e){for(var t=1;t=n.props.minLength?n.notify(e):t.length>o.length&&n.notify(r({},e,{target:r({},e.target,{value:""})}))})},n.onKeyDown=function(e){var t=n.props.onKeyDown;"Enter"===e.key&&n.forceNotify(e),t&&t(e)},n.onBlur=function(e){var t=n.props.onBlur;n.forceNotify(e),t&&t(e)},n.createNotifier=function(e){if(e<0)n.notify=function(){return null};else if(0===e)n.notify=n.doNotify;else{var t=(0,a.default)(function(e){n.isDebouncing=!1,n.doNotify(e)},e);n.notify=function(e){n.isDebouncing=!0,t(e)},n.flush=function(){return t.flush()},n.cancel=function(){n.isDebouncing=!1,t.cancel()}}},n.doNotify=function(){n.props.onChange.apply(void 0,arguments)},n.forceNotify=function(e){if(n.isDebouncing){n.cancel&&n.cancel();var t=n.state.value,o=n.props.minLength;t.length>=o?n.doNotify(e):n.doNotify(r({},e,{target:r({},e.target,{value:t})}))}},n.state={value:e.value||""},n.isDebouncing=!1,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,i.default.PureComponent),o(t,[{key:"componentWillMount",value:function(){this.createNotifier(this.props.debounceTimeout)}},{key:"componentWillReceiveProps",value:function(e){var t=e.value,n=e.debounceTimeout;this.isDebouncing||(void 0!==t&&this.state.value!==t&&this.setState({value:t}),n!==this.props.debounceTimeout&&this.createNotifier(n))}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var e=this.props,t=e.element,n=(e.onChange,e.value,e.minLength,e.debounceTimeout,e.forceNotifyByEnter),o=e.forceNotifyOnBlur,a=e.onKeyDown,s=e.onBlur,l=e.inputRef,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"]),c=void 0;c=n?{onKeyDown:this.onKeyDown}:a?{onKeyDown:a}:{};var d=void 0;d=o?{onBlur:this.onBlur}:s?{onBlur:s}:{};var f=l?{ref:l}:{};return i.default.createElement(t,r({},u,{onChange:this.onChange,value:this.state.value},c,d,f))}}]),t}()).defaultProps={element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0?(t>0?" / ":"")+e.captionBreadcrumb:e.captionBreadcrumb)}))}}),Object.defineProperty(o,"renderNavigation",{enumerable:!0,writable:!0,value:function(e){var t=o.props,n=t.handleMenuOverlay,a=t.openModal,s=t.dispatch,u=t.siteName;return l.default.createElement("div",{className:"menu-overlay-container-column-wrapper js-menu-overlay",tabIndex:0,onKeyDown:function(e){return o.handleKeyDown(e)}},l.default.createElement("div",{className:"menu-overlay-top-spacer"}),l.default.createElement("div",null,l.default.createElement("span",{className:"menu-overlay-header menu-overlay-header-spaced menu-overlay-header-main pointer js-menu-header",onClick:function(e){e&&(e.preventDefault(),e.stopPropagation()),s((0,h.closeModal)()),s((0,h.clearMasterData)()),s((0,f.push)("/"))},tabIndex:0},"Dashboard")),"Sitemap"!==u&&l.default.createElement("div",null,l.default.createElement("span",{className:"menu-overlay-header menu-overlay-header-spaced menu-overlay-header-main pointer js-menu-header js-browse-item",onClick:function(e){e&&(e.preventDefault(),e.stopPropagation()),s((0,h.closeModal)()),s((0,h.clearMasterData)()),s((0,f.push)("/sitemap"))},tabIndex:0},i.default.translate("window.browseTree.caption"))),l.default.createElement("div",null,e&&e.children&&e.children.map(function(t,i){return l.default.createElement(m.default,r({key:i,handleClickOnFolder:o.handleDeeper,handleRedirect:o.handleRedirect,handleNewRedirect:o.handleNewRedirect,handlePath:o.handlePath,parent:e,printChildren:!0,transparentBookmarks:!0,back:function(e){return o.handleClickBack(e)},handleMenuOverlay:n,openModal:a},t))})))}}),Object.defineProperty(o,"renderSubnavigation",{enumerable:!0,writable:!0,value:function(e){var t=o.props,n=t.handleMenuOverlay,r=t.openModal;return l.default.createElement("div",null,l.default.createElement(m.default,{handleClickOnFolder:o.handleDeeper,handleRedirect:o.handleRedirect,handleNewRedirect:o.handleNewRedirect,handlePath:o.handlePath,parent:e,printChildren:!0,transparentBookmarks:!0,back:function(e){return o.handleClickBack(e)},handleMenuOverlay:n,openModal:r,subNavigation:!0,type:e.type},e))}}),Object.defineProperty(o,"linkClick",{enumerable:!0,writable:!0,value:function(e){var t=o.props.dispatch;e.elementId&&"newRecord"==e.type?o.handleNewRedirect(e.elementId):e.elementId&&"window"==e.type&&(o.handleRedirect(e.elementId),t((0,p.getWindowBreadcrumb)(e.elementId)))}}),Object.defineProperty(o,"handleKeyDown",{enumerable:!0,writable:!0,value:function(e){var t=o.props.handleMenuOverlay,n=document.getElementById("search-input-query"),r=document.getElementsByClassName("js-menu-item")[0],i=document.getElementsByClassName("menu-overlay-query")[0].getElementsByClassName("js-menu-item")[0],a=document.getElementsByClassName("js-browse-item")[0],s=document.activeElement.classList.contains("js-browse-item"),l=document.activeElement.classList.contains("js-menu-overlay"),u=document.getElementsByClassName("js-menu-header")[0],c=document.activeElement.classList.contains("js-menu-header"),d=document.getElementsByClassName("js-menu-header")[0],f=document.activeElement.parentElement.previousSibling;switch(e.key){case"ArrowDown":e.preventDefault(),document.activeElement===n?i&&i.focus():l?d.focus():s?r.focus():c&&(a?a.focus():r.focus());break;case"ArrowUp":e.preventDefault(),document.activeElement.classList.contains("js-menu-header")?f.children[0]&&f.children[0].classList.contains("js-menu-header")&&f.children[0].focus():document.activeElement===document.getElementsByClassName("js-menu-item")[0]&&(a?a.focus():d.focus()),document.activeElement.classList.contains("js-menu-item")&&o.handleArrowUp();break;case"Tab":e.preventDefault(),document.activeElement===n?u.focus():n.focus();break;case"Enter":e.preventDefault(),document.activeElement.click();break;case"Backspace":document.activeElement!==n&&(e.preventDefault(),o.handleClickBack(e),document.getElementsByClassName("js-menu-overlay")[0].focus());break;case"Escape":e.preventDefault(),t("","")}}}),g(o,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,s.Component),o(t,[{key:"handleArrowUp",value:function(){var e=document.activeElement.previousSibling;e&&e.classList.contains("input-primary")?document.getElementById("search-input-query").focus():e&&e.classList.contains("js-menu-item")?document.activeElement.previousSibling.focus():this.handleGroupUp()}},{key:"findPreviousGroup",value:function(){for(var e=document.activeElement.parentElement,t=0;!(e&&e.classList.contains("js-menu-container")&&e.previousSibling&&0!==e.previousSibling.children.length||e&&e.classList.contains("js-menu-main-container")&&t<100);)e=e&&e.parentElement,t++;return e.previousSibling}},{key:"selectLastItem",value:function(e){var t=e.childNodes,n=t[t.length-1];1==t.length?t[0].focus&&t[0].focus():n.classList.contains("js-menu-item")?n.focus():n.children[n.children.length-1].classList.contains("js-menu-item")?n.children[n.children.length-1].focus():n.children[n.children.length-1].getElementsByClassName("js-menu-item")[n.children[n.children.length-1].getElementsByClassName("js-menu-item").length-1].focus()}},{key:"handleGroupUp",value:function(){var e=this.findPreviousGroup(),t=document.activeElement.parentElement.previousSibling;t&&t.classList.contains("js-menu-item")?t.focus():t.children.length>0?this.selectLastItem(t):e?this.selectLastItem(e):document.activeElement.previousSibling.focus()}},{key:"render",value:function(){var e=this,t=this.state,n=t.queriedResults,o=t.deepSubNode,a=t.query,s=t.data,c=this.props,d=c.nodeId,f=c.node,p=c.handleMenuOverlay,h=c.openModal,m=s.length?s:f&&f.children?f.children:f;return l.default.createElement("div",{className:"menu-overlay menu-overlay-primary"},l.default.createElement("div",{className:"menu-overlay-body breadcrumbs-shadow"},0==d?l.default.createElement("div",{className:"menu-overlay-root-body"},this.renderNavigation(s),l.default.createElement("div",{className:"menu-overlay-query hidden-sm-down"},l.default.createElement("div",{className:"input-flex input-primary"},l.default.createElement("i",{className:"input-icon meta-icon-preview"}),l.default.createElement(u.default,{debounceTimeout:250,type:"text",id:"search-input-query",className:"input-field",placeholder:i.default.translate("window.type.placeholder"),onChange:this.handleQuery,onKeyDown:this.handleKeyDown}),a&&l.default.createElement("i",{className:"input-icon meta-icon-close-alt pointer",onClick:this.handleClear})),n&&n.map(function(t,n){return l.default.createElement(_.default,r({key:n,query:!0,transparentBookmarks:!0,handleClickOnFolder:e.handleDeeper,handleRedirect:e.handleRedirect,handleNewRedirect:e.handleNewRedirect,handlePath:e.handlePath,handleMenuOverlay:p,openModal:h},t))}),0===n.length&&""!==a&&l.default.createElement("span",null,"There are no results"))):l.default.createElement("div",{className:"menu-overlay-node-container menu-suboverlay"},this.renderSubnavigation(o||m))))}}]),t}();y.propTypes={dispatch:a.default.func.isRequired};var v=(0,d.connect)()((0,c.default)(y));t.default=v;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(y,"MenuOverlay","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlay.js"),__REACT_HOT_LOADER__.register(v,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlay.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&s.default.createElement("div",{className:"letter-templates"},s.default.createElement(p.default,{rank:"primary",list:a,onSelect:function(t){return e.handleTemplate(t)},selected:l,isFocused:c,isToggled:d,onOpenDropdown:this.openTemplatesList,onCloseDropdown:this.closeTemplatesList,onFocus:this.handleListFocus,onBlur:this.handleListBlur})),s.default.createElement("div",{className:"input-icon input-icon-lg letter-icon-close",onClick:t},s.default.createElement("i",{className:"meta-icon-close-1"})))),s.default.createElement("div",{className:"panel-letter-body"},s.default.createElement("textarea",{value:o||"",onChange:this.handleChange,onBlur:this.handleBlur})),s.default.createElement("div",{className:"panel-letter-footer"},s.default.createElement("button",{onClick:this.complete,className:"btn btn-meta-success btn-sm btn-submit"},i.default.translate("window.letter.create")))))}}]),t}(),b=(0,l.connect)()(_);t.default=b;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(_,"NewLetter","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/letter/NewLetter.js"),__REACT_HOT_LOADER__.register(b,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/letter/NewLetter.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var l={className:"react-tagsinput-input",placeholder:"Add a tag"},u=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var 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));return e.state={tag:"",isFocused:!1},e.focus=e.focus.bind(e),e.blur=e.blur.bind(e),e}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:"_getTagDisplayValue",value:function(e){var t=this.props.tagDisplayProp;return t?e[t]:e}},{key:"_makeTag",value:function(e){var t,n,r,o=this.props.tagDisplayProp;return o?(r=e,(n=o)in(t={})?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t):e}},{key:"_removeTag",value:function(e){var t=this.props.value.concat([]);if(e>-1&&e0:n}),s>=0){var c=Math.max(s-l.length,0);e=e.slice(0,c)}if(i&&u.length>0&&i(u),e.length>0){for(var d=l.concat(e),f=[],p=0;p0||(this._clearInput(),1))}},{key:"_shouldPreventDefaultEventOnAdd",value:function(e,t,n){return!!e||13===n&&(this.props.preventSubmit||!this.props.preventSubmit&&!t)}},{key:"focus",value:function(){this.input&&"function"==typeof this.input.focus&&this.input.focus(),this.handleOnFocus()}},{key:"blur",value:function(){this.input&&"function"==typeof this.input.blur&&this.input.blur(),this.handleOnBlur()}},{key:"accept",value:function(){var e=this._tag();return""!==e&&(e=this._makeTag(e),this._addTags([e]))}},{key:"addTag",value:function(e){return this._addTags([e])}},{key:"clearInput",value:function(){this._clearInput()}},{key:"handlePaste",value:function(e){var t=this,n=this.props,r=n.addOnPaste,o=n.pasteSplit;if(r){e.preventDefault();var i=function(e){return window.clipboardData?window.clipboardData.getData("Text"):e.clipboardData?e.clipboardData.getData("text/plain"):""}(e),a=o(i).map(function(e){return t._makeTag(e)});this._addTags(a)}}},{key:"handleKeyDown",value:function(e){if(!e.defaultPrevented){var t=this.props,n=t.value,r=t.removeKeys,o=t.addKeys,i=this._tag(),a=""===i,s=e.keyCode,l=e.key,u=-1!==o.indexOf(s)||-1!==o.indexOf(l),c=-1!==r.indexOf(s)||-1!==r.indexOf(l);if(u){var d=this.accept();this._shouldPreventDefaultEventOnAdd(d,a,s)&&e.preventDefault()}c&&n.length>0&&a&&(e.preventDefault(),this._removeTag(n.length-1))}}},{key:"handleClick",value:function(e){e.target===this.div&&this.focus()}},{key:"handleChange",value:function(e){var t=this.props.onChangeInput,n=this.props.inputProps.onChange,r=e.target.value;n&&n(e),this.hasControlledInput()?t(r):this.setState({tag:r})}},{key:"handleOnFocus",value:function(e){var t=this.props.inputProps.onFocus;t&&t(e),this.setState({isFocused:!0})}},{key:"handleOnBlur",value:function(e){var t=this.props.inputProps.onBlur;if(this.setState({isFocused:!1}),null!=e&&(t&&t(e),this.props.addOnBlur)){var n=this._makeTag(e.target.value);this._addTags([n])}}},{key:"handleRemove",value:function(e){this._removeTag(e)}},{key:"inputProps",value:function(){var e=this.props.inputProps,t=(e.onChange,e.onFocus,e.onBlur,s(e,["onChange","onFocus","onBlur"])),n=a({},l,t);return this.props.disabled&&(n.disabled=!0),n}},{key:"inputValue",value:function(e){return e.currentValue||e.inputValue||""}},{key:"hasControlledInput",value:function(){var e=this.props,t=e.inputValue,n=e.onChangeInput;return"function"==typeof n&&"string"==typeof t}},{key:"componentDidMount",value:function(){this.hasControlledInput()||this.setState({tag:this.inputValue(this.props)})}},{key:"componentWillReceiveProps",value:function(e){this.hasControlledInput()||this.inputValue(e)&&this.setState({tag:this.inputValue(e)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=(t.onChange,t.tagProps),i=t.renderLayout,l=t.renderTag,u=t.renderInput,c=(t.addKeys,t.removeKeys,t.className),d=t.focusedClassName,f=(t.addOnBlur,t.addOnPaste,t.inputProps,t.pasteSplit,t.onlyUnique,t.maxTags,t.validationRegex,t.disabled),p=(t.tagDisplayProp,t.inputValue,t.onChangeInput,s(t,["value","onChange","tagProps","renderLayout","renderTag","renderInput","addKeys","removeKeys","className","focusedClassName","addOnBlur","addOnPaste","inputProps","pasteSplit","onlyUnique","maxTags","validationRegex","disabled","tagDisplayProp","inputValue","onChangeInput"]),this.state.isFocused);p&&(c+=" "+d);var h=n.map(function(t,n){return l(a({key:n,tag:t,onRemove:e.handleRemove.bind(e),disabled:f,getTagDisplayValue:e._getTagDisplayValue.bind(e)},r))}),m=u(a({ref:function(t){e.input=t},value:this._tag(),onPaste:this.handlePaste.bind(this),onKeyDown:this.handleKeyDown.bind(this),onChange:this.handleChange.bind(this),onFocus:this.handleOnFocus.bind(this),onBlur:this.handleOnBlur.bind(this),addTag:this.addTag.bind(this)},this.inputProps()));return o.default.createElement("div",{ref:function(t){e.div=t},onClick:this.handleClick.bind(this),className:c},i(h,m))}}]),t}(o.default.Component);u.defaultProps={className:"react-tagsinput",focusedClassName:"react-tagsinput--focused",addKeys:[9,13],addOnBlur:!1,addOnPaste:!1,inputProps:{},removeKeys:[8],renderInput:function(e){e.addTag;var t=s(e,["addTag"]),n=t.onChange,r=t.value,i=s(t,["onChange","value"]);return o.default.createElement("input",a({type:"text",onChange:n,value:r},i))},renderTag:function(e){var t=e.tag,n=e.key,r=e.disabled,i=e.onRemove,l=e.classNameRemove,u=e.getTagDisplayValue,c=s(e,["tag","key","disabled","onRemove","classNameRemove","getTagDisplayValue"]);return o.default.createElement("span",a({key:n},c),u(t),!r&&o.default.createElement("a",{className:l,onClick:function(e){return i(n)}}))},renderLayout:function(e,t){return o.default.createElement("span",null,e,t)},pasteSplit:function(e){return e.split(" ").map(function(e){return e.trim()})},tagProps:{className:"react-tagsinput-tag",classNameRemove:"react-tagsinput-remove"},onlyUnique:!1,maxTags:-1,validationRegex:/.*/,disabled:!1,tagDisplayProp:null,preventSubmit:!0},t.default=u,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["isHighlighted","item","renderItem","renderItemData"]);return delete s.sectionIndex,delete s.itemIndex,"function"==typeof s.onMouseEnter&&(s.onMouseEnter=this.onMouseEnter),"function"==typeof s.onMouseLeave&&(s.onMouseLeave=this.onMouseLeave),"function"==typeof s.onMouseDown&&(s.onMouseDown=this.onMouseDown),"function"==typeof s.onClick&&(s.onClick=this.onClick),a.default.createElement("li",r({role:"option"},s,{ref:this.storeItemReference}),o(n,r({isHighlighted:t},i)))}}]),t}();d.propTypes={sectionIndex:s.default.number,isHighlighted:s.default.bool.isRequired,itemIndex:s.default.number.isRequired,item:s.default.any.isRequired,renderItem:s.default.func.isRequired,renderItemData:s.default.object.isRequired,onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onClick:s.default.func},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1?t-1:0),r=1;r=0&&0===t[e];)e--;return-1===e?null:e}(i))?[null,null]:[i,t[i]-1]:[i,a-1]:0===t||0===a?[null,null]:null===a?[null,t-1]:[null,a-1]},isLast:function(e){return null===o(e)[1]}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tr+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,i=t.renderInputComponent,a=t.renderItemsContainer,l=t.highlightedSectionIndex,u=t.highlightedItemIndex,c=this.state.isInputFocused,d=o?this.renderSections():this.renderItems(),f=null!==d,p=this.getItemId(l,u),h=e("react-autowhatever-"+n+"-container","container",f&&"containerOpen"),m="react-autowhatever-"+n,_=i(r({type:"text",value:"",autoComplete:"off",role:"combobox","aria-autocomplete":"list","aria-owns":m,"aria-expanded":f,"aria-haspopup":f,"aria-activedescendant":p},e("react-autowhatever-"+n+"-input","input",f&&"inputOpen",c&&"inputFocused"),this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),b=a({containerProps:r({id:m},e("react-autowhatever-"+n+"-items-container","itemsContainer",f&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:d});return s.default.createElement("div",h,_,b)}}]),t}();m.propTypes={id:l.default.string,multiSection:l.default.bool,renderInputComponent:l.default.func,renderItemsContainer:l.default.func,items:l.default.array.isRequired,renderItem:l.default.func,renderItemData:l.default.object,renderSectionTitle:l.default.func,getSectionItems:l.default.func,inputProps:l.default.object,itemProps:l.default.oneOfType([l.default.object,l.default.func]),highlightedSectionIndex:l.default.number,highlightedItemIndex:l.default.number,theme:l.default.oneOfType([l.default.object,l.default.array])},m.defaultProps={id:"1",multiSection:!1,renderInputComponent:function(e){return s.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return s.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:h,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},inputProps:h,itemProps:h,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}},t.default=m},function(e,t,n){"use strict";e.exports=n(666).default},function(e,t){e.exports=function(e,t){if(e===t)return!0;var n=e.length;if(t.length!==n)return!1;for(var r=0;r0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered&&this.highlightFirstSuggestion():this.willRenderSuggestions(e)?this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions():this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,i=n.highlightFirstSuggestion;if(!(0,l.default)(r,e.suggestions)&&r.length>0&&i)this.highlightFirstSuggestion();else if(o){var a=this.getHighlightedSuggestion();a!=t.highlightedSuggestion&&o({suggestion:a})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState(function(o){var i=o.valueBeforeUpDown;return null===t?i=null:null===i&&void 0!==n&&(i=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:i}})}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState(function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,i=n.getSectionSuggestions;return o?i(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,i=r.onChange;t!==o&&i(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e){var t=e.suggestions,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value;return t.length>0&&r(o)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,i=t.onSuggestionsFetchRequested,s=t.renderSuggestion,l=t.inputProps,d=t.multiSection,p=t.renderSectionTitle,h=t.id,m=t.getSectionSuggestions,_=t.theme,b=t.getSuggestionValue,g=t.alwaysRenderSuggestions,y=t.highlightFirstSuggestion,v=this.state,w=v.isFocused,k=v.isCollapsed,x=v.highlightedSectionIndex,T=v.highlightedSuggestionIndex,M=v.valueBeforeUpDown,O=g?f:this.props.shouldRenderSuggestions,E=l.value,L=l.onFocus,S=l.onKeyDown,D=this.willRenderSuggestions(this.props),j=g||w&&!k&&D,C=j?n:[],A=r({},l,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=O(E);e.setState({isFocused:!0,isCollapsed:!n}),L&&L(t),n&&i({value:E,reason:"input-focused"})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,o=O(n);e.maybeCallOnChange(t,n,"type"),e.setState(r({},y?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!o})),o?i({value:n,reason:"input-changed"}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(k)O(E)&&(i({value:E,reason:"suggestions-revealed"}),e.revealSuggestions());else if(n.length>0){var a=r.newHighlightedSectionIndex,s=r.newHighlightedItemIndex,l=void 0;l=null===s?null===M?E:M:e.getSuggestionValueByIndex(a,s),e.updateHighlightedSuggestion(a,s,E),e.maybeCallOnChange(t,l,40===o?"down":"up")}t.preventDefault(),e.justPressedUpDown=!0,setTimeout(function(){e.justPressedUpDown=!1});break;case 13:if(229===t.keyCode)break;var u=e.getHighlightedSuggestion();if(j&&!g&&e.closeSuggestions(),null!=u){var c=b(u);e.maybeCallOnChange(t,c,"enter"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:c,suggestionIndex:T,sectionIndex:x,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout(function(){e.justSelectedSuggestion=!1})}break;case 27:j&&t.preventDefault();var d=j&&!g;if(null===M){if(!d){e.maybeCallOnChange(t,"","escape"),O("")?i({value:"",reason:"escape-pressed"}):e.onSuggestionsClearRequested()}}else e.maybeCallOnChange(t,M,"escape");d?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}S&&S(t)}}),P={query:this.getQuery()};return a.default.createElement(u.default,{multiSection:d,items:C,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:s,renderItemData:P,renderSectionTitle:p,getSectionItems:m,highlightedSectionIndex:x,highlightedItemIndex:T,inputProps:A,itemProps:this.itemProps,theme:(0,c.mapToAutowhateverTheme)(_),id:h,ref:this.storeAutowhateverRef})}}]),t}();p.propTypes={suggestions:s.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var n=e[t];if("function"!=typeof n)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},onSuggestionSelected:s.default.func,onSuggestionHighlighted:s.default.func,renderInputComponent:s.default.func,renderSuggestionsContainer:s.default.func,getSuggestionValue:s.default.func.isRequired,renderSuggestion:s.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n.hasOwnProperty("value"))throw new Error("'inputProps' must have 'value'.");if(!n.hasOwnProperty("onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:s.default.func,alwaysRenderSuggestions:s.default.bool,multiSection:s.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:s.default.bool,highlightFirstSuggestion:s.default.bool,theme:s.default.object,id:s.default.string},p.defaultProps={renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return a.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:c.defaultTheme,id:"1"};var h=function(){var e=this;this.onDocumentMouseDown=function(t){e.justClickedOnSuggestionsContainer=!1;for(var n=t.detail&&t.detail.target||t.target;null!==n&&n!==document;){if(null!==n.getAttribute("data-suggestion-index"))return;if(n===e.suggestionsContainer)return void(e.justClickedOnSuggestionsContainer=!0);n=n.parentNode}},this.storeAutowhateverRef=function(t){null!==t&&(e.autowhatever=t)},this.onSuggestionMouseEnter=function(t,n){var r=n.sectionIndex,o=n.itemIndex;e.updateHighlightedSuggestion(r,o),e.justMouseEntered=!0,setTimeout(function(){e.justMouseEntered=!1})},this.highlightFirstSuggestion=function(){e.updateHighlightedSuggestion(e.props.multiSection?0:null,0)},this.onSuggestionMouseDown=function(){e.justSelectedSuggestion=!0},this.onSuggestionsClearRequested=function(){var t=e.props.onSuggestionsClearRequested;t&&t()},this.onSuggestionSelected=function(t,n){var r=e.props,o=r.alwaysRenderSuggestions,i=r.onSuggestionSelected,a=r.onSuggestionsFetchRequested;i&&i(t,n),o?a({value:n.suggestionValue,reason:"suggestion-selected"}):e.onSuggestionsClearRequested(),e.resetHighlightedSuggestion()},this.onSuggestionClick=function(t){var n=e.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,i=e.getSuggestionIndices(e.findSuggestionElement(t.target)),a=i.sectionIndex,s=i.suggestionIndex,l=e.getSuggestion(a,s),u=e.props.getSuggestionValue(l);e.maybeCallOnChange(t,u,"click"),e.onSuggestionSelected(t,{suggestion:l,suggestionValue:u,suggestionIndex:s,sectionIndex:a,method:"click"}),r||e.closeSuggestions(),!0===o?e.input.focus():e.onBlur(),setTimeout(function(){e.justSelectedSuggestion=!1})},this.onBlur=function(){var t=e.props,n=t.inputProps,r=t.shouldRenderSuggestions,o=n.value,i=n.onBlur,a=e.getHighlightedSuggestion(),s=r(o);e.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),i&&i(e.blurEvent,{highlightedSuggestion:a})},this.resetHighlightedSuggestionOnMouseLeave=function(){e.resetHighlightedSuggestion(!1)},this.itemProps=function(t){return{"data-section-index":t.sectionIndex,"data-suggestion-index":t.itemIndex,onMouseEnter:e.onSuggestionMouseEnter,onMouseLeave:e.resetHighlightedSuggestionOnMouseLeave,onMouseDown:e.onSuggestionMouseDown,onTouchStart:e.onSuggestionMouseDown,onClick:e.onSuggestionClick}},this.renderSuggestionsContainer=function(t){var n=t.containerProps,r=t.children;return(0,e.props.renderSuggestionsContainer)({containerProps:n,children:r,query:e.getQuery()})}};t.default=p},function(e,t,n){"use strict";e.exports=n(669).default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["addTag"]),i=e.state.suggestions;return a.default.createElement(s.default,{ref:o.ref,suggestions:i,shouldRenderSuggestions:function(e){return e&&e.trim().length>0},getSuggestionValue:function(e){return e.caption},renderSuggestion:e.renderSuggestion,inputProps:r({},o,{onChange:function(e,t){"enter"===t.method?e.preventDefault():o.onChange(e)}}),onSuggestionSelected:function(e,t){var r=t.suggestion;n(r.caption)},onSuggestionsFetchRequested:e.suggestionsFetch,onSuggestionsClearRequested:function(){return e.setState({suggestions:[]})}})}})},h=f;t.default=h;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(f,"AutocompleteTo","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/email/AutocompleteTo.js"),__REACT_HOT_LOADER__.register(h,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/email/AutocompleteTo.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n0&&l.default.createElement("div",{className:"email-templates"},l.default.createElement(h.default,{rank:"primary",list:g,onSelect:function(t){return e.handleTemplate(t)},selected:y,isFocused:v,isToggled:w,onOpenDropdown:this.openTemplatesList,onCloseDropdown:this.closeTemplatesList,onFocus:this.handleFocus,onBlur:this.handleBlur})),l.default.createElement("div",{className:"input-icon input-icon-lg icon-email",onClick:n},l.default.createElement("i",{className:"meta-icon-close-1"}))),l.default.createElement("div",{className:"panel-email-header panel-email-bright"},l.default.createElement("div",{className:"panel-email-data-wrapper"},l.default.createElement("span",{className:"email-label"},i.default.translate("window.email.to"),":"),l.default.createElement(_.default,{windowId:o,docId:a,emailId:d,to:b}))),l.default.createElement("div",{className:"panel-email-header panel-email-bright"},l.default.createElement("div",{className:"panel-email-data-wrapper"},l.default.createElement("span",{className:"email-label"},i.default.translate("window.email.topic"),":"),l.default.createElement("input",{className:"email-input email-input-msg",type:"text",onChange:function(t){return e.change("subject",t.target.value)},value:f||"",onBlur:function(){return e.patch("subject",f)}})))),l.default.createElement("div",{className:"panel-email-body"},l.default.createElement("textarea",{value:p||"",onChange:function(t){return e.change("message",t.target.value)},onBlur:function(){return e.patch("message",p)}})),l.default.createElement("div",{className:"panel-email-footer"},l.default.createElement(m.default,r({getEmail:this.getEmail},{attachments:c,emailId:d})),l.default.createElement("button",{onClick:this.send,className:"btn btn-meta-success btn-sm btn-submit"},i.default.translate("window.email.send")))))}}]),t}();g.propTypes={windowId:a.default.string,dispatch:a.default.func,docId:a.default.string,handleCloseEmail:a.default.func};var y=(0,u.connect)()(g);t.default=y;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(g,"NewEmail","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/email/NewEmail.js"),__REACT_HOT_LOADER__.register(y,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/email/NewEmail.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0?r.setState({scrolled:!0}):r.setState({scrolled:!1})}}),Object.defineProperty(r,"handleDashboardLink",{enumerable:!0,writable:!0,value:function(){(0,r.props.dispatch)((0,c.push)("/"))}}),Object.defineProperty(r,"toggleScrollScope",{enumerable:!0,writable:!0,value:function(e){document.body.style.overflow=e?"hidden":"auto"}}),Object.defineProperty(r,"toggleTooltip",{enumerable:!0,writable:!0,value:function(e){r.setState({tooltipOpen:e})}}),Object.defineProperty(r,"openModal",{enumerable:!0,writable:!0,value:function(e,t,n,o,i,a,s){var l=r.props,u=l.dispatch,c=l.query;u((0,f.openModal)(n,e,t,null,null,o,c&&c.viewId,i,null,null,null,null,a,s))}}),Object.defineProperty(r,"openModalRow",{enumerable:!0,writable:!0,value:function(e,t,n,o,i){(0,r.props.dispatch)((0,f.openModal)(n,e,t,o,i))}}),Object.defineProperty(r,"handlePrint",{enumerable:!0,writable:!0,value:function(e,t,n){(0,d.openFile)("window",e,t,"print",e+"_"+(n||t)+".pdf")}}),Object.defineProperty(r,"handleClone",{enumerable:!0,writable:!0,value:function(e,t){var n=r.props.dispatch;(0,d.duplicateRequest)("window",e,t).then(function(t){t&&t.data&&t.data.id&&n((0,c.push)("/window/"+e+"/"+t.data.id))})}}),Object.defineProperty(r,"handleDelete",{enumerable:!0,writable:!0,value:function(){r.setState({prompt:Object.assign({},r.state.prompt,{open:!0})})}}),Object.defineProperty(r,"handleEmail",{enumerable:!0,writable:!0,value:function(){r.setState({isEmailOpen:!0})}}),Object.defineProperty(r,"handleLetter",{enumerable:!0,writable:!0,value:function(){r.setState({isLetterOpen:!0})}}),Object.defineProperty(r,"handleCloseEmail",{enumerable:!0,writable:!0,value:function(){r.setState({isEmailOpen:!1})}}),Object.defineProperty(r,"handleCloseLetter",{enumerable:!0,writable:!0,value:function(){r.setState({isLetterOpen:!1})}}),Object.defineProperty(r,"handlePromptCancelClick",{enumerable:!0,writable:!0,value:function(){r.setState({prompt:Object.assign({},r.state.prompt,{open:!1})})}}),Object.defineProperty(r,"handlePromptSubmitClick",{enumerable:!0,writable:!0,value:function(e,t){var n=r.props,o=n.dispatch,i=n.handleDeletedStatus;r.setState({prompt:Object.assign({},r.state.prompt,{open:!1})},function(){(0,d.deleteRequest)("window",e,null,null,[t]).then(function(){i(!0),o((0,c.push)("/window/"+e))})})}}),Object.defineProperty(r,"handleDocStatusToggle",{enumerable:!0,writable:!0,value:function(e){var t=document.getElementsByClassName("js-dropdown-toggler")[0];e?t.blur():document.activeElement===t?t.blur():t.focus()}}),Object.defineProperty(r,"handleSidelistToggle",{enumerable:!0,writable:!0,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=r.state.sideListTab,n=null!==e&&e!==t;r.toggleScrollScope(n),r.setState({isSideListShow:n,sideListTab:e!==t?e:null})}}),Object.defineProperty(r,"closeOverlays",{enumerable:!0,writable:!0,value:function(e,t){var n=r.state.isSubheaderShow,o={menuOverlay:null,isMenuOverlayShow:!1,isInboxOpen:!1,isUDOpen:!1,isSideListShow:!1,tooltipOpen:""};e&&delete o[e],o.isSubheaderShow="isSubheaderShow"==e&&!n,r.setState(o,t),document.getElementsByClassName("js-dropdown-toggler")[0]&&"dropdown"!==e&&r.handleDocStatusToggle(!0)}}),Object.defineProperty(r,"redirect",{enumerable:!0,writable:!0,value:function(e){(0,r.props.dispatch)((0,c.push)(e))}}),L(r,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,s.Component),o(t,[{key:"componentDidMount",value:function(){this.initEventListeners()}},{key:"componentWillUnmount",value:function(){this.toggleScrollScope(!1),this.removeEventListeners()}},{key:"componentWillUpdate",value:function(e){var t=this.props.dropzoneFocused;e.dropzoneFocused!==t&&e.dropzoneFocused&&this.closeOverlays()}},{key:"componentDidUpdate",value:function(e){void 0!==e.me.language&&JSON.stringify(e.me.language)!==JSON.stringify(this.props.me.language)&&window.location.reload(!1)}},{key:"render",value:function(){var e=this,t=this.props,n=t.docSummaryData,o=t.siteName,a=t.docNoData,s=t.docStatus,u=t.docStatusData,c=t.windowType,d=t.dataId,f=t.breadcrumb,E=t.showSidelist,L=t.inbox,S=t.entity,D=t.query,j=t.showIndicator,C=t.isDocumentNotSaved,A=t.notfound,P=t.docId,I=t.me,R=t.editmode,H=t.handleEditModeToggle,Y=t.activeTab,N=t.plugins,W=this.state,J=W.isSubheaderShow,V=W.isSideListShow,U=W.menuOverlay,X=W.isInboxOpen,G=W.scrolled,F=W.isMenuOverlayShow,z=W.tooltipOpen,B=W.prompt,q=W.sideListTab,K=W.isUDOpen,Z=W.isEmailOpen,$=W.isLetterOpen;return l.default.createElement("div",null,B.open&&l.default.createElement(_.default,{title:"Delete",text:"Are you sure?",buttons:{submit:"Delete",cancel:"Cancel"},onCancelClick:this.handlePromptCancelClick,onSubmitClick:function(){return e.handlePromptSubmitClick(c,d)}}),l.default.createElement("nav",{className:"header header-super-faded js-not-unselect "+(G?"header-shadow":"")},l.default.createElement("div",{className:"container-fluid"},l.default.createElement("div",{className:"header-container"},l.default.createElement("div",{className:"header-left-side"},l.default.createElement("div",{onClick:function(){return e.closeOverlays("isSubheaderShow")},onMouseEnter:function(){return e.toggleTooltip(h.default.OPEN_ACTIONS_MENU)},onMouseLeave:function(){return e.toggleTooltip("")},className:"btn-square btn-header tooltip-parent "+(J?"btn-meta-default-dark btn-subheader-open btn-header-open":"btn-meta-primary")},l.default.createElement("i",{className:"meta-icon-more"}),z===h.default.OPEN_ACTIONS_MENU&&l.default.createElement(w.default,{name:h.default.OPEN_ACTIONS_MENU,action:i.default.translate("mainScreen.actionMenu.tooltip"),type:""})),l.default.createElement(x.default,{breadcrumb:f,windowType:c,docSummaryData:n,dataId:d,siteName:o,menuOverlay:U,docId:P,isDocumentNotSaved:C,handleMenuOverlay:this.handleMenuOverlay,openModal:this.openModal})),l.default.createElement("div",{className:"header-center"},l.default.createElement("img",{src:p.default,className:"header-logo pointer",onClick:this.handleDashboardLink})),l.default.createElement("div",{className:"header-right-side"},s&&l.default.createElement("div",{className:"hidden-sm-down tooltip-parent",onClick:function(){return e.toggleTooltip("")},onMouseEnter:function(){return e.toggleTooltip(h.default.DOC_STATUS)},onMouseLeave:function(){return e.toggleTooltip("")}},l.default.createElement(k.default,r({entity:"window",windowType:c,dataId:d,widgetData:[u],noLabel:!0,type:"primary",dropdownOpenCallback:function(){e.closeOverlays("dropdown")}},s)),z===h.default.DOC_STATUS&&l.default.createElement(w.default,{name:h.default.DOC_STATUS,action:i.default.translate("mainScreen.docStatus.tooltip"),type:""})),l.default.createElement("div",{className:"header-item-container header-item-container-static pointer tooltip-parent "+(X?"header-item-open ":""),onClick:function(){return e.closeOverlays("",function(){return e.handleInboxOpen(!0)})},onMouseEnter:function(){return e.toggleTooltip(h.default.OPEN_INBOX_MENU)},onMouseLeave:function(){return e.toggleTooltip("")}},l.default.createElement("span",{className:"header-item header-item-badge icon-lg"},l.default.createElement("i",{className:"meta-icon-notifications"}),L.unreadCount>0&&l.default.createElement("span",{className:"notification-number"},L.unreadCount)),z===h.default.OPEN_INBOX_MENU&&l.default.createElement(w.default,{name:h.default.OPEN_INBOX_MENU,action:i.default.translate("mainScreen.inbox.tooltip"),type:""})),l.default.createElement(g.default,{open:X,close:this.handleInboxOpen,onFocus:function(){return e.handleInboxOpen(!0)},disableOnClickOutside:!X,inbox:L}),l.default.createElement(O.default,{open:K,handleUDOpen:this.handleUDOpen,disableOnClickOutside:!K,redirect:this.redirect,shortcut:h.default.OPEN_AVATAR_MENU,toggleTooltip:this.toggleTooltip,tooltipOpen:z,me:I,plugins:N}),E&&l.default.createElement("div",{className:"tooltip-parent btn-header side-panel-toggle btn-square "+(V?"btn-meta-default-bright btn-header-open":"btn-meta-primary"),onClick:function(){e.closeOverlays(),e.handleSidelistToggle(0)},onMouseEnter:function(){return e.toggleTooltip(h.default.OPEN_SIDEBAR_MENU_0)},onMouseLeave:function(){return e.toggleTooltip("")}},l.default.createElement("i",{className:"meta-icon-list"}),z===h.default.OPEN_SIDEBAR_MENU_0&&l.default.createElement(w.default,{name:h.default.OPEN_SIDEBAR_MENU_0,action:i.default.translate("mainScreen.sideList.tooltip"),type:""}))))),j&&l.default.createElement(m.default,{isDocumentNotSaved:C})),J&&l.default.createElement(M.default,{closeSubheader:function(){return e.closeOverlays("isSubheaderShow")},docNo:a&&a.value,openModal:this.openModal,openModalRow:this.openModalRow,handlePrint:this.handlePrint,handleClone:this.handleClone,handleDelete:this.handleDelete,handleEmail:this.handleEmail,handleLetter:this.handleLetter,redirect:this.redirect,disableOnClickOutside:!J,breadcrumb:f,notfound:A,query:D,entity:S,dataId:d,windowType:c,viewId:D&&D.viewId,siteName:o,editmode:R,handleEditModeToggle:H,activeTab:Y}),E&&V&&l.default.createElement(T.default,{windowType:c||"",closeOverlays:this.closeOverlays,closeSideList:this.handleSidelistToggle,isSideListShow:V,disableOnClickOutside:!E,docId:d,defaultTab:q,open:!0}),Z&&l.default.createElement(b.default,{windowId:c||"",docId:d,handleCloseEmail:this.handleCloseEmail}),$&&l.default.createElement(y.default,{windowId:c||"",docId:d,handleCloseLetter:this.handleCloseLetter}),l.default.createElement(v.default,{handleSidelistToggle:this.handleSidelistToggle,handleMenuOverlay:F?function(){return e.handleMenuOverlay("","")}:function(){return e.closeOverlays("",function(){return e.handleMenuOverlay("","0")})},handleInboxToggle:this.handleInboxToggle,handleUDToggle:this.handleUDToggle,openModal:d?function(){return e.openModal(c,"window","Advanced edit",!0)}:void 0,handlePrint:d?function(){return e.handlePrint(c,d,a.value)}:void 0,handleEmail:this.handleEmail,handleLetter:this.handleLetter,handleDelete:d?this.handleDelete:void 0,handleClone:d?function(){return e.handleClone(c,d)}:void 0,redirect:c?function(){return e.redirect("/window/"+c+"/new")}:void 0,handleDocStatusToggle:document.getElementsByClassName("js-dropdown-toggler")[0]?this.handleDocStatusToggle:void 0,handleEditModeToggle:H,closeOverlays:this.closeOverlays}))}}]),t}();Object.defineProperty(D,"propTypes",{enumerable:!0,writable:!0,value:{dispatch:a.default.func.isRequired,inbox:a.default.object.isRequired,me:a.default.object.isRequired}});var j=(0,u.connect)(S)(D);t.default=j;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(S,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js"),__REACT_HOT_LOADER__.register(D,"Header","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js"),__REACT_HOT_LOADER__.register(j,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0})}}),Object.defineProperty(r,"handleClose",{enumerable:!0,writable:!0,value:(i=y(regeneratorRuntime.mark(function e(){var t,n,o,i,s,l,c,p,h,m,_,b;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.props,n=t.dispatch,o=t.closeCallback,i=t.viewId,s=t.windowType,l=t.requests,c=r.state.isNew,!(l.length>0)){e.next=17;break}return e.next=5,new Promise(function(e){r.resolve=e});case 5:if(p=e.sent,delete r.resolve,p){e.next=17;break}return e.next=10,n({type:u.PATCH_RESET});case 10:return h="Error while saving",m="Not all fields have been saved",_=5e3,b="error",e.next=16,n((0,f.addNotification)(h,m,_,b));case 16:return e.abrupt("return");case 17:if(!o){e.next=20;break}return e.next=20,o(c);case 20:return e.next=22,r.removeModal();case 22:return e.next=24,(0,d.deleteView)(s,i);case 24:case"end":return e.stop()}},e,a)})),function(){return i.apply(this,arguments)})}),Object.defineProperty(r,"removeModal",{enumerable:!0,writable:!0,value:(o=y(regeneratorRuntime.mark(function e(){var t,n,o,i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.props,n=t.dispatch,o=t.modalVisible,i=t.windowType,s=t.viewId,e.next=3,Promise.all([(0,p.closeRawModal)(),(0,p.closeModal)(),(0,c.closeListIncludedView)({windowType:i,viewId:s,forceClose:!0})].map(function(e){return n(e)}));case 3:o||(document.body.style.overflow="auto");case 4:case"end":return e.stop()}},e,a)})),function(){return o.apply(this,arguments)})}),v(r,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,a.Component),r(t,[{key:"componentDidMount",value:function(){document.body.style.overflow="hidden",this.initEventListeners()}},{key:"componentWillUnmount",value:function(){var e=this.props.masterDocumentList;e&&e.updateQuickActions(),this.removeEventListeners()}},{key:"componentWillUpdate",value:function(e){this.resolve&&(e.success&&0!==e.requests.length||this.resolve(e.success))}},{key:"render",value:function(){var e=this,t=this.props,n=t.modalTitle,r=t.children,i=t.modalDescription,a=t.modalVisible,l=t.rawModalVisible,u=this.state,c=u.scrolled,d=u.isTooltipShow;return s.default.createElement("div",{className:"screen-freeze raw-modal"},s.default.createElement("div",{className:"panel panel-modal panel-modal-primary"},s.default.createElement("div",{className:"panel-modal-header "+(c?"header-shadow":"")},s.default.createElement("span",{className:"panel-modal-header-title"},n||"Modal",s.default.createElement("span",{className:"panel-modal-description"},i||"")),s.default.createElement("div",{className:"items-row-2"},s.default.createElement("button",{className:"btn btn-meta-outline-secondary btn-distance-3 btn-md",onClick:this.handleClose,tabIndex:!a&&l?0:-1,onMouseEnter:function(){return e.toggleTooltip(!0)},onMouseLeave:function(){return e.toggleTooltip(!1)}},o.default.translate("modal.actions.done"),d&&s.default.createElement(_.default,{name:h.default.APPLY,action:o.default.translate("modal.actions.done"),type:""})))),s.default.createElement(b.default,null),s.default.createElement("div",{className:"panel-modal-content js-panel-modal-content",ref:function(e){e&&e.focus()}},r),s.default.createElement(m.default,{apply:a?null:function(){return e.handleClose()}})))}}]),t}(),k=function(e){var t=e.windowHandler;return{modalVisible:t.modal.visible||!1,rawModalVisible:t.rawModal.visible||!1,requests:t.patches.requests,success:t.patches.success}};w.propTypes={dispatch:i.default.func.isRequired,children:i.default.node,modalTitle:i.default.oneOfType([i.default.string,i.default.node]),modalDescription:i.default.oneOfType([i.default.string,i.default.node]),modalVisible:i.default.bool,rawModalVisible:i.default.bool,requests:i.default.object.isRequired,success:i.default.bool.isRequired};var x=(0,l.connect)(k)(w);t.default=x;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(w,"RawModal","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/RawModal.js"),__REACT_HOT_LOADER__.register(k,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/RawModal.js"),__REACT_HOT_LOADER__.register(x,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/RawModal.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null;t.setState({isTooltipShow:e})}}),Object.defineProperty(this,"initEventListeners",{enumerable:!0,writable:!0,value:function(){var e=document.querySelector(".js-panel-modal-content");e&&e.addEventListener("scroll",t.handleScroll)}}),Object.defineProperty(this,"removeEventListeners",{enumerable:!0,writable:!0,value:function(){var e=document.querySelector(".js-panel-modal-content");e&&e.removeEventListener("scroll",t.handleScroll)}}),Object.defineProperty(this,"init",{enumerable:!0,writable:!0,value:(e=v(regeneratorRuntime.mark(function e(){var n,r,o,i,a,s,l,u,d,f,p,h,m,_,b,g,y,v;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.props,r=n.dispatch,o=n.windowType,i=n.dataId,a=n.tabId,s=n.rowId,l=n.modalType,u=n.parentSelection,d=n.parentType,f=n.isAdvanced,p=n.modalViewId,h=n.modalViewDocumentIds,m=n.activeTabId,_=n.childViewId,b=n.childViewSelectedIds,g=n.parentViewId,y=n.parentViewSelectedIds,e.t0=l,e.next="window"===e.t0?4:"process"===e.t0?14:29;break;case 4:return e.prev=4,e.next=7,r((0,c.createWindow)(o,i,a,s,!0,f));case 7:e.next=13;break;case 9:throw e.prev=9,e.t1=e.catch(4),t.handleClose(),e.t1;case 13:return e.abrupt("break",29);case 14:return e.prev=14,v={processType:o,viewId:p,type:d,ids:p?h:i?[i]:u,tabId:a,rowId:s},m&&u&&(v.selectedTab={tabId:m,rowIds:u}),_&&(v.childViewId=_,v.childViewSelectedIds=b),g&&(v.parentViewId=g,v.parentViewSelectedIds=y),e.next=21,r((0,c.createProcess)(v));case 21:e.next=28;break;case 23:if(e.prev=23,e.t2=e.catch(14),t.handleClose(),"Error: close_modal"===e.t2.toString()){e.next=28;break}throw e.t2;case 28:return e.abrupt("break",29);case 29:case"end":return e.stop()}},e,t,[[4,9],[14,23]])})),function(){return e.apply(this,arguments)})}),Object.defineProperty(this,"closeModal",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.dispatch,r=e.closeCallback,o=e.dataId,i=e.windowType,a=e.parentType,s=e.parentDataId,l=e.triggerField,d=e.rowId,f=e.tabId,p=t.state,h=p.isNew;p.isNewDoc?(0,u.processNewRecord)("window",i,o).then(function(e){n((0,c.patch)("window",a,s,null,null,l,e.data)).then(function(){t.removeModal()})}):(r&&r({isNew:h,windowType:i,documentId:o,tabId:f,rowId:d}),t.removeModal())}}),Object.defineProperty(this,"removeModal",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.dispatch,r=e.rawModalVisible;n((0,c.closeModal)()),r||(document.body.style.overflow="auto")}}),Object.defineProperty(this,"handleClose",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.modalSaveStatus;if("process"===e.modalType)return t.closeModal();(n||window.confirm("Do you really want to leave?"))&&t.closeModal()}}),Object.defineProperty(this,"handleScroll",{enumerable:!0,writable:!0,value:function(e){t.setState(function(t){var n=e.target.scrollTop>0;if(n!==t.scrolled)return{scrolled:n}})}}),Object.defineProperty(this,"setFetchOnTrue",{enumerable:!0,writable:!0,value:function(){t.setState({waitingFetch:!0})}}),Object.defineProperty(this,"handleStart",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.dispatch,r=e.layout,o=e.windowType;"pending"!==e.indicator?t.setState({pending:!0},v(regeneratorRuntime.mark(function e(){var i,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=void 0,e.prev=1,e.next=4,(0,c.startProcess)(o,r.pinstanceId);case 4:return i=e.sent,a=(0,c.handleProcessResponse)(i,o,r.pinstanceId),e.next=8,n(a);case 8:t.removeModal(),e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(1),e.t0;case 14:return e.prev=14,t.setState({pending:!1}),e.finish(14);case 17:case"end":return e.stop()}},e,t,[[1,11,14,17]])}))):t.setState({waitingFetch:!0,pending:!0})}}),Object.defineProperty(this,"renderModalBody",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.data,r=e.layout,o=e.tabId,i=e.rowId,a=e.dataId,l=e.modalType,u=e.windowType,c=e.isAdvanced,d=t.state.pending;switch(l){case"window":return s.default.createElement(h.default,{data:n,dataId:a,layout:r,modal:!0,tabId:o,rowId:i,isModal:!0,isAdvanced:c,tabsInfo:null});case"process":return s.default.createElement(p.default,{data:n,layout:r,type:u,disabled:d})}}}),Object.defineProperty(this,"renderPanel",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.data,r=e.modalTitle,i=e.modalType,a=e.isDocumentNotSaved,l=e.layout,u=t.state,c=u.scrolled,d=u.pending,p=u.isNewDoc,h=u.isTooltipShow;return Object.keys(n).length>0&&s.default.createElement("div",{className:"screen-freeze js-not-unselect"},s.default.createElement("div",{className:"panel panel-modal panel-modal-primary"},s.default.createElement("div",{className:"panel-modal-header "+(c?"header-shadow":"")},s.default.createElement("span",{className:"panel-modal-header-title"},r||l.caption),s.default.createElement("div",{className:"items-row-2"},p&&s.default.createElement("button",{className:"btn btn-meta-outline-secondary\n btn-distance-3 btn-md "+(d?"tag-disabled disabled ":""),onClick:t.removeModal,tabIndex:0,onMouseEnter:function(){return t.toggleTooltip(f.default.CANCEL)},onMouseLeave:t.toggleTooltip},o.default.translate("modal.actions.cancel"),h===f.default.CANCEL&&s.default.createElement(_.default,{name:f.default.CANCEL,action:o.default.translate("modal.actions.cancel"),type:""})),s.default.createElement("button",{className:"btn btn-meta-outline-secondary\n btn-distance-3 btn-md "+(d?"tag-disabled disabled ":""),onClick:t.handleClose,tabIndex:0,onMouseEnter:function(){return t.toggleTooltip("process"===i?f.default.CANCEL:f.default.APPLY)},onMouseLeave:t.toggleTooltip},"process"===i?o.default.translate("modal.actions.cancel"):o.default.translate("modal.actions.done"),h===("process"===i?f.default.CANCEL:f.default.APPLY)&&s.default.createElement(_.default,{name:"process"===i?f.default.CANCEL:f.default.APPLY,action:"process"===i?o.default.translate("modal.actions.cancel"):o.default.translate("modal.actions.done"),type:""})),"process"===i&&s.default.createElement("button",{className:"btn btn-meta-primary btn-distance-3\n btn-md "+(d?"tag-disabled disabled":""),onClick:t.handleStart,tabIndex:0,onMouseEnter:function(){return t.toggleTooltip(f.default.APPLY)},onMouseLeave:t.toggleTooltip},o.default.translate("modal.actions.start"),h===f.default.APPLY&&s.default.createElement(_.default,{name:f.default.APPLY,action:o.default.translate("modal.actions.start"),type:""})))),s.default.createElement(b.default,{isDocumentNotSaved:a}),s.default.createElement("div",{className:"panel-modal-content js-panel-modal-content\n container-fluid",ref:function(e){e&&e.focus()}},t.renderModalBody()),s.default.createElement(m.default,{apply:"process"===i?t.handleStart:t.handleClose,cancel:"process"===i?t.handleClose:p?t.removeModal:""})))}}),Object.defineProperty(this,"renderOverlay",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.data,r=e.layout,o=e.windowType,i=t.state.pending;return s.default.createElement(g.default,{type:o,disabled:i,data:n,layout:r,handleSubmit:t.setFetchOnTrue,closeOverlay:t.removeModal})}})},x=function(e,t){return{parentSelection:(0,d.getSelection)({state:e,windowType:t.parentType,viewId:t.viewId}),activeTabId:e.windowHandler.master.layout.activeTab}},T=(0,l.connect)(x)(w);t.default=T;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(w,"Modal","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js"),__REACT_HOT_LOADER__.register(x,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js"),__REACT_HOT_LOADER__.register(T,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:e.props.childView.viewSelectedIds,n=e.props,o=n.windowType,i=n.viewId,a=n.selected,s=n.childView,l=n.parentView;e.fetchActions(o,i,a,r({},s,{viewSelectedIds:t}),l)}}),Object.defineProperty(this,"componentDidUpdate",{enumerable:!0,writable:!0,value:function(t){var n=e.props,r=n.inBackground;!1===n.inModal&&!0===t.inModal&&e.setState({loading:!1}),!0===r&&!1===t.inBackground&&e.setState({loading:!1})}}),Object.defineProperty(this,"handleClickOutside",{enumerable:!0,writable:!0,value:function(){e.toggleDropdown()}}),Object.defineProperty(this,"handleClick",{enumerable:!0,writable:!0,value:function(t){var n=e.props,r=n.dispatch,o=n.viewId,i=n.selected,a=n.childView,s=n.parentView;t.disabled||(e.setState({loading:!0}),r((0,d.openModal)(t.caption,t.processId,"process",null,null,!1,o,i,null,null,s.viewId,s.viewSelectedIds,a.viewId,a.viewSelectedIds)),e.toggleDropdown())}}),Object.defineProperty(this,"fetchActions",{enumerable:!0,writable:!0,value:function(t,n,r,o,i){e.unmounted||(t&&n&&r&&o&&i?(0,c.quickActionsRequest)(t,n,r,o,i).then(function(t){e.setState({actions:t.data.actions,loading:!1})}).catch(function(){e.setState({loading:!1})}):e.setState({loading:!1}))}}),Object.defineProperty(this,"toggleDropdown",{enumerable:!0,writable:!0,value:function(t){e.setState({isDropdownOpen:t})}}),Object.defineProperty(this,"toggleTooltip",{enumerable:!0,writable:!0,value:function(t){e.setState({isTooltip:t})}})},v=(0,u.connect)(!1,!1,!1,{withRef:!0})(g);t.default=v;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(b,"initialState","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js"),__REACT_HOT_LOADER__.register(g,"QuickActions","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js"),__REACT_HOT_LOADER__.register(v,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n1)return r.props.handleNextPage()},PREV_PAGE:function(e){if(e.preventDefault(),r.props.pages>1)return r.props.handlePrevPage()},SELECT_ALL_ROWS:function(e){return e.preventDefault(),r.props.handleSelectAll()}}}),l(r,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,i.Component),o(t,[{key:"render",value:function(){return[a.default.createElement(s.Shortcut,{key:"FIRST_PAGE",name:"FIRST_PAGE",handler:this.handlers.FIRST_PAGE}),a.default.createElement(s.Shortcut,{key:"LAST_PAGE",name:"LAST_PAGE",handler:this.handlers.LAST_PAGE}),a.default.createElement(s.Shortcut,{key:"NEXT_PAGE",name:"NEXT_PAGE",handler:this.handlers.NEXT_PAGE}),a.default.createElement(s.Shortcut,{key:"PREV_PAGE",name:"PREV_PAGE",handler:this.handlers.PREV_PAGE}),a.default.createElement(s.Shortcut,{key:"SELECT_ALL_ROWS",name:"SELECT_ALL_ROWS",handler:this.handlers.SELECT_ALL_ROWS})]}}]),t}(),c=u;t.default=c;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(u,"PaginationContextShortcuts","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/keyshortcuts/PaginationContextShortcuts.js"),__REACT_HOT_LOADER__.register(c,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/keyshortcuts/PaginationContextShortcuts.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&(o(Number(t)),n.setState({value:"",secondDotsState:!1,firstDotsState:!1})))}}),Object.defineProperty(n,"handleFirstDotsState",{enumerable:!0,writable:!0,value:function(){var e=n.state.firstDotsState;n.setState({firstDotsState:!e},function(){e||n.goToPage.focus()})}}),Object.defineProperty(n,"handleSecondDotsState",{enumerable:!0,writable:!0,value:function(){var e=n.state.secondDotsState;n.setState({secondDotsState:!e},function(){e||n.goToPage.focus()})}}),Object.defineProperty(n,"handleSelectWholePage",{enumerable:!0,writable:!0,value:function(e){n.setState({selectedWholePage:e})}}),Object.defineProperty(n,"resetGoToPage",{enumerable:!0,writable:!0,value:function(){n.setState({secondDotsState:!1,firstDotsState:!1})}}),Object.defineProperty(n,"renderGoToPage",{enumerable:!0,writable:!0,value:function(e,t){return s.default.createElement("div",{className:"page-dots-open"},s.default.createElement("span",null,i.default.translate("view.goTo.caption")),s.default.createElement("input",{type:"number",min:"1",ref:function(e){return n.goToPage=e},max:e,value:t,onChange:function(e){return n.handleValue(e)},onKeyDown:function(r){return n.handleSubmit(r,t,e)}}))}}),Object.defineProperty(n,"renderFirstPartPagination",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props,o=r.handleChangePage,i=r.compressed,a=n.state,l=a.firstDotsState,c=a.value;e.push(s.default.createElement("li",{className:"page-item",key:1,onClick:function(){n.resetGoToPage(),o(1)}},s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i})},1))),e.push(s.default.createElement("li",{className:"page-item page-dots",key:0},l&&n.renderGoToPage(t,c),s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i}),onClick:function(){return n.handleFirstDotsState()}},"...")))}}),Object.defineProperty(n,"renderLastPartPagination",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props,o=r.handleChangePage,i=r.compressed,a=n.state,l=a.secondDotsState,c=a.value;e.push(s.default.createElement("li",{className:"page-item page-dots",key:99990},l&&n.renderGoToPage(t,c),s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i}),onClick:function(){return n.handleSecondDotsState()}},"..."))),e.push(s.default.createElement("li",{className:"page-item",key:9999,onClick:function(){n.resetGoToPage(),o(t)}},s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i})},t)))}}),Object.defineProperty(n,"renderPaginationContent",{enumerable:!0,writable:!0,value:function(e,t,r,o){for(var i=n.props,a=i.handleChangePage,l=i.compressed,c=function(r){e.push(s.default.createElement("li",{className:(0,u.default)("page-item",{active:t===r}),key:r,onClick:function(){n.resetGoToPage(),a(r)}},s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":l})},r)))},d=r;d<=o;d++)c(d)}}),Object.defineProperty(n,"renderTotalItems",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.size,r=e.queryLimitHit;return s.default.createElement("div",{className:"hidden-sm-down"},s.default.createElement("div",null,i.default.translate("view.totalItems.caption")," ",t,r&&s.default.createElement("span",{className:"text-danger"}," (limited)")))}}),Object.defineProperty(n,"renderSelectAll",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.selected,r=e.size,o=e.rowLength,a=e.pageLength,l=t&&t.length===o,u=r>a;return s.default.createElement("div",{className:"hidden-sm-down"},s.default.createElement("div",null,t.length>0?i.default.translate("view.itemsSelected.caption",{size:"all"===t[0]?r:t.length}):i.default.translate("view.noItemSelected.caption")),s.default.createElement("div",{className:"pagination-link pointer",onClick:function(){n._handleSelectAll()},title:"Alt+A"},l&&u?i.default.translate("view.selectAllItems.caption",{size:r}):i.default.translate("view.selectAllOnPage.caption")))}}),Object.defineProperty(n,"renderArrow",{enumerable:!0,writable:!0,value:function(e,t,r){var o=n.props,i=o.compressed,a=o.handleChangePage,l=!1;return l=e?1===r:r===t,s.default.createElement("li",{className:(0,u.default)("page-item",{inactive:l})},s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i,disabled:l}),onClick:function(){l||(n.resetGoToPage(),a(e?"down":"up"))}},s.default.createElement("span",null,e?"«":"»")))}}),Object.defineProperty(n,"paginationShortcuts",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.size,r=e.pageLength,o=e.disablePaginationShortcuts,i=e.handleChangePage,a=t?Math.ceil(t/r):0;return!o&&{handleFirstPage:function(){return i(1)},handleLastPage:function(){return i(t?Math.ceil(t/r):0)},handleNextPage:function(){return i("up")},handlePrevPage:function(){return i("down")},pages:a}}}),n.state={firstDotsState:!1,secondDotsState:!1,value:""},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,a.PureComponent),o(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.size,o=t.pageLength,i=t.page,a=t.compressed,l=n?Math.ceil(n/o):0,u=[];return l<8?l<=0?this.renderPaginationContent(u,i,1,1):this.renderPaginationContent(u,i,1,l):i<=4?(this.renderPaginationContent(u,i,1,5),this.renderLastPartPagination(u,l)):i>l-4?(this.renderFirstPartPagination(u,l),this.renderPaginationContent(u,i,l-4,l)):(this.renderFirstPartPagination(u,l),this.renderPaginationContent(u,i,i-1,i+1),this.renderLastPartPagination(u,l)),s.default.createElement("div",{className:"pagination-wrapper js-not-unselect"},s.default.createElement("div",{className:"pagination-row"},a&&s.default.createElement("div",null),!a&&this.renderSelectAll(),s.default.createElement("div",{className:"items-row-2 pagination-part"},!a&&this.renderTotalItems(),s.default.createElement("div",null,s.default.createElement("nav",null,s.default.createElement("ul",{className:"pagination pointer"},this.renderArrow(!0,l,i),u,this.renderArrow(!1,l,i)))))),s.default.createElement(c.default,r({handleSelectAll:function(){return e._handleSelectAll()}},this.paginationShortcuts())))}}]),t}();f.propTypes={selected:l.default.array,handleSelectAll:l.default.func,handleSelectRange:l.default.func,handleChangePage:l.default.func,rowLength:l.default.number.isRequired,compressed:l.default.any,size:l.default.number.isRequired,queryLimitHit:l.default.number,pageLength:l.default.number.isRequired,disablePaginationShortcuts:l.default.bool,page:l.default.number.isRequired};var p=f;t.default=p;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(f,"TablePagination","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TablePagination.js"),__REACT_HOT_LOADER__.register(p,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TablePagination.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=Object.assign||function(e){for(var t=1;t1,key:s,caption:e.caption,handlePatch:function(e,t,r){return n.handlePatch(e,t,r)},handleFocus:function(){},handleChange:n.handleChange,onBlurWidget:n.handleBlurWidget,type:"secondary",autoFocus:0===s})})}}),Object.defineProperty(n,"onSubmit",{enumerable:!0,writable:!0,value:function(e){var t=n.props,r=t.dispatch,o=t.docType,i=t.docId,a=t.tabId,s=n.state,c=s.id,f=s.data;if(e.preventDefault(),document.activeElement.blur(),!n.validateForm(f))return r((0,l.addNotification)("Error","Mandatory fields are not filled!",5e3,"error"));n.patchPromise.then(function(){return(0,u.completeRequest)("window",o,i,a,null,"quickInput",c)}).then(function(e){n.initQuickInput(),r((0,d.addNewRow)(e.data,a,e.data.rowId,"master"))})}}),Object.defineProperty(n,"validateForm",{enumerable:!0,writable:!0,value:function(e){return!Object.keys(e).filter(function(t){return e[t].mandatory&&!e[t].value}).length}}),n.state={layout:null,data:null,id:null,editedField:0},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,i.Component),r(t,[{key:"componentDidMount",value:function(){this.initQuickInput()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.data,r=t.layout,o=t.editedField;if(n&&r)for(var i=function(t){if(!r[t].fields.map(function(e){return n[e.field]||-1})[0].value)return o!==t&&e.setState({editedField:t},function(){if(e.rawWidgets){var n=e.rawWidgets[t];n&&n.focus&&n.focus()}}),"break"},a=0;a0&&void 0!==arguments[0]?arguments[0]:null;n.setState({isTooltipShow:e})}}),n.state={isTooltipShow:!1},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,a.Component),r(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.openModal,r=t.toggleFullScreen,i=t.fullScreen,a=t.docType,l=t.docId,f=t.tabId,p=t.isBatchEntry,h=t.handleBatchEntryToggle,m=t.supportQuickInput,_=t.allowCreateNew,b=t.modalVisible,g=this.state.isTooltipShow,y=i||b?-1:this.props.tabIndex;return s.default.createElement("div",{className:"form-flex-align table-filter-line"},s.default.createElement("div",{className:"form-flex-align"},s.default.createElement("div",null,!p&&_&&s.default.createElement("button",{className:"btn btn-meta-outline-secondary btn-distance btn-sm",onClick:n,tabIndex:y},o.default.translate("window.addNew.caption")),m&&!i&&_&&s.default.createElement("button",{className:"btn btn-meta-outline-secondary btn-distance btn-sm",onClick:h,onMouseEnter:function(){return e.toggleTooltip(u.default.TOGGLE_QUICK_INPUT)},onMouseLeave:this.toggleTooltip,tabIndex:y},p?o.default.translate("window.batchEntryClose.caption"):o.default.translate("window.batchEntry.caption"),g===u.default.TOGGLE_QUICK_INPUT&&s.default.createElement(c.default,{name:u.default.TOGGLE_QUICK_INPUT,action:p?o.default.translate("window.batchEntryClose.caption"):o.default.translate("window.batchEntry.caption"),type:""}))),m&&(p||i)&&_&&s.default.createElement(d.default,{closeBatchEntry:h,docType:a,docId:l,tabId:f})),s.default.createElement("button",{className:"btn-icon btn-meta-outline-secondary pointer",onClick:function(){return r(!i)},onMouseEnter:function(){return e.toggleTooltip(u.default.TOGGLE_EXPAND)},onMouseLeave:this.toggleTooltip,tabIndex:"-1"},i?s.default.createElement("i",{className:"meta-icon-collapse"}):s.default.createElement("i",{className:"meta-icon-fullscreen"}),g===u.default.TOGGLE_EXPAND&&s.default.createElement(c.default,{name:u.default.TOGGLE_EXPAND,action:i?o.default.translate("window.table.collapse"):o.default.translate("window.table.expand"),type:""})))}}]),t}();p.propTypes={dispatch:i.default.func.isRequired,tabIndex:i.default.number.isRequired,modalVisible:i.default.bool.isRequired};var h=(0,l.connect)(function(e){return{modalVisible:e.windowHandler.modal.visible}})(p);t.default=h;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(p,"TableFilter","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TableFilter.js"),__REACT_HOT_LOADER__.register(h,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TableFilter.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;no?t:r-o}}}),Object.defineProperty(n,"setPosition",{enumerable:!0,writable:!0,value:function(e,t,r,o,i,a){n.setState({contextMenu:{x:n.getPosition("x",e,a),y:n.getPosition("y",t,a),fieldName:r,supportZoomInto:o,supportFieldEdit:i}})}}),Object.defineProperty(n,"getReferences",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.docId,r=e.tabId,o=e.type,i=e.selected;(0,u.referencesRequest)("window",o,t,r,i[0]).then(function(e){n.setState({references:e.data.references})})}}),Object.defineProperty(n,"handleReferenceClick",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props,o=r.dispatch,i=r.type,a=r.docId,s=r.tabId,l=r.selected;o((0,c.setFilter)(t,e)),window.open("/window/"+e+"?refType="+i+"&refId="+a+"&refTabId="+s+"&refRowIds="+JSON.stringify(l||[]),"_blank")}}),n.state={contextMenu:{x:0,y:0},references:[]},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,i.Component),r(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.x,n=e.y,r=e.fieldName,o=e.supportZoomInto,i=e.supportFieldEdit,a=e.docId;this.setPosition(t,n,r,o,i,this.contextMenu),a&&this.getReferences()}},{key:"render",value:function(){var e=this,t=this.props,n=t.blur,r=t.selected,o=t.mainTable,i=t.handleAdvancedEdit,s=t.handleOpenNewTab,u=t.handleDelete,c=t.handleFieldEdit,f=t.handleZoomInto,p=this.state,h=p.contextMenu,m=p.references,_=1===r.length,b=_&&o&&h.supportFieldEdit&&c;return a.default.createElement("div",{ref:function(t){e.contextMenu=t,t&&t.focus()},style:{left:h.x,top:h.y},className:"context-menu context-menu-open panel-bordered panel-primary",tabIndex:"0",onBlur:n},h.supportZoomInto&&a.default.createElement("div",{className:"context-menu-item",onClick:function(){return f(h.fieldName)}},a.default.createElement("i",{className:"meta-icon-share"})," "+l.default.translate("window.table.zoomInto")),b&&a.default.createElement("div",{className:"context-menu-item",onClick:c},a.default.createElement("i",{className:"meta-icon-edit"})," "+l.default.translate("window.table.editField")),(h.supportZoomInto||b)&&a.default.createElement("hr",{className:"context-menu-separator"}),_&&!o&&a.default.createElement("div",{className:"context-menu-item",onClick:i},a.default.createElement("i",{className:"meta-icon-edit"})," "+l.default.translate("window.table.advancedEdit"),a.default.createElement("span",{className:"tooltip-inline"},d.default.ADVANCED_EDIT)),o&&a.default.createElement("div",{className:"context-menu-item",onClick:s},a.default.createElement("i",{className:"meta-icon-file"})," "+l.default.translate("window.table.openInNewTab"),a.default.createElement("span",{className:"tooltip-inline"},d.default.OPEN_SELECTED)),u&&a.default.createElement("div",{className:"context-menu-item",onClick:u},a.default.createElement("i",{className:"meta-icon-trash"})," "+l.default.translate("window.delete.caption"),a.default.createElement("span",{className:"tooltip-inline"},d.default.REMOVE_SELECTED)),m&&a.default.createElement("hr",{className:"context-menu-separator"}),m&&m.map(function(t,n){return a.default.createElement("div",{className:"context-menu-item",key:n,onClick:function(){e.handleReferenceClick(t.documentType,t.filter)}},a.default.createElement("i",{className:"meta-icon-share"})," ",t.caption)}))}}]),t}();p.propTypes={dispatch:o.default.func.isRequired};var h=(0,s.connect)()(p);t.default=h;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(p,"TableContextMenu","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TableContextMenu.js"),__REACT_HOT_LOADER__.register(h,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TableContextMenu.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n0?" btn-active":""),tabIndex:m?-1:0},a.default.createElement("i",{className:"meta-icon-preview"}),w?w.parameters&&1===w.parameters.length&&w.captionValue?a.default.createElement(i.Fragment,null,w.caption+": ",w.captionValue):o.default.translate("window.filters.caption2")+": "+w.caption:"Filter"),b&&a.default.createElement("div",{className:"filters-overlay"},g||w?a.default.createElement(d.default,{captionValue:w.captionValue,windowType:r,data:w.isActive?w:y,closeFilterMenu:function(){return e.toggleDropdown(!1)},returnBackToDropdown:function(){return e.toggleFilter(null)},clearFilters:p,applyFilters:f,notValidFields:s,isActive:w.isActive,active:h,onShow:function(){return u(!0)},onHide:function(){return u(!1)},viewId:l,outsideClick:this.outsideClick,openedFilter:!0,filtersWrapper:this.props.filtersWrapper}):a.default.createElement("ul",{className:"filter-menu"},n.map(function(t,n){return a.default.createElement("li",{key:n,onClick:function(){return e.toggleFilter(t.filterId)}},t.caption)}))))}}]),t}();p.propTypes={allowOutsideClick:s.default.bool.isRequired,modalVisible:s.default.bool.isRequired,filtersWrapper:s.default.any};var h=function(e){var t=e.windowHandler;return{allowOutsideClick:t.allowOutsideClick,modalVisible:t.modal.visible}},m=(0,u.connect)(h)((0,l.default)(p));t.default=m;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(p,"FiltersNotFrequent","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/FiltersNotFrequent.js"),__REACT_HOT_LOADER__.register(h,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/FiltersNotFrequent.js"),__REACT_HOT_LOADER__.register(m,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/FiltersNotFrequent.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t-1?(0,l.parseDateWithCurrenTimezone)(t):t}}),Object.defineProperty(n,"mergeData",{enumerable:!0,writable:!0,value:function(e,t,r){n.setState(function(o){return{filter:Object.assign({},o.filter,{parameters:o.filter.parameters.map(function(o){return o.parameterName===e?Object.assign({},o,{value:n.parseDateToReadable(o.widgetType,t),valueTo:n.parseDateToReadable(o.widgetType,r)}):o})})}})}}),Object.defineProperty(n,"handleApply",{enumerable:!0,writable:!0,value:function(){var e=n.props.applyFilters,t=n.state.filter;if(t&&!t.parameters[0].value)return n.handleClear();e(t)}}),Object.defineProperty(n,"handleClear",{enumerable:!0,writable:!0,value:function(){(0,n.props.clearFilters)(n.state.filter)}}),n.state={filter:e.parentFilter},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,i.Component),o(t,[{key:"componentWillMount",value:function(){this.init()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.active;JSON.stringify(t)!==JSON.stringify(e.active)&&this.init()}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.id,o=e.windowType,i=e.onShow,l=e.onHide,u=e.viewId,c=this.state.filter;return a.default.createElement(s.default,r({entity:"documentView",subentity:"filter",subentityId:c.filterId,handlePatch:this.handleApply,handleChange:this.setValue,widgetType:t.widgetType,fields:[r({},t,{emptyText:t.caption})],type:t.type,widgetData:[t],id:n,range:t.range,caption:t.caption,noLabel:!0,filterWidget:!0},{viewId:u,windowType:o,onShow:i,onHide:l}))}}]),t}(),f=d;t.default=f;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(d,"InlineFilterItem","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/InlineFilterItem.js"),__REACT_HOT_LOADER__.register(f,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/InlineFilterItem.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tr.boundingRect.bottom||e-20n)return Number.MAX_VALUE;s+=l}return s/c},r.prototype._nextSet=function(e,t){var n;for(n=t=t||0;n1&&(e[n[r]]=o)},r.prototype._matchTrace=function(e,t){var n,r=[],o=this,i=o._nextSet(o._row),a=!o._row[i],s=0,l={error:Number.MAX_VALUE,code:-1,start:0};if(e){for(n=0;n=0;r--)t=Math.floor(Math.random()*r),n=e[r],e[r]=e[t],e[t]=n;return e},toPointList:function(e){var t,n,r=[],o=[];for(t=0;t=t&&o.push(e[r]);return o},maxIndex:function(e){var t,n=0;for(t=0;te[n]&&(n=t);return n},max:function(e){var t,n=0;for(t=0;tn&&(n=e[t]);return n},sum:function(e){for(var t=e.length,n=0;t--;)n+=e[t];return n}}},function(e,t,n){"use strict";function r(e,t){e=i()(function(){var e={};return Object.keys(r.CONFIG_KEYS).forEach(function(t){e[t]=r.CONFIG_KEYS[t].default}),e}(),e),a.a.call(this,e,t)}var o=n(28),i=n.n(o),a=n(1),s=Object.assign||function(e){for(var t=1;ta.AVG_CODE_ERROR?null:c}i[++u]=1,l=!l}return null},r.prototype._findPattern=function(e,t,n,r,o){var i,a,s,l,u=[],c=this,d=0,f={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(t||(t=c._nextSet(c._row)),void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===o&&(o=c.AVG_CODE_ERROR),i=0;i=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start))=i.CODE_G_START?(e.code=e.code-i.CODE_G_START,a|=1<<5-r):a|=0<<5-r,t.push(e.code),n.push(e)}if(null===(o=i._calculateFirstDigit(a)))return null;if(t.unshift(o),null===(e=i._findPattern(i.MIDDLE_PATTERN,e.end,!0,!1)))return null;for(n.push(e),r=0;r<6;r++){if(!(e=i._decodeCode(e.end,i.CODE_G_START)))return null;n.push(e),t.push(e.code)}return e},r.prototype._decode=function(){var e,t,n=this,r=[],o=[],i={};if(!(e=n._findStart()))return null;if(t={code:e.code,start:e.start,end:e.end},o.push(t),!(t=n._decodePayload(t,r,o)))return null;if(!(t=n._findEnd(t.end,!1)))return null;if(o.push(t),!n._checksum(r))return null;if(this.supplements.length>0){var a=this._decodeExtensions(t.end);if(!a)return null;var l=a.decodedCodes[a.decodedCodes.length-1],u={start:l.start+((l.end-l.start)/2|0),end:l.end};if(!n._verifyTrailingWhitespace(u))return null;i={supplement:a,code:r.join("")+a.code}}return s({code:r.join(""),start:e.start,end:t.end,codeset:"",startInfo:e,decodedCodes:o},i)},r.prototype._decodeExtensions=function(e){var t,n,r=this._nextSet(this._row,e),o=this._findPattern(this.EXTENSION_START_PATTERN,r,!1,!1);if(null===o)return null;for(t=0;t=0;t-=2)n+=e[t];for(n*=3,t=e.length-1;t>=0;t-=2)n+=e[t];return n%10==0},r.CONFIG_KEYS={supplements:{type:"arrayOf(string)",default:[],description:"Allowed extensions to be decoded (2 and/or 5)"}},t.a=r},function(e,t,n){var r=n(38),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){var t=new Float32Array(2);return t[0]=e[0],t[1]=e[1],t}},function(e,t,n){var r=n(11),o=n(119),i=n(146),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):i(e)}},function(e,t,n){"use strict";t.a={drawRect:function(e,t,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=1,n.beginPath(),n.strokeRect(e.x,e.y,t.x,t.y)},drawPath:function(e,t,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=r.lineWidth,n.beginPath(),n.moveTo(e[0][t.x],e[0][t.y]);for(var o=1;o-1&&e%1==0&&e>o]++;return i}(e,t),u=1;u0?Math.floor(this.x+.5):Math.floor(this.x-.5),this.y=this.y>0?Math.floor(this.y+.5):Math.floor(this.y-.5),this}}},t.f=function(e,t){var n=r(e);return function(e,t,n){n||(n=e);for(var r=e.data,o=r.length,i=n.data;o--;)i[o]=r[o]l)for((i=u[s]).score=o,i.item=e[r],l=Number.MAX_VALUE,a=0;a0&&(n=Math.abs(e[t]-p)>Math.abs(e[t-1]-p)?e[t-1]:e[t]),p/nu[d-1]/u[d]?{x:n,y:n}:null}var r,i=o(t.x),a=o(t.y),s=Math.max(t.x,t.y),l=function(e,t){for(var n=0,r=0,o=[];nt[r]?r++:n++;return o}(i,a),u=[8,10,15,20,32,60,80],c={"x-small":5,small:4,medium:3,large:2,"x-large":1},d=c[e]||c.medium,f=u[d],p=Math.floor(s/f);return(r=n(l))||(r=n(o(s)))||(r=n(o(p*f))),r},t.j=function(e,t,n){var r={width:e,height:t},o=Object.keys(n).reduce(function(e,t){var o=function(e){return{value:parseFloat(e),unit:(e.indexOf("%"),e.length,"%")}}(n[t]),i=u[t](o,r);return e[t]=i,e},{});return{sx:o.left,sy:o.top,sw:o.right-o.left,sh:o.bottom-o.top}};var s={clone:n(7)},l={clone:n(83)},u={top:function(e,t){if("%"===e.unit)return Math.floor(t.height*(e.value/100))},right:function(e,t){if("%"===e.unit)return Math.floor(t.width-t.width*(e.value/100))},bottom:function(e,t){if("%"===e.unit)return Math.floor(t.height-t.height*(e.value/100))},left:function(e,t){if("%"===e.unit)return Math.floor(t.width*(e.value/100))}}},function(e,t,n){"use strict";function r(e,t,n,r){t?this.data=t:n?(this.data=new n(e.x*e.y),n===Array&&r&&a.a.init(this.data,0)):(this.data=new Uint8Array(e.x*e.y),Uint8Array===Array&&r&&a.a.init(this.data,0)),this.size=e}var o=n(53),i=n(19),a=n(3),s={clone:n(7)};r.prototype.inImageWithBorder=function(e,t){return e.x>=t&&e.y>=t&&e.x0&&((a=m[r-1]).m00+=1,a.m01+=n,a.m10+=t,a.m11+=t*n,a.m02+=o,a.m20+=t*t);for(i=0;i=0?g:-g)+b,a.theta=(180*d/b+90)%180-90,a.theta<0&&(a.theta+=180),a.rad=d>b?d-b:d,a.vec=s.clone([Math.cos(d),Math.sin(d)]),_.push(a));return _},r.prototype.show=function(e,t){var n,r,o,i,a,s,l;for(t||(t=1),n=e.getContext("2d"),e.width=this.size.x,e.height=this.size.y,o=(r=n.getImageData(0,0,e.width,e.height)).data,i=0,l=0;l360)&&(t=360);for(var o=[0,1,1],a=[0,0,0],s=[255,255,255],l=[0,0,0],u=[],c=e.getContext("2d"),d=c.getImageData(r.x,r.y,this.size.x,this.size.y),f=d.data,p=this.data.length;p--;)o[0]=this.data[p]*t,u=o[0]<=0?s:o[0]>=360?l:n.i(i.a)(o,a),f[4*p+0]=u[0],f[4*p+1]=u[1],f[4*p+2]=u[2],f[4*p+3]=255;c.putImageData(d,r.x,r.y)},t.a=r},function(e,t,n){var r=n(37);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(97),o=n(120);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(27),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,n){var r=n(25),o=n(26);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(8),o=n(0),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==l}},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(8),o=n(6),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(100),o=n(116)(function(e,t,n){r(e,t,n)});e.exports=o},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}},function(e,t,n){"use strict";t.a={searchDirections:[[0,1],[1,1],[1,0],[1,-1],[0,-1],[-1,-1],[-1,0],[-1,1]],create:function(e,t){function n(e,t,n,r){var o,c,d;for(o=0;o<7;o++){if(c=e.cy+l[e.dir][0],d=e.cx+l[e.dir][1],a[i=c*u+d]===t&&(0===s[i]||s[i]===n))return s[i]=n,e.cy=c,e.cx=d,!0;0===s[i]&&(s[i]=r),e.dir=(e.dir+1)%8}return!1}function r(e,t,n){return{dir:n,x:e,y:t,next:null,prev:null}}function o(e,t,o,i,a){var s,l,u,c=null,d={cx:t,cy:e,dir:0};if(n(d,i,o,a)){s=c=r(t,e,d.dir),u=d.dir,(l=r(d.cx,d.cy,0)).prev=s,s.next=l,l.next=null,s=l;do{d.dir=(d.dir+6)%8,n(d,i,o,a),u!==d.dir?(s.dir=d.dir,(l=r(d.cx,d.cy,0)).prev=s,s.next=l,l.next=null,s=l):(s.dir=u,s.x=d.cx,s.y=d.cy),u=d.dir}while(d.cx!==t||d.cy!==e);c.prev=s.prev,s.prev.next=c}return c}var i,a=e.data,s=t.data,l=this.searchDirections,u=e.size.x;return{trace:function(e,t,r,o){return n(e,t,r,o)},contourTracing:function(e,t,n,r,i){return o(e,t,n,r,i)}}}}},function(e,t,n){"use strict";function r(){o.a.call(this)}var o=n(1),i=n(3);r.prototype=Object.create(o.a.prototype,{ALPHABETH_STRING:{value:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,45,46,32,42,36,47,43,37]},CHARACTER_ENCODINGS:{value:[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,148,168,162,138,42]},ASTERISK:{value:148},FORMAT:{value:"code_39",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var e,t,n,r,o=this,a=[0,0,0,0,0,0,0,0,0],s=[],l=o._findStart();if(!l)return null;r=o._nextSet(o._row,l.end);do{if(a=o._toCounters(r,a),(n=o._toPattern(a))<0)return null;if((e=o._patternToChar(n))<0)return null;s.push(e),t=r,r+=i.a.sum(a),r=o._nextSet(o._row,r)}while("*"!==e);return s.pop(),s.length&&o._verifyTrailingWhitespace(t,r,a)?{code:s.join(""),start:l.start,end:r,startInfo:l,decodedCodes:s}:null},r.prototype._verifyTrailingWhitespace=function(e,t,n){var r=i.a.sum(n);return 3*(t-e-r)>=r},r.prototype._patternToChar=function(e){var t,n=this;for(t=0;tt&&(r=e[n]);return r},r.prototype._toPattern=function(e){for(var t,n,r=e.length,o=0,i=r,a=0;i>3;){for(o=this._findNextWidth(e,o),i=0,t=0,n=0;no&&(t|=1<0;n++)if(e[n]>o&&(i--,2*e[n]>=a))return-1;return t}}return-1},r.prototype._findStart=function(){var e,t,n,r=this,o=r._nextSet(r._row),i=o,a=[0,0,0,0,0,0,0,0,0],s=0,l=!1;for(e=o;e0)for(r=0;r0){if(!(e=H.filter(function(e){return!e.busy})[0]))return;m.attachData(e.imageData)}else m.attachData(b.data);m.grab()&&(e?(e.busy=!0,e.worker.postMessage({cmd:"process",imageData:e.imageData},[e.imageData.buffer])):l())}else l()}function c(){var e,t;Y&&"LiveStream"===N.inputStream.type?(e=null,t=1e3/(N.frequency||60),_=!1,function n(r){e=e||r,_||(r>=e&&(e+=t,u()),window.requestAnimFrame(n))}(performance.now())):u()}function d(e){var t,n={worker:void 0,imageData:new Uint8Array(h.getWidth()*h.getHeight()),busy:!0};t=f(),n.worker=new Worker(t),n.worker.onmessage=function(r){if("initialized"===r.data.event)return URL.revokeObjectURL(t),n.busy=!1,n.imageData=new Uint8Array(r.data.imageData),e(n);"processed"===r.data.event?(n.imageData=new Uint8Array(r.data.imageData),n.busy=!1,s(r.data.result,n.imageData)):r.data.event},n.worker.postMessage({cmd:"init",size:{x:h.getWidth(),y:h.getHeight()},imageData:n.imageData,config:function(e){return P({},e,{inputStream:P({},e.inputStream,{target:null})})}(N)},[n.imageData.buffer])}function f(){var t,n;return void 0!==e&&(n=e),t=new Blob(["("+function(e){function t(e){self.postMessage({event:"processed",imageData:o.data,result:e},[o.data.buffer])}function n(){self.postMessage({event:"initialized",imageData:o.data},[o.data.buffer])}if(e){var r=e().default;if(!r)return void self.postMessage({event:"error",message:"Quagga could not be created"})}var o;self.onmessage=function(e){if("init"===e.data.cmd){var i=e.data.config;i.numOfWorkers=0,o=new r.ImageWrapper({x:e.data.size.x,y:e.data.size.y},new Uint8Array(e.data.imageData)),r.init(i,n,o),r.onProcessed(t)}else"process"===e.data.cmd?(o.data=new Uint8Array(e.data.imageData),r.start()):"setReaders"===e.data.cmd&&r.setReaders(e.data.readers)}}.toString()+")("+n+");"],{type:"text/javascript"}),window.URL.createObjectURL(t)}function p(e,t){var n=e-H.length;if(0===n)return t&&t();if(n<0)return H.slice(n).forEach(function(e){e.worker.terminate()}),H=H.slice(0,n),t&&t();for(var r=function(n){H.push(n),H.length>=e&&t&&t()},o=0;o0&&H.forEach(function(t){t.worker.postMessage({cmd:"setReaders",readers:e})})}(e)},registerResultCollector:function(e){e&&"function"==typeof e.addResult&&(v=e)},canvas:R,decodeSingle:function(e,t){var n=this;e=k()({inputStream:{type:"ImageStream",sequence:!1,size:800,src:e.src},numOfWorkers:1,locator:{halfSample:!1}},e),this.init(e,function(){E.a.once("processed",function(e){n.stop(),t.call(null,e)},!0),c()})},ImageWrapper:T.a,ImageDebug:S.a,ResultCollector:D.a,CameraAccess:L.a}},function(e,t,n){"use strict";var r=n(9);t.a={create:function(e){function t(t){return a&&t&&!function(e,t){return!!t&&t.some(function(t){return Object.keys(t).every(function(n){return t[n]===e[n]})})}(t,e.blacklist)&&function(e,t){return"function"!=typeof t||t(e)}(t,e.filter)}var n=document.createElement("canvas"),o=n.getContext("2d"),i=[],a=e.capacity||20,s=!0===e.capture;return{addResult:function(e,l,u){var c={};t(u)&&(a--,c.codeResult=u,s&&(n.width=l.x,n.height=l.y,r.a.drawImage(e,l,o),c.frame=n.toDataURL()),i.push(c))},getResults:function(){return i}}}}},function(e,t,n){"use strict";var r={clone:n(7),dot:n(32)};t.a={create:function(e,t){function n(e){s[e.id]=e,i.push(e)}function o(){var e,t=0;for(e=0;et},getPoints:function(){return i},getCenter:function(){return a}}},createPoint:function(e,t,n){return{rad:e[n],point:e,id:t}}}},function(e,t,n){"use strict";t.a=function(){function e(e){return o[e]||(o[e]={subscribers:[]}),o[e]}function t(){o={}}function n(e,t){e.async?setTimeout(function(){e.callback(t)},4):e.callback(t)}function r(t,n,r){var o;if("function"==typeof n)o={callback:n,async:r};else if(!(o=n).callback)throw"Callback was not specified on options";e(t).subscribers.push(o)}var o={};return{subscribe:function(e,t,n){return r(e,t,n)},publish:function(t,r){var o=e(t),i=o.subscribers;i.filter(function(e){return!!e.once}).forEach(function(e){n(e,r)}),o.subscribers=i.filter(function(e){return!e.once}),o.subscribers.forEach(function(e){n(e,r)})},once:function(e,t,n){r(e,{callback:t,async:n,once:!0})},unsubscribe:function(n,r){var o;n?(o=e(n)).subscribers=o&&r?o.subscribers.filter(function(e){return e.callback!==r}):[]:t()}}}()},function(e,t,n){"use strict";t.b=function(){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.enumerateDevices?navigator.mediaDevices.enumerateDevices():Promise.reject(new Error("enumerateDevices is not defined"))},t.a=function(e){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia(e):Promise.reject(new Error("getUserMedia is not defined"))}},function(e,t,n){"use strict";function r(e,t,n){n||(n={data:null,size:t}),this.data=n.data,this.originalSize=n.size,this.I=n,this.from=e,this.size=t}r.prototype.show=function(e,t){var n,r,o,i,a,s,l;for(t||(t=1),n=e.getContext("2d"),e.width=this.size.x,e.height=this.size.y,o=(r=n.getImageData(0,0,e.width,e.height)).data,i=0,a=0;a>>16&65535)*r+n*(t>>>16&65535)<<16>>>0)|0},"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n1&&(!t.inImageWithBorder(e[0],0)||!t.inImageWithBorder(e[1],0));)o(-(r-=Math.ceil(r/2)));return e}function i(e){var n,o=null,i=r.a.getBarcodeLine(t,e[0],e[1]);for(r.a.toBinaryLine(i),n=0;nw?d:w,b.push(d)}var o,i,a,s,l,u,c,d,f=0|t.x,p=0|t.y,h=0|n.x,m=0|n.y,_=Math.abs(m-p)>Math.abs(h-f),b=[],g=e.data,y=e.size.x,v=255,w=0;for(_&&(u=f,f=p,p=u,u=h,h=m,m=u),f>h&&(u=f,f=h,h=u,u=p,p=m,m=u),o=h-f,i=Math.abs(m-p),a=o/2|0,l=p,s=pd?o.UP:o.DOWN,f.push({pos:0,val:c[0]}),a=0;ap&&c[a+1]>.5*d?o.UP:r)&&(f.push({pos:a,val:c[a]}),r=i);for(f.push({pos:c.length,val:c[c.length-1]}),s=f[0].pos;sd?0:1;for(a=1;af[a].val?f[a].val+(f[a+1].val-f[a].val)/3*2|0:f[a+1].val+(f[a].val-f[a+1].val)/3|0,s=f[a].pos;sp?0:1;return{line:c,threshold:p}},r.debug={printFrequency:function(e,t){var n,r=t.getContext("2d");for(t.width=e.length,t.height=256,r.beginPath(),r.strokeStyle="blue",n=0;n0?e.videoWidth>10&&e.videoHeight>10?t():window.setTimeout(o,500):n("Unable to play video stream. Is webcam working?"),r--}()})}.bind(null,e))}function o(e){var t={audio:!1,video:function(e){var t=l()(e,["width","height","facingMode","aspectRatio","deviceId"]);return void 0!==e.minAspectRatio&&e.minAspectRatio>0&&(t.aspectRatio=e.minAspectRatio,console.log("WARNING: Constraint 'minAspectRatio' is deprecated; Use 'aspectRatio' instead")),void 0!==e.facing&&(t.facingMode=e.facing,console.log("WARNING: Constraint 'facing' is deprecated. Use 'facingMode' instead'")),t}(e)};return t.video.deviceId&&t.video.facingMode&&delete t.video.facingMode,Promise.resolve(t)}function i(){if(a){var e=a.getVideoTracks();if(e&&e.length)return e[0]}}var a,s=n(162),l=n.n(s),u=n(52);t.a={request:function(e,t){return o(t).then(r.bind(null,e))},release:function(){var e=a&&a.getVideoTracks();e&&e.length&&e[0].stop(),a=null},enumerateVideoDevices:function(){return n.i(u.b)().then(function(e){return e.filter(function(e){return"videoinput"===e.kind})})},getActiveStreamLabel:function(){var e=i();return e?e.label:""},getActiveTrack:i}},function(e,t,n){"use strict";function r(e){return new Promise(function(t){var n=new FileReader;n.onload=function(e){return t(e.target.result)},n.readAsArrayBuffer(e)})}function o(e,t,n){if("Exif"!==function(e,t,n){for(var r="",o=t;o1&&void 0!==arguments[1]?arguments[1]:s;return/^blob\:/i.test(e)?function(e){return new Promise(function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="blob",r.onreadystatechange=function(){r.readyState!==XMLHttpRequest.DONE||200!==r.status&&0!==r.status||t(this.response)},r.onerror=n,r.send()})}(e).then(r).then(function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,n=new DataView(e),r=e.byteLength,i=t.reduce(function(e,t){var n=Object.keys(a).filter(function(e){return a[e]===t})[0];return n&&(e[n]=t),e},{}),l=2;if(255!==n.getUint8(0)||216!==n.getUint8(1))return!1;for(;l1?i.size:Math.floor(t/o*i.size):t,r=i.size?t/o>1?Math.floor(o/t*i.size):i.size:o,u.x=n,u.y=r}var n,r,o={},i=null,a=["canrecord","ended"],s={},l={x:0,y:0},u={x:0,y:0};return o.getRealWidth=function(){return e.videoWidth},o.getRealHeight=function(){return e.videoHeight},o.getWidth=function(){return n},o.getHeight=function(){return r},o.setWidth=function(e){n=e},o.setHeight=function(e){r=e},o.setInputStream=function(t){i=t,e.src=void 0!==t.src?t.src:""},o.ended=function(){return e.ended},o.getConfig=function(){return i},o.setAttribute=function(t,n){e.setAttribute(t,n)},o.pause=function(){e.pause()},o.play=function(){e.play()},o.setCurrentTime=function(t){"LiveStream"!==i.type&&(e.currentTime=t)},o.addEventListener=function(t,n,r){-1!==a.indexOf(t)?(s[t]||(s[t]=[]),s[t].push(n)):e.addEventListener(t,n,r)},o.clearEventHandlers=function(){a.forEach(function(t){var n=s[t];n&&n.length>0&&n.forEach(function(n){e.removeEventListener(t,n)})})},o.trigger=function(e,n){var r,i=s[e];if("canrecord"===e&&t(),i&&i.length>0)for(r=0;r1?a.size:Math.floor(s/l*a.size):s,o=a.size?s/l>1?Math.floor(l/s*a.size):a.size:l,v.x=n,v.y=o,d=!0,u=0,setTimeout(function(){t("canrecord",[])},0)},h,p,a.sequence)}function t(e,t){var n,r=g[e];if(r&&r.length>0)for(n=0;nd&&(d=o.box[r][0]),o.box[r][1]f&&(f=o.box[r][1]);for(a=[[u,c],[d,c],[d,f],[u,f]],s=l.halfSample?2:1,i=E.invert(i,i),r=0;r<4;r++)O.transformMat2(a[r],a[r],i);for(r=0;r<4;r++)O.scale(a[r],a[r],s);return a}function i(e){var t=n.i(w.g)(e,.9),r=n.i(w.h)(t,1,function(e){return e.getPoints().length}),o=[],i=[];if(1===r.length){o=r[0].item.getPoints();for(var a=0;a=2){for(o=0;of&&u.push(e[o]);if(u.length>=2){for(s=i(u),a=0,o=0;o1&&s.length>=u.length/4*3&&s.length>e.length/4&&(a/=s.length,l={index:t[1]*S.x+t[0],pos:{x:n,y:r},box:[O.clone([n,r]),O.clone([n+d.size.x,r]),O.clone([n+d.size.x,r+d.size.y]),O.clone([n,r+d.size.y])],moments:s,rad:a,vec:O.clone([Math.cos(a),Math.sin(a)])},c.push(l))}}return c}var l,u,c,d,f,p,h,m,_,b,g,y,v=n(20),w=n(19),k=n(3),x=(n(9),n(65)),T=n(30),M=n(66),O={clone:n(7),dot:n(32),scale:n(81),transformMat2:n(82)},E={copy:n(78),create:n(79),invert:n(80)},L={ctx:{binary:null},dom:{binary:null}},S={x:0,y:0};t.a={init:function(e,t){l=t,g=e,r(),l.useWorker||"undefined"==typeof document||(L.dom.binary=document.createElement("canvas"),L.dom.binary.className="binaryBuffer",L.ctx.binary=L.dom.binary.getContext("2d"),L.dom.binary.width=_.size.x,L.dom.binary.height=_.size.y)},locate:function(){var e,t;if(l.halfSample&&n.i(w.i)(g,u),n.i(w.f)(u,_),_.zeroBorder(),(e=function(){var e,t,n,r,o,i,l=[];for(e=0;ea&&n(s):h.data[s]=Number.MAX_VALUE}var r,o,i=0,a=.95,s=0;for(k.a.init(p.data,0),k.a.init(h.data,0),k.a.init(m.data,null),r=0;r0&&r[h.data[n]-1]++;return(r=r.map(function(e,t){return{val:e,label:t+1}})).sort(function(e,t){return t.val-e.val}),r.filter(function(e){return e.val>=5})}(r)).length?null:function(e,t){var n,r,i,a,s=[],l=[];for(n=0;n0){a=a-1|0;r[n+a|0]=(r[e+a|0]|0)-(r[t+a|0]|0)|0}}function l(e,t,n){e=e|0;t=t|0;n=n|0;var a=0;a=i(o,o)|0;while((a|0)>0){a=a-1|0;r[n+a|0]=r[e+a|0]|0|(r[t+a|0]|0)|0}}function u(e){e=e|0;var t=0,n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;t=(t|0)+(r[e+n|0]|0)|0}return t|0}function c(e,t){e=e|0;t=t|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[e+n|0]=t}}function d(e,t){e=e|0;t=t|0;var n=0,i=0,a=0,s=0,l=0,u=0,c=0,d=0;for(n=1;(n|0)<(o-1|0);n=n+1|0){d=d+o|0;for(i=1;(i|0)<(o-1|0);i=i+1|0){s=d-o|0;l=d+o|0;u=i-1|0;c=i+1|0;a=(r[e+s+u|0]|0)+(r[e+s+c|0]|0)+(r[e+d+i|0]|0)+(r[e+l+u|0]|0)+(r[e+l+c|0]|0)|0;if((a|0)>(0|0)){r[t+d+i|0]=1}else{r[t+d+i|0]=0}}}return}function f(e,t){e=e|0;t=t|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[t+n|0]=r[e+n|0]|0}}function p(e){e=e|0;var t=0,n=0;for(t=0;(t|0)<(o-1|0);t=t+1|0){r[e+t|0]=0;r[e+n|0]=0;n=n+o-1|0;r[e+n|0]=0;n=n+1|0}for(t=0;(t|0)<(o|0);t=t+1|0){r[e+n|0]=0;n=n+1|0}}function h(){var e=0,t=0,n=0,r=0,h=0,m=0;t=i(o,o)|0;n=t+t|0;r=n+t|0;c(r,0);p(e);do{a(e,t);d(t,n);s(e,n,n);l(r,n,r);f(t,e);h=u(e)|0;m=(h|0)==0|0}while(!m)}return{skeletonize:h}}},function(e,t,n){"use strict";function r(e){o.a.call(this,e),this.barSpaceRatio=[1,1]}var o=n(1),i={START_PATTERN:{value:[3,1,3,1,1,1]},STOP_PATTERN:{value:[3,1,1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.3,writable:!0},FORMAT:{value:"2of5"}},a=i.START_PATTERN.value.reduce(function(e,t){return e+t},0);r.prototype=Object.create(o.a.prototype,i),r.prototype.constructor=r,r.prototype._findPattern=function(e,t,n,r){var o,i,a,s,l=[],u=this,c=0,d={error:Number.MAX_VALUE,code:-1,start:0,end:0},f=u.AVG_CODE_ERROR;for(n=n||!1,r=r||!1,t||(t=u._nextSet(u._row)),o=0;o=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start)/2)1&&i._isStartEnd(n))break}while(ri._counters.length?i._counters.length:r,o=e.start+i._sumCounters(e.startCounter,r-8),{code:a.join(""),start:e.start,end:o,startInfo:e,decodedCodes:a}):null},r.prototype._verifyWhitespace=function(e,t){return(e-1<=0||this._counters[e-1]>=this._calculatePatternLength(e)/2)&&(t+8>=this._counters.length||this._counters[t+7]>=this._calculatePatternLength(t)/2)},r.prototype._calculatePatternLength=function(e){var t,n=0;for(t=e;t=0;i--)n=2==(1&i)?l.bar:l.space,(r=1==(1&a)?n.wide:n.narrow).size+=s._counters[u+i],r.counts++,a>>=1;u+=8}return["space","bar"].forEach(function(e){var t=l[e];t.wide.min=Math.floor((t.narrow.size/t.narrow.counts+t.wide.size/t.wide.counts)/2),t.narrow.max=Math.ceil(t.wide.min),t.wide.max=Math.ceil((t.wide.size*s.MAX_ACCEPTABLE+s.PADDING)/t.wide.counts)}),l},r.prototype._charToPattern=function(e){var t,n=this,r=e.charCodeAt(0);for(t=0;t=0;r--){if(o=0==(1&r)?u.bar:u.space,i=1==(1&s)?o.wide:o.narrow,(a=l._counters[c+r])i.max)return!1;s>>=1}c+=8}return!0},r.prototype._patternToChar=function(e){var t,n=this;for(t=0;ti&&(i=r),rthis._counters.length)return-1;for(t=this._computeAlternatingThreshold(e,i),n=this._computeAlternatingThreshold(e+1,i),r=0;r<7;r++)o=0==(1&r)?t:n,this._counters[e+r]>o&&(s|=a),a>>=1;return s},r.prototype._isStartEnd=function(e){var t;for(t=0;ts.AVG_CODE_ERROR?null:(s.CODE_PATTERN[d.code]&&(d.correction.bar=o(s.CODE_PATTERN[d.code],a,this.MODULE_INDICES.bar),d.correction.space=o(s.CODE_PATTERN[d.code],a,this.MODULE_INDICES.space)),d)}a[++c]=1,u=!u}return null},r.prototype._correct=function(e,t){this._correctBars(e,t.bar,this.MODULE_INDICES.bar),this._correctBars(e,t.space,this.MODULE_INDICES.space)},r.prototype._findStart=function(){var e,t,n,r,i,a=[0,0,0,0,0,0],s=this,l=s._nextSet(s._row),u=!1,c=0,d={error:Number.MAX_VALUE,code:-1,start:0,end:0,correction:{bar:1,space:1}};for(e=l;e4)return-1;if(0==(1&i))for(var s=0;s="a"&&o<="d"){if(r>t-2)return null;var i=e[++r],a=i.charCodeAt(0),s=void 0;switch(o){case"a":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a-64);break;case"b":if(i>="A"&&i<="E")s=String.fromCharCode(a-38);else if(i>="F"&&i<="J")s=String.fromCharCode(a-11);else if(i>="K"&&i<="O")s=String.fromCharCode(a+16);else if(i>="P"&&i<="S")s=String.fromCharCode(a+43);else{if(!(i>="T"&&i<="Z"))return null;s=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")s=String.fromCharCode(a-32);else{if("Z"!==i)return null;s=":"}break;case"d":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a+32)}n.push(s)}else n.push(o)}return n},r.prototype._verifyChecksums=function(e){return this._matchCheckChar(e,e.length-2,20)&&this._matchCheckChar(e,e.length-1,15)},r.prototype._matchCheckChar=function(e,t,n){var r=this,o=e.slice(0,t),i=o.length,a=o.reduce(function(e,t,o){return e+((-1*o+(i-1))%n+1)*r.ALPHABET.indexOf(t.charCodeAt(0))},0);return this.ALPHABET[a%47]===e[t].charCodeAt(0)},t.a=r},function(e,t,n){"use strict";function r(){o.a.call(this)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_2",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(e,t){this._row=e;var n,r=0,o=0,i=t,a=this._row.length,s=[],l=[];for(o=0;o<2&&i=this.CODE_G_START&&(r|=1<<1-o),1!=o&&(i=this._nextSet(this._row,n.end),i=this._nextUnset(this._row,i))}return 2!=s.length||parseInt(s.join(""))%4!==r?null:{code:s.join(""),decodedCodes:l,end:n.end}},t.a=r},function(e,t,n){"use strict";function r(){i.a.call(this)}function o(e){var t;for(t=0;t<10;t++)if(e===a[t])return t;return null}var i=n(4),a=[24,20,18,17,12,6,3,10,9,5];r.prototype=Object.create(i.a.prototype,{FORMAT:{value:"ean_5",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(e,t){this._row=e;var n,r=0,i=0,a=t,s=this._row.length,l=[],u=[];for(i=0;i<5&&a=this.CODE_G_START&&(r|=1<<4-i),4!=i&&(a=this._nextSet(this._row,n.end),a=this._nextUnset(this._row,a))}return 5!=l.length?null:function(e){var t,n=e.length,r=0;for(t=n-2;t>=0;t-=2)r+=e[t];for(r*=3,t=n-1;t>=0;t-=2)r+=e[t];return(r*=3)%10}(l)!==o(r)?null:{code:l.join(""),decodedCodes:u,end:n.end}},t.a=r},function(e,t,n){"use strict";function r(e,t){o.a.call(this,e,t)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_8",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodePayload=function(e,t,n){var r,o=this;for(r=0;r<4;r++){if(!(e=o._decodeCode(e.end,o.CODE_G_START)))return null;t.push(e.code),n.push(e)}if(null===(e=o._findPattern(o.MIDDLE_PATTERN,e.end,!0,!1)))return null;for(n.push(e),r=0;r<4;r++){if(!(e=o._decodeCode(e.end,o.CODE_G_START)))return null;n.push(e),t.push(e.code)}return e},t.a=r},function(e,t,n){"use strict";function r(e){e=i()(function(){var e={};return Object.keys(r.CONFIG_KEYS).forEach(function(t){e[t]=r.CONFIG_KEYS[t].default}),e}(),e),a.a.call(this,e),this.barSpaceRatio=[1,1],e.normalizeBarSpaceWidth&&(this.SINGLE_CODE_ERROR=.38,this.AVG_CODE_ERROR=.09)}var o=n(28),i=n.n(o),a=n(1),s={START_PATTERN:{value:[1,1,1,1]},STOP_PATTERN:{value:[1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.38,writable:!0},MAX_CORRECTION_FACTOR:{value:5},FORMAT:{value:"i2of5"}};r.prototype=Object.create(a.a.prototype,s),r.prototype.constructor=r,r.prototype._matchPattern=function(e,t){if(this.config.normalizeBarSpaceWidth){var n,r=[0,0],o=[0,0],i=[0,0],s=this.MAX_CORRECTION_FACTOR,l=1/s;for(n=0;n=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start)/2)=o.CODE_G_START&&(e.code=e.code-o.CODE_G_START,i|=1<<5-r),t.push(e.code),n.push(e)}return o._determineParity(i,t)?e:null},r.prototype._determineParity=function(e,t){var n,r;for(r=0;r0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(e,t,n){var r=n(117)();e.exports=r},function(e,t,n){var r=n(13),o=n(23);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1}},function(e,t,n){var r=n(12);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(84),o=n(10),i=n(33);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(14);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(14);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(161),o=500;e.exports=function(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(38),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(t,n(29)(e))},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t){var n=800,r=16,o=Date.now;e.exports=function(e){var t=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(10);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(10),o=n(33),i=n(34),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length0){var n=t[0].field;e.activate&&n===l.field&&(e.requestListData(!0,!0),e.activate())}}}),n.setState({property:l.field})):n.setState({property:l.field})}else r[r.length-1].field===e&&n.setState({property:""},function(){i&&i()})})}}),Object.defineProperty(n,"dropdownListToggle",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props,o=r.onFocus,i=r.onBlur;n._changeWidgetProperty(t,"dropdownOpen",e,function(){n.setState({isDropdownListOpen:e}),e&&o?o():!e&&i&&i()})}}),Object.defineProperty(n,"resetLocalClearing",{enumerable:!0,writable:!0,value:function(){n.setState({localClearing:!1})}}),Object.defineProperty(n,"handleClickOutside",{enumerable:!0,writable:!0,value:function(){var e=n.props.onClickOutside,t=n.state,r=t.isDropdownListOpen,o=t.isFocused;(r||o)&&n.setState({isDropdownListOpen:!1,isFocused:!1,lookupWidgets:n.rawLookupsState,property:""},function(){e&&e()})}}),Object.defineProperty(n,"handleInputEmptyStatus",{enumerable:!0,writable:!0,value:function(e){n.setState({isInputEmpty:e})}}),Object.defineProperty(n,"handleClear",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.onChange,r=e.properties,o=e.onSelectBarcode;t&&t(r,null,!1),o&&o(null),n.setState({isInputEmpty:!0,property:"",initialFocus:!0,localClearing:!0,autofocusDisabled:!1})}}),Object.defineProperty(n,"handleListFocus",{enumerable:!0,writable:!0,value:function(e){n._changeWidgetProperty(e,"isFocused",!0,function(){n.setState({isFocused:!0}),n.props.onFocus()})}}),Object.defineProperty(n,"handleListBlur",{enumerable:!0,writable:!0,value:function(e){n._changeWidgetProperty(e,"isFocused",!1,function(){n.setState({isFocused:!1}),n.props.onBlur()})}}),Object.defineProperty(n,"disableAutofocus",{enumerable:!0,writable:!0,value:function(){n.setState({autofocusDisabled:!0})}}),Object.defineProperty(n,"enableAutofocus",{enumerable:!0,writable:!0,value:function(){n.setState({autofocusDisabled:!1})}}),Object.defineProperty(n,"renderInputControls",{enumerable:!0,writable:!0,value:function(e){var t=n.props.onScanBarcode,r=n.state.isInputEmpty;return a.default.createElement("div",{className:"input-icon input-icon-lg raw-lookup-wrapper",onClick:null},e?a.default.createElement("button",{className:"btn btn-sm btn-meta-success btn-scanner",onClick:function(){return t(!0)}},"Scan using camera"):null,a.default.createElement("i",{className:(0,c.default)({"meta-icon-close-alt":!r,"meta-icon-preview":r}),onClick:r?null:n.handleClear}))}});var o={};return e.properties&&(e.properties.forEach(function(e){o[""+e.field]={dropdownOpen:!1,fireClickOutside:!1,fireDropdownList:!1,isFocused:!1,isInputEmpyt:!1}}),n.rawLookupsState=r({},o)),n.state={isInputEmpty:!0,propertiesCopy:(0,f.getItemsByProperty)(e.properties,"source","list"),property:"",fireClickOutside:!1,initialFocus:!1,localClearing:!1,autofocusDisabled:!1,isFocused:!1,isDropdownListOpen:!1,lookupWidgets:o},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,i.Component),o(t,[{key:"componentDidMount",value:function(){this.checkIfDefaultValue()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.defaultValue,r=t.selected;n&&e.defaultValue&&!d.isEqual(n[0].value,e.defaultValue[0].value)&&this.checkIfDefaultValue(),d.isEqual(r,e.selected)||this.setState({isInputEmpty:!e.selected,localClearing:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.rank,o=t.readonly,i=t.defaultValue,s=t.placeholder,l=t.align,u=t.isModal,d=t.updated,p=t.filterWidget,_=t.mandatory,b=t.rowId,g=t.tabIndex,y=t.validStatus,v=t.recent,w=t.onChange,k=t.newRecordCaption,x=t.properties,T=t.windowType,M=t.parameterName,O=t.entity,E=t.dataId,L=t.tabId,S=t.subentity,D=t.subentityId,j=t.viewId,C=t.autoFocus,A=t.newRecordWindowId,P=t.scanning,I=t.barcodeSelected,R=t.scannerElement,H=t.forceFullWidth,Y=this.state,N=Y.isInputEmpty,W=Y.property,J=Y.fireClickOutside,V=Y.initialFocus,U=Y.localClearing,X=Y.fireDropdownList,G=Y.autofocusDisabled,F=_&&(N||y&&y.initialValue&&!y.valid),z=y&&!y.valid&&!y.initialValue,B=n||"primary",q=!1;return this.linkedList=[],P?a.default.createElement("div",{className:"overlay-field js-not-unselect"},R):a.default.createElement("div",{ref:function(t){return e.dropdown=t},className:(0,c.default)("input-dropdown-container lookup-wrapper","input-"+B,{"pulse-on":d,"pulse-off":!d,"input-full":p,"input-mandatory":F,"input-error":z,"lookup-wrapper-disabled":o})},x&&x.map(function(t,x){q="M_LocatorTo_ID"===t.field;var P=e.getLookupWidget(t.field),R=N&&0!==x,Y=(0,f.getItemsByProperty)(i,"field",t.field)[0];if("lookup"===t.source||"Lookup"===t.widgetType||Y&&"Lookup"===Y.widgetType){var F=U?null:Y.value;I&&(F={caption:I});var z=null;return H&&e.dropdown&&(z=e.dropdown.offsetWidth),a.default.createElement(m.default,r({key:x,defaultValue:F,autoFocus:0===x&&C,initialFocus:0===x&&V,mainProperty:[t],resetLocalClearing:e.resetLocalClearing,setNextProperty:e.setNextProperty,lookupEmpty:N,fireDropdownList:X,handleInputEmptyStatus:e.handleInputEmptyStatus,enableAutofocus:e.enableAutofocus,onBlur:function(){return e.handleListBlur(t.field)},onFocus:function(){return e.handleListFocus(t.field)},isOpen:P.dropdownOpen,onDropdownListToggle:function(n){e.dropdownListToggle(n,t.field)},forcedWidth:z,parentElement:H&&e.dropdown},{placeholder:s,readonly:o,tabIndex:g,windowType:T,parameterName:M,entity:O,dataId:E,isModal:u,recent:v,rank:n,updated:d,filterWidget:p,mandatory:_,validStatus:y,align:l,onChange:w,item:t,disabled:R,fireClickOutside:J,viewId:j,subentity:S,subentityId:D,tabId:L,rowId:b,newRecordCaption:k,newRecordWindowId:A,localClearing:U}))}if("list"===t.source||"List"===t.widgetType||Y&&"List"===Y.source){var B=0===x,K=t.field===W&&!G,Z=U?null:Y.value;return a.default.createElement("div",{key:t.field,className:(0,c.default)("raw-lookup-wrapper raw-lookup-wrapper-bcg",{"raw-lookup-disabled":R||o,focused:e.getFocused(t.field)})},a.default.createElement(h.default,r({ref:function(t){t&&e.linkedList.push(t.getWrappedInstance())},clearable:!1,readonly:R||o,lookupList:!0,autoFocus:K,doNotOpenOnFocus:!1,properties:[t],mainProperty:[t],defaultValue:Z||"",initialFocus:!!B&&V,blur:!W,setNextProperty:e.setNextProperty,disableAutofocus:e.disableAutofocus,enableAutofocus:e.enableAutofocus,onFocus:function(){return e.handleListFocus(t.field)},onBlur:function(){return e.handleListBlur(t.field)}},{dataId:E,entity:O,windowType:T,filterWidget:p,tabId:L,rowId:b,subentity:S,subentityId:D,viewId:j,onChange:w,isInputEmpty:N,property:W})))}}),!o&&this.renderInputControls(q))}}]),t}();g.propTypes={onFocus:s.default.func,onBlur:s.default.func,forceFullWidth:s.default.bool};var y=(0,u.connect)()((0,p.default)((0,l.default)(g)));t.default=y;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(g,"Lookup","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/Lookup/Lookup.js"),__REACT_HOT_LOADER__.register(y,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/Lookup/Lookup.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t1;return i.default.createElement("div",{className:"form-group-flex-item"},t&&t.map(function(e,t){return i.default.createElement(a.default,{device:e,key:t,index:t,handleChange:n,isMore:o,tabIndex:r})}))}}]),t}(),u=l;t.default=u;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(l,"DevicesWidget","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/Devices/DevicesWidget.js"),__REACT_HOT_LOADER__.register(u,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/Devices/DevicesWidget.js"))},function(e,t,n){"use strict";e.exports=function(){return["","alwaysShowCalendars","applyClass","autoApply","autoUpdateInput","buttonClasses","cancelClass","dateLimit","drops","endDate","isCustomDate","isInvalidDate","linkedCalendars","locale","maxDate","minDate","opens","parentEl","ranges","showCustomRangeLabel","showDropdowns","showISOWeekNumbers","showWeekNumbers","singleDatePicker","startDate","template","timePicker","timePicker24Hour","timePickerIncrement","timePickerSeconds"]}},function(e,t,n){var r={"./af":356,"./af.js":356,"./ar":355,"./ar-dz":354,"./ar-dz.js":354,"./ar-kw":353,"./ar-kw.js":353,"./ar-ly":352,"./ar-ly.js":352,"./ar-ma":351,"./ar-ma.js":351,"./ar-sa":350,"./ar-sa.js":350,"./ar-tn":349,"./ar-tn.js":349,"./ar.js":355,"./az":348,"./az.js":348,"./be":347,"./be.js":347,"./bg":346,"./bg.js":346,"./bm":345,"./bm.js":345,"./bn":344,"./bn.js":344,"./bo":343,"./bo.js":343,"./br":342,"./br.js":342,"./bs":341,"./bs.js":341,"./ca":340,"./ca.js":340,"./cs":339,"./cs.js":339,"./cv":338,"./cv.js":338,"./cy":337,"./cy.js":337,"./da":336,"./da.js":336,"./de":335,"./de-at":334,"./de-at.js":334,"./de-ch":333,"./de-ch.js":333,"./de.js":335,"./dv":332,"./dv.js":332,"./el":331,"./el.js":331,"./en-au":330,"./en-au.js":330,"./en-ca":329,"./en-ca.js":329,"./en-gb":328,"./en-gb.js":328,"./en-ie":327,"./en-ie.js":327,"./en-nz":326,"./en-nz.js":326,"./eo":325,"./eo.js":325,"./es":324,"./es-do":323,"./es-do.js":323,"./es-us":322,"./es-us.js":322,"./es.js":324,"./et":321,"./et.js":321,"./eu":320,"./eu.js":320,"./fa":319,"./fa.js":319,"./fi":318,"./fi.js":318,"./fo":317,"./fo.js":317,"./fr":316,"./fr-ca":315,"./fr-ca.js":315,"./fr-ch":314,"./fr-ch.js":314,"./fr.js":316,"./fy":313,"./fy.js":313,"./gd":312,"./gd.js":312,"./gl":311,"./gl.js":311,"./gom-latn":310,"./gom-latn.js":310,"./gu":309,"./gu.js":309,"./he":308,"./he.js":308,"./hi":307,"./hi.js":307,"./hr":306,"./hr.js":306,"./hu":305,"./hu.js":305,"./hy-am":304,"./hy-am.js":304,"./id":303,"./id.js":303,"./is":302,"./is.js":302,"./it":301,"./it.js":301,"./ja":300,"./ja.js":300,"./jv":299,"./jv.js":299,"./ka":298,"./ka.js":298,"./kk":297,"./kk.js":297,"./km":296,"./km.js":296,"./kn":295,"./kn.js":295,"./ko":294,"./ko.js":294,"./ky":293,"./ky.js":293,"./lb":292,"./lb.js":292,"./lo":291,"./lo.js":291,"./lt":290,"./lt.js":290,"./lv":289,"./lv.js":289,"./me":288,"./me.js":288,"./mi":287,"./mi.js":287,"./mk":286,"./mk.js":286,"./ml":285,"./ml.js":285,"./mr":284,"./mr.js":284,"./ms":283,"./ms-my":282,"./ms-my.js":282,"./ms.js":283,"./mt":281,"./mt.js":281,"./my":280,"./my.js":280,"./nb":279,"./nb.js":279,"./ne":278,"./ne.js":278,"./nl":277,"./nl-be":276,"./nl-be.js":276,"./nl.js":277,"./nn":275,"./nn.js":275,"./pa-in":274,"./pa-in.js":274,"./pl":273,"./pl.js":273,"./pt":272,"./pt-br":271,"./pt-br.js":271,"./pt.js":272,"./ro":270,"./ro.js":270,"./ru":269,"./ru.js":269,"./sd":268,"./sd.js":268,"./se":267,"./se.js":267,"./si":266,"./si.js":266,"./sk":265,"./sk.js":265,"./sl":264,"./sl.js":264,"./sq":263,"./sq.js":263,"./sr":262,"./sr-cyrl":261,"./sr-cyrl.js":261,"./sr.js":262,"./ss":260,"./ss.js":260,"./sv":259,"./sv.js":259,"./sw":258,"./sw.js":258,"./ta":257,"./ta.js":257,"./te":256,"./te.js":256,"./tet":255,"./tet.js":255,"./th":254,"./th.js":254,"./tl-ph":253,"./tl-ph.js":253,"./tlh":252,"./tlh.js":252,"./tr":251,"./tr.js":251,"./tzl":250,"./tzl.js":250,"./tzm":249,"./tzm-latn":248,"./tzm-latn.js":248,"./tzm.js":249,"./uk":247,"./uk.js":247,"./ur":246,"./ur.js":246,"./uz":245,"./uz-latn":244,"./uz-latn.js":244,"./uz.js":245,"./vi":243,"./vi.js":243,"./x-pseudo":242,"./x-pseudo.js":242,"./yo":241,"./yo.js":241,"./zh-cn":240,"./zh-cn.js":240,"./zh-hk":239,"./zh-hk.js":239,"./zh-tw":238,"./zh-tw.js":238};function o(e){var t=i(e);return n(t)}function i(e){var t=r[e];if(!(t+1)){var n=new Error('Cannot find module "'+e+'".');throw n.code="MODULE_NOT_FOUND",n}return t}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=714},function(e,t,n){var r,o; + */void 0===(o="function"==typeof(r=function(){var e,t,n,r,o,i={},a={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},l={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function u(e,t){this._input=e,this._value=t}return(e=function(n){var r,o,a,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(l.zeroFormat&&n===l.zeroFormat)r=0;else if(l.nullFormat&&n===l.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(o in i)if((s="function"==typeof i[o].regexps.unformat?i[o].regexps.unformat():i[o].regexps.unformat)&&n.match(s)){a=i[o].unformat;break}r=(a=a||e._.stringToNumber)(n)}else r=Number(n)||null;return new u(n,r)}).version="2.0.6",e.isNumeral=function(e){return e instanceof u},e._=t={numberToFormat:function(t,n,r){var o,i,s,l,u,c,d,f,p=a[e.options.currentLocale],h=!1,m=!1,_="",b="",g=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(h=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(c=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(i=!!(i=n.match(/a(k|m|b|t)?/))&&i[1],e._.includes(n," a")&&(_=" "),n=n.replace(new RegExp(_+"a[kmbt]?"),""),s>=1e12&&!i||"t"===i?(_+=p.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!i||"b"===i?(_+=p.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!i||"m"===i?(_+=p.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!i||"k"===i)&&(_+=p.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(m=!0,n=n.replace("[.]",".")),l=t.toString().split(".")[0],u=n.split(".")[1],d=n.indexOf(","),o=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),b=e._.toFixed(t,u[0].length+u[1].length,r,u[1].length)):b=e._.toFixed(t,u.length,r),l=b.split(".")[0],b=e._.includes(b,".")?p.delimiters.decimal+b.split(".")[1]:"",m&&0===Number(b.slice(1))&&(b="")):l=e._.toFixed(t,0,r),_&&!i&&Number(l)>=1e3&&_!==p.abbreviations.trillion)switch(l=String(Number(l)/1e3),_){case p.abbreviations.thousand:_=p.abbreviations.million;break;case p.abbreviations.million:_=p.abbreviations.billion;break;case p.abbreviations.billion:_=p.abbreviations.trillion}if(e._.includes(l,"-")&&(l=l.slice(1),g=!0),l.length0;y--)l="0"+l;return d>-1&&(l=l.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+p.delimiters.thousands)),0===n.indexOf(".")&&(l=""),f=l+b+(_||""),h?f=(h&&g?"(":"")+f+(h&&g?")":""):c>=0?f=0===c?(g?"-":"+")+f:f+(g?"-":"+"):g&&(f="-"+f),f},stringToNumber:function(e){var t,n,r,o=a[l.currentLocale],i=e,s={thousand:3,million:6,billion:9,trillion:12};if(l.zeroFormat&&e===l.zeroFormat)n=0;else if(l.nullFormat&&e===l.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==o.delimiters.decimal&&(e=e.replace(/\./g,"").replace(o.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+o.abbreviations[t]+"(?:\\)|(\\"+o.currency.symbol+")?(?:\\))?)?$"),i.match(r)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),o=r.length>>>0,i=0;if(3===arguments.length)n=arguments[2];else{for(;i=o)throw new TypeError("Reduce of empty array with no initial value");n=r[i++]}for(;ir?e:r},1)},toFixed:function(e,t,n,r){var o,i,a,s,l=e.toString().split("."),u=t-(r||0);return o=2===l.length?Math.min(Math.max(l[1].length,u),t):u,a=Math.pow(10,o),s=(n(e+"e+"+o)/a).toFixed(o),r>t-o&&(i=new RegExp("\\.?0{1,"+(r-(t-o))+"}$"),s=s.replace(i,"")),s}},e.options=l,e.formats=i,e.locales=a,e.locale=function(e){return e&&(l.currentLocale=e.toLowerCase()),l.currentLocale},e.localeData=function(e){if(!e)return a[l.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in s)l[e]=s[e]},e.zeroFormat=function(e){l.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){l.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){l.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,o,i,a,s,l,u,c;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{u=e.localeData(n)}catch(t){u=e.localeData(e.locale())}return i=u.currency.symbol,s=u.abbreviations,r=u.delimiters.decimal,o="."===u.delimiters.thousands?"\\.":u.delimiters.thousands,!(null!==(c=t.match(/^[^\d]+/))&&(t=t.substr(1),c[0]!==i)||null!==(c=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),c[0]!==s.thousand&&c[0]!==s.million&&c[0]!==s.billion&&c[0]!==s.trillion)||(l=new RegExp(o+"{2}"),t.match(/[^\d.,]/g)||(a=t.split(r)).length>2||(a.length<2?!a[0].match(/^\d+.*\d$/)||a[0].match(l):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(l)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(l)||!a[1].match(/^\d+$/))))},e.fn=u.prototype={clone:function(){return e(this)},format:function(t,n){var r,o,a,s=this._value,u=t||l.defaultFormat;if(n=n||Math.round,0===s&&null!==l.zeroFormat)o=l.zeroFormat;else if(null===s&&null!==l.nullFormat)o=l.nullFormat;else{for(r in i)if(u.match(i[r].regexps.format)){a=i[r].format;break}o=(a=a||e._.numberToFormat)(s,u,n)}return o},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],function(e,t,r,o){return e+Math.round(n*t)},0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],function(e,t,r,o){return e-Math.round(n*t)},Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,o){var i=t.correctionFactor(e,n);return Math.round(e*i)*Math.round(n*i)/Math.round(i*i)},1),this},divide:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,o){var i=t.correctionFactor(e,n);return Math.round(e*i)/Math.round(n*i)}),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var o,i=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),o=e._.numberToFormat(t,n,r),e._.includes(o,")")?((o=o.split("")).splice(-1,0,i+"BPS"),o=o.join("")):o=o+i+"BPS",o},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},o="("+(o=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter(function(e){return n.suffixes.indexOf(e)<0})).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(o)},format:function(t,o,i){var a,s,l,u=e._.includes(o,"ib")?r:n,c=e._.includes(o," b")||e._.includes(o," ib")?" ":"";for(o=o.replace(/\s?i?b/,""),a=0;a<=u.suffixes.length;a++)if(s=Math.pow(u.base,a),l=Math.pow(u.base,a+1),null===t||0===t||t>=s&&t0&&(t/=s);break}return e._.numberToFormat(t,o,i)+c},unformat:function(t){var o,i,a=e._.stringToNumber(t);if(a){for(o=n.suffixes.length-1;o>=0;o--){if(e._.includes(t,n.suffixes[o])){i=Math.pow(n.base,o);break}if(e._.includes(t,r.suffixes[o])){i=Math.pow(r.base,o);break}}a*=i||1}return a}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var o,i,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),o=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),i=0;i=0;i--)switch(s.after[i]){case"$":o=i===s.after.length-1?o+a.currency.symbol:e._.insert(o,a.currency.symbol,-(s.after.length-(1+i)));break;case" ":o=i===s.after.length-1?o+" ":e._.insert(o," ",-(s.after.length-(1+i)+a.currency.symbol.length-1))}return o}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var o=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(o[0]),n,r)+"e"+o[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),o=Number(n[1]);return o=e._.includes(t,"e-")?o*=-1:o,e._.reduce([r,Math.pow(10,o)],function(t,n,r,o){var i=e._.correctionFactor(t,n);return t*i*(n*i)/(i*i)},1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var o=e.locales[e.options.currentLocale],i=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),i+=o.ordinal(t),e._.numberToFormat(t,n,r)+i}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var o,i=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),o=e._.numberToFormat(t,n,r),e._.includes(o,")")?((o=o.split("")).splice(-1,0,i+"%"),o=o.join("")):o=o+i+"%",o},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),o=Math.floor((e-60*r*60)/60),i=Math.round(e-60*r*60-60*o);return r+":"+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e})?r.call(t,n,t,e):r)||(e.exports=o)},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".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:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".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~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".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ăm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] 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ôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(2))},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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".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:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];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، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,o,i={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,o=i[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};if(!e)return n.nominative;var r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[r][e.day()]},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".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:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".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ḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".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:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],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 r?o[n][0]:t?o[n][0]:o[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".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 à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] 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(2))},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:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".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:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,o=e%100-r,i=e>=100?100:null;return e+(t[r]||t[o]||t[i])}},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,o){var i=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),o=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),o>0&&(i+=(""!==i?" ":"")+t[o]),""===i?"pagh":i}(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".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’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-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 t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-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’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},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:"%d 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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".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"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".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:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_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:"minutu balun",ss:"minutu %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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".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:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".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:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(2))},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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(2))},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öndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".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år] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några 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ånad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e";return e+n},week:{dow:1,doy:4}})}(n(2))},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(2))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".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:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(2))},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,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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če u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_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ë] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return o+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return o+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return o+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return o+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return o+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return o+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"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_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_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čeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %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(2))},function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function o(e,t,n,o){var i=e+" ";switch(n){case"s":return t||o?"pár sekúnd":"pár sekundami";case"ss":return t||o?i+(r(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?i+(r(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?i+(r(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?i+(r(e)?"dni":"dní"):i+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?i+(r(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?i+(r(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_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ľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".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 [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".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žes",past:"maŋit %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ánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];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، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,o,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?t?"минута":"минуту":e+" "+(r=+e,o=i[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,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:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{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._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".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âine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_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ça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".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 [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %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ês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_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ça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".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 às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %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ês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var o=e+" ";switch(n){case"ss":return o+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return o+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return o+(r(e)?"godziny":"godzin");case"MM":return o+(r(e)?"miesiące":"miesięcy");case"yy":return o+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?""===r?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_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ś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".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:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(2))},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_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),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år klokka] LT",lastWeek:"[Føregåande] 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ånad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},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("_"),r=[/^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],o=/^(januari|februari|maart|april|mei|april|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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",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(2))},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("_"),r=[/^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],o=/^(januari|februari|maart|april|mei|april|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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",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(2))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,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 बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(2))},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_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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år 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åned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".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:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_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ħada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},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(2))},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(2))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var o="";if(t)switch(n){case"s":o="काही सेकंद";break;case"ss":o="%d सेकंद";break;case"m":o="एक मिनिट";break;case"mm":o="%d मिनिटे";break;case"h":o="एक तास";break;case"hh":o="%d तास";break;case"d":o="एक दिवस";break;case"dd":o="%d दिवस";break;case"M":o="एक महिना";break;case"MM":o="%d महिने";break;case"y":o="एक वर्ष";break;case"yy":o="%d वर्षे"}else switch(n){case"s":o="काही सेकंदां";break;case"ss":o="%d सेकंदां";break;case"m":o="एका मिनिटा";break;case"mm":o="%d मिनिटां";break;case"h":o="एका तासा";break;case"hh":o="%d तासां";break;case"d":o="एका दिवसा";break;case"dd":o="%d दिवसां";break;case"M":o="एका महिन्या";break;case"MM":o="%d महिन्यां";break;case"y":o="एका वर्षा";break;case"yy":o="%d वर्षां"}return o.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".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:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%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},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".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:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".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:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_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ātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".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ēkona ruarua",ss:"%d hēkona",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}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},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,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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če u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [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(2))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".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 r(e,r,o){return e+" "+n(t[o],e,r)}function o(e,r,o){return n(t[o],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_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:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:o,mm:r,h:o,hh:r,d:o,dd:r,M:o,MM:r,y:o,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?o(n)[0]:r?o(n)[1]:o(n)[2]}function r(e){return e%10==0||e>10&&e<20}function o(e){return t[e].split("_")}function i(e,t,i,a){var s=e+" ";return 1===e?s+n(0,t,i[0],a):t?s+(r(e)?o(i)[1]:o(i)[0]):a?s+o(i)[1]:s+(r(e)?o(i)[1]:o(i)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_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į_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".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:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".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:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={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?o[n][0]:o[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,r=e/10;return n(0===t?r:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_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éindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_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ëschter 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éint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".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:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),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일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".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:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".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:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".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:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".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:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის უკან"):/წელი/.test(e)?e.replace(/წელი$/,"წლის უკან"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(2))},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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(2))},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ì_martedì_mercoledì_giovedì_venerdì_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:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,o){var i=e+" ";switch(r){case"s":return n||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||o?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||o?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||o?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":o?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(o?"daga":"dögum"):n?i+"dagur":i+(o?"dag":"degi");case"M":return n?"mánuður":o?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(o?"mánuði":"mánuðum"):n?i+"mánuður":i+(o?"mánuð":"mánuði");case"y":return n||o?"ár":"ári";case"yy":return t(e)?i+(n||o?"ár":"árum"):i+(n||o?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_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:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",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(2))},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:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".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:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var o=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return o+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return o+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return o+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return o+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return o+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return o+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_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 r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",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(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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čer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] 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(2))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".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:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".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",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".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:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka horan","ek hor"],hh:[e+" horanim",e+" hor"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?o[n][0]:o[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] 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|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".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()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"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ía",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","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àireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè 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ìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10==2?"na":"mh";return e+t},week:{dow:1,doy:4}})}(n(2))},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,r){return e?/-MMM-/.test(r)?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:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".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’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".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’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".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’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_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ánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_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:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,o,i){var a="";switch(o){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":return i?"sekunnin":"sekuntia";case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta"}return a=function(e,r){return e<10?r?n[e]:t[e]:e}(e,i)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_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änään] [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äästä",past:"%s sitten",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(2))},function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".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:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(2))},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(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?o[n][2]?o[n][2]:o[n][1]:r?o[n][0]:o[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".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äna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},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("_");e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana 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ía",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(2))},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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".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ñana 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ía",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},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("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".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ñana 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ía",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, 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ŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},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",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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(2))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".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:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,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"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],o=t&&t.hours();return((n=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",o%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".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:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={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?o[n][0]:o[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_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(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={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?o[n][0]:o[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_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(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={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?o[n][0]:o[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_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(2))},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øndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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å dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få 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åned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},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 ôl",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=e,n="";return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");function r(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,o){var i=e+" ";switch(n){case"s":return t||o?"pár sekund":"pár sekundami";case"ss":return t||o?i+(r(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":o?"minutu":"minutou";case"mm":return t||o?i+(r(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?i+(r(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||o?"den":"dnem";case"dd":return t||o?i+(r(e)?"dny":"dní"):i+"dny";case"M":return t||o?"měsíc":"měsícem";case"MM":return t||o?i+(r(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||o?"rok":"rokem";case"yy":return t||o?i+(r(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(t,n),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(n),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(t),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_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ítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_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ç_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à 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í %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d 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|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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čer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] 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(2))},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)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",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ñ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".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:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".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:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_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ɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %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(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".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:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,o,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,o=i[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".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:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,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+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(2))},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:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};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əsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".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ün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,o=e>=100?100:null;return e+(t[n]||t[r]||t[o])},week:{dow:1,doy:7}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n(2))},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},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,o,i,a){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[o?0:1]),l.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %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(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(2))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,n,i,a){var s=r(t),l=o[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %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")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(2))},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ôre 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(2))},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),l=null,u=0,c=[],d=n(895);function f(e,t){for(var n=0;n=0&&c.splice(t,1)}function _(e){var t=document.createElement("style");return e.attrs.type="text/css",b(t,e.attrs),h(e,t),t}function b(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function g(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=l||(l=_(t)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",b(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=_(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],o=0;o0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,a=t.payload;if(n===o)return r({},e,{locationBeforeTransitions:a});return e};var o=t.LOCATION_CHANGE="@@router/LOCATION_CHANGE",i={locationBeforeTransitions:null}},function(e,t,n){"use strict";t.__esModule=!0,t.readState=t.saveState=void 0;var r,o=n(54);(r=o)&&r.__esModule;var i={QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0},a={SecurityError:!0},s=function(e){return"@@History/"+e};t.saveState=function(e,t){if(window.sessionStorage)try{null==t?window.sessionStorage.removeItem(s(e)):window.sessionStorage.setItem(s(e),JSON.stringify(t))}catch(e){if(a[e.name])return;if(i[e.name]&&0===window.sessionStorage.length)return;throw e}},t.readState=function(e){var t=void 0;try{t=window.sessionStorage.getItem(s(e))}catch(e){if(a[e.name])return}if(t)try{return JSON.parse(t)}catch(e){}}},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,a,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports={__locale:"en",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviated_days:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviated_months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],am:"AM",pm:"PM"}},function(e,t,n){(function(e,r){var o=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),l=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),c(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function u(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return b(o)||(o=c(e,o,r)),o}var i=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(_(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),s=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),k(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(x(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(k(n))return d(n)}var u,v="",T=!1,M=["{","}"];(p(n)&&(T=!0,M=["[","]"]),x(n))&&(v=" [Function"+(n.name?": "+n.name:"")+"]");return y(n)&&(v=" "+RegExp.prototype.toString.call(n)),w(n)&&(v=" "+Date.prototype.toUTCString.call(n)),k(n)&&(v=" "+d(n)),0!==a.length||T&&0!=n.length?r<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=T?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,v,M)):M[0]+v+M[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,o,i){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),E(r,o)||(a="["+o+"]"),s||(e.seen.indexOf(l.value)<0?(s=m(n)?c(e,l.value,null):c(e,l.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),g(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function p(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function _(e){return"number"==typeof e}function b(e){return"string"==typeof e}function g(e){return void 0===e}function y(e){return v(e)&&"[object RegExp]"===T(e)}function v(e){return"object"==typeof e&&null!==e}function w(e){return v(e)&&"[object Date]"===T(e)}function k(e){return v(e)&&("[object Error]"===T(e)||e instanceof Error)}function x(e){return"function"==typeof e}function T(e){return Object.prototype.toString.call(e)}function M(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(g(i)&&(i=Object({NODE_ENV:"production"}).NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=_,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=y,t.isObject=v,t.isDate=w,t.isError=k,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(920);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(e=new Date,n=[M(e.getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":"),[e.getDate(),O[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(919),t._extend=function(e,t){if(!t||!v(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,n(12),n(540))},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";var r=n(934);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(36),o=n(935),i=n(933),a=n(932),s=n(931),l=n(538),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(930);e.exports=function(e){return new Promise(function(t,c){var d=e.data,f=e.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(e.url)||(p=new window.XDomainRequest,h="onload",m=!0,p.onprogress=function(){},p.ontimeout=function(){}),e.auth){var _=e.auth.username||"",b=e.auth.password||"";f.Authorization="Basic "+u(_+":"+b)}if(p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p[h]=function(){if(p&&(4===p.readyState||m)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:e,request:p};o(t,c,r),p=null}},p.onerror=function(){c(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=n(929),y=(e.withCredentials||s(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(f,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)}),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),c(e),p=null)}),void 0===d&&(d=null),p.send(d)})}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d1)for(var n=1;nu;)i.call(a,n=s[u++])&&c.push(e?[n,a[n]]:a[n]);return c}}},function(e,t,n){var r=n(19),o=n(201),i=n(51);e.exports=function(e,t,n,a){var s=String(i(e)),l=s.length,u=void 0===n?" ":String(n),c=r(t);if(c<=l||""==u)return s;var d=c-l,f=o.call(u,Math.ceil(d/u.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(e,t,n){"use strict";var r=n(140),o=n(13),i=n(19),a=n(46),s=n(15)("isConcatSpreadable");e.exports=function e(t,n,l,u,c,d,f,p){for(var h,m,_=c,b=0,g=!!f&&a(f,p,3);b0)_=e(t,n,h,i(h.length),_,d-1)-1;else{if(_>=9007199254740991)throw TypeError();t[_]=h}_++}b++}return _}},function(e,t,n){var r=n(75),o=n(141),i=n(7),a=n(9).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(50),o=n(19);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){"use strict";var r=n(71),o=n(66).getWeak,i=n(7),a=n(13),s=n(73),l=n(72),u=n(48),c=n(32),d=n(90),f=u(5),p=u(6),h=0,m=function(e){return e._l||(e._l=new _)},_=function(){this.a=[]},b=function(e,t){return f(e.a,function(e){return e[0]===t})};_.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e(function(e,r){s(e,u,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=r&&l(r,n,e[i],e)});return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){"use strict";var r,o=n(48)(0),i=n(30),a=n(66),s=n(570),l=n(550),u=n(13),c=n(11),d=n(90),f=a.getWeak,p=Object.isExtensible,h=l.ufstore,m={},_=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(u(e)){var t=f(e);return!0===t?h(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return l.def(d(this,"WeakMap"),e,t)}},g=e.exports=n(134)("WeakMap",_,b,l,!0,!0);c(function(){return 7!=(new g).set((Object.freeze||Object)(m),7).get(m)})&&(s((r=l.getConstructor(_,"WeakMap")).prototype,b),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=g.prototype,n=t[e];i(t,e,function(t,o){if(u(t)&&!p(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},function(e,t,n){"use strict";var r=n(553),o=n(90);e.exports=n(134)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r=n(20).f,o=n(76),i=n(71),a=n(46),s=n(73),l=n(72),u=n(197),c=n(558),d=n(74),f=n(21),p=n(66).fastKey,h=n(90),m=f?"_s":"size",_=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[u],e)});return i(c.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=_(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!_(h(this,t),e)}}),f&&r(c.prototype,"size",{get:function(){return h(this,t)[m]}}),c},def:function(e,t,n){var r,o,i=_(e,t);return i?i.v=n:(e._l=i={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:_,setStrong:function(e,t,n){u(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))},n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var r=n(553),o=n(90);e.exports=n(134)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(7),o=n(13),i=n(185);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){n(21)&&"g"!=/./g.flags&&n(20).f(RegExp.prototype,"flags",{configurable:!0,get:n(137)})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(23),o=n(77),i=n(19);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),l=o(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:o(u,a))-l,a-s),d=1;for(l0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t,n){var r=n(26),o=n(23),i=n(111),a=n(19);e.exports=function(e,t,n,s,l){r(t);var u=o(e),c=i(u),d=a(u.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in c&&(s=t(s,c[f],f,u));return s}},function(e,t,n){var r=n(7);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(200),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),l=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),u=r(e);return os||n!=n?u*(1/0):u*n}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(13),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(45);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(9).parseFloat,o=n(92).trim;e.exports=1/r(n(203)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(9).parseInt,o=n(92).trim,i=n(203),a=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){"use strict";var r=n(26),o=n(13),i=n(568),a=[].slice,s={};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),l=function(){var r=n.concat(a.call(arguments));return this instanceof l?function(e,t,n){if(!(t in s)){for(var r=[],o=0;ou;)for(var f,p=s(arguments[u++]),h=c?r(p).concat(c(p)):r(p),m=h.length,_=0;m>_;)d.call(p,f=h[_++])&&(n[f]=p[f]);return n}:l},function(e,t,n){var r=n(40),o=n(75).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(20),o=n(7),i=n(78);e.exports=n(21)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(32),o=n(40),i=n(142)(!1),a=n(207)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){t.f=n(15)},function(e,t,n){e.exports=!n(21)&&!n(11)(function(){return 7!=Object.defineProperty(n(209)("div"),"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(32)("wks"),o=n(9),i=n(0).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(0),o=n(2),i=n(8),a=n(22),s=n(10),l=function(e,t,n){var u,c,d,f,p=e&l.F,h=e&l.G,m=e&l.S,_=e&l.P,b=e&l.B,g=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=h?o:o[t]||(o[t]={}),v=y.prototype||(y.prototype={});for(u in h&&(n=t),n)d=((c=!p&&g&&void 0!==g[u])?g:n)[u],f=b&&c?s(d,r):_&&"function"==typeof d?s(Function.call,d):d,g&&a(g,u,d,e&l.U),y[u]!=d&&i(y,u,f),_&&v[u]!=d&&(v[u]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(16),o=n(21);e.exports=n(3)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(24);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(28),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t})}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){"use strict";var r=n(7),o=n(25)(3);r(r.P+r.F*!n(33)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(17),o=n(18),i=n(20),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(1);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)(function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(1),o=n(0).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(1);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(0),o=n(8),i=n(23),a=n(9)("src"),s=Function.toString,l=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(10),o=n(26),i=n(27),a=n(12),s=n(29);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,_,b=i(t),g=o(b),y=r(s,h,3),v=a(g.length),w=0,k=n?p(t,v):l?p(t,0):void 0;v>w;w++)if((f||w in g)&&(_=y(m=g[w],w,b),e))if(n)k[w]=_;else if(_)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:k.push(m)}else if(c)return!1;return d?-1:u||c?c:k}}},function(e,t,n){var r=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(11);e.exports=function(e){return Object(r(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(30);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(1),o=n(31),i=n(6)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(5);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){"use strict";var r=n(4);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){"use strict";var r=n(7),o=n(12),i=n(36),a="".endsWith;r(r.P+r.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),s=void 0===n?r:Math.min(o(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){var r=n(37),o=n(11);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(1),o=n(5),i=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{};i.canUseDOM||(0,o.default)(!1);var t=e.queryKey,n=e.hashType;"string"!=typeof t&&(t="_k"),null==n&&(n="slash"),n in d||(n="slash");var u=d[n],c=s.getUserConfirmation,f=(0,l.default)(r({getUserConfirmation:c},e,{getCurrentLocation:function(){return s.getCurrentLocation(u,t)},pushLocation:function(e){return s.pushLocation(e,u,t)},replaceLocation:function(e){return s.replaceLocation(e,u,t)},go:s.go})),p=0,h=void 0,m=function(e,n){1==++p&&(h=s.startListener(f.transitionTo,u,t));var r=n?f.listenBefore(e):f.listen(e);return function(){r(),0==--p&&h()}};(0,a.supportsGoWithoutReloadUsingHash)();return r({},f,{listenBefore:function(e){return m(e,!0)},listen:function(e){return m(e,!1)},go:function(e){f.go(e)},createHref:function(e){return"#"+u.encodePath(f.createHref(e))}})}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};i.canUseDOM||(0,o.default)(!1);var t=e.forceRefresh||!(0,l.supportsHistory)()?s:a,n=t.getUserConfirmation,c=t.getCurrentLocation,d=t.pushLocation,f=t.replaceLocation,p=t.go,h=(0,u.default)(r({getUserConfirmation:n},e,{getCurrentLocation:c,pushLocation:d,replaceLocation:f,go:p})),m=0,_=void 0,b=function(e,t){1==++m&&(_=a.startListener(h.transitionTo));var n=t?h.listenBefore(e):h.listen(e);return function(){n(),0==--m&&_()}};return r({},h,{listenBefore:function(e){return b(e,!0)},listen:function(e){return b(e,!1)}})}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(e)?e={entries:e}:"string"==typeof e&&(e={entries:[e]});var t=function(){var e=d[f],t=(0,a.createPath)(e),n=void 0,o=void 0;e.key&&(n=e.key,o=m(n));var s=(0,a.parsePath)(t);return(0,i.createLocation)(r({},s,{state:o}),void 0,n)},n=function(e){var t=f+e;return t>=0&&t=0&&f=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var v=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 r=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 r.renderChildren=function(e,t,n,o){return"function"==typeof e?e(b({},r.state,{isDragActive:t,isDragAccept:n,isDragReject:o})):e},r.composeHandlers=r.composeHandlers.bind(r),r.onClick=r.onClick.bind(r),r.onDocumentDrop=r.onDocumentDrop.bind(r),r.onDragEnter=r.onDragEnter.bind(r),r.onDragLeave=r.onDragLeave.bind(r),r.onDragOver=r.onDragOver.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDrop=r.onDrop.bind(r),r.onFileDialogCancel=r.onFileDialogCancel.bind(r),r.onInputElementClick=r.onInputElementClick.bind(r),r.setRef=r.setRef.bind(r),r.setRefs=r.setRefs.bind(r),r.isFileDialogActive=!1,r.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},r}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,o.a.Component),g(t,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",f,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),this.fileInputEl.addEventListener("click",this.onInputElementClick,!1),document.body.onfocus=this.onFileDialogCancel}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",f),document.removeEventListener("drop",this.onDocumentDrop)),null!=this.fileInputEl&&this.fileInputEl.removeEventListener("click",this.onInputElementClick,!1),null!=document&&(document.body.onfocus=null)}},{key:"composeHandlers",value:function(e){return this.props.disabled?null:e}},{key:"onDocumentDrop",value:function(e){this.node&&this.node.contains(e.target)||(e.preventDefault(),this.dragTargets=[])}},{key:"onDragStart",value:function(e){this.props.onDragStart&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){e.preventDefault(),-1===this.dragTargets.indexOf(e.target)&&this.dragTargets.push(e.target),this.setState({isDragActive:!0,draggedFiles:c(e)}),this.props.onDragEnter&&this.props.onDragEnter.call(this,e)}},{key:"onDragOver",value:function(e){e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect=this.isFileDialogActive?"none":"copy"}catch(e){}return this.props.onDragOver&&this.props.onDragOver.call(this,e),!1}},{key:"onDragLeave",value:function(e){var t=this;e.preventDefault(),this.dragTargets=this.dragTargets.filter(function(n){return n!==e.target&&t.node.contains(n)}),this.dragTargets.length>0||(this.setState({isDragActive:!1,draggedFiles:[]}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){var t=this,n=this.props,r=n.onDrop,o=n.onDropAccepted,i=n.onDropRejected,a=n.multiple,s=n.disablePreview,l=n.accept,u=c(e),f=[],p=[];e.preventDefault(),this.dragTargets=[],this.isFileDialogActive=!1,u.forEach(function(e){if(!s)try{e.preview=window.URL.createObjectURL(e)}catch(e){0}d(e,l)&&function(e,t,n){return e.size<=t&&e.size>=n}(e,t.props.maxSize,t.props.minSize)?f.push(e):p.push(e)}),a||p.push.apply(p,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&i&&i.call(this,p,e),f.length>0&&o&&o.call(this,f,e),this.draggedFiles=null,this.setState({isDragActive:!1,draggedFiles:[],acceptedFiles:f,rejectedFiles:p})}},{key:"onClick",value:function(e){var t=this.props,n=t.onClick;t.disableClick||(e.stopPropagation(),n&&n.call(this,e),!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?this.open():setTimeout(this.open.bind(this),0))}},{key:"onInputElementClick",value:function(e){e.stopPropagation(),this.props.inputProps&&this.props.inputProps.onClick&&this.props.inputProps.onClick()}},{key:"onFileDialogCancel",value:function(){var e=this,t=this.props.onFileDialogCancel;this.isFileDialogActive&&setTimeout(function(){null!=e.fileInputEl&&(e.fileInputEl.files.length||(e.isFileDialogActive=!1));"function"==typeof t&&t()},300)}},{key:"setRef",value:function(e){this.node=e}},{key:"setRefs",value:function(e){this.fileInputEl=e}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.acceptClassName,r=e.activeClassName,i=e.children,a=e.disabled,s=e.disabledClassName,l=e.inputProps,c=e.multiple,f=e.name,g=e.rejectClassName,v=y(e,["accept","acceptClassName","activeClassName","children","disabled","disabledClassName","inputProps","multiple","name","rejectClassName"]),w=v.acceptStyle,k=v.activeStyle,x=v.className,T=void 0===x?"":x,M=v.disabledStyle,O=v.rejectStyle,E=v.style,L=y(v,["acceptStyle","activeStyle","className","disabledStyle","rejectStyle","style"]),S=this.state,D=S.isDragActive,j=S.draggedFiles,C=j.length,A=c||C<=1,P=C>0&&function(e,t){return e.every(function(e){return d(e,t)})}(j,this.props.accept),I=C>0&&(!P||!A),R=!(T||E||k||w||O||M);D&&r&&(T+=" "+r),P&&n&&(T+=" "+n),I&&g&&(T+=" "+g),a&&s&&(T+=" "+s),R&&(k=m,w=(E=_).active,O=p,M=h);var H=b({},E);k&&D&&(H=b({},E,k)),w&&P&&(H=b({},H,w)),O&&I&&(H=b({},H,O)),M&&a&&(H=b({},E,M));var Y={accept:t,disabled:a,type:"file",style:{display:"none"},multiple:u&&c,ref:this.setRefs,onChange:this.onDrop,autoComplete:"off"};f&&f.length&&(Y.name=f);L.acceptedFiles,L.preventDropOnDocument,L.disablePreview,L.disableClick,L.onDropAccepted,L.onDropRejected,L.onFileDialogCancel,L.maxSize,L.minSize;var N=y(L,["acceptedFiles","preventDropOnDocument","disablePreview","disableClick","onDropAccepted","onDropRejected","onFileDialogCancel","maxSize","minSize"]);return o.a.createElement("div",b({className:T,style:H},N,{onClick:this.composeHandlers(this.onClick),onDragStart:this.composeHandlers(this.onDragStart),onDragEnter:this.composeHandlers(this.onDragEnter),onDragOver:this.composeHandlers(this.onDragOver),onDragLeave:this.composeHandlers(this.onDragLeave),onDrop:this.composeHandlers(this.onDrop),ref:this.setRef,"aria-disabled":a}),this.renderChildren(i,D,P,I),o.a.createElement("input",b({},l,Y)))}}]),t}();t.default=v;v.propTypes={accept:a.a.string,children:a.a.oneOfType([a.a.node,a.a.func]),disableClick:a.a.bool,disabled:a.a.bool,disablePreview:a.a.bool,preventDropOnDocument:a.a.bool,inputProps:a.a.object,multiple:a.a.bool,name:a.a.string,maxSize:a.a.number,minSize:a.a.number,className:a.a.string,activeClassName:a.a.string,acceptClassName:a.a.string,rejectClassName:a.a.string,disabledClassName:a.a.string,style:a.a.object,activeStyle:a.a.object,acceptStyle:a.a.object,rejectStyle:a.a.object,disabledStyle:a.a.object,onClick:a.a.func,onDrop:a.a.func,onDropAccepted:a.a.func,onDropRejected:a.a.func,onDragStart:a.a.func,onDragEnter:a.a.func,onDragOver:a.a.func,onDragLeave:a.a.func,onFileDialogCancel:a.a.func},v.defaultProps={preventDropOnDocument:!0,disabled:!1,disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0}},function(e,t,n){e.exports=n.p+"favicon.1dcca36d9358020b2de9d861c763b0f4.png"},function(e,t){function n(e){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=588},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.SET_BREADCRUMB:return r({},e,{breadcrumb:t.breadcrumb});case o.UPDATE_BREADCRUMB:return r({},e,{breadcrumb:e.breadcrumb.map(function(e){return e.nodeId===t.node.nodeId?r({},e,{children:t.node}):e})});case o.SET_GLOBAL_GRID_FILTER:return r({},e,{globalGridFilter:t.filter});default:return e}}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(i,"initialState","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/menuHandler.js"),__REACT_HOT_LOADER__.register(a,"menuHandler","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/menuHandler.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(388));var o={sorting:{sort:"",windowType:null},pagination:{page:1,windowType:null},viewId:{id:"",windowType:null},includedView:{viewId:"",windowType:null,viewProfileId:null}};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.SET_LIST_ID:return Object.assign({},e,{viewId:Object.assign({},e.viewId,{id:t.viewId,windowType:t.windowType})});case r.SET_LIST_FILTERS:return Object.assign({},e,{filters:null!=t.filter?[t.filter]:[],filtersWindowType:t.windowType});case r.SET_LIST_SORTING:return Object.assign({},e,{sorting:Object.assign({},e.sorting,{sort:t.sort,windowType:t.windowType})});case r.SET_LIST_PAGINATION:return Object.assign({},e,{pagination:Object.assign({},e.pagination,{page:t.page,windowType:t.windowType})});case r.SET_LIST_INCLUDED_VIEW:var n=t.payload,i=n.windowType,a=n.viewId,s=n.viewProfileId;return Object.assign({},e,{includedView:Object.assign({},e.includedView,{viewId:a,windowType:i,viewProfileId:s})});case r.CLOSE_LIST_INCLUDED_VIEW:var l=e.includedView,u=l.windowType,c=l.viewId,d=t.payload,f=d.windowType,p=d.viewId;return d.forceClose||u===f&&c===p?Object.assign({},e,{includedView:Object.assign({},e.includedView,{viewId:"",windowType:null,viewProfileId:null})}):e;default:return e}}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(o,"initialState","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/listHandler.js"),__REACT_HOT_LOADER__.register(i,"listHandler","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/listHandler.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case s.USER_SESSION_INIT:return r({},e,{me:t.me});case s.USER_SESSION_UPDATE:return r({},e,{me:r({},e.me,t.me)});case s.LOGIN_SUCCESS:return r({},e,{isLogged:!0});case s.LOGOUT_SUCCESS:return r({},e,{isLogged:!1});case s.ENABLE_TUTORIAL:return r({},e,{enableTutorial:t.flag});case s.ADD_NOTIFICATION:return r({},e,{notifications:r({},e.notifications,l({},t.title,{title:t.title,msg:t.msg,shortMsg:t.shortMsg,time:t.time,notifType:t.notifType,count:e.notifications[t.title]?e.notifications[t.title].count+1:1,onCancel:t.onCancel||null}))});case s.SET_NOTIFICATION_PROGRESS:var n=r({},e.notifications,l({},t.key,r({},e.notifications[t.key],{progress:t.progress})));return r({},e,{notifications:n});case s.DELETE_NOTIFICATION:return r({},e,{notifications:Object.keys(e.notifications).reduce(function(n,r){return r!==t.key&&(n[r]=e.notifications[r]),n},{})});case s.CLEAR_NOTIFICATIONS:return r({},e,{notifications:{}});case s.GET_NOTIFICATIONS_SUCCESS:return r({},e,{inbox:r({},e.inbox,{notifications:t.notifications,unreadCount:t.unreadCount})});case s.NEW_NOTIFICATION:return(0,a.default)(e,{inbox:{notifications:{$unshift:[t.notification]},unreadCount:{$set:t.unreadCount}}});case s.REMOVE_NOTIFICATION:return(0,a.default)(e,{inbox:{notifications:{$set:e.inbox.notifications.filter(function(e){return e.id!==t.notificationId})},unreadCount:{$set:t.unreadCount}}});case s.READ_NOTIFICATION:return(0,a.default)(e,{inbox:{notifications:{$set:e.inbox.notifications.map(function(e){return e.id===t.notificationId?r({},e,{read:!0}):e})},unreadCount:{$set:t.unreadCount}}});case s.READ_ALL_NOTIFICATIONS:return(0,a.default)(e,{inbox:{notifications:{$set:e.inbox.notifications.map(function(e){return r({},e,{read:!0})})},unreadCount:{$set:0}}});case s.REMOVE_ALL_NOTIFICATIONS:return(0,a.default)(e,{inbox:{notifications:{$set:[]},unreadCount:{$set:0}}});case s.SET_PROCESS_STATE_PENDING:return r({},e,{processStatus:"pending"});case s.SET_PROCESS_STATE_SAVED:return r({},e,{processStatus:"saved"});default:return e}}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(u,"initialState","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/appHandler.js"),__REACT_HOT_LOADER__.register(c,"appHandler","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/appHandler.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(24),o=u(n(592)),i=u(n(591)),a=u(n(590)),s=u(n(98)),l=u(n(589));function u(e){return e&&e.__esModule?e:{default:e}}var c={appHandler:o.default,listHandler:i.default,menuHandler:a.default,windowHandler:s.default,pluginsHandler:l.default,routing:r.routerReducer};t.default=c;"undefined"!=typeof __REACT_HOT_LOADER__&&__REACT_HOT_LOADER__.register(c,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/reducers/index.js")},function(e,t,n){var r=n(102),o=n(59),i=n(83),a="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&r(e)==a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(594)),o=i(n(60));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,o.default)(e)&&(0,r.default)(e.type)&&Object.keys(e).every(s)}function s(e){return["type","payload","error","meta"].indexOf(e)>-1}t.isFSA=a,t.isError=function(e){return a(e)&&!0===e.error}},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return(0,i.isFSA)(n)?(0,o.default)(n.payload)?n.payload.then(function(e){return t(a({},n,{payload:e}))}).catch(function(e){return t(a({},n,{payload:e,error:!0})),Promise.reject(e)}):e(n):(0,o.default)(n)?n.then(t):e(n)}}};var r,o=(r=n(596))&&r.__esModule?r:{default:r},i=n(595);function a(e){for(var t=1;t1?t-1:0),u=1;u0?(0,i.default)(t):c},p=o.createStore.apply(void 0,[f()].concat(n));return p.attachReducers=function(e){d=r({},d,(0,l.default)(e)),p.replaceReducer(f())},p}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(602);Object.defineProperty(t,"createStore",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(24),o=n(94),i=n(603),a=u(n(598)),s=u(n(597)),l=u(n(593));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=[a.default,s.default,(0,r.routerMiddleware)(e)],n=(0,i.createStore)(null,(0,o.compose)(o.applyMiddleware.apply(void 0,t),window.devToolsExtension?window.devToolsExtension():function(e){return e}));return n.attachReducers(l.default),window.Cypress&&window.Cypress.emit("emit:reduxStore",n),n}"undefined"!=typeof __REACT_HOT_LOADER__&&__REACT_HOT_LOADER__.register(c,"configureStore","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/store/configureStore.js")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=Object.assign||function(e){for(var t=1;t0&&this.setClosing(),setTimeout(function(){e.setState({isClosing:!0})},10)}},{key:"componentWillUpdate",value:function(e){var t=this;this.props.item.count!==e.item.count&&(this.handleClosing(!1),setTimeout(function(){t.handleClosing(!0)},10))}},{key:"render",value:function(){var e=this,t=this.props.item,n=this.state,r=n.isClosing,o=n.isDisplayedMore,i=t.notifType,s=t.msg,u=t.title,c=t.count,f=t.shortMsg,p=t.progress;return"disableMouse"===f&&(f=null),a.default.createElement("div",{className:(0,l.default)("notification-item",d({},""+i,i),{error:!i}),onMouseEnter:function(){return e.handleClosing(!1)},onMouseLeave:function(){return e.handleClosing(!0)}},a.default.createElement("div",{className:"notification-header"},u," ",c>1&&a.default.createElement("span",{className:(0,l.default)("tag tag-sm tag-default",d({},"tag-"+i,i),{"tag-error":!i})},c),a.default.createElement("i",{onClick:function(){return e.handleCloseButton()},className:"meta-icon-close-1"})),a.default.createElement("div",{className:"notification-content"},f?f+" ":s,f&&s&&!o&&a.default.createElement("u",{className:"text-right text-small pointer",onClick:this.handleToggleMore},"(read more)"),o?a.default.createElement("p",null,s):""),a.default.createElement("div",{className:(0,l.default)("progress-bar",d({},""+i,i),{error:!i}),style:"number"==typeof p?{width:p+"%",transition:"width 0s"}:r?{width:0,transition:"width 5s linear"}:{width:"100%",transition:"width 0s"}}))}}]),t}();f.propTypes={dispatch:o.default.func.isRequired};var p=(0,s.connect)()(f);t.default=p;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(f,"Notification","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/notifications/Notification.js"),__REACT_HOT_LOADER__.register(p,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/notifications/Notification.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0?this.selectLastItem(t):e?this.selectLastItem(e):document.activeElement.previousSibling.focus()}},{key:"selectLastItem",value:function(e){var t=e.childNodes,n=t[t.length-1];1==t.length?t[0].focus&&t[0].focus():n.classList.contains("js-menu-item")?n.focus():n.children[n.children.length-1].classList.contains("js-menu-item")?n.children[n.children.length-1].focus():n.children[n.children.length-1].getElementsByClassName("js-menu-item")[n.children[n.children.length-1].getElementsByClassName("js-menu-item").length-1].focus()}},{key:"render",value:function(){var e=this.props,t=e.rawModal,n=e.modal,o=e.pluginModal,i=this.state.rootResults;return l.default.createElement(h.default,r({siteName:"Sitemap"},{modal:n,rawModal:t,pluginModal:o}),this.renderTree(i))}}]),t}();function y(e){var t=e.windowHandler||{modal:{},rawModal:{},pluginModal:{}};return{modal:t.modal,rawModal:t.rawModal,pluginModal:t.pluginModal}}g.propTypes={dispatch:a.default.func.isRequired,modal:a.default.object.isRequired,rawModal:a.default.object.isRequired,pluginModal:a.default.object.isRequired};var v=(0,c.connect)(y)(g);t.default=v;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(g,"NavigationTree","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/NavigationTree.js"),__REACT_HOT_LOADER__.register(y,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/NavigationTree.js"),__REACT_HOT_LOADER__.register(v,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/NavigationTree.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.introSteps={53100:{all:[{element:".form-field-AD_Language",intro:"You can change default language in this field"},{element:".form-field-Avatar_ID",intro:"You can use this field to upload your avatar image or grab photo using your web camera"}]}},o=t.introHints={default:[{element:".user-dropdown-container",hint:"This is your avatar. Click on it and then on Settings. Their you will be able to change your language and your avatar.",hintPosition:"bottom-middle"}],53100:{all:[]}};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(r,"introSteps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/intro/intro.js"),__REACT_HOT_LOADER__.register(o,"introHints","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/intro/intro.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.isNew,n=e.windowType,r=e.documentId,o=e.tabId,i=e.rowId;if(t)return(0,d.discardNewRow)({windowType:n,documentId:r,tabId:o,rowId:i})}}),Object.defineProperty(r,"handleDropFile",{enumerable:!0,writable:!0,value:function(e){var t=e instanceof Array?e[0]:e;if(!(t instanceof File))return Promise.reject();var n=r.props,o=n.dispatch,i=n.master,a=i.data,s=i.layout.type,l=a?a.ID.value:-1,u=new FormData;return u.append("file",t),o((0,d.attachFileAction)(s,l,u))}}),Object.defineProperty(r,"handleDragStart",{enumerable:!0,writable:!0,value:function(){r.setState({dropzoneFocused:!0},function(){r.setState({dropzoneFocused:!1})})}}),Object.defineProperty(r,"handleRejectDropped",{enumerable:!0,writable:!0,value:function(e){var t=r.props.dispatch,n=e instanceof Array?e[0]:e;t((0,c.addNotification)("Attachment","Dropped item ['"+n.type+"'] could not be attached",5e3,"error"))}}),Object.defineProperty(r,"setModalTitle",{enumerable:!0,writable:!0,value:function(e){r.setState({modalTitle:e})}}),Object.defineProperty(r,"handleDeletedStatus",{enumerable:!0,writable:!0,value:function(e){r.setState({isDeleted:e})}}),Object.defineProperty(r,"sort",{enumerable:!0,writable:!0,value:function(e,t,n,o,i){var a=r.props,s=a.dispatch,l=a.master,u=a.params.windowType,c=(e?"+":"-")+t,f=l.docId;s((0,d.sortTab)("master",i,t,e)),(0,d.getTab)(i,u,f,c).then(function(e){s((0,d.addRowData)(b({},i,e),"master"))})}}),Object.defineProperty(r,"handleIntroExit",{enumerable:!0,writable:!0,value:function(){r.setState({introEnabled:!1})}}),g(r,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,a.Component),r(t,[{key:"componentDidMount",value:function(){!this.props.master.saveStatus.saved&&this.initEventListeners()}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.master,o=n.modal,i=n.params,a=n.dispatch,s=n.me,l=!r.saveStatus.saved,u=r.saveStatus.saved;if(s&&r&&r.docId&&r.layout&&r.layout.windowId&&null===this.state.introEnabled){var c=void 0,f=void 0,p=m.introSteps[r.layout.windowId];p&&(c=[],p.all&&(c=c.concat(p.all)),r.docId&&p[r.docId]&&(c=c.concat(p[r.docId]))),Array.isArray(m.introHints.default)&&(f=m.introHints.default);var h=m.introHints[r.layout.windowId];h&&(f=[],h.all&&(f=f.concat(h.all)),r.docId&&h[r.docId]&&(f=f.concat(h[r.docId]))),this.setState({introEnabled:c&&c.length>0,hintsEnabled:f&&f.length>0,introSteps:c,introHints:f})}e.master.websocket!==r.websocket&&r.websocket&&d.connectWS.call(this,r.websocket,function(e){var n=e.includedTabsInfo,r=e.stale,o=t.props.master;r&&a((0,d.fireUpdateData)("window",i.windowType,i.docId,null,null,null,null)),n&&Object.keys(n).forEach(function(e){var t=o.layout.tabs&&o.layout.tabs.filter(function(t){return t.tabId===e})[0];t&&t.queryOnActivate&&o.layout.activeTab!==e||n[e]&&(0,d.getTab)(e,i.windowType,o.docId).then(function(t){a((0,d.addRowData)(b({},e,t),"master"))})})}),e.master.saveStatus.saved&&l&&this.initEventListeners(),!e.master.saveStatus.saved&&u&&this.removeEventListeners(),!o.visible&&o.visible!==e.modal.visible&&r.includedTabsInfo&&Object.keys(r.includedTabsInfo).map(function(e){(0,d.getTab)(e,i.windowType,r.docId).then(function(t){a((0,d.addRowData)(b({},e,t),"master"))})})}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.master,n=e.dispatch,r=e.location.pathname,o=e.params,i=o.windowType,a=o.docId,s=this.state.isDeleted,l=!t.saveStatus.saved&&void 0!==t.saveStatus.saved;(this.removeEventListeners(),l&&!s)&&(window.confirm("Do you really want to leave?")?(0,d.discardNewDocument)({windowType:i,documentId:a}):n((0,u.push)(r)));n((0,d.clearMasterData)()),d.disconnectWS.call(this)}},{key:"render",value:function(){var e=this.props,t=e.master,n=e.modal,r=e.breadcrumb,i=e.params,a=e.rawModal,l=e.pluginModal,u=e.includedView,c=e.processStatus,d=e.enableTutorial,m=this.state,_=m.dropzoneFocused,b=m.newRow,g=m.modalTitle,y=m.introEnabled,v=m.hintsEnabled,w=m.introSteps,k=m.introHints,x=t.layout,T=x.docActionElement,M=x.documentSummaryElement,O=t.docId,E=t.data.DocumentNo,L=void 0;t.layout&&(L=t.layout.activeTab);var S={status:t.data.DocStatus||-1,action:t.data.DocAction||-1,displayed:!0},D=M&&t.data[M.fields[0].field],j="notfound"!==O&&void 0!==t.saveStatus.saved&&!t.saveStatus.saved&&void 0!==t.validStatus.initialValue&&!t.validStatus.initialValue;return s.default.createElement(p.default,{entity:"window",dropzoneFocused:_,docStatusData:S,docSummaryData:D,modal:n,dataId:O,breadcrumb:r,docNoData:E,isDocumentNotSaved:j,rawModal:a,pluginModal:l,modalTitle:g,includedView:u,processStatus:c,activeTab:L,closeModalCallback:this.closeModalCallback,setModalTitle:this.setModalTitle,docActionElem:T,windowType:i.windowType,docId:i.docId,showSidelist:!0,showIndicator:!n.visible,handleDeletedStatus:this.handleDeletedStatus},"notfound"===O?s.default.createElement(f.default,{what:"Document"}):s.default.createElement(h.default,{key:"window",data:t.data,layout:t.layout,rowData:t.rowData,tabsInfo:t.includedTabsInfo,sort:this.sort,dataId:O,isModal:!1,newRow:b,handleDragStart:this.handleDragStart,handleDropFile:this.handleDropFile,handleRejectDropped:this.handleRejectDropped}),d&&w&&w.length>0&&s.default.createElement(o.Steps,{enabled:y,steps:w,initialStep:0,onExit:this.handleIntroExit}),d&&k&&k.length>0&&s.default.createElement(o.Hints,{enabled:v,hints:k}))}}]),t}();Object.defineProperty(y,"contextTypes",{enumerable:!0,writable:!0,value:{router:i.default.object.isRequired}}),Object.defineProperty(y,"propTypes",{enumerable:!0,writable:!0,value:{modal:i.default.object.isRequired,master:i.default.object.isRequired,breadcrumb:i.default.array.isRequired,dispatch:i.default.func.isRequired,rawModal:i.default.object.isRequired,indicator:i.default.string.isRequired,me:i.default.object.isRequired,pluginModal:i.default.object}});var v=function(e){return{master:e.windowHandler.master,modal:e.windowHandler.modal,rawModal:e.windowHandler.rawModal,pluginModal:e.windowHandler.pluginModal,indicator:e.windowHandler.indicator,includedView:e.listHandler.includedView,enableTutorial:e.appHandler.enableTutorial,processStatus:e.appHandler.processStatus,me:e.appHandler.me,breadcrumb:e.menuHandler.breadcrumb}},w=(0,l.connect)(v)(y);t.default=w;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(y,"MasterWindow","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/MasterWindow.js"),__REACT_HOT_LOADER__.register(v,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/MasterWindow.js"),__REACT_HOT_LOADER__.register(w,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/MasterWindow.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n-1&&navigator.userAgent&&!navigator.userAgent.match("CriOS"),r=!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,o=!!document.documentMode,i=!o&&!!window.StyleMedia;return e?"chrome":t?"firefox":n?"safari":r?"opera":o?"ie":i?"edge":void 0}}),Object.defineProperty(n,"browserSupport",{enumerable:!0,writable:!0,value:function(){for(var e=arguments.length,t=Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:400,t=n.props,r=t.chartClass,o=t.responsive,a=t.fields,s=0,l=e,u=t.height,c=document.getElementsByClassName(r+"-wrapper")[0];o&&(l=s=c&&c.offsetWidth-10);var d=Math.min(l,.66*u)/2;return{wrapperWidth:s,width:l,height:u,radius:d,arc:i.arc().outerRadius(.8*d).innerRadius(.4*d),pie:i.pie().sort(null).value(function(e){return e[a[0].fieldName]})}}}),Object.defineProperty(n,"drawChart",{enumerable:!0,writable:!0,value:function(e,t,r,o,a,s,l){var u=n.props.fields,c=n.state.prevData,d=n.svg.select(".slices").selectAll(".pie-path").data(o(s),function(e){return e});d.enter().append("path").attr("class","pie-path").style("fill",function(e){return l(e.data[u[0].fieldName])}).transition().duration(1500).attrTween("d",function(e,t){var r=i.interpolate({startAngle:0,endAngle:0},e);return c[t]=e,n.setState({prevData:c}),function(e){return a(r(e))}}),d.exit().remove(),n.drawLegend(n.svg,t,r,l)}}),Object.defineProperty(n,"updateChart",{enumerable:!0,writable:!0,value:function(e,t,r,o,a,s,l){var u=n.props.fields,c=n.state.prevData,d=n.svg.select(".slices").selectAll(".pie-path").data(o(s),function(e){return e});d.enter().append("path").attr("class","pie-path").style("fill",function(e){return l(e.data[u[0].fieldName])}).transition().duration(1500).attrTween("d",function(e,t){var r=c[t],o=i.interpolate(r,e);return c[t]=o(0),n.setState({prevData:c}),function(e){return a(o(e))}}),d.exit().remove(),n.drawLegend(n.svg,t,r,l)}}),Object.defineProperty(n,"drawLegend",{enumerable:!0,writable:!0,value:function(e,t,r,o){var i=n.props,a=i.groupBy,s=i.data,l=e.attr("width",t).attr("height",.3*r).append("g").attr("class","legends").attr("transform","translate(20,20)"),u=l.selectAll(".legend").data(o.domain()).enter().append("g").attr("class","legend").attr("transform",function(e,t){return"translate(0,"+22*t+")"});u.append("rect").attr("width",18).attr("height",18).style("fill",o).style("stroke",o),u.append("text").attr("x",22).attr("y",14).attr("font-size",12).text(function(e,t){return s[t][a.fieldName]+(a.unit?" ["+a.unit+"]":"")}),l.exit().remove()}}),Object.defineProperty(n,"addResponsive",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props.chartClass,o=document.getElementsByClassName(r+"-wrapper")[0];i.select(window).on("resize."+r,function(){n.clearChart();var r=o&&n.setDimensions(o.offsetWidth);r.width>0&&n.setSvg(r.width,r.height,r.wrapperWidth),r&&n.drawChart(r.wrapperWidth,r.width,r.height,r.pie,r.arc,e,t)})}}),Object.defineProperty(n,"clearChart",{enumerable:!0,writable:!0,value:function(){n.svg.select(".slices").selectAll("path").remove(),n.svg.selectAll(".legends").remove()}}),n.state={prevData:[]},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,a.Component),o(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.data,n=e.responsive,r=e.colors,o=i.scaleOrdinal().range(r),a=this.setDimensions();this.setSvg(a.width,a.height,a.wrapperWidth),a&&this.drawChart(a.wrapperWidth,a.width,a.height,a.pie,a.arc,t,o),n&&this.addResponsive(t,o)}},{key:"shouldComponentUpdate",value:function(e){return!(this.props.reRender&&!e.reRender)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.data,r=t.colors,o=t.chartClass,a=document.getElementsByClassName(o+"-wrapper")[0],s=i.scaleOrdinal().range(r),l=a&&this.setDimensions(a.offsetWidth);this.props.reRender&&l.width>0?(this.setSvg(l.width,l.height,l.wrapperWidth),this.clearChart(),l&&this.drawChart(l.wrapperWidth,l.width,l.height,l.pie,l.arc,n,s)):JSON.stringify(e)!==JSON.stringify(this.props)&&(this.clearChart(),l&&this.updateChart(l.wrapperWidth,l.width,l.height,l.pie,l.arc,n,s))}},{key:"setSvg",value:function(e,t,n){var r=this.props.chartClass;this.svg=(0,l.getSvg)(r,e,t,n)}},{key:"render",value:function(){var e=this.props,t=e.chartClass,n=e.data,r=e.fields,o=e.groupBy,i=e.isMaximized,a=e.chartTitle;return s.default.createElement("div",{className:t+"-wrapper chart-wrapper"},s.default.createElement("svg",{className:t}),i&&s.default.createElement("div",{className:"panel panel-primary panel-bordered chart-data-table-wrapper"},s.default.createElement("table",{className:"table table-bordered-vertically table-striped"},s.default.createElement("thead",null,s.default.createElement("tr",null,s.default.createElement("th",null,a),s.default.createElement("th",null))),s.default.createElement("tbody",null,n.map(function(e,t){return s.default.createElement("tr",{key:t},s.default.createElement("td",null,e[o.fieldName]),s.default.createElement("td",null,e[r[0].fieldName]))})))))}}]),t}(),c=u;t.default=c;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(u,"PieChartComponent","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/PieChartComponent/index.js"),__REACT_HOT_LOADER__.register(c,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/PieChartComponent/index.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sizeSvg=t.getSvg=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58));var o=t.getSvg=function(e){var t=r.select("."+e);t.append("g").classed("legend",!0);var n=t.append("g").classed("chart-container",!0);return n.append("g").classed("x-axis",!0),n.append("g").classed("y0-axis",!0),n.append("g").classed("y-axis",!0),n.append("g").classed("datasets",!0),t},i=t.sizeSvg=function(e,t){var n=t.width,r=t.height,o=t.top,i=t.left,a=t.right,s=t.bottom;e.attr("width",n+i+a).attr("height",r+o+s),e.select(".chart-container").attr("transform","translate("+i+","+o+")")};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(o,"getSvg","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/svg.js"),__REACT_HOT_LOADER__.register(i,"sizeSvg","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/svg.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZRange=t.getYRange=t.getX1Range=t.getX0Range=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58));var o=t.getX0Range=function(e,t,n){return r.scaleBand().range([0,e]).padding(.2).domain(t.map(function(e){return e[n.fieldName]}))},i=t.getX1Range=function(e,t){return r.scaleBand().range([0,e]).padding(.1).domain(t.map(function(e){return e.fieldName}))},a=t.getYRange=function(e,t,n){var o=n.map(function(e){return e.fieldName});return r.scaleLinear().range([e,0]).domain([r.min(t,function(e){return r.min(o,function(t){return e[t]})}),r.max(t,function(e){return r.max(o,function(t){return e[t]})})]).nice()},s=t.getZRange=function(e){return r.scaleOrdinal().range(e)};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(o,"getX0Range","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/ranges.js"),__REACT_HOT_LOADER__.register(i,"getX1Range","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/ranges.js"),__REACT_HOT_LOADER__.register(a,"getYRange","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/ranges.js"),__REACT_HOT_LOADER__.register(s,"getZRange","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/ranges.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.drawLegend=void 0;var r,o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58)),i=n(217);var a={width:20,height:20,offset:((r=i)&&r.__esModule?r:{default:r}).default.padding},s=t.drawLegend=function(e,t,n,r){var o=n.width+n.left+n.right-2*a.offset,i=l(e,t,o);return u(i,r),c(i,o),i},l=function(e,t,n){var r=e.select(".legend").attr("font-family","sans-serif").attr("font-size",10).attr("text-anchor","start").selectAll("g").data(t),o=r.enter().append("g").merge(r);return o.attr("transform",function(e,t){return"translate("+t*(n/o.size())+", "+a.offset+")"})},u=function(e,t){var n=e.selectAll("rect").data(function(e){return[e]});return n.enter().append("rect").merge(n).attr("x",a.offset).attr("width",a.width).attr("height",a.height).attr("fill",function(e){return t(e.fieldName)})},c=function(e,t){var n=e.selectAll("text").data(function(e){return[e]});return n.enter().append("text").merge(n).attr("x",2*a.offset+a.width).attr("y",10).attr("dy","0.32em").text(function(e){return e.caption+(e.unit?" ["+e.unit+"]":"")}).each(function(){d(this,t/e.size()-(a.offset+a.width))})},d=function(e,t){for(var n=o.select(e),r=n.node().getComputedTextLength(),i=n.text();r>t&&i.length>0;)i=i.slice(0,-1),n.text(i+"..."),r=n.node().getComputedTextLength()};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(a,"size","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(s,"drawLegend","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(l,"drawContainer","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(u,"drawRects","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(c,"drawTexts","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"),__REACT_HOT_LOADER__.register(d,"addEllipsis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/legend.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVerticalDimensions=t.getHorizontalDimensions=void 0;var r,o=Object.assign||function(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{left:35,right:5},i=e.node().parentNode.offsetWidth,s=n*a.default.ratio||a.default.minWidth,l={left:r.left+a.default.padding,right:r.right+a.default.padding};return o({},l,{width:(i0&&void 0!==arguments[0]?arguments[0]:{top:35,bottom:35},t=arguments[1],n={top:e.top+a.default.padding,bottom:e.bottom+a.default.padding};return o({},n,{height:(t||a.default.height)-(n.top+n.bottom)})};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(s,"getHorizontalDimensions","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/dimensions.js"),__REACT_HOT_LOADER__.register(l,"getVerticalDimensions","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/dimensions.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.drawData=t.isXRangeChanged=t.isYRangeChanged=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58));var o=function(e,t,n){return Object.keys(e).filter(function(e){return"_"!==e[0]&&e!==n}).map(function(n){return{key:n,value:e[n],valuePrev:t&&t[n]?t[n]:0}})},i=t.isYRangeChanged=function(e,t,n){var o=n.map(function(e){return e.fieldName});return(t&&r.max(t,function(e){return r.max(o,function(t){return e[t]})}))!==r.max(e,function(e){return r.max(o,function(t){return e[t]})})},a=t.isXRangeChanged=function(e,t,n){e.length!==(t&&t.length)?n.select("g.datasets").selectAll("g").remove():e.map(function(r,o){t&&JSON.stringify(Object.keys(e[o]))!==JSON.stringify(Object.keys(t[o]))&&n.select("g.datasets").selectAll("g").remove()})},s=t.drawData=function(e,t,n,r,s,u,c,d){d&&e.select("g.datasets").selectAll("g").remove();var f=[];r.map(function(e,t){f.push({data:e,prevData:u?u[t]:0})});var p=i(r,u,c);a(r,u,e);var h=e.select("g.datasets").selectAll("g").data(f),m=h.enter().append("g").classed("bar-group",!0).merge(h).attr("transform",function(e){return"translate("+n.x0(e.data[s])+", 0)"}).selectAll("rect").data(function(e){return o(e.data,e.prevData,s)});m.enter().append("rect").classed("bar",!0).merge(m).attr("x",function(e){return n.x1(e.key)}).attr("width",n.x1.bandwidth()).attr("y",function(e){return p||d?t.height:l(e.valuePrev,n)}).attr("height",function(e){return p||d?0:Math.abs(n.y(e.value)-n.y(0))}).transition().duration(1e3).attr("y",function(e){return l(e.value,n)}).attr("height",function(e){return Math.abs(n.y(e.value)-n.y(0))}).attr("fill",function(e){return n.z(e.key)})};function l(e,t){return e<0?t.y(0):t.y(e)}"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(o,"mapDataset","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"),__REACT_HOT_LOADER__.register(i,"isYRangeChanged","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"),__REACT_HOT_LOADER__.register(a,"isXRangeChanged","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"),__REACT_HOT_LOADER__.register(s,"drawData","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"),__REACT_HOT_LOADER__.register(l,"getY","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/data.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.populateYAxis=t.moveXAxis=t.getXAxisLabelsHeight=t.populateXAxis=t.populateY0Axis=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(58));function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||(e.select("g.y0-axis").selectAll("*").remove(),e.select("g.y0-axis").append("line").attr("y1",t(0)).attr("x1",0).attr("y2",t(0)).attr("x2",n).attr("stroke-width",1).attr("opacity",.5).attr("stroke","black"))},s=t.populateXAxis=function(e,t){var n=[];e.select("g.x-axis").call(r.axisBottom(t)).selectAll("text").classed("x-axis-label",!0).each(function(){n.push(this.getBBox())});var a=Math.max.apply(Math,o(n.map(function(e){return e.width})));if(a<=t.bandwidth())e.selectAll(".x-axis-label").style("text-anchor","middle").attr("dx","0").attr("dy",".71em").attr("transform","");else{var s=Math.max.apply(Math,o(n.filter(function(e){return e.width>=a}).map(function(e){return e.height}))),l=n.find(function(e){return e.width===a&&e.height===s}),u=i(l,t.bandwidth()),c=u>Math.PI/2?-90:u*(-180/Math.PI),d=u>Math.PI/2?0:6*Math.cos(c*(Math.PI/180));e.selectAll(".x-axis-label").style("text-anchor","end").attr("dx","-.8em").attr("dy",".15em").attr("transform","rotate("+c+") translate(0, "+(l.height/-2+d)+")")}},l=t.getXAxisLabelsHeight=function(e){var t=[];return e.selectAll(".tick").each(function(){t.push(this.getBBox().height)}),t.length?Math.max.apply(Math,t):0},u=t.moveXAxis=function(e,t){e.select(".x-axis").attr("transform","translate(0,"+t+")")},c=t.populateYAxis=function(e,t){e.select("g.y-axis").call(r.axisLeft(t).ticks(null,"s"))};"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(i,"getXAxisTickAngle","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(a,"populateY0Axis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(s,"populateXAxis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(l,"getXAxisLabelsHeight","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(u,"moveXAxis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"),__REACT_HOT_LOADER__.register(c,"populateYAxis","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/charts/BarChartComponent/axes.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0?t.map(function(e,t){return l.default.createElement(w.default,{key:t,index:t,id:e.id,moveCard:o.moveCard,addCard:o.addCard,onDrop:o.onDrop,removeCard:o.removeCard,entity:"cards",className:"draggable-widget "+(n===e.id?"draggable-widget-maximize ":""),transparent:!i},l.default.createElement(v.default,r({key:e.id,id:e.id,index:t,chartType:e.kpi.chartType,caption:e.caption,fields:e.kpi.fields,groupBy:e.kpi.groupByField,pollInterval:e.kpi.pollIntervalSec,kpi:!0,moveCard:o.moveCard,idMaximized:n,maximizeWidget:o.maximizeWidget,text:e.caption,noData:e.fetchOnDrop,handleChartOptions:o.handleChartOptions},{editmode:i})))}):l.default.createElement("div",{className:"dashboard-wrapper dashboard-logo-wrapper"},l.default.createElement("div",{className:"logo-wrapper"},l.default.createElement("img",{src:b.default}))))}}),Object.defineProperty(o,"renderOptionModal",{enumerable:!0,writable:!0,value:function(){var e=o.state,t=e.chartOptions,n=e.captionHandler,r=e.when,i=e.interval,a=e.listFocused,s=e.listToggled;return t&&l.default.createElement("div",{className:"chart-options-overlay"},l.default.createElement("div",{className:"chart-options-wrapper"},l.default.createElement("div",{className:"chart-options"},l.default.createElement("div",{className:"form-group"},l.default.createElement("label",null,"caption"),l.default.createElement("input",{className:"input-options input-secondary",value:n,onChange:o.handleChange})),l.default.createElement("div",{className:"form-group"},l.default.createElement("label",null,"interval"),l.default.createElement("div",{className:"chart-options-list-wrapper"},l.default.createElement(y.default,{onSelect:function(e){return o.handleOptionSelect("interval",e)},tabIndex:0,list:(0,f.List)([{caption:"week",value:"week"}]),selected:i,isFocused:"interval"===a,isToggled:"interval"===s,onFocus:function(){return o.handleFocus("interval")},onBlur:function(){return o.handleBlur("interval")},onOpenDropdown:function(){return o.openDropdown("interval")},onCloseDropdown:function(){return o.closeDropdown("interval")}}))),l.default.createElement("div",{className:"form-group"},l.default.createElement("label",null,"when"),l.default.createElement("div",{className:"chart-options-list-wrapper"},l.default.createElement(y.default,{onSelect:function(e){return o.handleOptionSelect("when",e)},list:(0,f.List)([{caption:"now",value:"now"},{caption:"last week",value:"lastWeek"}]),tabIndex:0,selected:r,isFocused:"when"===a,isToggled:"when"===s,onFocus:function(){return o.handleFocus("when")},onBlur:function(){return o.handleBlur("when")},onOpenDropdown:function(){return o.openDropdown("when")},onCloseDropdown:function(){return o.closeDropdown("when")}})))),l.default.createElement("div",{className:"chart-options-button-wrapper"},l.default.createElement("button",{className:"btn btn-meta-outline-secondary btn-sm",onClick:function(){return o.changeChartData("caption",n)}},"Save"))))}}),Object.defineProperty(o,"handleChartOptions",{enumerable:!0,writable:!0,value:function(e,t,n,r){o.setState({chartOptions:e,captionHandler:t,currentId:n,when:e?o.state.when:"",interval:e?o.state.interval:"",isIndicator:!!r})}}),Object.defineProperty(o,"handleOptionSelect",{enumerable:!0,writable:!0,value:function(e,t){var n=o.state,r=n.currentId;n.isIndicator?(0,p.changeTargetIndicatorsItem)(r,e,t.value).then(function(){o.setSelectedOption(e,t)}):(0,p.changeKPIItem)(r,e,t.value).then(function(){o.setSelectedOption(e,t)})}}),Object.defineProperty(o,"setSelectedOption",{enumerable:!0,writable:!0,value:function(e,t){var n=o.state,r=n.when,i=n.interval;o.setState({when:"when"===e?t:r,interval:"interval"===e?t:i})}}),Object.defineProperty(o,"handleChange",{enumerable:!0,writable:!0,value:function(e){o.setState({captionHandler:e.target.value})}}),Object.defineProperty(o,"changeChartData",{enumerable:!0,writable:!0,value:function(e,t){var n=o.state,r=n.currentId;n.isIndicator?(0,p.changeTargetIndicatorsItem)(r,e,t).then(function(){o.handleChartOptions(!1)}):(0,p.changeKPIItem)(r,e,t).then(function(){o.handleChartOptions(!1)})}}),O(o,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,s.Component),o(t,[{key:"render",value:function(){var e=this.props.editmode;return l.default.createElement("div",{className:"dashboard-cards-wrapper"},this.renderOptionModal(),l.default.createElement("div",{className:e?"dashboard-edit-mode":"dashboard-cards"},this.renderIndicators(),this.renderKpis()),e&&l.default.createElement(x.default,{addCard:this.addCard}))}}]),t}();E.propTypes={dispatch:a.default.func.isRequired};var L=(0,d.connect)()((0,u.DragDropContext)(c.default)(E));t.default=L;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(E,"DraggableWrapper","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/dashboard/DraggableWrapper.js"),__REACT_HOT_LOADER__.register(L,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/dashboard/DraggableWrapper.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0?this.introJs.showHints():t||this.introJs.hideHints()}},{key:"render",value:function(){return null}}]),t}();p.propTypes={enabled:l.default.bool,hints:l.default.arrayOf(l.default.shape({element:l.default.string.isRequired,hint:l.default.string.isRequired,hintPosition:c.hintPosition})).isRequired,onClick:l.default.func,onClose:l.default.func,options:c.options},p.defaultProps={enabled:!1,onClick:null,onClose:null,options:d.options},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0&&!this.isVisible?(this.introJs.start(),this.isVisible=!0,this.introJs.goToStepNumber(n+1),o&&o(this.introJs._currentStep)):!t&&this.isVisible&&(this.isVisible=!1,this.introJs.exit())}},{key:"render",value:function(){return null}}]),t}();p.propTypes={enabled:l.default.bool,initialStep:l.default.number.isRequired,steps:l.default.arrayOf(l.default.shape({element:l.default.string,intro:l.default.string.isRequired,position:c.tooltipPosition,tooltipClass:l.default.string,highlightClass:l.default.string})).isRequired,onStart:l.default.func,onExit:l.default.func.isRequired,onBeforeChange:l.default.func,onAfterChange:l.default.func,onChange:l.default.func,onComplete:l.default.func,options:c.options},p.defaultProps={enabled:!1,onStart:null,onBeforeChange:null,onAfterChange:null,onChange:null,onComplete:null,options:d.options},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dashboard=void 0;var r=function(){function e(e,t){for(var n=0;n0&&s.default.createElement(o.Hints,{enabled:m,hints:_}))}}]),t}();Object.defineProperty(h,"propTypes",{enumerable:!0,writable:!0,value:{dispatch:i.default.func.isRequired,pluginModal:i.default.object}});var m=(0,l.connect)(p)(h);t.default=m;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(p,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Dashboard.js"),__REACT_HOT_LOADER__.register(h,"Dashboard","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Dashboard.js"),__REACT_HOT_LOADER__.register(m,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Dashboard.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow"]));u.ref=function(t){e.scrollComponent=t,l&&l(t)};var c=[n];return o&&(s?a?c.unshift(s):c.push(s):this.defaultLoader&&(a?c.unshift(this.defaultLoader):c.push(this.defaultLoader))),i.default.createElement(r,u,c)}}]),t}();l.propTypes={children:a.default.oneOfType([a.default.object,a.default.array]).isRequired,element:a.default.string,hasMore:a.default.bool,initialLoad:a.default.bool,isReverse:a.default.bool,loader:a.default.object,loadMore:a.default.func.isRequired,pageStart:a.default.number,ref:a.default.func,threshold:a.default.number,useCapture:a.default.bool,useWindow:a.default.bool},l.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null},t.default=l,e.exports=t.default},function(e,t,n){e.exports=n(634)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0&&n.setState(function(e){return(0,i.default)(e,{view:{result:{$unset:[r]}},loading:{$set:!1}})})}}}),Object.defineProperty(n,"componentDidMount",{enumerable:!0,writable:!0,value:function(){var e=n.props.boardId;(0,c.getLayout)(e).then(function(e){return n.setState({emptyText:e.data.emptyResultText,emptyHint:e.data.emptyResultHint})})}}),Object.defineProperty(n,"loadMore",{enumerable:!0,writable:!0,value:function(e){var t=n.props,r=t.boardId,o=t.viewId;n.setState({loading:!0}),(0,c.getView)(r,o,e).then(function(e){return n.setState(function(t){return(0,i.default)(t,{view:{result:{$push:e.data.result}},loading:{$set:!1}})})})}}),Object.defineProperty(n,"handleClickOutside",{enumerable:!0,writable:!0,value:function(){(0,n.props.onClickOutside)()}}),n.state={view:{},emptyText:"",emptyHint:"",loading:!1},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,a.Component),o(t,[{key:"render",value:function(){var e=this.state,t=e.view,n=e.emptyText,o=e.emptyHint,i=e.loading;return s.default.createElement("div",{className:"board-sidenav overlay-shadow"},s.default.createElement(l.default,{pageStart:0,loadMore:this.loadMore,initialLoad:!1,loader:i?s.default.createElement(d.default,null):s.default.createElement("div",null),hasMore:t.result&&t.size>=t.result.length,useWindow:!1},s.default.createElement("div",{className:"board-sidenav-header"},"Add cards"),s.default.createElement("div",null,t.result&&t.result.map(function(e,t){return s.default.createElement(f.default,r({key:t,index:t},e))}),t.result&&0===t.result.length&&s.default.createElement("div",{className:"empty-text"},n,o?". "+o:""))))}}]),t}(),m=(0,u.default)(h);t.default=m;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(h,"Sidenav","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/board/Sidenav.js"),__REACT_HOT_LOADER__.register(m,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/board/Sidenav.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DRAGGABLE_CARD:"DRAGGABLE_CARD",CARD:"CARD"};t.default=r;"undefined"!=typeof __REACT_HOT_LOADER__&&__REACT_HOT_LOADER__.register(r,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/constants/ItemTypes.js")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&a.default.createElement("hr",{className:"context-menu-separator"}),p,h>0&&a.default.createElement("hr",{className:"context-menu-separator"}),a.default.createElement("div",{className:"user-dropdown-item",onClick:function(){r("/logout"),n(!1)},tabIndex:0},a.default.createElement("i",{className:"meta-icon-logout"}),o.default.translate("window.logOut.caption"))),c===i&&!t&&a.default.createElement(u.default,{name:i,action:o.default.translate("mainScreen.userMenu.tooltip"),type:""}))}}]),t}(),f=(0,s.default)(d);t.default=f;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(d,"UserDropdown","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/UserDropdown.js"),__REACT_HOT_LOADER__.register(f,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/UserDropdown.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=Object.assign||function(e){for(var t=1;t0&&(h.selectedTabId=f,h.selectedRowIds=p),e.next=7,(0,d.actionsRequest)(h);case 7:return m=e.sent.data.actions,e.abrupt("return",m);case 11:return e.prev=11,e.t0=e.catch(1),console.error(e.t0),e.abrupt("return",[]);case 15:case"end":return e.stop()}},e,l,[[1,11]])})),function(){return s.apply(this,arguments)})}),Object.defineProperty(r,"requestRowActions",{enumerable:!0,writable:!0,value:(i=_(regeneratorRuntime.mark(function e(){var t,n,i,a,s,u,c,f,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.props,n=t.windowType,i=t.docId,a=t.activeTab,s=t.activeTabSelected,e.prev=1,c=s.map(function(){var e=_(regeneratorRuntime.mark(function e(t){var r,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.rowActionsRequest)({windowId:n,documentId:i,tabId:a,rowId:t});case 2:return r=e.sent,s=r.data.actions.map(function(e){return o({},e,{tabId:a,rowId:t})}),e.abrupt("return",s);case 5:case"end":return e.stop()}},e,l)}));return function(t){return e.apply(this,arguments)}}()),e.next=5,Promise.all(c);case 5:return f=e.sent,p=(u=Array.prototype.concat).call.apply(u,m(f)),e.abrupt("return",p);case 10:return e.prev=10,e.t0=e.catch(1),console.error(e.t0),e.abrupt("return",[]);case 14:case"end":return e.stop()}},e,l,[[1,10]])})),function(){return i.apply(this,arguments)})}),Object.defineProperty(r,"getPluginsActions",{enumerable:!0,writable:!0,value:function(){var e=r.props.plugins,t=[];return e.length&&e.forEach(function(e){e.headerActions&&e.headerActions.length&&t.push.apply(t,m(e.headerActions))}),t}}),Object.defineProperty(r,"renderAction",{enumerable:!0,writable:!0,value:function(e){return function(t,n){var o=r.props,i=o.closeSubheader,a=o.openModalRow,s=o.openModal,l=o.selected,c=o.childViewId,d=o.childViewSelectedIds,f=null;if(!t.disabled){var p=void 0;p=t.tabId&&t.rowId?function(){return a(t.processId+"","process",t.caption,t.tabId,t.rowId)}:function(){return s(t.processId+"","process",t.caption,!1,l,c,d)},f=function(){p(),i()}}return u.default.createElement("div",{key:e+n,tabIndex:0,className:"subheader-item js-subheader-item"+(t.disabled?" subheader-item-disabled":""),onClick:f},t.caption,t.disabled&&t.disabledReason&&u.default.createElement("p",{className:"one-line"},u.default.createElement("small",null,"(",t.disabledReason,")")))}}}),Object.defineProperty(r,"renderPluginAction",{enumerable:!0,writable:!0,value:function(e){return function(t,n){var o=r.props,i=o.closeSubheader,a=o.dispatch,s=null;if(!t.disabled){var l=t.clickHandler;s=function(){l(a),i()}}return u.default.createElement("div",{key:e+n,tabIndex:0,className:"subheader-item js-subheader-item"+(t.disabled?" subheader-item-disabled":""),onClick:s},t.caption,t.disabled&&t.disabledReason&&u.default.createElement("p",{className:"one-line"},u.default.createElement("small",null,"(",t.disabledReason,")")))}}}),Object.defineProperty(r,"renderData",{enumerable:!0,writable:!0,value:function(){var e=r,t=e.renderAction,n=e.renderPluginAction,o=e.getPluginsActions,i=r.state,s=i.actions,l=i.rowActions,c=s?s.length:0,d=l?l.length:0,f=u.default.createElement("hr",{key:"separator",tabIndex:0}),p=[];if(c>0&&d>0?p=[].concat(m(s.map(t("actions"))),[f],m(l.map(t("rowActions")))):c>0?p=s.map(t("actions")):d>0&&(p=l.map(t("rowActions"))),p.length){var h,_=o();if(_.length)(h=p).push.apply(h,[f].concat(m(_.map(n("plugins")))));return p}return u.default.createElement("div",{className:"subheader-item subheader-item-disabled"},a.default.translate("window.actions.emptyText"))}}),b(r,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,l.Component),i(t,[{key:"componentDidMount",value:function(){var e=_(regeneratorRuntime.mark(function e(){var t,n,i,a,s,l,u,c,d,f,p,h;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.windowType,i=t.entity,a=t.docId,s=t.notfound,l=t.activeTab,u=t.activeTabSelected,c=[this.requestActions()],n&&"notfound"!==a&&!s){e.next=5;break}return this.setState({actions:[]}),e.abrupt("return");case 5:if("board"!==i){e.next=8;break}return this.setState({actions:[]}),e.abrupt("return");case 8:return l&&u&&u.length>0&&c.push(this.requestRowActions()),e.next=11,Promise.all(c);case 11:d=e.sent,f=r(d,2),p=f[0],h=f[1],this.setState(o({actions:p},h&&{rowActions:h}));case 16:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.state.actions;return u.default.createElement("div",{className:"subheader-column js-subheader-column",tabIndex:0},u.default.createElement("div",{className:"subheader-header"},a.default.translate("window.actions.caption")),u.default.createElement("div",{className:"subheader-break"}),e?this.renderData():u.default.createElement(f.default,null))}}]),t}();Object.defineProperty(g,"propTypes",{enumerable:!0,writable:!0,value:{windowType:s.default.string,viewId:s.default.string,childViewId:s.default.string,childViewSelectedIds:s.default.array,dispatch:s.default.func.isRequired,selected:s.default.array.isRequired,plugins:s.default.any}});var y=function(e,t){var n=e.listHandler.includedView,r={selected:(0,p.getSelection)({state:e,windowType:t.windowType,viewId:t.viewId}),plugins:e.pluginsHandler.files};return n&&n.viewId&&(r.childViewId=n.viewId,r.childViewSelectedIds=(0,p.getSelection)({state:e,windowType:n.windowType,viewId:n.viewId})),r},v=(0,c.connect)(y)(g);t.default=v;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(g,"Actions","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js"),__REACT_HOT_LOADER__.register(y,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js"),__REACT_HOT_LOADER__.register(v,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=t||n<0||f&&e-c>=a}function w(){var e=_();if(v(e))return k(e);l=setTimeout(w,function(e){var n=t-(e-u);return f?m(n,a-(e-c)):n}(e))}function k(e){return l=void 0,p&&o?y(e):(o=i=void 0,s)}function x(){var e=_(),n=v(e);if(o=arguments,i=this,u=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(w,t),d?y(e):s}(u);if(f)return l=setTimeout(w,t),y(u)}return void 0===l&&(l=setTimeout(w,t)),s}return t=g(t)||0,b(r)&&(d=!!r.leading,a=(f="maxWait"in r)?h(g(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),x.cancel=function(){void 0!==l&&clearTimeout(l),c=0,o=u=i=l=void 0},x.flush=function(){return void 0===l?s:k(_())},x}}).call(this,n(12))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebounceInput=void 0;var r=Object.assign||function(e){for(var t=1;t=n.props.minLength?n.notify(e):t.length>o.length&&n.notify(r({},e,{target:r({},e.target,{value:""})}))})},n.onKeyDown=function(e){var t=n.props.onKeyDown;"Enter"===e.key&&n.forceNotify(e),t&&t(e)},n.onBlur=function(e){var t=n.props.onBlur;n.forceNotify(e),t&&t(e)},n.createNotifier=function(e){if(e<0)n.notify=function(){return null};else if(0===e)n.notify=n.doNotify;else{var t=(0,a.default)(function(e){n.isDebouncing=!1,n.doNotify(e)},e);n.notify=function(e){n.isDebouncing=!0,t(e)},n.flush=function(){return t.flush()},n.cancel=function(){n.isDebouncing=!1,t.cancel()}}},n.doNotify=function(){n.props.onChange.apply(void 0,arguments)},n.forceNotify=function(e){if(n.isDebouncing){n.cancel&&n.cancel();var t=n.state.value,o=n.props.minLength;t.length>=o?n.doNotify(e):n.doNotify(r({},e,{target:r({},e.target,{value:t})}))}},n.state={value:e.value||""},n.isDebouncing=!1,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,i.default.PureComponent),o(t,[{key:"componentWillMount",value:function(){this.createNotifier(this.props.debounceTimeout)}},{key:"componentWillReceiveProps",value:function(e){var t=e.value,n=e.debounceTimeout;this.isDebouncing||(void 0!==t&&this.state.value!==t&&this.setState({value:t}),n!==this.props.debounceTimeout&&this.createNotifier(n))}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var e=this.props,t=e.element,n=(e.onChange,e.value,e.minLength,e.debounceTimeout,e.forceNotifyByEnter),o=e.forceNotifyOnBlur,a=e.onKeyDown,s=e.onBlur,l=e.inputRef,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"]),c=void 0;c=n?{onKeyDown:this.onKeyDown}:a?{onKeyDown:a}:{};var d=void 0;d=o?{onBlur:this.onBlur}:s?{onBlur:s}:{};var f=l?{ref:l}:{};return i.default.createElement(t,r({},u,{onChange:this.onChange,value:this.state.value},c,d,f))}}]),t}()).defaultProps={element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0?(t>0?" / ":"")+e.captionBreadcrumb:e.captionBreadcrumb)}))}}),Object.defineProperty(o,"renderNavigation",{enumerable:!0,writable:!0,value:function(e){var t=o.props,n=t.handleMenuOverlay,a=t.openModal,s=t.dispatch,u=t.siteName;return l.default.createElement("div",{className:"menu-overlay-container-column-wrapper js-menu-overlay",tabIndex:0,onKeyDown:function(e){return o.handleKeyDown(e)}},l.default.createElement("div",{className:"menu-overlay-top-spacer"}),l.default.createElement("div",null,l.default.createElement("span",{className:"menu-overlay-header menu-overlay-header-spaced menu-overlay-header-main pointer js-menu-header",onClick:function(e){e&&(e.preventDefault(),e.stopPropagation()),s((0,h.closeModal)()),s((0,h.clearMasterData)()),s((0,f.push)("/"))},tabIndex:0},"Dashboard")),"Sitemap"!==u&&l.default.createElement("div",null,l.default.createElement("span",{className:"menu-overlay-header menu-overlay-header-spaced menu-overlay-header-main pointer js-menu-header js-browse-item",onClick:function(e){e&&(e.preventDefault(),e.stopPropagation()),s((0,h.closeModal)()),s((0,h.clearMasterData)()),s((0,f.push)("/sitemap"))},tabIndex:0},i.default.translate("window.browseTree.caption"))),l.default.createElement("div",null,e&&e.children&&e.children.map(function(t,i){return l.default.createElement(m.default,r({key:i,handleClickOnFolder:o.handleDeeper,handleRedirect:o.handleRedirect,handleNewRedirect:o.handleNewRedirect,handlePath:o.handlePath,parent:e,printChildren:!0,transparentBookmarks:!0,back:function(e){return o.handleClickBack(e)},handleMenuOverlay:n,openModal:a},t))})))}}),Object.defineProperty(o,"renderSubnavigation",{enumerable:!0,writable:!0,value:function(e){var t=o.props,n=t.handleMenuOverlay,r=t.openModal;return l.default.createElement("div",null,l.default.createElement(m.default,{handleClickOnFolder:o.handleDeeper,handleRedirect:o.handleRedirect,handleNewRedirect:o.handleNewRedirect,handlePath:o.handlePath,parent:e,printChildren:!0,transparentBookmarks:!0,back:function(e){return o.handleClickBack(e)},handleMenuOverlay:n,openModal:r,subNavigation:!0,type:e.type},e))}}),Object.defineProperty(o,"linkClick",{enumerable:!0,writable:!0,value:function(e){var t=o.props.dispatch;e.elementId&&"newRecord"==e.type?o.handleNewRedirect(e.elementId):e.elementId&&"window"==e.type&&(o.handleRedirect(e.elementId),t((0,p.getWindowBreadcrumb)(e.elementId)))}}),Object.defineProperty(o,"handleKeyDown",{enumerable:!0,writable:!0,value:function(e){var t=o.props.handleMenuOverlay,n=document.getElementById("search-input-query"),r=document.getElementsByClassName("js-menu-item")[0],i=document.getElementsByClassName("menu-overlay-query")[0].getElementsByClassName("js-menu-item")[0],a=document.getElementsByClassName("js-browse-item")[0],s=document.activeElement.classList.contains("js-browse-item"),l=document.activeElement.classList.contains("js-menu-overlay"),u=document.getElementsByClassName("js-menu-header")[0],c=document.activeElement.classList.contains("js-menu-header"),d=document.getElementsByClassName("js-menu-header")[0],f=document.activeElement.parentElement.previousSibling;switch(e.key){case"ArrowDown":e.preventDefault(),document.activeElement===n?i&&i.focus():l?d.focus():s?r.focus():c&&(a?a.focus():r.focus());break;case"ArrowUp":e.preventDefault(),document.activeElement.classList.contains("js-menu-header")?f.children[0]&&f.children[0].classList.contains("js-menu-header")&&f.children[0].focus():document.activeElement===document.getElementsByClassName("js-menu-item")[0]&&(a?a.focus():d.focus()),document.activeElement.classList.contains("js-menu-item")&&o.handleArrowUp();break;case"Tab":e.preventDefault(),document.activeElement===n?u.focus():n.focus();break;case"Enter":e.preventDefault(),document.activeElement.click();break;case"Backspace":document.activeElement!==n&&(e.preventDefault(),o.handleClickBack(e),document.getElementsByClassName("js-menu-overlay")[0].focus());break;case"Escape":e.preventDefault(),t("","")}}}),g(o,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,s.Component),o(t,[{key:"handleArrowUp",value:function(){var e=document.activeElement.previousSibling;e&&e.classList.contains("input-primary")?document.getElementById("search-input-query").focus():e&&e.classList.contains("js-menu-item")?document.activeElement.previousSibling.focus():this.handleGroupUp()}},{key:"findPreviousGroup",value:function(){for(var e=document.activeElement.parentElement,t=0;!(e&&e.classList.contains("js-menu-container")&&e.previousSibling&&0!==e.previousSibling.children.length||e&&e.classList.contains("js-menu-main-container")&&t<100);)e=e&&e.parentElement,t++;return e.previousSibling}},{key:"selectLastItem",value:function(e){var t=e.childNodes,n=t[t.length-1];1==t.length?t[0].focus&&t[0].focus():n.classList.contains("js-menu-item")?n.focus():n.children[n.children.length-1].classList.contains("js-menu-item")?n.children[n.children.length-1].focus():n.children[n.children.length-1].getElementsByClassName("js-menu-item")[n.children[n.children.length-1].getElementsByClassName("js-menu-item").length-1].focus()}},{key:"handleGroupUp",value:function(){var e=this.findPreviousGroup(),t=document.activeElement.parentElement.previousSibling;t&&t.classList.contains("js-menu-item")?t.focus():t.children.length>0?this.selectLastItem(t):e?this.selectLastItem(e):document.activeElement.previousSibling.focus()}},{key:"render",value:function(){var e=this,t=this.state,n=t.queriedResults,o=t.deepSubNode,a=t.query,s=t.data,c=this.props,d=c.nodeId,f=c.node,p=c.handleMenuOverlay,h=c.openModal,m=s.length?s:f&&f.children?f.children:f;return l.default.createElement("div",{className:"menu-overlay menu-overlay-primary"},l.default.createElement("div",{className:"menu-overlay-body breadcrumbs-shadow"},0==d?l.default.createElement("div",{className:"menu-overlay-root-body"},this.renderNavigation(s),l.default.createElement("div",{className:"menu-overlay-query hidden-sm-down"},l.default.createElement("div",{className:"input-flex input-primary"},l.default.createElement("i",{className:"input-icon meta-icon-preview"}),l.default.createElement(u.default,{debounceTimeout:250,type:"text",id:"search-input-query",className:"input-field",placeholder:i.default.translate("window.type.placeholder"),onChange:this.handleQuery,onKeyDown:this.handleKeyDown}),a&&l.default.createElement("i",{className:"input-icon meta-icon-close-alt pointer",onClick:this.handleClear})),n&&n.map(function(t,n){return l.default.createElement(_.default,r({key:n,query:!0,transparentBookmarks:!0,handleClickOnFolder:e.handleDeeper,handleRedirect:e.handleRedirect,handleNewRedirect:e.handleNewRedirect,handlePath:e.handlePath,handleMenuOverlay:p,openModal:h},t))}),0===n.length&&""!==a&&l.default.createElement("span",null,"There are no results"))):l.default.createElement("div",{className:"menu-overlay-node-container menu-suboverlay"},this.renderSubnavigation(o||m))))}}]),t}();y.propTypes={dispatch:a.default.func.isRequired};var v=(0,d.connect)()((0,c.default)(y));t.default=v;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(y,"MenuOverlay","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlay.js"),__REACT_HOT_LOADER__.register(v,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlay.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&s.default.createElement("div",{className:"letter-templates"},s.default.createElement(p.default,{rank:"primary",list:a,onSelect:function(t){return e.handleTemplate(t)},selected:l,isFocused:c,isToggled:d,onOpenDropdown:this.openTemplatesList,onCloseDropdown:this.closeTemplatesList,onFocus:this.handleListFocus,onBlur:this.handleListBlur})),s.default.createElement("div",{className:"input-icon input-icon-lg letter-icon-close",onClick:t},s.default.createElement("i",{className:"meta-icon-close-1"})))),s.default.createElement("div",{className:"panel-letter-body"},s.default.createElement("textarea",{value:o||"",onChange:this.handleChange,onBlur:this.handleBlur})),s.default.createElement("div",{className:"panel-letter-footer"},s.default.createElement("button",{onClick:this.complete,className:"btn btn-meta-success btn-sm btn-submit"},i.default.translate("window.letter.create")))))}}]),t}(),b=(0,l.connect)()(_);t.default=b;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(_,"NewLetter","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/letter/NewLetter.js"),__REACT_HOT_LOADER__.register(b,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/letter/NewLetter.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var l={className:"react-tagsinput-input",placeholder:"Add a tag"},u=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var 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));return e.state={tag:"",isFocused:!1},e.focus=e.focus.bind(e),e.blur=e.blur.bind(e),e}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:"_getTagDisplayValue",value:function(e){var t=this.props.tagDisplayProp;return t?e[t]:e}},{key:"_makeTag",value:function(e){var t,n,r,o=this.props.tagDisplayProp;return o?(r=e,(n=o)in(t={})?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t):e}},{key:"_removeTag",value:function(e){var t=this.props.value.concat([]);if(e>-1&&e0:n}),s>=0){var c=Math.max(s-l.length,0);e=e.slice(0,c)}if(i&&u.length>0&&i(u),e.length>0){for(var d=l.concat(e),f=[],p=0;p0||(this._clearInput(),1))}},{key:"_shouldPreventDefaultEventOnAdd",value:function(e,t,n){return!!e||13===n&&(this.props.preventSubmit||!this.props.preventSubmit&&!t)}},{key:"focus",value:function(){this.input&&"function"==typeof this.input.focus&&this.input.focus(),this.handleOnFocus()}},{key:"blur",value:function(){this.input&&"function"==typeof this.input.blur&&this.input.blur(),this.handleOnBlur()}},{key:"accept",value:function(){var e=this._tag();return""!==e&&(e=this._makeTag(e),this._addTags([e]))}},{key:"addTag",value:function(e){return this._addTags([e])}},{key:"clearInput",value:function(){this._clearInput()}},{key:"handlePaste",value:function(e){var t=this,n=this.props,r=n.addOnPaste,o=n.pasteSplit;if(r){e.preventDefault();var i=function(e){return window.clipboardData?window.clipboardData.getData("Text"):e.clipboardData?e.clipboardData.getData("text/plain"):""}(e),a=o(i).map(function(e){return t._makeTag(e)});this._addTags(a)}}},{key:"handleKeyDown",value:function(e){if(!e.defaultPrevented){var t=this.props,n=t.value,r=t.removeKeys,o=t.addKeys,i=this._tag(),a=""===i,s=e.keyCode,l=e.key,u=-1!==o.indexOf(s)||-1!==o.indexOf(l),c=-1!==r.indexOf(s)||-1!==r.indexOf(l);if(u){var d=this.accept();this._shouldPreventDefaultEventOnAdd(d,a,s)&&e.preventDefault()}c&&n.length>0&&a&&(e.preventDefault(),this._removeTag(n.length-1))}}},{key:"handleClick",value:function(e){e.target===this.div&&this.focus()}},{key:"handleChange",value:function(e){var t=this.props.onChangeInput,n=this.props.inputProps.onChange,r=e.target.value;n&&n(e),this.hasControlledInput()?t(r):this.setState({tag:r})}},{key:"handleOnFocus",value:function(e){var t=this.props.inputProps.onFocus;t&&t(e),this.setState({isFocused:!0})}},{key:"handleOnBlur",value:function(e){var t=this.props.inputProps.onBlur;if(this.setState({isFocused:!1}),null!=e&&(t&&t(e),this.props.addOnBlur)){var n=this._makeTag(e.target.value);this._addTags([n])}}},{key:"handleRemove",value:function(e){this._removeTag(e)}},{key:"inputProps",value:function(){var e=this.props.inputProps,t=(e.onChange,e.onFocus,e.onBlur,s(e,["onChange","onFocus","onBlur"])),n=a({},l,t);return this.props.disabled&&(n.disabled=!0),n}},{key:"inputValue",value:function(e){return e.currentValue||e.inputValue||""}},{key:"hasControlledInput",value:function(){var e=this.props,t=e.inputValue,n=e.onChangeInput;return"function"==typeof n&&"string"==typeof t}},{key:"componentDidMount",value:function(){this.hasControlledInput()||this.setState({tag:this.inputValue(this.props)})}},{key:"componentWillReceiveProps",value:function(e){this.hasControlledInput()||this.inputValue(e)&&this.setState({tag:this.inputValue(e)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=(t.onChange,t.tagProps),i=t.renderLayout,l=t.renderTag,u=t.renderInput,c=(t.addKeys,t.removeKeys,t.className),d=t.focusedClassName,f=(t.addOnBlur,t.addOnPaste,t.inputProps,t.pasteSplit,t.onlyUnique,t.maxTags,t.validationRegex,t.disabled),p=(t.tagDisplayProp,t.inputValue,t.onChangeInput,s(t,["value","onChange","tagProps","renderLayout","renderTag","renderInput","addKeys","removeKeys","className","focusedClassName","addOnBlur","addOnPaste","inputProps","pasteSplit","onlyUnique","maxTags","validationRegex","disabled","tagDisplayProp","inputValue","onChangeInput"]),this.state.isFocused);p&&(c+=" "+d);var h=n.map(function(t,n){return l(a({key:n,tag:t,onRemove:e.handleRemove.bind(e),disabled:f,getTagDisplayValue:e._getTagDisplayValue.bind(e)},r))}),m=u(a({ref:function(t){e.input=t},value:this._tag(),onPaste:this.handlePaste.bind(this),onKeyDown:this.handleKeyDown.bind(this),onChange:this.handleChange.bind(this),onFocus:this.handleOnFocus.bind(this),onBlur:this.handleOnBlur.bind(this),addTag:this.addTag.bind(this)},this.inputProps()));return o.default.createElement("div",{ref:function(t){e.div=t},onClick:this.handleClick.bind(this),className:c},i(h,m))}}]),t}(o.default.Component);u.defaultProps={className:"react-tagsinput",focusedClassName:"react-tagsinput--focused",addKeys:[9,13],addOnBlur:!1,addOnPaste:!1,inputProps:{},removeKeys:[8],renderInput:function(e){e.addTag;var t=s(e,["addTag"]),n=t.onChange,r=t.value,i=s(t,["onChange","value"]);return o.default.createElement("input",a({type:"text",onChange:n,value:r},i))},renderTag:function(e){var t=e.tag,n=e.key,r=e.disabled,i=e.onRemove,l=e.classNameRemove,u=e.getTagDisplayValue,c=s(e,["tag","key","disabled","onRemove","classNameRemove","getTagDisplayValue"]);return o.default.createElement("span",a({key:n},c),u(t),!r&&o.default.createElement("a",{className:l,onClick:function(e){return i(n)}}))},renderLayout:function(e,t){return o.default.createElement("span",null,e,t)},pasteSplit:function(e){return e.split(" ").map(function(e){return e.trim()})},tagProps:{className:"react-tagsinput-tag",classNameRemove:"react-tagsinput-remove"},onlyUnique:!1,maxTags:-1,validationRegex:/.*/,disabled:!1,tagDisplayProp:null,preventSubmit:!0},t.default=u,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["isHighlighted","item","renderItem","renderItemData"]);return delete s.sectionIndex,delete s.itemIndex,"function"==typeof s.onMouseEnter&&(s.onMouseEnter=this.onMouseEnter),"function"==typeof s.onMouseLeave&&(s.onMouseLeave=this.onMouseLeave),"function"==typeof s.onMouseDown&&(s.onMouseDown=this.onMouseDown),"function"==typeof s.onClick&&(s.onClick=this.onClick),a.default.createElement("li",r({role:"option"},s,{ref:this.storeItemReference}),o(n,r({isHighlighted:t},i)))}}]),t}();d.propTypes={sectionIndex:s.default.number,isHighlighted:s.default.bool.isRequired,itemIndex:s.default.number.isRequired,item:s.default.any.isRequired,renderItem:s.default.func.isRequired,renderItemData:s.default.object.isRequired,onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onClick:s.default.func},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1?t-1:0),r=1;r=0&&0===t[e];)e--;return-1===e?null:e}(i))?[null,null]:[i,t[i]-1]:[i,a-1]:0===t||0===a?[null,null]:null===a?[null,t-1]:[null,a-1]},isLast:function(e){return null===o(e)[1]}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tr+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,i=t.renderInputComponent,a=t.renderItemsContainer,l=t.highlightedSectionIndex,u=t.highlightedItemIndex,c=this.state.isInputFocused,d=o?this.renderSections():this.renderItems(),f=null!==d,p=this.getItemId(l,u),h=e("react-autowhatever-"+n+"-container","container",f&&"containerOpen"),m="react-autowhatever-"+n,_=i(r({type:"text",value:"",autoComplete:"off",role:"combobox","aria-autocomplete":"list","aria-owns":m,"aria-expanded":f,"aria-haspopup":f,"aria-activedescendant":p},e("react-autowhatever-"+n+"-input","input",f&&"inputOpen",c&&"inputFocused"),this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),b=a({containerProps:r({id:m},e("react-autowhatever-"+n+"-items-container","itemsContainer",f&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:d});return s.default.createElement("div",h,_,b)}}]),t}();m.propTypes={id:l.default.string,multiSection:l.default.bool,renderInputComponent:l.default.func,renderItemsContainer:l.default.func,items:l.default.array.isRequired,renderItem:l.default.func,renderItemData:l.default.object,renderSectionTitle:l.default.func,getSectionItems:l.default.func,inputProps:l.default.object,itemProps:l.default.oneOfType([l.default.object,l.default.func]),highlightedSectionIndex:l.default.number,highlightedItemIndex:l.default.number,theme:l.default.oneOfType([l.default.object,l.default.array])},m.defaultProps={id:"1",multiSection:!1,renderInputComponent:function(e){return s.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return s.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:h,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},inputProps:h,itemProps:h,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}},t.default=m},function(e,t,n){"use strict";e.exports=n(666).default},function(e,t){e.exports=function(e,t){if(e===t)return!0;var n=e.length;if(t.length!==n)return!1;for(var r=0;r0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered&&this.highlightFirstSuggestion():this.willRenderSuggestions(e)?this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions():this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,i=n.highlightFirstSuggestion;if(!(0,l.default)(r,e.suggestions)&&r.length>0&&i)this.highlightFirstSuggestion();else if(o){var a=this.getHighlightedSuggestion();a!=t.highlightedSuggestion&&o({suggestion:a})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState(function(o){var i=o.valueBeforeUpDown;return null===t?i=null:null===i&&void 0!==n&&(i=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:i}})}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState(function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,i=n.getSectionSuggestions;return o?i(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,i=r.onChange;t!==o&&i(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e){var t=e.suggestions,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value;return t.length>0&&r(o)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,i=t.onSuggestionsFetchRequested,s=t.renderSuggestion,l=t.inputProps,d=t.multiSection,p=t.renderSectionTitle,h=t.id,m=t.getSectionSuggestions,_=t.theme,b=t.getSuggestionValue,g=t.alwaysRenderSuggestions,y=t.highlightFirstSuggestion,v=this.state,w=v.isFocused,k=v.isCollapsed,x=v.highlightedSectionIndex,T=v.highlightedSuggestionIndex,M=v.valueBeforeUpDown,O=g?f:this.props.shouldRenderSuggestions,E=l.value,L=l.onFocus,S=l.onKeyDown,D=this.willRenderSuggestions(this.props),j=g||w&&!k&&D,C=j?n:[],A=r({},l,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=O(E);e.setState({isFocused:!0,isCollapsed:!n}),L&&L(t),n&&i({value:E,reason:"input-focused"})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,o=O(n);e.maybeCallOnChange(t,n,"type"),e.setState(r({},y?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!o})),o?i({value:n,reason:"input-changed"}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(k)O(E)&&(i({value:E,reason:"suggestions-revealed"}),e.revealSuggestions());else if(n.length>0){var a=r.newHighlightedSectionIndex,s=r.newHighlightedItemIndex,l=void 0;l=null===s?null===M?E:M:e.getSuggestionValueByIndex(a,s),e.updateHighlightedSuggestion(a,s,E),e.maybeCallOnChange(t,l,40===o?"down":"up")}t.preventDefault(),e.justPressedUpDown=!0,setTimeout(function(){e.justPressedUpDown=!1});break;case 13:if(229===t.keyCode)break;var u=e.getHighlightedSuggestion();if(j&&!g&&e.closeSuggestions(),null!=u){var c=b(u);e.maybeCallOnChange(t,c,"enter"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:c,suggestionIndex:T,sectionIndex:x,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout(function(){e.justSelectedSuggestion=!1})}break;case 27:j&&t.preventDefault();var d=j&&!g;if(null===M){if(!d){e.maybeCallOnChange(t,"","escape"),O("")?i({value:"",reason:"escape-pressed"}):e.onSuggestionsClearRequested()}}else e.maybeCallOnChange(t,M,"escape");d?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}S&&S(t)}}),P={query:this.getQuery()};return a.default.createElement(u.default,{multiSection:d,items:C,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:s,renderItemData:P,renderSectionTitle:p,getSectionItems:m,highlightedSectionIndex:x,highlightedItemIndex:T,inputProps:A,itemProps:this.itemProps,theme:(0,c.mapToAutowhateverTheme)(_),id:h,ref:this.storeAutowhateverRef})}}]),t}();p.propTypes={suggestions:s.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var n=e[t];if("function"!=typeof n)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},onSuggestionSelected:s.default.func,onSuggestionHighlighted:s.default.func,renderInputComponent:s.default.func,renderSuggestionsContainer:s.default.func,getSuggestionValue:s.default.func.isRequired,renderSuggestion:s.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n.hasOwnProperty("value"))throw new Error("'inputProps' must have 'value'.");if(!n.hasOwnProperty("onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:s.default.func,alwaysRenderSuggestions:s.default.bool,multiSection:s.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:s.default.bool,highlightFirstSuggestion:s.default.bool,theme:s.default.object,id:s.default.string},p.defaultProps={renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return a.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:c.defaultTheme,id:"1"};var h=function(){var e=this;this.onDocumentMouseDown=function(t){e.justClickedOnSuggestionsContainer=!1;for(var n=t.detail&&t.detail.target||t.target;null!==n&&n!==document;){if(null!==n.getAttribute("data-suggestion-index"))return;if(n===e.suggestionsContainer)return void(e.justClickedOnSuggestionsContainer=!0);n=n.parentNode}},this.storeAutowhateverRef=function(t){null!==t&&(e.autowhatever=t)},this.onSuggestionMouseEnter=function(t,n){var r=n.sectionIndex,o=n.itemIndex;e.updateHighlightedSuggestion(r,o),e.justMouseEntered=!0,setTimeout(function(){e.justMouseEntered=!1})},this.highlightFirstSuggestion=function(){e.updateHighlightedSuggestion(e.props.multiSection?0:null,0)},this.onSuggestionMouseDown=function(){e.justSelectedSuggestion=!0},this.onSuggestionsClearRequested=function(){var t=e.props.onSuggestionsClearRequested;t&&t()},this.onSuggestionSelected=function(t,n){var r=e.props,o=r.alwaysRenderSuggestions,i=r.onSuggestionSelected,a=r.onSuggestionsFetchRequested;i&&i(t,n),o?a({value:n.suggestionValue,reason:"suggestion-selected"}):e.onSuggestionsClearRequested(),e.resetHighlightedSuggestion()},this.onSuggestionClick=function(t){var n=e.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,i=e.getSuggestionIndices(e.findSuggestionElement(t.target)),a=i.sectionIndex,s=i.suggestionIndex,l=e.getSuggestion(a,s),u=e.props.getSuggestionValue(l);e.maybeCallOnChange(t,u,"click"),e.onSuggestionSelected(t,{suggestion:l,suggestionValue:u,suggestionIndex:s,sectionIndex:a,method:"click"}),r||e.closeSuggestions(),!0===o?e.input.focus():e.onBlur(),setTimeout(function(){e.justSelectedSuggestion=!1})},this.onBlur=function(){var t=e.props,n=t.inputProps,r=t.shouldRenderSuggestions,o=n.value,i=n.onBlur,a=e.getHighlightedSuggestion(),s=r(o);e.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),i&&i(e.blurEvent,{highlightedSuggestion:a})},this.resetHighlightedSuggestionOnMouseLeave=function(){e.resetHighlightedSuggestion(!1)},this.itemProps=function(t){return{"data-section-index":t.sectionIndex,"data-suggestion-index":t.itemIndex,onMouseEnter:e.onSuggestionMouseEnter,onMouseLeave:e.resetHighlightedSuggestionOnMouseLeave,onMouseDown:e.onSuggestionMouseDown,onTouchStart:e.onSuggestionMouseDown,onClick:e.onSuggestionClick}},this.renderSuggestionsContainer=function(t){var n=t.containerProps,r=t.children;return(0,e.props.renderSuggestionsContainer)({containerProps:n,children:r,query:e.getQuery()})}};t.default=p},function(e,t,n){"use strict";e.exports=n(669).default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["addTag"]),i=e.state.suggestions;return a.default.createElement(s.default,{ref:o.ref,suggestions:i,shouldRenderSuggestions:function(e){return e&&e.trim().length>0},getSuggestionValue:function(e){return e.caption},renderSuggestion:e.renderSuggestion,inputProps:r({},o,{onChange:function(e,t){"enter"===t.method?e.preventDefault():o.onChange(e)}}),onSuggestionSelected:function(e,t){var r=t.suggestion;n(r.caption)},onSuggestionsFetchRequested:e.suggestionsFetch,onSuggestionsClearRequested:function(){return e.setState({suggestions:[]})}})}})},h=f;t.default=h;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(f,"AutocompleteTo","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/email/AutocompleteTo.js"),__REACT_HOT_LOADER__.register(h,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/email/AutocompleteTo.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n0&&l.default.createElement("div",{className:"email-templates"},l.default.createElement(h.default,{rank:"primary",list:g,onSelect:function(t){return e.handleTemplate(t)},selected:y,isFocused:v,isToggled:w,onOpenDropdown:this.openTemplatesList,onCloseDropdown:this.closeTemplatesList,onFocus:this.handleFocus,onBlur:this.handleBlur})),l.default.createElement("div",{className:"input-icon input-icon-lg icon-email",onClick:n},l.default.createElement("i",{className:"meta-icon-close-1"}))),l.default.createElement("div",{className:"panel-email-header panel-email-bright"},l.default.createElement("div",{className:"panel-email-data-wrapper"},l.default.createElement("span",{className:"email-label"},i.default.translate("window.email.to"),":"),l.default.createElement(_.default,{windowId:o,docId:a,emailId:d,to:b}))),l.default.createElement("div",{className:"panel-email-header panel-email-bright"},l.default.createElement("div",{className:"panel-email-data-wrapper"},l.default.createElement("span",{className:"email-label"},i.default.translate("window.email.topic"),":"),l.default.createElement("input",{className:"email-input email-input-msg",type:"text",onChange:function(t){return e.change("subject",t.target.value)},value:f||"",onBlur:function(){return e.patch("subject",f)}})))),l.default.createElement("div",{className:"panel-email-body"},l.default.createElement("textarea",{value:p||"",onChange:function(t){return e.change("message",t.target.value)},onBlur:function(){return e.patch("message",p)}})),l.default.createElement("div",{className:"panel-email-footer"},l.default.createElement(m.default,r({getEmail:this.getEmail},{attachments:c,emailId:d})),l.default.createElement("button",{onClick:this.send,className:"btn btn-meta-success btn-sm btn-submit"},i.default.translate("window.email.send")))))}}]),t}();g.propTypes={windowId:a.default.string,dispatch:a.default.func,docId:a.default.string,handleCloseEmail:a.default.func};var y=(0,u.connect)()(g);t.default=y;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(g,"NewEmail","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/email/NewEmail.js"),__REACT_HOT_LOADER__.register(y,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/email/NewEmail.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0?r.setState({scrolled:!0}):r.setState({scrolled:!1})}}),Object.defineProperty(r,"handleDashboardLink",{enumerable:!0,writable:!0,value:function(){(0,r.props.dispatch)((0,c.push)("/"))}}),Object.defineProperty(r,"toggleScrollScope",{enumerable:!0,writable:!0,value:function(e){document.body.style.overflow=e?"hidden":"auto"}}),Object.defineProperty(r,"toggleTooltip",{enumerable:!0,writable:!0,value:function(e){r.setState({tooltipOpen:e})}}),Object.defineProperty(r,"openModal",{enumerable:!0,writable:!0,value:function(e,t,n,o,i,a,s){var l=r.props,u=l.dispatch,c=l.query;u((0,f.openModal)(n,e,t,null,null,o,c&&c.viewId,i,null,null,null,null,a,s))}}),Object.defineProperty(r,"openModalRow",{enumerable:!0,writable:!0,value:function(e,t,n,o,i){(0,r.props.dispatch)((0,f.openModal)(n,e,t,o,i))}}),Object.defineProperty(r,"handlePrint",{enumerable:!0,writable:!0,value:function(e,t,n){(0,d.openFile)("window",e,t,"print",e+"_"+(n||t)+".pdf")}}),Object.defineProperty(r,"handleClone",{enumerable:!0,writable:!0,value:function(e,t){var n=r.props.dispatch;(0,d.duplicateRequest)("window",e,t).then(function(t){t&&t.data&&t.data.id&&n((0,c.push)("/window/"+e+"/"+t.data.id))})}}),Object.defineProperty(r,"handleDelete",{enumerable:!0,writable:!0,value:function(){r.setState({prompt:Object.assign({},r.state.prompt,{open:!0})})}}),Object.defineProperty(r,"handleEmail",{enumerable:!0,writable:!0,value:function(){r.setState({isEmailOpen:!0})}}),Object.defineProperty(r,"handleLetter",{enumerable:!0,writable:!0,value:function(){r.setState({isLetterOpen:!0})}}),Object.defineProperty(r,"handleCloseEmail",{enumerable:!0,writable:!0,value:function(){r.setState({isEmailOpen:!1})}}),Object.defineProperty(r,"handleCloseLetter",{enumerable:!0,writable:!0,value:function(){r.setState({isLetterOpen:!1})}}),Object.defineProperty(r,"handlePromptCancelClick",{enumerable:!0,writable:!0,value:function(){r.setState({prompt:Object.assign({},r.state.prompt,{open:!1})})}}),Object.defineProperty(r,"handlePromptSubmitClick",{enumerable:!0,writable:!0,value:function(e,t){var n=r.props,o=n.dispatch,i=n.handleDeletedStatus;r.setState({prompt:Object.assign({},r.state.prompt,{open:!1})},function(){(0,d.deleteRequest)("window",e,null,null,[t]).then(function(){i(!0),o((0,c.push)("/window/"+e))})})}}),Object.defineProperty(r,"handleDocStatusToggle",{enumerable:!0,writable:!0,value:function(e){var t=document.getElementsByClassName("js-dropdown-toggler")[0];e?t.blur():document.activeElement===t?t.blur():t.focus()}}),Object.defineProperty(r,"handleSidelistToggle",{enumerable:!0,writable:!0,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=r.state.sideListTab,n=null!==e&&e!==t;r.toggleScrollScope(n),r.setState({isSideListShow:n,sideListTab:e!==t?e:null})}}),Object.defineProperty(r,"closeOverlays",{enumerable:!0,writable:!0,value:function(e,t){var n=r.state.isSubheaderShow,o={menuOverlay:null,isMenuOverlayShow:!1,isInboxOpen:!1,isUDOpen:!1,isSideListShow:!1,tooltipOpen:""};e&&delete o[e],o.isSubheaderShow="isSubheaderShow"==e&&!n,r.setState(o,t),document.getElementsByClassName("js-dropdown-toggler")[0]&&"dropdown"!==e&&r.handleDocStatusToggle(!0)}}),Object.defineProperty(r,"redirect",{enumerable:!0,writable:!0,value:function(e){(0,r.props.dispatch)((0,c.push)(e))}}),L(r,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,s.Component),o(t,[{key:"componentDidMount",value:function(){this.initEventListeners()}},{key:"componentWillUnmount",value:function(){this.toggleScrollScope(!1),this.removeEventListeners()}},{key:"componentWillUpdate",value:function(e){var t=this.props.dropzoneFocused;e.dropzoneFocused!==t&&e.dropzoneFocused&&this.closeOverlays()}},{key:"componentDidUpdate",value:function(e){void 0!==e.me.language&&JSON.stringify(e.me.language)!==JSON.stringify(this.props.me.language)&&window.location.reload(!1)}},{key:"render",value:function(){var e=this,t=this.props,n=t.docSummaryData,o=t.siteName,a=t.docNoData,s=t.docStatus,u=t.docStatusData,c=t.windowType,d=t.dataId,f=t.breadcrumb,E=t.showSidelist,L=t.inbox,S=t.entity,D=t.query,j=t.showIndicator,C=t.isDocumentNotSaved,A=t.notfound,P=t.docId,I=t.me,R=t.editmode,H=t.handleEditModeToggle,Y=t.activeTab,N=t.plugins,W=this.state,J=W.isSubheaderShow,V=W.isSideListShow,U=W.menuOverlay,X=W.isInboxOpen,G=W.scrolled,F=W.isMenuOverlayShow,z=W.tooltipOpen,B=W.prompt,q=W.sideListTab,K=W.isUDOpen,Z=W.isEmailOpen,$=W.isLetterOpen;return l.default.createElement("div",null,B.open&&l.default.createElement(_.default,{title:"Delete",text:"Are you sure?",buttons:{submit:"Delete",cancel:"Cancel"},onCancelClick:this.handlePromptCancelClick,onSubmitClick:function(){return e.handlePromptSubmitClick(c,d)}}),l.default.createElement("nav",{className:"header header-super-faded js-not-unselect "+(G?"header-shadow":"")},l.default.createElement("div",{className:"container-fluid"},l.default.createElement("div",{className:"header-container"},l.default.createElement("div",{className:"header-left-side"},l.default.createElement("div",{onClick:function(){return e.closeOverlays("isSubheaderShow")},onMouseEnter:function(){return e.toggleTooltip(h.default.OPEN_ACTIONS_MENU)},onMouseLeave:function(){return e.toggleTooltip("")},className:"btn-square btn-header tooltip-parent "+(J?"btn-meta-default-dark btn-subheader-open btn-header-open":"btn-meta-primary")},l.default.createElement("i",{className:"meta-icon-more"}),z===h.default.OPEN_ACTIONS_MENU&&l.default.createElement(w.default,{name:h.default.OPEN_ACTIONS_MENU,action:i.default.translate("mainScreen.actionMenu.tooltip"),type:""})),l.default.createElement(x.default,{breadcrumb:f,windowType:c,docSummaryData:n,dataId:d,siteName:o,menuOverlay:U,docId:P,isDocumentNotSaved:C,handleMenuOverlay:this.handleMenuOverlay,openModal:this.openModal})),l.default.createElement("div",{className:"header-center"},l.default.createElement("img",{src:p.default,className:"header-logo pointer",onClick:this.handleDashboardLink})),l.default.createElement("div",{className:"header-right-side"},s&&l.default.createElement("div",{className:"hidden-sm-down tooltip-parent",onClick:function(){return e.toggleTooltip("")},onMouseEnter:function(){return e.toggleTooltip(h.default.DOC_STATUS)},onMouseLeave:function(){return e.toggleTooltip("")}},l.default.createElement(k.default,r({entity:"window",windowType:c,dataId:d,widgetData:[u],noLabel:!0,type:"primary",dropdownOpenCallback:function(){e.closeOverlays("dropdown")}},s)),z===h.default.DOC_STATUS&&l.default.createElement(w.default,{name:h.default.DOC_STATUS,action:i.default.translate("mainScreen.docStatus.tooltip"),type:""})),l.default.createElement("div",{className:"header-item-container header-item-container-static pointer tooltip-parent "+(X?"header-item-open ":""),onClick:function(){return e.closeOverlays("",function(){return e.handleInboxOpen(!0)})},onMouseEnter:function(){return e.toggleTooltip(h.default.OPEN_INBOX_MENU)},onMouseLeave:function(){return e.toggleTooltip("")}},l.default.createElement("span",{className:"header-item header-item-badge icon-lg"},l.default.createElement("i",{className:"meta-icon-notifications"}),L.unreadCount>0&&l.default.createElement("span",{className:"notification-number"},L.unreadCount)),z===h.default.OPEN_INBOX_MENU&&l.default.createElement(w.default,{name:h.default.OPEN_INBOX_MENU,action:i.default.translate("mainScreen.inbox.tooltip"),type:""})),l.default.createElement(g.default,{open:X,close:this.handleInboxOpen,onFocus:function(){return e.handleInboxOpen(!0)},disableOnClickOutside:!X,inbox:L}),l.default.createElement(O.default,{open:K,handleUDOpen:this.handleUDOpen,disableOnClickOutside:!K,redirect:this.redirect,shortcut:h.default.OPEN_AVATAR_MENU,toggleTooltip:this.toggleTooltip,tooltipOpen:z,me:I,plugins:N}),E&&l.default.createElement("div",{className:"tooltip-parent btn-header side-panel-toggle btn-square "+(V?"btn-meta-default-bright btn-header-open":"btn-meta-primary"),onClick:function(){e.closeOverlays(),e.handleSidelistToggle(0)},onMouseEnter:function(){return e.toggleTooltip(h.default.OPEN_SIDEBAR_MENU_0)},onMouseLeave:function(){return e.toggleTooltip("")}},l.default.createElement("i",{className:"meta-icon-list"}),z===h.default.OPEN_SIDEBAR_MENU_0&&l.default.createElement(w.default,{name:h.default.OPEN_SIDEBAR_MENU_0,action:i.default.translate("mainScreen.sideList.tooltip"),type:""}))))),j&&l.default.createElement(m.default,{isDocumentNotSaved:C})),J&&l.default.createElement(M.default,{closeSubheader:function(){return e.closeOverlays("isSubheaderShow")},docNo:a&&a.value,openModal:this.openModal,openModalRow:this.openModalRow,handlePrint:this.handlePrint,handleClone:this.handleClone,handleDelete:this.handleDelete,handleEmail:this.handleEmail,handleLetter:this.handleLetter,redirect:this.redirect,disableOnClickOutside:!J,breadcrumb:f,notfound:A,query:D,entity:S,dataId:d,windowType:c,viewId:D&&D.viewId,siteName:o,editmode:R,handleEditModeToggle:H,activeTab:Y}),E&&V&&l.default.createElement(T.default,{windowType:c||"",closeOverlays:this.closeOverlays,closeSideList:this.handleSidelistToggle,isSideListShow:V,disableOnClickOutside:!E,docId:d,defaultTab:q,open:!0}),Z&&l.default.createElement(b.default,{windowId:c||"",docId:d,handleCloseEmail:this.handleCloseEmail}),$&&l.default.createElement(y.default,{windowId:c||"",docId:d,handleCloseLetter:this.handleCloseLetter}),l.default.createElement(v.default,{handleSidelistToggle:this.handleSidelistToggle,handleMenuOverlay:F?function(){return e.handleMenuOverlay("","")}:function(){return e.closeOverlays("",function(){return e.handleMenuOverlay("","0")})},handleInboxToggle:this.handleInboxToggle,handleUDToggle:this.handleUDToggle,openModal:d?function(){return e.openModal(c,"window","Advanced edit",!0)}:void 0,handlePrint:d?function(){return e.handlePrint(c,d,a.value)}:void 0,handleEmail:this.handleEmail,handleLetter:this.handleLetter,handleDelete:d?this.handleDelete:void 0,handleClone:d?function(){return e.handleClone(c,d)}:void 0,redirect:c?function(){return e.redirect("/window/"+c+"/new")}:void 0,handleDocStatusToggle:document.getElementsByClassName("js-dropdown-toggler")[0]?this.handleDocStatusToggle:void 0,handleEditModeToggle:H,closeOverlays:this.closeOverlays}))}}]),t}();Object.defineProperty(D,"propTypes",{enumerable:!0,writable:!0,value:{dispatch:a.default.func.isRequired,inbox:a.default.object.isRequired,me:a.default.object.isRequired}});var j=(0,u.connect)(S)(D);t.default=j;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(S,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js"),__REACT_HOT_LOADER__.register(D,"Header","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js"),__REACT_HOT_LOADER__.register(j,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0})}}),Object.defineProperty(r,"handleClose",{enumerable:!0,writable:!0,value:(i=y(regeneratorRuntime.mark(function e(){var t,n,o,i,s,l,c,p,h,m,_,b;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.props,n=t.dispatch,o=t.closeCallback,i=t.viewId,s=t.windowType,l=t.requests,c=r.state.isNew,!(l.length>0)){e.next=17;break}return e.next=5,new Promise(function(e){r.resolve=e});case 5:if(p=e.sent,delete r.resolve,p){e.next=17;break}return e.next=10,n({type:u.PATCH_RESET});case 10:return h="Error while saving",m="Not all fields have been saved",_=5e3,b="error",e.next=16,n((0,f.addNotification)(h,m,_,b));case 16:return e.abrupt("return");case 17:if(!o){e.next=20;break}return e.next=20,o(c);case 20:return e.next=22,r.removeModal();case 22:return e.next=24,(0,d.deleteView)(s,i);case 24:case"end":return e.stop()}},e,a)})),function(){return i.apply(this,arguments)})}),Object.defineProperty(r,"removeModal",{enumerable:!0,writable:!0,value:(o=y(regeneratorRuntime.mark(function e(){var t,n,o,i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.props,n=t.dispatch,o=t.modalVisible,i=t.windowType,s=t.viewId,e.next=3,Promise.all([(0,p.closeRawModal)(),(0,p.closeModal)(),(0,c.closeListIncludedView)({windowType:i,viewId:s,forceClose:!0})].map(function(e){return n(e)}));case 3:o||(document.body.style.overflow="auto");case 4:case"end":return e.stop()}},e,a)})),function(){return o.apply(this,arguments)})}),v(r,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,a.Component),r(t,[{key:"componentDidMount",value:function(){document.body.style.overflow="hidden",this.initEventListeners()}},{key:"componentWillUnmount",value:function(){var e=this.props.masterDocumentList;e&&e.updateQuickActions(),this.removeEventListeners()}},{key:"componentWillUpdate",value:function(e){this.resolve&&(e.success&&0!==e.requests.length||this.resolve(e.success))}},{key:"render",value:function(){var e=this,t=this.props,n=t.modalTitle,r=t.children,i=t.modalDescription,a=t.modalVisible,l=t.rawModalVisible,u=this.state,c=u.scrolled,d=u.isTooltipShow;return s.default.createElement("div",{className:"screen-freeze raw-modal"},s.default.createElement("div",{className:"panel panel-modal panel-modal-primary"},s.default.createElement("div",{className:"panel-modal-header "+(c?"header-shadow":"")},s.default.createElement("span",{className:"panel-modal-header-title"},n||"Modal",s.default.createElement("span",{className:"panel-modal-description"},i||"")),s.default.createElement("div",{className:"items-row-2"},s.default.createElement("button",{className:"btn btn-meta-outline-secondary btn-distance-3 btn-md",onClick:this.handleClose,tabIndex:!a&&l?0:-1,onMouseEnter:function(){return e.toggleTooltip(!0)},onMouseLeave:function(){return e.toggleTooltip(!1)}},o.default.translate("modal.actions.done"),d&&s.default.createElement(_.default,{name:h.default.APPLY,action:o.default.translate("modal.actions.done"),type:""})))),s.default.createElement(b.default,null),s.default.createElement("div",{className:"panel-modal-content js-panel-modal-content",ref:function(e){e&&e.focus()}},r),s.default.createElement(m.default,{apply:a?null:function(){return e.handleClose()}})))}}]),t}(),k=function(e){var t=e.windowHandler;return{modalVisible:t.modal.visible||!1,rawModalVisible:t.rawModal.visible||!1,requests:t.patches.requests,success:t.patches.success}};w.propTypes={dispatch:i.default.func.isRequired,children:i.default.node,modalTitle:i.default.oneOfType([i.default.string,i.default.node]),modalDescription:i.default.oneOfType([i.default.string,i.default.node]),modalVisible:i.default.bool,rawModalVisible:i.default.bool,requests:i.default.object.isRequired,success:i.default.bool.isRequired};var x=(0,l.connect)(k)(w);t.default=x;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(w,"RawModal","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/RawModal.js"),__REACT_HOT_LOADER__.register(k,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/RawModal.js"),__REACT_HOT_LOADER__.register(x,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/RawModal.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null;t.setState({isTooltipShow:e})}}),Object.defineProperty(this,"initEventListeners",{enumerable:!0,writable:!0,value:function(){var e=document.querySelector(".js-panel-modal-content");e&&e.addEventListener("scroll",t.handleScroll)}}),Object.defineProperty(this,"removeEventListeners",{enumerable:!0,writable:!0,value:function(){var e=document.querySelector(".js-panel-modal-content");e&&e.removeEventListener("scroll",t.handleScroll)}}),Object.defineProperty(this,"init",{enumerable:!0,writable:!0,value:(e=v(regeneratorRuntime.mark(function e(){var n,r,o,i,a,s,l,u,d,f,p,h,m,_,b,g,y,v;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.props,r=n.dispatch,o=n.windowType,i=n.dataId,a=n.tabId,s=n.rowId,l=n.modalType,u=n.parentSelection,d=n.parentType,f=n.isAdvanced,p=n.modalViewId,h=n.modalViewDocumentIds,m=n.activeTabId,_=n.childViewId,b=n.childViewSelectedIds,g=n.parentViewId,y=n.parentViewSelectedIds,e.t0=l,e.next="window"===e.t0?4:"process"===e.t0?14:29;break;case 4:return e.prev=4,e.next=7,r((0,c.createWindow)(o,i,a,s,!0,f));case 7:e.next=13;break;case 9:throw e.prev=9,e.t1=e.catch(4),t.handleClose(),e.t1;case 13:return e.abrupt("break",29);case 14:return e.prev=14,v={processType:o,viewId:p,type:d,ids:p?h:i?[i]:u,tabId:a,rowId:s},m&&u&&(v.selectedTab={tabId:m,rowIds:u}),_&&(v.childViewId=_,v.childViewSelectedIds=b),g&&(v.parentViewId=g,v.parentViewSelectedIds=y),e.next=21,r((0,c.createProcess)(v));case 21:e.next=28;break;case 23:if(e.prev=23,e.t2=e.catch(14),t.handleClose(),"Error: close_modal"===e.t2.toString()){e.next=28;break}throw e.t2;case 28:return e.abrupt("break",29);case 29:case"end":return e.stop()}},e,t,[[4,9],[14,23]])})),function(){return e.apply(this,arguments)})}),Object.defineProperty(this,"closeModal",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.dispatch,r=e.closeCallback,o=e.dataId,i=e.windowType,a=e.parentType,s=e.parentDataId,l=e.triggerField,d=e.rowId,f=e.tabId,p=t.state,h=p.isNew;p.isNewDoc?(0,u.processNewRecord)("window",i,o).then(function(e){n((0,c.patch)("window",a,s,null,null,l,e.data)).then(function(){t.removeModal()})}):(r&&r({isNew:h,windowType:i,documentId:o,tabId:f,rowId:d}),t.removeModal())}}),Object.defineProperty(this,"removeModal",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.dispatch,r=e.rawModalVisible;n((0,c.closeModal)()),r||(document.body.style.overflow="auto")}}),Object.defineProperty(this,"handleClose",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.modalSaveStatus;if("process"===e.modalType)return t.closeModal();(n||window.confirm("Do you really want to leave?"))&&t.closeModal()}}),Object.defineProperty(this,"handleScroll",{enumerable:!0,writable:!0,value:function(e){t.setState(function(t){var n=e.target.scrollTop>0;if(n!==t.scrolled)return{scrolled:n}})}}),Object.defineProperty(this,"setFetchOnTrue",{enumerable:!0,writable:!0,value:function(){t.setState({waitingFetch:!0})}}),Object.defineProperty(this,"handleStart",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.dispatch,r=e.layout,o=e.windowType;"pending"!==e.indicator?t.setState({pending:!0},v(regeneratorRuntime.mark(function e(){var i,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=void 0,e.prev=1,e.next=4,(0,c.startProcess)(o,r.pinstanceId);case 4:return i=e.sent,a=(0,c.handleProcessResponse)(i,o,r.pinstanceId),e.next=8,n(a);case 8:t.removeModal(),e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(1),e.t0;case 14:return e.prev=14,t.setState({pending:!1}),e.finish(14);case 17:case"end":return e.stop()}},e,t,[[1,11,14,17]])}))):t.setState({waitingFetch:!0,pending:!0})}}),Object.defineProperty(this,"renderModalBody",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.data,r=e.layout,o=e.tabId,i=e.rowId,a=e.dataId,l=e.modalType,u=e.windowType,c=e.isAdvanced,d=t.state.pending;switch(l){case"window":return s.default.createElement(h.default,{data:n,dataId:a,layout:r,modal:!0,tabId:o,rowId:i,isModal:!0,isAdvanced:c,tabsInfo:null});case"process":return s.default.createElement(p.default,{data:n,layout:r,type:u,disabled:d})}}}),Object.defineProperty(this,"renderPanel",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.data,r=e.modalTitle,i=e.modalType,a=e.isDocumentNotSaved,l=e.layout,u=t.state,c=u.scrolled,d=u.pending,p=u.isNewDoc,h=u.isTooltipShow;return Object.keys(n).length>0&&s.default.createElement("div",{className:"screen-freeze js-not-unselect"},s.default.createElement("div",{className:"panel panel-modal panel-modal-primary"},s.default.createElement("div",{className:"panel-modal-header "+(c?"header-shadow":"")},s.default.createElement("span",{className:"panel-modal-header-title"},r||l.caption),s.default.createElement("div",{className:"items-row-2"},p&&s.default.createElement("button",{className:"btn btn-meta-outline-secondary\n btn-distance-3 btn-md "+(d?"tag-disabled disabled ":""),onClick:t.removeModal,tabIndex:0,onMouseEnter:function(){return t.toggleTooltip(f.default.CANCEL)},onMouseLeave:t.toggleTooltip},o.default.translate("modal.actions.cancel"),h===f.default.CANCEL&&s.default.createElement(_.default,{name:f.default.CANCEL,action:o.default.translate("modal.actions.cancel"),type:""})),s.default.createElement("button",{className:"btn btn-meta-outline-secondary\n btn-distance-3 btn-md "+(d?"tag-disabled disabled ":""),onClick:t.handleClose,tabIndex:0,onMouseEnter:function(){return t.toggleTooltip("process"===i?f.default.CANCEL:f.default.APPLY)},onMouseLeave:t.toggleTooltip},"process"===i?o.default.translate("modal.actions.cancel"):o.default.translate("modal.actions.done"),h===("process"===i?f.default.CANCEL:f.default.APPLY)&&s.default.createElement(_.default,{name:"process"===i?f.default.CANCEL:f.default.APPLY,action:"process"===i?o.default.translate("modal.actions.cancel"):o.default.translate("modal.actions.done"),type:""})),"process"===i&&s.default.createElement("button",{className:"btn btn-meta-primary btn-distance-3\n btn-md "+(d?"tag-disabled disabled":""),onClick:t.handleStart,tabIndex:0,onMouseEnter:function(){return t.toggleTooltip(f.default.APPLY)},onMouseLeave:t.toggleTooltip},o.default.translate("modal.actions.start"),h===f.default.APPLY&&s.default.createElement(_.default,{name:f.default.APPLY,action:o.default.translate("modal.actions.start"),type:""})))),s.default.createElement(b.default,{isDocumentNotSaved:a}),s.default.createElement("div",{className:"panel-modal-content js-panel-modal-content\n container-fluid",ref:function(e){e&&e.focus()}},t.renderModalBody()),s.default.createElement(m.default,{apply:"process"===i?t.handleStart:t.handleClose,cancel:"process"===i?t.handleClose:p?t.removeModal:""})))}}),Object.defineProperty(this,"renderOverlay",{enumerable:!0,writable:!0,value:function(){var e=t.props,n=e.data,r=e.layout,o=e.windowType,i=t.state.pending;return s.default.createElement(g.default,{type:o,disabled:i,data:n,layout:r,handleSubmit:t.setFetchOnTrue,closeOverlay:t.removeModal})}})},x=function(e,t){return{parentSelection:(0,d.getSelection)({state:e,windowType:t.parentType,viewId:t.viewId}),activeTabId:e.windowHandler.master.layout.activeTab}},T=(0,l.connect)(x)(w);t.default=T;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(w,"Modal","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js"),__REACT_HOT_LOADER__.register(x,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js"),__REACT_HOT_LOADER__.register(T,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:e.props.childView.viewSelectedIds,n=e.props,o=n.windowType,i=n.viewId,a=n.selected,s=n.childView,l=n.parentView;e.fetchActions(o,i,a,r({},s,{viewSelectedIds:t}),l)}}),Object.defineProperty(this,"componentDidUpdate",{enumerable:!0,writable:!0,value:function(t){var n=e.props,r=n.inBackground;!1===n.inModal&&!0===t.inModal&&e.setState({loading:!1}),!0===r&&!1===t.inBackground&&e.setState({loading:!1})}}),Object.defineProperty(this,"handleClickOutside",{enumerable:!0,writable:!0,value:function(){e.toggleDropdown()}}),Object.defineProperty(this,"handleClick",{enumerable:!0,writable:!0,value:function(t){var n=e.props,r=n.dispatch,o=n.viewId,i=n.selected,a=n.childView,s=n.parentView;t.disabled||(e.setState({loading:!0}),r((0,d.openModal)(t.caption,t.processId,"process",null,null,!1,o,i,null,null,s.viewId,s.viewSelectedIds,a.viewId,a.viewSelectedIds)),e.toggleDropdown())}}),Object.defineProperty(this,"fetchActions",{enumerable:!0,writable:!0,value:function(t,n,r,o,i){e.unmounted||(t&&n&&r&&o&&i?(0,c.quickActionsRequest)(t,n,r,o,i).then(function(t){e.setState({actions:t.data.actions,loading:!1})}).catch(function(){e.setState({loading:!1})}):e.setState({loading:!1}))}}),Object.defineProperty(this,"toggleDropdown",{enumerable:!0,writable:!0,value:function(t){e.setState({isDropdownOpen:t})}}),Object.defineProperty(this,"toggleTooltip",{enumerable:!0,writable:!0,value:function(t){e.setState({isTooltip:t})}})},v=(0,u.connect)(!1,!1,!1,{withRef:!0})(g);t.default=v;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(b,"initialState","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js"),__REACT_HOT_LOADER__.register(g,"QuickActions","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js"),__REACT_HOT_LOADER__.register(v,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n1)return r.props.handleNextPage()},PREV_PAGE:function(e){if(e.preventDefault(),r.props.pages>1)return r.props.handlePrevPage()},SELECT_ALL_ROWS:function(e){return e.preventDefault(),r.props.handleSelectAll()}}}),l(r,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,i.Component),o(t,[{key:"render",value:function(){return[a.default.createElement(s.Shortcut,{key:"FIRST_PAGE",name:"FIRST_PAGE",handler:this.handlers.FIRST_PAGE}),a.default.createElement(s.Shortcut,{key:"LAST_PAGE",name:"LAST_PAGE",handler:this.handlers.LAST_PAGE}),a.default.createElement(s.Shortcut,{key:"NEXT_PAGE",name:"NEXT_PAGE",handler:this.handlers.NEXT_PAGE}),a.default.createElement(s.Shortcut,{key:"PREV_PAGE",name:"PREV_PAGE",handler:this.handlers.PREV_PAGE}),a.default.createElement(s.Shortcut,{key:"SELECT_ALL_ROWS",name:"SELECT_ALL_ROWS",handler:this.handlers.SELECT_ALL_ROWS})]}}]),t}(),c=u;t.default=c;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(u,"PaginationContextShortcuts","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/keyshortcuts/PaginationContextShortcuts.js"),__REACT_HOT_LOADER__.register(c,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/keyshortcuts/PaginationContextShortcuts.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&(o(Number(t)),n.setState({value:"",secondDotsState:!1,firstDotsState:!1})))}}),Object.defineProperty(n,"handleFirstDotsState",{enumerable:!0,writable:!0,value:function(){var e=n.state.firstDotsState;n.setState({firstDotsState:!e},function(){e||n.goToPage.focus()})}}),Object.defineProperty(n,"handleSecondDotsState",{enumerable:!0,writable:!0,value:function(){var e=n.state.secondDotsState;n.setState({secondDotsState:!e},function(){e||n.goToPage.focus()})}}),Object.defineProperty(n,"handleSelectWholePage",{enumerable:!0,writable:!0,value:function(e){n.setState({selectedWholePage:e})}}),Object.defineProperty(n,"resetGoToPage",{enumerable:!0,writable:!0,value:function(){n.setState({secondDotsState:!1,firstDotsState:!1})}}),Object.defineProperty(n,"renderGoToPage",{enumerable:!0,writable:!0,value:function(e,t){return s.default.createElement("div",{className:"page-dots-open"},s.default.createElement("span",null,i.default.translate("view.goTo.caption")),s.default.createElement("input",{type:"number",min:"1",ref:function(e){return n.goToPage=e},max:e,value:t,onChange:function(e){return n.handleValue(e)},onKeyDown:function(r){return n.handleSubmit(r,t,e)}}))}}),Object.defineProperty(n,"renderFirstPartPagination",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props,o=r.handleChangePage,i=r.compressed,a=n.state,l=a.firstDotsState,c=a.value;e.push(s.default.createElement("li",{className:"page-item",key:1,onClick:function(){n.resetGoToPage(),o(1)}},s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i})},1))),e.push(s.default.createElement("li",{className:"page-item page-dots",key:0},l&&n.renderGoToPage(t,c),s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i}),onClick:function(){return n.handleFirstDotsState()}},"...")))}}),Object.defineProperty(n,"renderLastPartPagination",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props,o=r.handleChangePage,i=r.compressed,a=n.state,l=a.secondDotsState,c=a.value;e.push(s.default.createElement("li",{className:"page-item page-dots",key:99990},l&&n.renderGoToPage(t,c),s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i}),onClick:function(){return n.handleSecondDotsState()}},"..."))),e.push(s.default.createElement("li",{className:"page-item",key:9999,onClick:function(){n.resetGoToPage(),o(t)}},s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i})},t)))}}),Object.defineProperty(n,"renderPaginationContent",{enumerable:!0,writable:!0,value:function(e,t,r,o){for(var i=n.props,a=i.handleChangePage,l=i.compressed,c=function(r){e.push(s.default.createElement("li",{className:(0,u.default)("page-item",{active:t===r}),key:r,onClick:function(){n.resetGoToPage(),a(r)}},s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":l})},r)))},d=r;d<=o;d++)c(d)}}),Object.defineProperty(n,"renderTotalItems",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.size,r=e.queryLimitHit;return s.default.createElement("div",{className:"hidden-sm-down"},s.default.createElement("div",null,i.default.translate("view.totalItems.caption")," ",t,r&&s.default.createElement("span",{className:"text-danger"}," (limited)")))}}),Object.defineProperty(n,"renderSelectAll",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.selected,r=e.size,o=e.rowLength,a=e.pageLength,l=t&&t.length===o,u=r>a;return s.default.createElement("div",{className:"hidden-sm-down"},s.default.createElement("div",null,t.length>0?i.default.translate("view.itemsSelected.caption",{size:"all"===t[0]?r:t.length}):i.default.translate("view.noItemSelected.caption")),s.default.createElement("div",{className:"pagination-link pointer",onClick:function(){n._handleSelectAll()},title:"Alt+A"},l&&u?i.default.translate("view.selectAllItems.caption",{size:r}):i.default.translate("view.selectAllOnPage.caption")))}}),Object.defineProperty(n,"renderArrow",{enumerable:!0,writable:!0,value:function(e,t,r){var o=n.props,i=o.compressed,a=o.handleChangePage,l=!1;return l=e?1===r:r===t,s.default.createElement("li",{className:(0,u.default)("page-item",{inactive:l})},s.default.createElement("a",{className:(0,u.default)("page-link",{"page-link-compressed":i,disabled:l}),onClick:function(){l||(n.resetGoToPage(),a(e?"down":"up"))}},s.default.createElement("span",null,e?"«":"»")))}}),Object.defineProperty(n,"paginationShortcuts",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.size,r=e.pageLength,o=e.disablePaginationShortcuts,i=e.handleChangePage,a=t?Math.ceil(t/r):0;return!o&&{handleFirstPage:function(){return i(1)},handleLastPage:function(){return i(t?Math.ceil(t/r):0)},handleNextPage:function(){return i("up")},handlePrevPage:function(){return i("down")},pages:a}}}),n.state={firstDotsState:!1,secondDotsState:!1,value:""},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,a.PureComponent),o(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.size,o=t.pageLength,i=t.page,a=t.compressed,l=n?Math.ceil(n/o):0,u=[];return l<8?l<=0?this.renderPaginationContent(u,i,1,1):this.renderPaginationContent(u,i,1,l):i<=4?(this.renderPaginationContent(u,i,1,5),this.renderLastPartPagination(u,l)):i>l-4?(this.renderFirstPartPagination(u,l),this.renderPaginationContent(u,i,l-4,l)):(this.renderFirstPartPagination(u,l),this.renderPaginationContent(u,i,i-1,i+1),this.renderLastPartPagination(u,l)),s.default.createElement("div",{className:"pagination-wrapper js-not-unselect"},s.default.createElement("div",{className:"pagination-row"},a&&s.default.createElement("div",null),!a&&this.renderSelectAll(),s.default.createElement("div",{className:"items-row-2 pagination-part"},!a&&this.renderTotalItems(),s.default.createElement("div",null,s.default.createElement("nav",null,s.default.createElement("ul",{className:"pagination pointer"},this.renderArrow(!0,l,i),u,this.renderArrow(!1,l,i)))))),s.default.createElement(c.default,r({handleSelectAll:function(){return e._handleSelectAll()}},this.paginationShortcuts())))}}]),t}();f.propTypes={selected:l.default.array,handleSelectAll:l.default.func,handleSelectRange:l.default.func,handleChangePage:l.default.func,rowLength:l.default.number.isRequired,compressed:l.default.any,size:l.default.number.isRequired,queryLimitHit:l.default.number,pageLength:l.default.number.isRequired,disablePaginationShortcuts:l.default.bool,page:l.default.number.isRequired};var p=f;t.default=p;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(f,"TablePagination","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TablePagination.js"),__REACT_HOT_LOADER__.register(p,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TablePagination.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=Object.assign||function(e){for(var t=1;t1,key:s,caption:e.caption,handlePatch:function(e,t,r){return n.handlePatch(e,t,r)},handleFocus:function(){},handleChange:n.handleChange,onBlurWidget:n.handleBlurWidget,type:"secondary",autoFocus:0===s,initialFocus:0===s})})}}),Object.defineProperty(n,"onSubmit",{enumerable:!0,writable:!0,value:function(e){var t=n.props,r=t.dispatch,o=t.docType,i=t.docId,a=t.tabId,s=n.state,c=s.id,f=s.data;if(e.preventDefault(),document.activeElement.blur(),!n.validateForm(f))return r((0,l.addNotification)("Error","Mandatory fields are not filled!",5e3,"error"));n.patchPromise.then(function(){return(0,u.completeRequest)("window",o,i,a,null,"quickInput",c)}).then(function(e){n.initQuickInput(),r((0,d.addNewRow)(e.data,a,e.data.rowId,"master"))})}}),Object.defineProperty(n,"validateForm",{enumerable:!0,writable:!0,value:function(e){return!Object.keys(e).filter(function(t){return e[t].mandatory&&!e[t].value}).length}}),n.state={layout:null,data:null,id:null,editedField:0},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,i.Component),r(t,[{key:"componentDidMount",value:function(){this.initQuickInput()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.data,r=t.layout,o=t.editedField;if(n&&r)for(var i=function(t){if(!r[t].fields.map(function(e){return n[e.field]||-1})[0].value)return o!==t&&e.setState({editedField:t},function(){if(e.rawWidgets){var n=e.rawWidgets[t];n&&n.focus&&n.focus()}}),"break"},a=0;a0&&void 0!==arguments[0]?arguments[0]:null;n.setState({isTooltipShow:e})}}),n.state={isTooltipShow:!1},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,a.Component),r(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.openModal,r=t.toggleFullScreen,i=t.fullScreen,a=t.docType,l=t.docId,f=t.tabId,p=t.isBatchEntry,h=t.handleBatchEntryToggle,m=t.supportQuickInput,_=t.allowCreateNew,b=t.modalVisible,g=this.state.isTooltipShow,y=i||b?-1:this.props.tabIndex;return s.default.createElement("div",{className:"form-flex-align table-filter-line"},s.default.createElement("div",{className:"form-flex-align"},s.default.createElement("div",null,!p&&_&&s.default.createElement("button",{className:"btn btn-meta-outline-secondary btn-distance btn-sm",onClick:n,tabIndex:y},o.default.translate("window.addNew.caption")),m&&!i&&_&&s.default.createElement("button",{className:"btn btn-meta-outline-secondary btn-distance btn-sm",onClick:h,onMouseEnter:function(){return e.toggleTooltip(u.default.TOGGLE_QUICK_INPUT)},onMouseLeave:this.toggleTooltip,tabIndex:y},p?o.default.translate("window.batchEntryClose.caption"):o.default.translate("window.batchEntry.caption"),g===u.default.TOGGLE_QUICK_INPUT&&s.default.createElement(c.default,{name:u.default.TOGGLE_QUICK_INPUT,action:p?o.default.translate("window.batchEntryClose.caption"):o.default.translate("window.batchEntry.caption"),type:""}))),m&&(p||i)&&_&&s.default.createElement(d.default,{closeBatchEntry:h,docType:a,docId:l,tabId:f})),s.default.createElement("button",{className:"btn-icon btn-meta-outline-secondary pointer",onClick:function(){return r(!i)},onMouseEnter:function(){return e.toggleTooltip(u.default.TOGGLE_EXPAND)},onMouseLeave:this.toggleTooltip,tabIndex:"-1"},i?s.default.createElement("i",{className:"meta-icon-collapse"}):s.default.createElement("i",{className:"meta-icon-fullscreen"}),g===u.default.TOGGLE_EXPAND&&s.default.createElement(c.default,{name:u.default.TOGGLE_EXPAND,action:i?o.default.translate("window.table.collapse"):o.default.translate("window.table.expand"),type:""})))}}]),t}();p.propTypes={dispatch:i.default.func.isRequired,tabIndex:i.default.number.isRequired,modalVisible:i.default.bool.isRequired};var h=(0,l.connect)(function(e){return{modalVisible:e.windowHandler.modal.visible}})(p);t.default=h;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(p,"TableFilter","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TableFilter.js"),__REACT_HOT_LOADER__.register(h,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TableFilter.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;no?t:r-o}}}),Object.defineProperty(n,"setPosition",{enumerable:!0,writable:!0,value:function(e,t,r,o,i,a){n.setState({contextMenu:{x:n.getPosition("x",e,a),y:n.getPosition("y",t,a),fieldName:r,supportZoomInto:o,supportFieldEdit:i}})}}),Object.defineProperty(n,"getReferences",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.docId,r=e.tabId,o=e.type,i=e.selected;(0,u.referencesRequest)("window",o,t,r,i[0]).then(function(e){n.setState({references:e.data.references})})}}),Object.defineProperty(n,"handleReferenceClick",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props,o=r.dispatch,i=r.type,a=r.docId,s=r.tabId,l=r.selected;o((0,c.setFilter)(t,e)),window.open("/window/"+e+"?refType="+i+"&refId="+a+"&refTabId="+s+"&refRowIds="+JSON.stringify(l||[]),"_blank")}}),n.state={contextMenu:{x:0,y:0},references:[]},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,i.Component),r(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.x,n=e.y,r=e.fieldName,o=e.supportZoomInto,i=e.supportFieldEdit,a=e.docId;this.setPosition(t,n,r,o,i,this.contextMenu),a&&this.getReferences()}},{key:"render",value:function(){var e=this,t=this.props,n=t.blur,r=t.selected,o=t.mainTable,i=t.handleAdvancedEdit,s=t.handleOpenNewTab,u=t.handleDelete,c=t.handleFieldEdit,f=t.handleZoomInto,p=this.state,h=p.contextMenu,m=p.references,_=1===r.length,b=_&&o&&h.supportFieldEdit&&c;return a.default.createElement("div",{ref:function(t){e.contextMenu=t,t&&t.focus()},style:{left:h.x,top:h.y},className:"context-menu context-menu-open panel-bordered panel-primary",tabIndex:"0",onBlur:n},h.supportZoomInto&&a.default.createElement("div",{className:"context-menu-item",onClick:function(){return f(h.fieldName)}},a.default.createElement("i",{className:"meta-icon-share"})," "+l.default.translate("window.table.zoomInto")),b&&a.default.createElement("div",{className:"context-menu-item",onClick:c},a.default.createElement("i",{className:"meta-icon-edit"})," "+l.default.translate("window.table.editField")),(h.supportZoomInto||b)&&a.default.createElement("hr",{className:"context-menu-separator"}),_&&!o&&a.default.createElement("div",{className:"context-menu-item",onClick:i},a.default.createElement("i",{className:"meta-icon-edit"})," "+l.default.translate("window.table.advancedEdit"),a.default.createElement("span",{className:"tooltip-inline"},d.default.ADVANCED_EDIT)),o&&a.default.createElement("div",{className:"context-menu-item",onClick:s},a.default.createElement("i",{className:"meta-icon-file"})," "+l.default.translate("window.table.openInNewTab"),a.default.createElement("span",{className:"tooltip-inline"},d.default.OPEN_SELECTED)),u&&a.default.createElement("div",{className:"context-menu-item",onClick:u},a.default.createElement("i",{className:"meta-icon-trash"})," "+l.default.translate("window.delete.caption"),a.default.createElement("span",{className:"tooltip-inline"},d.default.REMOVE_SELECTED)),m&&a.default.createElement("hr",{className:"context-menu-separator"}),m&&m.map(function(t,n){return a.default.createElement("div",{className:"context-menu-item",key:n,onClick:function(){e.handleReferenceClick(t.documentType,t.filter)}},a.default.createElement("i",{className:"meta-icon-share"})," ",t.caption)}))}}]),t}();p.propTypes={dispatch:o.default.func.isRequired};var h=(0,s.connect)()(p);t.default=h;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(p,"TableContextMenu","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TableContextMenu.js"),__REACT_HOT_LOADER__.register(h,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/table/TableContextMenu.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n0?" btn-active":""),tabIndex:m?-1:0},a.default.createElement("i",{className:"meta-icon-preview"}),w?w.parameters&&1===w.parameters.length&&w.captionValue?a.default.createElement(i.Fragment,null,w.caption+": ",w.captionValue):o.default.translate("window.filters.caption2")+": "+w.caption:"Filter"),b&&a.default.createElement("div",{className:"filters-overlay"},g||w?a.default.createElement(d.default,{captionValue:w.captionValue,windowType:r,data:w.isActive?w:y,closeFilterMenu:function(){return e.toggleDropdown(!1)},returnBackToDropdown:function(){return e.toggleFilter(null)},clearFilters:p,applyFilters:f,notValidFields:s,isActive:w.isActive,active:h,onShow:function(){return u(!0)},onHide:function(){return u(!1)},viewId:l,outsideClick:this.outsideClick,openedFilter:!0,filtersWrapper:this.props.filtersWrapper}):a.default.createElement("ul",{className:"filter-menu"},n.map(function(t,n){return a.default.createElement("li",{key:n,onClick:function(){return e.toggleFilter(t.filterId)}},t.caption)}))))}}]),t}();p.propTypes={allowOutsideClick:s.default.bool.isRequired,modalVisible:s.default.bool.isRequired,filtersWrapper:s.default.any};var h=function(e){var t=e.windowHandler;return{allowOutsideClick:t.allowOutsideClick,modalVisible:t.modal.visible}},m=(0,u.connect)(h)((0,l.default)(p));t.default=m;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(p,"FiltersNotFrequent","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/FiltersNotFrequent.js"),__REACT_HOT_LOADER__.register(h,"mapStateToProps","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/FiltersNotFrequent.js"),__REACT_HOT_LOADER__.register(m,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/FiltersNotFrequent.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t-1?(0,l.parseDateWithCurrenTimezone)(t):t}}),Object.defineProperty(n,"mergeData",{enumerable:!0,writable:!0,value:function(e,t,r){n.setState(function(o){return{filter:Object.assign({},o.filter,{parameters:o.filter.parameters.map(function(o){return o.parameterName===e?Object.assign({},o,{value:n.parseDateToReadable(o.widgetType,t),valueTo:n.parseDateToReadable(o.widgetType,r)}):o})})}})}}),Object.defineProperty(n,"handleApply",{enumerable:!0,writable:!0,value:function(){var e=n.props.applyFilters,t=n.state.filter;if(t&&!t.parameters[0].value)return n.handleClear();e(t)}}),Object.defineProperty(n,"handleClear",{enumerable:!0,writable:!0,value:function(){(0,n.props.clearFilters)(n.state.filter)}}),n.state={filter:e.parentFilter},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,i.Component),o(t,[{key:"componentWillMount",value:function(){this.init()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.active;JSON.stringify(t)!==JSON.stringify(e.active)&&this.init()}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.id,o=e.windowType,i=e.onShow,l=e.onHide,u=e.viewId,c=this.state.filter;return a.default.createElement(s.default,r({entity:"documentView",subentity:"filter",subentityId:c.filterId,handlePatch:this.handleApply,handleChange:this.setValue,widgetType:t.widgetType,fields:[r({},t,{emptyText:t.caption})],type:t.type,widgetData:[t],id:n,range:t.range,caption:t.caption,noLabel:!0,filterWidget:!0},{viewId:u,windowType:o,onShow:i,onHide:l}))}}]),t}(),f=d;t.default=f;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(d,"InlineFilterItem","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/InlineFilterItem.js"),__REACT_HOT_LOADER__.register(f,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/filters/InlineFilterItem.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tr.boundingRect.bottom||e-20n)return Number.MAX_VALUE;s+=l}return s/c},r.prototype._nextSet=function(e,t){var n;for(n=t=t||0;n1&&(e[n[r]]=o)},r.prototype._matchTrace=function(e,t){var n,r=[],o=this,i=o._nextSet(o._row),a=!o._row[i],s=0,l={error:Number.MAX_VALUE,code:-1,start:0};if(e){for(n=0;n=0;r--)t=Math.floor(Math.random()*r),n=e[r],e[r]=e[t],e[t]=n;return e},toPointList:function(e){var t,n,r=[],o=[];for(t=0;t=t&&o.push(e[r]);return o},maxIndex:function(e){var t,n=0;for(t=0;te[n]&&(n=t);return n},max:function(e){var t,n=0;for(t=0;tn&&(n=e[t]);return n},sum:function(e){for(var t=e.length,n=0;t--;)n+=e[t];return n}}},function(e,t,n){"use strict";function r(e,t){e=i()(function(){var e={};return Object.keys(r.CONFIG_KEYS).forEach(function(t){e[t]=r.CONFIG_KEYS[t].default}),e}(),e),a.a.call(this,e,t)}var o=n(28),i=n.n(o),a=n(1),s=Object.assign||function(e){for(var t=1;ta.AVG_CODE_ERROR?null:c}i[++u]=1,l=!l}return null},r.prototype._findPattern=function(e,t,n,r,o){var i,a,s,l,u=[],c=this,d=0,f={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(t||(t=c._nextSet(c._row)),void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===o&&(o=c.AVG_CODE_ERROR),i=0;i=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start))=i.CODE_G_START?(e.code=e.code-i.CODE_G_START,a|=1<<5-r):a|=0<<5-r,t.push(e.code),n.push(e)}if(null===(o=i._calculateFirstDigit(a)))return null;if(t.unshift(o),null===(e=i._findPattern(i.MIDDLE_PATTERN,e.end,!0,!1)))return null;for(n.push(e),r=0;r<6;r++){if(!(e=i._decodeCode(e.end,i.CODE_G_START)))return null;n.push(e),t.push(e.code)}return e},r.prototype._decode=function(){var e,t,n=this,r=[],o=[],i={};if(!(e=n._findStart()))return null;if(t={code:e.code,start:e.start,end:e.end},o.push(t),!(t=n._decodePayload(t,r,o)))return null;if(!(t=n._findEnd(t.end,!1)))return null;if(o.push(t),!n._checksum(r))return null;if(this.supplements.length>0){var a=this._decodeExtensions(t.end);if(!a)return null;var l=a.decodedCodes[a.decodedCodes.length-1],u={start:l.start+((l.end-l.start)/2|0),end:l.end};if(!n._verifyTrailingWhitespace(u))return null;i={supplement:a,code:r.join("")+a.code}}return s({code:r.join(""),start:e.start,end:t.end,codeset:"",startInfo:e,decodedCodes:o},i)},r.prototype._decodeExtensions=function(e){var t,n,r=this._nextSet(this._row,e),o=this._findPattern(this.EXTENSION_START_PATTERN,r,!1,!1);if(null===o)return null;for(t=0;t=0;t-=2)n+=e[t];for(n*=3,t=e.length-1;t>=0;t-=2)n+=e[t];return n%10==0},r.CONFIG_KEYS={supplements:{type:"arrayOf(string)",default:[],description:"Allowed extensions to be decoded (2 and/or 5)"}},t.a=r},function(e,t,n){var r=n(38),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){var t=new Float32Array(2);return t[0]=e[0],t[1]=e[1],t}},function(e,t,n){var r=n(11),o=n(119),i=n(146),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):i(e)}},function(e,t,n){"use strict";t.a={drawRect:function(e,t,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=1,n.beginPath(),n.strokeRect(e.x,e.y,t.x,t.y)},drawPath:function(e,t,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=r.lineWidth,n.beginPath(),n.moveTo(e[0][t.x],e[0][t.y]);for(var o=1;o-1&&e%1==0&&e>o]++;return i}(e,t),u=1;u0?Math.floor(this.x+.5):Math.floor(this.x-.5),this.y=this.y>0?Math.floor(this.y+.5):Math.floor(this.y-.5),this}}},t.f=function(e,t){var n=r(e);return function(e,t,n){n||(n=e);for(var r=e.data,o=r.length,i=n.data;o--;)i[o]=r[o]l)for((i=u[s]).score=o,i.item=e[r],l=Number.MAX_VALUE,a=0;a0&&(n=Math.abs(e[t]-p)>Math.abs(e[t-1]-p)?e[t-1]:e[t]),p/nu[d-1]/u[d]?{x:n,y:n}:null}var r,i=o(t.x),a=o(t.y),s=Math.max(t.x,t.y),l=function(e,t){for(var n=0,r=0,o=[];nt[r]?r++:n++;return o}(i,a),u=[8,10,15,20,32,60,80],c={"x-small":5,small:4,medium:3,large:2,"x-large":1},d=c[e]||c.medium,f=u[d],p=Math.floor(s/f);return(r=n(l))||(r=n(o(s)))||(r=n(o(p*f))),r},t.j=function(e,t,n){var r={width:e,height:t},o=Object.keys(n).reduce(function(e,t){var o=function(e){return{value:parseFloat(e),unit:(e.indexOf("%"),e.length,"%")}}(n[t]),i=u[t](o,r);return e[t]=i,e},{});return{sx:o.left,sy:o.top,sw:o.right-o.left,sh:o.bottom-o.top}};var s={clone:n(7)},l={clone:n(83)},u={top:function(e,t){if("%"===e.unit)return Math.floor(t.height*(e.value/100))},right:function(e,t){if("%"===e.unit)return Math.floor(t.width-t.width*(e.value/100))},bottom:function(e,t){if("%"===e.unit)return Math.floor(t.height-t.height*(e.value/100))},left:function(e,t){if("%"===e.unit)return Math.floor(t.width*(e.value/100))}}},function(e,t,n){"use strict";function r(e,t,n,r){t?this.data=t:n?(this.data=new n(e.x*e.y),n===Array&&r&&a.a.init(this.data,0)):(this.data=new Uint8Array(e.x*e.y),Uint8Array===Array&&r&&a.a.init(this.data,0)),this.size=e}var o=n(53),i=n(19),a=n(3),s={clone:n(7)};r.prototype.inImageWithBorder=function(e,t){return e.x>=t&&e.y>=t&&e.x0&&((a=m[r-1]).m00+=1,a.m01+=n,a.m10+=t,a.m11+=t*n,a.m02+=o,a.m20+=t*t);for(i=0;i=0?g:-g)+b,a.theta=(180*d/b+90)%180-90,a.theta<0&&(a.theta+=180),a.rad=d>b?d-b:d,a.vec=s.clone([Math.cos(d),Math.sin(d)]),_.push(a));return _},r.prototype.show=function(e,t){var n,r,o,i,a,s,l;for(t||(t=1),n=e.getContext("2d"),e.width=this.size.x,e.height=this.size.y,o=(r=n.getImageData(0,0,e.width,e.height)).data,i=0,l=0;l360)&&(t=360);for(var o=[0,1,1],a=[0,0,0],s=[255,255,255],l=[0,0,0],u=[],c=e.getContext("2d"),d=c.getImageData(r.x,r.y,this.size.x,this.size.y),f=d.data,p=this.data.length;p--;)o[0]=this.data[p]*t,u=o[0]<=0?s:o[0]>=360?l:n.i(i.a)(o,a),f[4*p+0]=u[0],f[4*p+1]=u[1],f[4*p+2]=u[2],f[4*p+3]=255;c.putImageData(d,r.x,r.y)},t.a=r},function(e,t,n){var r=n(37);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(97),o=n(120);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(27),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,n){var r=n(25),o=n(26);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(8),o=n(0),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==l}},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(8),o=n(6),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(100),o=n(116)(function(e,t,n){r(e,t,n)});e.exports=o},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}},function(e,t,n){"use strict";t.a={searchDirections:[[0,1],[1,1],[1,0],[1,-1],[0,-1],[-1,-1],[-1,0],[-1,1]],create:function(e,t){function n(e,t,n,r){var o,c,d;for(o=0;o<7;o++){if(c=e.cy+l[e.dir][0],d=e.cx+l[e.dir][1],a[i=c*u+d]===t&&(0===s[i]||s[i]===n))return s[i]=n,e.cy=c,e.cx=d,!0;0===s[i]&&(s[i]=r),e.dir=(e.dir+1)%8}return!1}function r(e,t,n){return{dir:n,x:e,y:t,next:null,prev:null}}function o(e,t,o,i,a){var s,l,u,c=null,d={cx:t,cy:e,dir:0};if(n(d,i,o,a)){s=c=r(t,e,d.dir),u=d.dir,(l=r(d.cx,d.cy,0)).prev=s,s.next=l,l.next=null,s=l;do{d.dir=(d.dir+6)%8,n(d,i,o,a),u!==d.dir?(s.dir=d.dir,(l=r(d.cx,d.cy,0)).prev=s,s.next=l,l.next=null,s=l):(s.dir=u,s.x=d.cx,s.y=d.cy),u=d.dir}while(d.cx!==t||d.cy!==e);c.prev=s.prev,s.prev.next=c}return c}var i,a=e.data,s=t.data,l=this.searchDirections,u=e.size.x;return{trace:function(e,t,r,o){return n(e,t,r,o)},contourTracing:function(e,t,n,r,i){return o(e,t,n,r,i)}}}}},function(e,t,n){"use strict";function r(){o.a.call(this)}var o=n(1),i=n(3);r.prototype=Object.create(o.a.prototype,{ALPHABETH_STRING:{value:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,45,46,32,42,36,47,43,37]},CHARACTER_ENCODINGS:{value:[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,148,168,162,138,42]},ASTERISK:{value:148},FORMAT:{value:"code_39",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var e,t,n,r,o=this,a=[0,0,0,0,0,0,0,0,0],s=[],l=o._findStart();if(!l)return null;r=o._nextSet(o._row,l.end);do{if(a=o._toCounters(r,a),(n=o._toPattern(a))<0)return null;if((e=o._patternToChar(n))<0)return null;s.push(e),t=r,r+=i.a.sum(a),r=o._nextSet(o._row,r)}while("*"!==e);return s.pop(),s.length&&o._verifyTrailingWhitespace(t,r,a)?{code:s.join(""),start:l.start,end:r,startInfo:l,decodedCodes:s}:null},r.prototype._verifyTrailingWhitespace=function(e,t,n){var r=i.a.sum(n);return 3*(t-e-r)>=r},r.prototype._patternToChar=function(e){var t,n=this;for(t=0;tt&&(r=e[n]);return r},r.prototype._toPattern=function(e){for(var t,n,r=e.length,o=0,i=r,a=0;i>3;){for(o=this._findNextWidth(e,o),i=0,t=0,n=0;no&&(t|=1<0;n++)if(e[n]>o&&(i--,2*e[n]>=a))return-1;return t}}return-1},r.prototype._findStart=function(){var e,t,n,r=this,o=r._nextSet(r._row),i=o,a=[0,0,0,0,0,0,0,0,0],s=0,l=!1;for(e=o;e0)for(r=0;r0){if(!(e=H.filter(function(e){return!e.busy})[0]))return;m.attachData(e.imageData)}else m.attachData(b.data);m.grab()&&(e?(e.busy=!0,e.worker.postMessage({cmd:"process",imageData:e.imageData},[e.imageData.buffer])):l())}else l()}function c(){var e,t;Y&&"LiveStream"===N.inputStream.type?(e=null,t=1e3/(N.frequency||60),_=!1,function n(r){e=e||r,_||(r>=e&&(e+=t,u()),window.requestAnimFrame(n))}(performance.now())):u()}function d(e){var t,n={worker:void 0,imageData:new Uint8Array(h.getWidth()*h.getHeight()),busy:!0};t=f(),n.worker=new Worker(t),n.worker.onmessage=function(r){if("initialized"===r.data.event)return URL.revokeObjectURL(t),n.busy=!1,n.imageData=new Uint8Array(r.data.imageData),e(n);"processed"===r.data.event?(n.imageData=new Uint8Array(r.data.imageData),n.busy=!1,s(r.data.result,n.imageData)):r.data.event},n.worker.postMessage({cmd:"init",size:{x:h.getWidth(),y:h.getHeight()},imageData:n.imageData,config:function(e){return P({},e,{inputStream:P({},e.inputStream,{target:null})})}(N)},[n.imageData.buffer])}function f(){var t,n;return void 0!==e&&(n=e),t=new Blob(["("+function(e){function t(e){self.postMessage({event:"processed",imageData:o.data,result:e},[o.data.buffer])}function n(){self.postMessage({event:"initialized",imageData:o.data},[o.data.buffer])}if(e){var r=e().default;if(!r)return void self.postMessage({event:"error",message:"Quagga could not be created"})}var o;self.onmessage=function(e){if("init"===e.data.cmd){var i=e.data.config;i.numOfWorkers=0,o=new r.ImageWrapper({x:e.data.size.x,y:e.data.size.y},new Uint8Array(e.data.imageData)),r.init(i,n,o),r.onProcessed(t)}else"process"===e.data.cmd?(o.data=new Uint8Array(e.data.imageData),r.start()):"setReaders"===e.data.cmd&&r.setReaders(e.data.readers)}}.toString()+")("+n+");"],{type:"text/javascript"}),window.URL.createObjectURL(t)}function p(e,t){var n=e-H.length;if(0===n)return t&&t();if(n<0)return H.slice(n).forEach(function(e){e.worker.terminate()}),H=H.slice(0,n),t&&t();for(var r=function(n){H.push(n),H.length>=e&&t&&t()},o=0;o0&&H.forEach(function(t){t.worker.postMessage({cmd:"setReaders",readers:e})})}(e)},registerResultCollector:function(e){e&&"function"==typeof e.addResult&&(v=e)},canvas:R,decodeSingle:function(e,t){var n=this;e=k()({inputStream:{type:"ImageStream",sequence:!1,size:800,src:e.src},numOfWorkers:1,locator:{halfSample:!1}},e),this.init(e,function(){E.a.once("processed",function(e){n.stop(),t.call(null,e)},!0),c()})},ImageWrapper:T.a,ImageDebug:S.a,ResultCollector:D.a,CameraAccess:L.a}},function(e,t,n){"use strict";var r=n(9);t.a={create:function(e){function t(t){return a&&t&&!function(e,t){return!!t&&t.some(function(t){return Object.keys(t).every(function(n){return t[n]===e[n]})})}(t,e.blacklist)&&function(e,t){return"function"!=typeof t||t(e)}(t,e.filter)}var n=document.createElement("canvas"),o=n.getContext("2d"),i=[],a=e.capacity||20,s=!0===e.capture;return{addResult:function(e,l,u){var c={};t(u)&&(a--,c.codeResult=u,s&&(n.width=l.x,n.height=l.y,r.a.drawImage(e,l,o),c.frame=n.toDataURL()),i.push(c))},getResults:function(){return i}}}}},function(e,t,n){"use strict";var r={clone:n(7),dot:n(32)};t.a={create:function(e,t){function n(e){s[e.id]=e,i.push(e)}function o(){var e,t=0;for(e=0;et},getPoints:function(){return i},getCenter:function(){return a}}},createPoint:function(e,t,n){return{rad:e[n],point:e,id:t}}}},function(e,t,n){"use strict";t.a=function(){function e(e){return o[e]||(o[e]={subscribers:[]}),o[e]}function t(){o={}}function n(e,t){e.async?setTimeout(function(){e.callback(t)},4):e.callback(t)}function r(t,n,r){var o;if("function"==typeof n)o={callback:n,async:r};else if(!(o=n).callback)throw"Callback was not specified on options";e(t).subscribers.push(o)}var o={};return{subscribe:function(e,t,n){return r(e,t,n)},publish:function(t,r){var o=e(t),i=o.subscribers;i.filter(function(e){return!!e.once}).forEach(function(e){n(e,r)}),o.subscribers=i.filter(function(e){return!e.once}),o.subscribers.forEach(function(e){n(e,r)})},once:function(e,t,n){r(e,{callback:t,async:n,once:!0})},unsubscribe:function(n,r){var o;n?(o=e(n)).subscribers=o&&r?o.subscribers.filter(function(e){return e.callback!==r}):[]:t()}}}()},function(e,t,n){"use strict";t.b=function(){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.enumerateDevices?navigator.mediaDevices.enumerateDevices():Promise.reject(new Error("enumerateDevices is not defined"))},t.a=function(e){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia(e):Promise.reject(new Error("getUserMedia is not defined"))}},function(e,t,n){"use strict";function r(e,t,n){n||(n={data:null,size:t}),this.data=n.data,this.originalSize=n.size,this.I=n,this.from=e,this.size=t}r.prototype.show=function(e,t){var n,r,o,i,a,s,l;for(t||(t=1),n=e.getContext("2d"),e.width=this.size.x,e.height=this.size.y,o=(r=n.getImageData(0,0,e.width,e.height)).data,i=0,a=0;a>>16&65535)*r+n*(t>>>16&65535)<<16>>>0)|0},"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n1&&(!t.inImageWithBorder(e[0],0)||!t.inImageWithBorder(e[1],0));)o(-(r-=Math.ceil(r/2)));return e}function i(e){var n,o=null,i=r.a.getBarcodeLine(t,e[0],e[1]);for(r.a.toBinaryLine(i),n=0;nw?d:w,b.push(d)}var o,i,a,s,l,u,c,d,f=0|t.x,p=0|t.y,h=0|n.x,m=0|n.y,_=Math.abs(m-p)>Math.abs(h-f),b=[],g=e.data,y=e.size.x,v=255,w=0;for(_&&(u=f,f=p,p=u,u=h,h=m,m=u),f>h&&(u=f,f=h,h=u,u=p,p=m,m=u),o=h-f,i=Math.abs(m-p),a=o/2|0,l=p,s=pd?o.UP:o.DOWN,f.push({pos:0,val:c[0]}),a=0;ap&&c[a+1]>.5*d?o.UP:r)&&(f.push({pos:a,val:c[a]}),r=i);for(f.push({pos:c.length,val:c[c.length-1]}),s=f[0].pos;sd?0:1;for(a=1;af[a].val?f[a].val+(f[a+1].val-f[a].val)/3*2|0:f[a+1].val+(f[a].val-f[a+1].val)/3|0,s=f[a].pos;sp?0:1;return{line:c,threshold:p}},r.debug={printFrequency:function(e,t){var n,r=t.getContext("2d");for(t.width=e.length,t.height=256,r.beginPath(),r.strokeStyle="blue",n=0;n0?e.videoWidth>10&&e.videoHeight>10?t():window.setTimeout(o,500):n("Unable to play video stream. Is webcam working?"),r--}()})}.bind(null,e))}function o(e){var t={audio:!1,video:function(e){var t=l()(e,["width","height","facingMode","aspectRatio","deviceId"]);return void 0!==e.minAspectRatio&&e.minAspectRatio>0&&(t.aspectRatio=e.minAspectRatio,console.log("WARNING: Constraint 'minAspectRatio' is deprecated; Use 'aspectRatio' instead")),void 0!==e.facing&&(t.facingMode=e.facing,console.log("WARNING: Constraint 'facing' is deprecated. Use 'facingMode' instead'")),t}(e)};return t.video.deviceId&&t.video.facingMode&&delete t.video.facingMode,Promise.resolve(t)}function i(){if(a){var e=a.getVideoTracks();if(e&&e.length)return e[0]}}var a,s=n(162),l=n.n(s),u=n(52);t.a={request:function(e,t){return o(t).then(r.bind(null,e))},release:function(){var e=a&&a.getVideoTracks();e&&e.length&&e[0].stop(),a=null},enumerateVideoDevices:function(){return n.i(u.b)().then(function(e){return e.filter(function(e){return"videoinput"===e.kind})})},getActiveStreamLabel:function(){var e=i();return e?e.label:""},getActiveTrack:i}},function(e,t,n){"use strict";function r(e){return new Promise(function(t){var n=new FileReader;n.onload=function(e){return t(e.target.result)},n.readAsArrayBuffer(e)})}function o(e,t,n){if("Exif"!==function(e,t,n){for(var r="",o=t;o1&&void 0!==arguments[1]?arguments[1]:s;return/^blob\:/i.test(e)?function(e){return new Promise(function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="blob",r.onreadystatechange=function(){r.readyState!==XMLHttpRequest.DONE||200!==r.status&&0!==r.status||t(this.response)},r.onerror=n,r.send()})}(e).then(r).then(function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,n=new DataView(e),r=e.byteLength,i=t.reduce(function(e,t){var n=Object.keys(a).filter(function(e){return a[e]===t})[0];return n&&(e[n]=t),e},{}),l=2;if(255!==n.getUint8(0)||216!==n.getUint8(1))return!1;for(;l1?i.size:Math.floor(t/o*i.size):t,r=i.size?t/o>1?Math.floor(o/t*i.size):i.size:o,u.x=n,u.y=r}var n,r,o={},i=null,a=["canrecord","ended"],s={},l={x:0,y:0},u={x:0,y:0};return o.getRealWidth=function(){return e.videoWidth},o.getRealHeight=function(){return e.videoHeight},o.getWidth=function(){return n},o.getHeight=function(){return r},o.setWidth=function(e){n=e},o.setHeight=function(e){r=e},o.setInputStream=function(t){i=t,e.src=void 0!==t.src?t.src:""},o.ended=function(){return e.ended},o.getConfig=function(){return i},o.setAttribute=function(t,n){e.setAttribute(t,n)},o.pause=function(){e.pause()},o.play=function(){e.play()},o.setCurrentTime=function(t){"LiveStream"!==i.type&&(e.currentTime=t)},o.addEventListener=function(t,n,r){-1!==a.indexOf(t)?(s[t]||(s[t]=[]),s[t].push(n)):e.addEventListener(t,n,r)},o.clearEventHandlers=function(){a.forEach(function(t){var n=s[t];n&&n.length>0&&n.forEach(function(n){e.removeEventListener(t,n)})})},o.trigger=function(e,n){var r,i=s[e];if("canrecord"===e&&t(),i&&i.length>0)for(r=0;r1?a.size:Math.floor(s/l*a.size):s,o=a.size?s/l>1?Math.floor(l/s*a.size):a.size:l,v.x=n,v.y=o,d=!0,u=0,setTimeout(function(){t("canrecord",[])},0)},h,p,a.sequence)}function t(e,t){var n,r=g[e];if(r&&r.length>0)for(n=0;nd&&(d=o.box[r][0]),o.box[r][1]f&&(f=o.box[r][1]);for(a=[[u,c],[d,c],[d,f],[u,f]],s=l.halfSample?2:1,i=E.invert(i,i),r=0;r<4;r++)O.transformMat2(a[r],a[r],i);for(r=0;r<4;r++)O.scale(a[r],a[r],s);return a}function i(e){var t=n.i(w.g)(e,.9),r=n.i(w.h)(t,1,function(e){return e.getPoints().length}),o=[],i=[];if(1===r.length){o=r[0].item.getPoints();for(var a=0;a=2){for(o=0;of&&u.push(e[o]);if(u.length>=2){for(s=i(u),a=0,o=0;o1&&s.length>=u.length/4*3&&s.length>e.length/4&&(a/=s.length,l={index:t[1]*S.x+t[0],pos:{x:n,y:r},box:[O.clone([n,r]),O.clone([n+d.size.x,r]),O.clone([n+d.size.x,r+d.size.y]),O.clone([n,r+d.size.y])],moments:s,rad:a,vec:O.clone([Math.cos(a),Math.sin(a)])},c.push(l))}}return c}var l,u,c,d,f,p,h,m,_,b,g,y,v=n(20),w=n(19),k=n(3),x=(n(9),n(65)),T=n(30),M=n(66),O={clone:n(7),dot:n(32),scale:n(81),transformMat2:n(82)},E={copy:n(78),create:n(79),invert:n(80)},L={ctx:{binary:null},dom:{binary:null}},S={x:0,y:0};t.a={init:function(e,t){l=t,g=e,r(),l.useWorker||"undefined"==typeof document||(L.dom.binary=document.createElement("canvas"),L.dom.binary.className="binaryBuffer",L.ctx.binary=L.dom.binary.getContext("2d"),L.dom.binary.width=_.size.x,L.dom.binary.height=_.size.y)},locate:function(){var e,t;if(l.halfSample&&n.i(w.i)(g,u),n.i(w.f)(u,_),_.zeroBorder(),(e=function(){var e,t,n,r,o,i,l=[];for(e=0;ea&&n(s):h.data[s]=Number.MAX_VALUE}var r,o,i=0,a=.95,s=0;for(k.a.init(p.data,0),k.a.init(h.data,0),k.a.init(m.data,null),r=0;r0&&r[h.data[n]-1]++;return(r=r.map(function(e,t){return{val:e,label:t+1}})).sort(function(e,t){return t.val-e.val}),r.filter(function(e){return e.val>=5})}(r)).length?null:function(e,t){var n,r,i,a,s=[],l=[];for(n=0;n0){a=a-1|0;r[n+a|0]=(r[e+a|0]|0)-(r[t+a|0]|0)|0}}function l(e,t,n){e=e|0;t=t|0;n=n|0;var a=0;a=i(o,o)|0;while((a|0)>0){a=a-1|0;r[n+a|0]=r[e+a|0]|0|(r[t+a|0]|0)|0}}function u(e){e=e|0;var t=0,n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;t=(t|0)+(r[e+n|0]|0)|0}return t|0}function c(e,t){e=e|0;t=t|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[e+n|0]=t}}function d(e,t){e=e|0;t=t|0;var n=0,i=0,a=0,s=0,l=0,u=0,c=0,d=0;for(n=1;(n|0)<(o-1|0);n=n+1|0){d=d+o|0;for(i=1;(i|0)<(o-1|0);i=i+1|0){s=d-o|0;l=d+o|0;u=i-1|0;c=i+1|0;a=(r[e+s+u|0]|0)+(r[e+s+c|0]|0)+(r[e+d+i|0]|0)+(r[e+l+u|0]|0)+(r[e+l+c|0]|0)|0;if((a|0)>(0|0)){r[t+d+i|0]=1}else{r[t+d+i|0]=0}}}return}function f(e,t){e=e|0;t=t|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[t+n|0]=r[e+n|0]|0}}function p(e){e=e|0;var t=0,n=0;for(t=0;(t|0)<(o-1|0);t=t+1|0){r[e+t|0]=0;r[e+n|0]=0;n=n+o-1|0;r[e+n|0]=0;n=n+1|0}for(t=0;(t|0)<(o|0);t=t+1|0){r[e+n|0]=0;n=n+1|0}}function h(){var e=0,t=0,n=0,r=0,h=0,m=0;t=i(o,o)|0;n=t+t|0;r=n+t|0;c(r,0);p(e);do{a(e,t);d(t,n);s(e,n,n);l(r,n,r);f(t,e);h=u(e)|0;m=(h|0)==0|0}while(!m)}return{skeletonize:h}}},function(e,t,n){"use strict";function r(e){o.a.call(this,e),this.barSpaceRatio=[1,1]}var o=n(1),i={START_PATTERN:{value:[3,1,3,1,1,1]},STOP_PATTERN:{value:[3,1,1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.3,writable:!0},FORMAT:{value:"2of5"}},a=i.START_PATTERN.value.reduce(function(e,t){return e+t},0);r.prototype=Object.create(o.a.prototype,i),r.prototype.constructor=r,r.prototype._findPattern=function(e,t,n,r){var o,i,a,s,l=[],u=this,c=0,d={error:Number.MAX_VALUE,code:-1,start:0,end:0},f=u.AVG_CODE_ERROR;for(n=n||!1,r=r||!1,t||(t=u._nextSet(u._row)),o=0;o=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start)/2)1&&i._isStartEnd(n))break}while(ri._counters.length?i._counters.length:r,o=e.start+i._sumCounters(e.startCounter,r-8),{code:a.join(""),start:e.start,end:o,startInfo:e,decodedCodes:a}):null},r.prototype._verifyWhitespace=function(e,t){return(e-1<=0||this._counters[e-1]>=this._calculatePatternLength(e)/2)&&(t+8>=this._counters.length||this._counters[t+7]>=this._calculatePatternLength(t)/2)},r.prototype._calculatePatternLength=function(e){var t,n=0;for(t=e;t=0;i--)n=2==(1&i)?l.bar:l.space,(r=1==(1&a)?n.wide:n.narrow).size+=s._counters[u+i],r.counts++,a>>=1;u+=8}return["space","bar"].forEach(function(e){var t=l[e];t.wide.min=Math.floor((t.narrow.size/t.narrow.counts+t.wide.size/t.wide.counts)/2),t.narrow.max=Math.ceil(t.wide.min),t.wide.max=Math.ceil((t.wide.size*s.MAX_ACCEPTABLE+s.PADDING)/t.wide.counts)}),l},r.prototype._charToPattern=function(e){var t,n=this,r=e.charCodeAt(0);for(t=0;t=0;r--){if(o=0==(1&r)?u.bar:u.space,i=1==(1&s)?o.wide:o.narrow,(a=l._counters[c+r])i.max)return!1;s>>=1}c+=8}return!0},r.prototype._patternToChar=function(e){var t,n=this;for(t=0;ti&&(i=r),rthis._counters.length)return-1;for(t=this._computeAlternatingThreshold(e,i),n=this._computeAlternatingThreshold(e+1,i),r=0;r<7;r++)o=0==(1&r)?t:n,this._counters[e+r]>o&&(s|=a),a>>=1;return s},r.prototype._isStartEnd=function(e){var t;for(t=0;ts.AVG_CODE_ERROR?null:(s.CODE_PATTERN[d.code]&&(d.correction.bar=o(s.CODE_PATTERN[d.code],a,this.MODULE_INDICES.bar),d.correction.space=o(s.CODE_PATTERN[d.code],a,this.MODULE_INDICES.space)),d)}a[++c]=1,u=!u}return null},r.prototype._correct=function(e,t){this._correctBars(e,t.bar,this.MODULE_INDICES.bar),this._correctBars(e,t.space,this.MODULE_INDICES.space)},r.prototype._findStart=function(){var e,t,n,r,i,a=[0,0,0,0,0,0],s=this,l=s._nextSet(s._row),u=!1,c=0,d={error:Number.MAX_VALUE,code:-1,start:0,end:0,correction:{bar:1,space:1}};for(e=l;e4)return-1;if(0==(1&i))for(var s=0;s="a"&&o<="d"){if(r>t-2)return null;var i=e[++r],a=i.charCodeAt(0),s=void 0;switch(o){case"a":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a-64);break;case"b":if(i>="A"&&i<="E")s=String.fromCharCode(a-38);else if(i>="F"&&i<="J")s=String.fromCharCode(a-11);else if(i>="K"&&i<="O")s=String.fromCharCode(a+16);else if(i>="P"&&i<="S")s=String.fromCharCode(a+43);else{if(!(i>="T"&&i<="Z"))return null;s=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")s=String.fromCharCode(a-32);else{if("Z"!==i)return null;s=":"}break;case"d":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a+32)}n.push(s)}else n.push(o)}return n},r.prototype._verifyChecksums=function(e){return this._matchCheckChar(e,e.length-2,20)&&this._matchCheckChar(e,e.length-1,15)},r.prototype._matchCheckChar=function(e,t,n){var r=this,o=e.slice(0,t),i=o.length,a=o.reduce(function(e,t,o){return e+((-1*o+(i-1))%n+1)*r.ALPHABET.indexOf(t.charCodeAt(0))},0);return this.ALPHABET[a%47]===e[t].charCodeAt(0)},t.a=r},function(e,t,n){"use strict";function r(){o.a.call(this)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_2",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(e,t){this._row=e;var n,r=0,o=0,i=t,a=this._row.length,s=[],l=[];for(o=0;o<2&&i=this.CODE_G_START&&(r|=1<<1-o),1!=o&&(i=this._nextSet(this._row,n.end),i=this._nextUnset(this._row,i))}return 2!=s.length||parseInt(s.join(""))%4!==r?null:{code:s.join(""),decodedCodes:l,end:n.end}},t.a=r},function(e,t,n){"use strict";function r(){i.a.call(this)}function o(e){var t;for(t=0;t<10;t++)if(e===a[t])return t;return null}var i=n(4),a=[24,20,18,17,12,6,3,10,9,5];r.prototype=Object.create(i.a.prototype,{FORMAT:{value:"ean_5",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(e,t){this._row=e;var n,r=0,i=0,a=t,s=this._row.length,l=[],u=[];for(i=0;i<5&&a=this.CODE_G_START&&(r|=1<<4-i),4!=i&&(a=this._nextSet(this._row,n.end),a=this._nextUnset(this._row,a))}return 5!=l.length?null:function(e){var t,n=e.length,r=0;for(t=n-2;t>=0;t-=2)r+=e[t];for(r*=3,t=n-1;t>=0;t-=2)r+=e[t];return(r*=3)%10}(l)!==o(r)?null:{code:l.join(""),decodedCodes:u,end:n.end}},t.a=r},function(e,t,n){"use strict";function r(e,t){o.a.call(this,e,t)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_8",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodePayload=function(e,t,n){var r,o=this;for(r=0;r<4;r++){if(!(e=o._decodeCode(e.end,o.CODE_G_START)))return null;t.push(e.code),n.push(e)}if(null===(e=o._findPattern(o.MIDDLE_PATTERN,e.end,!0,!1)))return null;for(n.push(e),r=0;r<4;r++){if(!(e=o._decodeCode(e.end,o.CODE_G_START)))return null;n.push(e),t.push(e.code)}return e},t.a=r},function(e,t,n){"use strict";function r(e){e=i()(function(){var e={};return Object.keys(r.CONFIG_KEYS).forEach(function(t){e[t]=r.CONFIG_KEYS[t].default}),e}(),e),a.a.call(this,e),this.barSpaceRatio=[1,1],e.normalizeBarSpaceWidth&&(this.SINGLE_CODE_ERROR=.38,this.AVG_CODE_ERROR=.09)}var o=n(28),i=n.n(o),a=n(1),s={START_PATTERN:{value:[1,1,1,1]},STOP_PATTERN:{value:[1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.38,writable:!0},MAX_CORRECTION_FACTOR:{value:5},FORMAT:{value:"i2of5"}};r.prototype=Object.create(a.a.prototype,s),r.prototype.constructor=r,r.prototype._matchPattern=function(e,t){if(this.config.normalizeBarSpaceWidth){var n,r=[0,0],o=[0,0],i=[0,0],s=this.MAX_CORRECTION_FACTOR,l=1/s;for(n=0;n=0&&n._matchRange(e,t.start,0))return t;r=t.end,t=null}},r.prototype._verifyTrailingWhitespace=function(e){var t;return(t=e.end+(e.end-e.start)/2)=o.CODE_G_START&&(e.code=e.code-o.CODE_G_START,i|=1<<5-r),t.push(e.code),n.push(e)}return o._determineParity(i,t)?e:null},r.prototype._determineParity=function(e,t){var n,r;for(r=0;r0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(e,t,n){var r=n(117)();e.exports=r},function(e,t,n){var r=n(13),o=n(23);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1}},function(e,t,n){var r=n(12);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(84),o=n(10),i=n(33);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(14);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(14);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(14);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(161),o=500;e.exports=function(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(38),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(t,n(29)(e))},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t){var n=800,r=16,o=Date.now;e.exports=function(e){var t=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(10);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(10),o=n(33),i=n(34),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length0){var n=t[0].field;e.activate&&n===l.field&&(e.requestListData(!0,!0),e.activate())}}}),n.setState({property:l.field})):n.setState({property:l.field})}else r[r.length-1].field===e&&n.setState({property:""},function(){i&&i()})})}}),Object.defineProperty(n,"dropdownListToggle",{enumerable:!0,writable:!0,value:function(e,t){var r=n.props,o=r.onFocus,i=r.onBlur;n._changeWidgetProperty(t,"dropdownOpen",e,function(){n.setState({isDropdownListOpen:e}),e&&o?o():!e&&i&&i()})}}),Object.defineProperty(n,"resetLocalClearing",{enumerable:!0,writable:!0,value:function(){n.setState({localClearing:!1})}}),Object.defineProperty(n,"handleClickOutside",{enumerable:!0,writable:!0,value:function(){var e=n.props.onClickOutside,t=n.state,r=t.isDropdownListOpen,o=t.isFocused;(r||o)&&n.setState({isDropdownListOpen:!1,isFocused:!1,lookupWidgets:n.rawLookupsState,property:""},function(){e&&e()})}}),Object.defineProperty(n,"handleInputEmptyStatus",{enumerable:!0,writable:!0,value:function(e){n.setState({isInputEmpty:e})}}),Object.defineProperty(n,"handleClear",{enumerable:!0,writable:!0,value:function(){var e=n.props,t=e.onChange,r=e.properties,o=e.onSelectBarcode;t&&t(r,null,!1),o&&o(null),n.setState({isInputEmpty:!0,property:"",initialFocus:!0,localClearing:!0,autofocusDisabled:!1})}}),Object.defineProperty(n,"handleListFocus",{enumerable:!0,writable:!0,value:function(e){n._changeWidgetProperty(e,"isFocused",!0,function(){n.setState({isFocused:!0}),n.props.onFocus()})}}),Object.defineProperty(n,"handleListBlur",{enumerable:!0,writable:!0,value:function(e){n._changeWidgetProperty(e,"isFocused",!1,function(){n.setState({isFocused:!1}),n.props.onBlur()})}}),Object.defineProperty(n,"disableAutofocus",{enumerable:!0,writable:!0,value:function(){n.setState({autofocusDisabled:!0})}}),Object.defineProperty(n,"enableAutofocus",{enumerable:!0,writable:!0,value:function(){n.setState({autofocusDisabled:!1})}}),Object.defineProperty(n,"renderInputControls",{enumerable:!0,writable:!0,value:function(e){var t=n.props.onScanBarcode,r=n.state.isInputEmpty;return a.default.createElement("div",{className:"input-icon input-icon-lg raw-lookup-wrapper",onClick:null},e?a.default.createElement("button",{className:"btn btn-sm btn-meta-success btn-scanner",onClick:function(){return t(!0)}},"Scan using camera"):null,a.default.createElement("i",{className:(0,c.default)({"meta-icon-close-alt":!r,"meta-icon-preview":r}),onClick:r?null:n.handleClear}))}});var o={};return e.properties&&(e.properties.forEach(function(e){o[""+e.field]={dropdownOpen:!1,fireClickOutside:!1,fireDropdownList:!1,isFocused:!1,isInputEmpyt:!1}}),n.rawLookupsState=r({},o)),n.state={isInputEmpty:!0,propertiesCopy:(0,f.getItemsByProperty)(e.properties,"source","list"),property:"",fireClickOutside:!1,initialFocus:e.initialFocus,localClearing:!1,autofocusDisabled:!1,isFocused:!1,isDropdownListOpen:!1,lookupWidgets:o},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,i.Component),o(t,[{key:"componentDidMount",value:function(){this.checkIfDefaultValue()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.defaultValue,r=t.selected;n&&e.defaultValue&&!d.isEqual(n[0].value,e.defaultValue[0].value)&&this.checkIfDefaultValue(),d.isEqual(r,e.selected)||this.setState({isInputEmpty:!e.selected,localClearing:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.rank,o=t.readonly,i=t.defaultValue,s=t.placeholder,l=t.align,u=t.isModal,d=t.updated,p=t.filterWidget,_=t.mandatory,b=t.rowId,g=t.tabIndex,y=t.validStatus,v=t.recent,w=t.onChange,k=t.newRecordCaption,x=t.properties,T=t.windowType,M=t.parameterName,O=t.entity,E=t.dataId,L=t.tabId,S=t.subentity,D=t.subentityId,j=t.viewId,C=t.autoFocus,A=t.newRecordWindowId,P=t.scanning,I=t.barcodeSelected,R=t.scannerElement,H=t.forceFullWidth,Y=this.state,N=Y.isInputEmpty,W=Y.property,J=Y.fireClickOutside,V=Y.initialFocus,U=Y.localClearing,X=Y.fireDropdownList,G=Y.autofocusDisabled,F=_&&(N||y&&y.initialValue&&!y.valid),z=y&&!y.valid&&!y.initialValue,B=n||"primary",q=!1;return this.linkedList=[],P?a.default.createElement("div",{className:"overlay-field js-not-unselect"},R):a.default.createElement("div",{ref:function(t){return e.dropdown=t},className:(0,c.default)("input-dropdown-container lookup-wrapper","input-"+B,{"pulse-on":d,"pulse-off":!d,"input-full":p,"input-mandatory":F,"input-error":z,"lookup-wrapper-disabled":o})},x&&x.map(function(t,x){q="M_LocatorTo_ID"===t.field;var P=e.getLookupWidget(t.field),R=N&&0!==x,Y=(0,f.getItemsByProperty)(i,"field",t.field)[0];if("lookup"===t.source||"Lookup"===t.widgetType||Y&&"Lookup"===Y.widgetType){var F=U?null:Y.value;I&&(F={caption:I});var z=null;return H&&e.dropdown&&(z=e.dropdown.offsetWidth),a.default.createElement(m.default,r({key:x,defaultValue:F,autoFocus:0===x&&C,initialFocus:0===x&&V,mainProperty:[t],resetLocalClearing:e.resetLocalClearing,setNextProperty:e.setNextProperty,lookupEmpty:N,fireDropdownList:X,handleInputEmptyStatus:e.handleInputEmptyStatus,enableAutofocus:e.enableAutofocus,onBlur:function(){return e.handleListBlur(t.field)},onFocus:function(){return e.handleListFocus(t.field)},isOpen:P.dropdownOpen,onDropdownListToggle:function(n){e.dropdownListToggle(n,t.field)},forcedWidth:z,parentElement:H&&e.dropdown},{placeholder:s,readonly:o,tabIndex:g,windowType:T,parameterName:M,entity:O,dataId:E,isModal:u,recent:v,rank:n,updated:d,filterWidget:p,mandatory:_,validStatus:y,align:l,onChange:w,item:t,disabled:R,fireClickOutside:J,viewId:j,subentity:S,subentityId:D,tabId:L,rowId:b,newRecordCaption:k,newRecordWindowId:A,localClearing:U}))}if("list"===t.source||"List"===t.widgetType||Y&&"List"===Y.source){var B=0===x,K=t.field===W&&!G,Z=U?null:Y.value;return a.default.createElement("div",{key:t.field,className:(0,c.default)("raw-lookup-wrapper raw-lookup-wrapper-bcg",{"raw-lookup-disabled":R||o,focused:e.getFocused(t.field)})},a.default.createElement(h.default,r({ref:function(t){t&&e.linkedList.push(t.getWrappedInstance())},clearable:!1,readonly:R||o,lookupList:!0,autoFocus:K,doNotOpenOnFocus:!1,properties:[t],mainProperty:[t],defaultValue:Z||"",initialFocus:!!B&&V,blur:!W,setNextProperty:e.setNextProperty,disableAutofocus:e.disableAutofocus,enableAutofocus:e.enableAutofocus,onFocus:function(){return e.handleListFocus(t.field)},onBlur:function(){return e.handleListBlur(t.field)}},{dataId:E,entity:O,windowType:T,filterWidget:p,tabId:L,rowId:b,subentity:S,subentityId:D,viewId:j,onChange:w,isInputEmpty:N,property:W})))}}),!o&&this.renderInputControls(q))}}]),t}();g.propTypes={onFocus:s.default.func,onBlur:s.default.func,forceFullWidth:s.default.bool};var y=(0,u.connect)()((0,p.default)((0,l.default)(g)));t.default=y;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(g,"Lookup","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/Lookup/Lookup.js"),__REACT_HOT_LOADER__.register(y,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/Lookup/Lookup.js"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t1;return i.default.createElement("div",{className:"form-group-flex-item"},t&&t.map(function(e,t){return i.default.createElement(a.default,{device:e,key:t,index:t,handleChange:n,isMore:o,tabIndex:r})}))}}]),t}(),u=l;t.default=u;"undefined"!=typeof __REACT_HOT_LOADER__&&(__REACT_HOT_LOADER__.register(l,"DevicesWidget","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/Devices/DevicesWidget.js"),__REACT_HOT_LOADER__.register(u,"default","/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/Devices/DevicesWidget.js"))},function(e,t,n){"use strict";e.exports=function(){return["","alwaysShowCalendars","applyClass","autoApply","autoUpdateInput","buttonClasses","cancelClass","dateLimit","drops","endDate","isCustomDate","isInvalidDate","linkedCalendars","locale","maxDate","minDate","opens","parentEl","ranges","showCustomRangeLabel","showDropdowns","showISOWeekNumbers","showWeekNumbers","singleDatePicker","startDate","template","timePicker","timePicker24Hour","timePickerIncrement","timePickerSeconds"]}},function(e,t,n){var r={"./af":356,"./af.js":356,"./ar":355,"./ar-dz":354,"./ar-dz.js":354,"./ar-kw":353,"./ar-kw.js":353,"./ar-ly":352,"./ar-ly.js":352,"./ar-ma":351,"./ar-ma.js":351,"./ar-sa":350,"./ar-sa.js":350,"./ar-tn":349,"./ar-tn.js":349,"./ar.js":355,"./az":348,"./az.js":348,"./be":347,"./be.js":347,"./bg":346,"./bg.js":346,"./bm":345,"./bm.js":345,"./bn":344,"./bn.js":344,"./bo":343,"./bo.js":343,"./br":342,"./br.js":342,"./bs":341,"./bs.js":341,"./ca":340,"./ca.js":340,"./cs":339,"./cs.js":339,"./cv":338,"./cv.js":338,"./cy":337,"./cy.js":337,"./da":336,"./da.js":336,"./de":335,"./de-at":334,"./de-at.js":334,"./de-ch":333,"./de-ch.js":333,"./de.js":335,"./dv":332,"./dv.js":332,"./el":331,"./el.js":331,"./en-au":330,"./en-au.js":330,"./en-ca":329,"./en-ca.js":329,"./en-gb":328,"./en-gb.js":328,"./en-ie":327,"./en-ie.js":327,"./en-nz":326,"./en-nz.js":326,"./eo":325,"./eo.js":325,"./es":324,"./es-do":323,"./es-do.js":323,"./es-us":322,"./es-us.js":322,"./es.js":324,"./et":321,"./et.js":321,"./eu":320,"./eu.js":320,"./fa":319,"./fa.js":319,"./fi":318,"./fi.js":318,"./fo":317,"./fo.js":317,"./fr":316,"./fr-ca":315,"./fr-ca.js":315,"./fr-ch":314,"./fr-ch.js":314,"./fr.js":316,"./fy":313,"./fy.js":313,"./gd":312,"./gd.js":312,"./gl":311,"./gl.js":311,"./gom-latn":310,"./gom-latn.js":310,"./gu":309,"./gu.js":309,"./he":308,"./he.js":308,"./hi":307,"./hi.js":307,"./hr":306,"./hr.js":306,"./hu":305,"./hu.js":305,"./hy-am":304,"./hy-am.js":304,"./id":303,"./id.js":303,"./is":302,"./is.js":302,"./it":301,"./it.js":301,"./ja":300,"./ja.js":300,"./jv":299,"./jv.js":299,"./ka":298,"./ka.js":298,"./kk":297,"./kk.js":297,"./km":296,"./km.js":296,"./kn":295,"./kn.js":295,"./ko":294,"./ko.js":294,"./ky":293,"./ky.js":293,"./lb":292,"./lb.js":292,"./lo":291,"./lo.js":291,"./lt":290,"./lt.js":290,"./lv":289,"./lv.js":289,"./me":288,"./me.js":288,"./mi":287,"./mi.js":287,"./mk":286,"./mk.js":286,"./ml":285,"./ml.js":285,"./mr":284,"./mr.js":284,"./ms":283,"./ms-my":282,"./ms-my.js":282,"./ms.js":283,"./mt":281,"./mt.js":281,"./my":280,"./my.js":280,"./nb":279,"./nb.js":279,"./ne":278,"./ne.js":278,"./nl":277,"./nl-be":276,"./nl-be.js":276,"./nl.js":277,"./nn":275,"./nn.js":275,"./pa-in":274,"./pa-in.js":274,"./pl":273,"./pl.js":273,"./pt":272,"./pt-br":271,"./pt-br.js":271,"./pt.js":272,"./ro":270,"./ro.js":270,"./ru":269,"./ru.js":269,"./sd":268,"./sd.js":268,"./se":267,"./se.js":267,"./si":266,"./si.js":266,"./sk":265,"./sk.js":265,"./sl":264,"./sl.js":264,"./sq":263,"./sq.js":263,"./sr":262,"./sr-cyrl":261,"./sr-cyrl.js":261,"./sr.js":262,"./ss":260,"./ss.js":260,"./sv":259,"./sv.js":259,"./sw":258,"./sw.js":258,"./ta":257,"./ta.js":257,"./te":256,"./te.js":256,"./tet":255,"./tet.js":255,"./th":254,"./th.js":254,"./tl-ph":253,"./tl-ph.js":253,"./tlh":252,"./tlh.js":252,"./tr":251,"./tr.js":251,"./tzl":250,"./tzl.js":250,"./tzm":249,"./tzm-latn":248,"./tzm-latn.js":248,"./tzm.js":249,"./uk":247,"./uk.js":247,"./ur":246,"./ur.js":246,"./uz":245,"./uz-latn":244,"./uz-latn.js":244,"./uz.js":245,"./vi":243,"./vi.js":243,"./x-pseudo":242,"./x-pseudo.js":242,"./yo":241,"./yo.js":241,"./zh-cn":240,"./zh-cn.js":240,"./zh-hk":239,"./zh-hk.js":239,"./zh-tw":238,"./zh-tw.js":238};function o(e){var t=i(e);return n(t)}function i(e){var t=r[e];if(!(t+1)){var n=new Error('Cannot find module "'+e+'".');throw n.code="MODULE_NOT_FOUND",n}return t}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=714},function(e,t,n){var r,o; /** * @version: 2.1.30 * @author: Dan Grossman http://www.dangrossman.info/ @@ -97,5 +97,5 @@ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeo * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(70),o=n(182),i=n(129),a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.call"):60104,u=a?Symbol.for("react.return"):60105,c=a?Symbol.for("react.portal"):60106,d=a?Symbol.for("react.fragment"):60107,f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;rE.length&&E.push(e)}function D(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case s:case l:case u:case c:i=!0}}if(i)return n(r,e,""===t?"."+j(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:j(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function v(e,t,n,r){var o=t&&t.prototype instanceof k?t:k,i=Object.create(o.prototype),a=new D(r||[]);return i._invoke=function(e,t,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=w(e,t,n);if("normal"===l.type){if(r=n.done?h:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function k(){}function x(){}function T(){}function M(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function O(e){function n(t,r,i,a){var s=w(e[t],e,r);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(e){n("next",e,i,a)},function(e){n("throw",e,i,a)}):Promise.resolve(u).then(function(e){l.value=e,i(l)},a)}a(s.arg)}var r;"object"==typeof t.process&&t.process.domain&&(n=t.process.domain.bind(n)),this._invoke=function(e,t){function o(){return new Promise(function(r,o){n(e,t,r,o)})}return r=r?r.then(o,o):o()}}function E(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,E(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=w(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,m;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function j(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(e,t,n){"use strict";var r=n(3),o=n(9),i=n(53),a=n(186)(),s=n(15)("observable"),l=n(26),u=n(7),c=n(73),d=n(71),f=n(31),p=n(72),h=p.RETURN,m=function(e){return null==e?void 0:l(e)},_=function(e){var t=e._c;t&&(e._c=void 0,t())},b=function(e){return void 0===e._o},g=function(e){b(e)||(e._o=void 0,_(e))},y=function(e,t){u(e),this._c=void 0,this._o=e,e=new v(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:l(n),this._c=n)}catch(t){return void e.error(t)}b(this)&&_(this)};y.prototype=d({},{unsubscribe:function(){g(this)}});var v=function(e){this._s=e};v.prototype=d({},{next:function(e){var t=this._s;if(!b(t)){var n=t._o;try{var r=m(n.next);if(r)return r.call(n,e)}catch(e){try{g(t)}finally{throw e}}}},error:function(e){var t=this._s;if(b(t))throw e;var n=t._o;t._o=void 0;try{var r=m(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{_(t)}finally{throw e}}return _(t),e},complete:function(e){var t=this._s;if(!b(t)){var n=t._o;t._o=void 0;try{var r=m(n.complete);e=r?r.call(n,e):void 0}catch(e){try{_(t)}finally{throw e}}return _(t),e}}});var w=function(e){c(this,w,"Observable","_f")._f=l(e)};d(w.prototype,{subscribe:function(e){return new y(e,this._f)},forEach:function(e){var t=this;return new(i.Promise||o.Promise)(function(n,r){l(e);var o=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})}}),d(w,{from:function(e){var t="function"==typeof this?this:w,n=m(u(e)[s]);if(n){var r=u(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return a(function(){if(!n){try{if(p(e,!1,function(e){if(t.next(e),n)return h})===h)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=new Array(t);e0}})},function(e,t,n){var r=n(3);r(r.S,"Math",{umulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>>16,s=r>>>16,l=(a*i>>>0)+(o*i>>>16);return a*s+(l>>>16)+((o*s>>>0)+(65535&l)>>>16)}})},function(e,t,n){var r=n(3);r(r.S,"Math",{scale:n(542)})},function(e,t,n){var r=n(3),o=Math.PI/180;r(r.S,"Math",{radians:function(e){return e*o}})},function(e,t,n){var r=n(3);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(e,t,n){var r=n(3);r(r.S,"Math",{imulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>16,s=r>>16,l=(a*i>>>0)+(o*i>>>16);return a*s+(l>>16)+((o*s>>>0)+(65535&l)>>16)}})},function(e,t,n){var r=n(3);r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},function(e,t,n){var r=n(3);r(r.S,"Math",{iaddh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},function(e,t,n){var r=n(3),o=n(542),i=n(562);r(r.S,"Math",{fscale:function(e,t,n,r,a){return i(o(e,t,n,r,a))}})},function(e,t,n){var r=n(3),o=180/Math.PI;r(r.S,"Math",{degrees:function(e){return e*o}})},function(e,t,n){var r=n(3);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(e,t,n){var r=n(3);r(r.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},function(e,t,n){var r=n(3),o=n(45);r(r.S,"Error",{isError:function(e){return"Error"===o(e)}})},function(e,t,n){var r=n(3);r(r.S,"System",{global:n(9)})},function(e,t,n){var r=n(3);r(r.G,{global:n(9)})},function(e,t,n){n(130)("WeakSet")},function(e,t,n){n(130)("WeakMap")},function(e,t,n){n(130)("Set")},function(e,t,n){n(130)("Map")},function(e,t,n){n(131)("WeakSet")},function(e,t,n){n(131)("WeakMap")},function(e,t,n){n(131)("Set")},function(e,t,n){n(131)("Map")},function(e,t,n){var r=n(3);r(r.P+r.R,"Set",{toJSON:n(544)("Set")})},function(e,t,n){var r=n(3);r(r.P+r.R,"Map",{toJSON:n(544)("Map")})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(52),a=n(38),s=n(39).f;n(21)&&r(r.P+n(132),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=s(n,r))return t.set}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(52),a=n(38),s=n(39).f;n(21)&&r(r.P+n(132),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=s(n,r))return t.get}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(26),a=n(20);n(21)&&r(r.P+n(132),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(26),a=n(20);n(21)&&r(r.P+n(132),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(3),o=n(545)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(3),o=n(545)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(3),o=n(548),i=n(40),a=n(39),s=n(192);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),l=a.f,u=o(r),c={},d=0;u.length>d;)void 0!==(n=l(r,t=u[d++]))&&s(c,t,n);return c}})},function(e,t,n){n(208)("observable")},function(e,t,n){n(208)("asyncIterator")},function(e,t,n){"use strict";var r=n(3),o=n(51),i=n(19),a=n(139),s=n(137),l=RegExp.prototype,u=function(e,t){this._r=e,this._s=t};n(196)(u,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(o(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in l?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(e.lastIndex),new u(r,t)}})},function(e,t,n){"use strict";n(92)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},function(e,t,n){"use strict";n(92)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";var r=n(3),o=n(546),i=n(183);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(3),o=n(546),i=n(183);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";var r=n(3),o=n(198)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(3),o=n(547),i=n(23),a=n(19),s=n(50),l=n(190);r(r.P,"Array",{flatten:function(){var e=arguments[0],t=i(this),n=a(t.length),r=l(t,0);return o(r,t,t,n,0,void 0===e?1:s(e)),r}}),n(65)("flatten")},function(e,t,n){"use strict";var r=n(3),o=n(547),i=n(23),a=n(19),s=n(26),l=n(190);r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return s(e),t=a(r.length),n=l(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n(65)("flatMap")},function(e,t,n){"use strict";var r=n(3),o=n(142)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)("includes")},function(e,t,n){var r=n(3),o=n(204);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(20),o=n(39),i=n(38),a=n(32),s=n(3),l=n(81),u=n(7),c=n(13);s(s.S,"Reflect",{set:function e(t,n,s){var d,f,p=arguments.length<4?t:arguments[3],h=o.f(u(t),n);if(!h){if(c(f=i(t)))return e(f,n,s,p);h=l(0)}return a(h,"value")?!(!1===h.writable||!c(p)||((d=o.f(p,n)||l(0)).value=s,r.f(p,n,d),0)):void 0!==h.set&&(h.set.call(p,s),!0)}})},function(e,t,n){var r=n(3),o=n(7),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3);r(r.S,"Reflect",{ownKeys:n(548)})},function(e,t,n){var r=n(3),o=n(7),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(3);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(3),o=n(38),i=n(7);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){var r=n(39),o=n(3),i=n(7);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(39),o=n(38),i=n(32),a=n(3),s=n(13),l=n(7);a(a.S,"Reflect",{get:function e(t,n){var a,u,c=arguments.length<3?t:arguments[2];return l(t)===c?t[n]:(a=r.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(c):void 0:s(u=o(t))?e(u,n,c):void 0}})},function(e,t,n){"use strict";var r=n(3),o=n(7),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(196)(i,"Object",function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(3),o=n(39).f,i=n(7);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(20),o=n(3),i=n(7),a=n(52);o(o.S+o.F*n(11)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3),o=n(76),i=n(26),a=n(7),s=n(13),l=n(11),u=n(569),c=(n(9).Reflect||{}).construct,d=l(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),f=!l(function(){c(function(){})});r(r.S+r.F*(d||f),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var l=n.prototype,p=o(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(3),o=n(26),i=n(7),a=(n(9).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(11)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),l=i(n);return a?a(r,t,l):s.call(r,t,l)}})},function(e,t,n){n(57)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(57)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){var r=n(3);r(r.G+r.W+r.F*!n(133).ABV,{DataView:n(184).DataView})},function(e,t,n){"use strict";var r=n(3),o=n(133),i=n(184),a=n(7),s=n(77),l=n(19),u=n(13),c=n(9).ArrayBuffer,d=n(135),f=i.ArrayBuffer,p=i.DataView,h=o.ABV&&c.isView,m=f.prototype.slice,_=o.VIEW;r(r.G+r.W+r.F*(c!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(e){return h&&h(e)||u(e)&&_ in e}}),r(r.P+r.U+r.F*n(11)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(d(this,f))(l(o-r)),u=new p(this),c=new p(i),h=0;r0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r,o,i,a,s=n(79),l=n(9),u=n(46),c=n(109),d=n(3),f=n(13),p=n(26),h=n(73),m=n(72),_=n(135),b=n(187).set,g=n(186)(),y=n(185),v=n(556),w=n(555),k=l.TypeError,x=l.process,T=l.Promise,M="process"==c(x),O=function(){},E=o=y.f,L=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(15)("species")]=function(e){e(O,O)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof t}catch(e){}}(),S=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},D=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,l=t.reject,u=t.domain;try{a?(o||(2==e._h&&A(e),e._h=1),!0===a?n=r:(u&&u.enter(),n=a(r),u&&u.exit()),n===t.promise?l(k("Promise-chain cycle")):(i=S(n))?i.call(n,s,l):s(n)):l(r)}catch(e){l(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&j(e)})}},j=function(e){b.call(l,function(){var t,n,r,o=e._v,i=C(e);if(i&&(t=v(function(){M?x.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=M||C(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},C=function(e){return 1!==e._h&&0===(e._a||e._c).length},A=function(e){b.call(l,function(){var t;M?x.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},P=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),D(t,!0))},I=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(t=S(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,u(I,r,1),u(P,r,1))}catch(e){P.call(r,e)}}):(n._v=e,n._s=1,D(n,!1))}catch(e){P.call({_w:n,_d:!1},e)}}};L||(T=function(e){h(this,T,"Promise","_h"),p(e),r.call(this);try{e(u(I,this,1),u(P,this,1))}catch(e){P.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(71)(T.prototype,{then:function(e,t){var n=E(_(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(I,e,1),this.reject=u(P,e,1)},y.f=E=function(e){return e===T||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!L,{Promise:T}),n(93)(T,"Promise"),n(74)("Promise"),a=n(53).Promise,d(d.S+d.F*!L,"Promise",{reject:function(e){var t=E(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!L),"Promise",{resolve:function(e){return w(s&&this===a?T:this,e)}}),d(d.S+d.F*!(L&&n(138)(function(e){T.all(e).catch(O)})),"Promise",{all:function(e){var t=this,n=E(t),r=n.resolve,o=n.reject,i=v(function(){var n=[],i=0,a=1;m(e,!1,function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=E(t),r=n.reject,o=v(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){n(136)("split",2,function(e,t,r){"use strict";var o=n(139),i=r,a=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var s=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return i.call(n,e,t);var r,l,u,c,d,f=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=void 0===t?4294967295:t>>>0,_=new RegExp(e.source,p+"g");for(s||(r=new RegExp("^"+_.source+"$(?!\\s)",p));(l=_.exec(n))&&!((u=l.index+l[0].length)>h&&(f.push(n.slice(h,l.index)),!s&&l.length>1&&l[0].replace(r,function(){for(d=1;d1&&l.index=m));)_.lastIndex===l.index&&_.lastIndex++;return h===n.length?!c&&_.test("")||f.push(""):f.push(n.slice(h)),f.length>m?f.slice(0,m):f}}else"0".split(void 0,0).length&&(r=function(e,t){return void 0===e&&0===t?[]:i.call(this,e,t)});return[function(n,o){var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(e,t,n){n(136)("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(136)("replace",2,function(e,t,n){return[function(r,o){"use strict";var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(e,t,n){n(136)("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){"use strict";n(557);var r=n(7),o=n(137),i=n(21),a=/./.toString,s=function(e){n(30)(RegExp.prototype,"toString",e,!0)};n(11)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(e,t,n){var r=n(9),o=n(202),i=n(20).f,a=n(75).f,s=n(139),l=n(137),u=r.RegExp,c=u,d=u.prototype,f=/a/g,p=/a/g,h=new u(f)!==f;if(n(21)&&(!h||n(11)(function(){return p[n(15)("match")]=!1,u(f)!=f||u(p)==p||"/a/i"!=u(f,"i")}))){u=function(e,t){var n=this instanceof u,r=s(e),i=void 0===t;return!n&&r&&e.constructor===u&&i?e:o(h?new c(r&&!i?e.source:e,t):c((r=e instanceof u)?e.source:e,r&&i?l.call(e):t),n?this:d,u)};for(var m=function(e){e in u||i(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},_=a(c),b=0;_.length>b;)m(_[b++]);d.constructor=u,u.prototype=d,n(30)(r,"RegExp",u)}n(74)("RegExp")},function(e,t,n){n(74)("Array")},function(e,t,n){"use strict";var r=n(3),o=n(48)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)(i)},function(e,t,n){"use strict";var r=n(3),o=n(48)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)("find")},function(e,t,n){var r=n(3);r(r.P,"Array",{fill:n(189)}),n(65)("fill")},function(e,t,n){var r=n(3);r(r.P,"Array",{copyWithin:n(559)}),n(65)("copyWithin")},function(e,t,n){"use strict";var r=n(3),o=n(40),i=n(50),a=n(19),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(44)(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){"use strict";var r=n(3),o=n(142)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(44)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(560);r(r.P+r.F*!n(44)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(3),o=n(560);r(r.P+r.F*!n(44)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(3),o=n(48)(4);r(r.P+r.F*!n(44)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(48)(3);r(r.P+r.F*!n(44)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(48)(2);r(r.P+r.F*!n(44)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(48)(1);r(r.P+r.F*!n(44)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(13),o=n(140),i=n(15)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(3),o=n(48)(0),i=n(44)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(23),a=n(11),s=[].sort,l=[1,2,3];r(r.P+r.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!n(44)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(3),o=n(205),i=n(45),a=n(77),s=n(19),l=[].slice;r(r.P+r.F*n(11)(function(){o&&l.call(o)}),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var o=a(e,n),u=a(t,n),c=s(u-o),d=new Array(c),f=0;fe;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(46),o=n(3),i=n(23),a=n(561),s=n(193),l=n(19),u=n(192),c=n(191);o(o.S+o.F*!n(138)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,_=void 0!==m,b=0,g=c(f);if(_&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==g||p==Array&&s(g))for(n=new p(t=l(f.length));t>b;b++)u(n,b,_?m(f[b],b):f[b]);else for(d=g.call(f),n=new p;!(o=d.next()).done;b++)u(n,b,_?a(d,m,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){var r=n(3);r(r.S,"Array",{isArray:n(140)})},function(e,t,n){"use strict";var r=n(7),o=n(52);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!=e)}},function(e,t,n){var r=n(15)("toPrimitive"),o=Date.prototype;r in o||n(31)(o,r,n(1069))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(30)(r,"toString",function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"})},function(e,t,n){"use strict";var r=n(11),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(e,t,n){var r=n(3),o=n(1072);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(52);r(r.P+r.F*n(11)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(3);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";n(29)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";n(29)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(29)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(29)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(29)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(29)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(29)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(29)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(29)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(29)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(29)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(29)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(29)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(195),a="".startsWith;r(r.P+r.F*n(194)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(3);r(r.P,"String",{repeat:n(201)})},function(e,t,n){"use strict";var r=n(3),o=n(195);r(r.P+r.F*n(194)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(195),a="".endsWith;r(r.P+r.F*n(194)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),s=void 0===n?r:Math.min(o(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){"use strict";var r=n(3),o=n(198)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(198)(!0);n(197)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";n(92)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){var r=n(3),o=n(40),i=n(19);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),sa;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(3);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(3),o=n(199),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(3),o=n(199),i=Math.exp;r(r.S+r.F*n(11)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(3);r(r.S,"Math",{sign:n(200)})},function(e,t,n){var r=n(3);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(3);r(r.S,"Math",{log1p:n(563)})},function(e,t,n){var r=n(3);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(3),o=Math.imul;r(r.S+r.F*n(11)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(3),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,s=arguments.length,l=0;a0?(r=n/l)*r:n;return l===1/0?1/0:l*Math.sqrt(i)}})},function(e,t,n){var r=n(3);r(r.S,"Math",{fround:n(562)})},function(e,t,n){var r=n(3),o=n(199);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(3),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(3);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(3),o=n(200);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(3),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(3),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(3),o=n(563),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){var r=n(3),o=n(567);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(3),o=n(566);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(3);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(3);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(3),o=n(564),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){var r=n(3);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(3);r(r.S,"Number",{isInteger:n(564)})},function(e,t,n){var r=n(3),o=n(9).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(3);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";var r=n(3),o=n(11),i=n(565),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){"use strict";var r=n(3),o=n(50),i=n(565),a=n(201),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=l(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=l(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},h=function(e,t,n){return 0===t?n:t%2==1?h(e,t-1,n*e):h(e*e,t/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(11)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,l=i(this,c),u=o(e),m="",_="0";if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*h(2,69,1))-69)<0?l*h(2,-t,1):l/h(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),r=u;r>=7;)d(1e7,0),r-=7;for(d(h(10,r,1),0),r=t-1;r>=23;)f(1<<23),r-=23;f(1<0?m+((s=_.length)<=u?"0."+a.call("0",u-s)+_:_.slice(0,s-u)+"."+_.slice(s-u)):m+_}})},function(e,t,n){"use strict";var r=n(9),o=n(32),i=n(45),a=n(202),s=n(52),l=n(11),u=n(75).f,c=n(39).f,d=n(20).f,f=n(92).trim,p=r.Number,h=p,m=p.prototype,_="Number"==i(n(76)(m)),b="trim"in String.prototype,g=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=b?t.trim():f(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,l=t.slice(2),u=0,c=l.length;uo)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(_?l(function(){m.valueOf.call(n)}):"Number"!=i(n))?a(new h(g(t)),n,p):g(t)};for(var y,v=n(21)?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;v.length>w;w++)o(h,y=v[w])&&!o(p,y)&&d(p,y,c(h,y));p.prototype=m,m.constructor=p,n(30)(r,"Number",p)}},function(e,t,n){var r=n(3),o=n(566);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(3),o=n(567);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){"use strict";var r=n(13),o=n(38),i=n(15)("hasInstance"),a=Function.prototype;i in a||n(20).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(20).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(21)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){var r=n(3);r(r.P,"Function",{bind:n(569)})},function(e,t,n){"use strict";var r=n(109),o={};o[n(15)("toStringTag")]="z",o+""!="[object z]"&&n(30)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(3);r(r.S,"Object",{setPrototypeOf:n(204).set})},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(3);r(r.S,"Object",{is:n(1134)})},function(e,t,n){var r=n(3);r(r.S+r.F,"Object",{assign:n(570)})},function(e,t,n){var r=n(13);n(49)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(13);n(49)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(13);n(49)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(13),o=n(66).onFreeze;n(49)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(13),o=n(66).onFreeze;n(49)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(13),o=n(66).onFreeze;n(49)("freeze",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){n(49)("getOwnPropertyNames",function(){return n(571).f})},function(e,t,n){var r=n(23),o=n(78);n(49)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(23),o=n(38);n(49)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(40),o=n(39).f;n(49)("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},function(e,t,n){var r=n(3);r(r.S+r.F*!n(21),"Object",{defineProperties:n(572)})},function(e,t,n){var r=n(3);r(r.S+r.F*!n(21),"Object",{defineProperty:n(20).f})},function(e,t,n){var r=n(3);r(r.S,"Object",{create:n(76)})},function(e,t,n){var r=n(78),o=n(141),i=n(110);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){"use strict";var r=n(9),o=n(32),i=n(21),a=n(3),s=n(30),l=n(66).KEY,u=n(11),c=n(143),d=n(93),f=n(80),p=n(15),h=n(574),m=n(208),_=n(1150),b=n(140),g=n(7),y=n(13),v=n(40),w=n(52),k=n(81),x=n(76),T=n(571),M=n(39),O=n(20),E=n(78),L=M.f,S=O.f,D=T.f,j=r.Symbol,C=r.JSON,A=C&&C.stringify,P=p("_hidden"),I=p("toPrimitive"),R={}.propertyIsEnumerable,H=c("symbol-registry"),Y=c("symbols"),N=c("op-symbols"),W=Object.prototype,J="function"==typeof j,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,X=i&&u(function(){return 7!=x(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=L(W,t);r&&delete W[t],S(e,t,n),r&&e!==W&&S(W,t,r)}:S,G=function(e){var t=Y[e]=x(j.prototype);return t._k=e,t},F=J&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},z=function(e,t,n){return e===W&&z(N,t,n),g(e),t=w(t,!0),g(n),o(Y,t)?(n.enumerable?(o(e,P)&&e[P][t]&&(e[P][t]=!1),n=x(n,{enumerable:k(0,!1)})):(o(e,P)||S(e,P,k(1,{})),e[P][t]=!0),X(e,t,n)):S(e,t,n)},B=function(e,t){g(e);for(var n,r=_(t=v(t)),o=0,i=r.length;i>o;)z(e,n=r[o++],t[n]);return e},q=function(e){var t=R.call(this,e=w(e,!0));return!(this===W&&o(Y,e)&&!o(N,e))&&(!(t||!o(this,e)||!o(Y,e)||o(this,P)&&this[P][e])||t)},K=function(e,t){if(e=v(e),t=w(t,!0),e!==W||!o(Y,t)||o(N,t)){var n=L(e,t);return!n||!o(Y,t)||o(e,P)&&e[P][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=D(v(e)),r=[],i=0;n.length>i;)o(Y,t=n[i++])||t==P||t==l||r.push(t);return r},$=function(e){for(var t,n=e===W,r=D(n?N:v(e)),i=[],a=0;r.length>a;)!o(Y,t=r[a++])||n&&!o(W,t)||i.push(Y[t]);return i};J||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===W&&t.call(N,n),o(this,P)&&o(this[P],e)&&(this[P][e]=!1),X(this,e,k(1,n))};return i&&U&&X(W,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),M.f=K,O.f=z,n(75).f=T.f=Z,n(110).f=q,n(141).f=$,i&&!n(79)&&s(W,"propertyIsEnumerable",q,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!J,{Symbol:j});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=E(p.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!J,"Symbol",{for:function(e){return o(H,e+="")?H[e]:H[e]=j(e)},keyFor:function(e){if(!F(e))throw TypeError(e+" is not a symbol!");for(var t in H)if(H[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!J,"Object",{create:function(e,t){return void 0===t?x(e):B(x(e),t)},defineProperty:z,defineProperties:B,getOwnPropertyDescriptor:K,getOwnPropertyNames:Z,getOwnPropertySymbols:$}),C&&a(a.S+a.F*(!J||u(function(){var e=j();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(y(t)||void 0!==e)&&!F(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!F(t))return t}),r[1]=t,A.apply(C,r)}}),j.prototype[I]||n(31)(j.prototype,I,j.prototype.valueOf),d(j,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){n(1151),n(1149),n(1148),n(1147),n(1146),n(1145),n(1144),n(1143),n(1142),n(1141),n(1140),n(1139),n(1138),n(1137),n(1136),n(1135),n(1133),n(1132),n(1131),n(1130),n(1129),n(1128),n(1127),n(1126),n(1125),n(1124),n(1123),n(1122),n(1121),n(1120),n(1119),n(1118),n(1117),n(1116),n(1115),n(1114),n(1113),n(1112),n(1111),n(1110),n(1109),n(1108),n(1107),n(1106),n(1105),n(1104),n(1103),n(1102),n(1101),n(1100),n(1099),n(1098),n(1097),n(1096),n(1095),n(1094),n(1093),n(1092),n(1091),n(1090),n(1089),n(1088),n(1087),n(1086),n(1085),n(1084),n(1083),n(1082),n(1081),n(1080),n(1079),n(1078),n(1077),n(1076),n(1075),n(1074),n(1073),n(1071),n(1070),n(1068),n(1067),n(1066),n(1065),n(1064),n(1063),n(1062),n(1060),n(1059),n(1058),n(1057),n(1056),n(1055),n(1054),n(1053),n(1052),n(1051),n(1050),n(1049),n(1048),n(188),n(1047),n(1046),n(557),n(1045),n(1044),n(1043),n(1042),n(1041),n(554),n(552),n(551),n(1040),n(1039),n(1038),n(1037),n(1036),n(1035),n(1034),n(1033),n(1032),n(1031),n(1030),n(1029),n(1028),n(1027),n(1026),n(1025),n(1024),n(1023),n(1022),n(1021),n(1020),n(1019),n(1018),n(1017),n(1016),n(1015),n(1014),n(1013),n(1012),n(1011),n(1010),n(1009),n(1008),n(1007),n(1006),n(1005),n(1004),n(1003),n(1002),n(1001),n(1e3),n(999),n(998),n(997),n(996),n(995),n(994),n(993),n(992),n(991),n(990),n(989),n(988),n(987),n(986),n(985),n(984),n(983),n(982),n(981),n(980),n(979),n(978),n(977),n(976),n(975),n(974),n(973),n(972),n(971),n(970),n(969),n(968),n(967),n(966),n(965),n(964),n(963),n(962),n(961),n(960),n(959),n(958),n(957),n(956),e.exports=n(53)},function(e,t,n){"use strict";(function(e){if(n(1152),n(955),n(954),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var t="defineProperty";function r(e,n,r){e[n]||Object[t](e,n,{writable:!0,configurable:!0,value:r})}r(String.prototype,"padLeft","".padStart),r(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&r(Array,e,Function.call.bind([][e]))})}).call(this,n(12))},function(e,t,n){n(1153),n(951),e.exports=n(587)},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(12))}]); -//# sourceMappingURL=bundle-8c5b04a7bc1b3d129c93-git-422ad21.js.map \ No newline at end of file + */var r=n(70),o=n(182),i=n(129),a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.call"):60104,u=a?Symbol.for("react.return"):60105,c=a?Symbol.for("react.portal"):60106,d=a?Symbol.for("react.fragment"):60107,f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;rE.length&&E.push(e)}function D(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case s:case l:case u:case c:i=!0}}if(i)return n(r,e,""===t?"."+j(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:j(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function v(e,t,n,r){var o=t&&t.prototype instanceof k?t:k,i=Object.create(o.prototype),a=new D(r||[]);return i._invoke=function(e,t,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=w(e,t,n);if("normal"===l.type){if(r=n.done?h:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function k(){}function x(){}function T(){}function M(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function O(e){function n(t,r,i,a){var s=w(e[t],e,r);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then(function(e){n("next",e,i,a)},function(e){n("throw",e,i,a)}):Promise.resolve(u).then(function(e){l.value=e,i(l)},a)}a(s.arg)}var r;"object"==typeof t.process&&t.process.domain&&(n=t.process.domain.bind(n)),this._invoke=function(e,t){function o(){return new Promise(function(r,o){n(e,t,r,o)})}return r=r?r.then(o,o):o()}}function E(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,E(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=w(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,m;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function j(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(e,t,n){"use strict";var r=n(3),o=n(9),i=n(53),a=n(186)(),s=n(15)("observable"),l=n(26),u=n(7),c=n(73),d=n(71),f=n(31),p=n(72),h=p.RETURN,m=function(e){return null==e?void 0:l(e)},_=function(e){var t=e._c;t&&(e._c=void 0,t())},b=function(e){return void 0===e._o},g=function(e){b(e)||(e._o=void 0,_(e))},y=function(e,t){u(e),this._c=void 0,this._o=e,e=new v(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:l(n),this._c=n)}catch(t){return void e.error(t)}b(this)&&_(this)};y.prototype=d({},{unsubscribe:function(){g(this)}});var v=function(e){this._s=e};v.prototype=d({},{next:function(e){var t=this._s;if(!b(t)){var n=t._o;try{var r=m(n.next);if(r)return r.call(n,e)}catch(e){try{g(t)}finally{throw e}}}},error:function(e){var t=this._s;if(b(t))throw e;var n=t._o;t._o=void 0;try{var r=m(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{_(t)}finally{throw e}}return _(t),e},complete:function(e){var t=this._s;if(!b(t)){var n=t._o;t._o=void 0;try{var r=m(n.complete);e=r?r.call(n,e):void 0}catch(e){try{_(t)}finally{throw e}}return _(t),e}}});var w=function(e){c(this,w,"Observable","_f")._f=l(e)};d(w.prototype,{subscribe:function(e){return new y(e,this._f)},forEach:function(e){var t=this;return new(i.Promise||o.Promise)(function(n,r){l(e);var o=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})}}),d(w,{from:function(e){var t="function"==typeof this?this:w,n=m(u(e)[s]);if(n){var r=u(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return a(function(){if(!n){try{if(p(e,!1,function(e){if(t.next(e),n)return h})===h)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=new Array(t);e0}})},function(e,t,n){var r=n(3);r(r.S,"Math",{umulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>>16,s=r>>>16,l=(a*i>>>0)+(o*i>>>16);return a*s+(l>>>16)+((o*s>>>0)+(65535&l)>>>16)}})},function(e,t,n){var r=n(3);r(r.S,"Math",{scale:n(542)})},function(e,t,n){var r=n(3),o=Math.PI/180;r(r.S,"Math",{radians:function(e){return e*o}})},function(e,t,n){var r=n(3);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(e,t,n){var r=n(3);r(r.S,"Math",{imulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>16,s=r>>16,l=(a*i>>>0)+(o*i>>>16);return a*s+(l>>16)+((o*s>>>0)+(65535&l)>>16)}})},function(e,t,n){var r=n(3);r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},function(e,t,n){var r=n(3);r(r.S,"Math",{iaddh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},function(e,t,n){var r=n(3),o=n(542),i=n(562);r(r.S,"Math",{fscale:function(e,t,n,r,a){return i(o(e,t,n,r,a))}})},function(e,t,n){var r=n(3),o=180/Math.PI;r(r.S,"Math",{degrees:function(e){return e*o}})},function(e,t,n){var r=n(3);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(e,t,n){var r=n(3);r(r.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},function(e,t,n){var r=n(3),o=n(45);r(r.S,"Error",{isError:function(e){return"Error"===o(e)}})},function(e,t,n){var r=n(3);r(r.S,"System",{global:n(9)})},function(e,t,n){var r=n(3);r(r.G,{global:n(9)})},function(e,t,n){n(130)("WeakSet")},function(e,t,n){n(130)("WeakMap")},function(e,t,n){n(130)("Set")},function(e,t,n){n(130)("Map")},function(e,t,n){n(131)("WeakSet")},function(e,t,n){n(131)("WeakMap")},function(e,t,n){n(131)("Set")},function(e,t,n){n(131)("Map")},function(e,t,n){var r=n(3);r(r.P+r.R,"Set",{toJSON:n(544)("Set")})},function(e,t,n){var r=n(3);r(r.P+r.R,"Map",{toJSON:n(544)("Map")})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(52),a=n(38),s=n(39).f;n(21)&&r(r.P+n(132),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=s(n,r))return t.set}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(52),a=n(38),s=n(39).f;n(21)&&r(r.P+n(132),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=s(n,r))return t.get}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(26),a=n(20);n(21)&&r(r.P+n(132),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(26),a=n(20);n(21)&&r(r.P+n(132),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(3),o=n(545)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(3),o=n(545)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(3),o=n(548),i=n(40),a=n(39),s=n(192);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),l=a.f,u=o(r),c={},d=0;u.length>d;)void 0!==(n=l(r,t=u[d++]))&&s(c,t,n);return c}})},function(e,t,n){n(208)("observable")},function(e,t,n){n(208)("asyncIterator")},function(e,t,n){"use strict";var r=n(3),o=n(51),i=n(19),a=n(139),s=n(137),l=RegExp.prototype,u=function(e,t){this._r=e,this._s=t};n(196)(u,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(o(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in l?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(e.lastIndex),new u(r,t)}})},function(e,t,n){"use strict";n(92)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},function(e,t,n){"use strict";n(92)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";var r=n(3),o=n(546),i=n(183);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(3),o=n(546),i=n(183);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";var r=n(3),o=n(198)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(3),o=n(547),i=n(23),a=n(19),s=n(50),l=n(190);r(r.P,"Array",{flatten:function(){var e=arguments[0],t=i(this),n=a(t.length),r=l(t,0);return o(r,t,t,n,0,void 0===e?1:s(e)),r}}),n(65)("flatten")},function(e,t,n){"use strict";var r=n(3),o=n(547),i=n(23),a=n(19),s=n(26),l=n(190);r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return s(e),t=a(r.length),n=l(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n(65)("flatMap")},function(e,t,n){"use strict";var r=n(3),o=n(142)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)("includes")},function(e,t,n){var r=n(3),o=n(204);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(20),o=n(39),i=n(38),a=n(32),s=n(3),l=n(81),u=n(7),c=n(13);s(s.S,"Reflect",{set:function e(t,n,s){var d,f,p=arguments.length<4?t:arguments[3],h=o.f(u(t),n);if(!h){if(c(f=i(t)))return e(f,n,s,p);h=l(0)}return a(h,"value")?!(!1===h.writable||!c(p)||((d=o.f(p,n)||l(0)).value=s,r.f(p,n,d),0)):void 0!==h.set&&(h.set.call(p,s),!0)}})},function(e,t,n){var r=n(3),o=n(7),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3);r(r.S,"Reflect",{ownKeys:n(548)})},function(e,t,n){var r=n(3),o=n(7),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(3);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(3),o=n(38),i=n(7);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){var r=n(39),o=n(3),i=n(7);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(39),o=n(38),i=n(32),a=n(3),s=n(13),l=n(7);a(a.S,"Reflect",{get:function e(t,n){var a,u,c=arguments.length<3?t:arguments[2];return l(t)===c?t[n]:(a=r.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(c):void 0:s(u=o(t))?e(u,n,c):void 0}})},function(e,t,n){"use strict";var r=n(3),o=n(7),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(196)(i,"Object",function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(3),o=n(39).f,i=n(7);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(20),o=n(3),i=n(7),a=n(52);o(o.S+o.F*n(11)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3),o=n(76),i=n(26),a=n(7),s=n(13),l=n(11),u=n(569),c=(n(9).Reflect||{}).construct,d=l(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),f=!l(function(){c(function(){})});r(r.S+r.F*(d||f),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var l=n.prototype,p=o(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(3),o=n(26),i=n(7),a=(n(9).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(11)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),l=i(n);return a?a(r,t,l):s.call(r,t,l)}})},function(e,t,n){n(57)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(57)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(57)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){var r=n(3);r(r.G+r.W+r.F*!n(133).ABV,{DataView:n(184).DataView})},function(e,t,n){"use strict";var r=n(3),o=n(133),i=n(184),a=n(7),s=n(77),l=n(19),u=n(13),c=n(9).ArrayBuffer,d=n(135),f=i.ArrayBuffer,p=i.DataView,h=o.ABV&&c.isView,m=f.prototype.slice,_=o.VIEW;r(r.G+r.W+r.F*(c!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(e){return h&&h(e)||u(e)&&_ in e}}),r(r.P+r.U+r.F*n(11)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(d(this,f))(l(o-r)),u=new p(this),c=new p(i),h=0;r0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r,o,i,a,s=n(79),l=n(9),u=n(46),c=n(109),d=n(3),f=n(13),p=n(26),h=n(73),m=n(72),_=n(135),b=n(187).set,g=n(186)(),y=n(185),v=n(556),w=n(555),k=l.TypeError,x=l.process,T=l.Promise,M="process"==c(x),O=function(){},E=o=y.f,L=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(15)("species")]=function(e){e(O,O)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof t}catch(e){}}(),S=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},D=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,l=t.reject,u=t.domain;try{a?(o||(2==e._h&&A(e),e._h=1),!0===a?n=r:(u&&u.enter(),n=a(r),u&&u.exit()),n===t.promise?l(k("Promise-chain cycle")):(i=S(n))?i.call(n,s,l):s(n)):l(r)}catch(e){l(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&j(e)})}},j=function(e){b.call(l,function(){var t,n,r,o=e._v,i=C(e);if(i&&(t=v(function(){M?x.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=M||C(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},C=function(e){return 1!==e._h&&0===(e._a||e._c).length},A=function(e){b.call(l,function(){var t;M?x.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},P=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),D(t,!0))},I=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(t=S(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,u(I,r,1),u(P,r,1))}catch(e){P.call(r,e)}}):(n._v=e,n._s=1,D(n,!1))}catch(e){P.call({_w:n,_d:!1},e)}}};L||(T=function(e){h(this,T,"Promise","_h"),p(e),r.call(this);try{e(u(I,this,1),u(P,this,1))}catch(e){P.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(71)(T.prototype,{then:function(e,t){var n=E(_(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(I,e,1),this.reject=u(P,e,1)},y.f=E=function(e){return e===T||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!L,{Promise:T}),n(93)(T,"Promise"),n(74)("Promise"),a=n(53).Promise,d(d.S+d.F*!L,"Promise",{reject:function(e){var t=E(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!L),"Promise",{resolve:function(e){return w(s&&this===a?T:this,e)}}),d(d.S+d.F*!(L&&n(138)(function(e){T.all(e).catch(O)})),"Promise",{all:function(e){var t=this,n=E(t),r=n.resolve,o=n.reject,i=v(function(){var n=[],i=0,a=1;m(e,!1,function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=E(t),r=n.reject,o=v(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){n(136)("split",2,function(e,t,r){"use strict";var o=n(139),i=r,a=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var s=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return i.call(n,e,t);var r,l,u,c,d,f=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=void 0===t?4294967295:t>>>0,_=new RegExp(e.source,p+"g");for(s||(r=new RegExp("^"+_.source+"$(?!\\s)",p));(l=_.exec(n))&&!((u=l.index+l[0].length)>h&&(f.push(n.slice(h,l.index)),!s&&l.length>1&&l[0].replace(r,function(){for(d=1;d1&&l.index=m));)_.lastIndex===l.index&&_.lastIndex++;return h===n.length?!c&&_.test("")||f.push(""):f.push(n.slice(h)),f.length>m?f.slice(0,m):f}}else"0".split(void 0,0).length&&(r=function(e,t){return void 0===e&&0===t?[]:i.call(this,e,t)});return[function(n,o){var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(e,t,n){n(136)("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(136)("replace",2,function(e,t,n){return[function(r,o){"use strict";var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(e,t,n){n(136)("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){"use strict";n(557);var r=n(7),o=n(137),i=n(21),a=/./.toString,s=function(e){n(30)(RegExp.prototype,"toString",e,!0)};n(11)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(e,t,n){var r=n(9),o=n(202),i=n(20).f,a=n(75).f,s=n(139),l=n(137),u=r.RegExp,c=u,d=u.prototype,f=/a/g,p=/a/g,h=new u(f)!==f;if(n(21)&&(!h||n(11)(function(){return p[n(15)("match")]=!1,u(f)!=f||u(p)==p||"/a/i"!=u(f,"i")}))){u=function(e,t){var n=this instanceof u,r=s(e),i=void 0===t;return!n&&r&&e.constructor===u&&i?e:o(h?new c(r&&!i?e.source:e,t):c((r=e instanceof u)?e.source:e,r&&i?l.call(e):t),n?this:d,u)};for(var m=function(e){e in u||i(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},_=a(c),b=0;_.length>b;)m(_[b++]);d.constructor=u,u.prototype=d,n(30)(r,"RegExp",u)}n(74)("RegExp")},function(e,t,n){n(74)("Array")},function(e,t,n){"use strict";var r=n(3),o=n(48)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)(i)},function(e,t,n){"use strict";var r=n(3),o=n(48)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)("find")},function(e,t,n){var r=n(3);r(r.P,"Array",{fill:n(189)}),n(65)("fill")},function(e,t,n){var r=n(3);r(r.P,"Array",{copyWithin:n(559)}),n(65)("copyWithin")},function(e,t,n){"use strict";var r=n(3),o=n(40),i=n(50),a=n(19),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(44)(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){"use strict";var r=n(3),o=n(142)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(44)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(560);r(r.P+r.F*!n(44)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(3),o=n(560);r(r.P+r.F*!n(44)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(3),o=n(48)(4);r(r.P+r.F*!n(44)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(48)(3);r(r.P+r.F*!n(44)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(48)(2);r(r.P+r.F*!n(44)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(48)(1);r(r.P+r.F*!n(44)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(13),o=n(140),i=n(15)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(3),o=n(48)(0),i=n(44)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(23),a=n(11),s=[].sort,l=[1,2,3];r(r.P+r.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!n(44)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(3),o=n(205),i=n(45),a=n(77),s=n(19),l=[].slice;r(r.P+r.F*n(11)(function(){o&&l.call(o)}),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var o=a(e,n),u=a(t,n),c=s(u-o),d=new Array(c),f=0;fe;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(46),o=n(3),i=n(23),a=n(561),s=n(193),l=n(19),u=n(192),c=n(191);o(o.S+o.F*!n(138)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,_=void 0!==m,b=0,g=c(f);if(_&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==g||p==Array&&s(g))for(n=new p(t=l(f.length));t>b;b++)u(n,b,_?m(f[b],b):f[b]);else for(d=g.call(f),n=new p;!(o=d.next()).done;b++)u(n,b,_?a(d,m,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){var r=n(3);r(r.S,"Array",{isArray:n(140)})},function(e,t,n){"use strict";var r=n(7),o=n(52);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!=e)}},function(e,t,n){var r=n(15)("toPrimitive"),o=Date.prototype;r in o||n(31)(o,r,n(1069))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(30)(r,"toString",function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"})},function(e,t,n){"use strict";var r=n(11),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(e,t,n){var r=n(3),o=n(1072);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){"use strict";var r=n(3),o=n(23),i=n(52);r(r.P+r.F*n(11)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(3);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";n(29)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";n(29)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(29)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(29)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(29)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(29)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(29)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(29)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(29)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(29)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(29)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(29)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(29)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(195),a="".startsWith;r(r.P+r.F*n(194)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(3);r(r.P,"String",{repeat:n(201)})},function(e,t,n){"use strict";var r=n(3),o=n(195);r(r.P+r.F*n(194)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(195),a="".endsWith;r(r.P+r.F*n(194)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),s=void 0===n?r:Math.min(o(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){"use strict";var r=n(3),o=n(198)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(198)(!0);n(197)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";n(92)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){var r=n(3),o=n(40),i=n(19);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),sa;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(3);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(3),o=n(199),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(3),o=n(199),i=Math.exp;r(r.S+r.F*n(11)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(3);r(r.S,"Math",{sign:n(200)})},function(e,t,n){var r=n(3);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(3);r(r.S,"Math",{log1p:n(563)})},function(e,t,n){var r=n(3);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(3),o=Math.imul;r(r.S+r.F*n(11)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(3),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,s=arguments.length,l=0;a0?(r=n/l)*r:n;return l===1/0?1/0:l*Math.sqrt(i)}})},function(e,t,n){var r=n(3);r(r.S,"Math",{fround:n(562)})},function(e,t,n){var r=n(3),o=n(199);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(3),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(3);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(3),o=n(200);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(3),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(3),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(3),o=n(563),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){var r=n(3),o=n(567);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(3),o=n(566);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(3);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(3);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(3),o=n(564),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){var r=n(3);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(3);r(r.S,"Number",{isInteger:n(564)})},function(e,t,n){var r=n(3),o=n(9).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(3);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";var r=n(3),o=n(11),i=n(565),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){"use strict";var r=n(3),o=n(50),i=n(565),a=n(201),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=l(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=l(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},h=function(e,t,n){return 0===t?n:t%2==1?h(e,t-1,n*e):h(e*e,t/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(11)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,l=i(this,c),u=o(e),m="",_="0";if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*h(2,69,1))-69)<0?l*h(2,-t,1):l/h(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),r=u;r>=7;)d(1e7,0),r-=7;for(d(h(10,r,1),0),r=t-1;r>=23;)f(1<<23),r-=23;f(1<0?m+((s=_.length)<=u?"0."+a.call("0",u-s)+_:_.slice(0,s-u)+"."+_.slice(s-u)):m+_}})},function(e,t,n){"use strict";var r=n(9),o=n(32),i=n(45),a=n(202),s=n(52),l=n(11),u=n(75).f,c=n(39).f,d=n(20).f,f=n(92).trim,p=r.Number,h=p,m=p.prototype,_="Number"==i(n(76)(m)),b="trim"in String.prototype,g=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=b?t.trim():f(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,l=t.slice(2),u=0,c=l.length;uo)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(_?l(function(){m.valueOf.call(n)}):"Number"!=i(n))?a(new h(g(t)),n,p):g(t)};for(var y,v=n(21)?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;v.length>w;w++)o(h,y=v[w])&&!o(p,y)&&d(p,y,c(h,y));p.prototype=m,m.constructor=p,n(30)(r,"Number",p)}},function(e,t,n){var r=n(3),o=n(566);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(3),o=n(567);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){"use strict";var r=n(13),o=n(38),i=n(15)("hasInstance"),a=Function.prototype;i in a||n(20).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(20).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(21)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){var r=n(3);r(r.P,"Function",{bind:n(569)})},function(e,t,n){"use strict";var r=n(109),o={};o[n(15)("toStringTag")]="z",o+""!="[object z]"&&n(30)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(3);r(r.S,"Object",{setPrototypeOf:n(204).set})},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(3);r(r.S,"Object",{is:n(1134)})},function(e,t,n){var r=n(3);r(r.S+r.F,"Object",{assign:n(570)})},function(e,t,n){var r=n(13);n(49)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(13);n(49)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(13);n(49)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(13),o=n(66).onFreeze;n(49)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(13),o=n(66).onFreeze;n(49)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(13),o=n(66).onFreeze;n(49)("freeze",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){n(49)("getOwnPropertyNames",function(){return n(571).f})},function(e,t,n){var r=n(23),o=n(78);n(49)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(23),o=n(38);n(49)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(40),o=n(39).f;n(49)("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},function(e,t,n){var r=n(3);r(r.S+r.F*!n(21),"Object",{defineProperties:n(572)})},function(e,t,n){var r=n(3);r(r.S+r.F*!n(21),"Object",{defineProperty:n(20).f})},function(e,t,n){var r=n(3);r(r.S,"Object",{create:n(76)})},function(e,t,n){var r=n(78),o=n(141),i=n(110);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){"use strict";var r=n(9),o=n(32),i=n(21),a=n(3),s=n(30),l=n(66).KEY,u=n(11),c=n(143),d=n(93),f=n(80),p=n(15),h=n(574),m=n(208),_=n(1150),b=n(140),g=n(7),y=n(13),v=n(40),w=n(52),k=n(81),x=n(76),T=n(571),M=n(39),O=n(20),E=n(78),L=M.f,S=O.f,D=T.f,j=r.Symbol,C=r.JSON,A=C&&C.stringify,P=p("_hidden"),I=p("toPrimitive"),R={}.propertyIsEnumerable,H=c("symbol-registry"),Y=c("symbols"),N=c("op-symbols"),W=Object.prototype,J="function"==typeof j,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,X=i&&u(function(){return 7!=x(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=L(W,t);r&&delete W[t],S(e,t,n),r&&e!==W&&S(W,t,r)}:S,G=function(e){var t=Y[e]=x(j.prototype);return t._k=e,t},F=J&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},z=function(e,t,n){return e===W&&z(N,t,n),g(e),t=w(t,!0),g(n),o(Y,t)?(n.enumerable?(o(e,P)&&e[P][t]&&(e[P][t]=!1),n=x(n,{enumerable:k(0,!1)})):(o(e,P)||S(e,P,k(1,{})),e[P][t]=!0),X(e,t,n)):S(e,t,n)},B=function(e,t){g(e);for(var n,r=_(t=v(t)),o=0,i=r.length;i>o;)z(e,n=r[o++],t[n]);return e},q=function(e){var t=R.call(this,e=w(e,!0));return!(this===W&&o(Y,e)&&!o(N,e))&&(!(t||!o(this,e)||!o(Y,e)||o(this,P)&&this[P][e])||t)},K=function(e,t){if(e=v(e),t=w(t,!0),e!==W||!o(Y,t)||o(N,t)){var n=L(e,t);return!n||!o(Y,t)||o(e,P)&&e[P][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=D(v(e)),r=[],i=0;n.length>i;)o(Y,t=n[i++])||t==P||t==l||r.push(t);return r},$=function(e){for(var t,n=e===W,r=D(n?N:v(e)),i=[],a=0;r.length>a;)!o(Y,t=r[a++])||n&&!o(W,t)||i.push(Y[t]);return i};J||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===W&&t.call(N,n),o(this,P)&&o(this[P],e)&&(this[P][e]=!1),X(this,e,k(1,n))};return i&&U&&X(W,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",function(){return this._k}),M.f=K,O.f=z,n(75).f=T.f=Z,n(110).f=q,n(141).f=$,i&&!n(79)&&s(W,"propertyIsEnumerable",q,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!J,{Symbol:j});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=E(p.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!J,"Symbol",{for:function(e){return o(H,e+="")?H[e]:H[e]=j(e)},keyFor:function(e){if(!F(e))throw TypeError(e+" is not a symbol!");for(var t in H)if(H[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!J,"Object",{create:function(e,t){return void 0===t?x(e):B(x(e),t)},defineProperty:z,defineProperties:B,getOwnPropertyDescriptor:K,getOwnPropertyNames:Z,getOwnPropertySymbols:$}),C&&a(a.S+a.F*(!J||u(function(){var e=j();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(y(t)||void 0!==e)&&!F(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!F(t))return t}),r[1]=t,A.apply(C,r)}}),j.prototype[I]||n(31)(j.prototype,I,j.prototype.valueOf),d(j,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){n(1151),n(1149),n(1148),n(1147),n(1146),n(1145),n(1144),n(1143),n(1142),n(1141),n(1140),n(1139),n(1138),n(1137),n(1136),n(1135),n(1133),n(1132),n(1131),n(1130),n(1129),n(1128),n(1127),n(1126),n(1125),n(1124),n(1123),n(1122),n(1121),n(1120),n(1119),n(1118),n(1117),n(1116),n(1115),n(1114),n(1113),n(1112),n(1111),n(1110),n(1109),n(1108),n(1107),n(1106),n(1105),n(1104),n(1103),n(1102),n(1101),n(1100),n(1099),n(1098),n(1097),n(1096),n(1095),n(1094),n(1093),n(1092),n(1091),n(1090),n(1089),n(1088),n(1087),n(1086),n(1085),n(1084),n(1083),n(1082),n(1081),n(1080),n(1079),n(1078),n(1077),n(1076),n(1075),n(1074),n(1073),n(1071),n(1070),n(1068),n(1067),n(1066),n(1065),n(1064),n(1063),n(1062),n(1060),n(1059),n(1058),n(1057),n(1056),n(1055),n(1054),n(1053),n(1052),n(1051),n(1050),n(1049),n(1048),n(188),n(1047),n(1046),n(557),n(1045),n(1044),n(1043),n(1042),n(1041),n(554),n(552),n(551),n(1040),n(1039),n(1038),n(1037),n(1036),n(1035),n(1034),n(1033),n(1032),n(1031),n(1030),n(1029),n(1028),n(1027),n(1026),n(1025),n(1024),n(1023),n(1022),n(1021),n(1020),n(1019),n(1018),n(1017),n(1016),n(1015),n(1014),n(1013),n(1012),n(1011),n(1010),n(1009),n(1008),n(1007),n(1006),n(1005),n(1004),n(1003),n(1002),n(1001),n(1e3),n(999),n(998),n(997),n(996),n(995),n(994),n(993),n(992),n(991),n(990),n(989),n(988),n(987),n(986),n(985),n(984),n(983),n(982),n(981),n(980),n(979),n(978),n(977),n(976),n(975),n(974),n(973),n(972),n(971),n(970),n(969),n(968),n(967),n(966),n(965),n(964),n(963),n(962),n(961),n(960),n(959),n(958),n(957),n(956),e.exports=n(53)},function(e,t,n){"use strict";(function(e){if(n(1152),n(955),n(954),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var t="defineProperty";function r(e,n,r){e[n]||Object[t](e,n,{writable:!0,configurable:!0,value:r})}r(String.prototype,"padLeft","".padStart),r(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&r(Array,e,Function.call.bind([][e]))})}).call(this,n(12))},function(e,t,n){n(1153),n(951),e.exports=n(587)},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(12))}]); +//# sourceMappingURL=bundle-8dca76735a3e13526e33-git-a71975d.js.map \ No newline at end of file diff --git a/docker-src/webui/sources/dist/bundle-8c5b04a7bc1b3d129c93-git-422ad21.js.map b/docker-src/webui/sources/dist/bundle-8dca76735a3e13526e33-git-a71975d.js.map similarity index 99% rename from docker-src/webui/sources/dist/bundle-8c5b04a7bc1b3d129c93-git-422ad21.js.map rename to docker-src/webui/sources/dist/bundle-8dca76735a3e13526e33-git-a71975d.js.map index 8dd1652..52bae8f 100644 --- a/docker-src/webui/sources/dist/bundle-8c5b04a7bc1b3d129c93-git-422ad21.js.map +++ b/docker-src/webui/sources/dist/bundle-8dca76735a3e13526e33-git-a71975d.js.map @@ -1 +1 @@ -{"version":3,"file":"bundle-8c5b04a7bc1b3d129c93-git-422ad21.js","sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/object-assign/index.js","webpack:///./node_modules/lodash/lodash.js","webpack:///./node_modules/jquery/dist/jquery.js","webpack:///./node_modules/numeral/numeral.js","webpack:///./node_modules/bootstrap-daterangepicker/daterangepicker.js","webpack:///./node_modules/is-buffer/index.js","webpack:///./node_modules/react-dom/cjs/react-dom.production.min.js","webpack:///./node_modules/react/cjs/react.production.min.js"],"sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1154);\n","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * @license\n * Lodash \n * Copyright JS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.5';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading and trailing whitespace. */\n var reTrim = /^\\s+|\\s+$/g,\n reTrimStart = /^\\s+/,\n reTrimEnd = /\\s+$/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function safeGet(object, key) {\n return key == '__proto__'\n ? undefined\n : object[key];\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n\n return result;\n }\n\n if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n\n return result;\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n if (isObject(srcValue)) {\n stack || (stack = new Stack);\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || (srcIndex && isFunction(objValue))) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n value = iteratee(value);\n\n var low = 0,\n high = array == null ? 0 : array.length,\n valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': ' - + diff --git a/docker-src/webui/sources/dist/info.json b/docker-src/webui/sources/dist/info.json index fd1ca03..80f4221 100644 --- a/docker-src/webui/sources/dist/info.json +++ b/docker-src/webui/sources/dist/info.json @@ -1,10 +1,10 @@ { "build": { - "releaseVersion": "5.70.2-206+release", - "jenkinsBuildUrl": "https://jenkins.metasfresh.com/job/metasfresh-webui-frontend/job/release/206/", - "jenkinsBuildNo": "206", + "releaseVersion": "5.71.2-208+release", + "jenkinsBuildUrl": "https://jenkins.metasfresh.com/job/metasfresh-webui-frontend/job/release/208/", + "jenkinsBuildNo": "208", "jenkinsJobName": "metasfresh-webui-frontend/release", - "jenkinsBuildTag": "jenkins-metasfresh-webui-frontend-release-206" - "gitSHA1": "422ad21ca694f7057c4400adb05c8262dbe2bb96" + "jenkinsBuildTag": "jenkins-metasfresh-webui-frontend-release-208" + "gitSHA1": "a71975dd73f808c062ce892077c4e864460bdc0b" } } \ No newline at end of file diff --git a/webapi/Dockerfile b/webapi/Dockerfile index a0ea145..ee76e60 100644 --- a/webapi/Dockerfile +++ b/webapi/Dockerfile @@ -1,4 +1,4 @@ -FROM metasfresh/metasfresh-webapi:5.70 +FROM metasfresh/metasfresh-webapi:5.71 COPY sources/configs/* /opt/metasfresh-webui-api/ COPY sources/start_webapi.sh /opt/metasfresh-webui-api/ diff --git a/webui/Dockerfile b/webui/Dockerfile index fc75c29..06e9a26 100644 --- a/webui/Dockerfile +++ b/webui/Dockerfile @@ -1,4 +1,4 @@ -FROM metasfresh/metasfresh-webui:5.70 +FROM metasfresh/metasfresh-webui:5.71 COPY sources/configs/config.js /opt/metasfresh-webui-frontend/dist/